mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Fix banner text
This commit is contained in:
@@ -116,6 +116,12 @@ void DrawBannerMessage (Point topLeft)
|
|||||||
Str255 bannerStr, subStr;
|
Str255 bannerStr, subStr;
|
||||||
short count;
|
short count;
|
||||||
|
|
||||||
|
CGrafPtr wasGWorld;
|
||||||
|
GDHandle wasDevice;
|
||||||
|
GetGWorld(&wasGWorld, &wasDevice);
|
||||||
|
|
||||||
|
SetGWorld(workSrcMap, nullptr);
|
||||||
|
|
||||||
PasStringCopy((*thisHouse)->banner, bannerStr);
|
PasStringCopy((*thisHouse)->banner, bannerStr);
|
||||||
|
|
||||||
TextFont(applFont);
|
TextFont(applFont);
|
||||||
@@ -156,6 +162,8 @@ void DrawBannerMessage (Point topLeft)
|
|||||||
DrawString(subStr);
|
DrawString(subStr);
|
||||||
}
|
}
|
||||||
ForeColor(blackColor);
|
ForeColor(blackColor);
|
||||||
|
|
||||||
|
SetGWorld(wasGWorld, wasDevice);
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------------- BringUpBanner
|
//-------------------------------------------------------------- BringUpBanner
|
||||||
|
Reference in New Issue
Block a user