Re: Hotspot events & joystick mode
Status: Alpha
Brought to you by:
cwalther
From: Aidan G. <wgs...@ih...> - 2008-02-26 07:20:40
|
Actually, scratch that. It disappeared in revision 180. What did you do? Maybe the missing page was returned. -Aidan Aidan Gauland wrote: > Ok, thanks for that clarification, I'll remember that. And about the > joystick mode bug, it's not in the stable release (0.2.6), only in the > developmental Subversion release. I'll look at the Subversion history > for Pipmak, and try older versions to see when it appeared. > > -Aidan > > Christian Walther wrote: >> Aidan Gauland wrote: >>> There are two control (i.e. hotspots and handles) events that I just >>> can't figure out: onhilite and enenddrag. Can anyone tell me what >>> triggers these, and how to use them? >> onhilite is used on controls that represent buttons (in the usual >> computer GUI sense) and is triggered whenever the button should >> highlight or unhighlight: Highlight when the mouse goes down on the >> button, unhighlight when the mouse, still down, leaves it, highlight >> again, when the mouse, still down, reenters it, unhighlight when the >> mouse goes up, etc. You should find many examples of this in the >> internal nodes (main menu, Lua command line, etc.) that are stored in >> the "Pipmak Resources" ZIP file (on Windows and Linux); the demo project >> has one on the title node too. >> >> onenddrag is triggered when the mouse goes up after it went down on the >> control, no matter where it is now (onmouseup is only triggered when the >> mouse goes up on the control). Search for "onenddrag" in the demo >> project, I think it's used there a few times too. >> >> Incidentally, these two events are the ones that were not directly >> modeled after HyperCard (except for the spelling of "hilite"). onhilite >> is necessary because HyperCard handles the highlighting of a button >> internally. onenddrag is an addition that seemed useful to me - in >> HyperCard, such things were usually done in ways like "repeat while the >> mouse is down", which doesn't work in Pipmak. >> >> I guess I should complete the documentation about these one day... >> >>> And another thing, I'm asking about this because it wasn't on the list >>> of things that remain to be done/fixed for 0.2.7: joystick mode doesn't >>> seem to let me pan very far, the limit seems to be about oh, say 30 >>> degrees. This isn't intentional is it? >> Not at all - that sounds like a pretty serious bug. One that I've never >> heard of. Do you think you'd be able to figure out what's going on yourself? >> >> -Christian >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Pipmak-Users mailing list >> Pip...@li... >> news://news.gmane.org/gmane.games.devel.pipmak.user >> https://lists.sourceforge.net/lists/listinfo/pipmak-users >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Pipmak-Users mailing list > Pip...@li... > news://news.gmane.org/gmane.games.devel.pipmak.user > https://lists.sourceforge.net/lists/listinfo/pipmak-users > |