olikraus / ucglib

Arduino True Color Library for TFTs and OLEDs
https://github.com/olikraus/ucglib/wiki
Other
261 stars 76 forks source link

Needed support to place an Icon beside graphic primitives #120

Open iltis42 opened 4 years ago

iltis42 commented 4 years ago

Hi Oli, until now, ucglib supports drawing of graphic primitives, such as lines, boxes, triangles, fonts, etc. What i really miss was some support to draw an icon, e.g. a bluetooth icon, a wifi icon, or any other user supplied icons, maybe read from a bmp file into a consecutive vector of RGB values in memory, containing all row's after each other, something like this: void ucg.drawIcon( int x, int y, int w, int h, char* rgb ); In my opinion this should not be a big thing, may you comment on this ? Best regards, and thanks in advace !