improve help implementation
This commit is contained in:
1 parent
2dcc63875d
commit
9ef24e3a9e
10 files changed
+52
-26
No files matched your search
@@ -32,6 +32,7 @@
|
||||
#include "Cevo/CevoScreenTools.h"
|
||||
#include "Cevo/Protocol.h"
|
||||
#include "ClientTools.h"
|
||||
#include "Help.h"
|
||||
#include "MessgEx.h"
|
||||
#include "NatStat.h"
|
||||
#include "Select.h"
|
||||
@@ -311,6 +312,10 @@ extern std::function<MessgEx::MessgExDlg *()> mainScreenMessgExDlg;
|
||||
// modalSelectDlgShowCityProject above for the city-project-only variant).
|
||||
extern std::function<Select::ListDlg *()> mainScreenModalSelectDlg;
|
||||
extern std::function<NatStat::NatStatDlg *()> mainScreenNatStatDlg;
|
||||
// Mirrors `MainScreen.HelpDlg` dialog access - unlike the bare
|
||||
// `Help::showNewContent` global (only bound once a HelpDlg exists), this
|
||||
// forces lazy construction of the one true instance on first use.
|
||||
extern std::function<Help::HelpDlg *()> mainScreenHelpDlg;
|
||||
// Mirrors `MainScreen.OfferCall(var Offer: TOffer): Integer` - returns
|
||||
// eInvalid by default.
|
||||
extern std::function<int(const TOffer &offer)> mainScreenOfferCall;
|
||||
|
||||
Reference in new issue
Block a user