Version: 2.9.4
Public Member Functions | Protected Attributes
wxRichTextDrawingHandler Class Reference

#include </home/zeitlin/src/wx/github/interface/wx/richtext/richtextbuffer.h>

Inheritance diagram for wxRichTextDrawingHandler:

Detailed Description

The base class for custom drawing handlers.

Currently, drawing handlers can provide virtual attributes.

Library:  wxRichText
Category:  Rich Text
参照:
wxRichTextBuffer, wxRichTextCtrl

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

List of all members.


Constructor & Destructor Documentation

wxRichTextDrawingHandler::wxRichTextDrawingHandler ( const wxString name = wxEmptyString) [inline]

Creates a drawing handler object.


Member Function Documentation

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.


Member Data Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines