Chris Beck ad8e1f7763 link-aware rendering of labels
This commit adds a new property of font::ttext, whether it is
"link aware". Link aware text has tokens that look like hyperlinks
formatted thusly, with coloration and an underline.

A `get_link` function, taking a layout location, returns a link
token if it is pointed to at that location, and link awareness
is enabled, and the empty string otherwise.

All gui2::tcontrols may now have their text labels set to be link
aware if desired. The gui2::tlabel constructor automatically sets
these to be link aware. The gui2::tlabel click handler is set to
use the `get_link` function instead of the `get_token` function.

Link awareness is also registered as a property of [text] fields in
gui widget definitions.
2014-10-18 20:56:36 -04:00
2013-06-23 10:07:53 +02:00
2014-10-18 20:56:36 -04:00
2013-03-26 21:41:37 -04:00
2014-10-12 00:04:53 +02:00
2014-10-18 20:56:36 -04:00
2014-07-05 03:42:39 +02:00
2014-10-18 20:05:14 -04:00
2014-01-01 02:08:52 -03:00
2014-07-07 22:20:41 -04:00
2014-06-25 15:40:36 +02:00
2014-10-17 10:04:17 +02:00
2014-10-18 20:14:28 -04: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 9 GiB
Languages
INI 51.6%
C++ 35.9%
Lua 5.7%
Python 4.3%
Emacs Lisp 1%
Other 1.1%