[Commits] [wesnoth/wesnoth] b3cf75: gui2/canvas: Allow overriding color alpha in [line...
GitHub
noreply at github.com
Wed Oct 12 05:00:51 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: b3cf75196cf065da8e022956aa5c8f23ba1d753f
https://github.com/wesnoth/wesnoth/commit/b3cf75196cf065da8e022956aa5c8f23ba1d753f
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M data/gui/schema.cfg
M src/gui/core/canvas.cpp
Log Message:
-----------
gui2/canvas: Allow overriding color alpha in [line] with a formula
The color attribute specifically doesn't support formulas. Adding
support for formulas to it would present us with the issue that commas
are already part of the formula language, so we'd need to update all
existing instances accordingly. So, instead, there's this short hack
used for a very particular piece of functionality coming in the next
commit.
Commit: f1d89ba4a3218c0f5f3873ad64584b854de1928a
https://github.com/wesnoth/wesnoth/commit/f1d89ba4a3218c0f5f3873ad64584b854de1928a
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M data/gui/widget/text_box_default.cfg
M src/gui/widgets/text.cpp
M src/gui/widgets/text.hpp
Log Message:
-----------
gui2/ttext_: Add a blinking cursor to textbox widgets
This is used by all widgets that inherit from the textbox abstract
class, ttext_. The cursor is updated every 750 ms by toggling the
cursor alpha every time. When the cursor position is set by a method
(e.g. in reaction to a keyboard event), the cursor is reset to full
alpha, and the blink timer restarted.
Commit: 7630651ea0750125d9753fc9c3e3f8cc9e1ee1f9
https://github.com/wesnoth/wesnoth/commit/7630651ea0750125d9753fc9c3e3f8cc9e1ee1f9
Author: Ignacio R. Morelle <shadowm at wesnoth.org>
Date: 2016-10-12 (Wed, 12 Oct 2016)
Changed paths:
M data/gui/widget/text_box_default.cfg
Log Message:
-----------
gui2/ttext_box: Improved color scheme for the text box borders
Like in commit 7531e7ef2e4b7dc539df114024668d8696e60c8f, text boxes now
use the same border color scheme as buttons and sliders.
Compare: https://github.com/wesnoth/wesnoth/compare/0ac4c0fcfa5a...7630651ea075
More information about the Commits
mailing list