diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/color.cpp | 2 | ||||
-rw-r--r-- | src/ui/color.h | 2 | ||||
-rw-r--r-- | src/ui/control.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/color.cpp b/src/ui/color.cpp index 200ed0c..5668519 100644 --- a/src/ui/color.cpp +++ b/src/ui/color.cpp @@ -105,7 +105,7 @@ bool CColor::EventProcess(const Event &event) } if ( event.type == EVENT_MOUSE_BUTTON_DOWN && - event.mouseButton.button == 1 && + event.mouseButton.button == 1 && (m_state & STATE_VISIBLE) && (m_state & STATE_ENABLE) ) { diff --git a/src/ui/color.h b/src/ui/color.h index ad99ddd..311a532 100644 --- a/src/ui/color.h +++ b/src/ui/color.h @@ -52,7 +52,7 @@ namespace Ui { protected: bool m_bRepeat; float m_repeat; - Gfx::Color m_color; + Gfx::Color m_color; }; diff --git a/src/ui/control.cpp b/src/ui/control.cpp index 6ac82bc..fbf7575 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -199,13 +199,13 @@ std::string CControl::GetName() void CControl::SetTextAlign(Gfx::TextAlign mode) { - m_textAlign = mode; + m_textAlign = mode; // m_justif = mode; } int CControl::GetTextAlign() { - return m_textAlign; + return m_textAlign; // return m_justif; } |