Changeset 7481ee19 in mainline for uspace/lib/ui/include
- Timestamp:
- 2021-06-23T08:15:00Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a977e37
- Parents:
- 034ce6bb
- git-author:
- Jiri Svoboda <jiri@…> (2021-06-22 17:14:40)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-06-23 08:15:00)
- Location:
- uspace/lib/ui/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/types/ui/control.h
r034ce6bb r7481ee19 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 38 38 39 39 #include <errno.h> 40 #include <io/kbd_event.h> 40 41 #include <io/pos_event.h> 41 42 #include <types/ui/event.h> … … 50 51 /** Paint */ 51 52 errno_t (*paint)(void *); 53 /** Keyboard event */ 54 ui_evclaim_t (*kbd_event)(void *, kbd_event_t *); 52 55 /** Position event */ 53 56 ui_evclaim_t (*pos_event)(void *, pos_event_t *); -
uspace/lib/ui/include/ui/control.h
r034ce6bb r7481ee19 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 38 38 39 39 #include <errno.h> 40 #include <io/kbd_event.h> 40 41 #include <io/pos_event.h> 41 42 #include <types/ui/control.h> … … 46 47 extern void ui_control_destroy(ui_control_t *); 47 48 extern errno_t ui_control_paint(ui_control_t *); 49 extern ui_evclaim_t ui_control_kbd_event(ui_control_t *, kbd_event_t *); 48 50 extern ui_evclaim_t ui_control_pos_event(ui_control_t *, pos_event_t *); 49 51 extern void ui_control_unfocus(ui_control_t *); -
uspace/lib/ui/include/ui/entry.h
r034ce6bb r7481ee19 50 50 extern void ui_entry_set_rect(ui_entry_t *, gfx_rect_t *); 51 51 extern void ui_entry_set_halign(ui_entry_t *, gfx_halign_t); 52 extern void ui_entry_set_read_only(ui_entry_t *, bool); 52 53 extern errno_t ui_entry_set_text(ui_entry_t *, const char *); 53 54 extern errno_t ui_entry_paint(ui_entry_t *); 55 extern ui_evclaim_t ui_entry_kbd_event(ui_entry_t *, kbd_event_t *); 56 extern ui_evclaim_t ui_entry_pos_event(ui_entry_t *, pos_event_t *); 54 57 55 58 #endif -
uspace/lib/ui/include/ui/fixed.h
r034ce6bb r7481ee19 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 49 49 extern void ui_fixed_remove(ui_fixed_t *, ui_control_t *); 50 50 extern errno_t ui_fixed_paint(ui_fixed_t *); 51 extern ui_evclaim_t ui_fixed_kbd_event(ui_fixed_t *, kbd_event_t *); 51 52 extern ui_evclaim_t ui_fixed_pos_event(ui_fixed_t *, pos_event_t *); 52 53 extern void ui_fixed_unfocus(ui_fixed_t *); -
uspace/lib/ui/include/ui/window.h
r034ce6bb r7481ee19 40 40 #include <gfx/context.h> 41 41 #include <gfx/coord.h> 42 #include <io/kbd_event.h> 42 43 #include <io/pos_event.h> 43 44 #include <types/ui/control.h> … … 62 63 extern void ui_window_set_ctl_cursor(ui_window_t *, ui_stock_cursor_t); 63 64 extern errno_t ui_window_paint(ui_window_t *); 65 extern void ui_window_def_kbd(ui_window_t *, kbd_event_t *); 64 66 extern errno_t ui_window_def_paint(ui_window_t *); 65 67 extern void ui_window_def_pos(ui_window_t *, pos_event_t *);
Note:
See TracChangeset
for help on using the changeset viewer.