Rise
The Vieneo Province
Loading...
Searching...
No Matches
InformationDialog.h
Go to the documentation of this file.
1#pragma once
2
3#include "DialogBase.h"
4#include "../GameClass.h"
5
7{
9 {
10 int helpId;
13 };
14 std::vector<HelpContainer> activehelpqueue;
15 int activehelp = 0;
16 bool canDismiss = true;
17 bool learnMore = false;
19 WCHAR activeHelpText[512] = { 0 };
20 WCHAR activeHelpTextFormatted[512] = { 0 };
21
22public:
23 InformationDialog(short id);
24 void RefreshHelpText();
25 bool PopUpHelp(short helpId, bool allowDismiss = true, bool isLearnMore = false);
26 bool DismissHelp(int helpId, int nControlID = GUI_UNDERSTOOD);
27 void ClearHelp();
28 void FrameMove(float fElapsedTime);
29 void SetHelpText(WCHAR* str, int id);
30 void ActiveTab() override;
31 void UpdateMenu(short tab) override;
32 bool IsActive(ActiveHelp helpId) const;
33 void Draw(RiseMath::Vector3* tracked);
34
35 static void CALLBACK DialogCallback(UINT nEvent, int nControlID, RiseControl* pControl, void* pUserContext);
36};
ActiveHelp
Definition ActiveHelp.h:4
DialogBase(short id)
WCHAR activeHelpTextFormatted[512]
bool DismissHelp(int helpId, int nControlID=GUI_UNDERSTOOD)
void FrameMove(float fElapsedTime)
void SetHelpText(WCHAR *str, int id)
bool IsActive(ActiveHelp helpId) const
void UpdateMenu(short tab) override
void ActiveTab() override
void Draw(RiseMath::Vector3 *tracked)
bool PopUpHelp(short helpId, bool allowDismiss=true, bool isLearnMore=false)
static void CALLBACK DialogCallback(UINT nEvent, int nControlID, RiseControl *pControl, void *pUserContext)
std::vector< HelpContainer > activehelpqueue
@ GUI_UNDERSTOOD
Definition gui.h:983