public void runFactory(StartingFactory fac, Part part) { reader = fac.Reader; info = fac.Info; info.Position.reset(); selected = createSelected(); converter = createMouseStateConverter(); selections = createCommandSelections(); executor = createExecutor(); tree = createTree(); handler = createHandler(); updater = createUpdater(); length_view = createLengthView(); delete_view = createDeleteView(); add_item_view = createAddItemView(); canvas_view = createCanvasView(); property_view = createPropertyView(); fret_view = createFretView(); select_view = createNoteSelectView(); time_sig_view = createBPMTimeSigView(); part_view = createPartMenuView(); visuals_view = createVisualsView(); scroll_view = createScollView(); main_view = createMainView(); initView(part); }
public CommandSelections(MouseStateConverter conv) { converter = conv; SelectedLength = NoteLength.None; SelectedEffectType = EffectType.No_Type; SelectedPart = null; SelectedMeasure = new List <Measure>(); SelectedChord = new List <Chord>(); SelectedNote = new List <Note>(); SelectedEffect = null; Position = null; String = null; Fret = null; BendAmount = null; Returns = null; Wide = null; Legato = null; Name = null; Artist = null; Album = null; Instrument = null; StringNum = null; }
public MouseStateView(Dictionary <string, string> uris, MouseStateConverter conv) : base() { mouse_images = getImages(uris); converter = conv; converter.PropertyChanged += handleStateChanged; }
public AddItemView(MouseStateConverter conv, Dictionary <string, string> uri_dict) { converter = conv; converter.PropertyChanged += handleAddItemChanged; Images = getImages(uri_dict); Item = AddItem.None; }
public EditingMouseHandler(GuiObjectTree t, Selected s, MouseStateConverter conv) { tree = t; selected = s; converter = conv; note_select = false; down_point = default(Point); double_click = false; }