(svn r6210) Remove FR_NOBORDER, because it is exclusivly used in conjunction with FR_TRANSPARENT

This commit is contained in:
tron
2006-08-29 06:39:00 +00:00
parent 17c610c0f4
commit 96f9a0ad7b
2 changed files with 2 additions and 7 deletions

View File

@@ -157,12 +157,8 @@ void DrawFrameRect(int left, int top, int right, int bottom, int ctab, FrameFlag
uint medium_light = _color_list[ctab].window_color_bgb;
uint light = _color_list[ctab].window_color_2;
if (flags & FR_NOBORDER) {
if (flags & FR_TRANSPARENT) {
GfxFillRect(left, top, right, bottom, 0x322 | USE_COLORTABLE);
} else {
GfxFillRect(left, top, right, bottom, medium_dark);
}
if (flags & FR_TRANSPARENT) {
GfxFillRect(left, top, right, bottom, 0x322 | USE_COLORTABLE);
} else {
uint interior;