Commit Graph

232 Commits

Author SHA1 Message Date
Tomasz Śniatowski
abf8b9e4a2 WIP gui2 lobby 2009-06-28 01:11:03 +01:00
Tomasz Śniatowski
d154a71ef6 missing cfg file 2009-06-14 17:55:25 +01:00
Guillaume Melquiond
9f50ddb060 Typo. 2009-06-14 15:56:18 +00:00
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
c60186f971 Implement the new scrollbar panel widget.
The widget isn't used yet, but will be for the campaign dialog.
2009-06-02 19:41:15 +00:00
Mark de Wever
e9c3a0e64c Reanable blurring for the transient window. 2009-06-01 16:59:09 +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
Nils Kneuper
6ccc7c33c7 add some textdomain markers to files that had none,
...should not introduce any strings, just for completions sake (every
.cfg should have a marker, have done the job util
utils/change_textdomain -t )
2009-04-11 22:30:16 +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
68c640c5da Make the new tooltips look like the old ones.
Also update the changelog.
2009-03-01 09:40:58 +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
16a85ceb57 Add a transparent toggle panel. 2009-02-28 18:57:33 +00:00
Mark de Wever
70fdcccad8 Add the transparent horizontal scrollbar. 2009-02-28 18:23:14 +00:00
Mark de Wever
f5d47584ab Made the scrollbar code more generic. 2009-02-28 18:20:28 +00:00
Mark de Wever
d3e8190e98 Add a file forgotten in my last commit. 2009-02-28 18:10:59 +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
ba85499fda Made the scrollbar code more generic. 2009-02-28 17:45:18 +00:00
Mark de Wever
a5eb28f569 Add a new set of transparent navigation buttons.
These will be used in the transparent wml message dialog.
2009-02-28 17:34:35 +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
c0ceab1d57 Refactor the button widget.
This way multiple button variations can be defined in the macro.
2009-02-28 17:04:05 +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
dd3e853ec3 Add the framework to allow gui sounds. 2009-02-20 19:30:48 +00:00