DEADSOFTWARE

Holmes/UI: compilation fixes
[d2df-sdl.git] / src / gx / glgfx.pas
index 2aaec4431e3a83b669ddcfdeedf043715d0359e9..9345bb77e51faf19992e6532d0686c45dd81ff87 100644 (file)
@@ -203,6 +203,9 @@ function getMouseY (): Integer; inline;
 function getButState (): Word; inline;
 function getModState (): Word; inline;
 
+function gxScreenWidth (): Integer; inline;
+function gxScreenHeight (): Integer; inline;
+
 
 // ////////////////////////////////////////////////////////////////////////// //
 property
@@ -236,6 +239,11 @@ var
   curMsY: Integer = 0;
 
 
+// ////////////////////////////////////////////////////////////////////////// //
+function gxScreenWidth (): Integer; inline; begin result := gScrWidth; end;
+function gxScreenHeight (): Integer; inline; begin result := gScrHeight; end;
+
+
 // ////////////////////////////////////////////////////////////////////////// //
 function strEquCI (const s0, s1: AnsiString): Boolean;
 var