Commit graph

451 commits

Author SHA1 Message Date
Ignacio R. Morelle
321010ca5e Fix ToD schedule progress label overlapping other items on low resolutions
Specifically, on vertical resolutions < 600 px.
2016-05-17 05:59:59 -04:00
Ignacio R. Morelle
1a76f3b0ff Fix Observers icon overlapping other elements on low resolutions (bug #24455)
More specifically, horizontal resolutions less than 1024 px.
2016-05-17 05:05:29 -04:00
Ignacio R. Morelle
744dd6cd39 editor: Add Recent Files menu with recently loaded/saved files
File paths are recorded into the game preferences up to a (currently
hardcoded) limit of 6 and opening or saving maps adds or bumps existing
entries to the top. We may allow users to change the MRU limit in
Advanced Preferences in a later commit.

Adds two translatable strings.

In order to fit file paths in the menu without filling up the whole
screen sideways, we use only the file names for now. Because identical
file names could prove to be an actual issue later, I intend to look
into ellipsizing paths correctly in a later step.

(Note that I'm piggybacking on the crummy submenu support we already had
in the themable UI so that this can be safely backported to 1.12. It's
decidedly not optimal usability-wise, but it'll have to do for now.)
2015-10-09 19:27:51 -03:00
Ignacio R. Morelle
4ad0f92076 Backport the fixed Classic/Legacy (1.10) theme from master 2015-01-15 05:08:50 -03:00
Ignacio R. Morelle
da9df4fcc5 Rename data/themes/macros.cfg and include it only once instead of 3 times
(Backports commit 61a7527a71 from master.)
2015-01-15 04:55:16 -03:00
Espreon
d24a40fe26 Improved theme descriptions 2015-01-15 04:20:22 -03:00
Fabian Müller
790adbcd3a Move the status icons a bit upwards to fix its broken tooltip. 2014-11-04 20:16:56 +01:00
Fabian Müller
08d02dda3d * Fix bug #22806: missing mouseover info: upkeep 2014-10-31 00:33:19 +01:00
Chris Beck
23e28832c8 remove replay viewer text label
This label didn't seem to contribute much of anything, and it
caused big problems for translators because we don't have
dynamically resizing text labels, and that would have provoked
intractable layout problems anyways, so we decide just to remove
it and rely on the tooltips / media controller icons on the buttons
to tell the user what is going on.

See also discussion here:
http://forums.wesnoth.org/viewtopic.php?f=9&t=24598&start=120#p575851
2014-09-18 10:46:54 -04:00
Ignacio R. Morelle
3a3c238f7a wmlindent pass on data/themes/ 2014-07-02 22:07:31 -04:00
fendrin
f704b4a162 Fix error message about missing ui elements. 2014-06-07 22:45:13 +02:00
fendrin
6a2c1a04e6 Enabled the terrain description dialog in the editor. 2014-06-06 22:30:44 +02:00
fendrin
2cb9d9422b Disabled the non working "toggle loyal" action from the editor. 2014-06-06 17:47:50 +02:00
fendrin
3c1421ccf8 Disabled the non working custom time schedule creator in the 1.12 branch 2014-06-05 21:21:57 +02:00
fendrin
8d754e9ee3 Delete non working themes from the 1.12 branch. 2014-06-05 16:46:08 +02:00
fendrin
d4494d7e79 Fix bug #21542: Observers icon on the top bar overlaps the Menu button 2014-03-01 09:21:28 +01:00
fendrin
4e03757bbe Adjust space for the unit side flag and colors for attributes. 2014-03-01 08:13:51 +01:00
fendrin
257908cd01 Add a font color for the traits. Some cleanups. 2014-03-01 02:41:45 +01:00
fendrin
ca2eec45b9 Update to the default and editor themes.
Reintroduced the alignment and side.
2014-02-27 23:54:51 +01:00
fendrin
1eca83ffa7 Added a macro to sync the minimap region of default and editor theme. 2014-02-27 23:31:40 +01:00
Ignacio R. Morelle
b7848663bd Revert most of c1374ba032
Commit c1374ba032 for some reason reverted
commits 4a44369d8a and
91cbc9aff1.
2014-02-19 23:12:15 -03:00
ln-zookeeper
c1374ba032 Clarified 'Evacuation' now taking place at Lake Vrug. 2014-02-20 00:56:39 +02:00
Ignacio R. Morelle
91cbc9aff1 theme ui: Convert mainline themes to use id= and translatable name= values
The 'null' theme is a hidden theme, so it doesn't get a UI name of its
own.
2014-02-19 08:56:51 -03:00
Ignacio R. Morelle
1ce9448b1e theme ui: Add descriptions to the user-visible mainline themes 2014-02-19 06:39:51 -03:00
Mark de Wever
9bcfeffc42 Fix drawing the offmap area for small resolutions.
The problem was a bit tricky. A partial resolution removed an element with
an empty id. The main_map_border section has no id and thus an empty id.
So the inheritance removed this section by accident. Of course the id for
a removal or change should be mandatory, which the next patch will do.

This fixes a part of bug #21584.
2014-02-15 09:20:33 +01:00
Ignacio R. Morelle
00442b4624 gui: Move Describe Terrain context menu item below Kill Unit
Only applies to the Pandora and Default themes since no other themes
have the Describe Terrain action.
2014-01-13 04:00:50 -03:00
Ignacio R. Morelle
bb52d6f5b3 gui: Remove empty context menu entry from the default theme 2014-01-13 03:59:13 -03:00
fendrin
fa05514f5a Submenu for the "Back to turn x" autosave loading menu entries. 2014-01-09 07:17:57 +01:00
fendrin
ddd610a809 Adjusments for the new minimap and end turn graphics. 2014-01-07 02:32:15 +01:00
fendrin
9ee891db99 Context menu item for saving areas. 2014-01-03 00:33:37 +01:00
fendrin
ab90eedd5f Remove obsolete overlay= attributes from actions which have own icons. 2014-01-02 11:53:06 +01:00
Bär Halberkamp
ef2bdfbc12 Ran wmlindent 2013-12-31 19:22:28 +01:00
fendrin
4f119bdc18 Support for assigning recruit lists in the editor. 2013-12-31 11:21:55 +01:00
fendrin
c0f8febf46 Remove side from map context feature put into use. 2013-12-28 11:39:41 +01:00
fendrin
0affe77221 Implemented the area feature properly.
Adds remove, add, rename, save and local time menu entries to the editor
"Area" menu.

The local time menu still segfaults if there is no area defined.
2013-12-27 05:26:26 +01:00
fendrin
13446f55c9 Fix the default theme for small resolutions to some degree. 2013-12-23 07:58:22 +01:00
fendrin
c639195cd2 Fix path to the smaller minimap image and correct its position. 2013-12-22 23:25:08 +01:00
fendrin
b4ad6c2823 Fix the editor theme layout to match the new minimap frame image. 2013-12-22 11:33:09 +01:00
fendrin
4fd640479e Update the theme config files to new image paths. 2013-12-22 08:43:21 +01:00
Ignacio R. Morelle
060c35d82c wmlindent pass on mainline 2013-12-21 23:06:43 -03:00
Ignacio R. Morelle
81bb3f8b0f Theme WML cleanup inspired by a wmlindent pass
Comment indentation only.
2013-12-21 23:05:30 -03:00
Ignacio R. Morelle
b8ce752221 Theme WML cleanup inspired by a wmlindent pass
Mostly comments and indentation only.
2013-12-21 23:05:29 -03:00
Ignacio R. Morelle
4c39592471 Theme WML cleanup inspired by a wmlindent pass
Mostly comments and indentation only. Also removed a big mid-line
whitespace chunk.
2013-12-21 23:05:29 -03:00
fendrin
130009ef7f Support for handling maps and scenarios differently.
Dialog for editing the scenario setup.
Dialog for editing the side setup.
A mechanism for loading and saving the different cases.
2013-12-18 00:46:58 +01:00
fendrin
d5a71a55e2 Implemented and enabled all the minimap controlls, including the slider. 2013-11-30 08:35:45 +01:00
fendrin
b4cd580fbd Minimap filter for units and villages. 2013-11-29 09:25:24 +01:00
fendrin
f24cd39fd2 New attempt on the game UI. 2013-11-27 02:16:17 +01:00
fendrin
d3af9f3e7a Default Theme: Rely on a larger minimap layout. 2013-11-27 02:16:15 +01:00
fendrin
ed456d793d Moved the map border definition in a macro, updates to replay UI. 2013-11-27 02:16:15 +01:00
fendrin
ded6ec8d6c Improved the 800x480 theme for the OpenPandora. 2013-11-27 02:16:15 +01:00