Commit Graph

19 Commits

Author SHA1 Message Date
T0mstone
5f565aeb74 Add proc macros for Hint and edge (#63)
* Add proc-macro crate with two macros

* Let cargo recalculate the Cargo.lock

* Add tests and refactor some code to allow testing

also the impl for parse_hint_helper_attrs now preserves order
(which is essential for testing)
2021-04-07 13:51:33 +02:00
George Atkinson
b88c246c87 Add FSM and related tool plumbing (Fix #54) (#62)
- Added FSM trait
- Added FSM to select and ellipse tools
- Moved circle stamping code to ellipse tool
2021-04-05 15:57:33 -07:00
TrueDoctor
593572a4e8 Add loging implementation for wasm (#56) 2021-03-30 18:48:32 +02:00
T0mstone
94f50377a3 Implement basic circle stamping (#53) 2021-03-29 01:44:34 +02:00
T0mstone
c437f1bd22 Add plumbing for event system (#52)
* Add plumbing for event system

* Apply review suggestions

* Add swap and reset color functions
2021-03-28 23:39:33 +02:00
ProTheory8
fde5f7e21f Add metadata (#45)
* Add wasm-pack metadata
* Add Wasm tests directory
* Add basic Cargo manifest metadata
* Make web frontend unpublishable to npm
2021-03-27 11:16:05 +01:00
Keavon Chambers
7323d3cd21 Remove WebPack and let Vue CLI handle WASM. Project restructuring fixes. Add Vue SVG Loader. Fixes #29. 2021-03-27 02:26:55 -07:00
TrueDoctor
eb2255149a Define the js wasm-editor interface (#31) 2021-03-27 02:26:55 -07:00
TrueDoctor
b3933f30bc Add graphite-editor library skeleton (#34) 2021-03-27 02:26:55 -07:00
ProTheory8
018708791d Add init function to wasm-bindings crate and update dependencies (#33) 2021-03-27 02:26:54 -07:00
Keavon Chambers
df39091107 Add WASM bindings and web project structure 2021-03-27 02:26:54 -07:00
Keavon Chambers
bca97cbeff Shelve GUI system, set up new Rust project structure 2021-03-27 02:26:49 -07:00
Keavon Chambers
35ff5f55ea Add rustfmt.toml and enable auto formatting (Fixes #7) 2021-03-27 01:20:51 -07:00
Keavon Chambers
c0e092f726 Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1) 2020-07-11 19:01:48 -07:00
Keavon Chambers
0c7e6bc883 Implement abstract syntax tree parsing of XML layout 2020-05-27 04:08:52 -07:00
Keavon Chambers
f8025b15ea Add parsing of XML layout files into a ParsedLayoutNode tree 2020-05-25 22:08:27 -07:00
Keavon Chambers
a9859b4bb4 Refactor to generalize pipeline drawing sequence 2020-05-23 12:36:47 -07:00
Keavon Chambers
323a951362 Update wgpu from 0.4 to 0.5 (currently it's not rendering) 2020-05-02 14:44:28 -07:00
Keavon Chambers
b30ee294a6 Window with textured polygon 2020-04-26 00:28:13 -07:00