supported cursor for mouse

This commit is contained in:
xianjimli 2018-10-22 12:34:47 +08:00
parent 83d76c810a
commit 4bfd3f9b4f
97 changed files with 414 additions and 104 deletions

View File

@ -87,6 +87,7 @@ OS_PROJECTS=[]
if OS_NAME == 'Darwin':
OS_LINKFLAGS='-framework OpenGL'
COMMON_CCFLAGS = COMMON_CCFLAGS + ' -D__APPLE__ -DHAS_PTHREAD -DMACOS -DENABLE_MEM_LEAK_CHECK '
COMMON_CCFLAGS=COMMON_CCFLAGS+' -DENABLE_CURSOR '
OS_LIBS = OS_LIBS + ['stdc++', 'pthread', 'm', 'dl']
elif OS_NAME == 'Linux':

View File

@ -127,6 +127,7 @@
#include "assets/inc/images/discovery_active.res"
#include "assets/inc/images/shifton.res"
#include "assets/inc/images/check.res"
#include "assets/inc/images/cursor.res"
#include "assets/inc/images/me.res"
#include "assets/inc/images/info.res"
#include "assets/inc/images/red_btn_p.res"
@ -200,6 +201,7 @@
#include "assets/inc/images/arrow_right_n.data"
#include "assets/inc/images/clock_bg.data"
#include "assets/inc/images/me_active.data"
#include "assets/inc/images/cursor.data"
#include "assets/inc/images/clock_minute.data"
#include "assets/inc/images/switch.data"
#include "assets/inc/images/checked.data"
@ -382,6 +384,7 @@ ret_t assets_init(void) {
assets_manager_add(rm, image_arrow_right_n);
assets_manager_add(rm, image_clock_bg);
assets_manager_add(rm, image_me_active);
assets_manager_add(rm, image_cursor);
assets_manager_add(rm, image_clock_minute);
assets_manager_add(rm, image_switch);
assets_manager_add(rm, image_checked);

View File

@ -628,4 +628,4 @@ const unsigned char font_default[] = {
0xba,0x5c,0x00,0x00,0x00,0x00,0x04,0x65,0xeb,0x0b,0x00,0x00,0x00,0x0c,0xca,0x9b,0x18,0x00,0x00,0x00,
0x00,0xa1,0x87,0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0x36,0x00,
0x00,0x00,0x00,0x00,0x00,0x0a,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x3f,0x06,0x00,0x00,0x00,0x00,0x00,
0x01,0xb0,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*12590*/
0x01,0xb0,0x36,0x00,0x00,0x00,0x56,0x92,0xff,0x7f,};/*12590*/

View File

@ -176,4 +176,4 @@ const unsigned char image_2[] = {
0x00,0x01,0x15,0xda,0x68,0xf6,0x29,0xde,0xfd,0xd3,0xf4,0x15,0x28,0xc2,0x46,0x5a,0x74,0xfc,0x29,0xb3,
0x82,0x5b,0x94,0xee,0x7f,0xd7,0xb7,0xd2,0xa3,0xa9,0xcf,0x23,0x12,0xff,0x00,0xef,0x35,0x71,0x4f,0x73,
0x86,0x66,0x74,0x9f,0x71,0xab,0xcf,0xa8,0x72,0x4f,0x63,0x9e,0xb9,0xff,0x00,0x5c,0xd5,0xe2,0xd5,0xf8,
0x8e,0x17,0xb9,0xff,0xd9,0x0b,0x50,0x92,0xff,};/*3549*/
0x8e,0x17,0xb9,0xff,0xd9,0x00,0x00,0x00,0x00,};/*3549*/

View File

@ -174,4 +174,4 @@ const unsigned char image_3[] = {
0xfa,0x09,0xa9,0x96,0xc1,0x0d,0xcd,0xc5,0xff,0x00,0x91,0x12,0xd3,0xfe,0x01,0xff,0x00,0xa1,0xd5,0x76,
0x22,0x5d,0x4e,0x0f,0xc6,0xbf,0xf2,0x38,0xcb,0xfe,0xfa,0xff,0x00,0xe8,0x34,0xea,0x15,0x0d,0x8b,0x36,
0x3f,0xf1,0xfb,0x17,0xfd,0x70,0x7f,0xe9,0x5d,0x11,0xd8,0xe7,0x99,0x22,0xff,0x00,0xac,0x1f,0x8d,0x38,
0x93,0x2d,0x8c,0xfd,0x57,0xfe,0x3e,0x87,0xfb,0xa2,0x92,0x25,0x6c,0x7f,0xff,0xd9,0x00,0x00,0x00,0x00,};/*3520*/
0x93,0x2d,0x8c,0xfd,0x57,0xfe,0x3e,0x87,0xfb,0xa2,0x92,0x25,0x6c,0x7f,0xff,0xd9,0xff,0x7f,0x00,0x00,};/*3520*/

View File

@ -192,4 +192,4 @@ const unsigned char image_ani2[] = {
0x36,0x2b,0x30,0x38,0x3a,0x30,0x30,0xc7,0x84,0x5d,0x92,0x00,0x00,0x00,0x25,0x74,0x45,0x58,0x74,0x64,
0x61,0x74,0x65,0x3a,0x6d,0x6f,0x64,0x69,0x66,0x79,0x00,0x32,0x30,0x31,0x32,0x2d,0x30,0x37,0x2d,0x30,
0x33,0x54,0x31,0x30,0x3a,0x34,0x38,0x3a,0x32,0x32,0x2b,0x30,0x38,0x3a,0x30,0x30,0x68,0x8d,0xfd,0xf1,
0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*3876*/
0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x6c,0x5b,0xbe,0x52,};/*3876*/

View File

@ -204,4 +204,4 @@ const unsigned char image_ani7[] = {
0x32,0x36,0x2b,0x30,0x38,0x3a,0x30,0x30,0xc7,0x84,0x5d,0x92,0x00,0x00,0x00,0x25,0x74,0x45,0x58,0x74,
0x64,0x61,0x74,0x65,0x3a,0x6d,0x6f,0x64,0x69,0x66,0x79,0x00,0x32,0x30,0x31,0x32,0x2d,0x30,0x37,0x2d,
0x30,0x33,0x54,0x31,0x30,0x3a,0x34,0x38,0x3a,0x32,0x32,0x2b,0x30,0x38,0x3a,0x30,0x30,0x68,0x8d,0xfd,
0xf1,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x71,0xa4,0x31,0xff,};/*4117*/
0xf1,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*4117*/

View File

@ -981,4 +981,4 @@ const unsigned char image_ania[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*19660*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd0,0xb0,0x55,0x92,};/*19660*/

View File

@ -12,4 +12,4 @@ const unsigned char image_arrow_down_n[] = {
0x4c,0x98,0xd0,0x4b,0x48,0x3f,0x33,0x31,0x41,0x75,0xe2,0xc4,0x89,0x6d,0x16,0x16,0x16,0x6f,0x19,0x18,
0x18,0xbc,0x90,0x0c,0x9f,0x4a,0x8b,0x38,0x29,0x2c,0x28,0x28,0x28,0x1c,0x4d,0x9d,0xa3,0x60,0x14,0x8c,
0x34,0x00,0x00,0xd3,0x3a,0x19,0x6b,0xf5,0xd0,0xdc,0x6a,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,
0x42,0x60,0x82,0xff,0x00,0x00,0x00,};/*267*/
0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*267*/

View File

@ -9,4 +9,4 @@ const unsigned char image_arrow_down_o[] = {
0x44,0x41,0x54,0x48,0xc7,0x63,0x60,0x18,0x05,0xa3,0x60,0x14,0x0c,0x38,0x60,0xa4,0x87,0x25,0x4b,0x19,
0x18,0x18,0xfe,0xe3,0xc0,0x35,0xd4,0xb2,0x64,0x0a,0x16,0xc3,0xb3,0xa9,0xed,0x93,0x1c,0x72,0x0c,0x67,
0x21,0xd1,0x17,0xac,0x50,0xf6,0xd4,0xd1,0xe4,0x39,0x0a,0x46,0xc1,0x48,0x02,0x00,0x07,0xa5,0x10,0x1f,
0xd0,0xa2,0x47,0x9b,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x70,0xd0,0x87,0x92,};/*220*/
0xd0,0xa2,0x47,0x9b,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*220*/

View File

@ -12,4 +12,4 @@ const unsigned char image_arrow_down_p[] = {
0x18,0xfe,0xff,0x7f,0x0e,0x21,0xc3,0x89,0xf2,0x01,0x0c,0x08,0x4e,0xbd,0x95,0xc3,0xc8,0xc8,0x38,0x19,
0x6e,0x78,0xb6,0xda,0x54,0xaa,0xc7,0x89,0xe0,0xd4,0x5b,0x85,0x82,0x53,0x6f,0x15,0x8e,0xa6,0xce,0x51,
0x30,0x0a,0x46,0x1a,0x00,0x00,0x45,0xce,0x1d,0xc1,0x7b,0x8d,0x58,0x18,0x00,0x00,0x00,0x00,0x49,0x45,
0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*270*/
0x4e,0x44,0xae,0x42,0x60,0x82,0x86,0x8b,0xff,0x7f,};/*270*/

View File

@ -117,4 +117,4 @@ const unsigned char image_arrow_left_o[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0x90,0x4d,0x50,0x92,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_arrow_right_n[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0xf0,0x41,0x56,0x92,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_arrow_right_o[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0xf0,0x41,0x56,0x92,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_arrow_right_p[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xf0,0x41,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_arrow_up_n[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xf0,0x41,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -11,5 +11,5 @@ const unsigned char image_arrow_up_n[] = {
0xf1,0xe6,0xc4,0x89,0x13,0xa7,0xa9,0x66,0x41,0x41,0x41,0xc1,0x14,0x06,0x06,0x86,0x7a,0x24,0x21,0x2f,
0x62,0x2d,0x61,0x26,0xc2,0xf0,0xa5,0x0c,0x0c,0x0c,0xc9,0x58,0xa4,0xbc,0x2c,0x2c,0x2c,0xfe,0x9e,0x38,
0x71,0xe2,0x10,0x25,0x61,0xce,0x48,0x84,0x9a,0xd1,0xc4,0x39,0x0a,0x46,0xc1,0x40,0x03,0x00,0x3d,0xe5,
0x1c,0x3d,0x7f,0x52,0x51,0x65,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0xff,0xff,
0xff,0xff,};/*262*/
0x1c,0x3d,0x7f,0x52,0x51,0x65,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,
0x00,0x00,};/*262*/

View File

@ -9,4 +9,4 @@ const unsigned char image_arrow_up_o[] = {
0x44,0x41,0x54,0x48,0xc7,0x63,0x60,0x18,0x05,0xa3,0x60,0x14,0x8c,0x3c,0x50,0x08,0xc5,0x34,0x01,0x39,
0x0c,0x0c,0x0c,0xff,0xa1,0x38,0x9b,0xda,0x86,0x4f,0x41,0x32,0x9c,0xea,0x96,0x2c,0xc5,0x62,0x38,0x0c,
0xd7,0x50,0x6a,0x38,0xe3,0x68,0xb2,0x1b,0x05,0xa3,0x60,0x08,0x00,0x00,0xe3,0x5d,0x0f,0xcf,0xf7,0x25,
0x81,0x18,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0xff,0xff,0x00,0x00,};/*218*/
0x81,0x18,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*218*/

View File

@ -16,4 +16,4 @@ const unsigned char image_backspace[] = {
0xbc,0xcb,0xc4,0x4b,0xdc,0x27,0x1f,0xe2,0x5c,0xa7,0x0b,0x31,0x29,0x69,0xe3,0x34,0x06,0x52,0x37,0x7e,
0x00,0x22,0xb1,0x85,0x75,0x1c,0x27,0x63,0x7f,0x7b,0x4f,0x43,0x58,0xaa,0x7a,0xca,0x61,0x66,0xf4,0xbf,
0x24,0x4e,0xfe,0xe5,0x33,0x95,0xdc,0xdc,0xd9,0xf3,0x05,0xf6,0xc4,0x3b,0x00,0x2f,0xa2,0xba,0xc3,0x00,
0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0xb0,0x00,0x73,};/*355*/
0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*355*/

View File

@ -361,4 +361,4 @@ const unsigned char image_bricks[] = {
0xcd,0xbb,0xcd,0xbb,0xcd,0xbb,0xed,0xbb,0xcd,0xbb,0xcd,0xbb,0xcd,0xbb,0xcd,0xbb,0xcd,0xbb,0xcc,0xbb,
0xed,0xbb,0x0d,0xc4,0x0d,0xbc,0x0d,0xc4,0x0d,0xc4,0x0d,0xc4,0xed,0xc3,0x0d,0xc4,0x0d,0xc4,0x0d,0xc4,
0x0e,0xcc,0x11,0xd5,0xb0,0xc4,0xad,0xbb,0xac,0xbb,0xec,0xc3,0xec,0xc3,0xcc,0xbb,0xcc,0xbb,0xcc,0xc3,
0xcc,0xc3,0xed,0xc3,0xed,0xc3,0xcc,0xbb,0xcc,0xbb,0xd2,0xc4,0x00,0x00,0x00,0x00,0xff,0x02,0x01,0x00,};/*7260*/
0xcc,0xc3,0xed,0xc3,0xed,0xc3,0xcc,0xbb,0xcc,0xbb,0xd2,0xc4,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*7260*/

View File

@ -351,4 +351,4 @@ const unsigned char image_bricks[] = {
0xc6,0x2f,0xd3,0xc7,0x4e,0x7a,0x98,0x99,0x2c,0xd9,0x99,0x9f,0xfd,0x26,0xc7,0xe3,0x13,0x3d,0x3e,0x42,
0x65,0x12,0xdd,0xd8,0xa9,0x99,0x50,0xd2,0x6c,0x45,0x93,0x9b,0x35,0x52,0x9c,0x18,0xc9,0x14,0x58,0xff,
0xd1,0xef,0xf1,0xff,0x01,0x26,0xff,0x2a,0xcc,0xb5,0x00,0xc3,0xa7,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,
0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*7049*/
0x44,0xae,0x42,0x60,0x82,0xff,0xff,0xff,0x00,};/*7049*/

View File

@ -117,4 +117,4 @@ const unsigned char image_contact[] = {
0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,
0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfc,
0x72,0x72,0x72,0xfc,0x72,0x72,0x72,0xfd,0x6b,0x6b,0x6b,0xbb,0x28,0x28,0x28,0x30,0x00,0x00,0x00,0x00,
0x90,0x03,0x58,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -55,5 +55,5 @@ const unsigned char image_contact[] = {
0x77,0x07,0x98,0xbe,0x5f,0x68,0x6a,0x6a,0x26,0x01,0x2d,0x10,0x04,0xc6,0xc3,0x7f,0x72,0x2d,0x82,0x56,
0xfa,0xc2,0xc0,0x3c,0x13,0x07,0x34,0xf3,0x20,0xbc,0xd9,0x62,0x64,0x64,0xe4,0x06,0x4c,0x72,0x75,0xc0,
0x0c,0x64,0x0c,0x34,0x9c,0x95,0x42,0x9f,0x30,0x02,0x0d,0xdf,0x07,0xcc,0x84,0xa5,0x00,0x0c,0xaa,0xf0,
0xed,0x07,0x0f,0xa0,0x2f,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,
0x00,};/*1141*/
0xed,0x07,0x0f,0xa0,0x2f,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0xc9,0xb9,0x44,
0xff,};/*1141*/

View File

@ -53,4 +53,4 @@ const unsigned char image_contact_active[] = {
0xc4,0x52,0xe1,0x10,0x6b,0x33,0xa4,0xd2,0x17,0x66,0xd0,0x62,0x88,0x03,0x56,0x9a,0x07,0x11,0xcd,0x96,
0x06,0x60,0x65,0xa2,0xcb,0x50,0x07,0x8c,0x11,0x63,0xa0,0x59,0xac,0x14,0xfa,0x84,0x91,0xe1,0x2b,0xc3,
0x3e,0x60,0x26,0x2c,0x05,0x00,0xd0,0x0b,0xe7,0xdc,0xd1,0x27,0xbc,0x5a,0x00,0x00,0x00,0x00,0x49,0x45,
0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*1090*/
0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0xff,0xff,};/*1090*/

View File

@ -0,0 +1,56 @@
const unsigned char image_cursor[] = {
0x02,0x00,0x01,0x01,0x0c,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x75,0x72,0x73,0x6f,0x72,0x00,0x64,
0x61,0x74,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x10,0x00,0x10,0x00,0x02,0x00,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x5c,0x00,0x00,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0x00,0x00,0x00,0xef,0x00,0x00,0x00,0x8e,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0x00,0x00,0x00,0xff,
0x00,0x00,0x00,0xf1,0x00,0x00,0x00,0xa1,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,
0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xf5,0x00,0x00,0x00,0xaf,0x00,0x00,0x00,0x02,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0xc7,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xf8,
0x00,0x00,0x00,0xbf,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,
0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xfb,0x00,0x00,0x00,0xc1,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,
0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xea,0x00,0x00,0x00,0xc8,0x00,0x00,0x00,0xa5,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc7,0x00,0x00,0x00,0xfc,
0x00,0x00,0x00,0xec,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xe3,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xa2,
0x00,0x00,0x00,0xc3,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0xe7,0x00,0x00,0x00,0xfe,0x00,0x00,0x00,0x8f,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xc3,0x00,0x00,0x00,0xff,
0x00,0x00,0x00,0xd5,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x2e,
0x00,0x00,0x00,0x87,0x00,0x00,0x00,0x0c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*1084*/

View File

@ -0,0 +1,16 @@
const unsigned char image_cursor[] = {
0x02,0x00,0x03,0x01,0xe9,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x75,0x72,0x73,0x6f,0x72,0x00,0x72,
0x65,0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a,0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52,
0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x10,0x08,0x06,0x00,0x00,0x00,0x1f,0xf3,0xff,0x61,0x00,0x00,0x00,
0xb0,0x49,0x44,0x41,0x54,0x38,0x4f,0xb5,0xd3,0x31,0x6a,0x02,0x51,0x10,0x06,0xe0,0x6f,0xcf,0x60,0x61,
0xab,0x9d,0x20,0x68,0x25,0x58,0x04,0xec,0xbc,0x80,0x95,0x28,0xc4,0x2b,0xe8,0x19,0xe2,0x01,0x3c,0x41,
0xc0,0x13,0x58,0xdb,0x2a,0x7a,0x03,0x3b,0xad,0xec,0x04,0x91,0x20,0x82,0x24,0x48,0xd8,0x6e,0x11,0x76,
0x7d,0xec,0xe2,0xab,0xe7,0xff,0x98,0x79,0xcc,0x44,0x0a,0xbe,0xa8,0x60,0xde,0xdb,0x80,0x21,0x2a,0xf8,
0x7a,0xd5,0x61,0x5a,0x07,0x5b,0xd4,0xf0,0x8d,0x49,0x16,0x92,0x05,0xb4,0xf1,0x83,0x05,0x3e,0xd3,0x90,
0x57,0x40,0x9c,0xbb,0x61,0x89,0x1e,0x1e,0xcf,0x50,0x08,0x10,0x67,0xee,0x88,0xc7,0xea,0xe2,0x37,0x89,
0x84,0x02,0x71,0xe6,0x0f,0x1b,0x74,0xf2,0x00,0x27,0x1c,0xb0,0xc7,0x20,0x14,0x68,0xe1,0x82,0x12,0x8e,
0x68,0xe2,0x1c,0xfa,0x07,0x73,0x54,0x31,0xc2,0x1a,0x65,0xcc,0x30,0x0e,0x05,0x92,0x75,0x2b,0x7c,0x60,
0x87,0x7a,0x1e,0xa0,0x81,0x3e,0xa6,0xb8,0xe6,0x01,0x32,0xb7,0xb9,0xf0,0x31,0xfd,0x03,0x38,0xcd,0x20,
0x11,0x63,0x4b,0x55,0x46,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,
0x00,};/*281*/

View File

@ -117,4 +117,4 @@ const unsigned char image_discovery[] = {
0x65,0x65,0x65,0x9c,0x64,0x64,0x64,0xa5,0x63,0x63,0x63,0xbd,0x65,0x65,0x65,0xc1,0x71,0x71,0x71,0xa2,
0x56,0x56,0x56,0x77,0x32,0x32,0x32,0x33,0x0f,0x0f,0x0f,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x90,0x03,0x58,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_discovery_active[] = {
0x00,0x99,0x00,0x9c,0x00,0x97,0x00,0xa5,0x00,0x97,0x00,0xbd,0x00,0x9a,0x00,0xc1,0x00,0xad,0x00,0xa2,
0x00,0x84,0x00,0x77,0x00,0x4b,0x00,0x33,0x00,0x17,0x00,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0x90,0x03,0x58,0x92,};/*2364*/

View File

@ -61,4 +61,4 @@ const unsigned char image_discovery_active[] = {
0xdd,0x6c,0x11,0x87,0x36,0x5b,0x4c,0xc1,0xcd,0x16,0x55,0x60,0xa1,0xf8,0x1f,0x18,0xca,0x9c,0x40,0x0b,
0x24,0x80,0x01,0xcb,0x02,0x4c,0xa2,0x0f,0x81,0xcd,0x96,0xab,0x0c,0xc7,0x19,0xf6,0x00,0x0b,0xcb,0x4b,
0xb8,0x9a,0x2d,0x00,0x94,0xe6,0x1f,0x26,0x00,0x21,0xe7,0x98,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,
0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*1248*/
0xae,0x42,0x60,0x82,0xff,0x7f,0x00,0x00,};/*1248*/

View File

@ -117,4 +117,4 @@ const unsigned char image_empty[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xf0,0x41,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -181,4 +181,4 @@ const unsigned char image_green_btn_n[] = {
0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,
0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,0x5a,0x83,0x26,0xff,
0x68,0x8d,0x3a,0xff,0x85,0xa2,0x62,0xd7,0xa0,0xb7,0x85,0x97,0xdd,0xe5,0xd4,0x37,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xb0,0x36,0x50,0x92,};/*3660*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x50,0x48,0x50,0x92,};/*3660*/

View File

@ -117,4 +117,4 @@ const unsigned char image_info[] = {
0xdb,0x96,0x11,0xe9,0xdb,0x96,0x12,0xff,0xdb,0x96,0x12,0xff,0xdb,0x96,0x11,0xe9,0xdb,0x96,0x12,0xb4,
0xdb,0x96,0x11,0x78,0xdb,0x91,0x0d,0x0c,0x00,0x00,0x00,0x00,0xdf,0x97,0x10,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xf0,0x41,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_left_on[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xb0,0x96,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -82,4 +82,4 @@ const unsigned char image_logo[] = {
0x3b,0x32,0x33,0x1d,0x73,0xfe,0xea,0xc6,0xae,0xa4,0x29,0xc6,0xbe,0xa0,0x3a,0x61,0x31,0x81,0x62,0x8b,
0xdd,0xde,0x67,0x6e,0xff,0xc3,0xe5,0x39,0x7b,0x55,0x23,0x1f,0x4a,0xaf,0xec,0xeb,0xfb,0xbf,0xbe,0x87,
0xb3,0xd6,0xf8,0xf8,0xbf,0xe6,0x38,0x8e,0xe3,0x38,0xfe,0x7a,0xfc,0x09,0xd8,0xbd,0xa7,0xa2,0xc4,0xc0,
0xa1,0x45,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x51,0x92,0xff,0x7f,};/*1678*/
0xa1,0x45,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*1678*/

View File

@ -117,4 +117,4 @@ const unsigned char image_me[] = {
0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,
0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf4,0x72,0x72,0x72,0xf5,
0x73,0x73,0x73,0xe3,0x50,0x50,0x50,0x71,0x09,0x09,0x09,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0xd0,0xdc,0x59,0x92,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_me_active[] = {
0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,
0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf4,0x00,0xad,0x00,0xf5,
0x00,0xae,0x00,0xe3,0x00,0x78,0x00,0x71,0x00,0x0d,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x90,0x44,0x50,0x92,};/*2364*/
0xf0,0x41,0x56,0x92,};/*2364*/

View File

@ -51,4 +51,4 @@ const unsigned char image_me_active[] = {
0x88,0xaf,0x40,0x52,0x11,0x2f,0xb0,0xca,0xce,0x65,0x88,0x01,0xc6,0x42,0x0d,0x30,0xb8,0xc4,0x80,0x5a,
0xfe,0x93,0xe9,0x13,0x46,0xa0,0xd3,0xde,0x31,0x9c,0x62,0xe8,0x63,0x98,0xca,0x30,0x1d,0x98,0x2b,0x7e,
0x00,0x00,0xbc,0x5c,0xdb,0x6c,0xf3,0xda,0x26,0xfe,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,
0x60,0x82,0x00,0x00,0x00,0x00,};/*1046*/
0x60,0x82,0x43,0x8b,0xff,0x7f,};/*1046*/

View File

@ -117,4 +117,4 @@ const unsigned char image_message[] = {
0x06,0x24,0x3d,0x9a,0x07,0x28,0x3b,0xa6,0x07,0x28,0x3c,0xa4,0x06,0x20,0x3d,0x92,0x03,0x0f,0x3f,0x70,
0x00,0x02,0x42,0x45,0x00,0x00,0x44,0x1d,0x00,0x00,0x3d,0x07,0x00,0x00,0x23,0x00,0x00,0x00,0x08,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0x90,0x03,0x58,0x92,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_middle_off[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xf0,0x41,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_middle_on[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0xf0,0x41,0x56,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -59,4 +59,4 @@ const unsigned char image_msg_active[] = {
0x7a,0x1a,0xd0,0x95,0x97,0xd0,0x6b,0x2a,0x06,0x22,0x01,0xa6,0x05,0xff,0x80,0xb1,0xff,0x1c,0xe8,0xe9,
0x7d,0x0c,0x8b,0x80,0x89,0x75,0x2f,0x30,0xb0,0x7e,0x31,0x50,0x15,0x30,0x01,0xdd,0x0f,0x2a,0x39,0xa9,
0x64,0x28,0x00,0x3a,0xa7,0xfc,0xcc,0x9d,0x1e,0x76,0xf1,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,
0x42,0x60,0x82,0x34,0xff,0x7f,0x00,};/*1207*/
0x42,0x60,0x82,0xff,0xff,0xff,0xff,};/*1207*/

View File

@ -24,4 +24,4 @@ const unsigned char image_muted[] = {
0xcb,0x8d,0xad,0x03,0x6b,0xb2,0xc1,0x0d,0x60,0x4a,0xda,0xfb,0xc0,0xa4,0xc4,0x4d,0xa0,0x28,0xf1,0xbb,
0xfc,0xa3,0x83,0x66,0x82,0x00,0x62,0x4f,0x2f,0xda,0x60,0x85,0x14,0xb1,0x65,0xa0,0x94,0x92,0xf3,0x06,
0xdc,0xf2,0x5f,0x36,0x04,0xce,0x20,0x9e,0x74,0x4b,0xf5,0x44,0x82,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,
0x44,0xae,0x42,0x60,0x82,0xee,0x73,0x8d,0xff,};/*509*/
0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*509*/

View File

@ -117,4 +117,4 @@ const unsigned char image_play_o[] = {
0x2c,0x2c,0x2c,0xd8,0x2c,0x2c,0x2c,0xf3,0x2c,0x2c,0x2c,0xff,0x2b,0x2b,0x2b,0xf1,0x2c,0x2c,0x2c,0xba,
0x2c,0x2c,0x2c,0x7f,0x28,0x28,0x28,0x09,0x00,0x00,0x00,0x00,0x1c,0x1c,0x1c,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0xf0,0x41,0x56,0x92,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_play_p[] = {
0xdb,0x96,0x12,0xdf,0xdb,0x96,0x12,0xf7,0xdb,0x96,0x12,0xff,0xdb,0x96,0x12,0xf2,0xdb,0x96,0x12,0xc4,
0xdb,0x96,0x12,0x8b,0xdb,0x96,0x11,0x37,0xde,0x93,0x0f,0x04,0xdb,0x96,0x12,0x00,0xdd,0x95,0x0e,0x00,
0xdc,0x96,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x90,0x03,0x58,0x92,};/*2364*/
0x00,0x00,0x00,0x00,};/*2364*/

View File

@ -117,4 +117,4 @@ const unsigned char image_radio_unchecked[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,};/*2364*/
0xf0,0x41,0x56,0x92,};/*2364*/

View File

@ -91,4 +91,4 @@ const unsigned char image_rgb[] = {
0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x00,0xf8,0x00,0xf8,0x00,0xf8,0x00,0xf8,
0x00,0xf8,0x00,0xf8,0x00,0xf8,0x00,0xf8,0x00,0xf8,0x00,0xf8,0xe0,0x07,0xe0,0x07,0xe0,0x07,0xe0,0x07,
0xe0,0x07,0xe0,0x07,0xe0,0x07,0xe0,0x07,0xe0,0x07,0xe0,0x07,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,
0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1860*/
0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x1f,0x00,0x00,0x00,0x00,0x00,0x80,0x43,0x51,0x8b,};/*1860*/

View File

@ -181,4 +181,4 @@ const unsigned char image_rgba[] = {
0x00,0xff,0x00,0xc7,0x00,0xff,0x00,0xea,0x00,0xff,0x00,0xfb,0x00,0xff,0x00,0xfb,0x00,0xff,0x00,0xea,
0x00,0xff,0x00,0xc7,0x00,0xff,0x00,0x94,0x00,0xff,0x00,0x50,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,
0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*3660*/
0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0x10,0x59,0x92,};/*3660*/

View File

@ -23,4 +23,4 @@ const unsigned char image_rgba[] = {
0x38,0xa0,0x36,0x00,0xd7,0xa6,0x2d,0x13,0xe0,0x2d,0x63,0xb6,0x1d,0xcb,0xea,0x5a,0x34,0x17,0x02,0xa6,
0xd2,0xc7,0x54,0xec,0x99,0xca,0x5b,0x53,0x41,0xbf,0xfa,0x2f,0xcc,0x9c,0xbe,0xe0,0xa3,0x5a,0x29,0x81,
0x17,0x60,0xdb,0x37,0xfc,0xd8,0xef,0x1b,0xa0,0xa6,0xd0,0xfb,0x94,0xf5,0x6e,0x7c,0xe9,0x10,0x26,0x48,
0x13,0xab,0x3e,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0xb0,0x06,0x73,};/*499*/
0x13,0xab,0x3e,0x00,0x00,0x00,0x00,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82,0x00,0x00,0x00,0x00,};/*499*/

View File

@ -158,4 +158,4 @@ const unsigned char image_slider_drag_o[] = {
0x7e,0x7e,0x7e,0xc0,0x7e,0x7e,0x7e,0xff,0x7e,0x7e,0x7e,0xff,0x7e,0x7e,0x7e,0xff,0x7e,0x7e,0x7e,0xff,
0x7e,0x7e,0x7e,0xd0,0x7d,0x7d,0x7d,0xa0,0x7d,0x7d,0x7d,0x50,0x7e,0x7e,0x7e,0x00,0x7e,0x7e,0x7e,0x00,
0x7e,0x7e,0x7e,0x00,0x7e,0x7e,0x7e,0x00,0x7e,0x7e,0x7e,0x00,0x7d,0x7d,0x7d,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0xb6,0x58,0x92,};/*3196*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x70,0xd4,0x58,0x92,};/*3196*/

View File

@ -98,4 +98,4 @@ const unsigned char image_switch[] = {
0xc5,0x0e,0xff,0x45,0xbd,0xdf,0x88,0x69,0xdb,0x70,0x09,0x08,0x49,0xd0,0x3a,0x99,0x81,0x9a,0xd6,0x12,
0x3c,0x2c,0x0c,0x90,0x76,0x34,0xfd,0x02,0x1a,0x56,0x91,0x81,0xa6,0x95,0x7e,0xfc,0xf8,0x41,0xd7,0x7a,
0xe1,0xe1,0xc3,0x87,0xe7,0x01,0xc0,0x78,0x11,0x73,0xc8,0x5e,0xdc,0x32,0x00,0x00,0x00,0x00,0x49,0x45,
0x4e,0x44,0xae,0x42,0x60,0x82,0xff,0xff,0xff,0xff,};/*1990*/
0x4e,0x44,0xae,0x42,0x60,0x82,0xe3,0x35,0xff,0x7f,};/*1990*/

View File

@ -3,4 +3,4 @@ const unsigned char strings_en_US[] = {
0x74,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x1c,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x2a,0x00,0x00,0x00,
0x2d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x61,0x6e,0x63,0x65,0x6c,0x00,0x43,
0x61,0x6e,0x63,0x65,0x6c,0x00,0x6f,0x6b,0x00,0x4f,0x4b,0x00,0x00,0x00,0x06,0x00,};/*96*/
0x61,0x6e,0x63,0x65,0x6c,0x00,0x6f,0x6b,0x00,0x4f,0x4b,0x00,0x00,0x00,0x00,0x00,};/*96*/

View File

@ -3,4 +3,4 @@ const unsigned char strings_zh_CN[] = {
0x74,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x1c,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x2a,0x00,0x00,0x00,
0x2d,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x63,0x61,0x6e,0x63,0x65,0x6c,0x00,0xe5,
0x8f,0x96,0xe6,0xb6,0x88,0x00,0x6f,0x6b,0x00,0xe7,0xa1,0xae,0xe5,0xae,0x9a,0x00,0x00,0x00,0x00,0x00,};/*100*/
0x8f,0x96,0xe6,0xb6,0x88,0x00,0x6f,0x6b,0x00,0xe7,0xa1,0xae,0xe5,0xae,0x9a,0x00,0x10,0x25,0xcb,0x8a,};/*100*/

View File

@ -50,4 +50,4 @@ const unsigned char style_dialog[] = {
0x00,0x00,0x0b,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0e,0x00,0x00,0x00,0x69,0x6e,0x66,0x6f,0x00,0x0c,
0x00,0x00,0x00,0x64,0x69,0x61,0x6c,0x6f,0x67,0x5f,0x74,0x69,0x74,0x6c,0x65,0x00,0x02,0x00,0x00,0x00,
0x01,0x00,0x00,0x00,0xed,0xed,0xed,0xff,0x0a,0x00,0x00,0x00,0xbe,0xbe,0xbe,0xff,0x00,0x00,0x00,0x00,
0xff,0x7f,0x00,0x00,};/*1024*/
0x00,0x00,0x00,0x00,};/*1024*/

View File

@ -46,4 +46,4 @@ const unsigned char style_keyboard[] = {
0x03,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0x01,0x00,0x00,0x00,0xe0,0xe0,0xe0,0xff,
0x0a,0x00,0x00,0x00,0xa0,0xa0,0xa0,0xff,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,
0xfa,0xfa,0xfa,0xff,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0xcf,0xd4,0xda,0xff,
0x00,0x00,0x00,0x00,0x00,0xe6,0x60,0xdb,};/*948*/
0x00,0x00,0x00,0x00,0x90,0xea,0x50,0xfa,};/*948*/

View File

@ -11,4 +11,4 @@ const unsigned char style_tab_top_compact[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x02,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0xa0,0xa0,0xa0,0xff,0x02,0x00,0x00,0x00,0xf0,0xf0,0xf0,0xff,
0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0xa0,0xa0,0xa0,0xff,0x0b,0x00,0x00,0x00,
0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x75,0x6c,0x74,0x22,};/*252*/
0x0b,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*252*/

View File

@ -107,4 +107,4 @@ const unsigned char ui_basic[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,
0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72,0x65,0x64,0x5f,0x62,0x74,0x6e,0x5f,0x6e,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,};/*2165*/
0x00,0x25,0x22,0x20,0x68,};/*2165*/

View File

@ -23,5 +23,5 @@ const unsigned char ui_bottom[] = {
0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,0x0a,0x00,0x00,
0x00,0x0a,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,
0x65,0x00,0x71,0x75,0x69,0x74,0x00,0x74,0x65,0x78,0x74,0x00,0x4e,0x6f,0x00,0x00,0x00,0x00,0x00,0x6d,
0x69,0x64,0x64,};/*503*/
0x65,0x00,0x71,0x75,0x69,0x74,0x00,0x74,0x65,0x78,0x74,0x00,0x4e,0x6f,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,};/*503*/

View File

@ -6,4 +6,4 @@ const unsigned char ui_calibration_win[] = {
0x00,0x00,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x61,0x6c,0x69,0x00,0x74,0x65,0x78,0x74,0x00,0x50,
0x6c,0x65,0x61,0x73,0x65,0x20,0x63,0x6c,0x69,0x63,0x6b,0x20,0x74,0x68,0x65,0x20,0x63,0x65,0x6e,0x74,
0x65,0x72,0x20,0x6f,0x66,0x20,0x63,0x72,0x6f,0x73,0x73,0x00,0x00,0x00,0x6d,0x65,0x00,0x63,};/*158*/
0x65,0x72,0x20,0x6f,0x66,0x20,0x63,0x72,0x6f,0x73,0x73,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*158*/

View File

@ -129,4 +129,4 @@ const unsigned char ui_color_picker_full[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,
0x01,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*2611*/
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x20,0x20,0x3c,0x2f,};/*2611*/

View File

@ -77,4 +77,4 @@ const unsigned char ui_color_picker_hsv[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,
0x01,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x22,0x30,0x22,0x20,};/*1571*/
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0xe4,0x42,0x38,};/*1571*/

View File

@ -77,4 +77,4 @@ const unsigned char ui_color_picker_rgb[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,
0x01,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x20,0x68,0x3d,0x22,};/*1571*/
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x22,0x30,0x22,0x20,};/*1571*/

View File

@ -34,4 +34,4 @@ const unsigned char ui_color_picker_simple[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x02,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x19,0x00,0x00,
0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,
0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x30,0x22,0x20,0x77,};/*718*/
0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*718*/

View File

@ -26,4 +26,4 @@ const unsigned char ui_dialog1[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,0x0a,0x00,
0x00,0x00,0x0a,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,
0x6d,0x65,0x00,0x71,0x75,0x69,0x74,0x00,0x74,0x65,0x78,0x74,0x00,0xe5,0x8f,0x96,0xe6,0xb6,0x88,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*548*/
0x00,0x00,0x00,0x00,0x30,0x22,0x20,0x77,};/*548*/

View File

@ -26,5 +26,5 @@ const unsigned char ui_dialog2[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x01,0x00,0x0a,0x00,0x00,
0x00,0x0a,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,
0x6c,0x65,0x00,0x72,0x65,0x64,0x5f,0x62,0x74,0x6e,0x00,0x6e,0x61,0x6d,0x65,0x00,0x71,0x75,0x69,0x74,
0x00,0x74,0x65,0x78,0x74,0x00,0xe5,0x8f,0x96,0xe6,0xb6,0x88,0x00,0x00,0x00,0x00,0x00,0x69,0x73,0x20,
0x63,};/*561*/
0x00,0x74,0x65,0x78,0x74,0x00,0xe5,0x8f,0x96,0xe6,0xb6,0x88,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,};/*561*/

View File

@ -30,4 +30,4 @@ const unsigned char ui_dragger[] = {
0x00,0x00,0x14,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x73,0x74,0x79,0x6c,0x65,0x00,
0x73,0x63,0x72,0x6f,0x6c,0x6c,0x5f,0x62,0x61,0x72,0x00,0x78,0x5f,0x6d,0x69,0x6e,0x00,0x30,0x00,0x78,
0x5f,0x6d,0x61,0x78,0x00,0x32,0x30,0x30,0x00,0x79,0x5f,0x6d,0x69,0x6e,0x00,0x30,0x00,0x79,0x5f,0x6d,
0x61,0x78,0x00,0x32,0x30,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*635*/
0x61,0x78,0x00,0x32,0x30,0x30,0x00,0x00,0x00,0x00,0x00,0x22,0x65,0x61,0x72,};/*635*/

View File

@ -115,4 +115,4 @@ const unsigned char ui_image_animation[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x32,0x00,
0x00,0x00,0x32,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,
0x00,0x74,0x65,0x78,0x74,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x61,0x6c,0x3d,0x22,};/*2339*/
0x00,0x74,0x65,0x78,0x74,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*2339*/

View File

@ -81,4 +81,4 @@ const unsigned char ui_kb_float[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,
0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x62,0x61,0x63,0x6b,
0x73,0x70,0x61,0x63,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x22,0x20,0x6e,0x61,};/*1656*/
0x73,0x70,0x61,0x63,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1656*/

View File

@ -94,4 +94,4 @@ const unsigned char ui_kb_hex[] = {
0x02,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,
0x6d,0x61,0x67,0x65,0x00,0x62,0x61,0x63,0x6b,0x73,0x70,0x61,0x63,0x65,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x7f,0x00,0x00,0xff,};/*1905*/
0x00,0x6d,0x65,0x3d,0x22,};/*1905*/

View File

@ -69,5 +69,5 @@ const unsigned char ui_kb_int[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,
0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,
0x67,0x65,0x00,0x62,0x61,0x63,0x6b,0x73,0x70,0x61,0x63,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x92,
0xff,0x7f,0x00,};/*1423*/
0x67,0x65,0x00,0x62,0x61,0x63,0x6b,0x73,0x70,0x61,0x63,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,};/*1423*/

View File

@ -63,4 +63,4 @@ const unsigned char ui_kb_phone[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,
0x00,0x00,0x64,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x72,0x61,0x77,0x5f,0x74,0x79,0x70,0x65,0x00,
0x69,0x63,0x6f,0x6e,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x62,0x61,0x63,0x6b,0x73,0x70,0x61,0x63,0x65,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x2b,0xd0,};/*1291*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1291*/

View File

@ -154,4 +154,4 @@ const unsigned char ui_keyboard[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,
0x01,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*3111*/
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x30,0x22,0x20,0x77,};/*3111*/

View File

@ -199,4 +199,4 @@ const unsigned char ui_list_view_m[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,0x01,0x00,0x00,0x00,0x00,0x00,
0x0a,0x00,0x00,0x00,0x32,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,
0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,};/*4005*/
0x00,0x7a,0xa3,0x60,0xff,};/*4005*/

View File

@ -78,4 +78,4 @@ const unsigned char ui_lua[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xd2,0x00,0x00,0x00,0x68,0x01,0x00,0x00,0x28,
0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x69,0x6d,0x61,0x67,0x65,0x00,0x72,0x65,0x64,
0x5f,0x62,0x74,0x6e,0x5f,0x6e,0x00,0x00,0x00,0x00,0x22,0x33,0x30,0x22,};/*1594*/
0x5f,0x62,0x74,0x6e,0x5f,0x6e,0x00,0x00,0x00,0x00,0x22,0x20,0x68,0x3d,};/*1594*/

View File

@ -108,4 +108,4 @@ const unsigned char ui_main[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x73,0x68,0x6f,
0x77,0x5f,0x66,0x70,0x73,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x68,0x6f,0x77,0x20,0x46,0x50,0x53,0x00,
0x00,0x00,0x00,0x65,0x73,0x74,0x22,};/*2187*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*2187*/

View File

@ -25,4 +25,4 @@ const unsigned char ui_memtest[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x01,0x00,0x00,0x00,0x00,0x00,0x5a,0x00,0x00,0x00,0x64,0x00,
0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x6d,0x65,0x6d,0x63,0x70,
0x79,0x00,0x74,0x65,0x78,0x74,0x00,0x6e,0x2f,0x61,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*538*/
0x79,0x00,0x74,0x65,0x78,0x74,0x00,0x6e,0x2f,0x61,0x00,0x00,0x00,0x00,0x73,0x74,0x22,0x20,};/*538*/

View File

@ -54,4 +54,4 @@ const unsigned char ui_rich_text[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,0x01,
0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,
0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1110*/
0x73,0x65,0x00,0x00,0x00,0x00,0x8f,0x58,0xff,0x7f,};/*1110*/

View File

@ -21,4 +21,4 @@ const unsigned char ui_rich_text1[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,
0x01,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,0x00,0x00,0x19,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x79,0x00,0x00,0x00,};/*451*/
0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x44,0x33,0x22,};/*451*/

View File

@ -63,4 +63,4 @@ const unsigned char ui_scroll_view_h[] = {
0x74,0x00,0x31,0x33,0x00,0x00,0x00,0x62,0x75,0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x31,0x34,0x00,0x00,0x00,0x00,0x00,0x00,0xff,0xff,0xff,};/*1299*/
0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x31,0x34,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1299*/

View File

@ -54,4 +54,4 @@ const unsigned char ui_selectm[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x00,0x00,
0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x6e,0x61,0x6d,0x65,0x00,0x62,0x61,0x72,0x00,0x76,0x61,0x6c,0x75,0x65,0x00,0x30,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1107*/
0x00,0x00,0x00,0x00,0x20,0xd6,0x43,};/*1107*/

View File

@ -307,5 +307,5 @@ const unsigned char ui_slide_view_v[] = {
0x61,0x67,0x65,0x00,0x00,0x00,0x6c,0x61,0x62,0x65,0x6c,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,
0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x32,0x2e,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x89,0x28,0x32,
0xff,};/*6181*/
0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x32,0x2e,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,};/*6181*/

View File

@ -64,5 +64,5 @@ const unsigned char ui_spinbox[] = {
0x74,0x74,0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x0a,0x00,
0x00,0x00,0x19,0x00,0x00,0x00,0x1e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,
0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,
0x6c,0x6f,0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0xff,
0x00,0x00,0x00,};/*1323*/

View File

@ -76,4 +76,4 @@ const unsigned char ui_tab_bottom[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x69,0x63,0x6f,0x6e,0x00,0x6d,0x65,0x00,0x61,0x63,0x74,0x69,0x76,0x65,0x5f,0x69,0x63,0x6f,
0x6e,0x00,0x6d,0x65,0x5f,0x61,0x63,0x74,0x69,0x76,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x4d,0x65,0x00,
0x00,0x00,0x00,0x00,0x20,0x20,0x3c,0x2f,};/*1548*/
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,};/*1548*/

View File

@ -56,4 +56,4 @@ const unsigned char ui_tab_bottom_compact[] = {
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x74,0x65,0x78,0x74,0x00,0x53,0x65,0x63,0x75,0x72,0x69,0x74,0x79,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,};/*1146*/
0x00,0x00,0xff,0xff,0x00,0x00,};/*1146*/

View File

@ -55,5 +55,5 @@ const unsigned char ui_tab_top_compact[] = {
0x6f,0x6e,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x64,0x00,0x00,0x00,
0x50,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x6e,0x61,0x6d,0x65,0x00,0x63,0x6c,0x6f,
0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0xff,
0xff,0xff,0xff,};/*1143*/
0x73,0x65,0x00,0x74,0x65,0x78,0x74,0x00,0x43,0x6c,0x6f,0x73,0x65,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,};/*1143*/

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

5
demos/demo_main.c Executable file → Normal file
View File

@ -24,6 +24,7 @@
#include "base/mem.h"
#include "base/path.h"
#include "base/system_info.h"
#include "base/window_manager.h"
ret_t application_init(void);
@ -63,6 +64,10 @@ int main(void) {
assets_init();
application_init();
#ifdef ENABLE_CURSOR
window_manager_set_cursor(window_manager(), "cursor");
#endif /*ENABLE_CURSOR*/
tk_run();
return 0;

View File

@ -20,14 +20,15 @@
*/
#include "base/mem.h"
#include "base/time.h"
#include "base/label.h"
#include "base/locale_info.h"
#include "base/timer.h"
#include "base/button.h"
#include "base/dialog.h"
#include "base/image.h"
#include "base/utils.h"
#include "base/window.h"
#include "base/locale_info.h"
#include "base/check_button.h"
#include "base/progress_bar.h"
#include "base/image_manager.h"

View File

@ -1,5 +1,10 @@
# 最新动态
* 2018/10/22
* 完善控件动画和demo。
* 支持鼠标指针。
* 更新文档。
* 2018/10/21
* 出于一致性的考虑将widget的属性style\_name重命名为style将widget的属性style重命名为style\_data。
* 增加widget\_animator\_factory从而支持在xml指定控件的动画。

View File

@ -0,0 +1,21 @@
# 如何启用鼠标指针
## 一、demo启用鼠标指针
在demo\_main.c中有下列代码要启用鼠标指针只需要定义宏ENABLE\_CURSOR即可。
```
#ifdef ENABLE_CURSOR
window_manager_set_cursor(window_manager(), "cursor");
#endif /*ENABLE_CURSOR*/
```
## 二、自己的应用程序启用鼠标指针
* 如果自己的应用程序没有走demo_main的流程可以自己调用window\_manager\_set\_cursor或widget\_cursor。
* 在任何时候,可以根据需要切换鼠标指针。
## 三、指针图片的要求
指针的形状有多种,比如普通指针、十字、文本选择和等待等等。为了简化处理,在绘制指针时,我们把图片的中心定位到鼠标的当前位置,在制作指针图片时,请考虑这一点。

View File

@ -24,6 +24,7 @@
* [如何加入中文输入法](chinese_ime.md)
* [如何在Visual Studio中调试AWTK](vs_debug.md)
* [如何在非GUI线程操作GUI控件](how_to_non_gui_thread_operate_widget.md)
* [如何启用鼠标指针](how_to_enable_mouse_cursor.md)
### 3.内部原理
* [AWTK脚本绑定原理](script_binding.md)

View File

@ -151,4 +151,10 @@
* #define MEM_MAX_RECORDS 4 * 1024
*/
/**
*
*
* #define ENABLE_CURSOR 1
*/
#endif /*AWTK_CONFIG_H*/

View File

@ -181,6 +181,13 @@ ret_t widget_set_name(widget_t* widget, const char* name) {
return RET_OK;
}
ret_t widget_set_cursor(widget_t* widget, const char* cursor) {
widget_t* wm = widget_get_window_manager(widget);
return_value_if_fail(widget != NULL, RET_BAD_PARAMS);
return widget_set_prop_str(wm, WIDGET_PROP_CURSOR, cursor);
}
ret_t widget_set_animation(widget_t* widget, const char* animation) {
const char* end = NULL;
const char* start = animation;
@ -1099,6 +1106,21 @@ widget_t* widget_get_window(widget_t* widget) {
return iter;
}
widget_t* widget_get_window_manager(widget_t* widget) {
widget_t* iter = widget;
return_value_if_fail(widget != NULL, NULL);
while (iter) {
const char* type = widget_get_type(iter);
if (tk_str_eq(type, WIDGET_TYPE_WINDOW_MANAGER)) {
return iter;
}
iter = iter->parent;
}
return iter;
}
static ret_t widget_destroy_only(widget_t* widget) {
event_t e = event_init(EVT_DESTROY, widget);
return_value_if_fail(widget != NULL && widget->vt != NULL, RET_BAD_PARAMS);

View File

@ -497,6 +497,17 @@ ret_t widget_to_screen(widget_t* widget, point_t* p);
*/
ret_t widget_set_name(widget_t* widget, const char* name);
/**
* @method widget_set_cursor
*
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {char*} cursor
*
* @return {ret_t} RET_OK表示成功
*/
ret_t widget_set_cursor(widget_t* widget, const char* cursor);
/**
* @method widget_set_animation
*
@ -819,6 +830,16 @@ ret_t widget_foreach(widget_t* widget, tk_visit_t visit, void* ctx);
*/
widget_t* widget_get_window(widget_t* widget);
/**
* @method widget_get_window_manager
*
* @annotation ["scriptable"]
* @param {widget_t*} widget
*
* @return {widget_t*}
*/
widget_t* widget_get_window_manager(widget_t* widget);
/**
* @method widget_get_type
*

View File

@ -101,6 +101,12 @@ BEGIN_C_DECLS
*/
#define WIDGET_PROP_NAME "name"
/**
* @const WIDGET_PROP_CURSOR
*
*/
#define WIDGET_PROP_CURSOR "cursor"
/**
* @const WIDGET_PROP_VALUE
*

View File

@ -28,6 +28,7 @@
#include "base/layout.h"
#include "base/locale_info.h"
#include "base/system_info.h"
#include "base/image_manager.h"
#include "base/window_manager.h"
static ret_t window_manager_inc_fps(widget_t* widget);
@ -246,6 +247,18 @@ static rect_t window_manager_calc_dirty_rect(window_manager_t* wm) {
return rect_fix(&r, widget->w, widget->h);
}
static ret_t window_manager_paint_cursor(widget_t* widget, canvas_t* c) {
bitmap_t bitmap;
window_manager_t* wm = WINDOW_MANAGER(widget);
return_value_if_fail(image_manager_load(image_manager(), wm->cursor, &bitmap) == RET_OK,
RET_BAD_PARAMS);
canvas_draw_icon(c, &bitmap, wm->r_cursor.x, wm->r_cursor.y);
return RET_OK;
}
static ret_t window_manager_paint_normal(widget_t* widget, canvas_t* c) {
window_manager_t* wm = WINDOW_MANAGER(widget);
rect_t* dr = &(wm->dirty_rect);
@ -259,6 +272,9 @@ static ret_t window_manager_paint_normal(widget_t* widget, canvas_t* c) {
if ((r.w > 0 && r.h > 0) || wm->show_fps) {
ENSURE(canvas_begin_frame(c, &r, LCD_DRAW_NORMAL) == RET_OK);
ENSURE(widget_paint(WIDGET(wm), c) == RET_OK);
if (wm->cursor != NULL) {
window_manager_paint_cursor(widget, c);
}
ENSURE(canvas_end_frame(c) == RET_OK);
wm->last_paint_cost = time_now_ms() - start_time;
/*
@ -395,7 +411,7 @@ int32_t window_manager_find_top_window_index(widget_t* widget) {
return -1;
}
widget_t* window_manager_get_top_window(widget_t* widget) {
widget_t* window_manager_get_top_main_window(widget_t* widget) {
int32_t index = window_manager_find_top_window_index(widget);
return_value_if_fail(index >= 0, NULL);
@ -424,7 +440,7 @@ ret_t window_manager_on_paint_children(widget_t* widget, canvas_t* c) {
}
static ret_t wm_on_remove_child(widget_t* widget, widget_t* window) {
widget_t* top = window_manager_get_top_window(widget);
widget_t* top = window_manager_get_top_main_window(widget);
if (top != NULL) {
rect_t r;
@ -435,8 +451,32 @@ static ret_t wm_on_remove_child(widget_t* widget, widget_t* window) {
return RET_FAIL;
}
static ret_t window_manager_get_prop(widget_t* widget, const char* name, value_t* v) {
window_manager_t* wm = WINDOW_MANAGER(widget);
return_value_if_fail(widget != NULL && name != NULL && v != NULL, RET_BAD_PARAMS);
if (tk_str_eq(name, WIDGET_PROP_CURSOR)) {
value_set_str(v, wm->cursor);
return RET_OK;
}
return RET_NOT_FOUND;
}
static ret_t window_manager_set_prop(widget_t* widget, const char* name, const value_t* v) {
return_value_if_fail(widget != NULL && name != NULL && v != NULL, RET_BAD_PARAMS);
if (tk_str_eq(name, WIDGET_PROP_CURSOR)) {
return window_manager_set_cursor(widget, value_str(v));
}
return RET_NOT_FOUND;
}
static const widget_vtable_t s_window_manager_vtable = {
.type = WIDGET_TYPE_WINDOW_MANAGER,
.set_prop = window_manager_set_prop,
.get_prop = window_manager_get_prop,
.invalidate = window_manager_invalidate,
.on_paint_children = window_manager_on_paint_children,
.on_remove_child = wm_on_remove_child,
@ -599,6 +639,14 @@ ret_t window_manager_dispatch_input_event(widget_t* widget, event_t* e) {
evt->ctrl = wm->ctrl;
evt->shift = wm->shift;
widget_on_pointer_move(widget, evt);
wm->r_cursor.x = evt->x;
wm->r_cursor.y = evt->y;
if (wm->cursor != NULL) {
widget_invalidate(widget, &(wm->r_cursor));
}
break;
}
case EVT_POINTER_UP: {
@ -664,15 +712,6 @@ ret_t window_manager_dispatch_input_event(widget_t* widget, event_t* e) {
return RET_OK;
}
ret_t window_manager_set_animating(widget_t* widget, bool_t animating) {
window_manager_t* wm = WINDOW_MANAGER(widget);
return_value_if_fail(wm != NULL, RET_BAD_PARAMS);
wm->animating = animating;
return RET_OK;
}
ret_t window_manager_set_show_fps(widget_t* widget, bool_t show_fps) {
window_manager_t* wm = WINDOW_MANAGER(widget);
return_value_if_fail(wm != NULL, RET_BAD_PARAMS);
@ -687,3 +726,21 @@ widget_t* window_manager_cast(widget_t* widget) {
return widget;
}
ret_t window_manager_set_cursor(widget_t* widget, const char* cursor) {
window_manager_t* wm = WINDOW_MANAGER(widget);
return_value_if_fail(wm != NULL, RET_BAD_PARAMS);
TKMEM_FREE(wm->cursor);
if (cursor != NULL) {
bitmap_t bitmap;
wm->cursor = tk_strdup(cursor);
return_value_if_fail(image_manager_load(image_manager(), cursor, &bitmap) == RET_OK,
RET_BAD_PARAMS);
wm->r_cursor.w = bitmap.w;
wm->r_cursor.h = bitmap.h;
}
return RET_OK;
}

View File

@ -43,6 +43,8 @@ typedef struct _window_manager_t {
* fps
*/
bool_t show_fps;
/*private*/
rect_t dirty_rect;
rect_t last_dirty_rect;
@ -50,7 +52,6 @@ typedef struct _window_manager_t {
uint8_t alt : 1;
uint8_t shift : 1;
uint8_t caplock : 1;
point_t pointer;
bool_t animating;
bool_t ignore_user_input;
@ -65,6 +66,9 @@ typedef struct _window_manager_t {
widget_t* pending_close_window;
widget_t* pending_open_window;
char* cursor;
rect_t r_cursor;
} window_manager_t;
/**
@ -87,30 +91,115 @@ widget_t* window_manager(void);
*/
widget_t* window_manager_cast(widget_t* widget);
/**
* @method window_manager_set
*
* @param {window_manager_t*} widget
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_set(widget_t* widget);
/**
* @method window_manager_create
*
* @annotation ["constructor"]
*
* @return {window_manager_t*}
*/
widget_t* window_manager_create(void);
widget_t* window_manager_init(window_manager_t* wm);
widget_t* window_manager_get_top_window(widget_t* widget);
/**
* @method window_manager_init
*
* @annotation ["constructor"]
* @param {window_manager_t*} widget
*
* @return {widget_t*}
*/
widget_t* window_manager_init(window_manager_t* widget);
/**
* @method window_manager_get_top_main_window
*
* @param {window_manager_t*} widget
*
* @return {widget_t*}
*/
widget_t* window_manager_get_top_main_window(widget_t* widget);
/**
* @method window_manager_resize
*
* @param {widget_t*} widget
* @param {wh_t} w
* @param {wh_t} h
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_resize(widget_t* widget, wh_t w, wh_t h);
/**
* @method window_manager_open_window
*
* @param {widget_t*} widget
* @param {widget_t*} window
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_open_window(widget_t* widget, widget_t* window);
/**
* @method window_manager_close_window
*
* @param {widget_t*} widget
* @param {widget_t*} window
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_close_window(widget_t* widget, widget_t* window);
/**
* @method window_manager_paint
*
* @param {widget_t*} widget
* @param {canvas_t*} c
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_paint(widget_t* widget, canvas_t* c);
/**
* @method window_manager_dispatch_input_event
*
* @param {widget_t*} widget
* @param {event_t*} e
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_dispatch_input_event(widget_t* widget, event_t* e);
/**
* @method window_manager_set_show_fps
* FPS
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {widget_t*} widget
* @param {bool_t} show_fps FPS
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_set_show_fps(widget_t* widget, bool_t show_fps);
ret_t window_manager_set_animating(widget_t* widget, bool_t animating);
/**
* @method window_manager_set_cursor
*
* @annotation ["scriptable"]
* @param {widget_t*} widget
* @param {const char*} cursor ()
*
* @return {ret_t} RET_OK表示成功
*/
ret_t window_manager_set_cursor(widget_t* widget, const char* cursor);
#define WINDOW_MANAGER(widget) ((window_manager_t*)(widget))