Changeset 7e38970d in mainline for uspace/lib/ui/private/ui.h
- Timestamp:
- 2020-12-07T00:08:37Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25f26600
- Parents:
- 7a873f0 (diff), 8596474 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/ui.h
r7a873f0 r7e38970d 1 1 /* 2 * Copyright (c) 20 12 Petr Koupy2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup gui29 /** @addtogroup libui 30 30 * @{ 31 31 */ 32 32 /** 33 * @file 33 * @file User interface 34 * 34 35 */ 35 36 36 #ifndef GUI_MINIMAL_H_37 #define GUI_MINIMAL_H_37 #ifndef _UI_PRIVATE_UI_H 38 #define _UI_PRIVATE_UI_H 38 39 40 #include <display.h> 39 41 #include <stdbool.h> 40 #include <io/pixel.h>41 42 42 #include "widget.h" 43 44 typedef struct minimal { 45 widget_t widget; 46 pixel_t pix_a; 47 pixel_t pix_b;48 } minimal_t;49 50 extern bool init_minimal(minimal_t *, widget_t *, const void *, pixel_t, 51 pixel_t); 52 extern minimal_t *create_minimal(widget_t *, const void *, pixel_t, pixel_t);53 extern void deinit_minimal(minimal_t *);43 /** Actual structure of user interface. 44 * 45 * This is private to libui. 46 */ 47 struct ui { 48 /** Display */ 49 display_t *display; 50 /** Output owned by UI, clean up when destroying UI */ 51 bool myoutput; 52 /** @c true if terminating */ 53 bool quit; 54 }; 54 55 55 56 #endif
Note:
See TracChangeset
for help on using the changeset viewer.