Share Posted February 3, 2010 I have an application wherein the user must do something first before they can scale items. I know how to lockScale, which might suffice, but I might want to show the resize cursor, yet display a message (and/or play a sound, or something else) when the user actually tries to do the resize. Is this possible? How might I implement this? Link to comment Share on other sites More sharing options...
Share Posted February 3, 2010 If lockScale is true, the scale cursor won't show up and there isn't a simple edit to change that. You'd need to alter the source code for that (feel free to do so). Link to comment Share on other sites More sharing options...
Author Share Posted February 3, 2010 Well, if I leave lockScale false (default), can I instead intercept the onScale command and prevent it from continuing? Link to comment Share on other sites More sharing options...
Share Posted February 3, 2010 You're welcome to add conditional logic to the onPressScale(), onPressStretchH(), and/or onPressStretchV() methods, sure. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now