Ignore:
Timestamp:
2019-11-04T14:05:35Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be15256
Parents:
22faaf2
git-author:
Jiri Svoboda <jiri@…> (2019-10-03 18:05:09)
git-committer:
Jiri Svoboda <jiri@…> (2019-11-04 14:05:35)
Message:

Window event delivery mechanism

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/types/display/window.h

    r22faaf2 rb3c185b6  
    2727 */
    2828
    29 /** @addtogroup libipcgfx
     29/** @addtogroup display
    3030 * @{
    3131 */
     
    3838
    3939#include <adt/list.h>
     40#include <display/event.h>
    4041#include <gfx/context.h>
    4142#include <gfx/coord.h>
     
    4546/** Display server window */
    4647typedef struct ds_window {
    47         /** Parent display */
    48         struct ds_display *display;
    49         /** Link to @c display->windows */
     48        /** Parent client */
     49        struct ds_client *client;
     50        /** Link to @c client->windows */
    5051        link_t lwindows;
    5152        /** Display position */
     
    5657        gfx_context_t *gc;
    5758} ds_window_t;
     59
     60/** Window event queue entry */
     61typedef struct {
     62        /** Link to event queue */
     63        link_t levents;
     64        /** Window to which the event is delivered */
     65        ds_window_t *window;
     66        /** Event */
     67        display_wnd_ev_t event;
     68} ds_window_ev_t;
    5869
    5970/** Bitmap in display server window GC */
Note: See TracChangeset for help on using the changeset viewer.