Commit Graph

  • 4a4fd9728a
    Add link to Only1Loatheb's fork in README. main Robbie Gleichman 2022-03-20 13:40:39 -0700
  • 6706abc003 Update Stackage and comment out glance-gui build target. Robbie Gleichman 2022-03-20 13:30:34 -0700
  • 685abb04a2 Reformat long lines. Robbie Gleichman 2021-01-03 17:02:16 -0800
  • 5361e033fc Use a Set to represent an edge. Robbie Gleichman 2020-12-31 22:22:26 -0800
  • 70f34a3d86 Use backspace to delete text. Robbie Gleichman 2020-12-31 21:05:27 -0800
  • 0b3efb0262 Update stackage, fix warnings and format some app files with Ormolu. Robbie Gleichman 2020-12-25 22:35:24 -0800
  • a6a9fb988c Create label text with keyboard. Robbie Gleichman 2020-12-25 01:39:37 -0800
  • 33280502f2 Pan with wasd. Make low frame rates red. Robbie Gleichman 2020-12-22 20:59:33 -0800
  • 4658494972 Scale based on mouse position. Robbie Gleichman 2020-12-18 21:01:46 -0800
  • 2c23a5be12 Extract out GTK/GDK code into GtkGui.hs. Put everything else in GuiInternals.hs. Robbie Gleichman 2020-12-18 15:49:09 -0800
  • 0eacdab3bd Draw edges between ports. Robbie Gleichman 2020-12-12 01:21:34 -0800
  • 683c3f23e2 Connect nodes with edges. Robbie Gleichman 2020-12-09 23:53:59 -0800
  • bbd2a73eed Add ability to draw edges. Robbie Gleichman 2020-12-08 21:06:17 -0800
  • d2880e8279 Add NodeType and use it to only move node when white rectangle clicked. Robbie Gleichman 2020-12-07 23:08:53 -0800
  • c124aa27ef Press space to pan. Robbie Gleichman 2020-12-06 02:06:35 -0800
  • f86a90f9d9 Use a Transform for zooming. Robbie Gleichman 2020-11-29 22:56:28 -0800
  • 739c1dfaf7 Fix zooming. Fixes #13. Robbie Gleichman 2020-11-27 20:58:15 -0800
  • e7c3c2ff4c Hook up scroll wheel zoom. Robbie Gleichman 2020-11-27 19:39:53 -0800
  • c5528b9e4c Add zoom factor. Robbie Gleichman 2020-11-14 23:22:05 -0800
  • 59bf88103e Update to GHC 8.8.4, lts-16.18. Robbie Gleichman 2020-10-11 23:29:34 -0700
  • 76f6c04964 Remove some usages of overloaded labels from gui/Main.hs. Robbie Gleichman 2020-10-11 22:22:00 -0700
  • f13a9d1e99 Emacs style undo. Fixes #12. Robbie Gleichman 2020-10-05 02:01:59 -0700
  • 6c7b1f1b81
    Add link to YouTube channel to README Robbie Gleichman 2020-09-20 23:14:33 -0700
  • 5cdfd12892 Issue #12: Use global IDs that are unique for the entire duration of the program. Robbie Gleichman 2020-09-20 22:13:34 -0700
  • 064aff1138 Implement undo for adding nodes. (Issue #12) Robbie Gleichman 2020-09-19 21:40:22 -0700
  • 4bfbb4736a Remove refactor GUI todo. Robbie Gleichman 2020-09-19 20:16:33 -0700
  • 8eaf861016 Update todo. Robbie Gleichman 2020-09-19 20:08:11 -0700
  • e55a2688ee Minor changes in gui/Main.hs. Robbie Gleichman 2020-09-15 23:16:44 -0700
  • 5ed0c88e78 Use Gdk.EVENT_STOP instead of True. Robbie Gleichman 2020-09-13 22:22:43 -0700
  • 9196bc6224 Modify stateRef once instead of twice in timeoutCallback. Robbie Gleichman 2020-09-13 21:41:38 -0700
  • 98e5133e85 Make function to add an event to the event queue, and remove mouse button from ClickOnNode. Robbie Gleichman 2020-09-13 21:17:53 -0700
  • 007ea43f03 Use elementwiseOp and Data.Tuple.Extra.both in updateState. Robbie Gleichman 2020-09-13 21:03:51 -0700
  • 08dde11840 Refactor mouse events. Robbie Gleichman 2020-09-13 04:54:17 -0700
  • b31e721b3f Fix crash from unknown mouse buttons. Robbie Gleichman 2020-09-13 04:00:23 -0700
  • a360b54cba Refoctor gui/Main.hs. Robbie Gleichman 2020-09-06 20:31:07 -0700
  • 0dbbab316a Use an Enum for the mouse buttons. Robbie Gleichman 2020-09-04 22:49:03 -0700
  • 276d445f97 Update todo.md. Robbie Gleichman 2020-09-04 22:04:37 -0700
  • 2aacd40cac Remove commented out line. Robbie Gleichman 2020-09-04 21:40:43 -0700
  • bf9434f5e0 Minor refactors and fix use of deprecated functions in gui/Main.hs. Robbie Gleichman 2020-08-31 21:51:00 -0700
  • 73abde9869 Add comment to gui/Main.hs that it's formatted with Ormolu. Robbie Gleichman 2020-08-31 01:30:06 -0700
  • 96d7a367bf Format gui/Main.hs with Ormolu. Robbie Gleichman 2020-08-31 01:27:54 -0700
  • 896fa34009 Minor code fixes. Robbie Gleichman 2020-08-23 16:34:13 -0700
  • 15dc0367af Create InputEvents queue Daniel Garcia 2020-08-23 18:23:19 -0500
  • 41a38aff33 Add newtype ElemId Daniel Garcia 2020-08-23 17:20:57 -0500
  • 8ed6cac6c1 Create InputEvents queue Daniel Garcia 2020-08-23 18:23:19 -0500
  • 27017542c4 Add newtype ElemId Daniel Garcia 2020-08-23 17:20:57 -0500
  • fe31307995 Split node in half. Add struct for input events. Robbie Gleichman 2020-08-23 15:02:39 -0700
  • e809724dad Fix Inputs struct field names. Robbie Gleichman 2020-08-23 14:57:41 -0700
  • 2a05dbee3f Show the node ID. Robbie Gleichman 2020-08-23 14:34:20 -0700
  • 6f00d11ccb Add hie.yaml and update Stack to GHC 8.8.3. Robbie Gleichman 2020-08-23 14:10:55 -0700
  • b715173710 Refactor out function for updating FPS. Robbie Gleichman 2020-08-09 16:08:09 -0700
  • 648891aded Extract timeoutCallback function Daniel Garcia 2020-08-09 17:42:55 -0500
  • a60e1f6507 Extract mousePosition & time from appState Daniel Garcia 2020-08-09 17:23:06 -0500
  • 6fe9c112d4 Toggle _asMovingNode when clicked Daniel Garcia 2020-08-09 17:03:20 -0500
  • 6d22e87061 Drag node at the middle Daniel Garcia 2020-08-09 16:57:57 -0500
  • 835e077e23 Fix hlint warnings. Robbie Gleichman 2020-08-09 14:42:37 -0700
  • cbf4f36ee5 Move the _asMovingNode to the mouse position. Robbie Gleichman 2020-08-09 14:33:04 -0700
  • fbbbd52143 Rename state IO ref to stateRef. Robbie Gleichman 2020-08-09 14:19:59 -0700
  • cd183b8ba4 Add dummy updateState function. Robbie Gleichman 2020-08-09 14:17:17 -0700
  • 9fd3203c10 Move findElementsByPosition Robbie Gleichman 2020-08-09 14:08:56 -0700
  • f58cebe4cd Add comment that z is unused and fix warning. Robbie Gleichman 2020-08-09 14:03:57 -0700
  • ed36330f5c Print elementId when left clicked (#7) Daniel Garcia 2020-08-02 18:07:36 -0500
  • 00309dcc9c Add FPS counter. Robbie Gleichman 2020-08-02 14:23:26 -0700
  • 373e913119 Draw node with Cairo (#6) Daniel Garcia 2020-07-19 18:16:03 -0500
  • 7f55169766 Put code in gui/Main.hs. Use Cairo for graphics. Robbie Gleichman 2020-07-19 15:07:47 -0700
  • 42eafa4ba6 Add ListBox of InBtn, MoveBtn & OutBtn Daniel Garcia 2020-07-12 17:33:47 -0500
  • 187e9b6f4e Add Cairo drawing to Drag.hs. Make GtkPerfTest to demonstrate Gtk performance issues. Robbie Gleichman 2020-07-12 14:34:43 -0700
  • 3d9941bf98 Add Cairo example from haskell-gi. Robbie Gleichman 2020-07-05 14:20:58 -0700
  • 41ffa180f0 In the GUI, Nodes are created by right clicking. Nodes can can be moved by left clicking on them. Robbie Gleichman 2020-07-02 21:02:20 -0700
  • bef1635245 Use motionNotifyEvent on the Layout for Drag.hs. Robbie Gleichman 2020-06-29 04:39:45 -0700
  • 121004d73e Add Drag.hs. Robbie Gleichman 2020-06-28 14:22:35 -0700
  • 9e56476112 GUI mouse experiment. Robbie Gleichman 2020-06-21 18:50:17 -0700
  • 501eb8a360 Revert "Update stackage and add diagrams-gtk dependency." Robbie Gleichman 2020-06-21 15:55:51 -0700
  • 369df60e77 Update stackage and add diagrams-gtk dependency. Robbie Gleichman 2020-06-21 14:30:35 -0700
  • 37340ed4fe Add GUI skeleton based on gi-gtk-declarative. Robbie Gleichman 2020-06-11 00:17:50 -0700
  • 6194cb9c6a Extract timeoutCallback function Daniel Garcia 2020-08-09 17:42:55 -0500
  • ea67d5a7f0 Extract mousePosition & time from appState Daniel Garcia 2020-08-09 17:23:06 -0500
  • 6452458088 Toggle _asMovingNode when clicked Daniel Garcia 2020-08-09 17:03:20 -0500
  • 5a0e602ab8 Drag node at the middle Daniel Garcia 2020-08-09 16:57:57 -0500
  • 34e5508e62 Extract timeoutCallback function Daniel Garcia 2020-08-09 17:42:55 -0500
  • 4a89e7b78c Extract mousePosition & time from appState Daniel Garcia 2020-08-09 17:23:06 -0500
  • aee05aeb7b Toggle _asMovingNode when clicked Daniel Garcia 2020-08-09 17:03:20 -0500
  • 7186d6d157 Drag node at the middle Daniel Garcia 2020-08-09 16:57:57 -0500
  • 1faf77d8a7 Fix hlint warnings. Robbie Gleichman 2020-08-09 14:42:37 -0700
  • d74a40f235 Move the _asMovingNode to the mouse position. Robbie Gleichman 2020-08-09 14:33:04 -0700
  • cabc25839f Rename state IO ref to stateRef. Robbie Gleichman 2020-08-09 14:19:59 -0700
  • 8fcd96a30c Add dummy updateState function. Robbie Gleichman 2020-08-09 14:17:17 -0700
  • 523aab047a Move findElementsByPosition Robbie Gleichman 2020-08-09 14:08:56 -0700
  • a412fec7f7 Add comment that z is unused and fix warning. Robbie Gleichman 2020-08-09 14:03:57 -0700
  • 4a6d95a748
    Print elementId when left clicked (#7) Daniel Garcia 2020-08-02 18:07:36 -0500
  • d1295157f1 Print elementId when left clicked Daniel Garcia 2020-08-02 18:04:41 -0500
  • 50d9c2e543 Add FPS counter. Robbie Gleichman 2020-08-02 14:23:26 -0700
  • 49964e0b26
    Draw node with Cairo (#6) Daniel Garcia 2020-07-19 18:16:03 -0500
  • 6b5430d937 Create nodes with cairo. Get mouse position with gdk Daniel Garcia 2020-07-19 18:12:58 -0500
  • f2b5c6d773 Delete Drag.hs Daniel Garcia 2020-07-19 17:16:52 -0500
  • 7dd3043b8a Merge upstream Daniel Garcia 2020-07-19 17:15:02 -0500
  • 59ee011e8f Put code in gui/Main.hs. Use Cairo for graphics. Robbie Gleichman 2020-07-19 15:07:47 -0700
  • a4a7e6d3d8 Add ListBox of InBtn, MoveBtn & OutBtn Daniel Garcia 2020-07-12 17:33:47 -0500
  • 9acfc5941f Add ListBox of InBtn, MoveBtn & OutBtn Daniel Garcia 2020-07-12 17:33:47 -0500
  • 26d18e020e Add Cairo drawing to Drag.hs. Make GtkPerfTest to demonstrate Gtk performance issues. Robbie Gleichman 2020-07-12 14:34:43 -0700