46 lines
725 B
C#
46 lines
725 B
C#
|
using System;
|
|||
|
using System.Drawing;
|
|||
|
using System.Drawing.Drawing2D;
|
|||
|
//忽略没有注释警告
|
|||
|
#pragma warning disable 1591
|
|||
|
namespace MGdu.WinFormUI
|
|||
|
{
|
|||
|
public delegate GraphicsPath ButtonForePathGetter(Rectangle rect);
|
|||
|
public enum GMButtonState
|
|||
|
{
|
|||
|
Normal,
|
|||
|
Hover,
|
|||
|
Pressed,
|
|||
|
PressLeave,
|
|||
|
}
|
|||
|
|
|||
|
public enum ButtonBorderType
|
|||
|
{
|
|||
|
Rectangle,
|
|||
|
Ellipse,
|
|||
|
}
|
|||
|
|
|||
|
public enum MouseOperationType
|
|||
|
{
|
|||
|
Move,
|
|||
|
Down,
|
|||
|
Up,
|
|||
|
Hover,
|
|||
|
Leave,
|
|||
|
}
|
|||
|
|
|||
|
public enum ForePathRatoteDirection
|
|||
|
{
|
|||
|
Down,
|
|||
|
Left,
|
|||
|
Up,
|
|||
|
Right,
|
|||
|
}
|
|||
|
|
|||
|
public enum ForePathRenderMode
|
|||
|
{
|
|||
|
Draw,
|
|||
|
Fill,
|
|||
|
}
|
|||
|
}
|