diff options
author | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-12-19 15:03:11 +0000 |
---|---|---|
committer | cutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475> | 2020-12-19 15:03:11 +0000 |
commit | fa0b1cb5092bb1c2109ff870587a32b771179705 (patch) | |
tree | 5f5f85e537b2d5d92ff2a2b2e621549a2cc9c062 /include/IGUIButton.h | |
parent | 01920bf808be378363ebcdc81e78b251d9189f60 (diff) | |
download | irrlicht-fa0b1cb5092bb1c2109ff870587a32b771179705.tar.xz |
Merging r6145 through r6171 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6172 dfc29bdd-3216-0410-991c-e03cc46cb475
Diffstat (limited to 'include/IGUIButton.h')
-rw-r--r-- | include/IGUIButton.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/IGUIButton.h b/include/IGUIButton.h index 1976ada..88eb97b 100644 --- a/include/IGUIButton.h +++ b/include/IGUIButton.h @@ -139,6 +139,10 @@ namespace gui /** \return: The override color */
virtual video::SColor getOverrideColor(void) const = 0;
+ //! Gets the currently used text color
+ /** Either a skin-color for the current state or the override color */
+ virtual video::SColor getActiveColor() const = 0;
+
//! Sets if the button text should use the override color or the color in the gui skin.
/** \param enable: If set to true, the override color, which can be set
with IGUIStaticText::setOverrideColor is used, otherwise the
|