19
••••
Execute the demo batch file “test.bat” under the batch file folder, Painter \demo_batch
•
After Nios II program is downloaded and executed successfully, you will see a painter GUI in
the LCD.
Figure 4-2
shows the GUI of the Painter Demo.
••••
The GUI is classified into three areas: Palette, Canvas, and Gesture. Users can select pen color
from the color palette and start painting in the Canvas area. If gesture is detected, the associated
gesture symbol is shown in the gesture area. To clear canvas content, click the “Clear” button.
••••
Figure 4-3
shows the photo when users paint in the canvas area.
Figure 4-4
shows the phone
when counter-clockwise rotation gesture is detected.
Figure 4-5
shows the photo when zoom-in
gesture is detected.
Figure 4-2 GUI of Painter Demo