Commit graph

1878 commits

Author SHA1 Message Date
Mark de Wever
7fe3294f39 Moved the easy close behaviour to the window.
At some places click dismiss is used which will be the new name of the
feature since it's a more fitting name.
2009-09-08 20:12:05 +00:00
Iurii Chernyi
2bac79fad0 new 'inspect' debug command, new [inspect] debug tag,
...new gamestate inspector dialog (prototype)
2009-09-05 11:02:23 +00:00
Mark de Wever
19573e882d Several layout fixes for the game load dialog. 2009-08-26 20:57:39 +00:00
Jörg Hinrichs
2ce2e58d93 Improve the layout of the game-load dialog. 2009-08-26 19:55:45 +00:00
Mark de Wever
9d04c8500f Add a horizontal listbox. 2009-08-23 12:20:06 +00:00
Ignacio R. Morelle
b4dd617f54 GUI2 debug mode unit-create dialog:
Added male/female toggle buttons, name generation toggle, listbox. The
listbox should get filled with unit types now. Basically all the dialog
works except for a SDL issue with a toggle button which causes an
assertion failure before being displayed.
2009-08-19 18:29:24 +00:00
Mark de Wever
d4b3f25b04 Remove some obsolete WML again. 2009-08-18 18:16:32 +00:00
Tomasz Śniatowski
be0bd671d9 put the disclosure triangle in front of the group name in newlobby 2009-08-18 00:17:58 +01:00
Mark de Wever
bfe26da52a Remove some obsolete WML. 2009-08-17 18:56:09 +00:00
Iurii Chernyi
498c4f8977 Formula AI Debugger (uses --new-widgets ) 2009-08-17 15:06:13 +00:00
Tomasz Śniatowski
f438451acd reduce gui2 tooltip delay to 200ms.
1500 is long enough that some people would assume there are no
tooltips at all.
2009-08-16 15:42:37 +01:00
Tomasz Śniatowski
4e15da49c8 Lobby icon update, icons taken from forum lobby icon request topic.
- JAP's ums2 icon (as ums.png)

- Zarael's fog/shroud icons (modified to add transparency)

- Zarael's disclosure triangles, key and qmark reload icon (modified
  with transparency)

- Zarael's A-Z sort icon, modified with transparency and with
  desaturated version as "off" icons

- group effort relation sort icon, with desaturated version as "off" icons
2009-08-16 10:31:06 +01:00
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