27 lines
323 B
C++
27 lines
323 B
C++
//
|
|
// Created by illyum on 8/15/2024.
|
|
//
|
|
|
|
#ifndef PANEL_H
|
|
#define PANEL_H
|
|
|
|
|
|
#include "raylib.h"
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
|
|
struct Panel {
|
|
Rectangle bounds;
|
|
std::string title;
|
|
Color backgroundColor;
|
|
Color headerColor;
|
|
bool isVisible;
|
|
|
|
void Draw();
|
|
void Update();
|
|
};
|
|
|
|
|
|
#endif //PANEL_H
|