Ignacio R. Morelle e992f4eb84 gui2/ttoggle_button et al: Use transparent color background to match GUI1
Replace the definition of GUI__BACKGROUND_COLOR_ENABLED (used by the
"listbox_text" and "listbox_text_with_icon" variations of
ttoggle_button, and the default ttoggle_panel variation) so that it
matches the gui::menu::bluebg_style GUI1 menu style definition in
src/widgets/menu_style.cpp:29.

These controls are commonly used with gui2::tlistbox, so this change is
intended to make GUI2 listboxes in general have the same overall
appearance as GUI1 menus after the dialog background graphics were
replaced as part of the UI overhaul in 1.11.x.

The previous background definition for these GUI2 widgets was a solid
color, rgb(21, 19, 19), meaning that they necessarily wouldn't match
the standard bluebg_style GUI1 menu style, which uses rgba(0, 0, 0,
0.35).

Alpha 255 * 0.35 = 89.25, hence the new definition of
GUI__BACKGROUND_COLOR_ENABLED has an alpha channel value of 89 and not a
multiply of 10 or 2 like 90.
2014-02-15 19:38:35 -03:00
2014-02-08 21:13:08 +01:00
2014-02-08 13:25:38 +01:00
2014-02-13 10:00:06 -08:00
2014-01-01 02:08:52 -03:00
2014-02-08 14:31:38 -03:00
2014-02-14 19:03:49 +02:00
2014-02-13 23:59:34 -03:00

The Battle for Wesnoth is a Free, turn-based tactical strategy game with a high
fantasy theme, featuring both single-player, and online/hotseat multiplayer
combat. Fight a desperate battle to reclaim the throne of Wesnoth, or take hand
in any number of other adventures.

The game's source code and artwork, sound, and music assets are provided under
the terms of the GNU General Public License version 2, or (at your option) any
later version. Note that for artwork, sound, and music, we interpret
"preferred form of the work for making modifications" as the modifiable form
that the author chooses to ship us for the source tree. For convenience, a
reference copy of the GNU GPL version 2 is provided in the COPYING file in
this distribution.

Some portions of the source code can be used under different license terms,
whenever stated as such in the source.

See INSTALL for instructions on how to build the game from source code.

A (translated) description of how to play the game can be found in
doc/manual/manual.*.html .

For extensive documentation about all aspects of the game, see the
official Battle for Wesnoth web site:

    http://www.wesnoth.org/

The official Battle for Wesnoth Forums (with over 400,000 posts from more than
20,000 registered members) can be found at:

    http://forums.wesnoth.org/
Description
韦诺之战
Readme 10 GiB
Languages
INI 51.6%
C++ 35.9%
Lua 5.7%
Python 4.3%
Emacs Lisp 1%
Other 1.1%