EnumProperty::EnumProperty(const EnumProperty& other) : TPropertyField<int>(other) { InitializeControls(); }
SpriteEditWindow::SpriteEditWindow( AUI_ERRCODE *retval, uint32 id, MBCHAR *ldlBlock, sint32 bpp, AUI_WINDOW_TYPE type ) : C3Window(retval, id, ldlBlock, bpp, type) { m_Load=NULL; m_Save=NULL; m_drawX=400; m_drawY=300; m_largeSurface = NULL; m_largeImage = NULL; *retval = InitCommonLdl(ldlBlock); Assert( AUI_SUCCESS(*retval) ); if ( !AUI_SUCCESS(*retval) ) return; m_largeSurface = NULL; InitializeControls(retval,ldlBlock); m_loopInProgress =false; m_stopAfterLoop =true; m_lastTime =0; m_facing =k_DEFAULTSPRITEFACING; m_frame =0; m_animation =UNITACTION_MOVE; m_currentAnim =NULL; m_actionObj = new Action(); aui_Dimension *dimension=GetDim(); if (dimension!=NULL) { sint32 height=dimension->VerticalSizeData(); m_mouseChangeY = g_ScreenHeight-height; Move(0,m_mouseChangeY); Resize(g_ScreenWidth,height); } dimension=m_largeImage->GetDim(); if (dimension!=NULL) { sint32 height=dimension->VerticalSizeData(); sint32 width =dimension->HorizontalSizeData(); sint32 posX=dimension->HorizontalPositionData(); m_largeImage->Move(posX,g_ScreenHeight-height); m_largeRectAbs.left = posX; m_largeRectAbs.top = g_ScreenHeight-height; m_largeRectAbs.right = posX+width; m_largeRectAbs.bottom = m_largeRectAbs.top+height; m_largeRect.left = 0; m_largeRect.top = 0; m_largeRect.right = width; m_largeRect.bottom = height; } m_currentSprite=NULL; m_spriteSurface=NULL; g_compression_buff = new unsigned char[COM_BUFF_SIZE]; LoadSprite("GU02"); }
BorderFProperty::BorderFProperty(const BorderFProperty& other) : IPropertyField(other) { InitializeControls(); }
void BorderFProperty::CopyData(const Actor& otherActor) { IPropertyField::CopyData(otherActor); InitializeControls(); }
tcSubPanel::tcSubPanel(wxWindow* parent, const wxString& table_) : tcBasePanel(parent, table_, "SubPanel") { InitializeControls(); }