mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Move default paint volume computation into a function
This should reduce the amount of copy and paste for actor sub-classes that use the default paint volume from the allocation.
This commit is contained in:

committed by
Robert Bragg

parent
fd41024d29
commit
16f7ee13f2
@ -530,6 +530,10 @@ void _clutter_util_fully_transform_vertices (const CoglMatrix *mo
|
||||
ClutterVertex *vertices_out,
|
||||
int n_vertices);
|
||||
|
||||
gboolean _clutter_actor_set_default_paint_volume (ClutterActor *self,
|
||||
GType check_gtype,
|
||||
ClutterPaintVolume *volume);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _HAVE_CLUTTER_PRIVATE_H */
|
||||
|
Reference in New Issue
Block a user