Changeset b979ffb in mainline for uspace/lib/ui/private/filedialog.h


Ignore:
Timestamp:
2026-03-10T09:41:42Z (8 days ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
52148ef, 66da893, 731bdd4, 79ec0a0, 9b534a4, bc969a1, d811fe5, d8120c5, db6ead8b, e474d61, eede1c5
Parents:
3c22438a
git-author:
Jiri Svoboda <jiri@…> (2026-03-09 20:41:23)
git-committer:
Jiri Svoboda <jiri@…> (2026-03-10 09:41:42)
Message:

Make file dialog resizable.

File:
1 edited

Legend:

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

    r3c22438a rb979ffb  
    11/*
    2  * Copyright (c) 2022 Jiri Svoboda
     2 * Copyright (c) 2026 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#define _UI_PRIVATE_FILEDIALOG_H
    3939
     40#include <gfx/coord.h>
     41
    4042/** Actual structure of file dialog.
    4143 *
     
    5961};
    6062
     63/** File dialog geometry.
     64 *
     65 * Computed geometry of file dialog.
     66 */
     67typedef struct {
     68        /** File name label rectangle */
     69        gfx_rect_t fname_label_rect;
     70        /** File name entry rectangle */
     71        gfx_rect_t entry_rect;
     72        /** Files label rectangle */
     73        gfx_rect_t files_label_rect;
     74        /** File list rectangle */
     75        gfx_rect_t flist_rect;
     76        /** File list rectangle */
     77        gfx_rect_t bok_rect;
     78        /** File list rectangle */
     79        gfx_rect_t bcancel_rect;
     80} ui_file_dialog_geom_t;
     81
    6182#endif
    6283
Note: See TracChangeset for help on using the changeset viewer.