Changeset 7e38970d in mainline for uspace/app/uidemo/uidemo.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/app/uidemo/uidemo.h
r7a873f0 r7e38970d 1 1 /* 2 * Copyright (c) 20 19Jiri Svoboda2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup libguigfx29 /** @addtogroup uidemo 30 30 * @{ 31 31 */ 32 32 /** 33 * @file GFX canvas backend33 * @file User interface demo 34 34 */ 35 35 36 #ifndef _GUIGFX_CANVAS_H37 #define _GUIGFX_CANVAS_H36 #ifndef UIDEMO_H 37 #define UIDEMO_H 38 38 39 #include <canvas.h> 40 #include <types/gfx/context.h> 41 #include <types/gfx/ops/context.h> 42 #include <types/guigfx/canvas.h> 39 #include <display.h> 40 #include <ui/entry.h> 41 #include <ui/fixed.h> 42 #include <ui/label.h> 43 #include <ui/pbutton.h> 44 #include <ui/ui.h> 45 #include <ui/window.h> 43 46 44 extern gfx_context_ops_t canvas_gc_ops; 45 46 extern errno_t canvas_gc_create(canvas_t *, surface_t *, canvas_gc_t **); 47 extern errno_t canvas_gc_delete(canvas_gc_t *); 48 extern gfx_context_t *canvas_gc_get_ctx(canvas_gc_t *); 47 /** User interface demo */ 48 typedef struct { 49 ui_t *ui; 50 ui_window_t *window; 51 ui_fixed_t *fixed; 52 ui_entry_t *entry; 53 ui_image_t *image; 54 ui_label_t *label; 55 ui_pbutton_t *pb1; 56 ui_pbutton_t *pb2; 57 } ui_demo_t; 49 58 50 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.