|
Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
|
#include <UIComponents.hpp>
Public Attributes | |
| std::string | label = "Button" |
| glm::vec4 | normalColor {0.15f, 0.40f, 0.70f, 1.0f} |
| glm::vec4 | hoverColor {0.20f, 0.50f, 0.80f, 1.0f} |
| glm::vec4 | pressedColor {0.10f, 0.30f, 0.60f, 1.0f} |
| glm::vec4 | textColor {1.0f, 1.0f, 1.0f, 1.0f} |
| bool | isClicked = false |
| std::string | clickEventName |
| std::string Engine::UIButtonComponent::clickEventName |
| glm::vec4 Engine::UIButtonComponent::hoverColor {0.20f, 0.50f, 0.80f, 1.0f} |
| bool Engine::UIButtonComponent::isClicked = false |
| std::string Engine::UIButtonComponent::label = "Button" |
| glm::vec4 Engine::UIButtonComponent::normalColor {0.15f, 0.40f, 0.70f, 1.0f} |
| glm::vec4 Engine::UIButtonComponent::pressedColor {0.10f, 0.30f, 0.60f, 1.0f} |
| glm::vec4 Engine::UIButtonComponent::textColor {1.0f, 1.0f, 1.0f, 1.0f} |