Dim loader buttons while installing
This commit is contained in:
1 parent
40a904ed53
commit
b2ec20ddf9
4 files changed
+43
-10
No files matched your search
@@ -28,6 +28,9 @@ void App::RunAction(int index)
|
||||
}
|
||||
|
||||
busy = true;
|
||||
activeButton = index;
|
||||
InvalidateRect(hwnd, nullptr, FALSE);
|
||||
UpdateWindow(hwnd);
|
||||
switch (index) {
|
||||
case 0:
|
||||
LegacyXor();
|
||||
@@ -54,6 +57,7 @@ void App::RunAction(int index)
|
||||
break;
|
||||
}
|
||||
busy = false;
|
||||
activeButton = -1;
|
||||
InvalidateRect(hwnd, nullptr, FALSE);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user