Replace recipe/schematic dropdowns with button and selection dialog
This commit is contained in:
@@ -20,6 +20,7 @@ SET(HDRS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ExitBlueprintModeRequestedEvent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/SpeedChangeRequestedEvent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/LayoutDialogRequestedEvent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/RecipeSelectionRequestedEvent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/InspectWindowClosedEvent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ArenaStartRequestedEvent.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/ArenaInspectRequestedEvent.h
|
||||
|
||||
12
src/lib/eventsystem/event/RecipeSelectionRequestedEvent.h
Normal file
12
src/lib/eventsystem/event/RecipeSelectionRequestedEvent.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "BuildingId.h"
|
||||
#include "Event.h"
|
||||
|
||||
class RecipeSelectionRequestedEvent : public Event
|
||||
{
|
||||
public:
|
||||
explicit RecipeSelectionRequestedEvent(BuildingId buildingId)
|
||||
: buildingId(buildingId) {}
|
||||
const BuildingId buildingId;
|
||||
};
|
||||
Reference in New Issue
Block a user