utilize more real estate on Windows GUI curses
Some inventory items were being hidden in a lengthy list.
This commit is contained in:
@@ -1252,6 +1252,18 @@ error:
|
||||
}
|
||||
#undef win32err
|
||||
|
||||
#ifdef MSWIN_GRAPHICS
|
||||
int
|
||||
get_approx_window_column_width(void)
|
||||
{
|
||||
return GetSystemMetrics(SM_CXSCREEN) / 8;
|
||||
}
|
||||
int
|
||||
get_approx_window_rows(void)
|
||||
{
|
||||
return GetSystemMetrics(SM_CYSCREEN) / 12;
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <shellapi.h>
|
||||
#define MAX_SYM_SIZE 100
|
||||
|
||||
Reference in New Issue
Block a user