public ResizeControlState(Controls controls, StateManager stateManager, CommandManager commandManager, FlagPosition flagPosition) { m_flagPosition = flagPosition; m_controls = controls; m_stateManager = stateManager; m_commandManager = commandManager; }
public StageForm() { InitializeComponent(); m_resNames.Add("SVGA"); m_resolutions.Add(new TPoint(800, 600)); m_resNames.Add("WVGA800"); m_resolutions.Add(new TPoint(800, 480)); m_resNames.Add("WVGA854"); m_resolutions.Add(new TPoint(854, 480)); m_resNames.Add("WXGA800"); m_resolutions.Add(new TPoint(1280, 800)); m_resNames.Add("GalIII(?)"); m_resolutions.Add(new TPoint(1200, 720)); m_resNames.Add("qHD"); m_resolutions.Add(new TPoint(960, 540)); foreach( string res in m_resNames ) { cmbResolution.Items.Add(res); } stagePanel.GuidTabSize = 50; stagePanel.SelectControlEventHandler += OnSelectControl; m_stateManager = new StateManager(m_commandManager, stagePanel); }
public MoveState( Controls controls, StateManager stateManager, CommandManager commandManager ) { m_controls = controls; m_stateManager = stateManager; m_commandManager = commandManager; }
public CreateControlState( BaseCreateControl createControlCommand, StateManager stateManager, CommandManager commandManager) { m_createCommand = createControlCommand; m_stateManager = stateManager; m_commandManager = commandManager; }
public IdleState(StageBox editor, StateManager stateManager, CommandManager commandManager) { m_editPanel = editor; m_stateManager = stateManager; m_commandManager = commandManager; }