I made some structural changes, and i'm trying to encapsulate a little the renderer to in a future implement an OpenGL3 render, and remove the fixed pipeline.

This commit is contained in:
spartanj
2011-01-18 04:43:40 -03:00
parent ddb5dc1948
commit 2cc55ea68a
44 changed files with 884 additions and 481 deletions

View File

@@ -17,7 +17,7 @@ cUIComplexControl::~cUIComplexControl() {
}
void cUIComplexControl::Update() {
if ( NULL != mTooltip && mTooltip->Text().size() ) {
if ( mVisible && NULL != mTooltip && mTooltip->Text().size() ) {
if ( IsMouseOverMeOrChilds() ) {
eeVector2i Pos = cUIManager::instance()->GetMousePos();
Pos.x += cUIThemeManager::instance()->CursorSize().x;