blob: 0b34e13e8462f3c0493ba593a9d82209afd261fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
// Utility class to switch visual state of dialog controls between idle and pending
class PendingState
{
std::vector<HWND> editorsWindows;
std::vector<bool> wasEnabled;
std::vector<HWND> pendingWindows;
public:
void initialize( std::initializer_list<HWND> editors, std::initializer_list<HWND> pending );
void setPending( bool nowPending );
};
|