4 ms·
ImGUI Ported to a LiteX SoC
- HoppyHaus 4y agoThat's really neat! ImGUI has got to be one of the most satisfying GUI libraries to use, its fast, versatile and looks absolutely beautiful, so spreading it to even weird places is great!
- rogual 4y agoIt's an absolute joy to use. If only all libraries could be so well-made.
- Kukumber 4y agoImGUI is great, but i wouldn't call it "versatile", it's too rigid to be versatile It's too focused on desktop (mouse/kb), and you can't really theme it other than its colors and shape of the edges, doesn't support animations and you can't style the font, it's pretty basic Creating custom controls is a ton of work Then you have libraries like this: https://lvgl.io/ https://lvgl.io/ (gh: https://github.com/lvgl/lvgl https://github.com/lvgl/lvgl) That's what i call a versatile GUI library
- 2636381321 4y agoI would consider the lack of support for animations a feature, not a limitation.
- Kukumber 4y agoVersatile: "able to adapt or be adapted to many different functions or activities." I never mentioned "limitation", ImGui is great for what it is, i wouldn't use lvgl to build my engine tools, i use ImGui actually
- ogoffart 4y agoAnother one is Slint: https://github.com/slint-ui/slint https://github.com/slint-ui/slint
- flohofwoe 4y agoDear ImGui is coming out of the game dev world and is mainly intended for specialised UI tools and debugging/profiling overlays in 3D games (or generally 3D apps), and for that use case it's just perfect and fixed a longstanding problem (for gamedev inhouse tools, it essentially killed C#/WPF and Qt overnight).
- tom_ 4y agodear imgui is versatile in that it can be used in the sorts of programs that haven't traditionally been well served by existing desktop GUI libraries. (It also has a very convenient API that means you can cobble these GUIs together much more quickly than with most other libraries. So that's helpful too.) lvgl looks like something you'd use for making the UI for the actual product. dear imgui is for the debug tools that get stripped out of the version you release. It's not intended for user-facing use, so there's no significant support for anything visually interesting. (The actual appearance of the UI isn't really even all that important. It just has to be not too weird-looking.)
- buildbot 4y agoExtremely cool! LiteX is such a nice tool compared to how things used to be
- ocornut 4y agoInterestingly there are no modification of the core Dear ImGui library involved. It's using a software renderer, which have been available already e.g. that one had been optimized to run on ESP32 https://github.com/LAK132/ImDuino https://github.com/LAK132/ImDuino They are really cool/fun setup as well as being proofs of the portability of Dear ImGui but I imagine probably a little too taxing for the SoC involved. In the sense that if you were to want to use more of the SoC computational power it might feel like an unbalanced amount of resources to allocate to a GUI library (which normally expects a GPU).