667 Commits

Author SHA1 Message Date
Ignacio R. Morelle
87c8ed6c2e gui2/tchat_log: Use 25x25 short arrow buttons for pagination
This should save us some space. More adjustments still need to be done
for this dialog to display correctly under certain circumstances.
2013-10-25 06:23:22 -03:00
Ignacio R. Morelle
916430ac3e gui2/tbutton: Add 25x25 left/right_arrow_short_ornate variants 2013-10-25 06:23:21 -03:00
Ignacio R. Morelle
f39392f1c2 gui2/tchat_log: Add log search support
The search done using the Filter box matches text on timestamps, nicks,
and messages in a case-insensitive fashion.

Some GUI layout adjustments still need to be done for this dialog to
display correctly. Not all of them are possible, unfortunately (e.g.
GUI2 doesn't support setting a minimum cell height yet).
2013-10-25 06:23:21 -03:00
Ignacio R. Morelle
1c414a30d6 gui2/tgame_paths: New dialog for displaying game paths in Preferences
The button to invoke this dialog is currently in Preferences -> General.
This will change as soon as I think of a better place/someone else
suggests a better place for the button.

The goal is to allow users to quickly inspect the various paths used by
the game to locate resources and configuration, for debugging or content
creation purposes. The dialog provides options to copy directory paths
to the system clipboard and browse them using the platform's file
manager software, when available.
2013-09-26 02:15:42 -03:00
Ignacio R. Morelle
ea4788e0cf gui2/tbutton: Add 25x25 variants for browse/go and copy-to-clipboard actions 2013-09-26 01:34:13 -03:00
Ignacio R. Morelle
2351b07f9e gui2/taddon_filter_option: Various UI layout improvements
* Use "Options" as a dialog title instead of "Filter Options" for
   simplicity and to represent its current functionality better.
 * Limited dialog width to 800 pixels for readability.
 * Replaced neutral sorting options header with something that hopefully
   describes their purpose in a more user-accessible fashion.
 * The installation status options listbox now grows along with its
   containing grid.
 * Ascending/Descending options are placed closer to the sorting
   criterion selection.
 * Description labels use text wrapping when needed.
2013-09-17 04:08:50 -03:00
Ignacio R. Morelle
28ca84ef91 gui2/taddon_filter_options: Add sorting criterion/direction options
These will be used to allow the user to change the "neutral"
(fallback) add-on sorting method used in the add-ons list when no
column header has been selected for sorting.
2013-09-16 23:38:41 -03:00
Ignacio R. Morelle
92755323d1 gui2/taddon_description: Add a row for listing add-on dependencies 2013-06-30 21:49:19 -04:00
Charles Dang
f8be6caa0e Removed bg from titlescreen version label. It reads fine against the main wooden bg without it 2013-06-13 02:08:58 +11:00
Charles Dang
5a35bc4b74 Used opacity IPF (value 65%) for wml message tp border, and grayscale IPF for disabled state of the same 2013-06-12 20:07:14 +11:00
Charles Dang
fab74c0c1c Updated imagepaths to selection border images 2013-06-12 20:07:05 +11:00
Charles Dang
7d67312f06 Fixed more paths to gold coins image 2013-06-09 17:14:17 +11:00
Charles Dang
0ca3f3f268 Removed editor settings dialog. Custom TOD dialog has replaced it 2013-06-09 12:42:32 +11:00
Charles Dang
e0fb308439 Fixed wrong macro arg name and missing quote 2013-06-09 05:07:04 +11:00
Charles Dang
cd07621cc0 Use grayscale IPF for slider disabled state 2013-06-09 03:28:17 +11:00
Charles Dang
60283c1455 USe opacity IPF for transparent scrollbars instead of seperate images (value set to 65%) 2013-06-09 03:13:02 +11:00
Charles Dang
0348e68de6 Use grayscale IPF for disabled tree view toggle button state 2013-06-09 01:11:42 +11:00
Charles Dang
7fe8cc5f84 Use grayscale IPF for disabled widget variations instead of specific images 2013-06-08 22:54:37 +11:00
Charles Dang
750d9d084a Used correct image paths for default toggle button's disabled state 2013-06-08 11:07:53 +11:00
Charles Dang
beb177e09b Made repeating button use opacity IPF for transparent versions (value set to 65%).
Thanks to bumbadadabum for pointing out I had forgot to do this
2013-06-07 02:48:41 +11:00
Charles Dang
ea56778b8f Use opacity IPF for transparent button images. Value set to 65% 2013-06-04 20:28:43 +11:00
Charles Dang
5211a99b1b Used regular as opposed to copper button variation images for default button 2013-06-04 20:18:04 +11:00
Charles Dang
b32ca5c390 Updated path for transparent version of default buttons 2013-06-03 05:33:21 +11:00
Charles Dang
929b07dc87 Bumped size by 1 for normal icon toggle button, tiny res, for consistency 2013-05-30 23:00:40 +11:00
Charles Dang
1bb0b4e28f Increased size of nornal icon toggle button a little. Prevents scaling on normal resolutions. 2013-05-30 22:51:29 +11:00
Charles Dang
bc63985554 Made icon toggle button/resize map dialog use new images 2013-05-30 17:20:30 +11:00
Charles Dang
09c899515d Made use of pressed and active overlay variations 2013-05-30 04:40:24 +11:00
Charles Dang
485eef1f7c Used grayscale imagepathfunction on disabled state overlays in absence of specific image 2013-05-30 04:18:45 +11:00
Charles Dang
6186222165 Made repeating button use new images 2013-05-30 03:04:40 +11:00
Charles Dang
55a5331967 Fixed typos 2013-05-29 22:05:13 +11:00
Charles Dang
a4b9d59e87 Used Add and Delete definitions for New/Delete ToD buttons 2013-05-29 19:55:02 +11:00
Charles Dang
9e423a50cf New 25x25 button defnitions: Add and Delete 2013-05-29 19:54:16 +11:00
Charles Dang
582764730c Made 25x25 buttons use new images 2013-05-29 19:39:44 +11:00
Charles Dang
9e0d6c6c25 Added files for new editor custom tod dialog 2013-05-29 18:47:34 +11:00
fendrin
3a7039ea21 Remove the option to disable the mdi feature of the editor. 2013-05-20 11:21:07 +02:00
fendrin
300518e8e9 Made use of the new button images (gui2). 2013-05-15 14:47:01 +02:00
fendrin
731f31abf5 Adjust pathes to the new slider artwork in gui2. 2013-05-15 00:09:44 +02:00
fendrin
85b59c0398 Additional context menu actions for the unit tool.
Made the rename unit dialog more generic.
Toggle Loyal
Change Unit ID
2013-05-09 19:04:17 +02:00
Mark de Wever
98084d86a9 Fixes the wml_dialogs with wide screen theme.
Fixes bug #20592, applies patch #3844.
2013-05-01 20:40:26 +02:00
fendrin
8e5941eb03 Fixed the reference to a renamed gui image. 2013-03-30 18:16:11 +01:00
Ignacio R. Morelle
66efdbab26 gui2/trename_unit: Implement new GUI2 Rename Unit dialog
This is probably the simplest GUI2 dialog I've ever implemented.
2013-03-28 05:15:56 -03:00
Ignacio R. Morelle
09c3d500a2 gui2/tgamestate_inspector: Expand the main grid if the window title is too long 2013-03-20 21:26:45 +00:00
Ignacio R. Morelle
90770ffd60 gui2/tgamestate_inspector: Stack the first and second panels' listboxes...
...on top of each other

This sacrifices vertical space (not needed for the first panel, not
essential for the second) in order to get us more horizontal space for
the third panel with the selection's contents, which is actually the
most important panel.
2013-03-20 21:25:44 +00:00
Ignacio R. Morelle
447fd278cf gui2/tgamestate_inspector: Save vertical space by removing some cruft
The various panels had external headers for some reason, in spite of two
of them being listboxes with their own internal headers.

By removing those external headers (and making the rightmost panel's
scroll_label have an associated header with a cell padding trick to make
it look consistent with the listboxes' headers) we can save some
valuable vertical space.

This commit also changes a few strings in order to clarify the purpose
of each panel.
2013-03-20 21:25:29 +00:00
Ignacio R. Morelle
2dd8c3e711 gui2/tgamestate_inspector: Remove unused Actions column and spacers 2013-03-20 21:25:13 +00:00
Ignacio R. Morelle
3bb3f844be gui2/ttitle_screen: Place the version/revision number label...
...on the bottom left corner of the screen

Finally achieved this in a resolution-safe manner (unlike 2010-10-22T22:22:50Z!shadowm@wesnoth.org)
by moving the label to a separate layer of the parent stacked widget that
goes beneath the main button-littered layer (to avoid stealing events).
2013-03-12 10:59:40 +00:00
Boldizsár Lipka
1e7d3319cf New title screen!
The title screen background is now composed
of two images. game_title_background is
scaled to fill the screen, while game_title
is scaled to fit in the screen while preserving
aspect ratio and aligned into the middle.
2013-03-04 12:25:56 +00:00
Ignacio R. Morelle
ba68f1dd5c gui2/taddon_connect: Add a Help button to this dialog,
...shows the same page as the Add-ons Manager's own Help button

Thanks to lipkab for help with the buttons layout trick.

The rest is kind of a hack because:

  1) GUI2 doesn't use display objects, so I needed to acquire one from
     the constructor (optionally, to avoid problems with the test suite)

  2) If the button id is "help", it is handled by a hardcoded hack that
     handles the titlescreen dialog in gui2::twindow::get_retval_by_id()
     and closes the dialog prematurely right after our local callback is
     executed; so the id is "show_help" instead

Notice that there is precedent for (1) in gui2::teditor_settings.
2013-02-06 03:44:28 +00:00
Ignacio R. Morelle
0e6e1eb04c gui2/taddon_filter_options: Keep track of the add-on type...
...fields and implement a button to toggle them all at once

Also needed to do some refactoring to achieve the tracking part. Not
that anyone really needs to see that in a separate commit.
2012-12-31 02:28:34 +00:00
Ignacio R. Morelle
21e46bf2ba gui2/taddon_filter_options: Swap left and right option columns
Having the listbox to the right seemed arbitrary and not particularly
pleasing from an aesthetic point of view.
2012-12-31 02:28:17 +00:00