diff options
author | pixel <pixel> | 2005-06-20 22:43:35 +0000 |
---|---|---|
committer | pixel <pixel> | 2005-06-20 22:43:35 +0000 |
commit | c492bb95a2bb8f739b7c0a061090b9ad4549c975 (patch) | |
tree | 5f92707f321c4ec1dc53b48fe81f914481b8b000 /lib | |
parent | d2977995ac37d8a2283a871aa0b3f04293d387c2 (diff) |
Minor cosmetic changes.
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)) { |