MCPcopy Create free account
hub / github.com/NetHack/NetHack / back_buffer_init

Function back_buffer_init

win/win32/mhstatus.c:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void back_buffer_init(back_buffer_t * back_buffer, HWND hWnd, int width, int height)
65{
66 back_buffer->hWnd = hWnd;
67 back_buffer->hdc = CreateCompatibleDC(NULL);
68 back_buffer->bm = NULL;
69
70 back_buffer_size(back_buffer, width, height);
71}
72
73
74typedef struct mswin_nethack_status_window {

Callers 1

mswin_init_status_windowFunction · 0.85

Calls 1

back_buffer_sizeFunction · 0.85

Tested by

no test coverage detected