Commit graph

1566 commits

Author SHA1 Message Date
Ignacio R. Morelle
8d77912423 WIP unit-create dialog (debug mode only) using GUI2.
It is only used with --new-widgets for now. If you open it you'll have
to use ESC since there are no OK or Cancel buttons yet.
2009-08-14 20:32:33 +00:00
Mark de Wever
fb08fa3e20 The widget in a stacked widget now grows properly. 2009-08-09 19:52:28 +00:00
Mark de Wever
e661d2f4c1 Added experimental listbox grow support.
This allows a listbox to grow, but keep the unused area blank instead of
trying to allocate it for it's content. The feature had minimal testing,
but ran into a problem that the stacked widget doesn't let the room
grow. This needs to be fixed before testing further.
2009-08-09 15:15:11 +00:00
Mark de Wever
c79d2f4e4e Convert listbox to new linked widget style. 2009-08-09 15:15:01 +00:00
Mark de Wever
665711baf8 Convert listbox to new linked widget style. 2009-08-09 08:37:06 +00:00
Mark de Wever
94b612bb82 Convert listbox to new linked widget style. 2009-08-09 08:37:01 +00:00
Mark de Wever
746b5c2608 Convert listbox to new linked widget style. 2009-08-09 08:36:57 +00:00
Mark de Wever
0db4278602 Convert listbox to new linked widget style. 2009-08-09 08:36:53 +00:00
Mark de Wever
a94816c285 Convert listbox to new linked widget style. 2009-08-09 08:36:48 +00:00
Mark de Wever
8626347798 Rename the label field to message. 2009-08-09 08:36:43 +00:00
Tomasz Śniatowski
1a934ac94b rename editor2 -> editor. Old editor is long dead, long live the new editor! 2009-08-08 12:14:58 +01:00
Tomasz Śniatowski
3edb87f0de gamelistbox horizontal adjustments 2009-08-05 19:29:01 +01:00
Tomasz Śniatowski
bf30acfe64 new lobby - roomlistbox and chat input width grow 2009-08-05 15:08:58 +01:00
Tomasz Śniatowski
05fab5ddc1 new lobby - playerlistbox width grow 2009-08-05 15:08:39 +01:00
Guillaume Melquiond
6dd582dfe2 Fixed button ordering for transient messages,
...so that the yes/ok button is on the left and the no/cancel button
is on the right, as with all the other dialog boxes.
2009-08-05 10:52:33 +00:00
Tomasz Śniatowski
4a10aec89c gettextify some new lobby strings and add soem tooltips.
tooltips inside a toggle panel don't seem to work though
2009-08-03 14:45:27 +01:00
Tomasz Śniatowski
6fdf076253 mark pending messages in new lobby 2009-07-28 13:57:46 +01:00
Tomasz Śniatowski
2929a85255 lobby cfg cleanup 2009-07-24 14:04:38 +01:00
Tomasz Śniatowski
a8db684d3a wire in skip replay preference to new lobby 2009-07-24 14:03:30 +01:00
Tomasz Śniatowski
2a1d540c74 reorder playerlist sort buttons, move room close button...
...below the roomlist and conditionally enable it, kill the next room button
2009-07-23 19:40:35 +01:00
Tomasz Śniatowski
13b2f41b91 new lobby layout tweak 2009-07-23 19:39:49 +01:00
Tomasz Śniatowski
0d8e99d925 add a player info dialog that pops up on doubleclick...
...on newlobby's player list. Similar to the old lobby dialog.
2009-07-23 19:38:25 +01:00
Tomasz Śniatowski
17be99971f new lobby player list sorting:
...by name, relation(friends/neutral/ignores) or both (first by
relation then by name)
2009-07-21 17:49:04 +01:00
Tomasz Śniatowski
1584ae7f74 add, uh, one more toggle button definition to have small and tiny 2009-07-21 17:48:45 +01:00
Tomasz Śniatowski
47c4377cca small tweaks in lobby cfg file 2009-07-21 17:47:49 +01:00
Tomasz Śniatowski
df0445b9aa add a icon_small definition of the toggle button.
I'd prefer a version which adjusts to the icon size, but this will do
fine for my needs.
2009-07-21 17:47:31 +01:00
Tomasz Śniatowski
a8c68b2b04 make the game list rows react to double click...
...by joining/observing the game (needs a fix)
2009-07-21 17:47:13 +01:00
Tomasz Śniatowski
433db9ddab hide the non-functional buttons on the gamelist 2009-07-21 12:45:51 +01:00
Tomasz Śniatowski
321b49015a fix assert in new lobby 2009-07-21 12:45:10 +01:00
Tomasz Śniatowski
0792d6ec39 4-part-playerlist initial commit, needs a fix for a crash 2009-07-21 00:15:37 +01:00
Tomasz Śniatowski
4dc9f782b9 new lobby: Treat the game id as an int that it is,
...add status icons to player list (icons from patch/bug #11726 by
megane), add server support for differentiating between players
playing and observing a game.
2009-07-20 18:38:28 +01:00
Mark de Wever
78d26006d3 Fix a WML error in the mp lobby.
Fixes the "horizontal_grow and horizontal_alignment can't be combined,
alignment is ignored." error.
2009-07-19 10:12:36 +00:00
Mark de Wever
5b18d19f57 Minor improvement to the game delete dialog.
Added some borders and fixed a "horizontal_grow and horizontal_alignment
can't be combined, alignment is ignored" warning.
2009-07-19 10:12:18 +00:00
Mark de Wever
48a26aee1e Minor lobby layout improvements.
Still not as wanted but there are some more issues which need to be
fixed first:

- listbox shouldn't need to call resize after adding items (this is
  probably also the cause of the rather slow display updates of the
  lobby.)

- when listboxes have the vertical grow flag they don't work as
  expected.

Once these items are fixed more lobby improvements will follow.
2009-07-19 07:02:50 +00:00
Mark de Wever
8f3a947506 Fix widget order in GUI_FORCE_WIDGET_MINIMUM_SIZE.
With this fix the mouse focus is send to the containing widget instead
of the spacer.
2009-07-19 07:02:45 +00:00
Mark de Wever
49336dd48b Remove so dummy headers for the lobby listbox.
Ilor I'm not sure which header ids you use so left the rest of them,
please have a look yourself.
2009-07-19 07:02:39 +00:00
Mark de Wever
91d2b956e2 Convert mp server list to linked widgets new style. 2009-07-18 19:16:12 +00:00
Guillaume Melquiond
db52164d6b Fixed svn properties. 2009-07-18 12:44:56 +00:00
Mark de Wever
f629d61870 Some more lobby polishing. 2009-07-16 20:31:05 +00:00
Mark de Wever
a2e9242556 Refactor chat area in new lobby. 2009-07-16 20:30:56 +00:00
Mark de Wever
ded83f7642 Refactor game area in new lobby. 2009-07-16 20:30:49 +00:00
Mark de Wever
108c801222 Refactor filter area in new lobby. 2009-07-16 20:30:37 +00:00
Jörg Hinrichs
61cd8870f6 Add the still missing features to the gui2 game-load dialog.
This dialog now should have the same functionality as the old load
dialog. To activate, wesnoth needs to be started with --new-widgets.
2009-07-15 22:43:12 +00:00
Jörg Hinrichs
174a6280f9 Adding the delete game functionality to the gui2 load-game dialog. 2009-07-14 22:17:03 +00:00
Jörg Hinrichs
1b93fd102e Add new files for the delete-game-confirmation dialog. 2009-07-14 19:24:49 +00:00
Jörg Hinrichs
4c63f8acaa Add the filter functionality for the savegame list of the load-game dialog. 2009-07-14 19:22:19 +00:00
Mark de Wever
6e9c871369 WIP refactoring of the lobby main.
The refactoring should make the code more transparent and clear. Still
WIP but committing so ilor can work on the code without the risk of
merging problems.
2009-07-13 20:13:51 +00:00
Tomasz Śniatowski
906dda9e7d more icons in gui2 lobby gamelist...
...(replacement icons from someone who actually can draw would be welcome)
2009-07-13 16:51:52 +01:00
Tomasz Śniatowski
382a1f134e try to make the in-listbox buttons aligned 2009-07-13 15:35:47 +01:00
Tomasz Śniatowski
5fd745dc15 move the chat log multi_page to a define on top to reduce wml clutter 2009-07-13 15:35:07 +01:00