Merged wxRichTextAttr and wxTextAttrEx into wxTextAttr, and added a font table
to wxRichTextBuffer to reduce wxFont consumption and increase performance. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -43,7 +43,7 @@ Destructor.
|
||||
|
||||
\membersection{wxRichTextListStyleDefinition::CombineWithParagraphStyle}\label{wxrichtextliststyledefinitioncombinewithparagraphstyle}
|
||||
|
||||
\func{wxRichTextAttr}{CombineWithParagraphStyle}{\param{int }{indent}, \param{const wxRichTextAttr\&}{ paraStyle}, \param{wxRichTextStyleSheet*}{ styleSheet = NULL}}
|
||||
\func{wxTextAttr}{CombineWithParagraphStyle}{\param{int }{indent}, \param{const wxTextAttr\&}{ paraStyle}, \param{wxRichTextStyleSheet*}{ styleSheet = NULL}}
|
||||
|
||||
This function combines the given paragraph style with the list style's base attributes and level style matching the given indent, returning the combined attributes.
|
||||
If {\it styleSheet} is specified, the base style for this definition will also be included in the result.
|
||||
@@ -56,21 +56,21 @@ This function finds the level (from 0 to 9) whose indentation attribute mostly c
|
||||
|
||||
\membersection{wxRichTextListStyleDefinition::GetCombinedStyle}\label{wxrichtextliststyledefinitiongetcombinedstyle}
|
||||
|
||||
\constfunc{wxRichTextAttr}{GetCombinedStyle}{\param{int }{indent}, \param{wxRichTextStyleSheet*}{ styleSheet = NULL}}
|
||||
\constfunc{wxTextAttr}{GetCombinedStyle}{\param{int }{indent}, \param{wxRichTextStyleSheet*}{ styleSheet = NULL}}
|
||||
|
||||
This function combines the list style's base attributes and the level style matching the given indent, returning the combined attributes.
|
||||
If {\it styleSheet} is specified, the base style for this definition will also be included in the result.
|
||||
|
||||
\membersection{wxRichTextListStyleDefinition::GetCombinedStyleForLevel}\label{wxrichtextliststyledefinitioncombinewithparagraphstyleforlevel}
|
||||
|
||||
\constfunc{wxRichTextAttr}{GetCombinedStyleLevel}{\param{int }{level}, \param{wxRichTextStyleSheet*}{ styleSheet = NULL}}
|
||||
\constfunc{wxTextAttr}{GetCombinedStyleLevel}{\param{int }{level}, \param{wxRichTextStyleSheet*}{ styleSheet = NULL}}
|
||||
|
||||
This function combines the list style's base attributes and the style for the specified level, returning the combined attributes.
|
||||
If {\it styleSheet} is specified, the base style for this definition will also be included in the result.
|
||||
|
||||
\membersection{wxRichTextListStyleDefinition::GetLevelAttributes}\label{wxrichtextliststyledefinitiongetlevelattributes}
|
||||
|
||||
\constfunc{const wxRichTextAttr*}{GetLevelAttributes}{\param{int }{level}}
|
||||
\constfunc{const wxTextAttr*}{GetLevelAttributes}{\param{int }{level}}
|
||||
|
||||
Returns the style for the given level. {\it level} is a number between 0 and 9.
|
||||
|
||||
@@ -90,11 +90,11 @@ Returns \true if the given level has numbered list attributes.
|
||||
|
||||
\membersection{wxRichTextListStyleDefinition::SetLevelAttributes}\label{wxrichtextliststyledefinitionsetlevelattributes}
|
||||
|
||||
\func{void}{SetLevelAttributes}{\param{int }{level}, \param{const wxRichTextAttr\&}{ attr}}
|
||||
\func{void}{SetLevelAttributes}{\param{int }{level}, \param{const wxTextAttr\&}{ attr}}
|
||||
|
||||
\func{void}{SetLevelAttributes}{\param{int }{level}, \param{int}{ leftIndent}, \param{int}{ leftSubIndent}, \param{int}{ bulletStyle}, \param{const wxString\&}{ bulletSymbol = wxEmptyString}}
|
||||
|
||||
Sets the style for the given level. {\it level} is a number between 0 and 9.
|
||||
|
||||
The first and most flexible form uses a wxRichTextAttr object, while the second form is for convenient setting of the most commonly-used attributes.
|
||||
The first and most flexible form uses a wxTextAttr object, while the second form is for convenient setting of the most commonly-used attributes.
|
||||
|
||||
|
Reference in New Issue
Block a user