15 Commits

Author SHA1 Message Date
tpajenka
702ea19253 camera is recalculated on mouse action instead of at every frame 2014-06-19 22:24:58 +02:00
e512149461
Merge branch 'ui' into iqm
Conflicts:
	src/UI/UIBase.hs
2014-06-15 03:29:03 +02:00
tpajenka
c7ea247b70 introducing window resize event, main viewport resizing to actual window size 2014-05-24 13:47:47 +02:00
tpajenka
9523e733c6 new UI-Widget type: Viewport, removed old hacked code (except mouse wheel) to handle camera movement and using viewport instead 2014-05-21 14:10:47 +02:00
tpajenka
03d99c5fcc bugfix mouse motion handler: handler has been invoked with wrong coordinates, motion handler is now also called while leaving while still mouse-active 2014-05-21 14:03:28 +02:00
tpajenka
8a84e7ba95 press/release handlers receive boolean as parameter to indicate if the click is inside widget 2014-05-21 11:51:40 +02:00
tpajenka
74fc3af201 haddock 2014-05-20 20:34:05 +02:00
ef549eac4d
fixed haddock for UI 2014-05-18 00:14:19 +02:00
tpajenka
271497be81 using (and corrected) refined button handler invocation
TODO: "old" camera handler interferes with left mouse clicks/drags
2014-05-16 00:36:33 +02:00
tpajenka
51c48e62db revising preliminary inflexible button handling callback 2014-05-15 21:43:26 +02:00
tpajenka
45fe3f8493 revising preliminary inflexible button handling callback 2014-05-14 13:19:00 +02:00
tpajenka
5f29ce7610 mouse events use local widget coordinates 2014-05-09 00:17:31 +02:00
tpajenka
992c8fd041 purpose dependent widget states and widget actions are now stored inside HashMaps 2014-05-08 23:36:53 +02:00
tpajenka
e292633ce4 widget coordinates are now local (offset based on parent component) 2014-05-03 22:40:49 +02:00
tpajenka
ad0e569537 renamed modules after restructuring UI data 2014-05-03 15:22:20 +02:00