MyGUI::ICroppedRectangle Class Reference

#include <MyGUI_ICroppedRectangle.h>

Inheritance diagram for MyGUI::ICroppedRectangle:
Inheritance graph
[legend]

Public Member Functions

 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
ICroppedRectanglegetCroppedParent ()
virtual void setCoord (const IntCoord &_value)
const IntCoordgetCoord ()
virtual void setPosition (const IntPoint &_value)
IntPoint getPosition ()
virtual void setSize (const IntSize &_value)
IntSize getSize ()
virtual void setVisible (bool _value)
bool isVisible ()
const IntPointgetAbsolutePosition ()
IntRect getAbsoluteRect ()
IntCoord getAbsoluteCoord ()
int getAbsoluteLeft ()
int getAbsoluteTop ()
virtual void setAlign (Align _value)
Align getAlign ()
int getLeft ()
int getRight ()
int getTop ()
int getBottom ()
int getWidth ()
int getHeight ()
bool _isMargin ()
int _getViewLeft ()
int _getViewRight ()
int _getViewTop ()
int _getViewBottom ()
int _getViewWidth ()
int _getViewHeight ()
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 ()
int _getMarginLeft ()
int _getMarginRight ()
int _getMarginTop ()
int _getMarginBottom ()
 __declspec (deprecated("use : void ICroppedRectangle::setVisible(bool _visible)")) void show()
 __declspec (deprecated("use : void ICroppedRectangle::setVisible(bool _visible)")) void hide()
 __declspec (deprecated("use : bool ICroppedRectangle::isVisible()")) 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 33 of file MyGUI_ICroppedRectangle.h.


Constructor & Destructor Documentation

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

Definition at line 36 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 43 of file MyGUI_ICroppedRectangle.h.


Member Function Documentation

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

Definition at line 131 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 129 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 127 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 142 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 192 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 137 of file MyGUI_ICroppedRectangle.h.

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

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

Definition at line 112 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 118 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 122 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 119 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 120 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 121 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 107 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 109 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 104 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 105 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 106 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 108 of file MyGUI_ICroppedRectangle.h.

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

True if rectangle is cropped by parent rectangle

Definition at line 101 of file MyGUI_ICroppedRectangle.h.

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

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

Definition at line 114 of file MyGUI_ICroppedRectangle.h.

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

Definition at line 116 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 111 of file MyGUI_ICroppedRectangle.h.

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

Get coordinate in screen coordinates

Definition at line 73 of file MyGUI_ICroppedRectangle.h.

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

Get X in screen coordinates

Definition at line 76 of file MyGUI_ICroppedRectangle.h.

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

Get position in screen coordinates

Definition at line 69 of file MyGUI_ICroppedRectangle.h.

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

Get rectangle in screen coordinates

Definition at line 71 of file MyGUI_ICroppedRectangle.h.

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

Get Y in screen coordinates

Definition at line 78 of file MyGUI_ICroppedRectangle.h.

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

Get align

Definition at line 83 of file MyGUI_ICroppedRectangle.h.

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

Get bottom y-coordinate

Definition at line 92 of file MyGUI_ICroppedRectangle.h.

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

Get coordinates (position and size)

Definition at line 51 of file MyGUI_ICroppedRectangle.h.

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

Get parent ICroppedRectangle

Definition at line 46 of file MyGUI_ICroppedRectangle.h.

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

Get height

Definition at line 96 of file MyGUI_ICroppedRectangle.h.

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

Get left x-coordinate

Definition at line 86 of file MyGUI_ICroppedRectangle.h.

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

Get position

Definition at line 56 of file MyGUI_ICroppedRectangle.h.

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

Get right x-coordinate

Definition at line 88 of file MyGUI_ICroppedRectangle.h.

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

Get size

Definition at line 61 of file MyGUI_ICroppedRectangle.h.

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

Get top y-coordinate

Definition at line 90 of file MyGUI_ICroppedRectangle.h.

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

Get width

Definition at line 94 of file MyGUI_ICroppedRectangle.h.

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

Return true if visible

Definition at line 66 of file MyGUI_ICroppedRectangle.h.

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

Set align

Reimplemented in MyGUI::Widget.

Definition at line 81 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 64 of file MyGUI_ICroppedRectangle.h.


Field Documentation

Definition at line 204 of file MyGUI_ICroppedRectangle.h.

Definition at line 208 of file MyGUI_ICroppedRectangle.h.

Definition at line 203 of file MyGUI_ICroppedRectangle.h.

Definition at line 206 of file MyGUI_ICroppedRectangle.h.

Definition at line 201 of file MyGUI_ICroppedRectangle.h.

Definition at line 202 of file MyGUI_ICroppedRectangle.h.

Definition at line 207 of file MyGUI_ICroppedRectangle.h.


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

Generated on 5 Dec 2009 for MyGUI by  doxygen 1.6.1