Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <guidefs.h>
Public Member Functions | |
float | left (void) const |
float | right (void) const |
float | bottom (void) const |
float | top (void) const |
Point | center (void) const |
bool | inside (const Point &p) const |
void | inset (const Size &s) |
Rect | copyAndInset (const Size s) |
bool | operator== (const Rect &other) |
bool | operator!= (const Rect &other) |
Rect () | |
Rect (Point &p, Size &s) | |
Rect (float x, float y, float width, float height) | |
Public Attributes | |
Point | origin |
Size | size |
|
inline |
Definition at line 91 of file guidefs.h.
References origin, and Point::y.
Referenced by GuiTexture::draw(), drawRect(), drawRectOutline(), and inside().
|
inline |
Definition at line 122 of file guidefs.h.
References inset().
Referenced by Scroller::calcLayout(), Slider::processMouseDrag(), and StaticDisplay::setPaintTextRect().
|
inline |
Definition at line 113 of file guidefs.h.
References Size::height, origin, size, Size::width, Point::x, and Point::y.
Referenced by copyAndInset(), Slider::draw(), and Picker::draw().
|
inline |
Definition at line 83 of file guidefs.h.
References origin, and Point::x.
Referenced by GuiTexture::draw(), drawRect(), drawRectOutline(), and inside().
|
inline |
Definition at line 87 of file guidefs.h.
References origin, size, Size::width, and Point::x.
Referenced by Scroller::calcLayout(), GuiTexture::draw(), drawRect(), drawRectOutline(), inside(), and Slider::processMouseDown().
|
inline |
Definition at line 95 of file guidefs.h.
References Size::height, origin, size, and Point::y.
Referenced by Scroller::calcLayout(), Picker::cellForMouse(), GuiTexture::draw(), PaintText::drawLines(), drawRect(), drawRectOutline(), inside(), and Slider::processMouseDown().
Point Rect::origin |
Definition at line 80 of file guidefs.h.
Referenced by bottom(), Scroller::calcLayout(), center(), BaseComputer::createModeButtons(), Slider::draw(), Picker::draw(), PaintText::drawLines(), drawLowRightShadow(), drawUpLeftShadow(), Control::hitTest(), inset(), left(), operator==(), Slider::processMouseDown(), right(), and top().
Size Rect::size |
Definition at line 81 of file guidefs.h.
Referenced by Scroller::calcLayout(), PaintText::calcLayout(), center(), BaseComputer::createModeButtons(), StaticDisplay::draw(), Slider::draw(), Picker::draw(), drawLowRightShadow(), drawUpLeftShadow(), Control::hitTest(), inset(), PaintText::lineInset(), operator==(), Slider::processMouseDrag(), Picker::recalcDisplay(), right(), Picker::scrollToCell(), Slider::setRect(), Slider::setThumbLength(), and top().