public static void DisplayBackground( Gump gump, BackgroundType color, int x, int y, int width, int height ) { switch ( color ) { case BackgroundType.Alpha:{ gump.AddAlphaRegion( x, y, width, height ); break; } case BackgroundType.BlackAlpha:{ gump.AddImageTiled( x, y, width, height, 2624 ); gump.AddAlphaRegion( x, y, width, height ); break; } case BackgroundType.Black:{ gump.AddImageTiled( x, y, width, height, 2624 ); break; } case BackgroundType.Gray:{ gump.AddImageTiled( x, y, width, height, 5058 ); break; } case BackgroundType.Marble:{ gump.AddImageTiled( x, y, width, height, 5104 ); break; } case BackgroundType.Offwhite:{ gump.AddImageTiled( x, y, width, height, 3004 ); break; } case BackgroundType.DarkGray:{ gump.AddImageTiled( x, y, width, height, 5124 ); break; } case BackgroundType.Scroll:{ gump.AddImageTiled( x, y, width, height, 5174 ); break; } case BackgroundType.ActiveTextEntry:{ gump.AddImageTiled( x, y, width, height, 2604 ); break; } case BackgroundType.InactiveTextEntry:{ gump.AddImageTiled( x, y, width, height, 1416 ); break; } } }