Commit graph

1566 commits

Author SHA1 Message Date
Fabian Müller
a3caa30a09 Resolved naming conflict. 2011-02-12 22:35:15 +00:00
Fabian Müller
cf921d70f9 Config file for the image message dialog. 2011-02-12 21:41:35 +00:00
Mark de Wever
c61bea3404 Remove the now unused tooltip widget. 2011-02-12 21:36:38 +00:00
Fabian Müller
3fe7c28c3d Finetuned the recruit dialogue. 2011-02-12 06:25:47 +00:00
Mark de Wever
813f103b15 Add a new tooltip implementation.
It's based on a new base class for popup windows. It also fixes the not
properly undrawing problem.
2011-02-11 19:50:23 +00:00
Fabian Müller
7725e75a07 Implemented the [unit_input] message subtag...
...and replaced the old recruit dialog with a gui2 one.
2011-02-11 19:01:16 +00:00
Jörg Hinrichs
9afd2aca23 Introduce line breaks for OOS-dialog. 2011-02-10 21:20:45 +00:00
Mark de Wever
46eb1e052d Add a circle to the debug clock.
Doesn't look too great, but the window is for debug testing only.
2011-02-07 19:42:09 +00:00
Mark de Wever
8dc0c1e343 Rename gui2 wml colour to color. 2011-01-10 20:38:49 +00:00
Mark de Wever
8c069aef70 Fix maximium portrait height.
Fixes bug #17399, also adds some more debug information.
2011-01-08 20:40:38 +00:00
Mark de Wever
d8b025e716 Add a new debug clock dialog.
The dialog is used to test the drawing routines. The clock will need
some appearance changes later on. It's main goal is to test the drawing
routine timing and several other things I want to test in the near
future, where I want to see what parts get updated.
2010-12-26 17:07:48 +00:00
Ignacio R. Morelle
198bba9ec4 GUI2: taddon_description: formula cleanup 2010-12-26 14:26:21 +00:00
Ignacio R. Morelle
c514d77361 GUI2: taddon_description:
Un-hardcode max icon size of 72x72 and avoid scaling smaller icons
(attacks/, etc.)
2010-12-26 14:19:58 +00:00
Mark de Wever
119349b09e Add drawing widget.
This widget allows to customize drawing the widget in the window definition.
The widget has, like the spacer a fixed best size.
2010-12-23 20:05:37 +00:00
Ignacio R. Morelle
979f2e4e69 GUI2: taddon_description: merge 2/2 2010-12-21 21:08:58 +00:00
Ignacio R. Morelle
e7b7abe209 GUI2: New add-ons description dialog...
...with more details than the description (merge 1)
2010-12-21 21:08:36 +00:00
Mark de Wever
56579c4972 Allow the progress bar to become higher. 2010-12-21 20:43:15 +00:00
Mark de Wever
328e5541f6 Fix the progress bar colours.
Forgot to add the alpha value, which made the objects fully transparent.
2010-12-21 20:43:10 +00:00
Mark de Wever
f001feb9b2 Fix some typos in the formulas. 2010-12-21 20:43:07 +00:00
Ignacio R. Morelle
586e938c10 Remove an empty file 2010-12-09 12:46:18 +00:00
Ignacio R. Morelle
01197b0325 Fix alignment of labels in certain confirmation dialogs (e.g. Quit) 2010-12-08 20:59:49 +00:00
Lari Nieminen
60ddac72af Reverted 2010-12-08T14:35:26Z!lari.nieminen@iki.fi since actually it didn't make any sense after all. 2010-12-08 16:26:57 +00:00
Lari Nieminen
4a43a89c15 Made images in messages be placed 10px above the bottom edge...
...of the screen if they're <250px high (and thus not portraits),
horizontally centered all images on the available space instead of
aligning images >100px wide to the left edge, and probably fixed the
image centering not working on right-side images.
2010-12-08 14:35:26 +00:00
Ignacio R. Morelle
96fe64e785 GUI2: Set a max width for tedit_label 2010-12-07 22:10:44 +00:00
Ignacio R. Morelle
121b4b48f4 GUI2: Set a max width for tcampaign_difficulty 2010-12-07 22:10:29 +00:00
Ignacio R. Morelle
a4b859cb2a GUI2: Set a max width for tsimple_item_selector
(These really need to be macroified...)
2010-12-07 22:10:13 +00:00
Ignacio R. Morelle
a3fda67a19 GUI2: Replace a couple of cases of label...
...with scroll_label to wrap long text
2010-12-07 22:09:59 +00:00
Ignacio R. Morelle
95667feed3 Convert the MP create game-set password dialog to GUI2 2010-12-07 21:49:53 +00:00
Mark de Wever
82ab772179 Improved the portrait width in the wml_message.
The width of a portrait is 1/3 of the text width until it reaches the
maximum portrait width. This change also looks whether the maximum
text width has been reached, once reached the portrait no longer takes
1/3 but all width available.

This change means that portraits reach their maximum size at a smaller
resolution. The issue was brought to my attention by zookeeper.
2010-11-29 21:18:50 +00:00
Ignacio R. Morelle
0166cc06e3 GUI2: Remove Generate Name option from the --new-widget unit-create dialog
It's useless now that units get names by default.
2010-11-29 20:12:47 +00:00
Ignacio R. Morelle
902abccd4b GUI2: remove bottom border from WML message dialogs
This solves the first item in the second section of the following post:
[http://forums.wesnoth.org/viewtopic.php?t=29640]
2010-11-29 19:31:11 +00:00
Ignacio R. Morelle
8f9a8764a1 Fix capitalization on the "Update add-ons" button
(Although I'd honestly just uncapitalize everything.)
2010-11-29 11:21:05 +00:00
Ignacio R. Morelle
672bdfe372 Try setting a maximum width of 800px for GUI2...
...message/transient_message windows
2010-11-27 21:08:23 +00:00
Ignacio R. Morelle
90db294366 Fixed the titlescreen GUI2 window description 2010-11-16 00:56:55 +00:00
Ignacio R. Morelle
4379c471dc Convert campaign difficulty selection dialog to GUI2
Changelog entries pending. May need wmllint changes.
2010-11-15 20:25:09 +00:00
Ignacio R. Morelle
af65eefdaa Replace id in definition of title_creen_revision with title_screen_revision 2010-11-07 21:18:32 +00:00
Ignacio R. Morelle
1f16bd7f7a Convert the gamemap label editor dialog to GUI2 adding a new dialog class 2010-11-07 13:57:42 +00:00
Ignacio R. Morelle
52ea365fbd Forgot a couple of tstring internationalization marks 2010-11-07 03:08:02 +00:00
Ignacio R. Morelle
0d7e330103 Add a new simple item selector GUI2 dialog, and convert :cl to use it 2010-11-06 15:13:32 +00:00
Nils Kneuper
53556ab182 add line wrap to the source entry of tips of the day
this allows using a resolution of <=802px horizontally eg with the
german translation
2010-11-05 10:12:19 +00:00
Ignacio R. Morelle
42ea220522 Revert revisions 2010-10-22T22:24:02Z!shadowm@wesnoth.org and 2010-10-22T22:22:50Z!shadowm@wesnoth.org...
...to make the titlescreen usable again with --smallgui
2010-11-02 15:10:32 +00:00
Ignacio R. Morelle
0c2ea8d066 Revert "Cast a blur effect on the WML message panel background...
...per Eleazar's suggestion"

This reverts commit 2010-11-02T01:30:00Z!shadowm@wesnoth.org.

There's one problem with GUI2 that needs to be fixed first, which is
also why there's no blurring in the titlescreen panels yet. I should've
noticed earlier.
2010-11-02 03:10:18 +00:00
Ignacio R. Morelle
bcd38591a1 Cast a blur effect on the WML message panel background...
...per Eleazar's suggestion

(Item 2 in the second part of
http://forums.wesnoth.org/viewtopic.php?p=423254#p423254).
2010-11-02 01:30:00 +00:00
Ignacio R. Morelle
39cf17a47e Remove redundant textdomain binding 2010-11-01 02:53:33 +00:00
Ignacio R. Morelle
b63bdf39a9 Add support for an optional image to transient_message objects
(Part of a forthcoming fix for bug #16859.)
2010-10-27 20:02:25 +00:00
Ignacio R. Morelle
041def34d4 Rename "title_creen_revision" label type to "title_screen_revision" 2010-10-22 22:24:02 +00:00
Ignacio R. Morelle
1a9ed1c431 Move titlescreen revnum label to the left edge and reduce its font size
The version number shouldn't be catching the attention of the reader.
2010-10-22 22:22:50 +00:00
Mark de Wever
cdb1731d48 Add new tips code for gui2.
It doesn't implement the filtering of the tips yet, but that's not used in
mainline at the moment.
2010-10-14 19:33:06 +00:00
Mark de Wever
2eede1781d Allow different sizes of the title screen logo.
Small logos are no longer tiled and large ones no longer cut off (at
least not unless they become larger as the maximum 550x250).  (Fixes
bug #16632.)
2010-09-29 21:28:26 +00:00
Mark de Wever
3f21869f9c Strip trailing whitespace. 2010-09-29 19:20:42 +00:00