A fork of libui-ng - a portable UI library written in C, which uses the native UI of the operating system it runs on.
Like wxWidgets, but in C. And much more bare-bones.
This adds a bunch of experimental features and fixes:
- uiWindowSetIcon
- Windows HiDPI scaling
-
merged upstreamuiTabOnSelected
/uiTabSetSelected
(289) - Tooltips (266/256)
- Placeholders (224)
-
Fixmerged upstreamuiWindowSetContentSize
(261) - Fix darwin menu + modal window issues (295)
- Optional type safety with C11 generics (See
ui_safe.h
) - Code editing control
uiScintilla
(https://github.com/petabyt/libui-scintilla) - Merge in unfinished qt5 backend (https://github.com/mischnic/libui/tree/qt5)
-
uiOpenGLArea
(405) -
uiDrawBitmap
(386) - macos not supported yet - Add uiDragDestination for text and file drop. libui-ng/libui-ng#245
- OnFilesDropped
- uiScroll (WIP)
- uiImage control (209)
- uiEntryOnFinished (290)
- uiImageButton
- uiVersion API (143)
- Expose more system functions to make adding controls easier
# Compile with meson on Linux
meson setup build
meson compile -C build
# Compile with cmake on Linux
cmake -DLIBUI_COMPILE_EXAMPLES=ON -G Ninja -B build && cmake --build build
# Compile for MinGW from Linux
cmake -DCMAKE_TOOLCHAIN_FILE=extras/mingw.cmake -G Ninja -B build && cmake --build build
If any libui developer wants to work on this repo let me know and I'll add you as a maintainer.