create a PanelBG class that would be in charge of drawing a background for a panel. That way panels can be images, solid colors, slightly transparent, etc. Perhaps each type of BG could be a different inherited class (PanelBG_Image, PanelBG_Color, etc.)