|
|
|
@ -43,7 +43,6 @@ public:
|
|
|
|
|
StringID string; ///< String ID of item
|
|
|
|
|
|
|
|
|
|
DropDownListStringItem(StringID string, int result, bool masked) : DropDownListItem(result, masked), string(string) {}
|
|
|
|
|
virtual ~DropDownListStringItem() {}
|
|
|
|
|
|
|
|
|
|
virtual bool Selectable() const { return true; }
|
|
|
|
|
virtual uint Width() const;
|
|
|
|
@ -61,7 +60,6 @@ public:
|
|
|
|
|
uint64 decode_params[10]; ///< Parameters of the string
|
|
|
|
|
|
|
|
|
|
DropDownListParamStringItem(StringID string, int result, bool masked) : DropDownListStringItem(string, result, masked) {}
|
|
|
|
|
virtual ~DropDownListParamStringItem() {}
|
|
|
|
|
|
|
|
|
|
virtual StringID String() const;
|
|
|
|
|
virtual void SetParam(uint index, uint64 value) { decode_params[index] = value; }
|
|
|
|
@ -75,7 +73,6 @@ public:
|
|
|
|
|
const char *raw_string;
|
|
|
|
|
|
|
|
|
|
DropDownListCharStringItem(const char *raw_string, int result, bool masked) : DropDownListStringItem(STR_JUST_RAW_STRING, result, masked), raw_string(raw_string) {}
|
|
|
|
|
virtual ~DropDownListCharStringItem() {}
|
|
|
|
|
|
|
|
|
|
virtual StringID String() const;
|
|
|
|
|
};
|
|
|
|
|