#include </home/zeitlin/src/wx/github/interface/wx/richtext/richtextbuffer.h>
The base class for custom drawing handlers.
Currently, drawing handlers can provide virtual attributes.
Public Member Functions | |
wxRichTextDrawingHandler (const wxString &name=wxEmptyString) | |
Creates a drawing handler object. | |
virtual bool | HasVirtualAttributes (wxRichTextObject *obj) const =0 |
Returns true if this object has virtual attributes that we can provide. | |
virtual bool | GetVirtualAttributes (wxRichTextAttr &attr, wxRichTextObject *obj) const =0 |
Provides virtual attributes that we can provide. | |
void | SetName (const wxString &name) |
Sets the name of the handler. | |
wxString | GetName () const |
Returns the name of the handler. | |
Protected Attributes | |
wxString | m_name |
wxRichTextDrawingHandler::wxRichTextDrawingHandler | ( | const wxString & | name = wxEmptyString | ) | [inline] |
Creates a drawing handler object.
wxString wxRichTextDrawingHandler::GetName | ( | ) | const [inline] |
Returns the name of the handler.
virtual bool wxRichTextDrawingHandler::GetVirtualAttributes | ( | wxRichTextAttr & | attr, |
wxRichTextObject * | obj | ||
) | const [pure virtual] |
Provides virtual attributes that we can provide.
virtual bool wxRichTextDrawingHandler::HasVirtualAttributes | ( | wxRichTextObject * | obj | ) | const [pure virtual] |
Returns true if this object has virtual attributes that we can provide.
void wxRichTextDrawingHandler::SetName | ( | const wxString & | name | ) | [inline] |
Sets the name of the handler.
wxString wxRichTextDrawingHandler::m_name [protected] |