Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/button.cc6
-rw-r--r--src/ui/iconbutton.cc6
-rw-r--r--src/ui/listitem.cc7
3 files changed, 9 insertions, 10 deletions
diff --git a/src/ui/button.cc b/src/ui/button.cc
index e9a40b9..6c34a4f 100644
--- a/src/ui/button.cc
+++ b/src/ui/button.cc
@@ -88,9 +88,9 @@ void Button::draw()
Paint::draw_label(global_location(), size(), font(), text(), alignment());
- if (enabled() && has_mouse_focus()) {
- root()->set_pointer("action", Palette::Highlight);
- }
+// if (enabled() && has_mouse_focus()) {
+// root()->set_pointer("action", Palette::Highlight);
+// }
}
bool Button::on_keypress(const int key, const unsigned int modifier)
diff --git a/src/ui/iconbutton.cc b/src/ui/iconbutton.cc
index 066f5fa..b8dda87 100644
--- a/src/ui/iconbutton.cc
+++ b/src/ui/iconbutton.cc
@@ -85,9 +85,9 @@ void IconButton::draw()
Paint::draw_bitmap(global_location(), size(), color, icon());
- if (enabled() && has_mouse_focus()) {
- root()->set_pointer("action", Palette::Highlight);
- }
+// if (enabled() && has_mouse_focus()) {
+// root()->set_pointer("action", Palette::Highlight);
+// }
}
diff --git a/src/ui/listitem.cc b/src/ui/listitem.cc
index 634cbaf..d7c3f1e 100644
--- a/src/ui/listitem.cc
+++ b/src/ui/listitem.cc
@@ -58,10 +58,9 @@ void ListItem::draw()
Paint::draw_label(global_location(), size(), font(), text(), alignment());
- if (enabled() && has_mouse_focus()) {
- root()->set_pointer("action", Palette::Highlight);
- }
-
+// if (enabled() && has_mouse_focus()) {
+// root()->set_pointer("action", Palette::Highlight);
+// }
}
void ListItem::on_mouseover(const math::Vector2f &cursor)