MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Window_Init

Function Window_Init

code/ui/ui_shared.cpp:209–215  ·  view source on GitHub ↗

================== Window_Init Initializes a window structure ( windowDef_t ) with defaults ================== */

Source from the content-addressed store, hash-verified

207==================
208*/
209void Window_Init(Window *w)
210{
211 memset(w, 0, sizeof(windowDef_t));
212 w->borderSize = 1;
213 w->foreColor[0] = w->foreColor[1] = w->foreColor[2] = w->foreColor[3] = 1.0;
214 w->cinematic = -1;
215}
216
217/*
218=================

Callers 2

Item_InitFunction · 0.70
Menu_InitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected