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

Function move_win

outdated/win/gem/wingem1.c:301–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301void
302move_win(WIN *z_win)
303{
304 GRECT frame = desk;
305
306 v_set_mode(MD_XOR);
307 v_set_line(BLACK, 1, 1, 0, 0);
308 frame.g_w <<= 1, frame.g_h <<= 1;
309 if (graf_rt_dragbox(FALSE, &z_win->curr, &frame, &z_win->curr.g_x,
310 &z_win->curr.g_y, NULL))
311 window_size(z_win, &z_win->curr);
312 else
313 window_top(z_win);
314}
315
316void
317message_handler(int x, int y)

Callers 2

message_handlerFunction · 0.85
mar_nh_poskeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected