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