Commit Graph

32 Commits

Author SHA1 Message Date
mars 9920fea900 Better ID handling in Font + TextLayout 2022-12-05 19:59:46 -07:00
mars 9d4d5cca91 Merge branch 'main' into script-to-host-messages 2022-11-20 00:15:36 -07:00
mars 2aadd0d57a Make Color alpha functions const 2022-11-18 12:43:10 -07:00
mars 0cc55b80a8 Add panel_send_message script API 2022-11-16 21:10:14 -07:00
mars f8f59cb265 Refactor script crate to use bind_panel function w/ protocol name instead of trait 2022-11-16 19:27:27 -07:00
mars 69318a02e5 Fix rounded corner drawing 2022-11-05 16:08:07 -06:00
mars eb32163b24 Fix Rect coordinate space 2022-11-05 15:00:51 -06:00
mars 681b884b74 Add Color::lerp() 2022-11-05 14:25:59 -06:00
mars 325a85eb39 Unlock abi from wasm32 OS for the sake of LSP 2022-11-03 17:53:04 -06:00
mars 47f0894cbd Add DrawContext::draw_indexed() 2022-11-03 17:52:32 -06:00
lilith 4b2396d137 Initial on_resize() implementation 2022-11-03 00:37:18 -04:00
mars 70a4d5b49b Only enable canary-script api module on wasm32 2022-11-02 15:39:32 -06:00
mars 0fc2f0b76c Merge canary-types into canary-script and update all dependents 2022-11-01 03:08:57 -06:00
mars 25e60c683b Change color from RGBAF32 to RGBA8 2022-10-19 22:56:06 -06:00
Emma Tebibyte 4173e75b81 removed license-file fields 2022-10-14 00:09:34 -04:00
mars 4b551b1bc6 Add license info to all source files 2022-10-07 15:52:35 -06:00
Emma Tebibyte 9a5dd093ef added spdx license identifiers to cargo tomls 2022-09-29 15:07:01 -04:00
Emma Tebibyte 35c004c5bf added licenses 2022-09-29 14:52:02 -04:00
mars 237ef96dfa Add Message and bind_panel() message 2022-08-16 18:11:56 -06:00
mars 0ccf787f99 Support multiple panels per script 2022-07-31 00:15:04 -06:00
marceline-cramer b9e6aacd45 Popup + fakeout log out button 2022-07-27 22:24:55 -06:00
marceline-cramer aa0d49b6c4 WIP flexbox-ish layout 2022-07-27 20:39:36 -06:00
marceline-cramer a6492622b6 RectButton icons 2022-07-27 00:08:10 -06:00
mars 77465dab6e Migrate SAO UI draw code to script crate 2022-07-24 01:26:57 -06:00
marceline-cramer da4fce3d19 Remove script access to TextLayout GlyphPositions 2022-07-23 02:39:34 -06:00
mars b7df68195a Add font_load() fn 2022-07-18 21:24:39 -06:00
marceline-cramer d617eaaf64 Text rendering offset + scale + color 2022-07-18 20:51:54 -06:00
marceline-cramer 43b6aca29a Temp draw_glyphs ABI 2022-07-18 17:51:33 -06:00
marceline-cramer 1feb3e9ef2 WIP text layout API 2022-07-18 17:44:42 -06:00
marceline-cramer f53c7ac4cb Remove compatibility fn UiPanel_drawTriangle() 2022-07-18 16:54:05 -06:00
marceline-cramer 0ead815fa1 Hacky but functional scripted text rendering 2022-07-18 16:49:33 -06:00
mars bf8592b5fe Initial commit 2022-07-15 15:11:35 -06:00