Ignore:
Timestamp:
2022-05-19T08:02:31Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ad698f4
Parents:
fd05ea6
git-author:
Jiri Svoboda <jiri@…> (2022-05-18 17:02:12)
git-committer:
Jiri Svoboda <jiri@…> (2022-05-19 08:02:31)
Message:

Maximizing/unmaximizing a window

File:
1 edited

Legend:

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

    rfd05ea6 r35cffea  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5151        /** Window has a title bar */
    5252        ui_wds_titlebar = 0x2,
     53        /** Window has a maximize button */
     54        ui_wds_maximize_btn = 0x4,
    5355        /** Window has a close button */
    54         ui_wds_close_btn = 0x4,
     56        ui_wds_close_btn = 0x8,
    5557        /** Window is resizable */
    56         ui_wds_resizable = 0x8,
     58        ui_wds_resizable = 0x10,
    5759        /** Window is decorated (default decoration) */
    5860        ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | ui_wds_close_btn
     
    7678/** Window decoration callbacks */
    7779typedef struct ui_wdecor_cb {
     80        void (*maximize)(ui_wdecor_t *, void *);
     81        void (*unmaximize)(ui_wdecor_t *, void *);
    7882        void (*close)(ui_wdecor_t *, void *);
    7983        void (*move)(ui_wdecor_t *, void *, gfx_coord2_t *);
Note: See TracChangeset for help on using the changeset viewer.