Beispiel #1
0
        private void btn_openStickEditor_Click(object sender, EventArgs e)
        {
            StickEditorForm f = new StickEditorForm();

            if (f.ShowDialog() == DialogResult.OK)
            {
                txt_customFigPath.Text = "Custom figure created with Editor";

                CustomFigure      = f.CreatedFigure;
                CustomFigureState = f.CreatedFigureState;
            }
        }
Beispiel #2
0
        private void btn_stickOpenInEditor_Click(object sender, EventArgs e)
        {
            StickEditorForm ed = new StickEditorForm(((StickFigure)Program.MainTimeline.SelectedLayer.Data).Copy(), (StickFigure.State)Program.MainTimeline.SelectedKeyframe.State.Copy());

            if (ed.ShowDialog() == DialogResult.OK)
            {
                Program.MainTimeline.SelectedLayer.Data     = ed.CreatedFigure;
                Program.MainTimeline.SelectedKeyframe.State = ed.CreatedFigureState;
            }

            Program.MainTimeline.GLContext.Invalidate();
        }
Beispiel #3
0
        private void btn_openStickEditor_Click(object sender, EventArgs e)
        {
            StickEditorForm f = new StickEditorForm();

            if(f.ShowDialog() == DialogResult.OK)
            {
                txt_customFigPath.Text = "Custom figure created with Editor";

                CustomFigure = f.CreatedFigure;
                CustomFigureState = f.CreatedFigureState;
            }
        }
Beispiel #4
0
        private void btn_stickOpenInEditor_Click(object sender, EventArgs e)
        {
            StickEditorForm ed = new StickEditorForm(((StickFigure)Program.MainTimeline.SelectedLayer.Data).Copy(), (StickFigure.State)Program.MainTimeline.SelectedKeyframe.State.Copy());

            if (ed.ShowDialog() == DialogResult.OK)
            {
                Program.MainTimeline.SelectedLayer.Data = ed.CreatedFigure;
                Program.MainTimeline.SelectedKeyframe.State = ed.CreatedFigureState;
            }

            Program.MainTimeline.GLContext.Invalidate();
        }