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