wineconsole: Calculate the maximum possible console window size (try 3)
Hugh McMaster
hugh.mcmaster at masterindexing.com
Sun Dec 8 18:37:34 CST 2013
1. Calculate the maximum possible console window size.
2. Prevent the console window from exceeding the calculated values.
Changes in this version:
1. Use cfg->win_width and win_height to calculate changes to the window size. Previously this used cfg->sb_width and cfg->sb_height.
2. Pass the data struct to data->fnGetMaxConsoleWindowSize instead of data->curcfg.cell_width and cell_height values. (Code conformity with other functions).
3. Remove 80 x 25 minimum cell size checks.
---
programs/wineconsole/curses.c | 13 +++++++++++++
programs/wineconsole/user.c | 18 ++++++++++++++++++
programs/wineconsole/winecon_private.h | 1 +
programs/wineconsole/wineconsole.c | 11 +++++++++--
4 files changed, 41 insertions(+), 2 deletions(-)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wineconsole-sb.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20131208/b709afd8/attachment.txt>
More information about the wine-patches
mailing list