99 lines
2.7 KiB
C++
99 lines
2.7 KiB
C++
#pragma once
|
|
|
|
#ifdef _NA_008283_20150511_NOTIFICATIONS_SYSTEM
|
|
|
|
#include "uiBase.h"
|
|
#include "uiNotificationsSystemMan/uiNotificationsSystemMan.h"
|
|
|
|
#ifdef _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
enum eCHECK_BUTTON_MOUSE_ON_IMAGE
|
|
{
|
|
CBM_SYSTEM = 6608,
|
|
CBM_COMBAT = 6609,
|
|
CBM_EYE = 6610,
|
|
|
|
CBM_MAX,
|
|
};
|
|
|
|
class uiToolTipMan;
|
|
#endif // _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
class uiNotificationsSystemMan;
|
|
class uiNotificationsSystemDialog : public uiBase
|
|
{
|
|
enum eDIALOG_POS
|
|
{
|
|
DLGPOS_NOTIFICATIONS_LIST,
|
|
DLGPOS_NOTIFICATIONS_SPECIAL_LIST,
|
|
DLGPOS_NOTIFICATIONS_TEXT,
|
|
#ifdef _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
DLGPOS_SYSTEM_CHECK,
|
|
DLGPOS_COMBAT_CHECK,
|
|
DLGPOS_EYE_CHECK,
|
|
#else
|
|
DLGPOS_EYE_BTN,
|
|
#endif // _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
|
|
DIALOG_MAX,
|
|
};
|
|
public:
|
|
uiNotificationsSystemDialog(InterfaceManager* ui_manager);
|
|
~uiNotificationsSystemDialog(void);
|
|
|
|
public:
|
|
virtual void Init(CDrawBase* draw_base);
|
|
virtual void Release();
|
|
|
|
virtual void OnShowWindow(BOOL is_show);
|
|
virtual void MessageProc(SI_MESSAGE* message);
|
|
|
|
public:
|
|
void MoveDefaultPosition();
|
|
void SetNotificationsString(TCHAR* notifications_string);
|
|
void ResetNotificationsTextRect();
|
|
void ResetNotificationsTime();
|
|
void ResetUIType();
|
|
void SpecialTextUIShow();
|
|
|
|
#ifdef _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
void SetSystemMessageCheckState(const bool& state);
|
|
void SetCombatRecordCheckState(const bool& state);
|
|
void SetEyeCheckState(const bool& state);
|
|
void ShowGameInterface(const BOOL& flag);
|
|
void PrintTooltip(const int& check_pos);
|
|
void UpdateTooltip();
|
|
#endif // _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
|
|
public:
|
|
virtual void MoveDefaultWindowPos();
|
|
|
|
private:
|
|
virtual void OnUpdateSolarDialog();
|
|
virtual void OnRenderSolarDialog();
|
|
|
|
protected:
|
|
POSTYPE getCtrlIDToPos( WzID wzId );
|
|
|
|
private:
|
|
uiNotificationsSystemMan* notifications_system_manager_;
|
|
static WzID wz_id_[DIALOG_MAX];
|
|
CCtrlListWZ* notifications_text_control_;
|
|
CCtrlListWZ* notifications_special_text_control_;
|
|
#ifdef _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
CCtrlButtonCheckWZ* system_check_control_;
|
|
CCtrlButtonCheckWZ* eye_check_control_;
|
|
CCtrlButtonCheckWZ* combat_check_control_;
|
|
|
|
uiToolTipMan* tooltip_manager_ptr_;
|
|
|
|
int save_check_;
|
|
#else
|
|
CCtrlButtonWZ* eye_button_control_;
|
|
#endif // _NA_008800_20160510_COMBAT_RECORD_SYSTEM
|
|
RECT notifications_text_rect_;
|
|
BOOL is_show_;
|
|
float move_offset_;
|
|
float second_move_offset_;
|
|
bool is_second_move_;
|
|
};
|
|
#endif // _NA_008283_20150511_NOTIFICATIONS_SYSTEM
|