


Public Member Functions | |
| PG_ScrollArea (PG_Widget *parent, const PG_Rect &r=PG_Rect::null) | |
| Create a scrollarea widget. | |
| ~PG_ScrollArea () | |
| void | SetShiftOnRemove (bool shiftx, bool shifty) |
| Shift widgets on removal. | |
| void | ScrollTo (Uint16 x, Uint16 y) |
| scroll to a give X/Y-Coordinate within the client area. | |
| void | ScrollToWidget (PG_Widget *widget, bool bVertical=true) |
| Scroll to a widget. | |
| void | SetAreaWidth (Uint16 w) |
| Set the width of the scrollable area manually. | |
| void | SetAreaHeight (Uint16 h) |
| Set the height of the scrollable area manually. | |
| Uint16 | GetAreaWidth () |
| Get the width of the scrollable area. | |
| Uint16 | GetAreaHeight () |
| Get the height of the scrollable area. | |
| void | RemoveAll () |
| Remove all widgets from the list (without deletion). | |
| void | DeleteAll () |
| Delete (destroy) all widgets in the list. | |
| Uint16 | GetWidgetCount () |
| Get the number of widgets in the list. | |
| Uint16 | GetScrollPosX () |
| Uint16 | GetScrollPosY () |
| void | AddChild (PG_Widget *child) |
| Add a clientwidget (which will be embedded into this widget). | |
| bool | RemoveChild (PG_Widget *child) |
| PG_Widget * | GetFirstInList () |
Public Attributes | |
| SignalAreaChangedHeight | sigAreaChangedHeight |
| SignalAreaChangedWidth | sigAreaChangedWidth |
Protected Attributes | |
| PG_Rect | my_area |
| bool | my_shiftx |
| bool | my_shifty |
|
||||||||||||
|
Create a scrollarea widget.
|
|
|
|
|
|
Add a clientwidget (which will be embedded into this widget).
Reimplemented from PG_Widget. |
|
|
Delete (destroy) all widgets in the list.
|
|
|
Get the height of the scrollable area.
|
|
|
Get the width of the scrollable area.
|
|
|
|
|
|
|
|
|
|
|
|
Get the number of widgets in the list.
|
|
|
Remove all widgets from the list (without deletion).
|
|
|
Reimplemented from PG_Widget. |
|
||||||||||||
|
scroll to a give X/Y-Coordinate within the client area.
|
|
||||||||||||
|
Scroll to a widget.
|
|
|
Set the height of the scrollable area manually.
|
|
|
Set the width of the scrollable area manually.
|
|
||||||||||||
|
Shift widgets on removal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|