mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
Rename ges_title_.*_set_background to set_background_color
This commit is contained in:
parent
552f008e9d
commit
f63c78b056
6 changed files with 15 additions and 16 deletions
|
@ -650,7 +650,7 @@ ges_title_clip_get_font_desc
|
|||
ges_title_clip_get_valignment
|
||||
ges_title_clip_get_halignment
|
||||
ges_title_clip_get_color
|
||||
ges_title_clip_get_background
|
||||
ges_title_clip_get_background_color
|
||||
ges_title_clip_get_xpos
|
||||
ges_title_clip_get_ypos
|
||||
<SUBSECTION Standard>
|
||||
|
@ -745,7 +745,7 @@ ges_title_source_set_font_desc
|
|||
ges_title_source_set_halignment
|
||||
ges_title_source_set_valignment
|
||||
ges_title_source_set_color
|
||||
ges_title_source_set_background
|
||||
ges_title_clip_set_background_color_color
|
||||
ges_title_source_set_xpos
|
||||
ges_title_source_set_ypos
|
||||
ges_title_source_get_text
|
||||
|
@ -753,7 +753,7 @@ ges_title_source_get_font_desc
|
|||
ges_title_source_get_halignment
|
||||
ges_title_source_get_valignment
|
||||
ges_title_source_get_color
|
||||
ges_title_source_get_background
|
||||
ges_title_source_get_background_color
|
||||
ges_title_source_get_xpos
|
||||
ges_title_source_get_ypos
|
||||
<SUBSECTION Standard>
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
* @short_description: An effect created by parse-launch style bin descriptions
|
||||
* in a #GESTimelineLayer
|
||||
*
|
||||
* Should be used mainly for testing purposes.
|
||||
*
|
||||
* The effect will be applied on the sources that have lower priorities
|
||||
* (higher number) between the inpoint and the end of it.
|
||||
*
|
||||
|
|
|
@ -418,7 +418,7 @@ ges_title_clip_set_background (GESTitleClip * self, guint32 background)
|
|||
self->priv->background = background;
|
||||
|
||||
for (tmp = self->priv->track_titles; tmp; tmp = tmp->next) {
|
||||
ges_title_source_set_background (GES_TITLE_SOURCE (tmp->data),
|
||||
ges_title_clip_set_background_color_color (GES_TITLE_SOURCE (tmp->data),
|
||||
self->priv->background);
|
||||
}
|
||||
}
|
||||
|
@ -547,7 +547,7 @@ ges_title_clip_get_color (GESTitleClip * self)
|
|||
}
|
||||
|
||||
/**
|
||||
* ges_title_clip_get_background:
|
||||
* ges_title_clip_get_background_color:
|
||||
* @self: a #GESTitleClip
|
||||
*
|
||||
* Get the background used by @self.
|
||||
|
@ -555,7 +555,7 @@ ges_title_clip_get_color (GESTitleClip * self)
|
|||
* Returns: The color used by @self.
|
||||
*/
|
||||
const guint32
|
||||
ges_title_clip_get_background (GESTitleClip * self)
|
||||
ges_title_clip_get_background_color (GESTitleClip * self)
|
||||
{
|
||||
return self->priv->background;
|
||||
}
|
||||
|
@ -636,7 +636,8 @@ ges_title_clip_create_track_element (GESClip * obj, GESTrackType type)
|
|||
ges_title_source_set_halignment ((GESTitleSource *) res, priv->halign);
|
||||
ges_title_source_set_valignment ((GESTitleSource *) res, priv->valign);
|
||||
ges_title_source_set_color ((GESTitleSource *) res, priv->color);
|
||||
ges_title_source_set_background ((GESTitleSource *) res, priv->background);
|
||||
ges_title_clip_set_background_color_color ((GESTitleSource *) res,
|
||||
priv->background);
|
||||
ges_title_source_set_xpos ((GESTitleSource *) res, priv->xpos);
|
||||
ges_title_source_set_ypos ((GESTitleSource *) res, priv->ypos);
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ const guint32
|
|||
ges_title_clip_get_color (GESTitleClip * self);
|
||||
|
||||
const guint32
|
||||
ges_title_clip_get_background (GESTitleClip * self);
|
||||
ges_title_clip_get_background_color (GESTitleClip * self);
|
||||
|
||||
const gdouble
|
||||
ges_title_clip_get_xpos (GESTitleClip * self);
|
||||
|
|
|
@ -282,14 +282,14 @@ ges_title_source_set_color (GESTitleSource * self, guint32 color)
|
|||
}
|
||||
|
||||
/**
|
||||
* ges_title_source_set_background:
|
||||
* ges_title_clip_set_background_color_color:
|
||||
* @self: the #GESTitleSource* to set
|
||||
* @color: the color @self is being set to
|
||||
*
|
||||
* Sets the color of the background
|
||||
*/
|
||||
void
|
||||
ges_title_source_set_background (GESTitleSource * self, guint32 color)
|
||||
ges_title_clip_set_background_color_color (GESTitleSource * self, guint32 color)
|
||||
{
|
||||
GST_DEBUG ("self:%p, background color:%d", self, color);
|
||||
|
||||
|
@ -410,7 +410,7 @@ ges_title_source_get_color (GESTitleSource * source)
|
|||
}
|
||||
|
||||
/**
|
||||
* ges_title_source_get_background:
|
||||
* ges_title_source_get_background_color:
|
||||
* @source: a #GESTitleSource
|
||||
*
|
||||
* Get the background used by @source.
|
||||
|
@ -418,7 +418,7 @@ ges_title_source_get_color (GESTitleSource * source)
|
|||
* Returns: The background used by @source.
|
||||
*/
|
||||
const guint32
|
||||
ges_title_source_get_background (GESTitleSource * source)
|
||||
ges_title_source_get_background_color (GESTitleSource * source)
|
||||
{
|
||||
return source->priv->background;
|
||||
}
|
||||
|
|
|
@ -90,7 +90,7 @@ void ges_title_source_set_valignment (GESTitleSource *self,
|
|||
|
||||
void ges_title_source_set_color (GESTitleSource *self,
|
||||
guint32 color);
|
||||
void ges_title_source_set_background (GESTitleSource *self,
|
||||
void ges_title_clip_set_background_color_color (GESTitleSource *self,
|
||||
guint32 color);
|
||||
void ges_title_source_set_xpos (GESTitleSource *self,
|
||||
gdouble position);
|
||||
|
@ -102,7 +102,7 @@ const gchar *ges_title_source_get_font_desc (GESTitleSource *source);
|
|||
GESTextHAlign ges_title_source_get_halignment (GESTitleSource *source);
|
||||
GESTextVAlign ges_title_source_get_valignment (GESTitleSource *source);
|
||||
const guint32 ges_title_source_get_color (GESTitleSource *source);
|
||||
const guint32 ges_title_source_get_background (GESTitleSource *source);
|
||||
const guint32 ges_title_source_get_background_color (GESTitleSource *source);
|
||||
const gdouble ges_title_source_get_xpos (GESTitleSource *source);
|
||||
const gdouble ges_title_source_get_ypos (GESTitleSource *source);
|
||||
|
||||
|
|
Loading…
Reference in a new issue