subtitle_cache width&height now matches comm window instead of whole

screen


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@933 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-04-25 18:03:41 +00:00
parent 28075a3923
commit 60ed17d0f3
+2 -1
View File
@@ -523,7 +523,8 @@ init_communication (void)
subtitle_mutex = CreateMutex (); subtitle_mutex = CreateMutex ();
init_xform_control (); init_xform_control ();
canvas = TFB_DrawCanvas_New_TrueColor (ScreenWidth, ScreenHeight, FALSE); canvas = TFB_DrawCanvas_New_TrueColor (SIS_SCREEN_WIDTH,
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, 255, TRUE);
} }