Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
shkyera::style Namespace Reference

Functions

void loadFonts (const std::string &path)
 

Variables

ImFontSMALL_FONT = nullptr
 
ImFontNORMAL_FONT = nullptr
 
ImFontBIG_FONT = nullptr
 
ImFontHUGE_FONT = nullptr
 
const ImVec4 BACKGROUND_COLOR = ImVec4(0.15f, 0.15f, 0.15f, 1.0f)
 
const ImVec4 TEXT_COLOR = ImVec4(0.86f, 0.86f, 0.86f, 1.0f)
 
const ImVec4 DISABLED_TEXT_COLOR = ImVec4(0.86f, 0.93f, 0.89f, 0.28f)
 
const ImVec4 ACCENT_COLOR = ImVec4(0.22f, 0.14f, 0.7f, 1.0f)
 
const ImVec4 STRONG_ACCENT_COLOR = ImVec4(0.46f, 0.02f, 0.9f, 1.0f)
 
const ImVec4 GREY = ImVec4(0.3f, 0.3f, 0.3f, 1.0f)
 
const ImVec4 LIGHT_GREY = ImVec4(0.8f, 0.8f, 0.8f, 1.0f)
 
const ImVec4 DARK_ACCENT = ImVec4(0.05f, 0.05f, 0.05f, 1.0f)
 
const ImVec4 BLACK = ImVec4(0.0f, 0.0f, 0.0f, 0.0f)
 

Function Documentation

◆ loadFonts()

void shkyera::style::loadFonts ( const std::string &  path)

< A smaller font used in the UI.

< The normal font used in the UI.

< A larger font used in the UI.

< An even larger font used in the UI.

Variable Documentation

◆ ACCENT_COLOR

const ImVec4 shkyera::style::ACCENT_COLOR = ImVec4(0.22f, 0.14f, 0.7f, 1.0f)

◆ BACKGROUND_COLOR

const ImVec4 shkyera::style::BACKGROUND_COLOR = ImVec4(0.15f, 0.15f, 0.15f, 1.0f)

◆ BIG_FONT

ImFont * shkyera::style::BIG_FONT = nullptr

◆ BLACK

const ImVec4 shkyera::style::BLACK = ImVec4(0.0f, 0.0f, 0.0f, 0.0f)

◆ DARK_ACCENT

const ImVec4 shkyera::style::DARK_ACCENT = ImVec4(0.05f, 0.05f, 0.05f, 1.0f)

◆ DISABLED_TEXT_COLOR

const ImVec4 shkyera::style::DISABLED_TEXT_COLOR = ImVec4(0.86f, 0.93f, 0.89f, 0.28f)

◆ GREY

const ImVec4 shkyera::style::GREY = ImVec4(0.3f, 0.3f, 0.3f, 1.0f)

◆ HUGE_FONT

ImFont * shkyera::style::HUGE_FONT = nullptr

◆ LIGHT_GREY

const ImVec4 shkyera::style::LIGHT_GREY = ImVec4(0.8f, 0.8f, 0.8f, 1.0f)

◆ NORMAL_FONT

ImFont * shkyera::style::NORMAL_FONT = nullptr

◆ SMALL_FONT

ImFont * shkyera::style::SMALL_FONT = nullptr

◆ STRONG_ACCENT_COLOR

const ImVec4 shkyera::style::STRONG_ACCENT_COLOR = ImVec4(0.46f, 0.02f, 0.9f, 1.0f)

◆ TEXT_COLOR

const ImVec4 shkyera::style::TEXT_COLOR = ImVec4(0.86f, 0.86f, 0.86f, 1.0f)