예제 #1
0
        private void ToModeShave()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Shave;
            modeLabel     = "Shave";
            highlightX    = 320f;

            currentMode = modeShave;
        }
예제 #2
0
        private void ToModeDelete()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Delete;
            modeLabel     = "Remove";
            highlightX    = 364f;

            currentMode = modeDelete;
        }
예제 #3
0
        private void ToModeCut()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Cut;
            modeLabel     = "Cut";
            highlightX    = 232f;

            currentMode = modeCut;
        }
예제 #4
0
        private void ToModeAddLeave()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.AddLeave;
            modeLabel     = "Add Leave";
            highlightX    = 276f;

            currentMode = modeAddLeaves;
        }
예제 #5
0
        private void ToModeOptimize()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Optimize;
            modeLabel     = "Optimize";
            highlightX    = 188f;

            currentMode = modeOptimize;
        }
예제 #6
0
        private void ToModeRefine()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Refine;
            modeLabel     = "Refine";
            highlightX    = 144f;

            currentMode = modeRefine;
        }
예제 #7
0
        private void ToModeSmooth()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Smooth;
            modeLabel     = "Smooth";
            highlightX    = 100f;

            currentMode = modeSmooth;
        }
예제 #8
0
        private void ToModeMove()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Move;
            modeLabel     = "Move";
            highlightX    = 56f;

            currentMode = modeMove;
        }
예제 #9
0
        private void ToModePaint()
        {
            Tools.current = Tool.None;
            toolMode      = ToolMode.Paint;
            modeLabel     = "Paint";
            highlightX    = 12f;

            currentMode = modePaint;
        }