aboutsummaryrefslogtreecommitdiff
path: root/include/IGUIButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/IGUIButton.h')
-rw-r--r--include/IGUIButton.h4
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