Git Product home page Git Product logo

shgui's Introduction

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!

shgui's People

Contributors

mrsinho avatar

Watchers

 avatar

shgui's Issues

Build on laptop stutters and memory seems to be invalid

It builds successfully without warnings.
Although the shvulkan-scene example runs successfully, when running the shgui-example I get a stuttering surface. It could be an error with the shgui vulkan implementation, or some invalid memory being read.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.