SWILIB API (ELKA)    
Loading...
Searching...
No Matches
gui.h
Go to the documentation of this file.
1#pragma once
2
11#ifndef __IN_SWILIB__
12#include "base.h"
13#include "gbs.h"
14#include "wstring.h"
15#include "image.h"
16#include "csm.h"
17#endif
18
20
21typedef struct RECT RECT;
22typedef struct GUI GUI;
23typedef struct GUI WIDGET;
24typedef struct GUI_RAM GUI_RAM;
25typedef struct GUI_MSG GUI_MSG;
26typedef struct GUI_METHODS GUI_METHODS;
27typedef struct DRWOBJ DRWOBJ;
28typedef struct LCDLAYER LCDLAYER;
31
32typedef int (*KeybMsgHookProc)(int submsg, int msg);
33typedef void (*GUI_TimerProc)(void *gui);
34
39#ifdef SWILIB_MODERN
73#else
74 PC_FOREGROUND = 100,
75 PC_BACKGROUND = 101,
76 PC_HEADERFOREGROUND = 102,
77 PC_HEADERBACKGROUND = 103,
78 PC_SELECTFOREGROUND = 115,
79 PC_SELECTBACKGROUND = 116,
80 PC_SELECTBORDER = 117,
81 PC_SELECTSHADOW = 118,
82 PC_LIGHTTEXTFOREGROUND = 122,
83 PC_LIGHTTEXTBACKGROUND = 123,
84 PC_SCROLLBARSLIDER = 127,
85 PC_SCROLLBAR = 128,
86 PC_WINDOWFOREGROUND = 129,
87 PC_WINDOWBACKGROUND = 130,
88 PC_BORDER = 133,
89 PC_BORDERSHADOW = 134,
90 PC_POPUPSELECTFOREGROUD = 135,
91 PC_POPUPSELECTBACKGROUD = 136,
92 PC_PROGRESSBACKGROUND = 138,
93 PC_PROGRESSFOREGROUND = 139,
94 PC_PROGRESSBORDER = 140,
95#endif
96};
97
158
198
213
221
230
240
250
251/*
252 * Depth of LCD layer buffer.
253 * */
261
266 KEY_DOWN = 0x193,
267 KEY_UP = 0x194,
268 LONG_PRESS = 0x195,
269// 196 - sent 1 second after last key release, but not always?
270// 197 - ? unknown kbd msg
271// 198 - ? unknown kbd msg
272};
273
279#ifdef NEWSGOLD
280 LEFT_SOFT = 0x01,
281 RIGHT_SOFT = 0x04,
283 RED_BUTTON = 0x0C,
286 UP_BUTTON = 0x3B,
287 DOWN_BUTTON = 0x3C,
288 LEFT_BUTTON = 0x3D,
291 #ifdef ELKA
292 POC_BUTTON = 0x15,
295 #else
296 INTERNET_BUTTON = 0x11,
297 #endif
298 PLAY_BUTTON = 0x15,
300 PTT_BUTTON = 0x27,
301#else
302 LEFT_SOFT = 0x01,
303 RIGHT_SOFT = 0x04,
304 GREEN_BUTTON = 0x0B,
305 RED_BUTTON = 0x0C,
306 #ifdef X75
307 VOL_UP_BUTTON = 0x14,
308 VOL_DOWN_BUTTON = 0x15,
309 #else
310 VOL_UP_BUTTON = 0x0D,
311 VOL_DOWN_BUTTON = 0x0E,
312 #endif
313 UP_BUTTON = 0x3B,
314 DOWN_BUTTON = 0x3C,
315 LEFT_BUTTON = 0x3D,
316 RIGHT_BUTTON = 0x3E,
317 ENTER_BUTTON = 0x1A,
318 INTERNET_BUTTON = 0x11,
319 PTT_BUTTON = 0x27,
320#endif
321};
322
332
341
345struct DRWOBJ {
346 char dummy[0x24];
347};
348
352struct RECT {
353 short x;
354 short y;
355 short x2;
356 short y2;
357};
358
362struct GUI_MSG {
363 char zero;
364 char unk1;
365 short keys;
367};
368
373 void (*onRedraw)(GUI *);
378 int (*onKey)(GUI *, GUI_MSG *);
379 void *unk0;
380 void (*onDestroy)(void *, mfree_func_t);
381 int (*method8)();
382 int (*method9)();
383 void *unk1;
384};
385
395
399#ifdef NEWSGOLD
400struct GUI {
402#ifdef SWILIB_MODERN
404#else
405 void *methods;
406#endif
408 char state;
409 char unk2;
410 char unk3;
411 char unk4;
415 int unk5;
416 char unk6;
417 char unk7;
418 char unk8;
419 char unk9;
420 int unk10;
422};
423#else
424struct GUI {
425 RECT *canvas;
426#ifdef SWILIB_MODERN
428#else
429 void *methods;
430#endif
431 void *definition;
432 char state;
433 char unk2;
434 char unk3;
435 char unk4;
436 int color1;
437// int color2;
438 LLQ item_ll;
439 int unk5;
440 char unk6;
441 char unk7;
442 char unk8;
443 char unk9;
444 int unk10;
445 int flag30;
446};
447#endif
448
452struct LCDLAYER {
453 int w;
454 int h;
457 void *buffer;
458 void *_unk2;
459 uint8_t depth;
460#ifdef ELKA
461 char _unk3[3];
463 int _unk4[6];
465 char unk5[86];
466#elif defined(NEWSGOLD)
467 char _unk3[3];
468 int allocated_size;
469 int _unk4[4];
470 int redraw_requested;
471 char unk5[88];
472#else
473 // TODO
474#endif
475};
476
487
493 int unk1[3];
494 short cepid;
495 short unk2;
496 int unk3;
497 void *app;
498 int unk4;
499};
500
510__swi_begin(0x8188)
511int ScreenW(void)
512__swi_end(0x8188, ScreenW, ());
513
518__swi_begin(0x8189)
519int ScreenH(void)
520__swi_end(0x8189, ScreenH, ());
521
526__swi_begin(0x818A)
527int HeaderH(void)
528__swi_end(0x818A, HeaderH, ());
529
534__swi_begin(0x818B)
535int SoftkeyH(void)
536__swi_end(0x818B, SoftkeyH, ());
537
546__swi_begin(0x80DF)
548__swi_end(0x80DF, RamPressedKey, ());
549
555__swi_begin(0x80E0)
557__swi_end(0x80E0, RamScreenBuffer, ());
558
571__swi_begin(0x12E)
573__swi_end(0x12E, GetPaletteAdrByColorIndex, (index));
574
580__swi_begin(0x12F)
581void getRGBcolor(int index, void *color)
582__swi_end(0x12F, getRGBcolor, (index, color));
583
593__swi_begin(0x130)
594void getRGBbyPaletteAdr(const void *src_color, void *dst_color)
595__swi_end(0x130, getRGBbyPaletteAdr, (src_color, dst_color));
596
603__swi_begin(0x131)
604void setColor(int a, int r, int g, int b, void *dst)
605__swi_end(0x131, setColor, (a, r, g, b, dst));
606
613__swi_begin(0x2A1)
614int RscMgr_CsSetColor(int id, const uint8_t *color)
615__swi_end(0x2A1, RscMgr_CsSetColor, (id, color));
616
622__swi_begin(0x2A2)
624__swi_end(0x2A2, RscMgr_CsUpdate, ());
625
639__swi_begin(0x133)
640void StoreXYWHtoRECT(RECT *rect, int x, int y, int w, int h)
641__swi_end(0x133, StoreXYWHtoRECT, (rect, x, y, w, h));
642
649__swi_begin(0x134)
650void StoreXYXYtoRECT(RECT *rect, int x, int y, int x2, int y2)
651__swi_end(0x134, StoreXYXYtoRECT, (rect, x, y, x2, y2));
652
665__swi_begin(0x135)
666int IsGuiOnTop(int id)
667__swi_end(0x135, IsGuiOnTop, (id));
668
673__swi_begin(0x210)
675__swi_end(0x210, GetCurGuiID, ());
676
685__swi_begin(0x137)
686int CreateGUI(void *gui)
687__swi_end(0x137, CreateGUI, (gui));
688
696__swi_begin(0x136)
697int CreateGUI_ID(void *gui, int id)
698__swi_end(0x136, CreateGUI_ID, (gui, id));
699
708__swi_begin(0x138)
709int CreateGUI_30or2(void *gui)
710__swi_end(0x138, CreateGUI_30or2, (gui));
711
718__swi_begin(0x139)
719int CreateGUIWithDummyCSM(void *gui, int flag)
720__swi_end(0x139, CreateGUIWithDummyCSM, (gui, flag));
721
730__swi_begin(0x13A)
731int CreateGUIWithDummyCSM_30or2(void *gui, int flag)
732__swi_end(0x13A, CreateGUIWithDummyCSM_30or2, (gui, flag));
733
738__swi_begin(0x13B)
739void GeneralFuncF1(int cmd)
740__swi_end(0x13B, GeneralFuncF1, (cmd));
741
746__swi_begin(0x13C)
747void GeneralFuncF0(int cmd)
748__swi_end(0x13C, GeneralFuncF0, (cmd));
749
755__swi_begin(0x13D)
756void GeneralFunc_flag1(int id, int cmd)
757__swi_end(0x13D, GeneralFunc_flag1, (id, cmd));
758
764__swi_begin(0x13E)
765void GeneralFunc_flag0(int id, int cmd)
766__swi_end(0x13E, GeneralFunc_flag0, (id, cmd));
767
772__swi_begin(0x14D)
774__swi_end(0x14D, GetTopGUI, ());
775
782__swi_begin(0x209)
783void *FindGUIbyId(int id, CSM_RAM **csm)
784__swi_end(0x209, FindGUIbyId, (id, csm));
785
790__swi_begin(0x21E)
791void FocusGUI(int id)
792__swi_end(0x21E, FocusGUI, (id));
793
797__swi_begin(0x21F)
798void UnfocusGUI(void)
799__swi_end(0x21F, UnfocusGUI, ());
800
814__swi_begin(0x172)
815void REDRAW(void)
816__swi_end(0x172, REDRAW, ());
817
824__swi_begin(0x13F)
826__swi_end(0x13F, DirectRedrawGUI, ());
827
835__swi_begin(0x140)
837__swi_end(0x140, DirectRedrawGUI_ID, (id));
838
845__swi_begin(0x141)
847__swi_end(0x141, PendedRedrawGUI, ());
848
860__swi_begin(0x12B)
862__swi_end(0x12B, AddKeybMsgHook, (callback));
863
870__swi_begin(0x12C)
872__swi_end(0x12C, AddKeybMsgHook_end, (callback));
873
879__swi_begin(0x12D)
881__swi_end(0x12D, RemoveKeybMsgHook, (callback));
882
895__swi_begin(0x1C5)
896int GetFontYSIZE(int font_id)
897__swi_end(0x1C5, GetFontYSIZE, (font_id));
898
905__swi_begin(0x1E1)
906int GetSymbolWidth(int character, int font_id)
907__swi_end(0x1E1, GetSymbolWidth, (character, font_id));
908
915__swi_begin(0x208)
916int Get_WS_width(const WSHDR *text, int font_id)
917__swi_end(0x208, Get_WS_width, (text, font_id));
918
931__swi_begin(0x295)
932void Get_WS_extent(WSHDR *ws, int text_flags, int flags, int font_id, int *w, int *h)
933__swi_end(0x295, Get_WS_extent, (ws, text_flags, flags, font_id, w, h));
934
947__swi_begin(0x3A5)
948void DrawIMGHDR(int x, int y, const IMGHDR *img)
949__swi_end(0x3A5, DrawIMGHDR, (x, y, img));
950
960__swi_begin(0x3D4)
961void DrawCroppedIMGHDR(int x, int y, int offset_x, int offset_y, int w, int h, int flags, const IMGHDR *img)
962__swi_end(0x3D4, DrawCroppedIMGHDR, (x, y, offset_x, offset_y, w, h, flags, img));
963
969__swi_begin(0x023)
970void DrawImg(int x, int y, int picture)
971__swi_end(0x023, DrawImg, (x, y, picture));
972
980__swi_begin(0x026)
981void DrawImgBW(int x, int y, int picture, const char *pen, const char *brush)
982__swi_end(0x026, DrawImgBW, (x, y, picture, pen, brush));
983
989__swi_begin(0x203)
990void DrawPixel(int x, int y, const char *color)
991__swi_end(0x203, DrawPixel, (x, y, color));
992
1002__swi_begin(0x202)
1003void DrawTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int flags, const char *pen, const char *brush)
1004__swi_end(0x202, DrawTriangle, (x1, y1, x2, y2, x3, y3, flags, pen, brush));
1005
1016__swi_begin(0x204)
1017void DrawArc(int x1, int y1, int x2, int y2, int start_angle, int end_start, int flags, const char *pen, const char *brush)
1018__swi_end(0x204, DrawArc, (x1, y1, x2, y2, start_angle, end_start, flags, pen, brush));
1019
1027__swi_begin(0x1B3)
1028void DrawLine(int x1, int y1, int x2, int y2, int flags, const char *pen)
1029__swi_end(0x1B3, DrawLine, (x1, y1, x2, y2, flags, pen));
1030
1039__swi_begin(0x1B4)
1040void DrawRectangle(int x1, int y1, int x2, int y2, int flags, const char *pen, const char *brush)
1041__swi_end(0x1B4, DrawRectangle, (x1, y1, x2, y2, flags, pen, brush));
1042
1053__swi_begin(0x150)
1054void DrawRoundedFrame(int x1, int y1, int x2, int y2, int x_round, int y_round, int flags, const char *pen, const char *brush)
1055__swi_end(0x150, DrawRoundedFrame, (x1, y1, x2, y2, x_round, y_round, flags, pen, brush));
1056
1068__swi_begin(0x14C)
1069void DrawString(WSHDR *text, int x1, int y1, int x2, int y2, int font, int text_flags, const char *pen, const char *brush)
1070__swi_end(0x14C, DrawString, (text, x1, y1, x2, y2, font, text_flags, pen, brush));
1071
1084__swi_begin(0x207)
1085void DrawScrollString(WSHDR *text, int x1, int y1, int x2, int y2, int xdisp, int font, int text_flags, const char *pen, const char *brush)
1086__swi_end(0x207, DrawScrollString, (text, x1, y1, x2, y2, xdisp, font, text_flags, pen, brush));
1087
1096__swi_begin(0x80F1)
1097void *BuildCanvas(void)
1098__swi_end(0x80F1, BuildCanvas, ());
1099
1107__swi_begin(0x025)
1108void DrawCanvas(void *data, int x, int y, int x2, int y2, int flag_one)
1109__swi_end(0x025, DrawCanvas, (data, x, y, x2, y2, flag_one));
1110
1115__swi_begin(0x12A)
1116void DrawObject(DRWOBJ *drwobj)
1117__swi_end(0x12A, DrawObject, (drwobj));
1118
1127#if 0
1134__swi_begin(0xXXX)
1135void DrwObj_InitLine(DRWOBJ *drwobj, RECT *rect, int flags, int x, int y, int x2, int y2)
1136__swi_end(0xXXX, DrwObj_InitLine, (drwobj, rect, flags, x, y, x2, y2));
1137
1148__swi_begin(0xXXX)
1149void DrwObj_InitTriangle(DRWOBJ *drwobj, int x1, int y1, int x2, int y2, int x3, int y3, int flags, char *pen, char *brush)
1150__swi_end(0xXXX, DrwObj_InitTriangle, (drwobj, x1, y1, x2, y2, x3, y3, flags, pen, brush));
1151#endif
1152
1159__swi_begin(0x1FD)
1160void DrwObj_InitRect(DRWOBJ *drwobj, const RECT *rect, int flags)
1161__swi_end(0x1FD, DrwObj_InitRect, (drwobj, rect, flags));
1162
1171__swi_begin(0x205)
1172void DrwObj_InitRectEx(DRWOBJ *drwobj, const RECT *rect, int flags, int fill_type, int fill_pattern)
1173__swi_end(0x205, DrwObj_InitRectEx, (drwobj, rect, flags, fill_type, fill_pattern));
1174
1184__swi_begin(0x149)
1185void DrwObj_InitText(DRWOBJ *drwobj, const RECT *rect, int flags, const WSHDR *text, int font, int text_flags)
1186__swi_end(0x149, DrwObj_InitText, (drwobj, rect, flags, text, font, text_flags));
1187
1195__swi_begin(0x151)
1196void DrwObj_InitImage(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img)
1197__swi_end(0x151, DrwObj_InitImage, (drwobj, rect, flags, img));
1198
1207__swi_begin(0x201)
1208void DrwObj_InitTiledImage(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img, int offset_x, int offset_y)
1209__swi_end(0x201, DrwObj_InitTiledImage, (drwobj, rect, flags, img, offset_x, offset_y));
1210
1219__swi_begin(0x386)
1220void DrwObj_InitTiledImageEx(DRWOBJ *drwobj, const RECT *rect, int flags, const EIMGHDR *img, int offset_x, int offset_y)
1221__swi_end(0x386, DrwObj_InitTiledImageEx, (drwobj, rect, flags, img, offset_x, offset_y));
1222
1229__swi_begin(0x14B)
1230void DrwObj_SetColor(DRWOBJ *drwobj, const char *pen, const char *brush)
1231__swi_end(0x14B, DrwObj_SetColor, (drwobj, pen, brush));
1232
1239__swi_begin(0x3A6)
1240void DrwObj_GetWH(DRWOBJ *drwobj, int *w, int *h)
1241__swi_end(0x3A6, DrwObj_GetWH, (drwobj, w, h));
1242
1247__swi_begin(0x14A)
1248void DrwObj_Free(DRWOBJ *drwobj)
1249__swi_end(0x14A, DrwObj_Free, (drwobj));
1250
1263__swi_begin(0x3A7)
1264int GUI_NewTimer(void *gui)
1265__swi_end(0x3A7, GUI_NewTimer, (gui));
1266
1273__swi_begin(0x3A8)
1274int GUI_DeleteTimer(void *gui, int id)
1275__swi_end(0x3A8, GUI_DeleteTimer, (gui, id));
1276
1284__swi_begin(0x3A9)
1285void GUI_StartTimerProc(void *gui, int id, long timeout, GUI_TimerProc callback)
1286__swi_end(0x3A9, GUI_StartTimerProc, (gui, id, timeout, callback));
1287
1299__swi_begin(0x387)
1301__swi_end(0x387, LCD_GetCurrentLayer, ());
1302
1307__swi_begin(0x3A4)
1308void LCD_SetDrawingRegion(int x, int y, int x2, int y2)
1309__swi_end(0x3A4, LCD_SetDrawingRegion, (x, y, x2, y2));
1310
1315__swi_begin(0x388)
1316void LCD_SetBufferDepth(char depth)
1317__swi_end(0x388, LCD_SetBufferDepth, (depth));
1318
1324__swi_begin(0x389)
1325void LCDLAYER_SetBufferDepth(LCDLAYER *layer, char depth)
1326__swi_end(0x389, LCDLAYER_SetBufferDepth, (layer, depth));
1327
1332__swi_begin(0x384)
1334__swi_end(0x384, LCDLAYER_Redraw, (layer));
1335
1340__swi_begin(0x07A)
1342__swi_end(0x07A, LCDLAYER_Flush, (layer));
1343
1349__swi_begin(0x079)
1350void DrawObject2Layer(LCDLAYER *layer, DRWOBJ *drwobj)
1351__swi_end(0x079, DrawObject2Layer, (layer, drwobj));
1352
1364__swi_begin(0x383)
1366__swi_end(0x383, PushDRWOBJOnLAYER, (drwobj, layer));
1367
1372__swi_begin(0x80F6)
1374__swi_end(0x80F6, RamLcdMainLayersList, ());
1375
1380__swi_begin(0x80F7)
1382__swi_end(0x80F7, RamLcdRapLayersList, ());
1383
1388__swi_begin(0x80F5)
1390__swi_end(0x80F5, Ram_LCD_Overlay_Layer, ());
1391
1403__swi_begin(0x203)
1404void SetPixel(int x, int y, const char *color)
1405__swi_end(0x203, SetPixel, (x, y, color));
1406
1411__swi_begin(0x202)
1412void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int flags, const char *pen, const char *brush)
1413__swi_end(0x202, fillTriangle, (x1, y1, x2, y2, x3, y3, flags, pen, brush));
1414
1419__swi_begin(0x204)
1420void drawArc(int x1, int y1, int x2, int y2, int start_angle, int end_start, int flags, const char *pen, const char *brush)
1421__swi_end(0x204, drawArc, (x1, y1, x2, y2, start_angle, end_start, flags, pen, brush));
1422
1427__swi_begin(0x151)
1428void SetPropTo_Obj5(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img)
1429__swi_end(0x151, SetPropTo_Obj5, (drwobj, rect, flags, img));
1430
1435__swi_begin(0x149)
1436void SetPropTo_Obj1(DRWOBJ *drwobj, const RECT *rect, int flags, const WSHDR *text, int font, int text_flags)
1437__swi_end(0x149, SetPropTo_Obj1, (drwobj, rect, flags, text, font, text_flags));
1438
1443__swi_begin(0x201)
1444void SetProp2ImageOrCanvas(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img, int offset_x, int offset_y)
1445__swi_end(0x201, SetProp2ImageOrCanvas, (drwobj, rect, flags, img, offset_x, offset_y));
1446
1451__swi_begin(0x386)
1452void SetPropTo_obj0x17(DRWOBJ *drwobj, const RECT *rect, int flags, const EIMGHDR *img, int offset_x, int offset_y)
1453__swi_end(0x386, SetPropTo_obj0x17, (drwobj, rect, flags, img, offset_x, offset_y));
1454
1459__swi_begin(0x205)
1460void SetProp2Square_v1(DRWOBJ *drwobj, const RECT *rect, int flags, int fill_type, int fill_pattern)
1461__swi_end(0x205, SetProp2Square_v1, (drwobj, rect, flags, fill_type, fill_pattern));
1462
1467__swi_begin(0x14B)
1468void SetColor(DRWOBJ *drwobj, const char *pen, const char *brush)
1469__swi_end(0x14B, SetColor, (drwobj, pen, brush));
1470
1475__swi_begin(0x3A6)
1476void Get_Obj1_WH(DRWOBJ *drwobj, int *w, int *h)
1477__swi_end(0x3A6, Get_Obj1_WH, (drwobj, w, h));
1478
1483__swi_begin(0x14A)
1485__swi_end(0x14A, FreeDrawObject_subobj, (drwobj));
1486
1491__swi_begin(0x389)
1492void SetDepthBufferOnLCDLAYER(LCDLAYER *layer, char depth)
1493__swi_end(0x389, SetDepthBufferOnLCDLAYER, (layer, depth));
1494
1499__swi_begin(0x387)
1502
1507__swi_begin(0x384)
1509__swi_end(0x384, LCDRedrawLAYER, (layer));
1510
1515__swi_begin(0x3A4)
1516void SetDrawingCanvas(int x, int y, int x2, int y2)
1517__swi_end(0x3A4, SetDrawingCanvas, (x, y, x2, y2));
1518
1522
#define __swilib_begin
Definition doxygen.h:29
#define __swi_end(number, func, call)
Definition doxygen.h:33
#define __swi_begin(number)
Definition doxygen.h:32
#define __swilib_end
Definition doxygen.h:30
CSM object.
Definition csm.h:40
GBS Message.
Definition gbs.h:112
RECT * canvas
Region on the screen.
Definition gui.h:401
void(* onRedraw)(GUI *)
Method for the drawing.
Definition gui.h:373
void * buffer
Layer buffer.
Definition gui.h:457
mfree_func_t mfree_func
Definition gui.h:483
GUI_METHODS * methods
Pointer to the GUI_METHODS, union with GUI.methods.
Definition gui.h:403
int allocated_size
Layer allocated buffer size.
Definition gui.h:462
LLQ item_ll
Definition gui.h:414
int unk1[3]
Definition gui.h:493
short y2
bottom
Definition gui.h:356
int _unk4[6]
Definition gui.h:463
short cepid
Definition gui.h:494
char unk1
Definition gui.h:364
GBS_MSG * gbsmsg
Definition gui.h:366
GUI_RAM * next
Definition gui.h:390
char unk6
Definition gui.h:416
void(* onUnfocus)(GUI *, mfree_func_t)
GUI not in focus.
Definition gui.h:377
int h
Layer height.
Definition gui.h:454
int(* method8)()
Definition gui.h:381
RECT rect
Rectangle region on the LCD.
Definition gui.h:456
RECT invalidate
Layer region to invalidate.
Definition gui.h:455
int unk5
Definition gui.h:415
void * _unk2
Definition gui.h:458
LCDLAYER * layer
Definition gui.h:481
int unk10
Definition gui.h:420
malloc_func_t malloc_func
Definition gui.h:482
char _unk3[3]
Definition gui.h:461
LCDLAYER * layer
Definition gui.h:492
short x2
right
Definition gui.h:355
char unk4
Definition gui.h:411
char unk5[86]
Definition gui.h:465
void(* onClose)(GUI *, mfree_func_t)
Destructor.
Definition gui.h:375
uint8_t depth
Color depth, see LcdLayerDepth.
Definition gui.h:459
char state
GUI state, see CsmGuiState.
Definition gui.h:408
char unk2
Definition gui.h:409
void * app
Definition gui.h:497
short unk
Definition gui.h:485
int(* onKey)(GUI *, GUI_MSG *)
Keyboard handler.
Definition gui.h:378
void(* onCreate)(GUI *, malloc_func_t)
Constructor.
Definition gui.h:374
short keys
Definition gui.h:365
int color1
Definition gui.h:412
int redraw_requested
1 when redraw is requested
Definition gui.h:464
char zero
Definition gui.h:363
int(* method9)()
Definition gui.h:382
void(* onDestroy)(void *, mfree_func_t)
Free resources.
Definition gui.h:380
int color2
Definition gui.h:413
GUI_RAM * prev
Definition gui.h:391
void * unk1
Definition gui.h:383
int w
Layer width.
Definition gui.h:453
char unk3
Definition gui.h:410
short x
left
Definition gui.h:353
int flag30
Definition gui.h:421
int id
Definition gui.h:393
GUI * gui
Definition gui.h:392
void(* onFocus)(GUI *, malloc_func_t, mfree_func_t)
GUI is in focus.
Definition gui.h:376
char dummy[0x24]
Definition gui.h:346
void * definition
Definition gui.h:407
char unk7
Definition gui.h:417
short cepid
Definition gui.h:484
char unk9
Definition gui.h:419
void * unk0
Definition gui.h:379
char unk8
Definition gui.h:418
short y
top
Definition gui.h:354
SystemFontID
Font IDs.
Definition gui.h:101
void FocusGUI(int id)
Focus GUI by ID.
void * BuildCanvas(void)
Build "Canvas" with IDLE Wallpaper.
int GetFontYSIZE(int font_id)
Get a char height in the specified font.
LCDLAYER * GetLCDLAYERByCurCepID()
Get an LCD layer which is associated with the current CEPID.
void DrawScrollString(WSHDR *text, int x1, int y1, int x2, int y2, int xdisp, int font, int text_flags, const char *pen, const char *brush)
Draw a one-line string with optional x-scrolling offset.
void DirectRedrawGUI_ID(int id)
Immediate redraw the GUI (by ID).
void DrawObject2Layer(LCDLAYER *layer, DRWOBJ *drwobj)
Push DRWOBJ to the given LCDLAYER (with redraw!)
void AddKeybMsgHook(KeybMsgHookProc callback)
Add global keyhook to the beginning of the list.
int ScreenH(void)
Phone screen height.
void(* GUI_TimerProc)(void *gui)
Definition gui.h:33
void DrwObj_SetColor(DRWOBJ *drwobj, const char *pen, const char *brush)
Set color to the DRWOBJ.
GUI * GetTopGUI(void)
Get pointer to the currently focused GUI.
LCDLAYER * Ram_LCD_Overlay_Layer()
Overlay layer of the display.
void SetPropTo_Obj1(DRWOBJ *drwobj, const RECT *rect, int flags, const WSHDR *text, int font, int text_flags)
Init DRWOBJ which draw text.
void DrawPixel(int x, int y, const char *color)
Draw single pixel.
void * RamScreenBuffer()
Pointer to the current LCD buffer.
void PendedRedrawGUI(void)
Request redraw of the GUI.
DrwObjEllipseSectionID
Types of the ellipse sections.
Definition gui.h:244
void Get_Obj1_WH(DRWOBJ *drwobj, int *w, int *h)
Get WxH of the draw object.
RAP_LCDLAYER_LIST * RamLcdRapLayersList()
Pointer to the list of the LCDLAYER's (RAP).
int GetSymbolWidth(int character, int font_id)
Get a char width in the specified font.
int IsGuiOnTop(int id)
Check if the GUI is in focus on the screen.
void GUI_StartTimerProc(void *gui, int id, long timeout, GUI_TimerProc callback)
Schedule GUI timer.
GbsKeyEventID
Key event types (onKey).
Definition gui.h:265
void GeneralFunc_flag0(int id, int cmd)
Unknown function.
void GeneralFunc_flag1(int id, int cmd)
Request closing of the GUI with given ID.
void DrawObject(DRWOBJ *drwobj)
Draw DRWOBJ to the screen buffer.
int CreateGUIWithDummyCSM(void *gui, int flag)
Create new GUI with dummy CSM.
int GUI_NewTimer(void *gui)
Create new GUI timer.
void setColor(int a, int r, int g, int b, void *dst)
Initialize color by individual values.
void REDRAW(void)
Request redraw of the GUI.
int Get_WS_width(const WSHDR *text, int font_id)
Measure string width with the specified font.
void SetColor(DRWOBJ *drwobj, const char *pen, const char *brush)
Set color to the DRWOBJ.
void DrwObj_InitTiledImage(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img, int offset_x, int offset_y)
Init DRWOBJ which draw tiled image.
void SetPropTo_Obj5(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img)
Init DRWOBJ which draw image.
void DrwObj_InitRectEx(DRWOBJ *drwobj, const RECT *rect, int flags, int fill_type, int fill_pattern)
Init DRWOBJ which draw rectangle with custom filling.
void LCDLAYER_Flush(LCDLAYER *layer)
Do redrawing of the given LCDLAYER (immediate).
RectDrawingFlags
Flags for the DrawRectangle and others.
Definition gui.h:225
CsmGuiState
GUI state.
Definition gui.h:336
void DrawLine(int x1, int y1, int x2, int y2, int flags, const char *pen)
Draw a single line between two points.
DrwObjRectFillTypeID
Types of the rectangle filling.
Definition gui.h:234
int GUI_DeleteTimer(void *gui, int id)
Delete GUI timer.
void DirectRedrawGUI(void)
Immediate redraw the GUI.
void SetProp2ImageOrCanvas(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img, int offset_x, int offset_y)
Init DRWOBJ which draw tiled image.
void DrawImg(int x, int y, int picture)
Draw image from the PIT table.
void FreeDrawObject_subobj(DRWOBJ *drwobj)
Free draw object internal resources.
void DrawRectangle(int x1, int y1, int x2, int y2, int flags, const char *pen, const char *brush)
Draw a rectangle.
ThemePeletteColorID
Colors indexes in the .col.
Definition gui.h:38
int CreateGUIWithDummyCSM_30or2(void *gui, int flag)
Create new GUI with dummy CSM.
TextAttributesFlags
Flags for the DrawString and DrawScrollString.
Definition gui.h:202
int ScreenW(void)
Phone screen width.
void getRGBcolor(int index, void *color)
Get color from the phone theme.
GbsKeyCodeID
Key scancodes (onKey).
Definition gui.h:278
void SetPixel(int x, int y, const char *color)
Draw single pixel.
LCDLAYER * LCD_GetCurrentLayer()
Get an LCD layer which is associated with the current CEPID.
void DrawArc(int x1, int y1, int x2, int y2, int start_angle, int end_start, int flags, const char *pen, const char *brush)
Draw an arc or pie.
LcdLayerDepth
Definition gui.h:254
void DrawImgBW(int x, int y, int picture, const char *pen, const char *brush)
Draw BW image from the PIT table.
void DrawIMGHDR(int x, int y, const IMGHDR *img)
Draw image.
int HeaderH(void)
Header height (iconbar).
void DrawCroppedIMGHDR(int x, int y, int offset_x, int offset_y, int w, int h, int flags, const IMGHDR *img)
Draw cropped image.
KeyHookReturnCode
Return codes for global KeyHook.
Definition gui.h:326
void LCDLAYER_SetBufferDepth(LCDLAYER *layer, char depth)
Set LCDLAYER buffer depth.
int AddKeybMsgHook_end(KeybMsgHookProc callback)
Add global keyhook to the end of the list.
void LCDLAYER_Redraw(LCDLAYER *layer)
Request redrawing of the given LCDLAYER (delayed).
void DrwObj_GetWH(DRWOBJ *drwobj, int *w, int *h)
Get WxH of the draw object.
void StoreXYWHtoRECT(RECT *rect, int x, int y, int w, int h)
Initialize RECT by coordinates and size.
void DrawTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int flags, const char *pen, const char *brush)
Draw a triangle polygon.
void SetProp2Square_v1(DRWOBJ *drwobj, const RECT *rect, int flags, int fill_type, int fill_pattern)
Init DRWOBJ which draw rectangle with custom filling.
int SoftkeyH(void)
Softkeys height.
void DrwObj_InitText(DRWOBJ *drwobj, const RECT *rect, int flags, const WSHDR *text, int font, int text_flags)
Init DRWOBJ which draw text.
void DrwObj_InitRect(DRWOBJ *drwobj, const RECT *rect, int flags)
Init DRWOBJ which draw rectangle.
void DrwObj_InitImage(DRWOBJ *drwobj, const RECT *rect, int flags, const IMGHDR *img)
Init DRWOBJ which draw image.
void SetPropTo_obj0x17(DRWOBJ *drwobj, const RECT *rect, int flags, const EIMGHDR *img, int offset_x, int offset_y)
Init DRWOBJ which draw tiled image (without 255x255 limit).
void DrawRoundedFrame(int x1, int y1, int x2, int y2, int x_round, int y_round, int flags, const char *pen, const char *brush)
Draw a rounded rectangle.
void DrwObj_InitTiledImageEx(DRWOBJ *drwobj, const RECT *rect, int flags, const EIMGHDR *img, int offset_x, int offset_y)
Init DRWOBJ which draw tiled image (without 255x255 limit).
void drawArc(int x1, int y1, int x2, int y2, int start_angle, int end_start, int flags, const char *pen, const char *brush)
Draw an arc or pie.
int GetCurGuiID()
Get current focused GUI.
int CreateGUI_ID(void *gui, int id)
Create new GUI with specified ID.
LineDrawingFlags
Flags for the DrawLine.
Definition gui.h:217
void getRGBbyPaletteAdr(const void *src_color, void *dst_color)
Copy color from the theme palette.
char * GetPaletteAdrByColorIndex(int index)
Get color from the phone theme.
int(* KeybMsgHookProc)(int submsg, int msg)
Definition gui.h:32
void StoreXYXYtoRECT(RECT *rect, int x, int y, int x2, int y2)
Initialize RECT by two points.
int RscMgr_CsSetColor(int id, const uint8_t *color)
Set a color for a theme color scheme element.
void RemoveKeybMsgHook(KeybMsgHookProc callback)
Remove global keyhook from the list.
void LCD_SetDrawingRegion(int x, int y, int x2, int y2)
Limit drawing region on current LCDLAYER (selected by current CEPID).
void fillTriangle(int x1, int y1, int x2, int y2, int x3, int y3, int flags, const char *pen, const char *brush)
Draw a triangle polygon.
void DrawCanvas(void *data, int x, int y, int x2, int y2, int flag_one)
"Canvas" is a really meaning for standard UI background.
LCDLAYER_LIST * RamLcdMainLayersList()
Pointer to the list of the LCDLAYER's (main).
void RscMgr_CsUpdate()
Update all theme colors.
UnicodeControlChars
UTF-16 control chars for DrawString, DrawScrollString and standart UI.
Definition gui.h:162
int CreateGUI_30or2(void *gui)
Create new GUI.
int PushDRWOBJOnLAYER(DRWOBJ *drwobj, LCDLAYER *layer)
Push DRWOBJ to the given LCDLAYER (without redraw!)
void DrwObj_Free(DRWOBJ *drwobj)
Free draw object internal resources.
void LCD_SetBufferDepth(char depth)
Set LCDLAYER buffer depth on current LCDLAYER (selected by current CEPID).
void SetDrawingCanvas(int x, int y, int x2, int y2)
Limit drawing region on current LCDLAYER (selected by current CEPID).
void LCDRedrawLAYER(LCDLAYER *layer)
Request redrawing of the given LCDLAYER (delayed).
void GeneralFuncF1(int cmd)
Request closing of the focused GUI.
void SetDepthBufferOnLCDLAYER(LCDLAYER *layer, char depth)
Set LCDLAYER buffer depth.
void DrawString(WSHDR *text, int x1, int y1, int x2, int y2, int font, int text_flags, const char *pen, const char *brush)
Draw a multi-line string.
void * FindGUIbyId(int id, CSM_RAM **csm)
Find GUI by ID.
int CreateGUI(void *gui)
Create new GUI.
char * RamPressedKey()
Pointer to the last pressed key.
void UnfocusGUI(void)
Unfocus focused GUI.
void Get_WS_extent(WSHDR *ws, int text_flags, int flags, int font_id, int *w, int *h)
Get the size of a rendered string.
void GeneralFuncF0(int cmd)
Unknown function.
@ FONT_LARGE
Definition gui.h:103
@ FONT_MEDIUM
Definition gui.h:107
@ FONT_SMALL_ITALIC
Definition gui.h:116
@ FONT_NUMERIC_XSMALL
Definition gui.h:113
@ FONT_MEDIUM_ITALIC_BOLD
Definition gui.h:110
@ FONT_SMALL
Definition gui.h:114
@ FONT_MEDIUM_ITALIC
Definition gui.h:109
@ FONT_NUMERIC_LARGE
Definition gui.h:118
@ FONT_MEDIUM_BOLD
Definition gui.h:108
@ FONT_SMALL_ITALIC_BOLD
Definition gui.h:117
@ FONT_SMALL_BOLD
Definition gui.h:115
@ FONT_NUMERIC_SMALL
Definition gui.h:111
@ FONT_LARGE_ITALIC_BOLD
Definition gui.h:106
@ FONT_NUMERIC_SMALL_BOLD
Definition gui.h:112
@ FONT_LARGE_ITALIC
Definition gui.h:105
@ FONT_NUMERIC_MEDIUM
Definition gui.h:119
@ FONT_LARGE_BOLD
Definition gui.h:104
@ DRWOBJ_ELLIPSE_SECTION_LOWER_RIGHT
Definition gui.h:248
@ DRWOBJ_ELLIPSE_SECTION_UPPER_RIGHT
Definition gui.h:245
@ DRWOBJ_ELLIPSE_SECTION_UPPER_LEFT
Definition gui.h:246
@ DRWOBJ_ELLIPSE_SECTION_LOWER_LEFT
Definition gui.h:247
@ KEY_UP
Key up.
Definition gui.h:267
@ LONG_PRESS
Key longpress.
Definition gui.h:268
@ KEY_DOWN
Key down.
Definition gui.h:266
@ RECT_DOT_OUTLINE
Border is dotted.
Definition gui.h:226
@ RECT_FILL_WITH_PEN
File rectangle with the same color as the border.
Definition gui.h:227
@ RECT_DRAW_INVERT
Invert previously painted content in area within the rectangle.
Definition gui.h:228
@ CSM_GUI_STATE_FOCUSED
GUI in focus.
Definition gui.h:339
@ CSM_GUI_STATE_CLOSED
GUI closed.
Definition gui.h:337
@ CSM_GUI_STATE_UNFOCUSED
GUI not in focus.
Definition gui.h:338
@ DRWOBJ_RECT_FILL_TYPE_PEN
Fill rectangle with pen color.
Definition gui.h:237
@ DRWOBJ_RECT_FILL_TYPE_NONE
Transparent.
Definition gui.h:235
@ DRWOBJ_RECT_FILL_TYPE_PATTERN
Fill rectangle with brush color using pattern.
Definition gui.h:238
@ DRWOBJ_RECT_FILL_TYPE_BRUSH
Fill rectangle with brush color.
Definition gui.h:236
@ TPC_FOREGROUND
Definition gui.h:40
@ TPC_POPUP_SELECT_FOREGROUD
Definition gui.h:62
@ TPC_PROGRESS_BAR_BACKGROUND
Definition gui.h:64
@ TPC_CALENDAR_FOREGROUND
Definition gui.h:70
@ TPC_HEADER_BACKGROUND
Definition gui.h:43
@ TPC_LIGHT_TEXT_FOREGROUND
Definition gui.h:52
@ TPC_BACKGROUND
Definition gui.h:41
@ TPC_SELECT_BACKGROUND
Definition gui.h:48
@ TPC_DISABLED_TEXT_FOREGROUND
Definition gui.h:46
@ TPC_CALENDAR_WEEKEND_BACKGROUND
Definition gui.h:68
@ TPC_SCROLL_BAR_SLIDER
Definition gui.h:55
@ TPC_EDIT_HEADER_FOREGROUND
Definition gui.h:71
@ TPC_SELECT_SHADOW
Definition gui.h:50
@ TPC_POPUP_SELECT_BACKGROUD
Definition gui.h:63
@ TPC_BOTTOM_FOREGROUND
Definition gui.h:45
@ TPC_EDIT_FOREGROUND
Definition gui.h:72
@ TPC_CALENDAR_DAY_BACKGROUND
Definition gui.h:67
@ TPC_CALENDAR_EVENT_BACKGROUND
Definition gui.h:69
@ TPC_SELECT_FOREGROUND
Definition gui.h:47
@ TPC_SCROLL_BAR
Definition gui.h:56
@ TPC_HEADER_FOREGROUND
Definition gui.h:42
@ TPC_PROGRESS_BAR_BORDER
Definition gui.h:66
@ TPC_BORDER_SHADOW
Definition gui.h:61
@ TPC_EXTRA_HEADER_FOREGROUND
Definition gui.h:44
@ TPC_SEPARATOR
Definition gui.h:54
@ TPC_BORDER
Definition gui.h:60
@ TPC_LIGHT_TEXT_BACKGROUND
Definition gui.h:53
@ TPC_PROGRESS_BAR_FOREGROUND
Definition gui.h:65
@ TPC_UNSELECT_FOREGOUND
Definition gui.h:51
@ TPC_WINDOW_FOREGROUND
Definition gui.h:57
@ TPC_SELECT_BORDER
Definition gui.h:49
@ TPC_WINDOW_BACKGROUND
Definition gui.h:58
@ TPC_WINDOW_HEADER_FOREGROUND
Definition gui.h:59
@ TEXT_UNDERLINE
Underline text.
Definition gui.h:206
@ TEXT_PASSWORD
Replace all character to the *
Definition gui.h:209
@ TEXT_OUTLINE
Add an outline to each character in the text.
Definition gui.h:208
@ TEXT_NOFORMAT
Disable text formatting using UnicodeControlChars.
Definition gui.h:210
@ TEXT_ALIGNRIGHT
Text align: RIGHT.
Definition gui.h:205
@ TEXT_INVERT
Invert color and background of the text.
Definition gui.h:207
@ TEXT_INVERT2
Invert color and background of the text.
Definition gui.h:211
@ TEXT_ALIGNLEFT
Text align: LEFT.
Definition gui.h:203
@ TEXT_ALIGNMIDDLE
Text align: CENTER.
Definition gui.h:204
@ RIGHT_BUTTON
RIGHT navkey.
Definition gui.h:289
@ UP_BUTTON
UP navkey.
Definition gui.h:286
@ RIGHT_SOFT
Right softkey.
Definition gui.h:281
@ VOL_UP_BUTTON
Volume+.
Definition gui.h:284
@ DOWN_BUTTON
DOWN navkey.
Definition gui.h:287
@ PLAY_BUTTON
Player key.
Definition gui.h:298
@ GREEN_BUTTON
Green button.
Definition gui.h:282
@ MEDIA_BUTTON
Player key.
Definition gui.h:293
@ LEFT_SOFT
Left softkey.
Definition gui.h:280
@ RED_BUTTON
Red button.
Definition gui.h:283
@ PTT_BUTTON
PTT key.
Definition gui.h:300
@ POC_BUTTON
Direct line key (EL71)
Definition gui.h:292
@ EL_PLAY_BUTTON
Player key (EL71)
Definition gui.h:294
@ ENTER_BUTTON
CENTER navkey.
Definition gui.h:290
@ VOL_DOWN_BUTTON
Volume-.
Definition gui.h:285
@ LEFT_BUTTON
LEFT navkey.
Definition gui.h:288
@ CAMERA_BUTTON
Camera key.
Definition gui.h:299
@ LCDLAYER_DEPTH_RGB565
Definition gui.h:258
@ LCDLAYER_DEPTH_WB
Definition gui.h:255
@ LCDLAYER_DEPTH_BGRA4444
Definition gui.h:257
@ LCDLAYER_DEPTH_RGB332
Definition gui.h:256
@ LCDLAYER_DEPTH_ARGB8888
Definition gui.h:259
@ KEYHOOK_NEXT_NOT2GUI
Process key only to next keyhook, not to gui.
Definition gui.h:328
@ KEYHOOK_ENDQ
Break process and exit with or not processing in gui (selected by prev values 0/1)
Definition gui.h:330
@ KEYHOOK_BREAK
Break process and exit without processing in gui.
Definition gui.h:329
@ KEYHOOK_NEXT
Process key to next keyhook and to gui.
Definition gui.h:327
@ LINE_DOTTED
Dotted line.
Definition gui.h:218
@ LINE_DOTTED2
Dotted line (?)
Definition gui.h:219
@ UTF16_FONT_UNK4
Set font ot FONT_SMALL.
Definition gui.h:191
@ UTF16_ALIGN_RIGHT
Set TEXT_ALIGNRIGHT.
Definition gui.h:194
@ UTF16_NO_INVERTION
Clear TEXT_INVERT | TEXT_INVERT2.
Definition gui.h:168
@ UTF16_BG_COLOR_RGBA
Example: { UTF16_BG_COLOR_RGBA, 0xRRGG, 0xBBAA }.
Definition gui.h:171
@ UTF16_ALIGN_LEFT
Set TEXT_ALIGNLEFT.
Definition gui.h:195
@ UTF16_FONT_LARGE
Set font ot FONT_LARGE.
Definition gui.h:185
@ UTF16_FONT_SMALL_BOLD
Set font ot FONT_SMALL_BOLD.
Definition gui.h:179
@ UTF16_BG_COLOR
Example: { UTF16_BG_COLOR, PC_BACKGROUND }.
Definition gui.h:174
@ UTF16_FONT_UNK0
Set font ot FONT_SMALL.
Definition gui.h:187
@ UTF16_ALIGN_NONE
Clear TEXT_ALIGNLEFT | TEXT_ALIGNMIDDLE | TEXT_ALIGNRIGHT.
Definition gui.h:193
@ UTF16_BG_INVERTION2
Set TEXT_INVERT2.
Definition gui.h:167
@ UTF16_UNDERLINE
Set TEXT_UNDERLINE.
Definition gui.h:163
@ UTF16_FONT_UNK3
Set font ot FONT_SMALL_BOLD.
Definition gui.h:190
@ UTF16_BG_INVERTION
Set TEXT_INVERT.
Definition gui.h:166
@ UTF16_FONT_LARGE_BOLD
Set font ot FONT_LARGE_BOLD.
Definition gui.h:184
@ UTF16_FONT_UNK2
Set font ot FONT_SMALL.
Definition gui.h:189
@ UTF16_TEXT_COLOR
Example: { UTF16_TEXT_COLOR, PC_FOREGROUND }.
Definition gui.h:173
@ UTF16_FONT_SMALL
Set font ot FONT_SMALL.
Definition gui.h:178
@ UTF16_FONT_MEDIUM_BOLD
Set font ot FONT_MEDIUM_BOLD.
Definition gui.h:182
@ UTF16_TEXT_COLOR_RGBA
Example: { UTF16_TEXT_COLOR_RGBA, 0xRRGG, 0xBBAA }.
Definition gui.h:170
@ UTF16_FONT_RESET
Reset font to the default.
Definition gui.h:176
@ UTF16_ALIGN_CENTER
Set TEXT_ALIGNMIDDLE.
Definition gui.h:196
@ UTF16_NO_UNDERLINE
Clear TEXT_UNDERLINE.
Definition gui.h:164
@ UTF16_FONT_UNK1
Set font ot FONT_LARGE_BOLD.
Definition gui.h:188
@ UTF16_FONT_MEDIUM
Set font ot FONT_MEDIUM.
Definition gui.h:181
Drawing object.
Definition gui.h:345
GUI description and state.
Definition gui.h:400
GUI callbacks.
Definition gui.h:372
GUI GBS message for onKey callback.
Definition gui.h:362
GUI RAM representation.
Definition gui.h:389
LCD drawing layer.
Definition gui.h:452
LCD drawing layer container.
Definition gui.h:480
LCD drawing layer container (RAP).
Definition gui.h:491
Rectangle region.
Definition gui.h:352
Extended image header (without 255x255 limitation).
Definition image.h:78
Image header.
Definition image.h:62
void *(* malloc_func_t)(size_t size)
malloc()
Definition base.h:64
void(* mfree_func_t)(void *ptr)
free()
Definition base.h:65
Linked-List header.
Definition base.h:125
Wide-string header.
Definition wstring.h:35
#define const
Definition zconf.h:115