104 lines
2.0 KiB
C
104 lines
2.0 KiB
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <imgui.h>
|
||
|
|
|
||
|
|
namespace XCEngine {
|
||
|
|
namespace Editor {
|
||
|
|
namespace UI {
|
||
|
|
|
||
|
|
inline ImVec2 DockHostFramePadding() {
|
||
|
|
return ImVec2(4.0f, 2.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 DockHostItemInnerSpacing() {
|
||
|
|
return ImVec2(0.0f, 4.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline float DockHostWindowBorderSize() {
|
||
|
|
return 0.0f;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline float DockHostTabBarBorderSize() {
|
||
|
|
return 0.0f;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline float DockHostTabBarOverlineSize() {
|
||
|
|
return 0.0f;
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabColor() {
|
||
|
|
return ImVec4(0.17f, 0.17f, 0.17f, 1.00f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabHoveredColor() {
|
||
|
|
return ImVec4(0.21f, 0.21f, 0.21f, 1.00f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabSelectedColor() {
|
||
|
|
return ImVec4(0.24f, 0.24f, 0.24f, 1.00f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabSelectedOverlineColor() {
|
||
|
|
return ImVec4(0.62f, 0.62f, 0.62f, 0.70f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabDimmedColor() {
|
||
|
|
return ImVec4(0.16f, 0.16f, 0.16f, 1.00f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabDimmedSelectedColor() {
|
||
|
|
return ImVec4(0.20f, 0.20f, 0.20f, 1.00f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 DockTabDimmedSelectedOverlineColor() {
|
||
|
|
return ImVec4(0.44f, 0.44f, 0.44f, 0.55f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 PanelWindowPadding() {
|
||
|
|
return ImVec2(0.0f, 0.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 ToolbarPadding() {
|
||
|
|
return ImVec2(8.0f, 6.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 ToolbarItemSpacing() {
|
||
|
|
return ImVec2(6.0f, 6.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 DefaultPanelContentPadding() {
|
||
|
|
return ImVec2(8.0f, 6.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 InspectorPanelContentPadding() {
|
||
|
|
return ImVec2(10.0f, 0.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec2 AssetPanelContentPadding() {
|
||
|
|
return ImVec2(10.0f, 10.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 ToolbarBackgroundColor() {
|
||
|
|
return ImVec4(0.19f, 0.19f, 0.19f, 1.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImU32 PanelDividerColor() {
|
||
|
|
return IM_COL32(36, 36, 36, 255);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 ToolbarButtonColor(bool active) {
|
||
|
|
return active ? ImVec4(0.33f, 0.33f, 0.33f, 1.0f) : ImVec4(0.24f, 0.24f, 0.24f, 1.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 ToolbarButtonHoveredColor(bool active) {
|
||
|
|
return active ? ImVec4(0.38f, 0.38f, 0.38f, 1.0f) : ImVec4(0.30f, 0.30f, 0.30f, 1.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
inline ImVec4 ToolbarButtonActiveColor() {
|
||
|
|
return ImVec4(0.42f, 0.42f, 0.42f, 1.0f);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|