400 Commits

Author SHA1 Message Date
Steven Panek
bf41e69d66 Converted the remaining makeshift dashes. 2010-05-15 01:35:40 +00:00
Mark de Wever
75a0839402 Added new experimental list box implementation.
The code is very experimental and incomplete and therefore ifdeffed with
GUI2_EXPERIMENTAL_LISTBOX.
2010-05-02 12:17:38 +00:00
Mark de Wever
97fadb10dc Readd the upload stastics to gui2.
The new plan is to only revert for the 1.8 branch and see whether it can be
fixed in trunk. (Reverts 2010-04-27T20:29:29Z!koraq@xs4all.nl).
2010-04-28 19:43:45 +00:00
Mark de Wever
a2c9f589f7 Remove the upload stastics from gui2.
The removal for the rest of the code is planned as well.
2010-04-27 20:29:29 +00:00
Mark de Wever
33f6bb6f69 Deprecate the stretch parameter for images.
Late in the 1.8 cycle a resize mode was added, now is the time to start
to remove the old method.
2010-04-26 20:32:46 +00:00
Mark de Wever
9a20b5b38a Undefine macros when no longer needed. 2010-04-26 20:32:40 +00:00
Mark de Wever
429b2b6d86 Added a new attack dialog.
This initial version is just a small proof of concept thing, its main
goal is to write a new chapter in the design documentation. The dialog
is available when started with --new-widgets.
2010-04-24 20:39:25 +00:00
Fabian Müller
4a7e27d070 Reverted back to 42095. 2010-04-10 17:30:45 +00:00
Alexander van Gessel
183c40ba5b Merge fendrin_editor branch 2010-04-10 16:00:09 +01:00
Mark de Wever
40bf8c52ae Fixed a stacked widget marco.
Wasn't converted during the stacked widget behaviour change.
2010-04-10 05:38:38 +00:00
Mark de Wever
fceb3ce68f Add the proper button for upload statistics. 2010-04-05 14:06:26 +00:00
Mark de Wever
599b504f65 Add a revision label the the new title screen. 2010-04-05 13:36:03 +00:00
Mark de Wever
d74c4c90ae Add a border to the title screen. 2010-04-05 13:06:14 +00:00
Mark de Wever
84885e1247 Fix some errors in the progress bar. 2010-04-05 10:00:40 +00:00
Mark de Wever
8d2eefbeb5 Now the top item in the stacked widget is selected.
Also change the order of the layers in the new title screen to make sure
the proper layer is still selected. The wanted side effect is that the
logo is now drawn at the bottom.

This changes the behaviour or widgets with multiple selections, but the
stacked widget is the only one, so no problems in other places.
2010-04-05 06:14:14 +00:00
Mark de Wever
4f96f369b0 Added the beg button in the title screen.
Added it the the --new-widgets version.

The button is a placeholder, since I can't add a new button with svn
since gna is down. The reason to do it with svn is to get the properties
right.
2010-04-05 06:14:07 +00:00
Mark de Wever
14c82ef18e Added tooltips to the --new-widgets title screen. 2010-04-05 06:14:00 +00:00
Mark de Wever
b680fbc95f Adds "animated" logo to the new title screen. 2010-04-02 07:37:09 +00:00
Mark de Wever
0f994d4368 Add a file forgotten in my last commit. 2010-04-01 17:55:31 +00:00
Mark de Wever
492662d53f Improve the tips of day in new title screen.
The dialog no longer needs a resize after pressing the next or previous
tip button.
2010-03-29 08:50:43 +00:00
Mark de Wever
d37dda31d0 Added a label class using the alignment flag. 2010-03-29 08:34:44 +00:00
Mark de Wever
b84f2ebff0 Enable the hidden join observe buttons per row 2010-03-26 15:47:08 +00:00
Mark de Wever
127d7b7d8e Fix some unused wml keys.
Problem detected by wml validator.
2010-03-07 18:38:05 +00:00
Jérémy Rosen
53105be56f remove EXPERIMENTAL blocks in source 2010-02-22 20:08:38 +00:00
Alexander van Gessel
269871e888 Move some incorrectly placed vertical_grow around in GUI WML,
...spotted by wmlvalidator
2010-02-22 03:15:33 +01:00
Alexander van Gessel
fbcfa9f312 Move an attribute into the right tag, caught by wmlvalidator 2010-02-21 05:43:32 +01:00
Alexander van Gessel
8846564857 Fix some two-tags-on-single-line issues...
...and the indentation that wmlindent didn't get right because of it
2010-02-18 15:14:51 +01:00
Alexander van Gessel
48fa373c76 Fix another issue that makes wmlparser choke 2010-02-16 16:19:44 +01:00
Alexander van Gessel
75d63b87eb Remove a leading space in a closing tag...
...(apparently works in wesnoth, but wmlparser.py choked on it)
2010-02-16 15:25:48 +01:00
Mark de Wever
d6e2cc5f38 Hide the lobby player list when using new widgts.
Before only the lists where hidden now the entire widget.
2010-02-08 15:26:06 +00:00
Mark de Wever
8b2eb43b5f Improve the size of the player tree view. 2010-02-08 15:26:02 +00:00
Mark de Wever
6a1dd909e1 Make the lobby tree view look like the listbox. 2010-02-08 15:25:59 +00:00
Mark de Wever
325d904a8e Allow the node in the tree to use the full width.
Fixes issues in both the code and the configs that currently use. Also
removed some cruft from the configs.
2010-02-07 16:19:01 +00:00
Mark de Wever
da76212491 Initial test to use the tree view in the lobby.
The code is 'hidden' behind the --new-widgets switch. The machine here
at the FOSDEM is too slow to test with non-optimized builds so further
large scale testing is postponed until tomorrow.
2010-02-07 13:19:56 +00:00
Mark de Wever
aed21b378c Switch fold and unfold image.
Now the folded and unfolded nodes look sane.
2010-02-06 16:19:11 +00:00
Mark de Wever
7215ffa390 Proof-of-concept usage of the tree view widget.
This code is used to test the new widget, also to be used on the FOSDEM,
the code is hidden under --new-widgets. It's not planned to keep this
change for the campaign dialog.
2010-02-04 20:39:38 +00:00
Mark de Wever
9ec2566ee8 Add an initial version of the tree view widget.
I might want to work on the widget at the FOSDEM, so it's easier to commit
the code now.
2010-02-04 20:35:01 +00:00
Fabian Müller
34334c4396 Excluded the whole file from consideration by a normal Wesnoth build. 2010-02-02 12:29:26 +00:00
Fabian Müller
879ae485f3 Disabled the translation marks by making them part of the string. 2010-02-02 11:58:41 +00:00
Fabian Müller
a20857bd89 Added a wml config file for the icon messages. 2010-01-31 16:56:51 +00:00
Mark de Wever
3687e96447 Some minor lobby ui improvements.
Set up the defaults to better match what's needed in the main lobby
causing less resizing after joining. Also avoid some silly cases.

- Never show a horizontal scrollbar for the rooms and lobby list.

- Always show it for the game list.

- Hide it for the rooms (always might be slightly better).
2010-01-17 12:41:15 +00:00
Mark de Wever
3444c48e19 Improve the tiny-gui version. 2010-01-03 10:38:32 +00:00
Mark de Wever
c16e777eb0 Improve the tiny-gui version. 2010-01-03 10:38:29 +00:00
Mark de Wever
93d68a73b6 Improve the tiny-gui version. 2010-01-03 10:38:25 +00:00
Mark de Wever
43694a1d7d Improve the tiny-gui version. 2010-01-03 10:38:20 +00:00
Mark de Wever
2f802be0af Switched back to the tiled background for gui2.
The tile background looks better and renders faster. The latter is
noticable in the new lobby, which becomes faster with this change.
2010-01-01 18:51:15 +00:00
Mark de Wever
c636eaf402 Protect against no savegame selected in the list.
The filter can filter out all savegames, then the preview pane shouldn't
try to access an invalid index.
2009-12-20 19:35:13 +00:00
Mark de Wever
62669692b2 Use repeating buttons in the scrollbars. 2009-12-13 18:13:22 +00:00
Mark de Wever
bd83d922f5 Add a new repeating button widget.
A repeating button is button when pressed down will execute an action,
if the user keeps it pressed down for a longer time it will repeat
this action until released.

The main place where the widget was missed is the MP lobby, I haven't
tested it there much since the lobby is still to slow. This means once
the lobby is fast enough it needs more tuning.

The widget hasn't been wired in the scrollbars, which will be done in
the next commit.
2009-12-13 18:09:38 +00:00
Guillaume Melquiond
fad64d1df0 Made gui2 use the same tooltip settings as gui1. 2009-12-06 17:14:56 +00:00