Key Features:
- Pen supporting 8 different widths (Brush radii 1px to 8px) in 8 different colors.
- 2 different UI Skins a.k.a Color Schemes. The skin is chosen at compile time, you can change it in the main.c file.
- Draw, Erase and Fill Modes
Support for Saving and Opening sketches will be added in the future, the icons and buttons are already there.
Full Source code is available (under BSD license terms) in the 'demos/3rdparty/notepad-2' directory of the main repository of ChibiOS/GFX.
I hope besides serving as a demo to the ChibiOS/GFX, this will also serve as a guide for ChibiOS/GFX users to create user interfaces, as this demo covers aspects from almost all modules of GFX (GDISP, GINPUT, GEVENT, GWIN, Console, Buttons). For any support / help regarding the demo, do not hesitate to ask on the forum.
Link to YouTube Video: http://www.youtube.com/watch?v=NNQjHe1CpGQ
Happy Hacking and Happy Scribbling!
Cheers
Abhishek