Chicane

Essential

Header
Chicane/Grid/Essential.hpp

Functions

AccessModifierTypeNameDescription
publicboolendsWith(const std::string& inTarget, const std::string& inEnding)
publicImVec4hexToImGuiColor(const std::string& inColor)
publicVec<4, std::uint32_t>hexToRgba(const std::string& inColor)
publicVec<3, std::uint32_t>hexToRgb(const std::string& inColor)
publicstd::uint32_tgetChildrenCount(const Component::Children& inChildren)
publicstd::vectorpugi::xml_nodeextractChildren(const Component::Children& inChildren)
publicfloatgetSizeFromPixel(const pugi::xml_attribute& inAttribute)
publicfloatcalculateSizeFromViewportHeight(float inVhValue)
publicfloatgetSizeFromViewportHeight(const pugi::xml_attribute& inAttribute)
publicfloatcalculateSizeFromViewportWidth(float inVwValue)
publicfloatgetSizeFromViewportWidth(const pugi::xml_attribute& inAttribute)
publicpugi::xml_attributegetAttribute(const std::string& inName, const pugi::xml_node& inNode)
publicfloatgetSize(const std::string& inValue, Style::Direction inDirection, Style::Position inPosition)
publicfloatgetSize(const std::string& inAttributeName, const pugi::xml_node& inNode)
publicboolhasViews()
publicvoidaddView(View* inView)
publicvoidaddView(const std::vector<View*>& inViews)
publicView*getActiveView()
publicstd::stringgetActiveViewId()
publicvoidsetActiveView(const std::string& inViewID)
publicvoidexecOnTick(const pugi::xml_node& inNode)
publicvoidcompileChildren(const pugi::xml_node& inNode)
publicvoidcompileChild(const pugi::xml_node& inNode)
publicstd::stringanyToString(const Reference& inValue)
publicComponent::FunctionDataparseFunction(const std::string& inRefValue)
publicbooldoesTextContainsReference(const std::string& inText);
publicbooldoesTextContainsFunction(const std::string& inRefValue)
publicReferenceparseReference(const std::string& inRefValue)
publicstd::stringparseText(const std::string& inText)
publicstd::vector<Reference>getItems(const pugi::xml_node& inNode)
publicComponent::FunctiongetItemGetter(const pugi::xml_node& inNode)

Properties

AccessModifierTypeNameDescription
publicconstexpr const char*REF_VALUE_OPENING
publicconstexpr const char*REF_VALUE_CLOSING
publicconstexpr const charFUNCTION_PARAMS_OPENING
publicconstexpr const charFUNCTION_PARAMS_CLOSING
publicconstexpr const char*IS_VISIBLE_ATTRIBUTE_NAME
publicconstexpr const char*ID_ATTRIBUTE_NAME
publicconstexpr const char*ON_TICK_ATTRIBUTE
publicconstexpr const char*ITEMS_ATTRIBUTE_NAME
publicconstexpr const char*ITEM_GETTER_ATTRIBUTE_NAME
publicconstexpr const char*AUTO_SIZE_UNIT
publicconstexpr const char*PIXEL_SIZE_UNIT
publicconstexpr const char*PERCENTAGE_SIZE_UNIT
publicconstexpr const char*VIEWPORT_HEIGHT_SIZE_UNIT
publicconstexpr const char*VIEWPORT_WIDTH_SIZE_UNIT