ImpulseAdventure / GUIslice

GUIslice drag & drop embedded GUI in C for touchscreen TFT on Arduino, Raspberry Pi, ARM, ESP8266 / ESP32 / M5stack using Adafruit-GFX / TFT_eSPI / UTFT / SDL
https://www.impulseadventure.com/elec/guislice-gui.html
MIT License
1.19k stars 211 forks source link

Spinner Font built-in not working in linux #309

Closed abhishek1028 closed 3 years ago

abhishek1028 commented 3 years ago

Spinner is using built-in type fonts. These are not ttf file. so that i am unable to use it in Linux and other fonts ttf file not loaded symbol of increment and decrement. Please resolve it. In src/elem folder xspinner.c file has acIncr for increment charactor but I am not getting how I can pass charactor in it

Pconti31 commented 3 years ago

@abhishek1028 I documented this in my Builder FAQ FAQ FYI, The gslc_ElemXSpinnerSetChars() call uses the font you asked for with the gslc_ElemXSpinnerCreate() call. Paul--

abhishek1028 commented 3 years ago

Thanks for guidance

abhishek1028 commented 3 years ago

I have used faq instructions but not getting character for Inc and Dec of spinner using freemono font

abhishek1028 commented 3 years ago

I got it place of call function and fixed the issue thanks