Remove deprecated 'Text::[set|get]Color'

This commit is contained in:
Vittorio Romeo 2021-12-09 00:48:43 +00:00
parent 756a399909
commit f6186d880d
2 changed files with 0 additions and 46 deletions

View File

@ -191,24 +191,6 @@ public:
////////////////////////////////////////////////////////////
void setStyle(Uint32 style);
////////////////////////////////////////////////////////////
/// \brief Set the fill color of the text
///
/// By default, the text's fill color is opaque white.
/// Setting the fill color to a transparent color with an outline
/// will cause the outline to be displayed in the fill area of the text.
///
/// \param color New fill color of the text
///
/// \see getFillColor
///
/// \deprecated There is now fill and outline colors instead
/// of a single global color.
/// Use setFillColor() or setOutlineColor() instead.
///
////////////////////////////////////////////////////////////
[[deprecated]] void setColor(const Color& color);
////////////////////////////////////////////////////////////
/// \brief Set the fill color of the text
///
@ -323,20 +305,6 @@ public:
////////////////////////////////////////////////////////////
Uint32 getStyle() const;
////////////////////////////////////////////////////////////
/// \brief Get the fill color of the text
///
/// \return Fill color of the text
///
/// \see setFillColor
///
/// \deprecated There is now fill and outline colors instead
/// of a single global color.
/// Use getFillColor() or getOutlineColor() instead.
///
////////////////////////////////////////////////////////////
[[deprecated]] const Color& getColor() const;
////////////////////////////////////////////////////////////
/// \brief Get the fill color of the text
///

View File

@ -182,13 +182,6 @@ void Text::setStyle(Uint32 style)
}
////////////////////////////////////////////////////////////
void Text::setColor(const Color& color)
{
setFillColor(color);
}
////////////////////////////////////////////////////////////
void Text::setFillColor(const Color& color)
{
@ -278,13 +271,6 @@ Uint32 Text::getStyle() const
}
////////////////////////////////////////////////////////////
const Color& Text::getColor() const
{
return getFillColor();
}
////////////////////////////////////////////////////////////
const Color& Text::getFillColor() const
{