Commit Graph

246 Commits

Author SHA1 Message Date
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
e72e8c9333 more strictness to Types.hs: UIState 2014-05-20 20:38:02 +02:00
tpajenka
74fc3af201 haddock 2014-05-20 20:34:05 +02:00
tpajenka
696269c1b5 non-ASCI characters on output (e.g. in compiler messages) may break certain shells preventing compiling 2014-05-16 00:39:29 +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
c17852d8e1 Merge branch 'master' into ui 2014-05-15 21:47:15 +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
dba5c9d809
removed debug-print 2014-05-12 11:30:29 +02:00
ffc0281ab4
frame-limiter now works correctly, scaling up/down should be smoother 2014-05-11 21:12:53 +02:00
d1adff31d5
removed some print-foo 2014-05-11 12:38:39 +02:00
91e6435c9a Merge branch 'tessallation' 2014-05-11 10:53:45 +02:00
8dea8d1ed9
refined shaders
- grid is now visible
- grid-points are different colored
- tesselated triangles wont get "gridded".
2014-05-11 10:52:45 +02:00
a492b0aa93 Merge branch 'tessallation' 2014-05-10 20:23:06 +02:00
a57cada945
changed SDL to qualified import 2014-05-10 20:22:49 +02:00
ddd7013db4 Merge branch 'tessallation' 2014-05-10 17:36:13 +02:00
e4fec7c3de forgot change, fixed compiling 2014-05-10 17:35:56 +02:00
5e72dbedd0 Merge branch 'tessallation' 2014-05-10 17:35:42 +02:00
bd7870a76e
forgot change 2014-05-10 17:33:33 +02:00
502e3efdf3 Merge branch 'iqm' 2014-05-10 11:34:18 +02:00
6dcdb2eda2 Merge branch 'ui' 2014-05-10 11:19:31 +02:00
tpajenka
5f29ce7610 mouse events use local widget coordinates 2014-05-09 00:17:31 +02:00
tpajenka
75edc11a1e fixed some HLint messages 2014-05-08 23:38:47 +02:00
tpajenka
992c8fd041 purpose dependent widget states and widget actions are now stored inside HashMaps 2014-05-08 23:36:53 +02:00
Jonas Betzendahl
6fe3e3305a Merge branch 'Mapping' 2014-05-08 15:19:33 +02:00
adb2c5d373
noise entfernt 2014-05-07 10:28:44 +02:00
a91aad5daa
better noise-function 2014-05-07 10:12:18 +02:00
7dd79f095c Merge branch 'iqm' into tessallation
Conflicts:
	src/Render/Render.hs
	src/Types.hs
2014-05-07 09:58:43 +02:00
376375008c
tessellation-factor is now adaptive
- tessellation gets reduced in distance
- tess-factor is now adaptive
2014-05-07 09:51:35 +02:00
ea09cd1a97 Merge remote-tracking branch 'origin/ui' 2014-05-06 11:31:12 +02:00
c37a49a948
added missing hsSDL2-stuff to dependencies. 2014-05-05 08:19:07 +02:00
f7cc34b3a0
first try at adaptive performance 2014-05-05 08:11:33 +02:00
tpajenka
e292633ce4 widget coordinates are now local (offset based on parent component) 2014-05-03 22:40:49 +02:00
tpajenka
aba45d5ca7 Merge branch 'master' into ui 2014-05-03 15:28:25 +02:00
tpajenka
ad0e569537 renamed modules after restructuring UI data 2014-05-03 15:22:20 +02:00
tpajenka
ca51c23650 restructured GUI widgets' data representation from class type/instance-based
to function-based
advantage: single constructor for any widget type, no branching necessary
2014-05-03 15:21:58 +02:00
91fbbb7350 started to render iqm - nothing visible now. 2014-05-03 15:17:51 +02:00
8147aa8200 Merge branch 'master' into tessallation 2014-05-03 14:34:46 +02:00
2150e8d7af
reworked compiling. Now ships with build.sh 2014-05-02 18:00:33 +02:00
23eb808fa6
changed getDeps.sh for Ubuntu 14.04 2014-05-02 16:51:27 +02:00
1f6551cf08 WIP DOES NOT WORK 2014-05-02 16:15:58 +02:00
tpajenka
f35f3895f5 Merge branch 'master' into ui 2014-05-01 20:31:58 +02:00
tpajenka
5be37f6453 moved user event handling into UI/Callbacks.hs 2014-05-01 20:31:15 +02:00
tpajenka
a3fe5a1d8b compiler warning and HLint remarks 2014-05-01 19:25:04 +02:00
Jonas Betzendahl
683b72a413 Refactoring & more cosmetics 2014-04-29 01:05:05 +02:00
Jonas Betzendahl
6c4e63f085 cosmetics 2014-04-29 00:18:38 +02:00
Jonas Betzendahl
853c11b4df Merge branch 'testing' into Mapping 2014-04-28 23:36:41 +02:00
Jonas Betzendahl
49518e3006 Merge branch 'testing' into Mapping 2014-04-28 23:35:14 +02:00