Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 1.24 KB

README.md

File metadata and controls

66 lines (45 loc) · 1.24 KB

Purpur-Fetthenne Imgui Theme

This is a dark, purple theme for Dear Imgui.

Screenshot

Building

  1. Get Dear Imgui
  2. Get GLFW
  3. Update CMakeLists file.
  4. Get Roboto font.
  5. Build and run Purp.

Get Dear Imgui

$ git clone https:/ocornut/imgui

Get GLFW

You can either install the libraries or download the source. If you download the source you also need to build the library.

Install Libraries

$ sudo apt install libglfw3 libglfw3-dev

Or Build GLFW

$ git clone [email protected]:glfw/glfw.git

Follow these steps to compile.

Update CMakeLists File

Update the paths in the CMakeLists file for gl3w and imgui. GL3W is included with Dear Imgui.

Get Roboto Font

$ mkdir roboto
$ cd roboto
$ wget https:/google/roboto/releases/download/v2.138/roboto-android.zip
$ unzup roboto-android.zip

Run from Project Root

You must run from the project root so that the code can find the Roboto Font. You could also modify the path to the font in the code.

$ mkdir build
$ cd build
$ cmake -GNinja ..
$ ninja
$ cd ..
$ ./build/imgui-theme