diff options
author | Kristen Carlson Accardi <kristen@linux.intel.com> | 2010-07-26 11:27:33 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-07-26 14:34:54 -0500 |
commit | f9cb5b37dd3c1b6770afec8ff9f831eb5df67d3f (patch) | |
tree | 9a7e1188bc72f3d74c510f429e9d585772a6aa12 /src/stkutil.h | |
parent | 3d86fa314a63662cbf654d7a40e2567087263842 (diff) | |
download | ofono-f9cb5b37dd3c1b6770afec8ff9f831eb5df67d3f.tar.gz |
stkutil: convert img to xpm
Diffstat (limited to 'src/stkutil.h')
-rw-r--r-- | src/stkutil.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/stkutil.h b/src/stkutil.h index 1fbd68b7..ea9294c7 100644 --- a/src/stkutil.h +++ b/src/stkutil.h @@ -557,6 +557,12 @@ enum stk_me_status { STK_ME_STATUS_NOT_IDLE = 0x01 }; +enum stk_img_scheme { + STK_IMG_SCHEME_BASIC = 0x11, + STK_IMG_SCHEME_COLOR = 0x21, + STK_IMG_SCHEME_TRANSPARENCY = 0x22, +}; + /* For data object that only has a byte array with undetermined length */ struct stk_common_byte_array { unsigned char *array; @@ -1644,3 +1650,6 @@ const unsigned char *stk_pdu_from_envelope(const struct stk_envelope *envelope, unsigned int *out_length); char *stk_text_to_html(const char *text, const unsigned short *attrs, int num_attrs); +char *stk_image_to_xpm(const unsigned char *img, unsigned int len, + enum stk_img_scheme scheme, const unsigned char *clut, + unsigned short clut_len); |