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
andraygui.cpp
. The raygui.cpp file contains the implementation of the functions, while theraygui.h
file contains the declarations. This is done to avoid the multiple definition of the same functions when linking the raygui library with raylib.
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)
- Button (header, source)
- CheckBox (header, source)
- ColorBarAlpha (header, source)
- ColorBarHue (header, source)
- ColorPanel (header, source)
- ColorPicker (header, source)
- ComboBox (header, source)
- DropdownBox (header, source)
- DummyRec (header, source)
- Globals (header, source)
- Grid (header, source)
- GroupBox (header, source)
- Label (header, source)
- LabelButton (header, source)
- Line (header, source)
- ListView (header, source)
- ListViewEx (header, source)
- MessageBox (header, source)
- Panel (header, source)
- ProgressBar (header, source)
- ScrollPanel (header, source)
- Slider (header, source)
- SliderBar (header, source)
- Spinner (header, source)
- StatusBar (header, source)
- TabBar (header, source)
- TextBox (header, source)
- TextInputBox (header, source)
- Toggle (header, source)
- ToggleGroup (header, source)
- ValueBox (header, source)
- WindowBox (header, source)
For more information about raygui, visit the official raygui repository.
Raygui-cpp is licensed under zlib/libpng license, same as raygui. See LICENSE.txt for more information.
Raygui-cpp is developed by: