载入中...
搜索中...
未找到
类 | |
| struct | eve::ui::ThemeLayout |
| Semantic layout tokens shared by editor-oriented widgets. 更多... | |
| struct | eve::ui::Theme |
| Unified UI design tokens (colors, geometry, typography). Applied to ImGui each frame via applyThemeToImGui; metrics are design-time units at uiScale=1 and are multiplied by the current UI scale. 更多... | |
| struct | eve::ui::StyleClass |
| Sparse reusable widget style resolved once while a retained tree is built. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::ui |
枚举 | |
| enum class | eve::ui::StyleClassStatus : uint8_t { eve::ui::Applied = 0 , eve::ui::InvalidName , eve::ui::UnknownParent , eve::ui::UnknownClass , eve::ui::UnknownProperty , eve::ui::InheritanceCycle } |
| Explicit result of a style-registry mutation. 更多... | |
函数 | |
| StyleClassStatus | eve::ui::defineStyleClass (const std::string &name, const std::string &parent="") |
| Declares or replaces one sparse style class. @thread UI thread only. @reentrancy Does not invoke callbacks. | |
| StyleClassStatus | eve::ui::setStyleClassColor (const std::string &name, const std::string &property, float r, float g, float b, float a) |
| Sets text/background/border/accent RGBA on an existing style class. | |
| StyleClassStatus | eve::ui::setStyleClassMetric (const std::string &name, const std::string &property, float x, float y=0.f) |
| Sets padding, rounding, or alpha on an existing style class. | |
| StyleClassStatus | eve::ui::resolveStyleClass (const std::string &name, StyleClass *out) |
| Resolves inheritance into a sparse class and reports an explicit lookup status. | |
| void | eve::ui::clearStyleClasses () |
| Clears user-defined style classes. Intended for runtime/test teardown. | |
| const char * | eve::ui::styleClassStatusName (StyleClassStatus status) |
| Stable script-facing spelling of a mutation status. | |
| Theme & | eve::ui::globalTheme () |
| Global theme. | |
| const std::string & | eve::ui::globalThemeName () |
| Current preset name: "dark", "light", or "custom". | |
| void | eve::ui::setGlobalTheme (const Theme &theme) |
| Sets the global theme. | |
| void | eve::ui::setGlobalTheme (const Theme &theme, const std::string &name) |
| Sets the global theme. | |
| bool | eve::ui::setThemeByName (const std::string &name) |
| Apply a named preset ("dark" / "light"). Case-insensitive. Returns false if unknown. | |
| void | eve::ui::setThemeUiScale (float scale) |
| Logical (point-space) UI scale. Default 1.0. | |
| float | eve::ui::themeUiScale () |
| Theme ui scale. | |
| void | eve::ui::setThemeDpiScale (float dpiScale) |
| Sets the theme dpi scale. | |
| float | eve::ui::themeDpiScale () |
| Theme dpi scale. | |
| void | eve::ui::applyThemeToImGui (const Theme &theme) |
| Push tokens into ImGui style. Metrics are multiplied by uiScale (default: themeUiScale()). | |
| void | eve::ui::applyThemeToImGui (const Theme &theme, float uiScale) |
| Applies theme to im gui. | |