Changes in uspace/lib/gui/window.h [6d5e378:62fbb7e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.h
r6d5e378 r62fbb7e 47 47 #include "widget.h" 48 48 49 typedefstruct window {49 struct window { 50 50 bool is_main; /**< True for the main window of the application. */ 51 51 bool is_decorated; /**< True if the window decorations should be rendered. */ 52 bool is_focused; /**< True for the top level window of the desktop. */ 52 53 char *caption; /**< Text title of the window header. */ 53 54 async_sess_t *isess; /**< Input events from compositor. */ … … 59 60 fibril_mutex_t guard; /**< Mutex guarding window surface. */ 60 61 surface_t *surface; /**< Window surface shared with compositor. */ 61 } window_t;62 }; 62 63 63 64 /** … … 65 66 * If the window is declared as main, its closure causes termination of the 66 67 * whole application. Note that opened window does not have any surface yet. */ 67 extern window_t *window_open(c har *, bool, bool, const char *);68 extern window_t *window_open(const char *, bool, bool, const char *); 68 69 69 70 /** … … 72 73 * and to paint themselves on the new surface (top-bottom order). Should be 73 74 * called also after opening new window to obtain surface. */ 74 extern void window_resize(window_t *, sysarg_t, sysarg_t); 75 extern void window_resize(window_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 76 window_placement_flags_t); 75 77 76 78 /**
Note:
See TracChangeset
for help on using the changeset viewer.