Added custom properties to style definitions and style sheets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -179,6 +179,21 @@ public:
|
||||
Sets the attributes for this style.
|
||||
*/
|
||||
void SetStyle(const wxTextAttr& style);
|
||||
|
||||
/**
|
||||
Returns the definition's properties.
|
||||
*/
|
||||
wxRichTextProperties& GetProperties();
|
||||
|
||||
/**
|
||||
Returns the definition's properties.
|
||||
*/
|
||||
const wxRichTextProperties& GetProperties() const;
|
||||
|
||||
/**
|
||||
Sets the definition's properties.
|
||||
*/
|
||||
void SetProperties(const wxRichTextProperties& props);
|
||||
};
|
||||
|
||||
|
||||
@@ -662,5 +677,20 @@ public:
|
||||
Sets the style sheet's name.
|
||||
*/
|
||||
void SetName(const wxString& name);
|
||||
|
||||
/**
|
||||
Returns the sheet's properties.
|
||||
*/
|
||||
wxRichTextProperties& GetProperties();
|
||||
|
||||
/**
|
||||
Returns the sheet's properties.
|
||||
*/
|
||||
const wxRichTextProperties& GetProperties() const;
|
||||
|
||||
/**
|
||||
Sets the sheet's properties.
|
||||
*/
|
||||
void SetProperties(const wxRichTextProperties& props);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user