Exemplo n.º 1
0
        public string getMouseModeHelp()
        {
            GuiEditorGui.GuiEditor GuiEditor = "GuiEditor";
            bool isMac = (sGlobal["$platform"] == "macos");

            string cmdCtrl;

            if (isMac)
            {
                cmdCtrl = "CMD";
            }
            else
            {
                cmdCtrl = "CTRL";
            }

            string mouseMode = GuiEditor.getMouseMode();

            switch (mouseMode)
            {
            case "Selecting":
                return("");

            case "DragSelecting":
                return(cmdCtrl + " to add to selection; ALT to exclude parents; CTRL+ALT to exclude children");

            case "MovingSelection":
                return("");

            case "SizingSelection":
                return("CTRL to activate snapping; ALT to move instead of resize");

            case "DragGuide":
                return("Drag into ruler to delete; drop to place");
            }

            return("");
        }