[nostalgia/core/studio] Add ability to select pixels for copy/paste
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
|
||||
namespace nostalgia::core {
|
||||
|
||||
enum class Tool {
|
||||
None,
|
||||
Draw,
|
||||
Fill,
|
||||
Select,
|
||||
};
|
||||
|
||||
class TileSheetEditorImGui: public studio::Editor {
|
||||
|
||||
private:
|
||||
@@ -43,6 +50,7 @@ class TileSheetEditorImGui: public studio::Editor {
|
||||
TileSheetEditorView m_tileSheetEditor;
|
||||
float m_palViewWidth = 300;
|
||||
geo::Vec2 m_prevMouseDownPos;
|
||||
Tool m_tool = Tool::Draw;
|
||||
|
||||
public:
|
||||
TileSheetEditorImGui(Context *ctx, const ox::String &path);
|
||||
|
||||
Reference in New Issue
Block a user