Timeline for How do I drag my widgets without dragging other widgets?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 18, 2012 at 22:34 | comment | added | House | Indeed, a manager class has lots of nice features and centralizing the input controls is one of the really good ones. | |
| Sep 18, 2012 at 22:22 | comment | added | Cypher | "Slightly different way of doing things" is why I'm here. :) It sounds like you're advocating the use of a manager class for the widgets. That's a good idea. | |
| Sep 18, 2012 at 22:13 | comment | added | House | I guess I can only suggest a slightly different way of doing things. Please see my edits. | |
| Sep 18, 2012 at 22:05 | history | edited | House | CC BY-SA 3.0 | added 842 characters in body |
| Sep 18, 2012 at 21:13 | comment | added | Cypher | How can the Widget track if the mouse went down while hovering over it and then somehow not set the same flag when hovering over other Widgets that it does not know about? I can't use your logic of !this.WasMouseDown && this.IsMouseDown because that will be true by simply rolling over all elements with the mouse held down... hence the question. :) | |
| Sep 18, 2012 at 21:11 | comment | added | Cypher | The mouse state is tracked via the MouseComponent. | |
| Sep 18, 2012 at 20:49 | history | answered | House | CC BY-SA 3.0 |