Changeset 6feccae in mainline for uspace/lib/gui/window.h


Ignore:
Timestamp:
2020-05-11T16:20:17Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4d8002d
Parents:
83cb672
Message:

Remove compositor, libgraph

Libgraph is the old display driver protocol library (replaced by libddev).
We need to keep libdraw/libsoftrend for now as they are required by libgui.

File:
1 edited

Legend:

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

    r83cb672 r6feccae  
    6161        widget_t *focus; /**< Widget owning the keyboard or NULL. */
    6262        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. */
    6464        gfx_bitmap_t *bitmap; /**< Window bitmap */
    6565};
    6666
    6767/**
    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.
    6969 * If the window is declared as main, its closure causes termination of the
    7070 * whole application. Note that opened window does not have any surface yet.
     
    7575/**
    7676 * Post resize event into event loop. Window negotiates new surface with
    77  * compositor and asks all widgets in the tree to calculate their new properties
    78  * and to paint themselves on the new surface (top-bottom order). Should be
    79  * 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.
    8080 */
    8181extern void window_resize(window_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t,
     
    9494
    9595/**
    96  * Post damage event into event loop. Handler informs compositor to update the
    97  * window surface on the screen. Should be called by widget after painting
     96 * 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
    9898 * itself or copying its buffer onto window surface.
    9999 */
     
    124124
    125125/**
    126  * Initiate the closing cascade for the window. First, compositor deallocates
     126 * Initiate the closing cascade for the window. First, display sever deallocates
    127127 * output resources, prepares special closing input event for the window and
    128128 * deallocates input resources after the event is dispatched. When window
Note: See TracChangeset for help on using the changeset viewer.