📄 ceguifalagard_xmlhandler.h
字号:
void elementHorzFormatStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening VertAlignment XML element.
*/
void elementVertAlignmentStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening HorzAlignment XML element.
*/
void elementHorzAlignmentStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening Property XML element.
*/
void elementPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening Dim XML element.
*/
void elementDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening UnifiedDim XML element.
*/
void elementUnifiedDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening AbsoluteDim XML element.
*/
void elementAbsoluteDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening ImageDim XML element.
*/
void elementImageDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening WidgetDim XML element.
*/
void elementWidgetDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening FontDim XML element.
*/
void elementFontDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening PropertyDim XML element.
*/
void elementPropertyDimStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening Text XML element.
*/
void elementTextStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening ColourProperty XML element.
*/
void elementColourPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening ColourRectProperty XML element.
*/
void elementColourRectPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening NamedArea XML element.
*/
void elementNamedAreaStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening PropertyDefinition XML element.
*/
void elementPropertyDefinitionStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening PropertyLinkDefinition XML element.
*/
void elementPropertyLinkDefinitionStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening DimOperator XML element.
*/
void elementDimOperatorStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening VertFormatProperty XML element.
*/
void elementVertFormatPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening HorzFormatProperty XML element.
*/
void elementHorzFormatPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening AreaProperty XML element.
*/
void elementAreaPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening ImageProperty XML element.
*/
void elementImagePropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening TextProperty XML element.
*/
void elementTextPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening FontProperty XML element.
*/
void elementFontPropertyStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the opening Colour XML element.
*/
void elementColourStart(const XMLAttributes& attributes);
/*!
\brief
Method that handles the closing Falagard XML element.
*/
void elementFalagardEnd();
/*!
\brief
Method that handles the closing WidgetLook XML element.
*/
void elementWidgetLookEnd();
/*!
\brief
Method that handles the closing Child XML element.
*/
void elementChildEnd();
/*!
\brief
Method that handles the closing ImagerySection XML element.
*/
void elementImagerySectionEnd();
/*!
\brief
Method that handles the closing StateImagery XML element.
*/
void elementStateImageryEnd();
/*!
\brief
Method that handles the closing Layer XML element.
*/
void elementLayerEnd();
/*!
\brief
Method that handles the closing Section XML element.
*/
void elementSectionEnd();
/*!
\brief
Method that handles the closing ImageryComponent XML element.
*/
void elementImageryComponentEnd();
/*!
\brief
Method that handles the closing TextComponent XML element.
*/
void elementTextComponentEnd();
/*!
\brief
Method that handles the closing FrameComponent XML element.
*/
void elementFrameComponentEnd();
/*!
\brief
Method that handles the closing Area XML element.
*/
void elementAreaEnd();
/*!
\brief
Method that handles the closing NamedArea XML element.
*/
void elementNamedAreaEnd();
/*!
\brief
Method that handles the closing XML for all *Dim elements.
*/
void elementAnyDimEnd();
/*!
\brief
Register a handler for the opening tag of an XML element
*/
void registerElementStartHandler(const String& element, ElementStartHandler handler);
/*!
\brief
Register a handler for the closing tag of an XML element
*/
void registerElementEndHandler(const String& element, ElementEndHandler handler);
/*************************************************************************
Implementation Data
*************************************************************************/
WidgetLookManager* d_manager;
// these are used to implement the handler without using a huge
// if / else if /else construct, we just register the element name, and
// handler member function, and everything else is done using those
// mappings.
ElementStartHandlerMap d_startHandlersMap;
ElementEndHandlerMap d_endHandlersMap;
// these hold pointers to various objects under construction.
WidgetLookFeel* d_widgetlook;
WidgetComponent* d_childcomponent;
ImagerySection* d_imagerysection;
StateImagery* d_stateimagery;
LayerSpecification* d_layer;
SectionSpecification* d_section;
ImageryComponent* d_imagerycomponent;
ComponentArea* d_area;
Dimension d_dimension;
TextComponent* d_textcomponent;
NamedArea* d_namedArea;
FrameComponent* d_framecomponent;
std::vector<BaseDim*> d_dimStack;
};
} // End of CEGUI namespace section
#endif // end of guard _CEGUIFalagard_xmlHandler_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -