void MouseUp() { EclButton *paramType = m_parent->GetButton( "ParameterType" ); DropDownMenu *menu = (DropDownMenu *) paramType; if( menu->GetSelectionValue() == SoundParameter::TypeLinked ) { DropDownMenu::MouseUp(); } }
void Render( int realX, int realY, bool highlighted, bool clicked ) { EclButton *paramType = m_parent->GetButton( "ParameterType" ); DropDownMenu *menu = (DropDownMenu *) paramType; if( menu->GetSelectionValue() == SoundParameter::TypeLinked ) { DropDownMenu::Render( realX, realY, highlighted, clicked ); } }