Changeset 3deb0155 in mainline for uspace/lib/gui/canvas.h
- Timestamp:
- 2013-04-10T19:11:45Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dd0c8a0
- Parents:
- 44186b01 (diff), b4f43a1 (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/gui/canvas.h
r44186b01 r3deb0155 1 1 /* 2 * Copyright (c) 20 08Martin Decky2 * Copyright (c) 2013 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup g enarch29 /** @addtogroup gui 30 30 * @{ 31 31 */ 32 /** @file 32 /** 33 * @file 33 34 */ 34 35 35 #ifndef KERN_LOGO_196X66_H_36 #define KERN_LOGO_196X66_H_36 #ifndef GUI_CANVAS_H_ 37 #define GUI_CANVAS_H_ 37 38 38 #define LOGO_WIDTH 196 39 #define LOGO_HEIGHT 66 40 #define LOGO_COLOR 0xffffff 39 #include <stdbool.h> 40 #include <sys/types.h> 41 #include <io/pixel.h> 42 #include <surface.h> 43 #include "widget.h" 41 44 42 #include <typedefs.h> 45 typedef struct { 46 widget_t widget; 47 sysarg_t width; 48 sysarg_t height; 49 surface_t *surface; 50 } canvas_t; 43 51 44 extern uint32_t fb_logo[LOGO_WIDTH * LOGO_HEIGHT]; 52 extern bool init_canvas(canvas_t *, widget_t *, sysarg_t, sysarg_t, 53 surface_t *); 54 extern canvas_t *create_canvas(widget_t *, sysarg_t, sysarg_t, surface_t *); 55 extern void deinit_canvas(canvas_t *); 45 56 46 57 #endif
Note:
See TracChangeset
for help on using the changeset viewer.