Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Production Systems

3 views
Skip to first unread message

James Gleeson

unread,
Aug 12, 2011, 1:46:43 PM8/12/11
to
I'm comparing two examples given in class, one was for a 3-state
button and the other was for a scroll bar. I'm confused about how we
are allowed to keep track of where the mouse is in the view, since
these 2 examples use different approaches.
1) For the 3-state button, we created %MouseEnter / %MouseExit input
events, and tracked a state variable inside {true, false}.
2) For the scroll bar, we had varies queries (e.g. ?InThumb, ?
InGutterBelowThumb, etc.) for keeping track of wbere in the component
we were.

I find 2) to be a preferable option. Can I assume this option will be
valid on the exam if I need to write a production system?

Michael Terry

unread,
Aug 12, 2011, 2:35:56 PM8/12/11
to
If we did it in class, sure, it will be valid.

Michael

0 new messages