NcEngine
ImGuiStyle.h File Reference
#include "ncmath/Vector.h"

Go to the source code of this file.

Functions

void nc::ui::SetDefaultUIStyle ()
 Set ImGUi style using values from 'default_scheme'.
 

Variables

constexpr auto nc::ui::color::Black = Vector4{0.04f, 0.04f, 0.04f, 1.000f}
 
constexpr auto nc::ui::color::White = Vector4{1.000f, 1.000f, 1.000f, 1.000f}
 
constexpr auto nc::ui::color::Clear = Vector4{0.000f, 0.000f, 0.000f, 0.000f}
 
constexpr auto nc::ui::color::Red = Vector4{1.000f, 0.200f, 0.100f, 1.000f}
 
constexpr auto nc::ui::color::Green = Vector4{0.000f, 1.000f, 0.000f, 1.000f}
 
constexpr auto nc::ui::color::Blue = Vector4{0.000f, 0.400f, 1.000f, 1.000f}
 
constexpr auto nc::ui::default_scheme::Title = color::Black
 
constexpr auto nc::ui::default_scheme::Border = color::Black
 
constexpr auto nc::ui::default_scheme::Text = color::White
 
constexpr auto nc::ui::default_scheme::Button = Vector4{0.05f, 0.05f, 0.05f, 1.0f}
 
constexpr auto nc::ui::default_scheme::Separator = Vector4{0.410f, 0.410f, 0.410f, 0.500f}
 
constexpr auto nc::ui::default_scheme::Tabs = Vector4{0.072f, 0.072f, 0.072f, 0.750f}
 
constexpr auto nc::ui::default_scheme::WindowBG = Vector4{0.128f, 0.128f, 0.128f, 0.750f}
 
constexpr auto nc::ui::default_scheme::ChildBG = Vector4{0.145f, 0.145f, 0.145f, 0.750f}
 
constexpr auto nc::ui::default_scheme::PopupBG = Vector4{0.128f, 0.128f, 0.128f, 1.000f}
 
constexpr auto nc::ui::default_scheme::ScrollBarBG = Vector4{0.117f, 0.117f, 0.117f, 0.530f}
 
constexpr auto nc::ui::default_scheme::DimBg = Vector4{0.740f, 0.740f, 0.740f, 0.350f}
 
constexpr auto nc::ui::default_scheme::WindowHighlight = Vector4{1.000f, 1.000f, 1.000f, 0.700f}
 
constexpr auto nc::ui::default_scheme::Active = Vector4{0.610f, 0.610f, 0.610f, 0.390f}
 
constexpr auto nc::ui::default_scheme::Hovered = Vector4{0.0f, 0.0f, 0.0f, 0.590f}
 
constexpr auto nc::ui::default_scheme::Disabled = Vector4{0.348f, 0.348f, 0.348f, 1.000f}
 
constexpr auto nc::ui::default_scheme::Accent = Vector4{0.000f, 0.490f, 0.000f, 1.000f}
 
constexpr auto nc::ui::default_scheme::AccentActive = Vector4{0.000f, 0.729f, 0.000f, 1.000f}
 
constexpr auto nc::ui::default_scheme::AccentTrans = Vector4{0.000f, 0.990f, 0.000f, 0.050f}
 
constexpr auto nc::ui::default_scheme::AccentDim = Vector4{0.000f, 0.447f, 0.000f, 0.750f}
 

Detailed Description