Pager and menu bar working together without interfering with each other
This commit is contained in:
@@ -27,6 +27,10 @@
|
||||
#include "region_pager.hpp"
|
||||
#include "tile_sheet.hpp"
|
||||
|
||||
#include "image.hpp"
|
||||
#include "raster_font.hpp"
|
||||
#include "menu_bar.hpp"
|
||||
|
||||
#include <list>
|
||||
|
||||
class EditorScene : public BaseScene {
|
||||
@@ -53,6 +57,11 @@ protected:
|
||||
RegionPager pager;
|
||||
std::list<TileSheet> sheetList;
|
||||
|
||||
RasterFont font;
|
||||
Image buttonImage;
|
||||
|
||||
MenuBar menuBar;
|
||||
|
||||
struct {
|
||||
int x = 0, y = 0;
|
||||
} camera;
|
||||
|
||||
Reference in New Issue
Block a user