Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/ui.h

    r3583ffb r983052c  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#define _UI_PRIVATE_UI_H
    3939
     40#include <adt/list.h>
     41#include <gfx/coord.h>
    4042#include <display.h>
     43#include <fibril_synch.h>
     44#include <io/console.h>
    4145#include <stdbool.h>
     46#include <types/common.h>
    4247
    4348/** Actual structure of user interface.
     
    4651 */
    4752struct ui {
     53        /** Console */
     54        console_ctrl_t *console;
     55        /** Console GC */
     56        struct console_gc *cgc;
    4857        /** Display */
    4958        display_t *display;
     59        /** UI rectangle (only used in fullscreen mode) */
     60        gfx_rect_t rect;
    5061        /** Output owned by UI, clean up when destroying UI */
    5162        bool myoutput;
     63        /** @c true iff UI is suspended */
     64        bool suspended;
    5265        /** @c true if terminating */
    5366        bool quit;
     67        /** Windows (in stacking order, ui_window_t) */
     68        list_t windows;
     69        /** UI lock */
     70        fibril_mutex_t lock;
     71        /** Clickmatic */
     72        struct ui_clickmatic *clickmatic;
     73        /** Default input device ID used to determine new window's seat */
     74        sysarg_t idev_id;
    5475};
    5576
Note: See TracChangeset for help on using the changeset viewer.