| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_demo.cpp | 485 ImGui::InputText("input text", str0, IM_ARRAYSIZE(str0)); 486 ImGui::SameLine(); ShowHelpMarker("USER:\nHold SHIFT or use mouse to select text.\n" "CTRL+Left/Right to word jump.\n" "CTRL+A or double-click to select all.\n" "CTRL+X,CTRL+C,CTRL+V clipboard.\n" "CTRL+Z,CTRL+Y undo/redo.\n" "ESCAPE to revert.\n\nPROGRAMMER:\nYou can use the ImGuiInputTextFlags_CallbackResize facility if you need to wire InputText() to a dynamic string type. See misc/cpp/imgui_stdlib.h for an example (this is not demonstrated in imgui_demo.cpp)."); 704 // Note that characters values are preserved even by InputText() if the font cannot be displayed, so you can safely copy & paste garbled characters into another application. 710 ImGui::InputText("UTF-8 input", buf, IM_ARRAYSIZE(buf)); 922 static char buf1[64] = ""; ImGui::InputText("default", buf1, 64); 923 static char buf2[64] = ""; ImGui::InputText("decimal", buf2, 64, ImGuiInputTextFlags_CharsDecimal); 924 static char buf3[64] = ""; ImGui::InputText("hexadecimal", buf3, 64, ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_CharsUppercase); 925 static char buf4[64] = ""; ImGui::InputText("uppercase", buf4, 64, ImGuiInputTextFlags_CharsUppercase); 926 static char buf5[64] = ""; ImGui::InputText("no blank", buf5, 64, ImGuiInputTextFlags_CharsNoBlank); 928 static char buf6[64] = ""; ImGui::InputText("\"imgu [all...] |
| H A D | imgui_memory_editor.h | 43 // - Arrows are being sent to the InputText() about to disappear which for LeftArrow makes the text cursor appear at position 1 for one frame. 44 // - Using InputText() is awkward and maybe overkill here, consider implementing something custom. 326 // FIXME: We should have a way to retrieve the text edit cursor position more easily in the API, this is rather tedious. This is such a ugly mess we may be better off not using InputText() at all here. 334 // When not editing a byte, always rewrite its content (this is a bit tricky, since InputText technically "owns" the master copy of the buffer we edit it in there) 349 if (ImGui::InputText("##data", DataInputBuf, 32, flags, UserData::Callback, &user_data)) 468 if (ImGui::InputText("##addr", AddrInputBuf, 32, ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_EnterReturnsTrue))
|
| H A D | imgui.h | 107 struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) 143 typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText*() 445 // - If you want to use InputText() with a dynamic string type such as std::string or your own, see misc/cpp/imgui_stdlib.h 446 // - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc. 447 IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 731 // Flags for ImGui::InputText() 1134 ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. 1371 bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). 1372 bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). 1413 // Shared state of InputText(), passe [all...] |
| H A D | imgui_widgets.cpp | 17 // [SECTION] Widgets: InputText, InputTextMultiline 2622 // We clear ActiveID on the first frame to allow the InputText() taking it back. 2635 // First frame we started displaying the InputText widget, we expect it to take the active id. 2672 if (InputText("", buf, IM_ARRAYSIZE(buf), flags)) // PushId(label) + "" gives us the expected ID from outside point of view 2700 if (InputText(label, buf, IM_ARRAYSIZE(buf), flags)) 2793 // Hexadecimal input provided as a convenience but the flag name is awkward. Typically you'd use InputText() to parse your own data, if you want to handle prefixes. 2820 // [SECTION] Widgets: InputText, InputTextMultiline 2822 // - InputText() 2827 bool ImGui::InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) function in class:ImGui 2897 // Wrapper for stb_textedit.h to edit text (our wrapper is for: statically sized buffer, single-line, wchar characters. InputText convert [all...] |
| H A D | imgui.cpp | 479 - 2016/03/02 (1.48) - InputText() completion/history/always callbacks: if you modify the text buffer manually (without using DeleteChars()/InsertChars() helper) you need to maintain the BufTextLen field. added an assert. 854 - To use ImGui::InputText() with a std::string or any resizable string class, see misc/cpp/imgui_stdlib.h. 2031 bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf));
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_memory_editor.h | 44 // - Arrows are being sent to the InputText() about to disappear which for LeftArrow makes the text cursor appear at position 1 for one frame. 45 // - Using InputText() is awkward and maybe overkill here, consider implementing something custom. 328 // FIXME: We should have a way to retrieve the text edit cursor position more easily in the API, this is rather tedious. This is such a ugly mess we may be better off not using InputText() at all here. 336 // When not editing a byte, always rewrite its content (this is a bit tricky, since InputText technically "owns" the master copy of the buffer we edit it in there) 351 if (ImGui::InputText("##data", DataInputBuf, 32, flags, UserData::Callback, &user_data)) 470 if (ImGui::InputText("##addr", AddrInputBuf, 32, ImGuiInputTextFlags_CharsHexadecimal | ImGuiInputTextFlags_EnterReturnsTrue))
|
| H A D | imgui.h | 107 struct ImGuiInputTextCallbackData; // Shared state of InputText() when using custom ImGuiInputTextCallback (rare/advanced use) 143 typedef int ImGuiInputTextFlags; // -> enum ImGuiInputTextFlags_ // Flags: for InputText*() 445 // - If you want to use InputText() with a dynamic string type such as std::string or your own, see misc/cpp/imgui_stdlib.h 446 // - Most of the ImGuiInputTextFlags flags are only useful for InputText() and not for InputFloatX, InputIntX, InputDouble etc. 447 IMGUI_API bool InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags = 0, ImGuiInputTextCallback callback = NULL, void* user_data = NULL); 731 // Flags for ImGui::InputText() 1134 ImGuiMouseCursor_TextInput, // When hovering over InputText, etc. 1371 bool WantCaptureKeyboard; // When io.WantCaptureKeyboard is true, imgui will use the keyboard inputs, do not dispatch them to your main game/application (in both cases, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.). 1372 bool WantTextInput; // Mobile/console: when io.WantTextInput is true, you may display an on-screen keyboard. This is set by ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active). 1413 // Shared state of InputText(), passe [all...] |
| H A D | imgui_widgets.cpp | 17 // [SECTION] Widgets: InputText, InputTextMultiline 2622 // We clear ActiveID on the first frame to allow the InputText() taking it back. 2635 // First frame we started displaying the InputText widget, we expect it to take the active id. 2672 if (InputText("", buf, IM_ARRAYSIZE(buf), flags)) // PushId(label) + "" gives us the expected ID from outside point of view 2700 if (InputText(label, buf, IM_ARRAYSIZE(buf), flags)) 2793 // Hexadecimal input provided as a convenience but the flag name is awkward. Typically you'd use InputText() to parse your own data, if you want to handle prefixes. 2820 // [SECTION] Widgets: InputText, InputTextMultiline 2822 // - InputText() 2827 bool ImGui::InputText(const char* label, char* buf, size_t buf_size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data) function in class:ImGui 2897 // Wrapper for stb_textedit.h to edit text (our wrapper is for: statically sized buffer, single-line, wchar characters. InputText convert [all...] |
| H A D | imgui.cpp | 479 - 2016/03/02 (1.48) - InputText() completion/history/always callbacks: if you modify the text buffer manually (without using DeleteChars()/InsertChars() helper) you need to maintain the BufTextLen field. added an assert. 854 - To use ImGui::InputText() with a std::string or any resizable string class, see misc/cpp/imgui_stdlib.h. 2031 bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf));
|
| /xsrc/external/mit/MesaLib.old/dist/src/intel/tools/ |
| H A D | aubinator_viewer.cpp | 891 ImGui::InputText("opcode filter", opcode_str, sizeof(opcode_str),
|
| /xsrc/external/mit/MesaLib/dist/src/intel/tools/ |
| H A D | aubinator_viewer.cpp | 889 ImGui::InputText("opcode filter", opcode_str, sizeof(opcode_str),
|