SmartGPU2-LCD480X320Touch-CommandSet
SMART GPU 2 3.5” TOUCH
Command Set
Vizic Technologies ©2014 134
2.12 OBJECTS Commands
The Smart GPU 2 integrates a series of hardware drawing assisted objects,
those objects help user to create easy GUI controls like Scroll Bars, Progress Bars,
Buttons, etc.
The next objects are currently supported:
-Checkbox.
-Button with or without text.
-Binary Switch ON/OFF.
-Progress Bar with text indicator.
-Scroll Bar with steps.
-Sliders Vertical and Horizontal.
-Windows with X(close) button and text.
Without those hardware objects, simple working panels or settings pages would
be not so easy to construct, however by simple calling commands, those objects auto-
adjust and center text/steps, letting the user take care in main application instead of
expending hours by designing those objects.
Briefly Summary of Commands in this section:
*All of Those next commands always begin with the byte ‘O’-4Fhex, as
they are OBJECTS commands, followed by the next parameters/bytes.
• Object Checkbox – 43hex ‘C’
• Object Button – 42hex ‘B’
• Object Switch – 54hex ‘T’
• Object Progress Bar – 50hex ‘P’
• Object Scroll Bar – 53hex ‘S’
• Object Slider – 4Chex ‘L’
• Object Window – 57hex ‘W’
*some objects have size limitations or minimum accepted sizes, those are
explained in each object command description.