(svn r5714) Backport from branches/TGP (r5701 and r5711)

-Fix: < > boxes in patch-settings didn't grey out when they hit the limit of their range
 -Codechange: while at it, prettyfied DrawArrowButtons() a bit
 -Fix: < > boxes in industry production window (when cheat enabled) had a minor glitch
This commit is contained in:
miham
2006-08-02 18:36:53 +00:00
parent cb1a3e095d
commit 5f18b6792a
4 changed files with 46 additions and 23 deletions

View File

@@ -1776,7 +1776,7 @@ static void CheatsWndProc(Window *w, WindowEvent *e)
char buf[512];
/* Draw [<][>] boxes for settings of an integer-type */
DrawArrowButtons(x + 20, y, 3, clk - (i * 2), true);
DrawArrowButtons(x + 20, y, 3, clk - (i * 2), true, true);
switch (ce->str) {
/* Display date for change date cheat */