载入中...
搜索中...
未找到
#include <imgui.h>#include <cstdint>#include <string>#include <vector>命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::ui |
| namespace | eve::ui::controls |
| namespace | eve::ui::controls::detail |
枚举 | |
| enum class | eve::ui::controls::ControlEdit : uint8_t { eve::ui::controls::Unchanged = 0 , eve::ui::controls::Changed } |
| Result of drawing one immediate control in the current frame. 更多... | |
函数 | |
| ControlEdit | eve::ui::controls::button (const char *label, float width=0.f, float height=0.f) |
| Shared immediate renderer for retained and EditorHost buttons. | |
| ControlEdit | eve::ui::controls::checkbox (const char *label, bool &value) |
| Shared immediate renderer for retained and EditorHost checkboxes. | |
| ControlEdit | eve::ui::controls::slider (const char *label, float &value, float minimum, float maximum, const char *format="%.3f") |
| Shared immediate renderer for scalar sliders. | |
| ControlEdit | eve::ui::controls::combo (const char *label, int &selected, const std::vector< const char * > &items) |
| Shared immediate renderer for indexed combo boxes. | |
| int | eve::ui::controls::detail::resizeInput (ImGuiInputTextCallbackData *data) |
| Grows an owning string for ImGui's synchronous resize callback. | |
| ControlEdit | eve::ui::controls::inputText (const char *label, std::string &value, bool multiline=false, ImVec2 multilineSize=ImVec2(0.f, 96.f)) |
| UTF-8 owning text editor with automatic buffer growth. | |
| ControlEdit | eve::ui::controls::inputTextWithHint (const char *label, const char *hint, std::string &value) |
| UTF-8 owning single-line editor with placeholder text and automatic growth. | |