... | ... | @@ -39,7 +39,8 @@ checkboxes, scrollbars, etc. They have a visible representation and are |
|
|
expected to react to events. That is the reason why they are described
|
|
|
by a structure (*struct ui\_widget*) that contains:
|
|
|
|
|
|
1. Drawing routine - code that describe appearance.
|
|
|
1. Drawing routine - code that describe appearance (have a look at the
|
|
|
graphics library located in sw/common/gfx).
|
|
|
2. Event handler - processes received events.
|
|
|
3. Dimensions - contain the location and size of a widget.
|
|
|
4. Surface - canvas used for drawing.
|
... | ... | |