Changeset 7e38970d in mainline for uspace/lib/gfximage/include
- Timestamp:
- 2020-12-07T00:08:37Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, 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. - Location:
- uspace/lib/gfximage/include/gfximage
- Files:
-
- 2 moved
-
tga.h (moved) (moved from uspace/lib/gui/common.h ) (3 diffs)
-
tga_gz.h (moved) (moved from uspace/lib/draw/include/draw/codec.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfximage/include/gfximage/tga.h
r7a873f0 r7e38970d 1 1 /* 2 * Copyright (c) 2020 Jiri Svoboda 2 3 * Copyright (c) 2014 Martin Decky 4 * Copyright (c) 2011 Petr Koupy 3 5 * All rights reserved. 4 6 * … … 27 29 */ 28 30 29 /** @addtogroup gui31 /** @addtogroup draw 30 32 * @{ 31 33 */ … … 34 36 */ 35 37 36 #ifndef G UI_COMMON_H_37 #define G UI_COMMON_H_38 #ifndef GFXIMAGE_TGA_H_ 39 #define GFXIMAGE_TGA_H_ 38 40 39 #include <draw/drawctx.h> 41 #include <errno.h> 42 #include <gfx/context.h> 43 #include <gfx/coord.h> 44 #include <stddef.h> 40 45 41 extern void draw_icon_cross(surface_t *, sysarg_t, sysarg_t, pixel_t, pixel_t); 42 extern void draw_bevel(drawctx_t *, source_t *, sysarg_t, sysarg_t, sysarg_t, 43 sysarg_t, pixel_t, pixel_t); 46 extern errno_t decode_tga(gfx_context_t *, void *, size_t, 47 gfx_bitmap_t **, gfx_rect_t *); 44 48 45 49 #endif -
uspace/lib/gfximage/include/gfximage/tga_gz.h
r7a873f0 r7e38970d 1 1 /* 2 * Copyright (c) 2020 Jiri Svoboda 2 3 * Copyright (c) 2014 Martin Decky 3 4 * Copyright (c) 2011 Petr Koupy … … 35 36 */ 36 37 37 #ifndef DRAW_CODEC_H_38 #define DRAW_CODEC_H_38 #ifndef GFXIMAGE_TGA_GZ_H_ 39 #define GFXIMAGE_TGA_GZ_H_ 39 40 41 #include <errno.h> 42 #include <gfx/context.h> 43 #include <gfx/coord.h> 40 44 #include <stddef.h> 41 #include "surface.h"42 45 43 extern surface_t *decode_tga_gz(void *, size_t, surface_flags_t); 44 extern bool encode_tga_gz(surface_t *, void **, size_t *); 45 extern surface_t *decode_tga(void *, size_t, surface_flags_t); 46 extern bool encode_tga(surface_t *, void **, size_t *); 47 extern surface_t *decode_webp(void *, size_t, surface_flags_t); 48 extern bool encode_webp(surface_t *, void **, size_t *); 46 extern errno_t decode_tga_gz(gfx_context_t *, void *, size_t, 47 gfx_bitmap_t **, gfx_rect_t *); 49 48 50 49 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
