mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-02 11:36:30 +03:00
Added Auto Padding options for skins.
This commit is contained in:
@@ -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++ ) {
|
||||
|
||||
Reference in New Issue
Block a user