Reimplemented cScrollParallax with shapes, and added new features.

Added cUIProgressBar control.
Fixed minor bugs on the UI.
This commit is contained in:
spartanj
2010-10-16 03:48:10 -03:00
parent cb59a5275a
commit 1f8fe37edf
21 changed files with 498 additions and 106 deletions

View File

@@ -60,6 +60,13 @@ void cUICheckBox::SetTheme( cUITheme * Theme ) {
Padding( eeRectf(0,0,0,0) );
}
void cUICheckBox::OnSizeChange() {
cUITextBox::OnSizeChange();
mActiveButton->CenterVertical();
mInactiveButton->CenterVertical();
}
Uint32 cUICheckBox::OnMessage( const cUIMessage * Msg ) {
switch ( Msg->Msg() ) {
case cUIMessage::MsgClick: {