Switch around first ever launch overlay elem positions

main
Peter Repukat 3 years ago
parent 4dd0c3d5f9
commit e22263199f

@ -272,8 +272,8 @@ void HidHide::enableOverlayElement()
closeCtrlDevice(); closeCtrlDevice();
overlay_elem_clock_.restart(); overlay_elem_clock_.restart();
} }
ImGui::SetNextWindowSizeConstraints({300, 250}, {1000, 1000}); ImGui::SetNextWindowPos({650, 100}, ImGuiCond_FirstUseEver);
ImGui::SetNextWindowPos({600, 100}, ImGuiCond_FirstUseEver); ImGui::SetNextWindowSizeConstraints({400, 270}, {1000, 1000});
ImGui::Begin("Hidden Devices"); ImGui::Begin("Hidden Devices");
ImGui::BeginChild("Inner", {0.f, ImGui::GetItemRectSize().y - 64}, true); ImGui::BeginChild("Inner", {0.f, ImGui::GetItemRectSize().y - 64}, true);
std::ranges::for_each(avail_devices_, [this](const auto& device) { std::ranges::for_each(avail_devices_, [this](const auto& device) {

@ -51,8 +51,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,0,0,6700505 FILEVERSION 0,0,0,0032006
PRODUCTVERSION 0,0,0,6700505 PRODUCTVERSION 0,0,0,0032006
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -69,12 +69,12 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Peter Repukat - FlatspotSoftware" VALUE "CompanyName", "Peter Repukat - FlatspotSoftware"
VALUE "FileDescription", "GlosSI - SteamTarget" VALUE "FileDescription", "GlosSI - SteamTarget"
VALUE "FileVersion", "0.0.0.67ff5d5" VALUE "FileVersion", "0.0.0.ce32be6"
VALUE "InternalName", "GlosSITarget" VALUE "InternalName", "GlosSITarget"
VALUE "LegalCopyright", "Copyright (C) 2021 Peter Repukat - FlatspotSoftware" VALUE "LegalCopyright", "Copyright (C) 2021 Peter Repukat - FlatspotSoftware"
VALUE "OriginalFilename", "GlosSITarget.exe" VALUE "OriginalFilename", "GlosSITarget.exe"
VALUE "ProductName", "GlosSI" VALUE "ProductName", "GlosSI"
VALUE "ProductVersion", "0.0.0.67ff5d5" VALUE "ProductVersion", "0.0.0.ce32be6"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"
@ -476,6 +476,34 @@ END

@ -48,7 +48,7 @@ TargetWindow::TargetWindow(
Overlay::AddOverlayElem([this]() { Overlay::AddOverlayElem([this]() {
bool windowed_copy = windowed_; bool windowed_copy = windowed_;
ImGui::SetNextWindowPos({650, 450}, ImGuiCond_FirstUseEver); ImGui::SetNextWindowPos({window_.getSize().x - 370.f, 100}, ImGuiCond_FirstUseEver);
ImGui::Begin("Window mode"); ImGui::Begin("Window mode");
if (ImGui::Checkbox("Window mode", &windowed_copy)) { if (ImGui::Checkbox("Window mode", &windowed_copy)) {
toggle_window_mode_after_frame_ = true; toggle_window_mode_after_frame_ = true;

@ -39,7 +39,7 @@ inline DWORD ExplorerPid()
inline void AddUwpOverlayOvWidget() inline void AddUwpOverlayOvWidget()
{ {
Overlay::AddOverlayElem([]() { Overlay::AddOverlayElem([]() {
ImGui::SetNextWindowPos({950, 100}, ImGuiCond_FirstUseEver); ImGui::SetNextWindowPos({1200, 250}, ImGuiCond_FirstUseEver);
ImGui::SetNextWindowSizeConstraints({170, 225}, {1000, 1000}); ImGui::SetNextWindowSizeConstraints({170, 225}, {1000, 1000});
ImGui::SetNextWindowCollapsed(true, ImGuiCond_FirstUseEver); ImGui::SetNextWindowCollapsed(true, ImGuiCond_FirstUseEver);
ImGui::Begin("UWP-Overlay"); ImGui::Begin("UWP-Overlay");

Loading…
Cancel
Save