wlmaker
Toggle main menu visibility
Loading...
Searching...
No Matches
include
toolkit
image.h
Go to the documentation of this file.
1
/* ========================================================================= */
21
#ifndef __WLMTK_IMAGE_H__
22
#define __WLMTK_IMAGE_H__
23
24
#include <libbase/libbase.h>
25
26
#include "
element.h
"
27
28
#ifdef __cplusplus
29
extern
"C"
{
30
#endif
// __cplusplus
31
33
typedef
struct
_wlmtk_image_t
wlmtk_image_t
;
34
42
wlmtk_image_t
*
wlmtk_image_create
(
43
const
char
*image_path_ptr);
44
54
wlmtk_image_t
*
wlmtk_image_create_scaled
(
55
const
char
*image_path_ptr,
56
int
width,
57
int
height);
58
64
void
wlmtk_image_destroy
(
wlmtk_image_t
*image_ptr);
65
67
wlmtk_element_t
*
wlmtk_image_element
(
wlmtk_image_t
*image_ptr);
68
70
extern
const
bs_test_set_t
wlmtk_image_test_set
;
71
72
#ifdef __cplusplus
73
}
// extern "C"
74
#endif
// __cplusplus
75
76
#endif
/* __IMAGE_H__ */
77
/* == End of image.h ================================================== */
element.h
wlmtk_element_t
struct _wlmtk_element_t wlmtk_element_t
Definition
element.h:37
wlmtk_image_element
wlmtk_element_t * wlmtk_image_element(wlmtk_image_t *image_ptr)
Definition
image.c:102
wlmtk_image_test_set
const bs_test_set_t wlmtk_image_test_set
Definition
image.c:197
wlmtk_image_destroy
void wlmtk_image_destroy(wlmtk_image_t *image_ptr)
Definition
image.c:95
wlmtk_image_t
struct _wlmtk_image_t wlmtk_image_t
Definition
image.h:33
wlmtk_image_create_scaled
wlmtk_image_t * wlmtk_image_create_scaled(const char *image_path_ptr, int width, int height)
Definition
image.c:65
wlmtk_image_create
wlmtk_image_t * wlmtk_image_create(const char *image_path_ptr)
Definition
image.c:59
_wlmtk_image_t
Definition
image.c:35
Generated by
1.17.0