hedgewars/uRenderUtils.pas
branchqmlfrontend
changeset 11828 a69124eb7ce7
parent 11821 d8844d4c67de
child 11836 1d41f297b3d3
equal deleted inserted replaced
11827:8c71c5a1172f 11828:a69124eb7ce7
    37 function  RenderStringTex(s: ansistring; Color: Longword; font: THWFont): PTexture;
    37 function  RenderStringTex(s: ansistring; Color: Longword; font: THWFont): PTexture;
    38 function  RenderStringTexLim(s: ansistring; Color: Longword; font: THWFont; maxLength: LongWord): PTexture;
    38 function  RenderStringTexLim(s: ansistring; Color: Longword; font: THWFont; maxLength: LongWord): PTexture;
    39 function  RenderSpeechBubbleTex(s: ansistring; SpeechType: Longword; font: THWFont): PTexture;
    39 function  RenderSpeechBubbleTex(s: ansistring; SpeechType: Longword; font: THWFont): PTexture;
    40 
    40 
    41 implementation
    41 implementation
    42 uses uUtils, uVariables, uConsts, uTextures, SysUtils, uDebug;
    42 uses uVariables, uConsts, uTextures, SysUtils, uUtils, uDebug;
    43 
    43 
    44 procedure DrawRoundRect(rect: PSDL_Rect; BorderColor, FillColor: Longword; Surface: PSDL_Surface; Clear: boolean);
    44 procedure DrawRoundRect(rect: PSDL_Rect; BorderColor, FillColor: Longword; Surface: PSDL_Surface; Clear: boolean);
    45 var r: TSDL_Rect;
    45 var r: TSDL_Rect;
    46 begin
    46 begin
    47     r:= rect^;
    47     r:= rect^;