Fixed blue comms screen problem (bug #363), from Joel Holveck & Nic

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1364 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2004-05-25 15:53:04 +00:00
parent 9be95ae382
commit dc2a900df7
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.4: Changes towards version 0.4:
- Fixed blue comms screen problem (bug #363), from Joel Holveck & Nic
- Automatically adding an icon for Darwin builds, from Nic - Automatically adding an icon for Darwin builds, from Nic
- Fixed Roster-F10-Quit bug (#591), - Michael - Fixed Roster-F10-Quit bug (#591), - Michael
- Restructured starcon2.c, with better checks for argument parsing, - Restructured starcon2.c, with better checks for argument parsing,
+2 -2
View File
@@ -198,7 +198,7 @@ add_text (int status, PTEXT pTextIn)
// saves background to extra screen // saves background to extra screen
TFB_DrawScreen_Copy (&r, TFB_SCREEN_MAIN, TFB_SCREEN_EXTRA); TFB_DrawScreen_Copy (&r, TFB_SCREEN_MAIN, TFB_SCREEN_EXTRA);
// fills screen with transparent color // fills screen with transparent color
TFB_DrawScreen_Rect (&r, 0, 0, 255, TFB_SCREEN_MAIN); TFB_DrawScreen_Rect (&r, 0, 0, 128, TFB_SCREEN_MAIN);
last_subtitle = pTextIn->pStr; last_subtitle = pTextIn->pStr;
} }
@@ -527,7 +527,7 @@ init_communication (void)
canvas = TFB_DrawCanvas_New_TrueColor (SIS_SCREEN_WIDTH, canvas = TFB_DrawCanvas_New_TrueColor (SIS_SCREEN_WIDTH,
SIS_SCREEN_HEIGHT - SLIDER_Y - SLIDER_HEIGHT + 2, FALSE); SIS_SCREEN_HEIGHT - SLIDER_Y - SLIDER_HEIGHT + 2, FALSE);
subtitle_cache = TFB_DrawImage_New (canvas); subtitle_cache = TFB_DrawImage_New (canvas);
TFB_DrawCanvas_SetTransparentColor (subtitle_cache->NormalImg, 0, 0, 255, TRUE); TFB_DrawCanvas_SetTransparentColor (subtitle_cache->NormalImg, 0, 0, 128, TRUE);
} }
void void