Difference between revisions of "Widgets"

From uGFX Wiki
Jump to: navigation, search
Line 6: Line 6:
 
* Widgets support a "style". By changing the style you can affect the colors used to draw the widget similar to the way you can apply color schemes in Windows and Linux.
 
* Widgets support a "style". By changing the style you can affect the colors used to draw the widget similar to the way you can apply color schemes in Windows and Linux.
 
A list with descriptions of the common container API can be found [http://ugfx.org/images/resources/doxygen/master/group___widget.html here].
 
A list with descriptions of the common container API can be found [http://ugfx.org/images/resources/doxygen/master/group___widget.html here].
 
  
 
== Widget Implementations ==
 
== Widget Implementations ==
Line 18: Line 17:
 
* [[Tabs]]
 
* [[Tabs]]
 
* [[ImageBox]]
 
* [[ImageBox]]
 +
  
  
 
[[Category:GWIN]]
 
[[Category:GWIN]]

Revision as of 16:05, 1 July 2014

The widget class is based on the window. In addition to the window functionalities, it implements the following features:

  • Widgets can always redraw themselves
  • Widgets are able to accept user input such as from a touchscreen/toggle/dial/keyboard
  • Widgets can have their drawing routine overwritten to provide fancier versions of the object. For example, their are predefined drawing routines for round buttons, image buttons, arrow buttons etc. along with the normal button drawing routine.
  • Widgets support a "style". By changing the style you can affect the colors used to draw the widget similar to the way you can apply color schemes in Windows and Linux.

A list with descriptions of the common container API can be found here.

Widget Implementations

These are the currently implemented widgets: