Added cUIComplexControl and cUITooltip. The complex controls allow to create tooltips to display when the mouse is over.

Now the controls that represent a real control ( a normal GUI control ) inherits from cUIComplexControl.
Fixed some minor bugs on the UI.
This commit is contained in:
spartanj
2010-12-27 00:21:48 -03:00
parent dc14ac7a36
commit 8cde6427f4
34 changed files with 656 additions and 85 deletions

View File

@@ -477,6 +477,7 @@ void cEETest::CreateUI() {
Button->Enabled( true );
Button->Text( L"Click Me" );
Button->AddEventListener( cUIEvent::EventMouseClick, cb::Make1( this, &cEETest::ButtonClick ) );
Button->TooltipText( L"Click and see what happens..." );
TextParams.PosSet( 130, 20 );
TextParams.Size = eeSize( 80, 22 );