mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
- helper function for setting up the summary screen.
This commit is contained in:
parent
b902440535
commit
43eb7d61e7
1 changed files with 16 additions and 0 deletions
|
@ -135,6 +135,22 @@ class StatusScreen abstract play version("2.5")
|
|||
int scaleFactorX, scaleFactorY;
|
||||
|
||||
|
||||
//====================================================================
|
||||
//
|
||||
// Set fixed size mode.
|
||||
//
|
||||
//====================================================================
|
||||
|
||||
void SetSize(int width, int height, int wrapw = -1, int scalemode = FSMode_ScaleToFit43)
|
||||
{
|
||||
cwidth = width;
|
||||
cheight = height;
|
||||
scalemode = FSMode_ScaleToFit43;
|
||||
scalefactorx = 1;
|
||||
scalefactory = 1;
|
||||
wrapwidth = wrapw == -1 ? width : wrapw;;
|
||||
}
|
||||
|
||||
//====================================================================
|
||||
//
|
||||
// Draws a single character with a shadow
|
||||
|
|
Loading…
Reference in a new issue