コード例 #1
0
        private void menuSprite_Flip_Both_Click(object sender, EventArgs e)
        {
            Spriteset ss = ActiveSpriteset();
            Sprite    s  = ActiveSprite();

            if (s == null)
            {
                return;
            }

            if (!s.IsEmpty())
            {
                s.Flip(true, true);
                s.RecordUndoAction("flipboth", ActiveUndo());
                HandleSpriteDataChanged(ss);
            }
        }