#include <xorrectangle.h>
Public Member Functions | |
XORRectangle (GtkWidget *widget) | |
~XORRectangle () | |
void | set (Rectangle rectangle) |
Private Member Functions | |
bool | initialised () const |
void | lazy_init () |
void | draw () const |
Private Attributes | |
Rectangle | m_rectangle |
GtkWidget * | m_widget |
GdkGC * | m_gc |
Definition at line 66 of file xorrectangle.h.
XORRectangle::XORRectangle | ( | GtkWidget * | widget | ) | [inline] |
Definition at line 102 of file xorrectangle.h.
XORRectangle::~XORRectangle | ( | ) | [inline] |
Definition at line 106 of file xorrectangle.h.
References initialised(), and m_gc.
void XORRectangle::draw | ( | ) | const [inline, private] |
Definition at line 92 of file xorrectangle.h.
References float_to_integer(), Rectangle::h, m_gc, m_rectangle, m_widget, Rectangle::w, Rectangle::x, and Rectangle::y.
Referenced by set().
bool XORRectangle::initialised | ( | ) | const [inline, private] |
Definition at line 73 of file xorrectangle.h.
References m_gc.
Referenced by lazy_init(), and ~XORRectangle().
void XORRectangle::lazy_init | ( | ) | [inline, private] |
Definition at line 77 of file xorrectangle.h.
References initialised(), m_gc, and m_widget.
Referenced by set().
void XORRectangle::set | ( | Rectangle | rectangle | ) | [inline] |
Definition at line 112 of file xorrectangle.h.
References draw(), lazy_init(), m_rectangle, and m_widget.
GdkGC* XORRectangle::m_gc [private] |
Definition at line 71 of file xorrectangle.h.
Referenced by draw(), initialised(), lazy_init(), and ~XORRectangle().
Rectangle XORRectangle::m_rectangle [private] |
Definition at line 68 of file xorrectangle.h.
GtkWidget* XORRectangle::m_widget [private] |
Definition at line 70 of file xorrectangle.h.
Referenced by draw(), lazy_init(), and set().