Changeset 570a3f3 in mainline


Ignore:
Timestamp:
2022-12-22T12:32:03Z (16 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
df54aa8
Parents:
d9d6f29
Message:

Make minimize box part of default decoration

Location:
uspace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/uidemo/uidemo.c

    rd9d6f29 r570a3f3  
    609609        ui_wnd_params_init(&params);
    610610        params.caption = "UI Demo";
    611         params.style |= ui_wds_minimize_btn | ui_wds_maximize_btn |
    612             ui_wds_resizable;
     611        params.style |= ui_wds_maximize_btn | ui_wds_resizable;
    613612
    614613        /* FIXME: Auto layout */
  • uspace/lib/ui/include/types/ui/wdecor.h

    rd9d6f29 r570a3f3  
    6060        ui_wds_resizable = 0x20,
    6161        /** Window is decorated (default decoration) */
    62         ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | ui_wds_close_btn
     62        ui_wds_decorated = ui_wds_frame | ui_wds_titlebar |
     63            ui_wds_minimize_btn | ui_wds_close_btn
    6364} ui_wdecor_style_t;
    6465
Note: See TracChangeset for help on using the changeset viewer.