Changeset fa01c05 in mainline for uspace/lib/ui/private/window.h


Ignore:
Timestamp:
2020-11-03T18:46:35Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b71c0fc
Parents:
4ac11ff
Message:

UI window should fill the application are background

Except for applications that want to do their own drawing without the
use of UI control hierarchy. We solve this by doing it in a default
paint callback that the application can override with its own
paint routine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/private/window.h

    r4ac11ff rfa01c05  
    3838#define _UI_PRIVATE_WINDOW_H
    3939
     40#include <errno.h>
    4041#include <display.h>
    4142#include <gfx/context.h>
     
    6465};
    6566
    66 extern void ui_window_close(ui_window_t *);
    67 extern void ui_window_focus(ui_window_t *);
    68 extern void ui_window_kbd(ui_window_t *, kbd_event_t *);
    69 extern void ui_window_pos(ui_window_t *, pos_event_t *);
    70 extern void ui_window_unfocus(ui_window_t *);
     67extern void ui_window_send_close(ui_window_t *);
     68extern void ui_window_send_focus(ui_window_t *);
     69extern void ui_window_send_kbd(ui_window_t *, kbd_event_t *);
     70extern errno_t ui_window_send_paint(ui_window_t *);
     71extern void ui_window_send_pos(ui_window_t *, pos_event_t *);
     72extern void ui_window_send_unfocus(ui_window_t *);
    7173
    7274#endif
Note: See TracChangeset for help on using the changeset viewer.