[nostalgia/core] Get TileSheetEditor's palette view working
This commit is contained in:
@@ -28,6 +28,9 @@ class TileSheetEditorImGui: public studio::Editor {
|
||||
float m_palViewWidth = 200;
|
||||
geo::Vec2 m_prevMouseDownPos;
|
||||
|
||||
// palette view vars
|
||||
std::size_t m_palIdx = 0;
|
||||
|
||||
public:
|
||||
TileSheetEditorImGui(Context *ctx, const ox::String &path);
|
||||
|
||||
@@ -65,7 +68,7 @@ class TileSheetEditorImGui: public studio::Editor {
|
||||
|
||||
void drawTileSheet(const geo::Vec2 &fbSize) noexcept;
|
||||
|
||||
void drawPalettePicker() const noexcept;
|
||||
void drawPalettePicker() noexcept;
|
||||
|
||||
// slots
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user