1
0
Fork
You've already forked RoofNut
0
Cross plattform GUI framework written in C.
  • C 99.8%
  • CMake 0.1%
Find a file
Wickslynx c0dc008128
Fix.
2025年02月23日 21:20:43 +01:00
.github/workflows !Testing! 2025年02月05日 10:07:03 +01:00
docs Fixed alot of stuff in the vulkan version, added error messages. 2025年02月05日 07:40:49 +00:00
include ADWa 2025年02月23日 14:28:11 +01:00
install aWD 2025年02月23日 14:29:42 +01:00
src Fix. 2025年02月23日 21:20:43 +01:00
.gitignore Added missing dot. 2025年01月29日 12:06:58 +01:00
install.sh Added automatic installation of dependencies? 2025年02月06日 12:56:36 +01:00
LICENSE.txt Rename license. 2025年01月29日 12:26:12 +01:00
README.md Fixed spelling errors. 2025年02月07日 10:16:33 +01:00

RoofNut

Version 1.24

RoofNut is a lightweight GUI framework inspired by Walnut, using GLFW and Vulkan or OPENGL for rendering, and Nuklear for the GUI. It's an evolving library designed for high performance with a customizable, immediate-mode interface.

Features:

Built on GLFW and Vulkan for efficient rendering. Uses Nuklear for immediate-mode GUI. OpenGL support. (1.12) Uses stb_image to load images. (Only OpenGL version, vulkan version still in development)

Getting Started:

1. Install dependencies: Run this command to install required libraries automatically:

-NOTE- The only command that has been proven to work from testing is the Debian command. The commands for the other distros might not work as expected.

For Debian-based systems: * sudo apt-get install libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxkbcommon-dev libwayland-dev *

For Fedora-based systems (DNF): * sudo dnf install libX11-devel libXrandr-devel libXinerama-devel libXcursor-devel glfw-devel vulkan-loader-devel libXi-devel *

For Arch-based systems: * sudo pacman -S libx11 libxrandr libxinerama libxcursor glfw-x11 vulkan-loader libxi *

2. Compile and build your application using RoofNut. Build your application using ./install.sh, include <roofnut.h> and you are all set.

Alternative way, If your project has a cmake list you can use the command: add_subdirectory({path-to-roofnut}/RoofNut/install/CMakeLists.txt)

Compile command: g++ path-to-your-file -o -your-executables-name- -lRoofNut -lGLEW -lGL

g++ docs/examples/example.c - o main -lRoofNut -lGL -lvulkan

Please see the docs folder for further explanation and examples

Examples:

How many lines of code do you think this application took? I made this application with around 180 lines of code.

Uhhh ooo, Error! Please contanct me.

Current Issues:

1. Image rendering (vulkan), Images is not supported in the vulkan version". (Abandoned, as of lack of driver support)

2. Alot of bugs (OpenGL) , there is alot of bugs that i havent noticed yet, would need someone to test it. (Worked on.)

3. Additonal debugging needed (vulkan) , (Wickslynx) can't test the vulkan version as my drivers are outdated. Hence why i added OpenGL support. (Worked on)

4. Built in GLEW support (OpenGL) , i can't get the compiler to reqonise the built in GLEW library.. Abandoned as of now...

Support:

Please email me on Wickslynx@yahoo.com I will respond as soon as possible, updates come regularly. I'm aiming to drop weekly releases with changes and performace updates, and big updates each month.

RoofNut is still in development!