Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 4645b2c in mainline for uspace/lib/gui/window.h


Ignore:
Timestamp:
2020-01-29T15:36:37Z (12 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
3275736
Parents:
f5191b4
git-author:
Jiri Svoboda <jiri@…> (2020-01-28 19:36:08)
git-committer:
Jiri Svoboda <jiri@…> (2020-01-29 15:36:37)
Message:

Start porting libgui over to libdisplay/libgfx

File:
1 edited

Legend:

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

    rf5191b4 r4645b2c  
    3737#define GUI_WINDOW_H_
    3838
    39 #include <async.h>
    4039#include <adt/prodcons.h>
    4140#include <fibril_synch.h>
     
    4342#include <io/window.h>
    4443#include <draw/surface.h>
     44#include <display.h>
     45#include <gfx/bitmap.h>
     46#include <gfx/context.h>
    4547
    4648#include "widget.h"
     
    5153        bool is_focused; /**< True for the top level window of the desktop. */
    5254        char *caption; /**< Text title of the window header. */
    53         async_sess_t *isess; /**< Input events from compositor. */
    54         async_sess_t *osess; /**< Mainly for damage reporting to compositor. */
     55        display_t *display; /**< Display service */
     56        display_window_t *dwindow; /**< Display window */
     57        gfx_context_t *gc; /**< GC of the window */
    5558        prodcons_t events; /**< Queue for window event loop. */
    5659        widget_t root; /**< Decoration widget serving as a root of widget hiearchy. */
     
    5962        fibril_mutex_t guard; /**< Mutex guarding window surface. */
    6063        surface_t *surface; /**< Window surface shared with compositor. */
     64        gfx_bitmap_t *bitmap; /**< Window bitmap */
    6165};
    6266
Note: See TracChangeset for help on using the changeset viewer.