Changeset 8965860c in mainline for uspace/app/uidemo/uidemo.c


Ignore:
Timestamp:
2022-03-23T18:35:16Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ca7215
Parents:
d4ea1f6
Message:

Clickmatic

A class that periodically generates when held, after initial delay.
This is quite similar to the typematic feature found in PC keyboards.
We use it to automatically scroll when scrollbar button or through
is held.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/uidemo/uidemo.c

    rd4ea1f6 r8965860c  
    10701070        }
    10711071
    1072         rc = ui_scrollbar_create(ui_res, &demo.scrollbar);
     1072        rc = ui_scrollbar_create(ui, window, &demo.scrollbar);
    10731073        if (rc != EOK) {
    10741074                printf("Error creating button.\n");
Note: See TracChangeset for help on using the changeset viewer.