|
Polyphase Game Engine
|
#include "UI/UITypes.h"#include "Nodes/Widgets/Widget.h"#include "Nodes/Widgets/Canvas.h"#include "Nodes/Widgets/Quad.h"#include "Nodes/Widgets/Text.h"#include "Nodes/Widgets/Button.h"#include "Nodes/Widgets/ArrayWidget.h"#include "Nodes/Widgets/Poly.h"#include "Nodes/Widgets/PolyRect.h"#include "AssetManager.h"#include "Assets/Texture.h"#include "Assets/Font.h"#include "Log.h"#include <cstring>#include <cstdlib>#include <cctype>#include <cmath>Functions | |
| const char * | UIElementToWidgetType (const char *elementName) |
| const char * | UIWidgetTypeToElement (const char *widgetType) |
| CSSValue | ParseCSSColor (const char *str) |
| CSSValue | ParseCSSLength (const char *str) |
| CSSValue | ParseCSSGenericValue (const char *str) |
| void | ParseInlineStyle (const char *styleStr, std::vector< std::pair< std::string, CSSValue > > &outProps) |
| void | ApplyCSSProperty (Widget *widget, const char *elementType, const std::string &propName, const CSSValue &value) |
| void ApplyCSSProperty | ( | Widget * | widget, |
| const char * | elementType, | ||
| const std::string & | propName, | ||
| const CSSValue & | value | ||
| ) |
| CSSValue ParseCSSColor | ( | const char * | str | ) |
| CSSValue ParseCSSGenericValue | ( | const char * | str | ) |
| CSSValue ParseCSSLength | ( | const char * | str | ) |
| void ParseInlineStyle | ( | const char * | styleStr, |
| std::vector< std::pair< std::string, CSSValue > > & | outProps | ||
| ) |
| const char * UIElementToWidgetType | ( | const char * | elementName | ) |
| const char * UIWidgetTypeToElement | ( | const char * | widgetType | ) |