mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 02:56:28 +03:00
Implemented a basic PopUpMenu, still lack of some features. Moved events as protected. Fixed ChildAddAt. Some other minor fixes.
25 lines
613 B
C++
25 lines
613 B
C++
#include "cuiseparator.hpp"
|
|
|
|
namespace EE { namespace UI {
|
|
|
|
cUISeparator::cUISeparator( cUIControlAnim::CreateParams Params ) :
|
|
cUIControlAnim( Params )
|
|
{
|
|
mType |= UI_TYPE_GET( UI_TYPE_SEPARATOR );
|
|
|
|
ApplyDefaultTheme();
|
|
}
|
|
|
|
cUISeparator::~cUISeparator() {
|
|
}
|
|
|
|
void cUISeparator::SetTheme( cUITheme * Theme ) {
|
|
cUIControl::SetTheme( Theme, "separator" );
|
|
|
|
if ( NULL != mSkinState && NULL != mSkinState->GetSkin() && NULL != mSkinState->GetSkin()->GetShape( cUISkinState::StateNormal ) ) {
|
|
Size( mSize.Width(), mSkinState->GetSkin()->GetShape( cUISkinState::StateNormal )->RealSize().Height() );
|
|
}
|
|
}
|
|
|
|
}}
|