Changeset 6feccae in mainline for uspace/lib/gui/window.h
- Timestamp:
- 2020-05-11T16:20:17Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4d8002d
- Parents:
- 83cb672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.h
r83cb672 r6feccae 61 61 widget_t *focus; /**< Widget owning the keyboard or NULL. */ 62 62 fibril_mutex_t guard; /**< Mutex guarding window surface. */ 63 surface_t *surface; /**< Window surface shared with compositor. */63 surface_t *surface; /**< Window surface shared with display server. */ 64 64 gfx_bitmap_t *bitmap; /**< Window bitmap */ 65 65 }; 66 66 67 67 /** 68 * Allocate all resources for new window and register it in the compositor.68 * Allocate all resources for new window and register it in the display server. 69 69 * If the window is declared as main, its closure causes termination of the 70 70 * whole application. Note that opened window does not have any surface yet. … … 75 75 /** 76 76 * Post resize event into event loop. Window negotiates new surface with 77 * compositor and asks all widgets in the tree to calculate their new properties78 * and to paint themselves on the new surface (top-bottom order). Should be79 * called also after opening new window to obtain surface.77 * display server and asks all widgets in the tree to calculate their new 78 * properties and to paint themselves on the new surface (top-bottom order). 79 * Should be called also after opening new window to obtain surface. 80 80 */ 81 81 extern void window_resize(window_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t, … … 94 94 95 95 /** 96 * Post damage event into event loop. Handler informs compositor to update the97 * window surface on the screen. Should be called by widget after painting96 * Post damage event into event loop. Handler informs display server to update 97 * the window surface on the screen. Should be called by widget after painting 98 98 * itself or copying its buffer onto window surface. 99 99 */ … … 124 124 125 125 /** 126 * Initiate the closing cascade for the window. First, compositor deallocates126 * Initiate the closing cascade for the window. First, display sever deallocates 127 127 * output resources, prepares special closing input event for the window and 128 128 * deallocates input resources after the event is dispatched. When window
Note:
See TracChangeset
for help on using the changeset viewer.