Changed: Minor changes
--HG-- branch : develop
This commit is contained in:
parent
2baddc78ac
commit
9e74adee86
2 changed files with 44 additions and 42 deletions
|
@ -1961,6 +1961,7 @@ namespace NLGUI
|
||||||
}
|
}
|
||||||
while (cb);
|
while (cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check if screen size changed
|
// Check if screen size changed
|
||||||
uint32 w, h;
|
uint32 w, h;
|
||||||
CViewRenderer::getInstance()->checkNewScreenSize ();
|
CViewRenderer::getInstance()->checkNewScreenSize ();
|
||||||
|
@ -1983,6 +1984,7 @@ namespace NLGUI
|
||||||
_BProp = CDBManager::getInstance()->getDbProp("UI:SAVE:COLOR:B");
|
_BProp = CDBManager::getInstance()->getDbProp("UI:SAVE:COLOR:B");
|
||||||
_AProp = CDBManager::getInstance()->getDbProp("UI:SAVE:COLOR:A");
|
_AProp = CDBManager::getInstance()->getDbProp("UI:SAVE:COLOR:A");
|
||||||
}
|
}
|
||||||
|
|
||||||
setGlobalColor(NLMISC::CRGBA(
|
setGlobalColor(NLMISC::CRGBA(
|
||||||
(uint8)_RProp->getValue32(),
|
(uint8)_RProp->getValue32(),
|
||||||
(uint8)_GProp->getValue32(),
|
(uint8)_GProp->getValue32(),
|
||||||
|
|
Loading…
Reference in a new issue