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.2k stars 211 forks source link

Support for htcw_gfx library? #466

Open codewitch-honey-crisis opened 2 years ago

codewitch-honey-crisis commented 2 years ago

Feature Request or Enhancement

I would like to investigate creating bindings for htcw_gfx, a newer graphics library for middleweight IoT devices that supports things like truetype and alpha-blending.

Additional context

I'm its author. It's being adopted somewhat, but obviously being new, it's not nearly as widespread as the other IoT graphics libraries you support.

I'm willing to put in the work to make this happen, if I can get pointed in the right direction, and get an architecture overview such that I can write the bindings myself.

Website: https://honeythecodewitch.com/gfx

platform-io repo is codewitch-honey-crisis/htcw_gfx

drivers are like, codewitch-honey-crisis/htcw_ili9341 for the ILI9341 or codewitch-honey-crisis/htcw_st7789 for the ST7789, plus many more including e-paper

including a driver will pull in GFX with it.

Requires C++14 to compile

Pconti31 commented 2 years ago

@codewitch-honey-crisis Hi, I wrote the Builder GUIsliceBuilder I have made some contributions to the API over the years but only as a normal user. Otherwise, I have no connection to the API.

People who use the API and the Builder usually make use of either Arduino's IDE or PlatformIO. So your having PlatformIO support is good. My next release of the builder 0.17.b12 will provide direct support for PlatformIO among other things.

For the Builder the biggest issue is font handling since I tried very hard to simulate what users will actually see on their TFT displays. I actually re-coded various C font libraries in Java to make that happen.

Now while Calvin @ImpulseAdventure the owner of this repository has excellent documentation of the API nothing really exists here for internals that I'm aware of.

However, as a user and wasting a lot of time in lockup due COVID-19 back in 2020 I did for a while work on an developers doc although I never finished it. I've attached it for you and maybe it will give you a head start. Feel free to ask questions but you should post them in discussions or send email to guislice@gmail.com since issues are more for bugs and general support problems. Note that email goes to Calvin not me. I do have a public email address in my github profile.

Good Luck! Paul--

developer-guide.pdf