Changes in uspace/lib/display/include/types/display/event.h [e022819:46a47c0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/include/types/display/event.h
re022819 r46a47c0 1 1 /* 2 * Copyright (c) 20 19Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 56 56 } display_wnd_ev_type_t; 57 57 58 /** Display window focus event */ 59 typedef struct { 60 /** New number of foci */ 61 unsigned nfocus; 62 } display_wnd_focus_ev_t; 63 58 64 /** Display window resize event */ 59 65 typedef struct { 60 66 gfx_rect_t rect; 61 67 } display_wnd_resize_ev_t; 68 69 /** Display window unfocus event */ 70 typedef struct { 71 /** Number of remaining foci */ 72 unsigned nfocus; 73 } display_wnd_unfocus_ev_t; 62 74 63 75 /** Display window event */ … … 66 78 display_wnd_ev_type_t etype; 67 79 union { 80 /** Focus event data */ 81 display_wnd_focus_ev_t focus; 68 82 /** Keyboard event data */ 69 83 kbd_event_t kbd; … … 72 86 /** Resize event data */ 73 87 display_wnd_resize_ev_t resize; 88 /** Unfocus event data */ 89 display_wnd_unfocus_ev_t unfocus; 74 90 } ev; 75 91 } display_wnd_ev_t;
Note:
See TracChangeset
for help on using the changeset viewer.