Trim legacy web binding and Win32 pointer state
This commit is contained in:
@@ -19,7 +19,6 @@ namespace {
|
||||
struct RetainedMainWindowSessionState final {
|
||||
HWND handle{};
|
||||
wchar_t title[512]{};
|
||||
POINT last_point{};
|
||||
bool sandboxed = false;
|
||||
};
|
||||
|
||||
@@ -170,16 +169,6 @@ void set_main_window_sandboxed(bool sandboxed) noexcept
|
||||
retained_main_window_session_state().sandboxed = sandboxed;
|
||||
}
|
||||
|
||||
POINT main_window_last_point() noexcept
|
||||
{
|
||||
return retained_main_window_session_state().last_point;
|
||||
}
|
||||
|
||||
void set_main_window_last_point(POINT point) noexcept
|
||||
{
|
||||
retained_main_window_session_state().last_point = point;
|
||||
}
|
||||
|
||||
int run_main_application(int argc, char** argv)
|
||||
{
|
||||
const auto instance = GetModuleHandle(NULL);
|
||||
|
||||
Reference in New Issue
Block a user