mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 01:01:25 +03:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user