Giter Site home page Giter Site logo

raygui-cpp's Introduction

raygui_cpp_256x256.png

Raygui-cpp

Raygui-cpp is a C++ wrapper for raygui library. Raygui was originally written in C, but this wrapper allows you to use it in C++ projects.

NOTES:

  • This is a work in progress. Some functions are not yet implemented.
  • To ease the integration between raylib and raygui, the raygui.h file has been divided in two files: raygui.h and raygui.cpp. The raygui.cpp file contains the implementation of the functions, while the raygui.h file contains the declarations. This is done to avoid the multiple definition of the same functions when linking the raygui library with raylib.

Usage

To use raygui-cpp in your project, you need to download the source code and add it to your project. Add the folder containing the source code to your include path and add the next configuration to your CMakeLists.txt file:

add_subdirectory(<path_to_raygui_cpp_folder>)
target_link_libraries(<your_target> raygui_cpp)

Implementation todo list

More info

For more information about raygui, visit the official raygui repository.

License

Raygui-cpp is licensed under zlib/libpng license, same as raygui. See LICENSE.txt for more information.

Author

Raygui-cpp is developed by:

raygui-cpp's People

Contributors

scastd avatar

Stargazers

 avatar  avatar mathis avatar  avatar  avatar  avatar Li Shang avatar  avatar

Watchers

 avatar

raygui-cpp's Issues

Very cool!

Nice work putting this together. Glad to see more helpful integrations with raylib pop up.

Is it possible to have some children to each component?

// Initialize the GUI
WindowBox window("Hello");
Button button("Launch");
window.add(button);

// Render
window.Show()

.... And have it display the button in the window?

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.