From 461714cc87549f3c0c3411bfe95f3936aca60f74 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 6 Jan 2023 12:31:13 -0800 Subject: GUI: Persist transcription app config The configuration of the transcription app, such as the number of rows and columns in the text box, now persists across app restarts. I found that I would have to change from the defaults to my preferred config every time I started up in VR, which was annoying. Now we just start with the config that was set last time. * Add dependency on rapidyaml (MIT) * Serialize transcription config to file under Resources/ * Add Config class to wrap serializing/deserializing * Update build instructions * Simplify StartApp() API, taking Config struct instead of a ton of arguments --- GUI/README.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'GUI/README.md') diff --git a/GUI/README.md b/GUI/README.md index 15862b7..d2fa999 100644 --- a/GUI/README.md +++ b/GUI/README.md @@ -1,23 +1,24 @@ ## Build instructions -0. Open Powershell. -1. Make sure you've downloaded submodules: +0. Install build dependencies: git, python3, Visual Studio 2022 +1. Open Powershell. +2. Make sure you've downloaded submodules: ``` $ git submodule init $ git submodule update ``` -2. Execute Libraries/fetch.ps1. -3. Open Libraries/wx/build/msw/wx\_vc17.sln with Visual Studio 2022. -4. Select every project in the Solution Explorer except for _custom_build. -5. Right click, select Properties, go to C/C++, Code Generation, and set +3. Execute Libraries/fetch.ps1. +4. Open Libraries/wx/build/msw/wx\_vc17.sln with Visual Studio 2022. +5. Select every project in the Solution Explorer except for _custom_build. +6. Right click, select Properties, go to C/C++, Code Generation, and set Runtime Library to Multi-threaded (/MT). Make sure this applies to the configuration x64/Release. -6. Build x64/Release. +7. Build x64/Release. 1. The build configuration is in the top. By default it's probably Debug/x64. 2. To build: ctrl+shift+B -7. Open GUI/GUI.sln with Visual Studio 2022. -8. Build x64/Release. -9. Run package.ps1 from powershell. +8. Open GUI/GUI.sln with Visual Studio 2022. +9. Build x64/Release. +10. Run package.ps1 from powershell. ## High level design -- cgit v1.2.3