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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user