MyGUI 3.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
MyGUI::ICroppedRectangle Class Reference

#include <MyGUI_ICroppedRectangle.h>

Inheritance diagram for MyGUI::ICroppedRectangle:

Public Member Functions

 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
ICroppedRectanglegetCroppedParent ()
virtual void setCoord (const IntCoord &_value)
const IntCoordgetCoord () const
virtual void setPosition (const IntPoint &_value)
IntPoint getPosition () const
virtual void setSize (const IntSize &_value)
IntSize getSize () const
virtual void setVisible (bool _value)
bool isVisible () const
const IntPointgetAbsolutePosition () const
IntRect getAbsoluteRect () const
IntCoord getAbsoluteCoord () const
int getAbsoluteLeft () const
int getAbsoluteTop () const
virtual void setAlign (Align _value)
Align getAlign () const
int getLeft () const
int getRight () const
int getTop () const
int getBottom () const
int getWidth () const
int getHeight () const
bool _isMargin () const
int _getViewLeft () const
int _getViewRight () const
int _getViewTop () const
int _getViewBottom () const
int _getViewWidth () const
int _getViewHeight () const
virtual void _updateView ()
virtual void _correctView ()
virtual void _setAlign (const IntSize &_oldsize, bool _update)
virtual void _setAlign (const IntCoord &_oldcoord, bool _update)
void _setCroppedParent (ICroppedRectangle *_parent)
const IntRect_getMargin () const
int _getMarginLeft () const
int _getMarginRight () const
int _getMarginTop () const
int _getMarginBottom () const
void show ()
void hide ()
bool isShow ()

Protected Member Functions

bool _checkPoint (int _left, int _top)
bool _checkMargin ()
bool _checkOutside ()

Protected Attributes

bool mIsMargin
IntRect mMargin
IntCoord mCoord
IntPoint mAbsolutePosition
ICroppedRectanglemCroppedParent
bool mVisible
Align mAlign

Detailed Description

Definition at line 32 of file MyGUI_ICroppedRectangle.h.


Constructor & Destructor Documentation

MyGUI::ICroppedRectangle::ICroppedRectangle ( ) [inline]

Definition at line 35 of file MyGUI_ICroppedRectangle.h.

virtual MyGUI::ICroppedRectangle::~ICroppedRectangle ( ) [inline, virtual]

Definition at line 42 of file MyGUI_ICroppedRectangle.h.


Member Function Documentation

bool MyGUI::ICroppedRectangle::_checkMargin ( ) [inline, protected]

Definition at line 141 of file MyGUI_ICroppedRectangle.h.

bool MyGUI::ICroppedRectangle::_checkOutside ( ) [inline, protected]

Definition at line 191 of file MyGUI_ICroppedRectangle.h.

bool MyGUI::ICroppedRectangle::_checkPoint ( int  _left,
int  _top 
) [inline, protected]

Definition at line 136 of file MyGUI_ICroppedRectangle.h.

virtual void MyGUI::ICroppedRectangle::_correctView ( ) [inline, virtual]

Reimplemented in MyGUI::EditText, MyGUI::SubSkin, and MyGUI::TileRect.

Definition at line 111 of file MyGUI_ICroppedRectangle.h.

const IntRect& MyGUI::ICroppedRectangle::_getMargin ( ) const [inline]

Definition at line 117 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getMarginBottom ( ) const [inline]

Definition at line 121 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getMarginLeft ( ) const [inline]

Definition at line 118 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getMarginRight ( ) const [inline]

Definition at line 119 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getMarginTop ( ) const [inline]

Definition at line 120 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getViewBottom ( ) const [inline]

Definition at line 106 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getViewHeight ( ) const [inline]

Definition at line 108 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getViewLeft ( ) const [inline]

Definition at line 103 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getViewRight ( ) const [inline]

Definition at line 104 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getViewTop ( ) const [inline]

Definition at line 105 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::_getViewWidth ( ) const [inline]

Definition at line 107 of file MyGUI_ICroppedRectangle.h.

bool MyGUI::ICroppedRectangle::_isMargin ( ) const [inline]

True if rectangle is cropped by parent rectangle

Definition at line 100 of file MyGUI_ICroppedRectangle.h.

virtual void MyGUI::ICroppedRectangle::_setAlign ( const IntCoord _oldcoord,
bool  _update 
) [inline, virtual]
virtual void MyGUI::ICroppedRectangle::_setAlign ( const IntSize _oldsize,
bool  _update 
) [inline, virtual]
void MyGUI::ICroppedRectangle::_setCroppedParent ( ICroppedRectangle _parent) [inline]

Definition at line 115 of file MyGUI_ICroppedRectangle.h.

virtual void MyGUI::ICroppedRectangle::_updateView ( ) [inline, virtual]

Reimplemented in MyGUI::EditText, MyGUI::SubSkin, MyGUI::TileRect, and MyGUI::Widget.

Definition at line 110 of file MyGUI_ICroppedRectangle.h.

IntCoord MyGUI::ICroppedRectangle::getAbsoluteCoord ( ) const [inline]

Get coordinate in screen coordinates

Definition at line 72 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getAbsoluteLeft ( ) const [inline]

Get X in screen coordinates

Definition at line 75 of file MyGUI_ICroppedRectangle.h.

const IntPoint& MyGUI::ICroppedRectangle::getAbsolutePosition ( ) const [inline]

Get position in screen coordinates

Definition at line 68 of file MyGUI_ICroppedRectangle.h.

IntRect MyGUI::ICroppedRectangle::getAbsoluteRect ( ) const [inline]

Get rectangle in screen coordinates

Definition at line 70 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getAbsoluteTop ( ) const [inline]

Get Y in screen coordinates

Definition at line 77 of file MyGUI_ICroppedRectangle.h.

Align MyGUI::ICroppedRectangle::getAlign ( ) const [inline]

Get align

Definition at line 82 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getBottom ( ) const [inline]

Get bottom y-coordinate

Definition at line 91 of file MyGUI_ICroppedRectangle.h.

const IntCoord& MyGUI::ICroppedRectangle::getCoord ( ) const [inline]

Get coordinates (position and size)

Definition at line 50 of file MyGUI_ICroppedRectangle.h.

ICroppedRectangle* MyGUI::ICroppedRectangle::getCroppedParent ( ) [inline]

Get parent ICroppedRectangle

Definition at line 45 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getHeight ( ) const [inline]

Get height

Definition at line 95 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getLeft ( ) const [inline]

Get left x-coordinate

Definition at line 85 of file MyGUI_ICroppedRectangle.h.

IntPoint MyGUI::ICroppedRectangle::getPosition ( ) const [inline]

Get position

Definition at line 55 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getRight ( ) const [inline]

Get right x-coordinate

Definition at line 87 of file MyGUI_ICroppedRectangle.h.

IntSize MyGUI::ICroppedRectangle::getSize ( ) const [inline]

Get size

Definition at line 60 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getTop ( ) const [inline]

Get top y-coordinate

Definition at line 89 of file MyGUI_ICroppedRectangle.h.

int MyGUI::ICroppedRectangle::getWidth ( ) const [inline]

Get width

Definition at line 93 of file MyGUI_ICroppedRectangle.h.

void MyGUI::ICroppedRectangle::hide ( ) [inline]
Deprecated:
"use : void ICroppedRectangle::setVisible(bool _visible)"

Definition at line 129 of file MyGUI_ICroppedRectangle.h.

bool MyGUI::ICroppedRectangle::isShow ( ) [inline]
Deprecated:
"use : bool ICroppedRectangle::isVisible()"

Definition at line 131 of file MyGUI_ICroppedRectangle.h.

bool MyGUI::ICroppedRectangle::isVisible ( ) const [inline]

Return true if visible

Definition at line 65 of file MyGUI_ICroppedRectangle.h.

virtual void MyGUI::ICroppedRectangle::setAlign ( Align  _value) [inline, virtual]

Set align

Reimplemented in MyGUI::Widget.

Definition at line 80 of file MyGUI_ICroppedRectangle.h.

virtual void MyGUI::ICroppedRectangle::setCoord ( const IntCoord _value) [inline, virtual]
virtual void MyGUI::ICroppedRectangle::setPosition ( const IntPoint _value) [inline, virtual]
virtual void MyGUI::ICroppedRectangle::setSize ( const IntSize _value) [inline, virtual]
virtual void MyGUI::ICroppedRectangle::setVisible ( bool  _value) [inline, virtual]

Hide or show

Reimplemented in MyGUI::EditText, MyGUI::MenuCtrl, MyGUI::SubSkin, MyGUI::TileRect, MyGUI::Widget, and MyGUI::Window.

Definition at line 63 of file MyGUI_ICroppedRectangle.h.

void MyGUI::ICroppedRectangle::show ( ) [inline]
Deprecated:
"use : void ICroppedRectangle::setVisible(bool _visible)"

Definition at line 127 of file MyGUI_ICroppedRectangle.h.


Field Documentation

Definition at line 203 of file MyGUI_ICroppedRectangle.h.

Definition at line 207 of file MyGUI_ICroppedRectangle.h.

Definition at line 202 of file MyGUI_ICroppedRectangle.h.

Definition at line 205 of file MyGUI_ICroppedRectangle.h.

Definition at line 200 of file MyGUI_ICroppedRectangle.h.

Definition at line 201 of file MyGUI_ICroppedRectangle.h.

Definition at line 206 of file MyGUI_ICroppedRectangle.h.


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