Warning
While I would love to continue this project because I believe it still has potential, I have no plan to restart development in the near future. Thanks to everyone who have starred, used or contributed to it.
This is a cross-platform (Mac/Linux initially) C++/OpenGL UI library.
As I was looking around for options I grew tired of seeing countless projects with no attention to detail and very little customization possibilities. Most of the libraries seemed to focus on creating windows inside of windows and didn't include much widget/component options beside the bare minimum. Being able to create complex layouts with constraints was also a requirement. So this is why I started working on this project.
This is intended to be part of a future larger project so it is named according to that projet's name. I intend to make sources available as much as possible for all of the project's parts in the form of libraries like this.
The library uses:
- either GLFW or SLD2 for the window and context creation
- Skia for drawing shapes and text
- Yoga for the layout
A sample app that is used for development and demonstration is available in the example
directory.
It can be built with the rest of the library with the CMake option PSYCHIC_UI_BUILD_EXAMPLE
(ON
by default).
sudo apt install xorg-dev libjpeg-dev libturbojpeg libpng12-dev libgl1-mesa-dev libfreetype6-dev fontconfig
brew install cmake sdl2 libpng jpeg jpeg-turbo icu4c freetype
mkdir build
cd build
cmake ..
make -j"$(nproc)"