Changeset b36ebb42 in mainline for uspace/app/nav/panel.h
- Timestamp:
- 2021-10-25T00:32:45Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 61784ed
- Parents:
- 6aa85c1
- git-author:
- Jiri Svoboda <jiri@…> (2021-10-04 20:39:24)
- git-committer:
- jxsvoboda <5887334+jxsvoboda@…> (2021-10-25 00:32:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nav/panel.h
r6aa85c1 rb36ebb42 40 40 #include <gfx/color.h> 41 41 #include <gfx/coord.h> 42 #include <io/pos_event.h> 42 43 #include <ui/control.h> 44 #include <ui/window.h> 43 45 #include "nav.h" 44 46 #include "panel.h" … … 48 50 * This is a custom UI control. 49 51 */ 50 typedef struct {52 typedef struct panel { 51 53 /** Base control object */ 52 54 struct ui_control *control; 55 56 /** Containing window */ 57 ui_window_t *window; 53 58 54 59 /** Panel rectangle */ … … 59 64 } panel_t; 60 65 61 extern errno_t panel_create( panel_t **);66 extern errno_t panel_create(ui_window_t *, panel_t **); 62 67 extern void panel_destroy(panel_t *); 68 extern errno_t panel_paint(panel_t *); 69 extern ui_evclaim_t panel_pos_event(panel_t *, pos_event_t *); 70 extern ui_control_t *panel_ctl(panel_t *); 71 extern void panel_set_rect(panel_t *, gfx_rect_t *); 63 72 64 73 #endif
Note:
See TracChangeset
for help on using the changeset viewer.