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
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
Mark de Wever
9efa34b263
Implement the keyboard focus for the text widget.
...
Now it should be clear which widget has the keyboard focus.
2009-02-10 19:47: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
48be9a6619
Add the real support for the markup :-/
...
Seems this file got forgotten, without it the markup won't work
properly since it controls the setting in the label for the canvas.
2009-02-01 11:56:38 +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
Mark de Wever
19a0d1f02d
Rename a badly ided widget.
2009-01-23 22:34:49 +00:00
Mark de Wever
302007bffb
Remove some unused code.
2009-01-23 22:25:37 +00:00
Mark de Wever
1e06d99b2f
Add a better test to detect old portraits.
...
It seems not all old images are 205x205 so that test failed. Now test
whether both dimensions are < 300 if so treat it as an old small image
and don't scale otherwise scale. This doesn't work entirely for Arne
(TB) 297x333 but unscaled he'll hide some text.
2009-01-18 05:43:34 +00:00
Mark de Wever
741f8efa01
Fix the right side wml dialog.
2009-01-17 17:53:15 +00:00
Mark de Wever
0be39435c3
Add support for 205x205 images in the new dialogs.
2009-01-17 16:55:26 +00:00
Thomas Baumhauer
798e0a1001
Added a textbox widget that displays its input as stars to be used...
...
...in the mp login dialogs.
2009-01-15 17:38:23 +00:00
Thomas Baumhauer
ba0692ceb2
add option to prevent the password from being saved
2009-01-13 22:31:03 +00:00
Thomas Baumhauer
61fc432f9b
somewhat clearing the multiplayer login dialog mess:
...
- added the possibility to provide a password in the mp method selection dialog
- merged all dialogs that displayed erros or allowed entering the
username or password into one dialog.
- password is now saved in preferences (todo: add option to turn this off)
2009-01-13 20:46:19 +00:00
Thomas Baumhauer
f3ace4861a
making sending a private message the default in the command wrapper dialog.
2009-01-10 15:22:17 +00:00
Thomas Baumhauer
862030b806
added a graphical front end to various mp commands, replacing the whisper dialog
2009-01-06 14:02:47 +00:00
Mark de Wever
d3a3ece9b8
Allow the message dialog to grow higher.
...
Kitty, Jetryl and zookeeper aren't too fond of the scrollbars in the
dialog if the text gets too long. Technically it's the easiest solution
to make things working in all cases. So we decided to let the dialog to
grow near the top so the scrollbars will pop up less frequently and
hopefully never.
2009-01-05 20:50:40 +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
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