New Notepad Demo for ChibiOS/GFX

Locked
Abhishek
Posts: 266
Joined: Wed May 23, 2012 3:15 pm

New Notepad Demo for ChibiOS/GFX

Post by Abhishek »

Here's a new Notepad demo for ChibiOS/GFX .

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
User avatar
Tectu
Posts: 1225
Joined: Thu May 10, 2012 9:50 am

Re: New Notepad Demo for ChibiOS/GFX

Post by Tectu »

As I said before, excellent work!
I planted a blog post and a tweet about it :)
I hope that there is more awesome stuff coming :P

~ Tectu
mobyfab
Posts: 484
Joined: Sat Nov 19, 2011 6:47 pm
Has thanked: 21 times
Been thanked: 31 times

Re: New Notepad Demo for ChibiOS/GFX

Post by mobyfab »

Very nice, good job!
Locked