The mp selection dialog is the only dialog which can benefit from it
so the only dialog which chains the keyboard events. (The window
itself is always chained eventhough there's no hotkey support yet.)
When the listbox has the focus and ends at the top item the next up
arrow is send to the textbox which selects from the history there. Not
sure whether this is great behaviour, but it can be changed by letting
the listbox always handle the up arrow.
* Rewrote the drawing code to be able to force a redraw and to invalidate the
background. This fixes the ttoggle_panel redraw problems.
* Removed the no_redraw label hack
* Updated the WIKI comment blocks to fix some typos and add some forgotten info.
Some changes to core WML code is still required to make it properly
follow the new encoding/decoding escape sequences. Some results of
pylint have been applied. Includes minor portability enhancements.
Some code changed to be more OO+pythonic (e.g. threading). Some code
stubs are in place for future enhancements. Most reliable works
except for uploads.
Disable a check causing have_era attribute not not be set in most
cases making selection_is_joinable and selection_is_obsevable not to
function properly
Fix bug introduced in my previous commit causing all games getting
Unknown Era suffix regardless of need.
...because it really slowed loading and scrolling (on test-scenario
scrolling was always loading png files from disk)
A better solution will be to use different cache sizes but better wait to
polish the implementation before fine tuning these values.
PS: and in the mean time let's trunk be fast ;)
by adding a more precise rectangle to hexes conversion (at the pixel
level, instead of padding with full hexes). This often halves the
invalidated hexes.
Added a new structure+iterator for simplifying this frequent
operation. Remove various now unneeded functions.
Drawing on the panel still has glitches.
Events are send to the panel not to the widget.
Sapient sorry for breaking the coding standard too lazy do convert the
0's ;-).