IceNav-v3 icon indicating copy to clipboard operation
IceNav-v3 copied to clipboard

how to change the size of arrow navigation

Open zhjygit opened this issue 2 months ago • 0 comments

static const unsigned char navigation[] PROGMEM = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,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,0x36,0x03,0x36,0x00,0x00,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,0x35,0x03,0x36,0x03,0x36,0x03,0x16,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,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x56,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x55,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x76,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x02,0xf7,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1f,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0xef,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x16,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x57,0x03,0xb9,0x03,0xb9,0x03,0x57,0x03,0x36,0x03,0x36,0x03,0x36,0x00,0x00,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x03,0x36,0x03,0x36,0x03,0x36,0x03,0x57,0x03,0x78,0x03,0x78,0x03,0x78,0x03,0x78,0x03,0x57,0x03,0x36,0x03,0x36,0x03,0x36,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x03,0x36,0x03,0x36,0x03,0x57,0x03,0x37,0x03,0x57,0x03,0x57,0x03,0x37,0x03,0x56,0x03,0x56,0x03,0x37,0x03,0x36,0x03,0x36,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x03,0x15,0x03,0x36,0x02,0xb5,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0xb5,0x03,0x36,0x03,0x15,0x00,0x00,0x00,0x00 ,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00

};

sprArrow.createSprite(16, 16); sprArrow.setColorDepth(16); sprArrow.pushImage(0, 0, 16, 16, (uint16_t *)navigation);

Now the arrow size is little small, i want to change the arrow bigger on the lcd display. However,when i change the width and height from 16 to 20、25、32 ,it will be not right on the lcd display,distortion. maybe, i should redefine the navigation(static const unsigned char navigation[] PROGMEM =). how can i define the navigation, which tools or url can be accessed? what are the relation between navigation 、colordepth、width and height,why is the size of 'char navigation' 526?

zhjygit avatar Apr 29 '24 01:04 zhjygit