Tomasz Śniatowski
c82645a4a4
add a TINY font size in gui2...
...
...and a default_tiny label definition, used it in new lobby
2009-07-07 19:50:58 +01:00
Jörg Hinrichs
b2fa008a80
Replacing one savegame dialog with the new message dialog class.
...
This also shows work in progress on the load-game dialog. It's not
really functional yet but there is something to see already so i am
comitting this already. If you are curious for the dialog, remove the
comments in savegame.cpp (line 336/337).
2009-07-06 22:08:06 +00:00
Mark de Wever
ed794a8c0c
Add the initial version of the stacked widget.
...
This widget allows several widgets to be placed on top of each other
in the same space. This can be used to create overlay images. (The
widget is not yet used and rather experimental.)
2009-07-05 15:53:56 +00:00
Guillaume Melquiond
9f50ddb060
Typo.
2009-06-14 15:56:18 +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
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
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
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
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
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
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
133eb440fb
Move the panel definition to its own file.
2009-01-23 22:54:51 +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
2cc2a51603
Make NEW_DRAW unconditionally, WML side.
...
Remove the condition from the WML, also a few code changes which are not
longer needed, now that the WML has been converted.
2008-12-29 08:51:37 +00:00
Mark de Wever
a963d007a0
Rewrote the listbox class.
...
Now uses the scrollbar container as base and the generator for its
items. The scrolling doesn't work properly yet.
2008-12-24 16:01:02 +00:00
Mark de Wever
ebf482bbb5
Move some macros to their own file.
...
This way those macros can be reused for all containers that need scrollbars.
2008-12-13 11:35:08 +00:00
Mark de Wever
fba341cd49
Add a proof of concept new container class.
...
With the change of the drawing engine a rewrite of the containers is
needed as well. This adds a new container class which the scroll_label
uses. The class can't forward events and also the scrollbars are
always visible.
2008-12-08 21:26:35 +00:00
Mark de Wever
2f700cd925
Added a horizontal scrollbar widget.
...
Also added 'new' art, since the current toolkit has no art for it. The art is
of the copy-paste-rotate kind. (The scrollbar is not used yet.)
2008-12-04 19:00:44 +00:00
Nils Kneuper
01c575209c
add a textdomain declaration to every .cfg file...
...
...(via utils/change-textdomain -t)
2008-10-07 10:35:42 +00:00
Mark de Wever
9f8cf8935a
Fix some macro parameters.
2008-10-04 13:39:57 +00:00
Mark de Wever
413402e4bc
Aargh forgot one more file.
2008-09-22 21:38:26 +00:00
Mark de Wever
11cccff142
Some fixes to the scroll label.
...
* Render the text a the right location.
* Make the label grow properly.
2008-09-21 10:33:57 +00:00
Mark de Wever
3a47eef6b3
Add the scroll label widget.
2008-09-19 16:39:16 +00:00
Mark de Wever
7f13663100
Fix ltr language alignement problems in the language dialog.
...
Needed to set the proper maximum width and use the extends size and
offset to get the proper required width. Added a debug ostream function
which already has been written a few times and added some debug code.
2008-09-07 19:53:31 +00:00
Mark de Wever
6e767674bd
When the text on a label doesn't fit, use an ellipse instead of truncating.
2008-09-07 19:53:19 +00:00
Mark de Wever
289aaa9f0b
Listbox cell refactoring.
...
The cells in a listbox now share some more macros and the background of
the selected cell now looks like the version in the older gui.
2008-09-02 18:03:53 +00:00
Mark de Wever
97a72eff4c
Removed the usage of deprecated macros.
2008-08-31 17:43:25 +00:00
Mark de Wever
45ebc2acf0
Avoid the text box text overflow termination.
...
When the text was too long the cursor would be drawn out of bounds which
caused an assert which terminated Wesnoth. Now the text will no longer
be drawn out of bounds and be ellipized. (The ellipses are always drawn
at the end, which will be fixed later.)
2008-08-30 15:17:58 +00:00
Mark de Wever
66d6be81bc
Change the button to use the new macros.
2008-08-30 15:17:49 +00:00
Mark de Wever
b641844238
Cleanup the window definition.
2008-08-29 19:26:17 +00:00
Mark de Wever
ddc3769581
Cleanup patch to move macros in the string.
2008-08-29 19:26:12 +00:00
Mark de Wever
6ce967d869
Remove an obsolete proof-of-concept widget.
2008-08-29 18:34:53 +00:00
Mark de Wever
a5219f5df2
Updated to the new style.
2008-08-28 17:24:00 +00:00
Mark de Wever
708c847124
Updated to the new style.
2008-08-25 15:36:05 +00:00
Mark de Wever
653bee39bd
Updated to the new style.
2008-08-25 15:36:01 +00:00
Mark de Wever
b5ae677123
Updated to the new style.
2008-08-25 15:35:57 +00:00
Mark de Wever
72f8b75d53
Updated to the new style.
2008-08-25 15:35:52 +00:00
Mark de Wever
98c8377a09
Converted the listbox items with icons to the new format.
2008-08-23 20:24:45 +00:00
Mark de Wever
42e30eb72d
Changed the sizes of the listbox...
...
...so it can be used for normal and tiny gui.
2008-08-23 20:24:33 +00:00