Skip to content

A Solution for Retained Mode GUI in CPP (CXX) Game Development.

License

Notifications You must be signed in to change notification settings

ChivenZhang/OpenUI

Repository files navigation

描述文字

Description

A retained mode GUI solution for c++ game development.

auto vbox = UINew<UIVBox>();
context->addElement(vbox);
vbox->setFixedSize(200, 200);

auto button = UINew<UIButton>();
vbox->addElement(button);
button->setText("button");
...

Features

  • 支持单窗口的控件树机制
  • 支持控件的样式+行为定制
  • 支持常用的控件+布局
  • 支持跨平台的事件处理
  • 支持跨平台的渲染后端
  • 支持控件动画能力
  • 支持跨平台计量单位(rem)
  • 支持动态字体特效
  • 支持三维场景控件能力
  • 支持单窗口之间的拖拽事件

Works to do

  • 顶层接口设计
  • 控件布局计算
  • 字体布局排版
  • 外部事件处理
  • OpenGL渲染后端
  • 三维控件框架

How to install

  • Add "VCPKG_ROOT_CUSTOM" to environment.
  • Run VCPKG in the project directory.
  • Use CMAKE to open CMakeLists.txt and build it.
  • See "Sample/main.cpp" for more details.

Presentation

描述文字

兴趣讨论QQ群:1006760893

About

A Solution for Retained Mode GUI in CPP (CXX) Game Development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages