MrSinho / shgui

A C immediate mode GUI library for Vulkan applications.

Home Page:https://mrsinho.github.io/shgui-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shgui

[TOC]

Overview

shgui is a very simple and lightweight ui system for Vulkan applications written completely in C.

It is designed to facilitate the creation and management of basic graphical user interface elements in applications. It offers a straightforward set of functions and structures to simplify GUI development within Vulkan-based projects.

Available widgets

Developers can use the shgui library to quickly incorporate basic gui elements, such as text rendering, into their c-based applications. It simplifies the process of displaying windows, characters and text on graphical surfaces, making it ideal for projects requiring simple user interface components without complex dependencies.

Widget Rendering "Features"
region Batch Fill color, edge color, absolute (pixel) position and relative position
text Batch Pixel rendering, fill color, font included in header, absolute position

Feel free to check out the demo to get a better understanding. You're welcome to explore the demo by visiting the Related pages section.

To do

  • UI text and regions in 3d, custom function shGuiTextInSpace (update shgui)
  • Input system for custom in-app terminal
  • Cheat sheet page

Build from source

cd shgui
mkdir build
cd build
cmake .. -DSH_GUI_BUILD_EXAMPLE=ON
cmake --build .

Binaries and output

The compiled binaries can be conveniently found in the bin directory.

Contributing and support

Should you encounter any issues with the library and tools or wish to introduce new features, I welcome your contributions to the repository. You can contribute by either opening an issue or submitting a pull request.

Should you find value in the provided resources or have enjoyed using the project, your support in the form of a tip would be greatly appreciated. It goes a long way in sustaining and enhancing the development efforts. Thank you for considering!

About

A C immediate mode GUI library for Vulkan applications.

https://mrsinho.github.io/shgui-docs/

License:GNU General Public License v3.0


Languages

Language:C 95.4%Language:CMake 2.7%Language:GLSL 1.6%Language:Shell 0.2%Language:Batchfile 0.1%