#include <Instrument.h>
|
| CargoManagement (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font *> prmFonts) |
|
void | Render () override |
|
bool | HandleKeyPress (short key, bool shift) override |
|
| Instrument (int prmX, int prmY, float prmXScale, float prmYScale, Bus *prmBus, Logger *prmLogger, DeviceObject *prmDevice, std::vector< Font *> prmFonts) |
|
void | DrawText (const WCHAR *str, int relativeX, int relativeY, float prmZ, int flags, D3DXCOLOR color, int font=-1, std::string elementName="", int width=0, int height=0) |
|
virtual void | FrameMove (float fElapsed) |
|
virtual void | OnPageChanged () |
|
|
void | RenderRow (const WCHAR *row, DWORD color, int rowId, std::string type="", int value=0) |
|
Definition at line 98 of file Instrument.h.
◆ CargoManagement()
CargoManagement::CargoManagement |
( |
int |
prmX, |
|
|
int |
prmY, |
|
|
float |
prmXScale, |
|
|
float |
prmYScale, |
|
|
Bus * |
prmBus, |
|
|
Logger * |
prmLogger, |
|
|
DeviceObject * |
prmDevice, |
|
|
std::vector< Font *> |
prmFonts |
|
) |
| |
◆ HandleKeyPress()
bool CargoManagement::HandleKeyPress |
( |
short |
key, |
|
|
bool |
shift |
|
) |
| |
|
overridevirtual |
◆ Render()
void CargoManagement::Render |
( |
| ) |
|
|
overridevirtual |
- Todo:
- this one is suspicious, what case would it not be set
- Todo:
- look at maybe aggregating lines where if we have lock pick SETS we show (2) like old inventory manager
- Todo:
- 80 lbs limit hard-coded on server, probably should be based on strength
- Todo:
- look at maybe aggregating lines where if we have lock pick SETS we show (2) like old inventory manager
Implements Instrument.
Definition at line 31 of file CargoManagement.cpp.
◆ RenderRow()
void CargoManagement::RenderRow |
( |
const WCHAR * |
row, |
|
|
DWORD |
color, |
|
|
int |
rowId, |
|
|
std::string |
type = "" , |
|
|
int |
value = 0 |
|
) |
| |
|
private |
◆ rowType
std::string CargoManagement::rowType[64] |
|
private |
◆ rowValue
int CargoManagement::rowValue[64] = {} |
|
private |
The documentation for this class was generated from the following files: