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/include/types/ui/window.h

    r4ac11ff rfa01c05  
    3737#define _UI_TYPES_WINDOW_H
    3838
     39#include <errno.h>
    3940#include <io/kbd_event.h>
    4041#include <io/pos_event.h>
     
    5657        void (*focus)(ui_window_t *, void *);
    5758        void (*kbd)(ui_window_t *, void *, kbd_event_t *);
     59        errno_t (*paint)(ui_window_t *, void *);
    5860        void (*pos)(ui_window_t *, void *, pos_event_t *);
    5961        void (*unfocus)(ui_window_t *, void *);
Note: See TracChangeset for help on using the changeset viewer.