MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / grtext_SetParameters

Function grtext_SetParameters

grtext/grtext.cpp:275–281  ·  view source on GitHub ↗

sets text clipping parameters

Source from the content-addressed store, hash-verified

273
274// sets text clipping parameters
275void grtext_SetParameters(int left, int top, int right, int bottom, int tabspace) {
276 Grtext_left = left;
277 Grtext_top = top;
278 Grtext_right = right;
279 Grtext_bottom = bottom;
280 Grtext_tabspace = tabspace;
281}
282
283// gets text clipping parameters
284void grtext_GetParameters(int *left, int *top, int *right, int *bottom, int *tabspace) {

Callers 9

FontKernFunction · 0.85
message_boxFunction · 0.85
FontCreateFunction · 0.85
FontViewFunction · 0.85
ui_StartDrawFunction · 0.85
ui_SetTextClipFunction · 0.85
ui_ResetTextClipFunction · 0.85
StartFrameFunction · 0.85
DrawMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected