root / proj / libs / utils / include / xpm_utils.h @ 368
History | View | Annotate | Download (618 Bytes)
1 | 182 | up20180642 | #ifndef XMP_UTILS_H_INCLUDED
|
---|---|---|---|
2 | #define XMP_UTILS_H_INCLUDED
|
||
3 | |||
4 | 334 | up20180642 | /**
|
5 | * @defgroup xpm_utils xpm_utils
|
||
6 | * @ingroup utils
|
||
7 | * @brief XPM utilities module.
|
||
8 | *
|
||
9 | * @{
|
||
10 | */
|
||
11 | |||
12 | /**
|
||
13 | * @brief Save XPM array of strings as a XPM2 text file.
|
||
14 | * @param p XPM to be saved
|
||
15 | * @param s Path to save the XPM as XPM2 file
|
||
16 | */
|
||
17 | 323 | up20180642 | void xpm_save_as_xpm2(const char* const* p, const char *s); |
18 | 334 | up20180642 | /**
|
19 | * @brief Load XPM2 file as a XPM array of strings.
|
||
20 | * @param s Path to XPM2 file to be loaded
|
||
21 | * @return Array of strings representing the loaded XPM
|
||
22 | */
|
||
23 | 182 | up20180642 | char** xpm_load_xpm2(const char *s); |
24 | |||
25 | 334 | up20180642 | /**
|
26 | * @}
|
||
27 | */
|
||
28 | |||
29 | 183 | up20180642 | #endif //XMP_UTILS_H_INCLUDED |