Пример #1
0
 public static void DrawSunken3D(int x, int y, int w, int h)
 {
     GumpPaint.DrawRect(SystemColors.ControlLightLight, x, y, w, h);
     GumpPaint.DrawRect(SystemColors.ControlDark, x, y, w - 1, h - 1);
     GumpPaint.DrawRect(SystemColors.ControlLight, x + 1, y + 1, w - 2, h - 2);
     GumpPaint.DrawRect(SystemColors.ControlDarkDark, x + 1, y + 1, w - 3, h - 3);
     GumpPaint.DrawRect(SystemColors.Control, x + 2, y + 2, w - 4, h - 4);
 }
Пример #2
0
 public static void DrawFlat(int x, int y, int w, int h, int border, int fill)
 {
     GumpPaint.DrawRect(border, x, y, w, h);
     GumpPaint.DrawRect(fill, x + 1, y + 1, w - 2, h - 2);
 }
Пример #3
0
 public static void DrawFlat(int x, int y, int w, int h)
 {
     GumpPaint.DrawRect(SystemColors.ControlDark, x, y, w, h);
     GumpPaint.DrawRect(SystemColors.Control, x + 1, y + 1, w - 2, h - 2);
 }