Skip to content

Commit

Permalink
Further improvements to UI elements at lower res
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemony committed May 16, 2024
1 parent e357a7f commit a714e3d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/tabs/about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ SKIF_UI_Tab_DrawAbout (void)

SKIF_ImGui_Spacing ( );

ImGui::TextWrapped ("You are looking at the Special K Injection Frontend app, commonly referred to as \"SKIF\". "
"This app is used to inject Special K into launched games, or even into games that are already running!\n\n"
"The frontend also provides convenient alternative launch options, shortcuts to various useful resources, and a few other useful things.");
ImGui::TextWrapped ("You are looking at the Special K Injection Frontend app, commonly shortened as 'SKIF'. "
"This app injects Special K into any games launched from it, or even into games that are already running!\n\n"
"The frontend also provides convenient alternative launch options, shortcuts to useful resources, and a few other helpful things.");
};

SKIF_ImGui_Spacing ( );
Expand Down
16 changes: 9 additions & 7 deletions src/tabs/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1447,14 +1447,14 @@ SKIF_UI_Tab_DrawSettings (void)
ImGui::TextColored (ImGui::GetStyleColorVec4 (ImGuiCol_SKIF_Info), ICON_FA_LIGHTBULB);
SKIF_ImGui_SetHoverTip ("This enables the use of Xbox controllers to navigate within this app.");

if ( ImGui::Checkbox ( "Automatically install new updates", &_registry.bAutoUpdate ) )
_registry.regKVAutoUpdate.putData ( _registry.bAutoUpdate);
if ( ImGui::Checkbox ( "Automatically install new updates", &_registry.bAutoUpdate ) )
_registry.regKVAutoUpdate.putData ( _registry.bAutoUpdate);

if ( ImGui::Checkbox ( "Always open this app on the same monitor as the mouse", &_registry.bOpenAtCursorPosition ) )
_registry.regKVOpenAtCursorPosition.putData ( _registry.bOpenAtCursorPosition );
if ( ImGui::Checkbox ( "Open this app on the same monitor as the " ICON_FA_ARROW_POINTER, &_registry.bOpenAtCursorPosition ) )
_registry.regKVOpenAtCursorPosition.putData ( _registry.bOpenAtCursorPosition );

if ( ImGui::Checkbox ( "Always open this app in the smaller service mode view", &_registry.bOpenInServiceMode) )
_registry.regKVOpenInServiceMode.putData ( _registry.bOpenInServiceMode);
if ( ImGui::Checkbox ( "Open this app in the smaller service mode view", &_registry.bOpenInServiceMode) )
_registry.regKVOpenInServiceMode.putData ( _registry.bOpenInServiceMode);

/*
if (! SKIF_Util_GetDragFromMaximized ( ))
Expand All @@ -1472,10 +1472,12 @@ SKIF_UI_Tab_DrawSettings (void)
}
*/

if (ImGui::Checkbox ("Do not stop the injection service when this app closes",
if (ImGui::Checkbox ("Do not stop the injection service on exit",
&_registry.bAllowBackgroundService))
_registry.regKVAllowBackgroundService.putData ( _registry.bAllowBackgroundService);

SKIF_ImGui_SetHoverTip ("This allows the injection service to remain running even after this app has been closed.");

if (_registry.bCloseToTray)
{
ImGui::BeginGroup ( );
Expand Down

0 comments on commit a714e3d

Please sign in to comment.