Commit graph

15 commits

Author SHA1 Message Date
Charles Dang
7ade61cfc2 Load widgets before dialogs
This allows any defined we want global in widgets to be used in dialog.
2016-09-10 08:52:15 +11:00
Celtic Minstrel
758315f533 Enable GUI2 themes 2016-09-05 13:43:58 -04:00
Charles Dang
6304cca22a Moved data/gui/default to data/gui/ 2016-03-20 01:11:10 +11:00
Ignacio R. Morelle
cdaf2b14aa Move data/hardwired/tips.cfg to data/tips.cfg
Since the GUI2 titlescreen took over, the path to tips.cfg is not
hard-coded in the engine anymore; in fact, this commit also updates that
path, which is in data/gui/default.cfg.
2014-02-13 22:28:02 -03:00
Mark de Wever
4e30569988 Add helptip information to the tooltip.
When a widget has both a tooltip and helptip a small text to notify
the user about it. This also means when there is a helptip the tooltip
needs to have a text.
2011-02-20 07:26:05 +00:00
Mark de Wever
cdb1731d48 Add new tips code for gui2.
It doesn't implement the filtering of the tips yet, but that's not used in
mainline at the moment.
2010-10-14 19:33:06 +00:00
Mark de Wever
6c1a5b7a2f Strip trailing spaces 2010-07-31 07:11:31 +00:00
Mark de Wever
bd83d922f5 Add a new repeating button widget.
A repeating button is button when pressed down will execute an action,
if the user keeps it pressed down for a longer time it will repeat
this action until released.

The main place where the widget was missed is the MP lobby, I haven't
tested it there much since the lobby is still to slow. This means once
the lobby is fast enough it needs more tuning.

The widget hasn't been wired in the scrollbars, which will be done in
the next commit.
2009-12-13 18:09:38 +00:00
Tomasz Śniatowski
f438451acd reduce gui2 tooltip delay to 200ms.
1500 is long enough that some people would assume there are no
tooltips at all.
2009-08-16 15:42:37 +01:00
Mark de Wever
dd3e853ec3 Add the framework to allow gui sounds. 2009-02-20 19:30:48 +00:00
Mark de Wever
53bdb88159 Restructure the data tree a bit.
In the macros directory some more generic macros will be defined, the
_initial.cfg should be loaded first. The engine doesn't enforce that yet but
probably esr will add that feature. (The odds of it not being loaded first is
probably theoretical.)
2008-12-13 11:22:50 +00:00
Mark de Wever
1782658a29 Add the settings section for the gui. 2008-05-01 13:52:24 +00:00
Mark de Wever
a0f17c383d Remove some not needed translatable strings.
Make other strings like the currently used strings.
2008-04-27 16:02:30 +00:00
Mark de Wever
f7228ced85 Add the widget library to the wesnoth-lib domain and update the helper files. 2008-04-27 15:48:07 +00:00
Mark de Wever
13bab2587d Add the initial gui definitions. 2008-04-05 14:12:42 +00:00