载入中...
搜索中...
未找到
命名空间 | |
| namespace | detail |
枚举 | |
| enum class | ControlEdit : uint8_t { Unchanged = 0 , Changed } |
| Result of drawing one immediate control in the current frame. 更多... | |
函数 | |
| ControlEdit | button (const char *label, float width=0.f, float height=0.f) |
| Shared immediate renderer for retained and EditorHost buttons. | |
| ControlEdit | checkbox (const char *label, bool &value) |
| Shared immediate renderer for retained and EditorHost checkboxes. | |
| ControlEdit | slider (const char *label, float &value, float minimum, float maximum, const char *format="%.3f") |
| Shared immediate renderer for scalar sliders. | |
| ControlEdit | combo (const char *label, int &selected, const std::vector< const char * > &items) |
| Shared immediate renderer for indexed combo boxes. | |
| ControlEdit | 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 | inputTextWithHint (const char *label, const char *hint, std::string &value) |
| UTF-8 owning single-line editor with placeholder text and automatic growth. | |
枚举类型说明
◆ ControlEdit
|
strong |
Result of drawing one immediate control in the current frame.
| 枚举值 | |
|---|---|
| Unchanged | |
| Changed | |
在文件 ControlPrimitives.h 第 12 行定义.
函数说明
◆ button()
|
inline |
Shared immediate renderer for retained and EditorHost buttons.
Button.
在文件 ControlPrimitives.h 第 15 行定义.
◆ checkbox()
|
inline |
Shared immediate renderer for retained and EditorHost checkboxes.
Checkbox.
在文件 ControlPrimitives.h 第 23 行定义.
◆ combo()
|
inline |
◆ inputText()
|
inline |
UTF-8 owning text editor with automatic buffer growth.
Input text.
在文件 ControlPrimitives.h 第 63 行定义.
引用了 Changed, label, eve::ui::controls::detail::resizeInput(), Unchanged , 以及 value.
◆ inputTextWithHint()
|
inline |
UTF-8 owning single-line editor with placeholder text and automatic growth.
在文件 ControlPrimitives.h 第 79 行定义.
引用了 Changed, label, eve::ui::controls::detail::resizeInput(), Unchanged , 以及 value.
◆ slider()
|
inline |