/raygui-cmake-template

This is a very bare bones raygui template to very efficiently and quickly get started working wiht raygui for c

Primary LanguageCMIT LicenseMIT

raygui-cmake-template

raylib raygui CMake License Stars

A minimal and elegant template to quickly get started with raygui for C.

Overview

This template provides a basic structure for creating applications using raylib and raygui. It includes a simple example demonstrating how to render UI elements to the screen.

Features

  • Centered text positioning
  • Example button with click handling
  • Easy to customize and extend

Style

The template comes with the 'Jungle' style pre-loaded. You can easily switch to different raygui styles by modifying the style include in the source code.

Getting Started

Prerequisites

Build Instructions

  1. Clone the repository:

    git clone https://github.com/mbn-code/raygui-cmake-template.git
    cd raygui-cmake-template
  2. Build the project:

    make
  3. Run the executable:

    ./mbn-raygui-cmake-template.exe

License

This project is licensed under the MIT License. See the LICENSE file for details.