1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Window Class Refactor: Invention List Drag (#17415)

* Start working on drag

* Finish moving invention drag into window class

* Refactor drag item into a window variable

* Remove rct2 comment
This commit is contained in:
Duncan
2022-06-30 10:25:18 +01:00
committed by GitHub
parent ac7331f878
commit 43562a6899
4 changed files with 139 additions and 126 deletions

View File

@@ -2,6 +2,7 @@
#include "../entity/EntityList.h"
#include "../entity/EntityRegistry.h"
#include "Cursors.h"
#include "Viewport.h"
void rct_window::SetLocation(const CoordsXYZ& coords)
@@ -35,3 +36,8 @@ void rct_window::RemoveViewport()
viewport_remove(viewport);
viewport = nullptr;
}
CursorID rct_window::OnCursor(rct_widgetindex, const ScreenCoordsXY&, CursorID)
{
return CursorID::Arrow;
}