| 755 | } |
| 756 | |
| 757 | int InputTextResizeCallback(ImGuiInputTextCallbackData* data) { |
| 758 | std::string* value = (std::string*)data->UserData; |
| 759 | if (data->EventFlag == ImGuiInputTextFlags_CallbackResize) { |
| 760 | value->resize(data->BufTextLen); |
| 761 | data->Buf = (char*)value->c_str(); |
| 762 | } |
| 763 | return 0; |
| 764 | } |
| 765 | |
| 766 | bool InputString(const char* label, std::string* value, const InputOptions& options) { |
| 767 | bool dirty = false; |
nothing calls this directly
no outgoing calls
no test coverage detected