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

Function do_player_selector_layout

win/win32/mhdlg.c:574–580  ·  view source on GitHub ↗

adjust the size and positions of all controls in the player selection dialog taking into account the per-monitor DPI. */

Source from the content-addressed store, hash-verified

572/* adjust the size and positions of all controls in the player
573 selection dialog taking into account the per-monitor DPI. */
574void
575do_player_selector_layout(plsel_data_t * data)
576{
577 calculate_player_selector_layout(data);
578 move_controls(data->controls, psc_control_count);
579 size_dialog(data->dialog, data->client_size);
580}
581
582/* initialize player selector dialog */
583void

Callers 2

plselInitDialogFunction · 0.85
PlayerSelectorDlgProcFunction · 0.85

Calls 3

move_controlsFunction · 0.85
size_dialogFunction · 0.85

Tested by

no test coverage detected