XORRectangle Class Reference

#include <xorrectangle.h>

Collaboration diagram for XORRectangle:
Collaboration graph
[legend]

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
GtkWidgetm_widget
GdkGC * m_gc

Detailed Description

Definition at line 66 of file xorrectangle.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Field Documentation

GdkGC* XORRectangle::m_gc [private]

Definition at line 71 of file xorrectangle.h.

Referenced by draw(), initialised(), lazy_init(), and ~XORRectangle().

Definition at line 68 of file xorrectangle.h.

Referenced by draw(), and set().

Definition at line 70 of file xorrectangle.h.

Referenced by draw(), lazy_init(), and set().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2