Commit Graph

16 Commits

Author SHA1 Message Date
Keavon Chambers cbb4feba45 Remove Charcoal references from the code for now 2022-01-12 03:56:28 -08:00
Keavon Chambers e75714330c Implement anchor and handle point rendering with the Path Tool (#353)
* Implement Path Tool

* Draw a red rectangle where the first point on the shape is

* Correctly render anchors, handles, and connecting lines

* Fix drain() which can panic

* Refactor frontend messages to work as return values not callbacks

* Reduce the number of unnecessary frontend updates

* Fix stack overflow by using a loop

* Group Document Render calls and put them at the end

* Speed hacks for dirtification

* Add performance

* Bunch folder changed updates

* Add triggers to redraw overlays to movement_handler

* Polish the pixel-perfect rendering of vector manipulators

* Restore scrollbars that were disabled

* Cleanup

* WIP Add shape outline rendering

* Fix compiling

* Add outlines to selected shapes

* Fix outlines rendering over handles and anchors

* Fix dirtification

* Add a comment

* Address code review feedback

* Formatting

* Small tweaks

Co-authored-by: Oliver Davies <oliver@psyfer.io>
Co-authored-by: Dennis Kobert <dennis@kobert.dev>
2021-08-29 00:10:54 -07:00
Keavon Chambers 53ad105f57 Restructure project directories (#333)
`/client/web` -> `/frontend`
`/client/cli` -> *delete for now*
`/client/native` -> *delete for now*
`/core/editor` -> `/editor`
`/core/document` -> `/graphene`
`/core/renderer` -> `/charcoal`
`/core/proc-macro` -> `/proc-macros` *(now plural)*
2021-08-07 05:17:18 -07:00
Keavon Chambers 67131a23fd Remove CLI client stub 2021-07-15 03:44:57 -07:00
ProTheory8 4992bdee0e Add Active Tool Router (#58)
* Add Active Tool Router

* Remove commented out import
2021-04-01 21:10:28 +05:00
Keavon Chambers 7a9be14a10 Rename more of the project structure. Fixes #39. 2021-03-22 11:49:17 -07:00
ProTheory8 a8a9e15a4a Make it compile (#37)
* Fix indentation

* Set the correct name of the crate in root Cargo.toml

* Fix all compile errors
2021-03-22 21:42:14 +05:00
TrueDoctor d254916430 Define the js wasm-editor interface (#31) 2021-03-21 19:32:56 +01:00
ProTheory8 17a1043d07 Add init function to wasm-bindings crate and update dependencies (#33) 2021-03-19 22:57:18 +05:00
Keavon Chambers e21bca41c6 Shelve GUI system, set up new Rust project structure 2021-02-14 17:57:17 -08:00
Keavon Chambers 642c7ffd00 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