Giter VIP home page Giter VIP logo

psychic-ui's Introduction

WIP

Psychic UI

Build Status

Screenshot

Roadmap

https://trello.com/b/XYz6BS9v

What is it?

This is a cross-platform (Mac/Linux initially) C++/OpenGL UI library.

Why make it?

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.

What's with the name?

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.

Architecture

The library uses:

  • either GLFW or SLD2 for the window and context creation
  • Skia for drawing shapes and text
  • Yoga for the layout

Sample App

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).

Building

Dependencies

Linux

sudo apt install xorg-dev libjpeg-dev libturbojpeg libpng12-dev libgl1-mesa-dev libfreetype6-dev fontconfig

Mac

brew install cmake sdl2 libpng jpeg jpeg-turbo icu4c freetype

Building

mkdir build
cd build
cmake ..
make -j"$(nproc)"

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.