Changeset 7e38970d in mainline for uspace/lib/ui/private/image.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/image.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 lib guigfx29 /** @addtogroup libui 30 30 * @{ 31 31 */ 32 32 /** 33 * @file GFX canvas backendstructure33 * @file Image structure 34 34 * 35 35 */ 36 36 37 #ifndef _ GUIGFX_PRIVATE_CANVAS_H38 #define _ GUIGFX_PRIVATE_CANVAS_H37 #ifndef _UI_PRIVATE_IMAGE_H 38 #define _UI_PRIVATE_IMAGE_H 39 39 40 #include <canvas.h>41 #include <draw/surface.h>42 40 #include <gfx/bitmap.h> 43 #include <gfx/context.h>44 41 #include <gfx/coord.h> 45 #include <io/pixel.h>46 #include <memgfx/memgc.h>47 42 48 /** Actual structure of canvas GC. */ 49 struct canvas_gc { 50 /** Memory GC */ 51 mem_gc_t *mgc; 52 /** Base graphic context */ 53 gfx_context_t *gc; 54 /** Canvas */ 55 canvas_t *canvas; 56 /** Surface */ 57 surface_t *surface; 43 /** Actual structure of image. 44 * 45 * This is private to libui. 46 */ 47 struct ui_image { 48 /** Base control object */ 49 struct ui_control *control; 50 /** UI resource */ 51 struct ui_resource *res; 52 /** Image rectangle */ 53 gfx_rect_t rect; 54 /** Flags */ 55 ui_image_flags_t flags; 56 /** Bitmap */ 57 gfx_bitmap_t *bitmap; 58 /** Bitmap rectangle */ 59 gfx_rect_t brect; 58 60 }; 59 61
Note:
See TracChangeset
for help on using the changeset viewer.