Changes in uspace/lib/gui/window.h [7c3fb9b:5a6cc679] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/window.h
r7c3fb9b r5a6cc679 73 73 * compositor and asks all widgets in the tree to calculate their new properties 74 74 * and to paint themselves on the new surface (top-bottom order). Should be 75 * called also after opening new window to obtain surface. 76 */ 75 * called also after opening new window to obtain surface. */ 77 76 extern void window_resize(window_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t, 78 77 window_placement_flags_t); … … 85 84 * are asked to repaint themselves in top-bottom order. Should be called by 86 85 * widget after such change of its internal state that does not need resizing 87 * of neither parent nor children (). 88 */ 86 * of neither parent nor children (). */ 89 87 extern void window_refresh(window_t *); 90 88 … … 92 90 * Post damage event into event loop. Handler informs compositor to update the 93 91 * window surface on the screen. Should be called by widget after painting 94 * itself or copying its buffer onto window surface. 95 */ 92 * itself or copying its buffer onto window surface. */ 96 93 extern void window_damage(window_t *); 97 94 98 95 /** 99 96 * Retrieve dummy root widget of the window widget tree. Intended to be called 100 * by proper top-level widget to set his parent. 101 */ 97 * by proper top-level widget to set his parent. */ 102 98 extern widget_t *window_root(window_t *); 103 99 104 100 /** 105 101 * Prepare and enqueue window fibrils for event loop and input fetching. When 106 * async_manager() function is called, event loop is executed. 107 */ 102 * async_manager() function is called, event loop is executed. */ 108 103 extern void window_exec(window_t *); 109 104 110 105 /** 111 106 * Claim protected window surface. Intended for widgets painting from their 112 * internal fibrils (e.g. terminal, animation, video). 113 */ 107 * internal fibrils (e.g. terminal, animation, video). */ 114 108 extern surface_t *window_claim(window_t *); 115 109 116 110 /** 117 * Yield protected window surface after painting. 118 */ 111 * Yield protected window surface after painting. */ 119 112 extern void window_yield(window_t *); 120 113 … … 126 119 * terminates. When event loop fibril handles closing event, all window 127 120 * resources are deallocated and fibril also terminates. Moreover, if the 128 * window is main window of the application, whole task terminates. 129 */ 121 * window is main window of the application, whole task terminates. */ 130 122 extern void window_close(window_t *); 131 123
Note:
See TracChangeset
for help on using the changeset viewer.