MCPcopy Create free account
hub / github.com/crawl/crawl / cgotoxy

Method cgotoxy

crawl-ref/source/tileweb.cc:2277–2286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2275}
2276
2277void TilesFramework::cgotoxy(int x, int y, GotoRegion region)
2278{
2279 m_print_x = x - 1;
2280 m_print_y = y - 1;
2281
2282 bool crt_popup = region == GOTO_CRT && !m_menu_stack.empty() &&
2283 m_menu_stack.back().type == UIStackFrame::CRT;
2284 m_print_area = crt_popup ? &m_text_menu : nullptr;
2285 m_cursor_region = region;
2286}
2287
2288void TilesFramework::redraw()
2289{

Callers 2

cgotoxyFunction · 0.45
cgotoxyFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected