mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-11 03:15:46 -05:00
Add map view tab to API
This commit is contained in:
@@ -16,7 +16,8 @@ enum CallbackType {
|
||||
OnMapResized,
|
||||
OnMapShifted,
|
||||
OnTilesetUpdated,
|
||||
OnTabChanged,
|
||||
OnMainTabChanged,
|
||||
OnMapViewTabChanged,
|
||||
};
|
||||
|
||||
class Scripting
|
||||
@@ -41,7 +42,8 @@ public:
|
||||
static void cb_MapResized(int oldWidth, int oldHeight, int newWidth, int newHeight);
|
||||
static void cb_MapShifted(int xDelta, int yDelta);
|
||||
static void cb_TilesetUpdated(QString tilesetName);
|
||||
static void cb_TabChanged(int oldTab, int newTab);
|
||||
static void cb_MainTabChanged(int oldTab, int newTab);
|
||||
static void cb_MapViewTabChanged(int oldTab, int newTab);
|
||||
static bool tryErrorJS(QJSValue js);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user