Mercurial > mm7
comparison GUI/GUIWindow.cpp @ 2557:bbef1435eb8d
.
author | Ritor1 |
---|---|
date | Wed, 13 May 2015 20:09:00 +0600 |
parents | 4008b2f34be0 |
children | 5d6fb8eb023c |
comparison
equal
deleted
inserted
replaced
2551:4008b2f34be0 | 2557:bbef1435eb8d |
---|---|
1244 if (pWindowList[uNextFreeWindowID] == nullptr) | 1244 if (pWindowList[uNextFreeWindowID] == nullptr) |
1245 break; | 1245 break; |
1246 } | 1246 } |
1247 | 1247 |
1248 //GUIWindow* pWindow = &pWindowList[uNextFreeWindowID]; | 1248 //GUIWindow* pWindow = &pWindowList[uNextFreeWindowID]; |
1249 pWindowList[uNextFreeWindowID] = this; | 1249 pWindowList[uNextFreeWindowID] = this;//sometimes uNextFreeWindowID == 20. it's result crash |
1250 this->uFrameWidth = uWidth; | 1250 this->uFrameWidth = uWidth; |
1251 this->uFrameHeight = uHeight; | 1251 this->uFrameHeight = uHeight; |
1252 | 1252 |
1253 this->uFrameX = uX; | 1253 this->uFrameX = uX; |
1254 this->uFrameY = uY; | 1254 this->uFrameY = uY; |