https://github.com/eintim23/thiccmenu
A very simple, header only c++ based menu library
https://github.com/eintim23/thiccmenu
Last synced: 7 months ago
JSON representation
A very simple, header only c++ based menu library
- Host: GitHub
- URL: https://github.com/eintim23/thiccmenu
- Owner: EinTim23
- License: gpl-3.0
- Created: 2022-01-17T21:25:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T21:28:08.000Z (over 4 years ago)
- Last Synced: 2025-02-02T11:11:17.166Z (over 1 year ago)
- Language: C++
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Thicc Menu
A very simple, header only c++ based menu library
#### Note: currently windows only, as it uses the winapi for the cursor. Linux compability will follow soon.
### Basic Example
```cpp
#include "thiccmenu.hpp"
int main() {
switch (thiccmenu::Menu({"1. Say hi", "2. Say bye"}, Colors::Gray, Colors::Darkgray)) {
case 1:
std::cout << "hi\n";
break;
case 2:
std::cout << "bye\n";
break;
}
}
```
### Showcase
https://user-images.githubusercontent.com/57799248/149838460-e0f7f975-8419-47c8-834d-3bb46f8a6103.mp4