Commit Graph

32 Commits

Author SHA1 Message Date
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
9bc0b5e846 GUI: rename the tree window title to 'Tree' 2014-12-01 02:21:25 +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
3b61d21549 GUI: allow to draw kdSquares 2014-11-29 19:21:46 +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
e0a1c6ebba GUI: fix window title of QuadTree window 2014-11-15 15:35:35 +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
62d7c9ffcd ALGO: implement the quad tree 2014-11-13 23:05:56 +01:00
ddff8b1fb2 Allow drawing the polygon stuff via GUI 2014-10-25 03:15:38 +02: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
dc137d55de Update project name 2014-10-15 22:50:39 +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
7a73ea7a1d GUI: correct window title to CG2 2014-10-12 15:14:26 +02:00
hasufell
f0789b59e3 GUI: set window title 2014-10-12 04:23:27 +02:00
hasufell
43f618269d GUI: update version in about dialog 2014-10-12 04:23:16 +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