Made MENU toggle property grid

This commit is contained in:
Vulpovile
2023-11-02 11:17:53 -07:00
parent c1431c8dff
commit d2bdd4e124
6 changed files with 56 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ static bool mouseMovedBeginMotion = false;
static POINT oldGlobalMouse;
Vector2 oldMouse = Vector2(0,0);
float moveRate = 0.5;
float wasPropShown = 0;
void Application::clearInstances()
{
@@ -56,7 +57,7 @@ void Application::setFocus(bool focus)
if(_propWindow != NULL)
if(focus)
{
ShowWindow(_propWindow->_hwndProp, SW_SHOW);
//ShowWindow(_propWindow->_hwndProp, SW_SHOW);
SetWindowPos(_propWindow->_hwndProp, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
}
else