mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-actor.c: (clutter_actor_set_min_width), (clutter_actor_set_min_height), (clutter_actor_set_natural_width), (clutter_actor_set_natural_height): Add a comment explaining the override in place for backends providing a fixed size on a stage.
This commit is contained in:
parent
995bf13a7b
commit
eb6fba284d
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2008-06-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||||
|
|
||||||
|
* clutter/clutter-actor.c:
|
||||||
|
(clutter_actor_set_min_width),
|
||||||
|
(clutter_actor_set_min_height),
|
||||||
|
(clutter_actor_set_natural_width),
|
||||||
|
(clutter_actor_set_natural_height): Add a comment explaining
|
||||||
|
the override in place for backends providing a fixed size
|
||||||
|
on a stage.
|
||||||
|
|
||||||
2008-06-25 Emmanuele Bassi <set EMAIL_ADDRESS environment variable>
|
2008-06-25 Emmanuele Bassi <set EMAIL_ADDRESS environment variable>
|
||||||
|
|
||||||
* clutter/clutter-actor.c:
|
* clutter/clutter-actor.c:
|
||||||
|
@ -3641,6 +3641,10 @@ clutter_actor_set_min_width (ClutterActor *self,
|
|||||||
ClutterActorPrivate *priv = self->priv;
|
ClutterActorPrivate *priv = self->priv;
|
||||||
ClutterActorBox old = { 0, };
|
ClutterActorBox old = { 0, };
|
||||||
|
|
||||||
|
/* override the minimum width on a top-level actor in case
|
||||||
|
* we are working on a backend that only provides a fixed
|
||||||
|
* size stage (e.g. on a framebuffer)
|
||||||
|
*/
|
||||||
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
||||||
{
|
{
|
||||||
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
||||||
@ -3683,6 +3687,10 @@ clutter_actor_set_min_height (ClutterActor *self,
|
|||||||
ClutterActorPrivate *priv = self->priv;
|
ClutterActorPrivate *priv = self->priv;
|
||||||
ClutterActorBox old = { 0, };
|
ClutterActorBox old = { 0, };
|
||||||
|
|
||||||
|
/* override the minimum height on a top-level actor in case
|
||||||
|
* we are working on a backend that only provides a fixed
|
||||||
|
* size stage (e.g. on a framebuffer)
|
||||||
|
*/
|
||||||
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
||||||
{
|
{
|
||||||
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
||||||
@ -3724,6 +3732,10 @@ clutter_actor_set_natural_width (ClutterActor *self,
|
|||||||
ClutterActorPrivate *priv = self->priv;
|
ClutterActorPrivate *priv = self->priv;
|
||||||
ClutterActorBox old = { 0, };
|
ClutterActorBox old = { 0, };
|
||||||
|
|
||||||
|
/* override the natural width on a top-level actor in case
|
||||||
|
* we are working on a backend that only provides a fixed
|
||||||
|
* size stage (e.g. on a framebuffer)
|
||||||
|
*/
|
||||||
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
||||||
{
|
{
|
||||||
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
||||||
@ -3766,6 +3778,10 @@ clutter_actor_set_natural_height (ClutterActor *self,
|
|||||||
ClutterActorPrivate *priv = self->priv;
|
ClutterActorPrivate *priv = self->priv;
|
||||||
ClutterActorBox old = { 0, };
|
ClutterActorBox old = { 0, };
|
||||||
|
|
||||||
|
/* override the natural height on a top-level actor in case
|
||||||
|
* we are working on a backend that only provides a fixed
|
||||||
|
* size stage (e.g. on a framebuffer)
|
||||||
|
*/
|
||||||
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
if (CLUTTER_PRIVATE_FLAGS (self) & CLUTTER_ACTOR_IS_TOPLEVEL)
|
||||||
{
|
{
|
||||||
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
if (clutter_feature_available (CLUTTER_FEATURE_STAGE_STATIC))
|
||||||
|
Loading…
Reference in New Issue
Block a user