Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-05 18:18:50 +0000
committerStijn Buys <ingar@osirion.org>2013-11-05 18:18:50 +0000
commitb123eb709355b94a7c25ec1ec12ff7a428f7c186 (patch)
tree9703467cdb9829b77f55c6e8da6d64202c9bc402 /src/ui
parentaa00be016738efee6fe3bcb57ca4bc081b24d585 (diff)
Remove 'action' mouse pointer.
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)