Skip to content

IshaqZa/OpenGraphicsUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGraphicsUI

Overview:

  • Description: OpenUI is a simple light weight UI library made for OpenGL, GLFW and glad environment, designed to readuce the workload on a developer
  • Features: The project provides a foundation for a developer to be able to create their own custom UI with minimal effort
  • Technologies used:
    • Programming Language: C++
    • Graphics Library: OpenGL
    • Other supporting Libraries: GLFW, glad, GLM, stb_image
  • Credit: The VBO, VAO, EBO, Texture and Shader classes are to be attributed to learnopengl.com

Getting Started

Compiling the project (tested using MSYS2 and MinGW on windows)

  • The project can be compiled by navigating to the build directory/folder, running cmake ../ and then running make
  • The cmake file can be used as a reference for how the project is structured in case of other methods of compilation
  • The project can currently only be compiled for windows

Code Documentation

Code Structure:

UML

Working with the library:

  • The library needs to be added to the project using it, with the include file
  • Any element that will be displayed, such as a label, button, slider, etc..., needs to be extended from the MenuElement class to provide the basic funcitonality needed to create such elements
  • Any context screen, such as menus, game context, etc..., needs to be extended from the base Scene class
  • A sample game known as "Blackhole" is used as a showcase for this project (github link)
  • The main.cpp file in this project was purely for testing purposes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages