-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🤏 [VideoExportOverwriteBehavior] Tweak text in UI
- Loading branch information
1 parent
fdcb8b9
commit 16b6019
Showing
7 changed files
with
49 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#include "VideoExportOverwriteBehaviour.h" | ||
#include "Cool/ImGui/ImGuiExtras.h" | ||
|
||
namespace Cool { | ||
|
||
auto imgui_widget(VideoExportOverwriteBehaviour& behaviour) -> bool | ||
{ | ||
bool const b = ImGui::Combo( | ||
"Overwrite mode", | ||
reinterpret_cast<int*>(&behaviour), // NOLINT(*reinterpret-cast) | ||
"Ask before creating a new folder\0" | ||
"Ask before overwriting the previous frames\0" | ||
"Always create a new folder\0" | ||
"Always overwrite the previous frames\0" | ||
"\0" | ||
); | ||
ImGuiExtras::help_marker( | ||
R"STR(What happens when trying to export in a folder that already contains some frames. | ||
You can either: | ||
- Create a new empty folder and export your frames there | ||
- Reuse the same folder, in which case the existing frames will get overwritten as new frames get exported)STR" | ||
); | ||
return b; | ||
} | ||
|
||
} // namespace Cool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters