mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2026-09-12 18:45:20 -05:00
Refactor Menus to reduce code
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#ifndef __RELPOSMENU_HPP
|
||||
#define __RELPOSMENU_HPP
|
||||
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <chrono>
|
||||
|
||||
#include "GenericMenu.hpp"
|
||||
|
||||
#include "TextRectangle.hpp"
|
||||
#include "TextRectanglePool.hpp"
|
||||
#include "display_structs.hpp"
|
||||
#include "event_structs.hpp"
|
||||
|
||||
#define BACK_X_OUTPUT_OPTION -1
|
||||
|
||||
@@ -17,7 +17,7 @@ enum RelPosMenuOutAction{
|
||||
REL_POS_MENU_CONFIRM,
|
||||
};
|
||||
|
||||
class RelativePositionMenu {
|
||||
class RelativePositionMenu : public GenericMenu {
|
||||
public:
|
||||
RelativePositionMenu();
|
||||
RelativePositionMenu(TextRectanglePool* text_pool);
|
||||
|
||||
Reference in New Issue
Block a user