mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
132296dcc3
* clutter/clutter-actor.c: * clutter/clutter-actor.h: (clutter_actor_set_positionu): (clutter_actor_set_sizeu): (clutter_actor_get_widthu): (clutter_actor_get_heightu): (clutter_actor_set_widthu): (clutter_actor_set_heightu): (clutter_actor_get_xu): (clutter_actor_get_yu): (clutter_actor_set_xu): (clutter_actor_set_yu): Expanded ClutterActor API with new ClutterUnit-base functions. * clutter/clutter-stage.c: * clutter/clutter-stage.h: (clutter_stage_get_resolution): (clutter_stage_get_resolutionx): New function to query stage resolution (floating and fixed point versions). * clutter/clutter-units.h: (CLUTTER_UNITS_FROM_STAGE_WIDTH_PERCENTAGE): (CLUTTER_UNITS_FROM_STAGE_HEIGHT_PERCENTAGE): (CLUTTER_UNITS_FROM_PARENT_WIDTH_PERCENTAGE): (CLUTTER_UNITS_FROM_PARENT_HEIGHT_PERCENTAGE): (CLUTTER_UNITS_FROM_MM): (CLUTTER_UNITS_FROM_MMX): (CLUTTER_UNITS_FROM_POINTS): (CLUTTER_UNITS_FROM_POINTSX): New macros for conversions to ClutterUnits. * clutter.symbols: Added: ClutterActor anchor_point functions, clutter_stage_get_resolution functions. Removed: clutter_actor_scale_with_gravity functions. |
||
---|---|---|
.. | ||
manual | ||
reference | ||
Makefile.am |