Commit Graph

94 Commits

Author SHA1 Message Date
Keavon Chambers 24b79d7e97 Rename various symbols and text in layout_system.rs 2020-11-01 01:44:33 -07:00
Keavon Chambers 52ba3d9b6d Refactor layout AST 2020-11-01 01:41:17 -07:00
Keavon Chambers 76b0d581ca Refactor and rename variables in abstract types definitions 2020-11-01 01:42:13 -07:00
Keavon Chambers 66add08fc3 Clarified that readme screenshots are mockups 2020-10-09 20:31:00 -07:00
Keavon Chambers a977da0adc Partial implementation of the WindowDom system 2020-09-01 14:06:47 -07:00
Keavon Chambers 3205e8d274 Layout XML text nodes are now parsed template strings instead of raw text containing {{template tags}} 2020-08-02 23:53:56 -07:00
Keavon Chambers 214c1c09ac Refactor layout system and abstract data types to separate definitions and tags 2020-08-02 21:41:01 -07:00
Keavon Chambers 5ffe92fa70 Update mockup screenshots in readme 2020-07-19 03:40:00 -07:00
Gabriel Majeri 420314d0b3 Use `f64` type in layout 2020-07-15 19:42:37 +03:00
Gabriel Majeri e8058513f3 Rename `attributes` to `user_attributes` 2020-07-15 12:10:46 +03:00
Gabriel Majeri 45ae7f4342 Store `content` as a separate field 2020-07-15 12:03:37 +03:00
Gabriel Majeri ed4931f638 Store layout attributes separately 2020-07-15 08:41:49 +03:00
Gabriel Majeri fe272a6d7c Remove unused `layout_dom_node` module 2020-07-15 08:41:35 +03:00
Keavon Chambers 3e12576b3c Add conversion from component AST to flat component with `content` attribute (resolves #3), add XML attribute parsing, fix template string attribute parsing bug 2020-07-15 01:11:52 -07:00
Keavon Chambers 00cd62d411 Implement enum for Layout data type 2020-07-13 15:01:24 -07:00
Keavon Chambers ec8f9eda54 Update readme details and mockup picture 2020-07-13 03:42:00 -07:00
Keavon Chambers 91a877e78c Rename GuiXml to Layout data type 2020-07-13 03:41:40 -07:00
Keavon Chambers 98b0dad424 Wrap main.xml in <col> 2020-07-13 03:41:24 -07:00
Keavon Chambers 848228dd45 Add rustfmt.toml and enable auto formatting (Fixes #7) 2020-07-12 16:20:28 -07:00
Keavon Chambers c49c00100e Add Apache 2 license 2020-07-12 13:58:50 -07:00
Keavon Chambers 386a823493 Rename last remaining data type to GuiXml 2020-07-12 02:46:11 -07:00
Gabriel Majeri 7918f71c1d Add docs for GUI system 2020-07-12 12:20:53 +03: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 58992ba8ad Simplification and comments for XML parser 2020-07-10 02:37:55 -07:00
Keavon Chambers ba9caf941c Create readme 2020-07-10 02:35:29 -07:00
Keavon Chambers f32f39d5a6 Rename GUI Layout to Layout System 2020-06-10 14:01:50 -07:00
Keavon Chambers 559833be8e Layout language AST building now complete with recursive parsing referenced XML files 2020-05-31 22:02:41 -07:00
Keavon Chambers 0c7e6bc883 Implement abstract syntax tree parsing of XML layout 2020-05-27 04:08:52 -07:00
Keavon Chambers decff5681b Rename ComponentLayout to GuiLayout 2020-05-25 22:45:42 -07:00
Keavon Chambers 870ce74743 Rename ParsedLayoutNode to LayoutParsedNode 2020-05-25 22:24:54 -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 474b2b39f9 Add basic layouts for XML-based GUI system 2020-05-24 21:22:16 -07:00
Keavon Chambers e72ab7b000 Draw commands are now built by a GuiNode traversing its children 2020-05-23 22:44:35 -07:00
Keavon Chambers 6e0883e9b6 Move pipeline name and bind groups to DrawCommand 2020-05-23 15:43:55 -07:00
Keavon Chambers 8fb1a703af Remove unused code 2020-05-23 12:47:36 -07:00
Keavon Chambers a9859b4bb4 Refactor to generalize pipeline drawing sequence 2020-05-23 12:36:47 -07:00
Keavon Chambers 9a60ba54fe Add bind group caching 2020-05-11 00:38:01 -07:00
Keavon Chambers 59cb448872 Caching for resources is now used instead of ignored 2020-05-04 03:01:56 -07:00
Keavon Chambers 38b36ed4c6 Code cleanup and creation of GuiTree 2020-05-03 01:34:14 -07:00
Keavon Chambers d64d4d881a Remvoe old cache implementations 2020-05-02 22:35:14 -07:00
Keavon Chambers f4900dd919 Refactor resource caches and use it with textures now 2020-05-02 22:34:23 -07:00
Keavon Chambers 2ab74f7ba1 Fix coordinate system so it renders like before wgpu upgrade 2020-05-02 17:46:34 -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