Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] [patch] actually make the gtk client work with map sizes o
Home

[Freeciv-Dev] [patch] actually make the gtk client work with map sizes o

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: vasc@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] [patch] actually make the gtk client work with map sizes other than 80x50 :)
From: Thue Janus Kristensen <thue@xxxxxxx>
Date: Tue, 4 Apr 2000 21:34:08 +0200

There were this little thing with the scrollbars not being properly initialized
(they would still work, but the behaviour would be wrong) if the size of the
map was different from 80x50.
fx: make a 40x25 map and use the scrollbar to scroll down to the bottom; since
it thinks the map is 50 high the last peice of scrolling won't do anything.
The reason this was not fixed before is that the scrollbars were automatically
initialized to 80x50.
Resizeing the map window would cause a call to the relevant function and
thereby solve it.

Proff that oneliners can make a difference...

-Thue

Attachment: scrollbar_bug.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [patch] actually make the gtk client work with map sizes other than 80x50 :), Thue Janus Kristensen <=