Emmanuele Bassi
f04a0a4645
2007-11-30 Emmanuele Bassi <ebassi@openedhand.com>
...
* clutter/clutter-actor.c (parse_units),
(clutter_actor_parse_custom_node),
(clutter_scriptable_iface_init): Override the parsing code
for the x, y, width and height properties of ClutterActor,
to allow strings with modifiers when defining the position
and/or the dimensions of an actor. Bare integers are assumed
as pixels; floating point values in the [0, 1] interval are
assumed as percentages; strings can have these modifiers:
- px - pixels
- mm - millimeters
- pt - points (at the current resolution)
- % - percentage of the stage
* clutter/clutter-units.h: Fix the conversion macros
* tests/test-script.json: Test the new values.
2007-11-30 09:27:10 +00:00
..
2007-11-21 12:30:50 +00:00
2007-11-26 12:07:25 +00:00
2007-11-18 23:24:55 +00:00
2007-11-20 17:06:23 +00:00
2007-10-29 16:45:25 +00:00
2007-11-26 12:07:25 +00:00
2007-10-27 12:01:51 +00:00
2007-11-26 12:07:25 +00:00
2007-11-26 12:10:20 +00:00
2007-11-30 09:27:10 +00:00
2007-11-29 13:47:37 +00:00
2007-11-23 13:11:10 +00:00
2007-08-07 14:03:30 +00:00
2007-10-12 08:17:00 +00:00
2007-07-31 10:38:23 +00:00
2007-11-19 16:35:46 +00:00
2007-11-13 14:12:51 +00:00
2007-11-19 16:35:46 +00:00
2007-11-13 13:21:56 +00:00
2007-11-27 12:34:28 +00:00
2007-11-27 12:34:28 +00:00
2007-11-20 16:05:56 +00:00
2007-11-19 16:35:46 +00:00
2007-08-07 14:03:58 +00:00
2007-11-19 16:35:46 +00:00
2007-11-13 13:21:56 +00:00
2007-11-28 12:23:31 +00:00
2007-11-13 13:21:56 +00:00
2007-07-26 11:04:04 +00:00
2007-08-07 14:03:58 +00:00
2007-11-20 16:05:56 +00:00
2007-10-27 12:14:18 +00:00
2007-08-07 14:03:58 +00:00
2007-11-05 17:12:11 +00:00
2007-11-05 17:12:11 +00:00
2007-10-12 09:39:41 +00:00
2007-11-28 12:23:31 +00:00
2007-11-28 10:27:33 +00:00
2007-11-28 10:27:33 +00:00
2007-11-23 17:12:27 +00:00
2007-08-07 14:03:58 +00:00
2007-08-20 20:16:15 +00:00
2007-08-20 20:16:15 +00:00
2007-11-23 13:11:10 +00:00
2007-11-23 17:07:46 +00:00
2007-10-12 08:17:00 +00:00
2007-07-26 20:08:09 +00:00
2007-11-06 15:46:23 +00:00
2007-11-06 15:46:23 +00:00
2007-11-23 17:12:27 +00:00
2007-11-23 13:11:10 +00:00
2007-10-25 14:32:29 +00:00
2007-03-22 18:21:59 +00:00
2007-11-28 13:50:24 +00:00
2007-11-19 21:14:16 +00:00
2007-11-28 23:57:26 +00:00
2007-11-19 16:30:56 +00:00
2007-04-19 15:27:46 +00:00
2007-10-12 08:17:00 +00:00
2007-11-29 15:01:21 +00:00
2007-11-29 15:01:21 +00:00
2007-11-23 11:20:14 +00:00
2007-10-27 12:26:12 +00:00
2007-11-23 13:11:10 +00:00
2007-10-17 23:03:38 +00:00
2007-11-28 13:50:24 +00:00
2007-11-28 13:50:24 +00:00
2007-11-28 13:50:24 +00:00
2007-11-18 15:41:47 +00:00
2007-11-14 11:32:24 +00:00
2007-11-23 13:11:10 +00:00
2007-11-28 15:31:41 +00:00
2007-11-28 15:31:41 +00:00
2007-11-23 17:12:27 +00:00
2007-08-07 14:03:58 +00:00
2007-11-19 15:25:56 +00:00
2007-11-15 17:03:55 +00:00
2007-10-12 08:17:00 +00:00
2007-06-09 13:20:06 +00:00
2007-11-28 13:50:24 +00:00
2007-11-30 09:27:10 +00:00
2007-01-23 20:29:11 +00:00
2007-01-23 20:29:11 +00:00
2007-08-20 11:54:28 +00:00
2007-11-28 13:50:24 +00:00
2007-11-28 13:50:24 +00:00