b98d8be723
Limit public API in Diagram
2014-10-06 22:15:10 +02:00
330049fde6
Rename showEmptyRectB and emptyRect to showWhiteRectB and whiteRect
2014-10-06 21:22:32 +02:00
c35eb704d3
Avoid shadowing of variables
2014-10-06 21:12:18 +02:00
8547122be6
Make the diagram API more abstract
...
In particular we now have the data type 'Diag' which
can be used to concatenate multiple Diagrams via mconcat while
keep the properties and VTable across all of them consistent.
2014-10-06 21:11:28 +02:00
69026edf83
Simplify and improve extension handling
...
The functions should be safe now and all known corner cases
seem to work.
2014-10-06 02:26:04 +02:00
0ee52c5bdd
Improve haddock documentation
2014-10-05 21:47:00 +02:00
d5b8eeeb49
Add algorithm combo box
...
Currently a no-op.
2014-10-05 21:41:51 +02:00
6c728324fd
Rm obsolete centerX/centerY
2014-10-05 21:33:22 +02:00
d69647dcd3
Add all other modules to the cabal file
2014-10-05 21:12:08 +02:00
94baf12023
Add about dialog
2014-10-05 20:54:42 +02:00
191325f77a
Don't expand/fill the filechooserButton
2014-10-05 20:23:54 +02:00
262982673a
Improve error handling
2014-10-05 20:08:58 +02:00
d33683cb82
Refactor GUI API
2014-10-05 19:32:36 +02:00
1fb87d8e1e
Style
2014-10-05 18:43:10 +02:00
522ad2b452
Allow specifying the diagram dimensions in the GUI
2014-10-05 18:41:41 +02:00
6c677d55b8
Fix parsing error
2014-10-05 18:09:49 +02:00
197dc99058
Allow more control over the dimensions
2014-10-05 18:09:24 +02:00
6e2873ece1
Improve haddock documentation
2014-10-05 15:57:31 +02:00
5976ba984e
Style
2014-10-05 15:57:18 +02:00
f46d47c827
Loosen the version constraints for base a bit
2014-10-05 15:51:41 +02:00
ae019e86ed
Style
2014-10-05 15:50:52 +02:00
884a8a3121
Use a proper API for default parameters
2014-10-05 15:50:42 +02:00
22d7ea501d
Rm redundant import
2014-10-05 15:30:07 +02:00
c7c0fdd500
Style
2014-10-05 15:27:48 +02:00
c95e003228
Make API suck less
2014-10-02 20:59:27 +02:00
e14805dcce
Fix drawing area when other windows overlap
2014-10-02 20:57:49 +02:00
0ab6a15d4e
Draw two lines for both x and y-axis
2014-10-02 20:07:49 +02:00
c018304319
Don't draw borders for the white square
2014-10-02 14:37:51 +02:00
cb53b2b61d
Improve default file chooser settings
...
If the user hasn't specified a file on CLI, the button
now correctly shows "None" and has $HOME as start dir.
2014-10-02 14:36:23 +02:00
d39180a723
Style
2014-10-02 14:30:08 +02:00
1ca38186e8
Switch to glade
2014-10-02 14:29:56 +02:00
3bfb84e1c7
Rename startGUI to makeGUI
2014-10-02 13:14:16 +02:00
80b5286095
Style improvements
2014-10-02 13:13:58 +02:00
8f806ab42c
Update .gitignore
2014-10-01 23:09:09 +02:00
860e7af61d
Improve error handling
...
Checks the file extension before attempting to read the file.
Also allow empty argument list.
2014-10-01 23:08:58 +02:00
9272ff32d4
Fix cmpExt
...
So that cmpExt "foo" "foo" will not yield a false positive.
2014-10-01 23:03:09 +02:00
5e5408422b
Improve haddock documentation
2014-10-01 23:02:43 +02:00
545c5365e9
Limit min scale to 0.1 to avoid errors
2014-10-01 21:49:39 +02:00
7f20f3ff5b
Allow changing the thickness of dots
...
By achieving that we have introduced the DiagProp data type
which can be enhanced in the future.
2014-10-01 21:48:31 +02:00
3c140832bc
Allow setting a startFile via cli
2014-10-01 21:47:54 +02:00
fc80b95665
Refactor drawing/saving, improve modularity
2014-10-01 20:52:07 +02:00
eaafccd544
Move gui related stuff to Gtk module
2014-10-01 20:26:57 +02:00
d0f524167a
Add utility functions for file handling
2014-10-01 20:18:45 +02:00
aec00c7e4d
Rm useless filterValidCoords, refactor inRange
2014-10-01 20:17:59 +02:00
eaaa699035
Improve inline doc
2014-10-01 20:16:02 +02:00
824ae57a05
Add GPL-2 LICENSE file
2014-10-01 20:15:00 +02:00
4f888db9e7
Add hscolour
2014-10-01 20:14:44 +02:00
49e5dba8f3
Add cabal file
2014-10-01 15:36:37 +02:00
b5a7b7d507
Add hotkeys
2014-10-01 03:37:27 +02:00
bef0c9afe8
Adjust main window size
2014-10-01 03:03:39 +02:00