Skip to content
Snippets Groups Projects
Commit c6cd4b34 authored by Borostyán József Bálint's avatar Borostyán József Bálint :flag_al:
Browse files

Upload New File

parent d1786791
Branches
No related tags found
No related merge requests found
menu.hpp 0 → 100644
#ifndef MENU_HPP
#define MENU_HPP
#include "widget.hpp"
#include <functional>
class Menu : public Widget {
protected:
std::function<void()> on_start;
public:
Menu(int x, int y, int w, int h, std::function<void()> start_callback);
void draw() const override;
void handle(genv::event ev) override;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment