- Apr 10, 2024
-
-
sam edelsten authored
-
sam edelsten authored
-
- Apr 09, 2024
-
-
sam edelsten authored
need to get my numbers right but the implementation is doing at least something again
-
- Mar 20, 2024
-
-
sam edelsten authored
* barely got text entry working again * remove local optimizations i should really put them somewhere else on my machine * delete most stuff to get the basics nearly working * editable text lots of cloning but seems to be the only way if buffers are in the ECS editor widgets don't relayout when edited, but when unfocused the buffer does * fix backspace on native and make basic_ui wasm editable * fix mid-edit layout * reimplement text cursor blinking uhoh it's looking like im using the not a starting point pr as a starting point lol * update `basic_sprite` example adds a util crate for common example systems also removes history tracking structs * `image_background`+`bevy_api_testing` examples MV `bevy_api_testing.rs` > `sprite_and_ui_clickable.rs` * remove `CosmicText` in favor of buffer functions simplifys API and mirrors Bevy's Text functions more closely * strip autoheight + example, update other examples * fix wasm compilation * clippy * fix text * fix clippy * fix wasm * fix import * add changelog * fix mouse cursor hover on sprite widget * fix editor cursor location when edited * fix blank widget when focused on startup * configurable cursor/selection colors * run layout functions when needed * fix ui widget mouse cursor * fix scale change --------- Co-authored-by:
Dima <Dmytro.Rets@Gamesys.co.uk> Co-authored-by:
StaffEngineer <velo.app1@gmail.com>
-
- Mar 05, 2024
-
-
sam edelsten authored
* migrate to bevy 0.13 * Update readme.md * bump version * bump version correctly lol * cargo clippy * Update config.toml
-
- Dec 27, 2023
-
-
Dima authored
-
- Nov 10, 2023
-
-
sam edelsten authored
fix didnt work, no need to keep the over complicated function
-
sam edelsten authored
i need a higher pixel count to be sure
-
- Nov 09, 2023
-
-
sam edelsten authored
-
- Nov 02, 2023
-
-
sam authored
* add TODOs * separate CosmicEdit from display breaks loads of stuff: sizing, click functions, cursor hovering just a few Only tested on login example not optimized; spams handle weak clones to ensure got correct handle (will be fixed by new handle swapping routine) not sure about the API changes but might just need to get used to it, is much more extensible * break render function apart centered padding now broken, not tested other text positions * reshape earlier in render to fix padding issue * move image creation to own system * resize internal sprite to computed UI size * prevent panic on zero size UI elements * clicks + editor-display one-to-many relationships * add render systemset * fix hoverable invisible sprites * update examples * fix auto-height bugs * clippy
-
- Oct 30, 2023
-
-
sam authored
* rework placeholders to use single editor * add default placeholder color * move placeholder systems out of main render * explicit ordering for password/placeholder systems
-
- Oct 27, 2023
-
-
sam edelsten authored
-
sam edelsten authored
-
sam edelsten authored
-
- Oct 26, 2023
-
-
sam edelsten authored
-
sam edelsten authored
-
sam edelsten authored
unicode chars are buggy in this commit
-
sam edelsten authored
-
- Oct 25, 2023
-
-
sam edelsten authored
-
sam edelsten authored
i do not like the online merge conflict editor
-
sam edelsten authored
-
sam edelsten authored
adds bullet (U+2022) to font subset replaces rendered text with bullets in password fields - selection in password widgets is buggy
-
- Oct 24, 2023
-
-
sam authored
-
sam edelsten authored
adds a `CosmicCanvas` component to hold the image cosmic draws to. allows easier interop between UI and Sprite widgets Each type of widget now uses a single `CosmicEditBundle`, adding widget specific components with `.insert()` or as tuples.
-
- Oct 13, 2023
-
-
sam edelsten authored
-
- Oct 12, 2023
-
-
sam edelsten authored
-
sam edelsten authored
Merged redraw and redraw_ui into a single function, in order to make placeholder and password code easier Moved most of redraw_common into main redraw function, having type wrangling issues with the image replace function
-