phatchman
phatchman
> > So a reasonable thing to do would be to use that same division (at least for now). Sound good? Yep, makes perfect sense. I forgot about the double-click...
Hoping to get back to this list soon. I did have text run working for single line text entry / areas, but there was some issue with the multi-line ones...
Now the examples are each in their own file, we could actually show the source in the demo app itself. But I think it would need to be a proper...
I noticed that the Zig tokenizer is available in the standard library, so making a syntax highlighting code viewer was pretty easy. check out [sdl-editor.zig](https://github.com/david-vanderson/dvui/compare/main...phatchman:dvui-dev:syntax_highlighter). It is literally a dozen...
> [@phatchman](https://github.com/phatchman) could you make a separate issue about adding a very basic code viewer/editor? I actually would love to have one for very different reasons. Just like a big...
@foxnne That looks nice. Exactly the type of thing I was thinking of. > Thanks for the excellent writeup! Definitely something we need, although dvui doesn't have the concept of...
@MichaelBelousov The sizes below are for sdl3-standalone built with ReleaseSmall and stripped. Looks really good! |Enabled?|Arch|Size|Diff| |----------|-----|----|----| |N|aarch64-windows|11,640,320 | | |Y|aarch64-windows|11,847,168 | +206,848 | |N|x86_64-windows|12,200,960 | | |Y|x86_64-windows|12,416,000| +215,040| Relates...
> themeEditor is currently broken here. > > @phatchman I'm running into a problem with struct_ui that I can't figure out. We added `?dvui.Ninepatch` to `Theme`. `Ninepatch` doesn't make sense...
It is what I thought. Each member of the ImageSource union needs to be supplied with default values, even though they would never be shown. The below code fixes it....
An example demonstrating keyboard shortcuts for menus and buttons. e.g. For Windows: 1) ALT-F to open the File menu 2) Alt K for OK on modal dialogs.