Ignore:
File:
1 edited

Legend:

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

    r8d1bcd7 ra927af7a  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2026 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5151#include <types/ui/window.h>
    5252
     53/** UI window flags. */
     54typedef enum {
     55        /** Window is maximized */
     56        uiwf_maximized = 0x1
     57} ui_window_flags_t;
     58
    5359/** Actual structure of window.
    5460 *
     
    8288        /** Display position (if fullscreen mode) */
    8389        gfx_coord2_t dpos;
     90        /** Normal display position when not maximized (if fullscreen mode) */
     91        gfx_coord2_t normal_dpos;
    8492        /** Application area bitmap */
    8593        gfx_bitmap_t *app_bmp;
     
    110118        /** Window placement */
    111119        ui_wnd_placement_t placement;
     120        /** Window flags */
     121        ui_wnd_flags_t flags;
    112122};
    113123
     
    133143extern void ui_window_send_pos(ui_window_t *, pos_event_t *);
    134144extern void ui_window_send_unfocus(ui_window_t *, unsigned);
     145extern void ui_window_send_resize(ui_window_t *);
    135146extern errno_t ui_window_size_change(ui_window_t *, gfx_rect_t *,
    136147    ui_wnd_sc_op_t);
     148extern void ui_window_update_placement(ui_window_t *);
     149extern ui_window_t *ui_window_get_active(ui_t *);
     150extern ui_window_t *ui_window_first(ui_t *);
     151extern ui_window_t *ui_window_next(ui_window_t *);
    137152
    138153#endif
Note: See TracChangeset for help on using the changeset viewer.