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

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


Ignore:
Timestamp:
2021-03-27T22:52:09Z (7 months ago)
Author:
Jiri Svoboda <jiri@…>
Children:
cd62879
Parents:
dbf1be5
Message:

UI menu (WIP)

File:
1 edited

Legend:

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

    rdbf1be5 rbfb055b  
    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.