• R/O
  • SSH
  • HTTPS

vima19: Commit


Commit MetaInfo

Revision570 (tree)
Time2022-04-04 02:02:49
Authorhgtterry

Log Message

Equity Me 030422

Change Summary

Incremental Difference

--- Equity_ME/Equity_ME/Equity_ME.cpp (revision 569)
+++ Equity_ME/Equity_ME/Equity_ME.cpp (revision 570)
@@ -181,6 +181,13 @@
181181 }
182182 break;
183183
184+ case WM_MOVING:
185+ {
186+ App->ResizeOgre_Window();
187+ Ogre::Root::getSingletonPtr()->renderOneFrame();
188+ return 0;
189+ }
190+
184191 case WM_SIZE:
185192 {
186193 App->ResizeOgre_Window();
--- Equity_ME/Equity_ME/ME_App.cpp (revision 569)
+++ Equity_ME/Equity_ME/ME_App.cpp (revision 570)
@@ -123,20 +123,20 @@
123123 //-----------------Ogre Window
124124 SetWindowPos(ViewGLhWnd, NULL, 4, 80, NewWidth + 384, NewHeight + 68, SWP_NOZORDER);
125125
126- /*if (App->OgreStarted == 1)
126+ if (App->CL_Ogre->Ogre_Started == 1)
127127 {
128128 RECT rect;
129129 GetClientRect(App->ViewGLhWnd, &rect);
130130
131- if ((rect.bottom - rect.top) != 0 && App->Cl19_Ogre->mCamera != 0)
131+ if ((rect.bottom - rect.top) != 0 && App->CL_Ogre->mCamera != 0)
132132 {
133- App->Cl19_Ogre->mWindow->windowMovedOrResized();
134- App->Cl19_Ogre->mCamera->setAspectRatio((Ogre::Real)App->Cl19_Ogre->mWindow->getWidth() / (Ogre::Real)App->Cl19_Ogre->mWindow->getHeight());
135- App->Cl19_Ogre->mCamera->yaw(Radian(0));
136- Root::getSingletonPtr()->renderOneFrame();
133+ App->CL_Ogre->mWindow->windowMovedOrResized();
134+ App->CL_Ogre->mCamera->setAspectRatio((Ogre::Real)App->CL_Ogre->mWindow->getWidth() / (Ogre::Real)App->CL_Ogre->mWindow->getHeight());
135+ App->CL_Ogre->mCamera->yaw(Ogre::Radian(0));
136+ Ogre::Root::getSingletonPtr()->renderOneFrame();
137137 }
138138
139- }*/
139+ }
140140
141141 /*App->Cl_Panels->MovePhysicsView();
142142 App->Cl_Panels->Move_FileView_Window();
Show on old repository browser