9 Commits

Author SHA1 Message Date
Mark de Wever
8dc0c1e343 Rename gui2 wml colour to color. 2011-01-10 20:38:49 +00:00
Mark de Wever
6c1a5b7a2f Strip trailing spaces 2010-07-31 07:11:31 +00:00
Mark de Wever
1459747252 Add better protection for images not fitting.
Some UMC uses listbox rowes with less than 20 pixes which caused images
to be resized to x - 20 which is negative and resulted into huge
positive numbers.

Modified the WML to return 0 in these cases and also added protection in
the engine to ignore those images. (The latter is needed since people
can create their own themes which might have this problem as well.)

Fixes bug #14525 and probably bug #14002.
2009-11-01 12:15:26 +00:00
Mark de Wever
2a23ba1884 Cleanup part 5.
The full redraw flag is no longer needed since widgets are always fully
redrawn now.
2009-01-03 15:45:38 +00:00
Nils Kneuper
01c575209c add a textdomain declaration to every .cfg file...
...(via utils/change-textdomain -t)
2008-10-07 10:35:42 +00:00
Mark de Wever
72f8b75d53 Updated to the new style. 2008-08-25 15:35:52 +00:00
Mark de Wever
8f58217bce Fix typo in undef 2008-05-17 08:00:33 +00:00
Mark de Wever
58328e8a35 Name the togglebutton fields internal also selected or not,
...like the recent API change. This also fixes a bug with how to react
to the selected state.  (Some parts inverted selected and not
selected.)
2008-05-10 12:40:14 +00:00
Mark de Wever
4ccb5dd736 Add a toggle button class.
A toggle button is a button which has two states up and down. For
example a radio button or a checkbox is a toggle button.
2008-05-09 16:16:44 +00:00