Commit Graph

347 Commits

Author SHA1 Message Date
hasufell 262982673a
Improve error handling 2014-10-05 20:08:58 +02:00
hasufell d33683cb82
Refactor GUI API 2014-10-05 19:32:36 +02:00
hasufell 1fb87d8e1e
Style 2014-10-05 18:43:10 +02:00
hasufell 522ad2b452
Allow specifying the diagram dimensions in the GUI 2014-10-05 18:41:41 +02:00
hasufell 6c677d55b8
Fix parsing error 2014-10-05 18:09:49 +02:00
hasufell 197dc99058
Allow more control over the dimensions 2014-10-05 18:09:24 +02:00
hasufell 6e2873ece1
Improve haddock documentation 2014-10-05 15:57:31 +02:00
hasufell 5976ba984e
Style 2014-10-05 15:57:18 +02:00
hasufell f46d47c827
Loosen the version constraints for base a bit 2014-10-05 15:51:41 +02:00
hasufell ae019e86ed
Style 2014-10-05 15:50:52 +02:00
hasufell 884a8a3121
Use a proper API for default parameters 2014-10-05 15:50:42 +02:00
hasufell 22d7ea501d
Rm redundant import 2014-10-05 15:30:07 +02:00
hasufell c7c0fdd500
Style 2014-10-05 15:27:48 +02:00
hasufell c95e003228
Make API suck less 2014-10-02 20:59:27 +02:00
hasufell e14805dcce
Fix drawing area when other windows overlap 2014-10-02 20:57:49 +02:00
hasufell 0ab6a15d4e
Draw two lines for both x and y-axis 2014-10-02 20:07:49 +02:00
hasufell c018304319
Don't draw borders for the white square 2014-10-02 14:37:51 +02:00
hasufell 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
hasufell d39180a723
Style 2014-10-02 14:30:08 +02:00
hasufell 1ca38186e8
Switch to glade 2014-10-02 14:29:56 +02:00
hasufell 3bfb84e1c7
Rename startGUI to makeGUI 2014-10-02 13:14:16 +02:00
hasufell 80b5286095
Style improvements 2014-10-02 13:13:58 +02:00
hasufell 8f806ab42c
Update .gitignore 2014-10-01 23:09:09 +02:00
hasufell 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
hasufell 9272ff32d4
Fix cmpExt
So that cmpExt "foo" "foo" will not yield a false positive.
2014-10-01 23:03:09 +02:00
hasufell 5e5408422b
Improve haddock documentation 2014-10-01 23:02:43 +02:00
hasufell 545c5365e9
Limit min scale to 0.1 to avoid errors 2014-10-01 21:49:39 +02:00
hasufell 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
hasufell 3c140832bc
Allow setting a startFile via cli 2014-10-01 21:47:54 +02:00
hasufell fc80b95665
Refactor drawing/saving, improve modularity 2014-10-01 20:52:07 +02:00
hasufell eaafccd544
Move gui related stuff to Gtk module 2014-10-01 20:26:57 +02:00
hasufell d0f524167a
Add utility functions for file handling 2014-10-01 20:18:45 +02:00
hasufell aec00c7e4d
Rm useless filterValidCoords, refactor inRange 2014-10-01 20:17:59 +02:00
hasufell eaaa699035
Improve inline doc 2014-10-01 20:16:02 +02:00
hasufell 824ae57a05
Add GPL-2 LICENSE file 2014-10-01 20:15:00 +02:00
hasufell 4f888db9e7
Add hscolour 2014-10-01 20:14:44 +02:00
hasufell 49e5dba8f3
Add cabal file 2014-10-01 15:36:37 +02:00
hasufell b5a7b7d507
Add hotkeys 2014-10-01 03:37:27 +02:00
hasufell bef0c9afe8
Adjust main window size 2014-10-01 03:03:39 +02:00
hasufell 9e87c971ab
Style tweaks 2014-10-01 03:03:30 +02:00
hasufell 8f1ab75fe7
Set white background for the drawing area 2014-10-01 03:03:09 +02:00
hasufell b9aee774da
Polish the gui
More buttons and a file chooser.
2014-10-01 02:55:32 +02:00
hasufell a676cbdbab
Add test mesh 2014-10-01 01:19:30 +02:00
hasufell f9f8b04ea9
Minor cleanup 2014-10-01 01:19:20 +02:00
hasufell 6c0a1c7572
Update .gitignore 2014-10-01 01:19:03 +02:00
hasufell 7cd62975af
Finalize and allow drawing 2014-10-01 00:05:29 +02:00
hasufell 9ede6aecc0
Initial commit
We can parse an obj file.
2014-09-30 18:28:19 +02:00