Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/gui/window.h

    r7c3fb9b r5a6cc679  
    7373 * compositor and asks all widgets in the tree to calculate their new properties
    7474 * 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. */
    7776extern void window_resize(window_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t,
    7877    window_placement_flags_t);
     
    8584 * are asked to repaint themselves in top-bottom order. Should be called by
    8685 * 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 (). */
    8987extern void window_refresh(window_t *);
    9088
     
    9290 * Post damage event into event loop. Handler informs compositor to update the
    9391 * 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. */
    9693extern void window_damage(window_t *);
    9794
    9895/**
    9996 * 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. */
    10298extern widget_t *window_root(window_t *);
    10399
    104100/**
    105101 * 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. */
    108103extern void window_exec(window_t *);
    109104
    110105/**
    111106 * 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). */
    114108extern surface_t *window_claim(window_t *);
    115109
    116110/**
    117  * Yield protected window surface after painting.
    118  */
     111 * Yield protected window surface after painting. */
    119112extern void window_yield(window_t *);
    120113
     
    126119 * terminates. When event loop fibril handles closing event, all window
    127120 * 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. */
    130122extern void window_close(window_t *);
    131123
Note: See TracChangeset for help on using the changeset viewer.