Add Sound, Music, FaceSet, CharSet, Generic Image (e.g. Title and Game Over) Picker#242
Add Sound, Music, FaceSet, CharSet, Generic Image (e.g. Title and Game Over) Picker#242Ghabry wants to merge 8 commits into
Conversation
The Picker is a column layout that contains: - A file list (left side) - A configuration (right side) The Viewer lists e.g. the filename and has a ... button that opens the picker For the file listing a directory model was added
Like Music/SoundPicker but for images The rendering is done through SpritePaintedItem
The Sprite Painted Item class is now more advanced and can e.g. skip cells (used by the CharSet) and play animations (also CharSet)
|
The image previews really need some default scaling with our high resolution displays nowadays, but is indeed a design problem for later. |
| property Ez.JsonView jsonData | ||
|
|
||
| onToggled: { | ||
| if (jsonData !== null && key !== "") { |
There was a problem hiding this comment.
I think I am going to setup some editorconfig checker action to find these.
There was a problem hiding this comment.
yeah also somehow messed this up in alot of cpp files. Gonna commit a fix...
…fied values in the UI layer Currently used to update the list view and the title when the name changes
|
Fixed that mess and also all compiler warnings... Also one final (small) feature: "valueChange" is now correctly signalled through the JSON. So the List View updates now when the Name is modified: (also switching between Actors is faster now, the old code did pop+push every time which flickered and had a noticable lag) Bildschirmaufnahme_20260529_221320.webm |
|
next PR will add some UX improvements. Their was enough discussion in the chat how to make a responsive design that doesn't scream mobile first too much. Maybe can also figure out how to properly scale images based on the DPI level... 🤔 |
Adds the UI components for selecting files.
This is splitted in a Viewer (displays the currently selected element) and a Picker (shows the file list and the settings).
Marked as draft as depends on #241
Some ugly UI preview (as said I fix the uglyness later, logic first, design second xD)