Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

UPane Class Reference

Pane gadget (for making Viewports, Cardboxes, Transparent layers). More...

#include <upane.hpp>

Inheritance diagram for UPane:

UScrollpane List of all members.

Public Member Functions

 UPane (const UArgs &a=UArgs::none)
 constructor: see shortcut creator upane() and UGroup::~UGroup()
virtual ~UPane ()
virtual const UStylegetStyle (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)
UViewgetViewportView (UView *pane_view)
 returns the corresponding Viewport View
UScrollbargetVScrollbar ()
UScrollbargetHScrollbar ()
 return the Vertical and Horizontal Scrollbars (if any; null otherwise)

Static Public Member Functions

static const UStylemakeStyle ()

Static Public Attributes

static UStylestyle = null

Friends

UPaneupane (const UArgs &a=UArgs::none)
 shortcut creator: creates a new UPane

Detailed Description

Pane gadget (for making Viewports, Cardboxes, Transparent layers).

There are 5 ways of using UPanes:


Constructor & Destructor Documentation

UPane::~UPane  )  [virtual]
 

!Att: scrollbar pas forcement enfnats du Pane !


Member Function Documentation

UBox * UPane::getViewport  ) 
 

returns the current Viewport (if any; null otherwise)

The viewport is the scrolled box in the center area.

UView * UPane::getViewportView UView pane_view  ) 
 

returns the corresponding Viewport View

Returns the UView of the current Viewport that is contained in Pen view that is given as an argument


The documentation for this class was generated from the following files:
Generated on Thu Mar 3 06:33:22 2005 for Ubit[Eric.Lecolinet@enst.fr] by  doxygen 1.4.1