|
The Gnome Chemistry Utils 0.12.8
|
Base class for filled items. More...
#include <fill-item.h>
Public Member Functions | |
| FillItem (Canvas *canvas) | |
| FillItem (Group *parent, ItemClient *client=NULL) | |
| virtual | ~FillItem () |
| void | SetFillColor (GOColor val) |
| GOColor | GetFillColor (void) const |
Base class for filled items.
This class has just one important member: the fill color. Although it is not a virtual class, only derived objects should be used.
Definition at line 40 of file fill-item.h.
| gccv::FillItem::FillItem | ( | Canvas * | canvas | ) |
| gccv::FillItem::FillItem | ( | Group * | parent, |
| ItemClient * | client = NULL |
||
| ) |
| parent | the Group to which the new FillItem will be added. |
| client | the ItemClient for the new FillItem if any. |
Creates a new FillItem inside parent and sets client as its associated ItemClient.
| virtual gccv::FillItem::~FillItem | ( | ) | [virtual] |
The destructor.
| gccv::FillItem::GetFillColor | ( | void | ) | const [inline] |
Definition at line 69 of file fill-item.h.
| gccv::FillItem::SetFillColor | ( | GOColor | color | ) | [inline] |
| color | the new fill color. |
Sets the fill color for the item.
Definition at line 69 of file fill-item.h.
1.7.4