Mark de Wever
5522542d29
Implement the tips panel in the new titlescreen.
2009-06-14 09:57:55 +00:00
Mark de Wever
a7982dedcb
Add a panel for the new title screen.
2009-06-14 09:04:37 +00:00
Mark de Wever
f8097c24d0
Set a maximum width for the campaign dialog.
2009-06-14 07:58:02 +00:00
Mark de Wever
a37e75915b
Properly align the campaign ok button.
2009-06-13 17:16:19 +00:00
Mark de Wever
0daca9f4ba
Properly prefix the titlescreen macros with _GUI.
2009-06-13 17:03:47 +00:00
Mark de Wever
753962e091
Properly align the menu in the new titlescreen.
2009-06-13 17:03:41 +00:00
Mark de Wever
d7db1f3a44
Polish the definition of the campaign dialog.
...
The dialog now looks fine, only the scrollbars don't work yet.
2009-06-13 14:50:07 +00:00
Mark de Wever
ef8895a344
Add a new real multi page widget and use it.
...
It's used in the campaign dialog, this change breaks the unit tests
for small gui and small gui since UtBS won't fit in the available
space. This will be fixed later.
2009-05-31 18:52:42 +00:00
Mark de Wever
5550d240e9
Polish the new campaign dialog a bit more.
...
Add some spacing and remove some obsolete code.
2009-05-31 13:24:36 +00:00
Mark de Wever
8d4681200a
Improve the new campaign dialog.
...
Still needs work (wrapping of the description fails) but at least you
can read the description of the campaign again.
2009-05-30 17:13:47 +00:00
Mark de Wever
c071bd16e8
Add a very crude proof-of-concept multi page widget.
...
The widget is used in the campaign selection dialog, which doesn't work
properly (but is only used with --new-widgets). The code still needs a lot of
polishing and testing, which will be done later.
2009-05-23 09:17:44 +00:00
Mark de Wever
a01857f746
Add a new transient dialog.
2009-05-22 19:08:34 +00:00
Mark de Wever
ffdbcda976
Reverted 2009-05-13T22:46:48Z!terraninfo@terraninfo.net, the code now works due to 2009-05-14T18:08:45Z!koraq@xs4all.nl.
...
Tested and bug #13521 no longer occurs with this code.
2009-05-14 18:20:00 +00:00
Iurii Chernyi
a82a901125
Reverted 2009-05-13T17:57:34Z!koraq@xs4all.nl, as it caused Bug #13521
2009-05-13 22:46:48 +00:00
Mark de Wever
59b4f7a094
The tmessage dialog can now show up to 4 buttons.
2009-05-13 17:57:34 +00:00
Jörg Hinrichs
9dee31d3ed
Moving the savefile overwrite dialog to gui2.
2009-04-28 20:12:39 +00:00
Jörg Hinrichs
ffa6fde8bb
Savegame reorganization Step 1: a simpler interface to saving and loading.
...
Some more savegame.cpp refactoring.
2009-04-27 22:25:43 +00:00
Jörg Hinrichs
29a3b7d681
Adds a missing file...
2009-04-27 22:02:38 +00:00
Jörg Hinrichs
b539658983
Savegame reorganization Step 1: a simpler interface to saving and loading.
...
Implement the savegame dialog for OoS messages.
2009-04-27 20:27:15 +00:00
Jörg Hinrichs
dce2a6c01e
Savegame reorganization Step 1: a simpler interface to saving and loading.
...
Transfer save-game dialog to gui2 and use it within savegame.cpp.
2009-04-24 21:59:53 +00:00
Mark de Wever
ca934892bc
Updated the description string.
...
The original string wasn't too clear and Polarina had a better suggestion.
2009-04-19 17:17:50 +00:00
Mark de Wever
255db63a20
Properly balance braces.
2009-03-13 21:36:56 +00:00
Mark de Wever
c9a63e9f0f
The message dialog no longer uses a magic value.
...
Before the width offset of the map was hardcoded, now it uses the actual
map size so the magic value is no longer needed.
2009-03-13 21:03:24 +00:00
Mark de Wever
978aa913ad
Add the preview pane for the campaign dialog.
...
The pane still needs quite a bit tuning and the extra layout phase looks
rather bad.
2009-03-01 16:24:42 +00:00
Mark de Wever
576eba454d
Add the initial version of the new campaign dialog.
...
This version only has the list with campaigns. The cfg is in the wesnoth text
domain instead of wesnoth-lib to avoid a new string.
2009-03-01 14:03:47 +00:00
Mark de Wever
5adea4af72
Comment out some not translatable tooltips.
2009-03-01 09:40:40 +00:00
Mark de Wever
653e08fd97
Change return_value to return_value_id.
2009-03-01 08:23:37 +00:00
Mark de Wever
e77b593dd7
Listbox rows no longer have a fixed height.
...
Remove the old part of the code which allowed that.
2009-02-28 19:42:36 +00:00
Mark de Wever
625d60a939
Add the transparent button to the right side.
2009-02-28 19:00:51 +00:00
Mark de Wever
1bd360080e
Add a transparent listbox to the wml_message.
2009-02-28 18:58:36 +00:00
Mark de Wever
596eeca1de
Add a new transparent scrolllabel for wml_message.
2009-02-28 18:09:29 +00:00
Mark de Wever
0a78fd1ed4
New transparant button in transparent dialog.
...
The art might need some more polishing, but rather leave that to an artist.
2009-02-28 17:15:50 +00:00
Mark de Wever
21c497df6f
Cleanups and improvements.
...
The listbox now also has proper columns also for the header.
2009-02-28 15:57:55 +00:00
Mark de Wever
b62d9f5883
Cleanups and improvements.
...
This prepares the listbox to have it's header the same size as it's
content.
2009-02-28 15:57:27 +00:00
Mark de Wever
cce9f9da1d
Added experimental new addon download dialog.
...
This dialog is only available when started with --new-widgets and shouldn't
add new strings. The dialog is added to ease the testing the listbox
alignment feature that still needs to be added before 1.6. This dialog won't
be finished before 1.6.
2009-02-22 08:17:46 +00:00
Mark de Wever
9b74df726d
Add some space for right side messages.
...
Discussed with Kitty and 10 pixels space looks much better.
2009-02-19 21:37:24 +00:00
Mark de Wever
364c61e484
Make the maximum used width for the message text 650 pixels.
2009-02-19 20:21:20 +00:00
Thomas Baumhauer
803c29f54d
removing the password box and the remember password checkbox...
...
...from the mp method selection dialog
2009-02-14 17:27:39 +00:00
Nils Kneuper
602be4e93f
change button name to the default in a yes/no dialog...
...
('OK' instead of 'Login')
2009-02-01 16:57:41 +00:00
Mark de Wever
adabe7c725
Add support for the special [option] syntax.
2009-01-31 19:39:57 +00:00
Mark de Wever
b5109a2b56
Fix a crash with a long text.
...
At the moment the scroll_label is the label to be used if wrapping is
required. The dialog looks a bit ugly due to the fact that the
scroll_label can't optimize it's size yet. Also the alignment looks a
bit odd, but I'll leave it to Baufo to tune that part.
2009-01-31 12:06:50 +00:00
Mark de Wever
0d66f0b154
Ported the options messages to the new dialog.
...
The background of the listbox is still a bit ugly. Also the escape key hasn't
been disabled yet.
2009-01-31 11:47:58 +00:00
Mark de Wever
2d93237754
Disable the vertical centering of small 'portraits'.
...
Shadow_Master noticed that with a short message on a big screen the portrait
is shown outside the dialog. There's no proper way to fix it, so disabled
this feature for the time being.
2009-01-29 20:39:06 +00:00
Thomas Baumhauer
1ad3c0517b
[[Change MP server info message]]
2009-01-29 15:10:16 +00:00
Mark de Wever
a5d2ca1e83
Renamed some labels.
...
The new name is already in the po files and is better as the previous version.
Also the previous version wasn't marked as translatable.
2009-01-28 21:20:19 +00:00
Mark de Wever
937a349888
Dialogs with an input text are converted to the new dialogs.
2009-01-28 21:14:13 +00:00
Mark de Wever
685e1ae040
Centre the portraits if smaller as 100 x 100.
...
Note the vertical centering doesn't work entirely since the text
height is unknown. This might be tuned later by exporting the height
of the panel part.
2009-01-24 12:52:02 +00:00
Mark de Wever
17905c84cd
Added some macros to keep the code clean.
2009-01-24 11:47:29 +00:00
Mark de Wever
f62feb05f5
Split message.cfg.
2009-01-24 11:21:21 +00:00
Mark de Wever
133eb440fb
Move the panel definition to its own file.
2009-01-23 22:54:51 +00:00