Update of patch #2759 (project wesnoth):
Status: Wont Do => Done
Assigned to: None => shadowmaster
Open/Closed: Closed => Open
_______________________________________________________
Follow-up Comment #2:
It was already possible to enable markup for GUI2 widgets in Lua by overriding
their canvas configuration through clever use of wesnoth.set_dialog_canvas:
wesnoth.set_dialog_canvas(1, { T.text {
x = "0",
y = "0",
w = "(text_width)",
h = "(text_height)",
font_size = 14,
color = "221, 221, 221, 255",
text = "(text)",
text_markup = true,
} }, "message")
Since this patch has a lower maintenance cost than the rest of the Lua
functions for GUI2 and provides a cleaner form to achieve the same task as the
snippet above, it may as well be mainlined.
Therefore, this is now *done* in commit
cc75d12088b3a074348d90b2075e9abcfc6edbb0
<https://github.com/wesnoth/wesnoth-old/commit/cc75d12088b3a074348d90b2075e9abcfc6edbb0>
for version 1.11.9.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2759>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs