diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/widgets.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/widgets.cc b/lib/widgets.cc index daec5ea..94cbd73 100644 --- a/lib/widgets.cc +++ b/lib/widgets.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: widgets.cc,v 1.13 2005-03-29 17:33:34 pixel Exp $ */ +/* $Id: widgets.cc,v 1.14 2005-06-20 22:43:35 pixel Exp $ */ #include <SDL.h> #include <vector> @@ -1206,9 +1206,7 @@ void mogltk::widget::mainloop() { mx = mogltk::engine::mouseX(); my = mogltk::engine::mouseY(); - mogltk::ColorP::Max.A = 50; - Sprite::Cursor->draw(mx - 6, my - 3, BLACK); - mogltk::ColorP::Max.A = 255; + Sprite::Cursor->draw(mx - 6, my - 3, Color(0, 0, 0, 50)); Sprite::Cursor->draw(mx - 8, my - 6); if (w = root->find_widget(mx, my)) { |