Exemplo n.º 1
0
        public override string GetToolInfo()
        {
            if (!IsSelectedSource)
            {
                var mouse = NodeMarkupTool.MousePositionScaled;

                if (TurnLeftButton.CheckHover(mouse))
                {
                    return(Localize.Tool_InfoTurnСounterClockwise);
                }
                else if (FlipButton.CheckHover(mouse))
                {
                    return(Localize.Tool_InfoInverseOrder);
                }
                else if (TurnRightButton.CheckHover(mouse))
                {
                    return(Localize.Tool_InfoTurnClockwise);
                }

                else if (ApplyButton.CheckHover(mouse))
                {
                    return(Localize.Tool_InfoPasteApply);
                }
                else if (NotApplyButton.CheckHover(mouse))
                {
                    return(Localize.Tool_infoPasteNotApply);
                }
                else if (ResetButton.CheckHover(mouse))
                {
                    return(Localize.Tool_InfoPasteReset);
                }
            }

            return(base.GetToolInfo());
        }