mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
background-actor: Use MetaBackgroundContent
MetaBackgroundActor is still necessary for culling purposes, but now the actual rendering of the background is delegated to MetaBackgroundContent, as well as the sizing information. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1302
This commit is contained in:
@ -47,24 +47,4 @@ META_EXPORT
|
||||
ClutterActor *meta_background_actor_new (MetaDisplay *display,
|
||||
int monitor);
|
||||
|
||||
META_EXPORT
|
||||
void meta_background_actor_set_background (MetaBackgroundActor *self,
|
||||
MetaBackground *background);
|
||||
|
||||
META_EXPORT
|
||||
void meta_background_actor_set_gradient (MetaBackgroundActor *self,
|
||||
gboolean enabled,
|
||||
int height,
|
||||
double tone_start);
|
||||
|
||||
META_EXPORT
|
||||
void meta_background_actor_set_monitor (MetaBackgroundActor *self,
|
||||
int monitor);
|
||||
|
||||
META_EXPORT
|
||||
void meta_background_actor_set_vignette (MetaBackgroundActor *self,
|
||||
gboolean enabled,
|
||||
double brightness,
|
||||
double sharpness);
|
||||
|
||||
#endif /* META_BACKGROUND_ACTOR_H */
|
||||
|
Reference in New Issue
Block a user