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


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/lib/ui/private/ui.h

    rd4ea1f6 r8965860c  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4141#include <gfx/coord.h>
    4242#include <display.h>
     43#include <fibril_synch.h>
    4344#include <io/console.h>
    4445#include <stdbool.h>
     
    6364        /** Windows (in stacking order, ui_window_t) */
    6465        list_t windows;
     66        /** UI lock */
     67        fibril_mutex_t lock;
     68        /** Clickmatic */
     69        struct ui_clickmatic *clickmatic;
    6570};
    6671
Note: See TracChangeset for help on using the changeset viewer.