Commit graph

1566 commits

Author SHA1 Message Date
Mark de Wever
b0d2756449 Align the roomlist on top. 2009-07-12 20:38:54 +00:00
Mark de Wever
86d45075e4 Align the gamelist on top. 2009-07-12 20:38:43 +00:00
Tomasz Śniatowski
6ec34d6d1d tweak some new lobby gamelist borders 2009-07-12 18:12:12 +01:00
Tomasz Śniatowski
b78451a9ee use more "tiny" labels in lobby gui 2009-07-12 18:11:33 +01:00
Tomasz Śniatowski
13ef5697f4 rename foes to ignored in lobby data for consistency...
...and kill the negative in attribute name (has_no_foes -> has_ignored)
2009-07-12 18:10:51 +01:00
Mark de Wever
ed3ef56c68 Enable the history for chat_input. 2009-07-12 16:13:21 +00:00
Mark de Wever
07fc7a7df7 Improve the placement of the minimap in the lobby.
Reduced its size and move it out of the border.
2009-07-12 16:13:14 +00:00
Mark de Wever
f137241df0 Add a GUI_FORCE_WIDGET_MINIMUM_SIZE macro.
This way it's possible to force the (minimum) size of a widget.
2009-07-12 16:13:05 +00:00
Mark de Wever
ca7ddfae04 Rewrite the config side for the stacked widget.
The widget can now hold different widgets, per stack item. The code side
will get a cleanup in the next commit.
2009-07-12 16:12:48 +00:00
Mark de Wever
08b02919c7 Adjust the width of the player list.
Make sure the list is at least as wide as the buttons. Ilor not sure
whether you want the header centred or left aligned so left it as is.
2009-07-12 10:08:42 +00:00
Mark de Wever
af139b0bd2 Move the player list section to the top.
This avoids moving the player list when a new player joins.
2009-07-12 10:08:29 +00:00
Tomasz Śniatowski
5ebc3a6bb4 add some basic filter UI elements to new lobby, unused yet 2009-07-11 23:22:16 +01:00
Mark de Wever
0bf157a947 Now show the victory laurel in a stacked widget. 2009-07-11 15:20:07 +00:00
Mark de Wever
af4d4d21c7 Remove some unused variables. 2009-07-11 13:16:37 +00:00
Tomasz Śniatowski
c4ee980c7d new lobby WIP (needs a fix) 2009-07-11 13:32:49 +01:00
Mark de Wever
0a26092a47 Make sure the title stays on top. 2009-07-10 18:56:15 +00:00
Tomasz Śniatowski
91b27c3cbc new lobby: rooms logic, crude room window support...
...(faked with one textbox and a 'next window' button)
2009-07-10 00:11:57 +01:00
Tomasz Śniatowski
609d35e24b remove background from some icons so they look better in newlobby, added as separate images 2009-07-07 19:51:21 +01:00
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
Tomasz Śniatowski
59a04d94a7 another bit of the new lobby.
Shows the minimap, more useful info in the gamelist and also fixed
preferences dialog display glitch
2009-07-07 19:49:35 +01:00
Jörg Hinrichs
cc1aa93ca3 Load-game dialog: Cleaning up and adding leader image support. 2009-07-07 18:41:48 +00:00
Eugen Jiresch
539ce0e9a2 added game_load.cfg to fix error in src/gui/widgets/settings.cpp 2009-07-07 07:45:14 +00: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
Tomasz Śniatowski
a44ebce1e9 Yet another new lobby WIP, this time with crude but working create/join game. 2009-07-05 18:49:11 +01: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
Tomasz Śniatowski
d27f069f14 newlobby: add empty labels to listbox header...
...with ids from bidy, does not help though
2009-07-05 11:22:14 +01:00
Tomasz Śniatowski
b71faa6269 more newlobby WIP 2009-07-05 11:14:53 +01:00
Mark de Wever
e2bf06d065 Add a completion icon to the campaign.
This proof of concept version shows whether or not the user finished a
campaign. The UI needs more polishing, using the soon-to-be-committed
stacked widet.
2009-07-05 09:53:58 +00:00
Mark de Wever
3a82d40ae4 Campaign toggle button -> toggle pannel.
This change allows to change to the 'to be added' stacked widget later
on, also fixes the issue that the campaign text ended up in the
border.
2009-07-05 08:09:26 +00:00
Tomasz Śniatowski
5c380490ef more new lobby WIP 2009-07-04 17:24:35 +01:00
Tomasz Śniatowski
cc6f84eec8 more WIP on the lobby dialog, very basic chat support 2009-07-04 10:39:28 +01:00
Tomasz Śniatowski
06ccc5262f WIP on the new lobby gui 2009-07-04 07:59:27 +01:00
Mark de Wever
72ad28af6d Move the dialog to the wesnoth-lib text domain.
Stikonas spotted this todo.
2009-07-03 16:51:29 +00:00
Tomasz Śniatowski
066856038a macrofiy the stub lobby gui to get under 10 levels of indentation 2009-07-02 13:00:32 +01:00
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