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

Changeset 214aefb in mainline for uspace/lib/ui/src/window.c


Ignore:
Timestamp:
2021-04-09T22:41:22Z (8 months ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master
Children:
0262f16c
Parents:
b0858150
git-author:
Jiri Svoboda <jiri@…> (2021-03-27 22:52:09)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

UI menu (WIP)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/window.c

    rb0858150 r214aefb  
    9090static void ui_window_app_invalidate(void *, gfx_rect_t *);
    9191static void ui_window_app_update(void *);
     92static void ui_window_expose_cb(void *);
    9293
    9394/** Initialize window parameters structure.
     
    270271        ui_wdecor_paint(wdecor);
    271272
     273        ui_resource_set_expose_cb(res, ui_window_expose_cb, (void *) window);
     274
    272275        window->ui = ui;
    273276        window->dwindow = dwindow;
     
    922925}
    923926
     927/** Window expose callback. */
     928static void ui_window_expose_cb(void *arg)
     929{
     930        ui_window_t *window = (ui_window_t *) arg;
     931
     932        ui_window_paint(window);
     933}
     934
    924935/** @}
    925936 */
Note: See TracChangeset for help on using the changeset viewer.