Can you use Scrollwheel with tools?
-
Is it possible to detect the user using the scrollwheel?
-
onMButtonDoubleClick
onMButtonDown
onMButtonUp
only it seems...
http://groups.google.com/group/sketchupruby/browse_thread/thread/ce1832af8ce880b4 has a PC only, socket based way... but it seems complex... -
@tig said:
PC only, socket based way... but it seems complex...
socket ? I didnt see any socket reference there. only a Winhook on mouse events and a ruby object that calls the onMouseWheel method. pitty that is only Windows.
thomthom: what do you want to implement with mouse wheel ?
-
@unknownuser said:
@tig said:
PC only, socket based way... but it seems complex...
socket ? I didnt see any socket reference there. only a Winhook on mouse events and a ruby object that calls the onMouseWheel method. pitty that is only Windows.
thomthom: what do you want to implement with mouse wheel ?
Sorry I mistake the mouse .so for socket rather than shared object...
-
@unknownuser said:
thomthom: what do you want to implement with mouse wheel ?
What I want to do is create a new paint tool, with more features than the current. I thought I could add a little scrolling palette of materials, an area of the screen where when you used the scroll wheel, it would not zoom - but rather scroll through the on screen palette.
-
how about a webdialog popup on CTRL that disappear on mouseout (idea, not tested if it is feasible) ?
-
@unknownuser said:
how about a webdialog popup on CTRL that disappear on mouseout (idea, not tested if it is feasible) ?
I can do without the scrolling. It would just be a very cool little extra.
Planning to add the tools On Screen - making a painting palette when using the painting tool. Inspired by Fredo's tools. -
Could you use a webdialog to capture the scroll wheel and send it back to SU? I guess hide or move the web dialog off the screen so the user doesn't see it?
Chris
-
@chris fullmer said:
Could you use a webdialog to capture the scroll wheel and send it back to SU? I guess hide or move the web dialog off the screen so the user doesn't see it?
Chris
Maybe - but I need to interact with the viewport, clicking etc -which would steal the focus away..
-
Oh gotcha. The Prince IO game works because the user never needs to interact with model directly. All their actions are done through the web dialog and as soon as they click into the model, it must kill their game control then I guess?
Chris
Advertisement