mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Updated PDCurses to allow for a default window size.
This commit is contained in:
parent
c097261301
commit
8c784eb087
BIN
src/3rdparty/lib/pdcurses.lib
vendored
BIN
src/3rdparty/lib/pdcurses.lib
vendored
Binary file not shown.
BIN
src/3rdparty/lib/pdcursesd.lib
vendored
BIN
src/3rdparty/lib/pdcursesd.lib
vendored
Binary file not shown.
1
src/3rdparty/win32_include/curses.h
vendored
1
src/3rdparty/win32_include/curses.h
vendored
@ -1526,6 +1526,7 @@ void PDC_set_resize_limits( const int new_min_lines,
|
||||
const int new_max_lines,
|
||||
const int new_min_cols,
|
||||
const int new_max_cols);
|
||||
void PDC_set_default_size( const int lines, const int cols);
|
||||
|
||||
#define FUNCTION_KEY_SHUT_DOWN 0
|
||||
#define FUNCTION_KEY_PASTE 1
|
||||
|
@ -210,6 +210,7 @@ int main(int argc, char* argv[])
|
||||
|
||||
#ifdef __PDCURSES__
|
||||
PDC_set_resize_limits(12, 60, 60, 250);
|
||||
PDC_set_default_size(26, 100);
|
||||
PDC_set_function_key(FUNCTION_KEY_SHUT_DOWN, 4);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user