Hi All,
Does anyone know the simplest way to design/emulate something like a 'paint' window? i.e. what you could probably call a 'DRAW' widget, where say you define a blank window, and you capture and display all PID inputs in that window.
for example, my display is 800x480, touch screen.
1) I want to make a window of say 400x400, and allow the user to actually 'draw' in the window with their finger?
2) and just display a dot or pixel at each touch point?
Only thing I can think of is to just setup a background fast polling timer (as my touch interrupt is already feeding in touch StoreState() points), and poll the GUI_Touch_GetState() function to get points touched, and plot them manually if the co-ordinates are within the gui rectangle?
Does that make sense?
Thanks so much,
- Mike
Does anyone know the simplest way to design/emulate something like a 'paint' window? i.e. what you could probably call a 'DRAW' widget, where say you define a blank window, and you capture and display all PID inputs in that window.
for example, my display is 800x480, touch screen.
1) I want to make a window of say 400x400, and allow the user to actually 'draw' in the window with their finger?
2) and just display a dot or pixel at each touch point?
Only thing I can think of is to just setup a background fast polling timer (as my touch interrupt is already feeding in touch StoreState() points), and poll the GUI_Touch_GetState() function to get points touched, and plot them manually if the co-ordinates are within the gui rectangle?
Does that make sense?
Thanks so much,
- Mike