Commit graph

1880 commits

Author SHA1 Message Date
Fabian Müller
28ee828a3c Adjusted the position and layout of the recruit dialog. 2011-03-05 22:17:03 +00:00
Fabian Müller
0b82ea29bc Preliminary fix to support recruiting at low resolutions. 2011-03-05 16:35:17 +00:00
Fabian Müller
f4db8534b7 Switched to scalled images, still not working. 2011-03-05 16:34:34 +00:00
Fabian Müller
ab32959395 Got rid of the config for the old wml_message dialog. 2011-03-05 12:05:02 +00:00
Fabian Müller
3e96305e73 Added macros from the old wml_message.
mordante, do you know a better place for them?
2011-03-05 12:04:13 +00:00
Fabian Müller
d0f6d7d2f7 Code cleanups. 2011-03-05 11:32:25 +00:00
Fabian Müller
18631914f8 image_definition for scaled unit portraits, not working. 2011-03-05 11:21:19 +00:00
Fabian Müller
2136baba2a Demonstration commit to gain help from mordante 2011-03-05 09:12:02 +00:00
Fabian Müller
af7a57c30a WML for the recruit gui2 dialog. 2011-03-04 11:27:39 +00:00
Mark de Wever
2dc8c91a61 Convert the debug clock to a non modal dialog.
This is just a test case also enables a helptip for the hour progress
bar.
2011-02-20 09:05:58 +00:00
Mark de Wever
4e30569988 Add helptip information to the tooltip.
When a widget has both a tooltip and helptip a small text to notify
the user about it. This also means when there is a helptip the tooltip
needs to have a text.
2011-02-20 07:26:05 +00:00
Fabian Müller
2d01566730 Fix the unit tests for gui2. 2011-02-14 20:55:55 +00:00
Fabian Müller
836d86b65f Tried another grouping of the buttons to allow lower resolutions 2011-02-14 19:24:40 +00:00
Mark de Wever
86174bca3c Add tooltips and helptips to all windows.
All use the basic default now, this will need some window based tuning
later on.
2011-02-13 18:41:58 +00:00
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