Commit graph

1566 commits

Author SHA1 Message Date
Boldizsár Lipka
a71c308d65 Support for new add-on type "MP modification"...
...in the add-ons manager and server.
2012-10-01 16:46:00 +00:00
Boldizsár Lipka
bcaa7f4f2c Applied patch #3297 2012-09-25 17:42:18 +00:00
Fabian Müller
e9c16cf709 Implemented a dialog for editing the map labels in the editor.
Changes to the side menu generation:
Shows the correct side numbers and names,
sadly the default for a side name is "1".
2012-07-22 16:29:09 +00:00
Ignacio R. Morelle
cc7dcbc511 gui2/taddon_filter_options: Forgot to address a...
...horizontal_alignment/grow mix complaint before committing
2012-05-29 23:57:31 +00:00
Ignacio R. Morelle
4465f15b9a gui2/taddon_filter_options: Additional filtering options...
...dialog for the gui1 Add-ons Manager dialog
2012-05-29 23:49:57 +00:00
Mark de Wever
2737a99bf2 Use the new matrix code in the debug clock.
This is only used for testing.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 08:54:32 +00:00
Mark de Wever
c93d7d1484 Add a new matrix widget.
This widget is slated to replace the current listbox in the
future. The code however is only ready as proof-of-concept code, and
not usable in real code yet.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 08:52:47 +00:00
Mark de Wever
83b510cb16 Add a new instance dummy widget.
This widget is used to postpone instantiation of a widget. This will be used
in the new matrix widget where the definition needs a widget which will only
be available when the matrix widget is instantiated in a window.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-28 08:21:28 +00:00
Mark de Wever
950169d49e Add a builder for a pane.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-27 10:03:47 +00:00
Mark de Wever
036f932414 Add a builder for a viewport.
It allows to use a viewport in a grid. It's now also possible to own the
widget in the viewport.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-26 12:29:49 +00:00
Ignacio R. Morelle
c51d3bff5c gui2/taddon_description: Let the type and status fields wrap...
...if the contents don't fit in a single line
2012-05-21 04:12:36 +00:00
Ignacio R. Morelle
1d3b959915 gui2/taddon_description: Add rows for displaying add-on type and download count 2012-05-21 04:06:46 +00:00
Ignacio R. Morelle
bdbd6150c2 gui1, gui2: Rename "Reselect difficulty" option to "Change difficulty"
This affects both internal ids and symbols and translatable strings.
2012-05-18 20:11:11 +00:00
Mark de Wever
db8ddc9b02 Add a debug and test code.
In order to test with formatting growing listboxes I need a growing
listbox. When showing the addon dialogue only one is shown, the others
are loaded with the load button. The code is a bit hacky, but hidden
under the --new-widgets switch.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-05-13 14:47:03 +00:00
Mark de Wever
2158853bce Add the find_at functions for the pane.
This allows the usage of the mouse in the pane. Also increases the size
of the pane to have a bit more space to move the mouse around.

Note the offset to the mouse movement and what it affects on the screen
is intentionally.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-30 19:37:38 +00:00
Mark de Wever
23ad78c25f Add a tooltip to the filter in the addon list.
This makes clear what is actually filtered on.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-30 19:37:34 +00:00
Mark de Wever
230eee6bc2 Add a character limit to the addon description.
The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-30 19:37:29 +00:00
Mark de Wever
02664dfb45 Remove the width limit from the campaign dialogue.
The previous limit was an artificial limit, using the character limit
feels less arbitrary. Did some other cosmetic fixes to let the dialogue
look nicely for different window widths.
2012-04-30 19:37:26 +00:00
Mark de Wever
8a4a4e6eae Adds a character limit width constrain to a label.
Lets the gui2 label use the code of the previous commit. Allow it
potentially for every control, only implemented for the label.
2012-04-30 19:37:24 +00:00
Mark de Wever
8a3a435432 Add the description of the addon in the list.
The description needs some polishing to look properly.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-29 20:48:53 +00:00
Mark de Wever
0003120434 Add filtering to the pane.
Using a functor items can be shown or hidden.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-29 20:48:50 +00:00
Mark de Wever
4d9cd65048 Add the initial pane sorter implementation.
The code can now sort addons on their name and size.

The code is used to experiment with a different approach of the
implementation of a listbox.
2012-04-29 16:51:22 +00:00
Ignacio R. Morelle
0a6c8813ba gui2/tnetwork_transmission: Fixed untranslatable Cancel button label
(bug #19659)
2012-04-27 07:26:28 +00:00
Ignacio R. Morelle
876111f52f gui2/taddon_connect: Remove Update Add-ons option,
...which is now a manager view instead
2012-03-01 21:40:11 +00:00
Ignacio R. Morelle
35504da204 gui2/taddon_description: Display add-on status information in this dialog
The exact presentation isn't yet final, and the code isn't too elegant
either, but the way it is right now should be more or less easy for
translators to handle. The coloring is an experiment and it'll be
removed if people don't like it.
2012-03-01 00:37:18 +00:00
Nils Kneuper
34ad0bf0c7 fixed two untranslateable strings in the new mp lobby 2012-02-29 10:51:11 +00:00
Ignacio R. Morelle
59a198a6e8 Added tooltips to Load Game dialog (feature/bug #18249) 2012-02-07 19:06:27 +00:00
Ignacio R. Morelle
499f879d29 gui2/tunit_create: Right-align dialog control buttons 2012-02-04 05:57:47 +00:00
Ignacio R. Morelle
24dbf0b478 gui2/tunit_attack: Use standard margins for the central listbox 2012-02-04 05:57:33 +00:00
Ignacio R. Morelle
87e482b571 gui2/tsimple_item_selector: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 05:57:18 +00:00
Ignacio R. Morelle
d66571f0b8 gui2/tnetwork_transmission: Simplify layout removing an unneeded spacer 2012-02-04 05:57:03 +00:00
Ignacio R. Morelle
5ec456fa80 gui2/tmp_server_list: UI consistency changes
* Added standard margins for the central listbox

 * Right-align dialog control buttons correctly, eliminating the large
   gap between them
2012-02-04 05:56:49 +00:00
Ignacio R. Morelle
c1e2fa3ad1 gui2/tmp_method_selection: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 05:56:34 +00:00
Ignacio R. Morelle
8b159f268c gui2/tmp_login: Use standard margins for the checkbox 2012-02-04 05:56:20 +00:00
Ignacio R. Morelle
45c7a5ffb7 gui2/tmp_host_network_game_prompt: Right-align dialog control buttons 2012-02-04 05:56:05 +00:00
Ignacio R. Morelle
18aecfcb6d gui2/tmp_connect: Lay out dialog control buttons separately...
...and align them to the right
2012-02-04 05:55:50 +00:00
Ignacio R. Morelle
0933f459b3 gui2/tmp_create_game: UI consistency changes
* Use "OK" for the OK button label instead of "Create game" (sic)
 * Right-align dialog control buttons
2012-02-04 05:55:20 +00:00
Ignacio R. Morelle
a8bbd00166 gui2/tlanguage_selection: Some consistency changes
* Replace "Change Language" button label with the shorter "OK"

 * Right-align dialog control buttons correctly
2012-02-04 04:26:24 +00:00
Ignacio R. Morelle
602eec78f4 gui2/tgame_save*: Various consistency changes
* Give the three dialogs a maximum size of 500x600

 * Lay out the dialog control buttons separately from the rest

 * Right-align the dialog control buttons

 * Removed the now unnecessary spacers
2012-02-04 04:20:01 +00:00
Ignacio R. Morelle
28cd33537d gui2/tgame_save_message: We don't really need a placeholder...
...for a label's contents here

In particular, we don't need a single translatable "x" to confuse
translators.
2012-02-04 03:52:30 +00:00
Ignacio R. Morelle
73c3e54de1 gui2/tgame_save: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 03:46:21 +00:00
Ignacio R. Morelle
d66169f9da gui2/tgame_load: Some UI consistency changes
* Vertically align the dialog to the center, not the top edge of the screen

 * Gave various widgets a standard margin
2012-02-04 03:29:12 +00:00
Ignacio R. Morelle
41eb90818e gui2/tgame_load: Will people ever pay attention to capitalization guidelines? 2012-02-04 03:19:53 +00:00
Ignacio R. Morelle
9809b728fd gui2/tgame_delete: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 03:19:32 +00:00
Ignacio R. Morelle
867a9e1842 gui2/tfolder_create: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 03:16:36 +00:00
Ignacio R. Morelle
25ef4fed16 gui2/teditor_set_starting_position: Right-align dialog control...
...buttons correctly
2012-02-04 03:13:57 +00:00
Ignacio R. Morelle
d9a3b6b3f5 gui2/teditor_resize_map: Various UI consistency changes
* Gave the expand/shrink direction box label a trailing colon, and
   removed gratuituous blanks

 * Gave certain widgets a standard margin

 * Right-aligned dialog control buttons

 * Shortened "Resize Map" button label to just "Resize"
2012-02-04 02:51:48 +00:00
Ignacio R. Morelle
583bc109f6 gui2/teditor_generate_map: Right-align dialog control buttons correctly 2012-02-04 02:51:27 +00:00
Ignacio R. Morelle
65188917ae gui2/tcampaign_difficulty: Right-align dialog control buttons correctly,
...eliminating the large gap between them
2012-02-04 02:40:00 +00:00
Ignacio R. Morelle
020a07894a gui2/taddon_connect: Lay out the dialog control buttons independently...
...of the rest of the dialog
2012-02-04 02:38:27 +00:00