| 4270 | } |
| 4271 | |
| 4272 | void IGFD::FileDialog::m_rightAlignText(const char* text, const char* maxWidthText) { |
| 4273 | const auto maxWidth = ImGui::CalcTextSize(maxWidthText).x; |
| 4274 | const auto actualWidth = ImGui::CalcTextSize(text).x; |
| 4275 | const auto spacing = maxWidth - actualWidth; |
| 4276 | if (spacing > 0.0f) { |
| 4277 | ImGui::SetCursorPosX(ImGui::GetCursorPosX() + spacing); |
| 4278 | } |
| 4279 | ImGui::TextUnformatted(text); |
| 4280 | } |
| 4281 | |
| 4282 | void IGFD::FileDialog::m_DrawFileListView(ImVec2 vSize) { |
| 4283 | auto& fdi = m_FileDialogInternal.fileManager; |
nothing calls this directly
no outgoing calls
no test coverage detected