Commit Graph

24 Commits

Author SHA1 Message Date
984ed40c63
Port to diagrams >1.3
# Conflicts:
#	Algebra/Vector.hs
#	CG2.cabal
#	Graphics/Diagram/Core.hs
#	Graphics/Diagram/Gif.hs
#	Graphics/Diagram/Gtk.hs
#	Test/Vector.hs
2015-05-21 02:14:15 +02:00
2ccb52eb62
VEC: Fix the inRange function
It now takes a PROPER square, as in ((xmin, ymin), (xmax, ymax))
instead of ((xmin, xmax), (ymin, ymax)) and also works
with negative values.

Because the meaning of the arguments has changed, we also
had to fix all uses of it.
2014-12-17 03:35:33 +01:00
a7774b69a4
Restructure Graphics/Diagram subdir, rename modules 2014-12-03 22:02:42 +01:00
968262d935
GUI: fix widget hiding 2014-11-30 00:19:57 +01:00
3e4a148578
GUI: fix algo 5 tree visualization, we broke it 2014-11-30 00:02:58 +01:00
543b08df2c
GUI/DIAG: allow visualizing the rangeSearch and the tree 2014-11-29 23:45:53 +01:00
e673fee652
Read the obj file as ByteString and pass ByteString to the Parser 2014-11-21 04:49:17 +01:00
ea88ef84ea
Improve code prettiness 2014-11-16 16:45:51 +01:00
84bfeb27e0
GUI: hide the tree window if a different algo is chosen 2014-11-16 00:29:07 +01:00
f3cd0fa676
Use System.FilePath.Posix instead of our own implementation 2014-11-16 00:25:17 +01:00
3f3467cc44
Refactor some function names for readability 2014-11-16 00:13:44 +01:00
f3cabab280
Implement visualizing the quad tree in a separate window
This window creation still sucks a bit, we should realize it
without actually showing it.
2014-11-15 03:58:38 +01:00
c964afee10
GUI: hide the quad tree path entry widget by default 2014-11-15 00:32:16 +01:00
ecf203c825
DIAG: Allow drawing the square the user path points to 2014-11-14 21:28:56 +01:00
778dc16a3f
GUI: use infix instead of ap 2014-10-17 14:04:37 +02:00
2baeea4d4b
GUI: make the MkMyGUI call less ugly 2014-10-17 01:06:24 +02:00
be2787103a
GUI: don't show error dialogs if there hasn't been any file chosen 2014-10-12 20:00:42 +02:00
393d37d1a9
GUI: don't redraw instantly on scaling point thickness
It broke performance.
2014-10-12 03:15:34 +02:00
5e5f305c65
GUI: merge callback functions into drawDiag/saveDiag 2014-10-11 02:01:17 +02:00
0681b4d605
GUI: remove code duplication 2014-10-11 00:16:18 +02:00
869cbd0af3
GUI: instantly redraw for enabling checkboxes and other stuff 2014-10-11 00:02:06 +02:00
b6aa9d9086
GUI: fix signal handling for onExpose
Doing the signal handling connect inside the callback function
was a bad idea. Instead do it in the makeGUI function and just
call onClickedDrawButton for every expose event.
2014-10-11 00:01:43 +02:00
954b104642
Style 2014-10-10 17:40:25 +02:00
6e4c7e47c2
Restructure modules 2014-10-10 17:40:08 +02:00