Skip to content

Commit

Permalink
Updated some information in the Help window.
Browse files Browse the repository at this point in the history
Started working on adding sprites and other elements in the middle of text.
  • Loading branch information
98ahni committed Dec 11, 2024
1 parent dca97e5 commit 17eaa4a
Show file tree
Hide file tree
Showing 4 changed files with 909 additions and 730 deletions.
5 changes: 5 additions & 0 deletions Source/Extensions/imguiExt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,11 @@ bool ImGui::Ext::StepInt(const char *aLabel, int& aValue, int aSmallStep, int aL
return output;
}

ImVector<ImVec2> ImGui::Ext::TextWrappedWithOverdraw(const char *fmt, va_list args)
{
return ImVector<ImVec2>();
}

bool ImGui::Ext::TabMenu(ImVector<std::string> someLabels, int *aValue)
{
bool output = false;
Expand Down
2 changes: 2 additions & 0 deletions Source/Extensions/imguiExt.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ namespace ImGui{

bool ToggleSwitch(const char* aLabel, bool* aValue);
bool StepInt(const char *aLabel, int& aValue, int aSmallStep, int aLargeStep);
// Any hash (#) or pipe (|) will be removed and hashes will be replaced with a space.
ImVector<ImVec2> TextWrappedWithOverdraw(const char* fmt, va_list args);
bool TabMenu(ImVector<std::string> someLabels, int* aValue);
}
}
16 changes: 10 additions & 6 deletions Source/Windows/Help.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ void HelpWindow::OnImGuiDraw()
EndTreeNode

StartTreeNode("Simple Text Edits");
ImGui::TextWrapped("In the Edit menu you can split lines into two where the text marker is, merge lines with their neighbors, duplicate them and switch their places. ");
ImGui::TextWrapped("In the Edit menu you can split lines into two where the text marker is, merge lines with their neighbors, duplicate them and switch their places. "
"You can also change casing, either per word to quickly change a lot of text or per letter to get into the details. ");
EndTreeNode

StartTreeNode("Document Properties");
Expand Down Expand Up @@ -113,7 +114,8 @@ void HelpWindow::OnImGuiDraw()
EndTreeNode

StartTreeNode("Settings");
ImGui::TextWrapped("In View > Settings you can set an offset to counter headphone delay, save and load internal data or restore the app to default.");
ImGui::TextWrapped("In View > Settings you can set an offset to counter headphone delay, choose audio processor to balance speed to quality and change rendering settings. "
"You can also save and load internal data to transfer your setup to another device or restore the app to default.");
EndTreeNode

StartTreeNode("Dealing with Raw Text");
Expand All @@ -128,11 +130,13 @@ void HelpWindow::OnImGuiDraw()
"A PWA looks like a normal app on your device, without most clutter of the web browser. The process vary by browser as listed below. \n");
Keybind("Chrome ", "On all chromium based browsres the install button appears in the address bar on the right side. Click that button and then confirm the install. "
"The app will open and a shortcut is added to the desktop. To uninstall, click the three dots in the upper right of the PWA and select 'Uninstall'.");
Keybind("Safari, iOS ", "Tap the [↑] Share icon then select [+] Add to Homescreen in the menu. Confirm the install and the PWA will appear on your homescreen. "
Keybind("Safari, iOS ", "Tap the [↑] Share icon then select \"[+] Add to Homescreen\" in the menu. Confirm the install and the PWA will appear on your homescreen. "
"To uninstall, remove it like a normal app. ");
Keybind("Safari, macOS", "Click the [↑] Share icon or open Safari's File menu, then select \"Add to Dock\" in the menu. Confirm the install and the PWA will appear in your dock. "
"To uninstall, remove it like a normal app. ");
Keybind("Firefox ", "You need to install an extension to use PWAs in Firefox. Install method varies depending on which one you use. ");
Keybind("Android ", "Tap the three dots in the upper right corner of the screen, then select \"[+ Install app\". Confirm the install and the PWA will appear on your homescreen. "
"To uninstall, remove it like a normal app. ");
Keybind("Safari, macOS", "(Untested) Presumably same as one of the above.");
Keybind("Firefox ", "(Unknown)");
Keybind("Android ", "(Unknown)");
EndTreeNode

StartTreeNode("Additional Tricks");
Expand Down
Loading

0 comments on commit 17eaa4a

Please sign in to comment.