19 #ifndef OPENXCOM_MANUFACTUREINFOSTATE_H
20 #define OPENXCOM_MANUFACTUREINFOSTATE_H
22 #include "../Engine/State.h"
31 class ToggleTextButton;
32 class RuleManufacture;
35 class InteractiveSurface;
47 ArrowButton * _btnUnitUp, * _btnUnitDown, * _btnEngineerUp, * _btnEngineerDown;
49 Text * _txtTitle, * _txtAvailableEngineer, * _txtAvailableSpace, * _txtAllocatedEngineer, * _txtUnitToProduce, * _txtUnitUp, * _txtUnitDown, * _txtEngineerUp, * _txtEngineerDown, * _txtAllocated, * _txtTodo;
51 Timer * _timerMoreEngineer, * _timerMoreUnit, * _timerLessEngineer, * _timerLessUnit;
54 void btnStopClick (
Action * action);
56 void btnOkClick (
Action * action);
58 void moreEngineer(
int change);
60 void moreEngineerPress(
Action * action);
62 void moreEngineerRelease(
Action * action);
64 void moreEngineerClick(
Action * action);
66 void moreUnit(
int change);
68 void moreUnitPress(
Action * action);
70 void moreUnitRelease(
Action * action);
72 void moreUnitClick(
Action * action);
74 void lessEngineer(
int change);
76 void lessEngineerPress(
Action * action);
78 void lessEngineerRelease(
Action * action);
80 void lessEngineerClick(
Action * action);
82 void lessUnit(
int change);
84 void lessUnitPress(
Action * action);
86 void lessUnitRelease(
Action * action);
88 void lessUnitClick(
Action * action);
90 void onMoreEngineer();
92 void onLessEngineer();
94 void handleWheelEngineer(
Action *action);
100 void handleWheelUnit(
Action *action);
102 void setAssignedEngineer();
Container for all the information associated with a given user action, like mouse clicks...
Definition: Action.h:34
A game state that receives user input and reacts accordingly.
Definition: State.h:44
Box with a coloured border and custom background.
Definition: Window.h:42
Timer used to run code in fixed intervals.
Definition: Timer.h:37
Surface that the user can interact with.
Definition: InteractiveSurface.h:39
Definition: ToggleTextButton.h:31
Text string displayed on screen.
Definition: Text.h:41
Definition: Production.h:31
Represents a player base on the globe.
Definition: Base.h:47
Coloured button with a text label.
Definition: TextButton.h:40
Represents the information needed to manufacture an object.
Definition: RuleManufacture.h:32
The core of the game engine, manages the game's entire contents and structure.
Definition: Game.h:44
ManufactureInfoState(Game *game, Base *base, RuleManufacture *_item)
Creates the State (new production).
Definition: ManufactureInfoState.cpp:48
Screen that allows changing of Production settings (assigned engineer, units to build).
Definition: ManufactureInfoState.h:40