#include <point.hh>
Definition at line 12 of file point.hh.
Public Methods | |
Point () | |
Constructs a new Point with 0,0 values. | |
Point (int x, int y) | |
Constructs a new Point with given values. | |
void | setX (int x) |
Changes the x value to the new value specified. | |
int | x () const |
Returns the x value. | |
void | setY (int y) |
Changes the y value to the new value specified. | |
int | y () const |
Returns the y value. | |
void | setPoint (int x, int y) |
Changes the x and y values. | |
Private Attributes | |
int | _x |
The x value. | |
int | _y |
The y value. |
|
Constructs a new Point with 0,0 values.
Definition at line 21 of file point.hh.
|
|
Constructs a new Point with given values.
Definition at line 23 of file point.hh. References y().
|
|
Changes the x and y values.
Definition at line 36 of file point.hh. Referenced by ob::Client::internal_resize(), and ob::Client::updateNormalHints().
|
|
Changes the x value to the new value specified.
Definition at line 26 of file point.hh.
00026 { _x = x; } |
|
Changes the y value to the new value specified.
Definition at line 31 of file point.hh.
00031 { _y = y; } |
|
Returns the x value.
Definition at line 28 of file point.hh. Referenced by otk::Rect::contains(), otk::Surface::createObjects(), ob::Client::internal_resize(), ob::Actions::motionHandler(), ob::MouseData::MouseData(), otk::Widget::move(), otk::Widget::resize(), otk::Rect::setCoords(), otk::Widget::setGeometry(), otk::Surface::setPixmap(), otk::Rect::setPos(), otk::Rect::setSize(), ob::Client::setupDecorAndFunctions(), and otk::Surface::width().
00028 { return _x; } |
|
Returns the y value.
Definition at line 33 of file point.hh. Referenced by otk::Rect::contains(), otk::Surface::createObjects(), otk::Surface::height(), ob::Client::internal_resize(), ob::Actions::motionHandler(), ob::MouseData::MouseData(), otk::Widget::move(), Point(), otk::Widget::resize(), otk::Rect::setCoords(), otk::Widget::setGeometry(), otk::Surface::setPixmap(), otk::Rect::setPos(), otk::Rect::setSize(), and ob::Client::setupDecorAndFunctions().
00033 { return _y; } |
|
The x value.
|
|
The y value.
|