Commit Graph

34 Commits

Author SHA1 Message Date
Robbie Gleichman
6706abc003 Update Stackage and comment out glance-gui build target. 2022-03-20 13:30:34 -07:00
Robbie Gleichman
2c23a5be12 Extract out GTK/GDK code into GtkGui.hs. Put everything else in GuiInternals.hs. 2020-12-18 15:49:09 -08:00
Robbie Gleichman
007ea43f03 Use elementwiseOp and Data.Tuple.Extra.both in updateState. 2020-09-13 21:03:51 -07:00
Robbie Gleichman
00309dcc9c Add FPS counter. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
7f55169766 Put code in gui/Main.hs. Use Cairo for graphics. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
3d9941bf98 Add Cairo example from haskell-gi. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
41ffa180f0 In the GUI, Nodes are created by right clicking. Nodes can can be moved by left clicking on them. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
9e56476112 GUI mouse experiment. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
501eb8a360 Revert "Update stackage and add diagrams-gtk dependency."
This reverts commit d0a1a5944f.
2020-08-09 15:49:26 -07:00
Robbie Gleichman
369df60e77 Update stackage and add diagrams-gtk dependency. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
37340ed4fe Add GUI skeleton based on gi-gtk-declarative. 2020-08-09 15:49:26 -07:00
Robbie Gleichman
9817343f35 Switch to Apache-2.0 license. 2020-06-13 15:55:40 -07:00
Robbie Gleichman
2ddb5c8a09 Make constants for input and result port numbers. 2019-03-28 23:50:07 -07:00
Robbie Gleichman
d39e00e7a1 Move helper functions from Translate to SimplifySyntax. 2018-12-09 21:04:58 -08:00
Robbie Gleichman
17f1679015 Fix warnings. 2018-11-04 22:54:17 -08:00
Robbie Gleichman
4b99c862a7 Update stackage. Replace (NodeName, Icon) with NamedIcon. 2018-10-28 00:25:31 -07:00
Robbie Gleichman
71f6d55df3 Use customRenderSVG in Main.hs. Change font to monospace. Use optparse-applicative for Main. 2017-01-04 01:22:08 -08:00
Robbie Gleichman
69589f7d24 Make a custom version of renderSVG that includes the xml:space=preserve attribute. This preveres whitespace in svg text. 2017-01-03 18:43:33 -08:00
Robbie Gleichman
f2fd136ac9 Move enum and negate tests into UnitTests. Update .cabal. 2016-12-14 00:30:03 -08:00
Robbie Gleichman
ebf27d4e53 Break up tests into several files. 2016-12-12 18:47:12 -08:00
Robbie Gleichman
9fd08c7432 Add test for improper pattern nesting. 2016-12-05 17:14:54 -08:00
Robbie Gleichman
7ceb5977e4 Initial work for collapseNodes using graphs. 2016-11-02 14:49:29 -07:00
Robbie Gleichman
973674054e Remove (&) and (#), add tests. 2016-05-09 23:45:37 -07:00
Robbie Gleichman
dd758a38ad Translate nested icons. Fix nested icons missing edges in GraphViz graph. 2016-04-08 23:54:59 -07:00
Robbie Gleichman
31dea15009 Move color schemes to app/DrawingColors.hs 2016-04-03 19:08:43 -07:00
Robbie Gleichman
ea99c9bfe4 Extract types and functions that do not use Language.Haskell.Exts into TranslateCore. 2016-02-26 22:58:49 -08:00
Robbie Gleichman
6cda91bbb1 Use State monad for unique ids. 2016-02-05 21:07:06 -08:00
Robbie Gleichman
d3b38bb491 Upgrade to LTS-5.0, start on using haskell-src-exts to generate drawings from text. 2016-02-04 00:19:08 -08:00
Robbie Gleichman
cc058bb321 Move toNames and Edge constructors to Util.hs. 2016-01-22 18:28:55 -08:00
Robbie Gleichman
d5e0b6bf63 Add Apply0N, extract types to Types.hs, add end options to Edge type. 2016-01-20 16:48:30 -08:00
Robbie Gleichman
2ac3ee04a7 clean up 2016-01-08 21:52:41 -08:00
Robbie Gleichman
ca1caa96b2 Clean up graphviz stuff. 2016-01-08 02:15:37 -08:00
Robbie Gleichman
0f3c0cf2de Upgrade to lts-4.0. Test using diagrams-graphviz for layout. 2016-01-07 17:03:04 -08:00
Robbie Gleichman
95aebaccdc Initial commit 2016-01-04 17:18:42 -08:00