comparison UIRest.cpp @ 1268:2929c4406d2c

guiwindow funcs cleanup
author Gloval
date Sat, 15 Jun 2013 01:22:17 +0400
parents fac7751b2dc9
children
comparison
equal deleted inserted replaced
1267:33e360a9b4bf 1268:2929c4406d2c
190 pGUIWindow_CurrentMenu->DrawText(pFontCreate, 350, 254, text_color, pTmpBuf.data(), 0, 0, shadow_color); 190 pGUIWindow_CurrentMenu->DrawText(pFontCreate, 350, 254, text_color, pTmpBuf.data(), 0, 0, shadow_color);
191 if ( dword_506F14 ) 191 if ( dword_506F14 )
192 Sleep6Hours(); 192 Sleep6Hours();
193 } 193 }
194 else 194 else
195 GUIWindow::Create(pButton_RestUI_Exit->uX, pButton_RestUI_Exit->uY, 0, 0, WINDOW_CloseRestWindowBtn, (int)pButton_RestUI_Exit, (int)pGlobalTXT_LocalizationStrings[81]); // "Exit Rest" 195 GUIWindow::Create(pButton_RestUI_Exit->uX, pButton_RestUI_Exit->uY, 0, 0, WINDOW_CloseRestWindowBtn,
196 (int)pButton_RestUI_Exit, pGlobalTXT_LocalizationStrings[81]); // "Exit Rest"
196 } 197 }