| 4079 | } |
| 4080 | |
| 4081 | bool IGFD::FileDialog::m_DrawCancelButton() { |
| 4082 | if (IMGUI_BUTTON(cancelButtonString "##validationdialog", ImVec2(cancelButtonWidth, 0.0f)) || m_FileDialogInternal.needToExitDialog) // dialog exit asked |
| 4083 | { |
| 4084 | m_FileDialogInternal.isOk = false; |
| 4085 | return true; |
| 4086 | } |
| 4087 | |
| 4088 | #if invertOkAndCancelButtons |
| 4089 | ImGui::SameLine(); |
| 4090 | #endif |
| 4091 | |
| 4092 | return false; |
| 4093 | } |
| 4094 | |
| 4095 | bool IGFD::FileDialog::m_DrawValidationButtons() { |
| 4096 | bool res = false; |
nothing calls this directly
no outgoing calls
no test coverage detected