Commit cbdbf044 authored by cutealien's avatar cutealien

Messed up last check-in somewhat. Now all getColor functions in statictext...

Messed up last check-in somewhat. Now all getColor functions in statictext avoid const& (which is OK as SColor is just a long).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3940 dfc29bdd-3216-0410-991c-e03cc46cb475
parent e03bb492
...@@ -69,7 +69,7 @@ namespace gui ...@@ -69,7 +69,7 @@ namespace gui
//! Gets the background color //! Gets the background color
/** \return: The background color */ /** \return: The background color */
virtual video::SColor const& getBackgroundColor() const = 0; virtual video::SColor getBackgroundColor() const = 0;
//! Checks if background drawing is enabled //! Checks if background drawing is enabled
/** \return true if background drawing is enabled, false otherwise */ /** \return true if background drawing is enabled, false otherwise */
......
...@@ -202,7 +202,7 @@ void CGUIStaticText::setDrawBackground(bool draw) ...@@ -202,7 +202,7 @@ void CGUIStaticText::setDrawBackground(bool draw)
//! Gets the background color //! Gets the background color
video::SColor const& CGUIStaticText::getBackgroundColor() const video::SColor CGUIStaticText::getBackgroundColor() const
{ {
return BGColor; return BGColor;
} }
......
...@@ -49,7 +49,7 @@ namespace gui ...@@ -49,7 +49,7 @@ namespace gui
virtual void setDrawBackground(bool draw); virtual void setDrawBackground(bool draw);
//! Gets the background color //! Gets the background color
virtual video::SColor const& getBackgroundColor() const; virtual video::SColor getBackgroundColor() const;
//! Checks if background drawing is enabled //! Checks if background drawing is enabled
virtual bool isDrawBackgroundEnabled() const; virtual bool isDrawBackgroundEnabled() const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment