#include <CEGUIFalWidgetLookManager.h>
Inheritance diagram for CEGUI::WidgetLookManager:
Public Member Functions | |
WidgetLookManager () | |
Constructor. | |
~WidgetLookManager () | |
Destructor. | |
void | parseLookNFeelSpecification (const String &filename, const String &resourceGroup="") |
Parses a file containing window look & feel specifications (in the form of XML). | |
bool | isWidgetLookAvailable (const String &widget) const |
Return whether a WidgetLookFeel has been created with the specified name. | |
const WidgetLookFeel & | getWidgetLook (const String &widget) const |
Return a const reference to a WidgetLookFeel object which has the specified name. | |
void | eraseWidgetLook (const String &widget) |
Erase the WidgetLookFeel that has the specified name. | |
void | addWidgetLook (const WidgetLookFeel &look) |
Add the given WidgetLookFeel. | |
void | writeFalagardXMLHeadToStream (OutStream &out_stream) const |
Writes the xml header and opening 'Falagard' tags to a stream. | |
void | writeFalagardXMLTailToStream (OutStream &out_stream) const |
Writes closing xml 'Falagard' tag to a stream. | |
void | writeWidgetLookToStream (const String &name, OutStream &out_stream) const |
Writes a complete Widge Look to a stream. Note that xml file header and falagard opening/closing tags will also be written. | |
void | writeWidgetLookSeriesToStream (const String &prefix, OutStream &out_stream) const |
Writes a series of complete Widge Look objects to a stream. Note that xml file header and falagard opening/closing tags will also be written. | |
Singleton (void) | |
Static Public Member Functions | |
static WidgetLookManager & | getSingleton (void) |
Return singleton WidgetLookManager object. | |
static WidgetLookManager * | getSingletonPtr (void) |
Return pointer to singleton WindowFactoryManager object. | |
Static Protected Attributes | |
static WidgetLookManager * | ms_Singleton = 0 |
Definition at line 46 of file CEGUIFalWidgetLookManager.h.
|
Constructor.
Definition at line 40 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Destructor.
Definition at line 45 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Add the given WidgetLookFeel.
Definition at line 120 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::WidgetLookFeel::getName(), CEGUI::Logger::getSingleton(), isWidgetLookAvailable(), and CEGUI::Logger::logEvent(). Referenced by CEGUI::Falagard_xmlHandler::elementEnd(). |
|
Erase the WidgetLookFeel that has the specified name.
Definition at line 106 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::Logger::getSingleton(), and CEGUI::Logger::logEvent(). |
|
Return singleton WidgetLookManager object.
Reimplemented from CEGUI::Singleton< WidgetLookManager >. Definition at line 53 of file CEGUIFalWidgetLookManager.cpp. Referenced by CEGUI::Scheme::loadResources(), CEGUI::Window::performChildWindowLayout(), CEGUI::SectionSpecification::render(), and CEGUI::Window::setLookNFeel(). |
|
Return pointer to singleton WindowFactoryManager object.
Reimplemented from CEGUI::Singleton< WidgetLookManager >. Definition at line 61 of file CEGUIFalWidgetLookManager.cpp. Referenced by CEGUI::System::~System(). |
|
Return a const reference to a WidgetLookFeel object which has the specified name.
Definition at line 94 of file CEGUIFalWidgetLookManager.cpp. Referenced by CEGUI::Window::performChildWindowLayout(), CEGUI::SectionSpecification::render(), CEGUI::Window::setLookNFeel(), and writeWidgetLookToStream(). |
|
Return whether a WidgetLookFeel has been created with the specified name.
Definition at line 89 of file CEGUIFalWidgetLookManager.cpp. Referenced by addWidgetLook(). |
|
Parses a file containing window look & feel specifications (in the form of XML).
Definition at line 66 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::String::empty(), CEGUI::Errors, CEGUI::Logger::getSingleton(), CEGUI::System::getSingleton(), CEGUI::System::getXMLParser(), CEGUI::Logger::logEvent(), and CEGUI::XMLParser::parseXMLFile(). Referenced by CEGUI::Scheme::loadResources(). |
|
Definition at line 58 of file CEGUISingleton.h. |
|
Writes the xml header and opening 'Falagard' tags to a stream.
Definition at line 131 of file CEGUIFalWidgetLookManager.cpp. Referenced by writeWidgetLookSeriesToStream(), and writeWidgetLookToStream(). |
|
Writes closing xml 'Falagard' tag to a stream.
Definition at line 139 of file CEGUIFalWidgetLookManager.cpp. Referenced by writeWidgetLookSeriesToStream(), and writeWidgetLookToStream(). |
|
Writes a series of complete Widge Look objects to a stream. Note that xml file header and falagard opening/closing tags will also be written. The prefix specifies a name prefix common to all widget looks to be written, you could specify this as "TaharezLook/" and then any defined widget look starting with that prefix, such as "TaharezLook/Button" and "TaharezLook/Listbox" will be written to the stream.
Definition at line 164 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::String::length(), writeFalagardXMLHeadToStream(), and writeFalagardXMLTailToStream(). |
|
Writes a complete Widge Look to a stream. Note that xml file header and falagard opening/closing tags will also be written.
Definition at line 145 of file CEGUIFalWidgetLookManager.cpp. References CEGUI::Errors, CEGUI::Logger::getSingleton(), getWidgetLook(), CEGUI::Logger::logEvent(), writeFalagardXMLHeadToStream(), writeFalagardXMLTailToStream(), and CEGUI::WidgetLookFeel::writeXMLToStream(). |
|
Definition at line 36 of file CEGUIFalWidgetLookManager.cpp. |