Commit graph

234 commits

Author SHA1 Message Date
Martin Hrubý (hrubymar10)
bc4d22dc72 Migrate links to https if available - Fwd c18537edc0 2018-07-16 19:07:08 +11:00
Choicerer
f50b644c30 Fixes broken tooltips for the unit_side flag and the unit name. (#3315)
Fixes #3306
2018-07-05 12:46:42 +11:00
kallaballa
78dff47bd3 Implemented dropout to observer on surrender 2018-02-05 00:35:35 +01:00
Celtic Minstrel
a1c22e5098 Rearrange default theme context menu to put most important commands at the top 2017-04-21 19:18:01 -04:00
Charles Dang
c912f7e7e7 Removed zoom slider code
This slider hasn't worked in ages, and we're planning to remove it anyway.

The slider "groove" image remains since it's hard drawn in the background image file.
2017-03-07 21:05:25 +11:00
Celtic Minstrel
86675c28de Remove 800x480 support from the themes
[ci skip]
2016-12-02 16:05:32 -05:00
Charles Dang
1dafd22365 Further text clipping fixes (bug #24707) 2016-07-29 05:21:38 +11:00
Charles Dang
772f78b5a0 Fixed some ext clipping with Lato in sidebar (bug #24707) 2016-07-29 00:22:50 +11:00
Charles Dang
7a859a2ece Fixup a5130a4c36 (forgot to include small resolution buttons) 2016-07-24 10:00:01 +11:00
Charles Dang
a5130a4c36 Made sure menu button are flush with window border 2016-07-24 09:56:12 +11:00
Charles Dang
a3e535300b Revert "Don't show any images for buttons in menu bar"
This reverts commit a4c4f18a7c.
2016-07-23 15:27:15 +11:00
Charles Dang
b882a82ca4 Fixed placement of Observer icon 2016-05-28 00:41:33 +11:00
Charles Dang
52cba5fc63 Enabled Lato for GUI1 and adjusted assigned sizes accordingly
Since GUI1 widgets seem to rely on the given font size values in font.hpp
for their dimensions, those are unchanged. ThemeWML-provided sizes were adjusted,
and larger sizes assigned to elements that were too small with the new font.

Theme element rects were also adjusted as necessary.
2016-05-18 08:05:02 +11:00
Ignacio R. Morelle
00975dcf6f Fix ToD schedule progress label overlapping other items on low resolutions
Specifically, on vertical resolutions < 600 px.
2016-05-17 06:01:38 -04:00
Ignacio R. Morelle
ca664acc4a Fix Observers icon overlapping other elements on low resolutions (bug #24455)
More specifically, horizontal resolutions less than 1024 px.

Okay, I lied. This doesn't fully fix that on master because recent font
and theme changes cause it to be misaligned even on >= 1024 px. But
hopefully someone will figure something out later.

This is a backport of a 1.12 commit.
2016-05-17 05:09:13 -04:00
Charles Dang
edc2fb7e9d Default theme: restore backgrounds to sidebar panels 2016-03-20 03:58:50 +11:00
Charles Dang
a4c4f18a7c Don't show any images for buttons in menu bar 2016-03-16 05:01:26 +11:00
Andreas Löf
ae1d364318 Merge branch 'master' into sdl2 2015-10-15 09:57:15 +13:00
Charles Dang
b037fc7074 Cleaned up and reorganized the Actions and Context menus a bit 2015-10-04 05:41:17 +11:00
Andreas Löf
9ae3b29f4a Merge with master 2015-09-21 23:07:49 +12:00
Randypk
5a584381f3 Bug Fix#23060: unit status tooltips do not show.
The rectangle for the unit_stats was overlapping other rectangles, making
it not function properly.  Just resized it to fit. Tested with single
poison effect, both poison and slow, and no effects, all worked.
2015-09-21 09:20:08 +11:00
Celtic Minstrel
40ea98568a Add "Quit to Desktop" to the themes.
It's still omitted from Pandora theme. Should it be?
2015-09-08 10:46:02 -04:00
Celtic Minstrel
819eab2f96 Add dialog to allow user to customize which label groups are displayed 2015-08-07 16:44:50 -04:00
Ignacio R. Morelle
ab5d76fa96 Default theme uses 'classic' dir, Classic uses 'legacy'
Reverts a decision from commit 10b7cd63f5
in order to both make the Classic theme backportable to 1.12 and
eliminate an unnecessary complication for UMC.

At some point in the future, the Default theme will replace Classic when
the rumored UnitBox theme becomes the default, so I'd say naming its
directories "classic" makes sense, while the current Classic theme is
the "legacy" classic.

If we hadn't gotten stuck with Default using "classic" dirs in 1.12
there would be no need for any of this irritating nonsense.
2015-01-15 04:41:40 -03:00
Ignacio R. Morelle
61a7527a71 Rename data/themes/macros.cfg and include it only once instead of 7 times 2015-01-10 13:15:57 -03:00
Zappaman
1e0ae693b2 This patch adds a feature mentioned in http://wiki.wesnoth.org/EasyCoding,
namely the first one in "Engine related features". To implement this feature, I added the command field in the configuration for the context menu.

This comes as an alternative to https://github.com/wesnoth/wesnoth/pull/246
2014-07-12 07:42:33 -07:00
Ignacio R. Morelle
e55458f2c6 wmlindent pass on data/themes/ 2014-07-02 21:40:59 -04:00
Espreon
c8848813fd Improved theme descriptions 2014-06-16 13:19:54 -04:00
fendrin
10b7cd63f5 Class Theme restoring the 1.12 UI. 2014-05-08 02:14:14 +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
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
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
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
13446f55c9 Fix the default theme for small resolutions to some degree. 2013-12-23 07:58:22 +01:00
fendrin
4fd640479e Update the theme config files to new image paths. 2013-12-22 08:43:21 +01: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
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