|
|
@ -32,9 +32,10 @@ bool VarIcon::init(DwinScreen *dwin_screen, uint16_t descript_add) { |
|
|
|
// sscanf(pos, "(%d,%d)", &posx, &posy);
|
|
|
|
// initcfg(m_dwin_screen->alloc_one_var_icon(), posx, posy, iconpath, initval);
|
|
|
|
// }
|
|
|
|
void VarIcon::initcfg(int x, int y, const char *iconpath, uint16_t initval) { initcfg(m_dwin_screen->alloc_one_var_icon(), x, y, iconpath, initval); } |
|
|
|
void VarIcon::initcfg(int x, int y, const char *iconpath, uint16_t initval) { initcfg(m_dwin_screen->alloc_free_ram(1), x, y, iconpath, initval); } |
|
|
|
|
|
|
|
void VarIcon::initcfg(uint16_t valpointerAdd, uint16_t posx, uint16_t posy, const char *iconpath, uint16_t initval) { |
|
|
|
printf("initcfg %04x %d %d %s %d\n", valpointerAdd, posx, posy, iconpath, initval); |
|
|
|
int iconlib = 0; |
|
|
|
int iconmin = 0; |
|
|
|
int iconmax = 0; |
|
|
|