Added Auto Padding options for skins.

This commit is contained in:
spartanj
2010-11-15 00:36:04 -03:00
parent 0e99579ee0
commit edf7faa2d2
27 changed files with 262 additions and 109 deletions

View File

@@ -150,6 +150,12 @@ cShape * cUISkinComplex::GetShape( const Uint32& State ) const {
return mShape[ State ][ Center ];
}
cShape * cUISkinComplex::GetShapeSide( const Uint32& State, const Uint32& Side ) {
eeASSERT ( State < cUISkinState::StateCount && Side < cUISkinComplex::SideCount );
return mShape[ State ][ Side ];
}
void cUISkinComplex::StateNormalToState( const Uint32& State ) {
if ( NULL == mShape[ State ][ 0 ] ) {
for ( Uint32 Side = 0; Side < SideCount; Side++ ) {