Changeset 8965860c in mainline for uspace/lib/ui/include/ui/ui.h


Ignore:
Timestamp:
2022-03-23T18:35:16Z (3 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/lib/ui/include/ui/ui.h

    rd4ea1f6 r8965860c  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4141#include <io/console.h>
    4242#include <stdbool.h>
     43#include <types/ui/clickmatic.h>
    4344#include <types/ui/ui.h>
    4445
     
    5455extern errno_t ui_suspend(ui_t *);
    5556extern errno_t ui_resume(ui_t *);
     57extern void ui_lock(ui_t *);
     58extern void ui_unlock(ui_t *);
     59extern ui_clickmatic_t *ui_get_clickmatic(ui_t *);
    5660
    5761#endif
Note: See TracChangeset for help on using the changeset viewer.