![]() |
Prusa Slicer 2.6.0
|
#include <src/imgui/imgui.h>
Public Member Functions | |
| IMGUI_API | ImGuiInputTextCallbackData () |
| IMGUI_API void | DeleteChars (int pos, int bytes_count) |
| IMGUI_API void | InsertChars (int pos, const char *text, const char *text_end=NULL) |
| void | SelectAll () |
| void | ClearSelection () |
| bool | HasSelection () const |
Public Attributes | |
| ImGuiInputTextFlags | EventFlag |
| ImGuiInputTextFlags | Flags |
| void * | UserData |
| ImWchar | EventChar |
| ImGuiKey | EventKey |
| char * | Buf |
| int | BufTextLen |
| int | BufSize |
| bool | BufDirty |
| int | CursorPos |
| int | SelectionStart |
| int | SelectionEnd |
| ImGuiInputTextCallbackData::ImGuiInputTextCallbackData | ( | ) |
|
inline |
| void ImGuiInputTextCallbackData::DeleteChars | ( | int | pos, |
| int | bytes_count | ||
| ) |
References Buf, BufDirty, BufTextLen, CursorPos, IM_ASSERT, SelectionEnd, and SelectionStart.
|
inline |
| void ImGuiInputTextCallbackData::InsertChars | ( | int | pos, |
| const char * | text, | ||
| const char * | text_end = NULL |
||
| ) |
References ImGuiContext::ActiveId, Buf, ImGuiInputTextState::BufCapacityA, BufDirty, BufSize, BufTextLen, CursorPos, ImVector< T >::Data, Flags, GImGui, ImGuiInputTextState::ID, IM_ASSERT, ImClamp(), ImGuiInputTextFlags_CallbackResize, ImMax(), ImGuiContext::InputTextState, ImVector< T >::reserve(), SelectionEnd, SelectionStart, and ImGuiInputTextState::TextA.
Here is the call graph for this function:
|
inline |
| char* ImGuiInputTextCallbackData::Buf |
Referenced by DeleteChars(), ImGui::InputTextEx(), and InsertChars().
| bool ImGuiInputTextCallbackData::BufDirty |
Referenced by DeleteChars(), ImGui::InputTextEx(), and InsertChars().
| int ImGuiInputTextCallbackData::BufSize |
Referenced by ImGui::InputTextEx(), and InsertChars().
| int ImGuiInputTextCallbackData::BufTextLen |
Referenced by DeleteChars(), ImGui::InputTextEx(), and InsertChars().
| int ImGuiInputTextCallbackData::CursorPos |
Referenced by DeleteChars(), ImGui::InputTextEx(), and InsertChars().
| ImWchar ImGuiInputTextCallbackData::EventChar |
Referenced by InputTextFilterCharacter().
| ImGuiInputTextFlags ImGuiInputTextCallbackData::EventFlag |
Referenced by ImGui::InputTextEx(), and InputTextFilterCharacter().
| ImGuiKey ImGuiInputTextCallbackData::EventKey |
Referenced by ImGui::InputTextEx().
| ImGuiInputTextFlags ImGuiInputTextCallbackData::Flags |
Referenced by ImGui::InputTextEx(), InputTextFilterCharacter(), and InsertChars().
| int ImGuiInputTextCallbackData::SelectionEnd |
Referenced by DeleteChars(), ImGui::InputTextEx(), and InsertChars().
| int ImGuiInputTextCallbackData::SelectionStart |
Referenced by DeleteChars(), ImGui::InputTextEx(), and InsertChars().
| void* ImGuiInputTextCallbackData::UserData |
Referenced by ImGui::InputTextEx(), and InputTextFilterCharacter().