#include <upane.hpp>
Inheritance diagram for UPane:

Public Member Functions | |
| UPane (const UArgs &a=UArgs::none) | |
| constructor: see shortcut creator upane() and UGroup::~UGroup() | |
| virtual | ~UPane () |
| virtual const UStyle & | getStyle (UContext *) const |
| float | getXScroll () |
| float | getYScroll () |
| returns the current scroll values (float values between 0 and 100). | |
| void | setXScroll (float _xscroll) |
| void | setYScroll (float _yscroll) |
| void | setScroll (float xscroll, float yscroll) |
| scrolls the pane (and the associated scrollbars when applicable) float values are between 0 and 100. | |
| void | scrollImpl (float new_xscroll, float new_yscroll, bool upd_x, bool upd_y, bool update_pane) |
| [impl] does not update the associated scrollbars. | |
| UBox * | getViewport () |
| returns the current Viewport (if any; null otherwise) | |
| UView * | getViewportView (UView *pane_view) |
| returns the corresponding Viewport View | |
| UScrollbar * | getVScrollbar () |
| UScrollbar * | getHScrollbar () |
| return the Vertical and Horizontal Scrollbars (if any; null otherwise) | |
Static Public Member Functions | |
| static const UStyle & | makeStyle () |
Static Public Attributes | |
| static UStyle * | style = null |
Friends | |
| UPane & | upane (const UArgs &a=UArgs::none) |
| shortcut creator: creates a new UPane | |
There are 5 ways of using UPanes:
|
|
!Att: scrollbar pas forcement enfnats du Pane ! |
|
|
returns the current Viewport (if any; null otherwise) The viewport is the scrolled box in the center area. |
|
|
returns the corresponding Viewport View Returns the UView of the current Viewport that is contained in Pen view that is given as an argument |
1.4.1