Added cUIAquaTheme, a wrapper to create controls for the Aqua theme.

cUITheme controls creation methods completed.
Fixed Font shadow drawing for cached fonts.
Fixed a bug on size calculation in GetSkinShapeSize on cUIControl.
This commit is contained in:
spartanj
2011-05-31 22:53:21 -03:00
parent f34c78a6b9
commit e3b57a0d00
16 changed files with 389 additions and 197 deletions

View File

@@ -42,8 +42,8 @@ void cUIManager::Init( Uint32 Flags, cWindow * window ) {
Params.Parent( NULL );
Params.PosSet( 0, 0 );
Params.SizeSet( cEngine::instance()->GetWidth(), cEngine::instance()->GetHeight() );
Params.Flags = UI_HALIGN_LEFT | UI_VALIGN_CENTER | UI_REPORT_SIZE_CHANGE_TO_CHILDS;
Params.WinFlags = cUIWindow::UI_WIN_NO_BORDER | cUIWindow::UI_WIN_RESIZEABLE;
Params.Flags = UI_CONTROL_DEFAULT_FLAGS | UI_REPORT_SIZE_CHANGE_TO_CHILDS;
Params.WinFlags = UI_WIN_NO_BORDER | UI_WIN_RESIZEABLE;
Params.MinWindowSize = eeSize( 0, 0 );
Params.DecorationSize = eeSize( 0, 0 );
Params.DecorationAutoSize = false;