Commit Graph

339 Commits

Author SHA1 Message Date
hasufell d3a7c04398
PRELUDE: simplify seqList 2014-10-12 16:09:17 +02:00
hasufell 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
hasufell 393d37d1a9
GUI: don't redraw instantly on scaling point thickness
It broke performance.
2014-10-12 03:15:34 +02:00
hasufell e91fb6cd1e
ALGEBRA: fix ccw 2014-10-12 03:04:36 +02:00
hasufell 378f7887d4
PRELUDE: add getLastX 2014-10-12 03:00:55 +02:00
hasufell cc7efa9906
ALGO: improve style 2014-10-12 03:00:25 +02:00
hasufell b75f531533
ALGO: fix grahamGetCHSteps 2014-10-12 03:00:13 +02:00
hasufell 15479e3c58
PRELUDE: add dupLast 2014-10-12 02:57:43 +02:00
hasufell b3371d16f9
PRELUDE: add seqList 2014-10-12 02:31:08 +02:00
hasufell 6dc4fae415
ALGO: improve readability 2014-10-12 02:11:47 +02:00
hasufell 24810e5970
Move the function 'first' from Parser to MyPrelude
It is useful and generic.
2014-10-12 01:57:20 +02:00
hasufell 60f59bb2b7
ALGO: fix the algorithm
It was imprecise before and only worked by accident.
'grahamGetCHSteps' is a bit broken for now and caused duplicates.
2014-10-12 01:54:44 +02:00
hasufell d81e932d00 DIAGRAM: improve behavior for dimensions like (100,300) (100,300) 2014-10-11 13:49:53 +02:00
hasufell 6c66a7acb3 PARSER: add parser for negative doubles 2014-10-11 04:39:51 +02:00
hasufell 7fb3588300
DIAGRAM: improve style and readability 2014-10-11 03:59:21 +02:00
hasufell bfa3665985
DIAGRAM: fix grid/axis for negative dimensions 2014-10-11 03:24:18 +02:00
hasufell 5e5f305c65
GUI: merge callback functions into drawDiag/saveDiag 2014-10-11 02:01:17 +02:00
hasufell 0681b4d605
GUI: remove code duplication 2014-10-11 00:16:18 +02:00
hasufell 869cbd0af3
GUI: instantly redraw for enabling checkboxes and other stuff 2014-10-11 00:02:06 +02:00
hasufell 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
hasufell ab2a0a331d
DIAGRAM: fix unfiltered vtable for pointText functions 2014-10-10 23:59:02 +02:00
hasufell 60843e5879
DIAGRAM: rm unnecessary square 2014-10-10 23:28:01 +02:00
hasufell eadbf76978
CABAL: rm unnecessary dependency from Gtk executable 2014-10-10 18:02:26 +02:00
hasufell 40313baa7d
CABAL: add missing JuicyPixels 2014-10-10 17:55:52 +02:00
hasufell 8494c106d9
Update .gitignore 2014-10-10 17:53:17 +02:00
hasufell 085b06a112
PARSER: eta reduction 2014-10-10 17:48:22 +02:00
hasufell 954b104642
Style 2014-10-10 17:40:25 +02:00
hasufell 6e4c7e47c2
Restructure modules 2014-10-10 17:40:08 +02:00
hasufell cb7d5269a0
DIAGRAM: add maybeDiag convenience function 2014-10-10 15:40:56 +02:00
hasufell 5d5d0b7643
DIAGRAM: improve haddock doc 2014-10-10 15:34:38 +02:00
hasufell 1540bf443e
DIAGRAM: abstract point to text conversion out a little 2014-10-10 15:34:18 +02:00
hasufell 01e2dd7802
Allow showing the coordinate points as text 2014-10-10 15:03:12 +02:00
hasufell 4137af7a7f
DIAGRAM: Fix haddock comment 2014-10-10 01:08:53 +02:00
hasufell 207360b4a5
Improve function names 2014-10-10 00:42:15 +02:00
hasufell dfb25a7a1d
DIAGRAM: make the grid size modifiable 2014-10-10 00:30:56 +02:00
hasufell 8338ab109f
Clarify some String types 2014-10-10 00:23:58 +02:00
hasufell 12da4040dc
Improve overall style and indenting 2014-10-10 00:19:05 +02:00
hasufell 22482f7c49
DIAGRAM: improve haddock doc 2014-10-09 21:37:58 +02:00
hasufell fa749ddd25
DIAGRAM: finalize x/y-axis wrt #1 2014-10-09 21:37:45 +02:00
hasufell ccbe034ef1
DIAGRAM: improve style 2014-10-09 18:55:55 +02:00
hasufell e2f1c865f3
DIAGRAM: fix filtering of points based on the dimensions 2014-10-09 18:51:32 +02:00
hasufell de5aba792e
Allow showing a grid 2014-10-09 18:45:37 +02:00
hasufell 4195404694
DIAGRAM: improve x/y-axis by showing segment lines 2014-10-09 18:13:33 +02:00
hasufell 9c9cb29e45
ALGO: improve style 2014-10-09 17:22:41 +02:00
hasufell 8a2ef92fa7
DIAGRAMS: add TODO note 2014-10-09 17:20:14 +02:00
hasufell fa3e498c45
DIAGRAM: rename functions to reflect their type 2014-10-09 17:19:58 +02:00
hasufell 5020778f60
DIAGRAM: fix crash when passed an empty array to showConvexHullLines 2014-10-09 17:09:49 +02:00
hasufell 143d514648
Add collinear.obj 2014-10-09 17:02:29 +02:00