JKSV/include/ui/iconMenu.hpp
2024-09-11 17:47:57 -04:00

22 lines
509 B
C++

#pragma once
#include <vector>
#include <SDL2/SDL.h>
#include "graphics/graphics.hpp"
#include "menu.hpp"
// This is used only for the main/user selection menu and is kind of hacky, but it works
namespace ui
{
class iconMenu : public menu
{
public:
iconMenu(int x, int y, int maxScroll);
void addOpt(graphics::sdlTexture newOption);
void render(SDL_Texture *target);
private:
std::vector<graphics::sdlTexture> m_MenuOptions;
};
}