2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CHUDMEMOPARMS
|
|
|
|
#define _CHUDMEMOPARMS
|
2022-07-30 20:10:04 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
2022-10-09 05:13:17 +00:00
|
|
|
|
2022-07-30 20:10:04 +00:00
|
|
|
class CInputStream;
|
2022-10-09 05:13:17 +00:00
|
|
|
|
2022-07-30 20:10:04 +00:00
|
|
|
class CHUDMemoParms {
|
|
|
|
public:
|
2022-10-05 18:05:56 +00:00
|
|
|
CHUDMemoParms(float dispTime, bool clear, bool fadeOut, bool hint)
|
|
|
|
: mDispTime(dispTime), mClearMemoWindow(clear), mFadeOutOnly(fadeOut), mHintMemo(hint) {}
|
2022-09-18 06:05:46 +00:00
|
|
|
CHUDMemoParms(CInputStream& in);
|
|
|
|
|
|
|
|
float GetDisplayTime() const { return mDispTime; }
|
|
|
|
bool IsClearMemoWindow() const { return mClearMemoWindow; }
|
|
|
|
bool IsFadeOutOnly() const { return mFadeOutOnly; }
|
|
|
|
bool IsHintMemo() const { return mHintMemo; }
|
|
|
|
|
2022-07-30 20:10:04 +00:00
|
|
|
private:
|
2022-09-18 06:05:46 +00:00
|
|
|
float mDispTime;
|
|
|
|
bool mClearMemoWindow;
|
|
|
|
bool mFadeOutOnly;
|
|
|
|
bool mHintMemo;
|
2022-07-30 20:10:04 +00:00
|
|
|
};
|
2022-10-09 05:13:17 +00:00
|
|
|
|
|
|
|
#endif // _CHUDMEMOPARMS
|