MyGUI  3.2.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
MyGUI::ScrollView Class Reference

#include <MyGUI_ScrollView.h>

+ Inheritance diagram for MyGUI::ScrollView:

Public Types

typedef RTTIBase Base
typedef ScrollView RTTIBase

Public Member Functions

virtual const std::string & getTypeName () const
virtual bool isType (const std::type_info &_type) const
template<typename Type >
bool isType () const
 ScrollView ()
virtual void setPosition (const IntPoint &_value)
virtual void setSize (const IntSize &_value)
virtual void setCoord (const IntCoord &_value)
void setPosition (int _left, int _top)
void setSize (int _width, int _height)
void setCoord (int _left, int _top, int _width, int _height)
void setVisibleVScroll (bool _value)
bool isVisibleVScroll () const
void setVisibleHScroll (bool _value)
bool isVisibleHScroll () const
void setCanvasAlign (Align _value)
Align getCanvasAlign () const
void setCanvasSize (const IntSize &_value)
void setCanvasSize (int _width, int _height)
IntSize getCanvasSize ()
IntCoord getViewCoord () const
void setViewOffset (const IntPoint &_value)
IntPoint getViewOffset () const

Static Public Member Functions

static const std::string & getClassTypeName ()

Protected Member Functions

virtual void initialiseOverride ()
virtual void shutdownOverride ()
void notifyMousePressed (Widget *_sender, int _left, int _top, MouseButton _id)
void notifyMouseReleased (Widget *_sender, int _left, int _top, MouseButton _id)
void notifyScrollChangePosition (ScrollBar *_sender, size_t _position)
void notifyMouseWheel (Widget *_sender, int _rel)
void updateView ()
virtual void setPropertyOverride (const std::string &_key, const std::string &_value)
ScrollBargetVScroll ()

Protected Attributes

Align mContentAlign
WidgetmRealClient

Detailed Description

Definition at line 32 of file MyGUI_ScrollView.h.


Member Typedef Documentation

Reimplemented from MyGUI::Widget.

Definition at line 37 of file MyGUI_ScrollView.h.

Reimplemented from MyGUI::Widget.

Definition at line 37 of file MyGUI_ScrollView.h.


Constructor & Destructor Documentation

Definition at line 34 of file MyGUI_ScrollView.cpp.


Member Function Documentation

Get canvas align

Definition at line 282 of file MyGUI_ScrollView.cpp.

Get canvas size

Definition at line 234 of file MyGUI_ScrollView.cpp.

static const std::string& MyGUI::ScrollView::getClassTypeName ( ) [inline, static]

Reimplemented from MyGUI::Widget.

Definition at line 37 of file MyGUI_ScrollView.h.

virtual const std::string& MyGUI::ScrollView::getTypeName ( ) const [inline, virtual]

Get type name as string

Reimplemented from MyGUI::Widget.

Definition at line 37 of file MyGUI_ScrollView.h.

Get view area coordinates.

Definition at line 340 of file MyGUI_ScrollView.cpp.

Get view area offset.

Definition at line 335 of file MyGUI_ScrollView.cpp.

Definition at line 345 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::initialiseOverride ( ) [protected, virtual]

Reimplemented from MyGUI::Widget.

Definition at line 42 of file MyGUI_ScrollView.cpp.

template<typename Type >
bool MyGUI::ScrollView::isType ( ) const [inline]

Compare with selected type

Reimplemented from MyGUI::Widget.

Definition at line 37 of file MyGUI_ScrollView.h.

virtual bool MyGUI::ScrollView::isType ( const std::type_info &  _type) const [inline, virtual]

Compare with selected type

Reimplemented from MyGUI::Widget.

Definition at line 37 of file MyGUI_ScrollView.h.

Get Show HScroll flag

Definition at line 277 of file MyGUI_ScrollView.cpp.

Get Show VScroll flag

Definition at line 272 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::notifyMousePressed ( Widget _sender,
int  _left,
int  _top,
MouseButton  _id 
) [protected]
void MyGUI::ScrollView::notifyMouseReleased ( Widget _sender,
int  _left,
int  _top,
MouseButton  _id 
) [protected]
void MyGUI::ScrollView::notifyMouseWheel ( Widget _sender,
int  _rel 
) [protected]

Definition at line 125 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::notifyScrollChangePosition ( ScrollBar _sender,
size_t  _position 
) [protected]

Definition at line 106 of file MyGUI_ScrollView.cpp.

Set canvas align

Definition at line 221 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setCanvasSize ( const IntSize _value)

Set canvas size

Definition at line 227 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setCanvasSize ( int  _width,
int  _height 
)

Set canvas size

Definition at line 287 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setCoord ( const IntCoord _value) [virtual]

Set widget position and size

Reimplemented from MyGUI::Widget.

Definition at line 99 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setCoord ( int  _left,
int  _top,
int  _width,
int  _height 
)

See Widget::setCoord(const IntCoord& _coord)

Reimplemented from MyGUI::Widget.

Definition at line 267 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setPosition ( const IntPoint _value) [virtual]

Set widget position (position of left top corner)

Reimplemented from MyGUI::Widget.

Definition at line 87 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setPosition ( int  _left,
int  _top 
)

See Widget::setPosition(const IntPoint& _pos)

Reimplemented from MyGUI::Widget.

Definition at line 257 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setPropertyOverride ( const std::string &  _key,
const std::string &  _value 
) [protected, virtual]

Reimplemented from MyGUI::Widget.

Definition at line 239 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setSize ( const IntSize _value) [virtual]

Set widget size

Reimplemented from MyGUI::Widget.

Definition at line 92 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setSize ( int  _width,
int  _height 
)

See Widget::setSize(const IntSize& _size)

Reimplemented from MyGUI::Widget.

Definition at line 262 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setViewOffset ( const IntPoint _value)

Set view area offset.

Definition at line 297 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setVisibleHScroll ( bool  _value)

Show HScroll when text size larger than Edit

Definition at line 215 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::setVisibleVScroll ( bool  _value)

Show VScroll when text size larger than Edit

Definition at line 209 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::shutdownOverride ( ) [protected, virtual]

Reimplemented from MyGUI::Widget.

Definition at line 77 of file MyGUI_ScrollView.cpp.

void MyGUI::ScrollView::updateView ( ) [protected]

Definition at line 203 of file MyGUI_ScrollView.cpp.


Field Documentation

Definition at line 117 of file MyGUI_ScrollView.h.

Definition at line 118 of file MyGUI_ScrollView.h.


The documentation for this class was generated from the following files: