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); }
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); }
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); }