PNTK
|
#include <gui_point.h>
Public Member Functions | |
gui_point () | |
gui_point (const gui_vector &v) | |
gui_point (int x, int y) | |
![]() | |
gui_vector (int x, int y) | |
int | get_x () const |
int | get_y () const |
void | set_x (int x) |
void | set_y (int y) |
void | set (int x, int y) |
void | change_x (int value) |
void | change_y (int value) |
bool | operator== (const gui_vector &rhs) const |
bool | operator!= (const gui_vector &rhs) const |
bool | operator< (const gui_vector &rhs) const |
bool | operator> (const gui_vector &rhs) const |
bool | operator<= (const gui_vector &rhs) const |
bool | operator>= (const gui_vector &rhs) const |
void | operator+= (const gui_vector &rhs) |
void | operator-= (const gui_vector &rhs) |
void | operator*= (const gui_vector &rhs) |
void | operator*= (int rhs) |
void | operator/= (const gui_vector &rhs) |
void | operator/= (int rhs) |
gui_vector | operator+ (const gui_vector &rhs) const |
gui_vector | operator- (const gui_vector &rhs) const |
gui_vector | operator* (const gui_vector &rhs) const |
gui_vector | operator* (int rhs) const |
gui_vector | operator/ (const gui_vector &rhs) const |
gui_vector | operator/ (int rhs) const |
A portable x and y class to deal with positional coordinates of widgets.
pntk::gui_point::gui_point | ( | ) |
Creates a point object with an x and y of 0
pntk::gui_point::gui_point | ( | const gui_vector & | v | ) |
Creates a point object from a vector object.
pntk::gui_point::gui_point | ( | int | x, |
int | y | ||
) |
Creates a point object with the given x and y