#include <CAUGuiTools.h>
Public Member Functions | |
| eRect () | |
| construct empty eRect | |
| eRect (SInt32 a, SInt32 b, SInt32 c, SInt32 d) | |
| construct eRect | |
| void | offset (SInt32 a, SInt32 b) |
| move by | |
| void | at (SInt32 a, SInt32 b) |
| move to | |
| void | size (SInt32 c, SInt32 d) |
| set height and width | |
| void | grow (SInt32 a, SInt32 b) |
| expand border by a, b pixels (width, height respectively) | |
| void | grow (SInt32 a, SInt32 b, SInt32 c, SInt32 d) |
| expand border by a, b, c, d pixels (horizontal position, vertical position, width, height respectively) | |
| void | align (CAUGuiAlign align) |
| align to self | |
| void | align (eRect *r, CAUGuiAlign align) |
| align to another erect | |
| void | set (eRect *from) |
| clone values from another erect | |
| void | set (SInt32 X, SInt32 Y, SInt32 W, SInt32 H) |
| set x, y, w, h directly | |
| void | to (Rect *r) |
| transform eRect to common Carbon Rect | |
| void | to (CGRect *r, UInt32 winH) |
| transform eRect to CoreGraphics CGRect, needs Window height | |
Public Attributes | |
| SInt32 | x |
| SInt32 | y |
| SInt32 | w |
| SInt32 | h |
an x, y, w, h dimension/position object
Definition at line 156 of file CAUGuiTools.h.
|
|
construct empty eRect
Definition at line 161 of file CAUGuiTools.h. |
|
||||||||||||||||||||
|
construct eRect
Definition at line 171 of file CAUGuiTools.h. |
|
||||||||||||
|
align to another erect
Definition at line 37 of file CAUGuiTools.cpp. |
|
|
align to self
Definition at line 25 of file CAUGuiTools.cpp. References set(). Referenced by CAUGuiScheme::get(). |
|
||||||||||||
|
move to
Definition at line 177 of file CAUGuiTools.h. |
|
||||||||||||||||||||
|
expand border by a, b, c, d pixels (horizontal position, vertical position, width, height respectively)
Definition at line 186 of file CAUGuiTools.h. |
|
||||||||||||
|
expand border by a, b pixels (width, height respectively)
Definition at line 183 of file CAUGuiTools.h. Referenced by CAUGuiCroppingImage::draw(), and CAUGuiCtrl::shrinkForeBounds(). |
|
||||||||||||
|
move by
Definition at line 174 of file CAUGuiTools.h. Referenced by CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), CAUGuiScheme::get(), and CAUGuiCtrl::setOffset(). |
|
||||||||||||||||||||
|
set x, y, w, h directly
Definition at line 198 of file CAUGuiTools.h. |
|
|
clone values from another erect
Definition at line 195 of file CAUGuiTools.h. Referenced by CAUGuiScheme::add(), align(), CAUGuiCtrl::CAUGuiCtrl(), CAUGuiLabel::CAUGuiLabel(), CAUGuiLabel::draw(), CAUGuiLayeredPane::draw(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), CAUGuiScheme::get(), CAUGuiSelector::mouseDown(), CAUGuiSlider::mouseTrack(), CAUGuiCtrl::setBounds(), and CAUGuiCtrl::setForeBounds(). |
|
||||||||||||
|
set height and width
Definition at line 180 of file CAUGuiTools.h. |
|
||||||||||||
|
transform eRect to CoreGraphics CGRect, needs Window height
Definition at line 204 of file CAUGuiTools.h. |
|
|
transform eRect to common Carbon Rect
Definition at line 201 of file CAUGuiTools.h. Referenced by CAUGuiLayeredPane::clip(), CAUGuiCtrl::clip(), CAUGuiGraphic::draw(), CAUGuiSlider::draw(), CAUGuiSelector::draw(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), CAUGuiSpinImage::draw(), CAUGuiMeter::draw(), CAUGuiKnob::draw(), CAUGuiDisplay::draw(), CAUGuiButton::draw(), CAUGuiCtrl::getBounds(), and CAUGuiCtrl::getForeBounds(). |
|
|
height Definition at line 215 of file CAUGuiTools.h. Referenced by align(), CAUGuiKnob::CAUGuiKnob(), CAUGuiLabel::CAUGuiLabel(), CAUGuiSelector::CAUGuiSelector(), CAUGuiSlider::CAUGuiSlider(), CAUGuiLabel::draw(), CAUGuiGraphic::draw(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), CAUGuiKnob::draw(), eRect(), CAUGuiScheme::getS(), grow(), CAUGuiSelector::mouseDown(), CAUGuiSlider::mouseTrack(), set(), size(), and to(). |
|
|
width Definition at line 214 of file CAUGuiTools.h. Referenced by align(), CAUGuiKnob::CAUGuiKnob(), CAUGuiLabel::CAUGuiLabel(), CAUGuiSelector::CAUGuiSelector(), CAUGuiSlider::CAUGuiSlider(), CAUGuiLabel::draw(), CAUGuiCroppingImage::draw(), CAUGuiHandleImage::draw(), CAUGuiKnob::draw(), eRect(), CAUGuiScheme::getS(), grow(), CAUGuiSelector::mouseDown(), CAUGuiSlider::mouseTrack(), CAUGuiDisplay::mouseTrack(), set(), size(), and to(). |
|
|
horizontal position Definition at line 212 of file CAUGuiTools.h. Referenced by CAUGuiLayeredPane::addCtrl(), CAUGuiCtrl::addCtrl(), CAUGuiLayeredPane::addCtrlToGroup(), align(), at(), CAUGuiLabel::draw(), CAUGuiKnob::draw(), eRect(), grow(), CAUGuiSelector::mouseDown(), PoofButton::mouseDown(), CAUGuiSlider::mouseTrack(), offset(), set(), and to(). |
|
|
vertical position Definition at line 213 of file CAUGuiTools.h. Referenced by CAUGuiLayeredPane::addCtrl(), CAUGuiCtrl::addCtrl(), CAUGuiLayeredPane::addCtrlToGroup(), align(), at(), CAUGuiLabel::draw(), CAUGuiKnob::draw(), eRect(), grow(), CAUGuiSelector::mouseDown(), PoofButton::mouseDown(), CAUGuiSlider::mouseTrack(), offset(), set(), and to(). |
| (c) 2002 - 2003 by Urs Heckmann www.u-he.com |
1.3.6