Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualshurcool

Posted 20 March 2012 - 09:31 AM

My widget system is rapidly changing as I'm developing it.


As evidence of this, consider that I originally had just one hover/active object per WidgetManager.

Now, I've changed it so that WidgetManager doesn't keep track of one hover/active object, but another class called Pointer does. WidgetManager has a variable number of Pointer instances (typically one). This Pointer represents some abstract input device that has the capability to independently hover or activate Widgets. For example, a mouse pointer. Or a finger touch input. But there might be two finger touches, both of which can be hovering over various widgets. Or a finger plus the mouse pointer.

This redesign allows multiple widgets to be interacted with simultaneously, which is something I wanted to be possible.

#1shurcool

Posted 20 March 2012 - 09:29 AM

My widget system is rapidly changing as I'm developing it.


For instance, I originally had just one hover/active object per WidgetManager.

Now, I've changed it so that WidgetManager doesn't keep track of one hover/active object, but another class called Pointer does. WidgetManager has a variable number of Pointer instances (typically one). This Pointer represents some abstract input device that has the capability to independently hover or activate Widgets. For example, a mouse pointer. Or a finger touch input. But there might be two finger touches, both of which can be hovering over various widgets. Or a finger plus the mouse pointer.

PARTNERS