Changeset 7e38970d in mainline for uspace/lib/gfximage/include


Ignore:
Timestamp:
2020-12-07T00:08:37Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
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.
Message:

Merge branch 'jxsvoboda-gfx' into master

Location:
uspace/lib/gfximage/include/gfximage
Files:
2 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/gfximage/include/gfximage/tga.h

    r7a873f0 r7e38970d  
    11/*
     2 * Copyright (c) 2020 Jiri Svoboda
    23 * Copyright (c) 2014 Martin Decky
     4 * Copyright (c) 2011 Petr Koupy
    35 * All rights reserved.
    46 *
     
    2729 */
    2830
    29 /** @addtogroup gui
     31/** @addtogroup draw
    3032 * @{
    3133 */
     
    3436 */
    3537
    36 #ifndef GUI_COMMON_H_
    37 #define GUI_COMMON_H_
     38#ifndef GFXIMAGE_TGA_H_
     39#define GFXIMAGE_TGA_H_
    3840
    39 #include <draw/drawctx.h>
     41#include <errno.h>
     42#include <gfx/context.h>
     43#include <gfx/coord.h>
     44#include <stddef.h>
    4045
    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);
     46extern errno_t decode_tga(gfx_context_t *, void *, size_t,
     47    gfx_bitmap_t **, gfx_rect_t *);
    4448
    4549#endif
  • uspace/lib/gfximage/include/gfximage/tga_gz.h

    r7a873f0 r7e38970d  
    11/*
     2 * Copyright (c) 2020 Jiri Svoboda
    23 * Copyright (c) 2014 Martin Decky
    34 * Copyright (c) 2011 Petr Koupy
     
    3536 */
    3637
    37 #ifndef DRAW_CODEC_H_
    38 #define DRAW_CODEC_H_
     38#ifndef GFXIMAGE_TGA_GZ_H_
     39#define GFXIMAGE_TGA_GZ_H_
    3940
     41#include <errno.h>
     42#include <gfx/context.h>
     43#include <gfx/coord.h>
    4044#include <stddef.h>
    41 #include "surface.h"
    4245
    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 *);
     46extern errno_t decode_tga_gz(gfx_context_t *, void *, size_t,
     47    gfx_bitmap_t **, gfx_rect_t *);
    4948
    5049#endif
Note: See TracChangeset for help on using the changeset viewer.