30069 Commits

Author SHA1 Message Date
Lari Nieminen
694f8638d6 Fixed a filtering problem. 2009-01-04 20:45:34 +00:00
Lari Nieminen
1a014232ad Backgroundless portraits for Liberty. 2009-01-04 20:24:26 +00:00
Nils Kneuper
2f3c4f010c updated Spanish translations and credits 2009-01-04 20:23:33 +00:00
Nils Kneuper
5b9d8c552f updated Italian translation 2009-01-04 18:27:37 +00:00
Nils Kneuper
b4384e1416 really port over files for Japanese from branches/1.4
this is a 1:1 copy of the 1.4 files, just merged against the current
trunk pot files
2009-01-04 16:34:32 +00:00
Nobuhito Okada
cd11e19c3f updated Japanese translation (contributions from http://wikiwiki.jp/wesnoth/) 2009-01-04 16:13:42 +00:00
Lari Nieminen
9334278d40 Removed backgrounds from most TSG portraits,
...the ones requiring a bit more redrawing are still left.
2009-01-04 16:00:09 +00:00
Nils Kneuper
97f0530856 updated Italian translation 2009-01-04 15:28:07 +00:00
Mark de Wever
48e897f5b7 Enabled listbox scrolling with a mouse wheel.
Now it's possible to scroll in a listbox with the scrollwheel of a
mouse. Thanks to boucman for testing.
2009-01-04 15:21:22 +00:00
Lari Nieminen
2f09b5c356 Backgroundless portraits for SoF. 2009-01-04 14:22:01 +00:00
Mark de Wever
b6cb955955 Let the language list always have the focus.
Now you can directly use up or down to select a language.
2009-01-04 11:24:04 +00:00
Mark de Wever
5afc4c3351 Add a focus event send to parents of a widget.
This event allows parent containers and windows to react if the mouse is
pressed down inside it's area. This also works if the selected widget
itself is disabled.
2009-01-04 11:23:59 +00:00
Mark de Wever
c6fb8ef694 Let the backspace also delete the selection.
Baufo wondered why the backspace doesn't delete the selection, like the
delete key. Not sure why I implemented the current behaviour and tested
with various application, which all delete the selection on the
backspace. So also implemented that behaviour for the new widgets.
2009-01-04 10:49:09 +00:00
Mark de Wever
68bcc66d53 Scroll a listbox with the arrow keys when needed.
When the arrow keys select an item outisde the visible area this item
will be scrolled inside the visible area.
2009-01-04 10:49:02 +00:00
Patrick Parker
17a609055d fix a crash that was possible if the AI leader was killed via WML...
...while moving to his keep
2009-01-04 05:49:09 +00:00
Eric S. Raymond
34fdb1611d Fix errors I introduced in 2008-10-21T08:55:43Z!esr@thyrsus.com. 2009-01-04 02:39:28 +00:00
Ignacio R. Morelle
a633afb803 Remove duplicate string that is actually a typoed version of the first. 2009-01-04 01:09:21 +00:00
Lari Nieminen
d24220388d Backgroundless portraits for DiD. 2009-01-04 00:02:17 +00:00
Lari Nieminen
c2a534ba4a Backgroundless portraits for EI. 2009-01-03 23:10:09 +00:00
Mark de Wever
d9f214e4fa Let the arrow key select items in the listbox.
Note when an item outside the current view is selected the listbox
doesn't scroll yet.
2009-01-03 21:40:11 +00:00
Mark de Wever
44084ba263 Remove an obsolete todo item. 2009-01-03 21:40:07 +00:00
Mark de Wever
94932707b5 Give the label in the message the default focus.
This enables scrolling when the message is shown.
2009-01-03 21:40:02 +00:00
Mark de Wever
1756ff98e7 Restored basic container scrolling behaviour.
All containers (scroll label and listboxes can scroll again). The arrows
don't select yet in a listbox. Also with the new scrollbars the up and
down arrow scroll one pixel at the time, which might need to be
increased a little bit.
2009-01-03 21:39:58 +00:00
Mark de Wever
15f8094adb Fix a comment copy paste error. 2009-01-03 21:39:53 +00:00
Lari Nieminen
fcdde4337e A couple more background removals. 2009-01-03 19:01:03 +00:00
Lari Nieminen
34655dc5f7 A bunch of background removals. 2009-01-03 18:46:53 +00:00
Mark de Wever
d11bf743be Fix text render issue on big endian machines. 2009-01-03 18:01:52 +00:00
Alexander van Gessel
91833fc75b Fix a typoed image path. 2009-01-03 17:49:51 +01:00
Mark de Wever
f469350d31 Another small cleanup.
Now that we only have screen coordinates the set_size hacks in the
generator and scroll_container are no longer needed and thus removed.
2009-01-03 16:30:25 +00:00
Mark de Wever
f3bb08a911 Updated version of Kitty's portraits. 2009-01-03 16:15:36 +00:00
Mark de Wever
6df7b8c9a1 Cleanup part 6 (the last part).
Remove the now obsolete background_changed_ member and it's setter and
getter.
2009-01-03 15:45:43 +00:00
Mark de Wever
2a23ba1884 Cleanup part 5.
The full redraw flag is no longer needed since widgets are always fully
redrawn now.
2009-01-03 15:45:38 +00:00
Mark de Wever
1e6c5a88d6 Cleanup part 4.
find_widget2 now acts the same as find_widget so remove the duplicate
function and change it's callers to use find_widget.
2009-01-03 15:45:34 +00:00
Mark de Wever
f8c7098f2f Cleanup part 3.
twindow::get_client_rect() can now use the version in tpanel...

...and thus can be removed from window.?pp.
2009-01-03 15:45:29 +00:00
Mark de Wever
fdb603b505 Cleanup part 2.
Rename the screen_foo to foo (partly reverts part 1).
2009-01-03 15:45:25 +00:00
Mark de Wever
f7095fa824 Code cleanup step 1.
At the moment widget have an coordinate in the parent window and on the
screen. After the changes to the drawing engine the coordinate in the
parent window is not really needed anymore. So we can do several
refactoring and cleanup steps.

Remove the old coordinates and use the sceen coordinates everywhere.
2009-01-03 15:45:20 +00:00
Mark de Wever
9447fc7288 Fix a typo in my last commit. 2009-01-03 15:45:16 +00:00
Lari Nieminen
67eb8f986e Someone broke about.cfg. 2009-01-03 11:04:09 +00:00
Lari Nieminen
0274e4f2ed Worked around the preprocessor bug. 2009-01-03 10:58:44 +00:00
Lari Nieminen
f4b1f5c0ac The clasher line doesn't fly. 2009-01-03 10:17:07 +00:00
Jérémy Rosen
1762241419 add new HI portrait by Emilien Rotival 2009-01-03 10:05:50 +00:00
Nils Kneuper
555a1f20f4 updated Credits for Hungarian translation 2009-01-03 10:01:29 +00:00
Mark de Wever
bf42228e56 Stricter check before sending events to widgets.
When a scrollbar button was clicked and that click disabled the button
since it reached the end of the range, the next mouse move event would
send a mouse leave event to that widget, which reenabled the widget.
Also added the check to the entering code (not sure whether it can be
triggered, but rather save than sorry).
2009-01-02 20:11:09 +00:00
Mark de Wever
59b69b4e8d Updated some comment and debug code. 2009-01-02 20:11:05 +00:00
Nils Kneuper
03dfaf3adc updated Spanish translation 2009-01-02 19:39:30 +00:00
Mark de Wever
8d62d4fa92 Fix the alignment of the text in the new dialogs.
Kitty pointed out the short texts seemed to start more to the middle.
2009-01-02 17:13:23 +00:00
Elias Pschernig
8d9fe185c1 translation update 2009-01-02 16:57:48 +00:00
Tomasz Śniatowski
57a65c124a fix accidental logic reversal in 2009-01-02T15:12:57Z!kailoran@gmail.com 2009-01-02 17:51:35 +01:00
Ben Anderman
5a35c5e71f Added links to language pages from package group pages 2009-01-02 16:39:36 +00:00
Jérémy Rosen
0a33e0b3fd clashers don't fly 2009-01-02 16:36:42 +00:00