Skip to content
/ ui Public

🖱 user interface library top of GPU (OpenGL/Metal/Vulkan...)

License

Notifications You must be signed in to change notification settings

recp/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📐 User Interface Library top of OpenGL/Metal/Vulkan

This proejct will allow to create user interfaces without any native dependencies and restrictions. This library will use graphics libraires e.g. OpenGL/Metal/Vulkan to render UI elements.

Window itself will be native window. All other elements will be independent ot platform.

Initial Sample:

#include <ui/ui.h>

int
main(int argc, const char * argv[]) {
  UIApp          *app;
  UIWindow       *window;
  UIWindowOptions opt;

  opt.surface = kUIWindowSurfaceOpenGL;

  window = uiCreateWindow((UISize){800, 600}, &opt);
  app    = uiCreateApp(window);

  uiRunApp(app);

  return 0;
}

About

🖱 user interface library top of GPU (OpenGL/Metal/Vulkan...)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published