Changeset 266ec54 in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2020-11-28T23:06:31Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
db3c6795
Parents:
554a5f1
git-author:
Jiri Svoboda <jiri@…> (2020-11-27 22:30:28)
git-committer:
Jiri Svoboda <jiri@…> (2020-11-28 23:06:31)
Message:

Viewer fullsreen mode

Fullscreen window placement is more of a stopgap. Proper
solution would probably be via maximizing the window.

Location:
uspace/lib/ui/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/wdecor.h

    r554a5f1 r266ec54  
    4545/** Window decoration style */
    4646typedef enum {
     47        /** No style bits */
    4748        ui_wds_none = 0x0,
    48         ui_wds_resizable = 0x1
     49        /** Window has a frame */
     50        ui_wds_frame = 0x1,
     51        /** Window has a title bar */
     52        ui_wds_titlebar = 0x2,
     53        /** Window has a close button */
     54        ui_wds_close_btn = 0x4,
     55        /** Window is resizable */
     56        ui_wds_resizable = 0x8,
     57        /** Window is decorated (default decoration) */
     58        ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | ui_wds_close_btn
    4959} ui_wdecor_style_t;
    5060
  • uspace/lib/ui/include/types/ui/window.h

    r554a5f1 r266ec54  
    5656        ui_wnd_place_bottom_left,
    5757        /** Place window to the bottom-right corner of the screen */
    58         ui_wnd_place_bottom_right
     58        ui_wnd_place_bottom_right,
     59        /** Place window accross the entire screen */
     60        ui_wnd_place_full_screen
    5961} ui_wnd_placement_t;
    6062
  • uspace/lib/ui/include/ui/wdecor.h

    r554a5f1 r266ec54  
    5252extern errno_t ui_wdecor_paint(ui_wdecor_t *);
    5353extern void ui_wdecor_pos_event(ui_wdecor_t *, pos_event_t *);
    54 extern void ui_wdecor_rect_from_app(gfx_rect_t *, gfx_rect_t *);
     54extern void ui_wdecor_rect_from_app(ui_wdecor_style_t, gfx_rect_t *,
     55    gfx_rect_t *);
    5556
    5657#endif
Note: See TracChangeset for help on using the changeset viewer.