GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
RichEditAdditionalCreationData.cpp
Go to the documentation of this file.
2
3using namespace std;
4
5namespace gui_framework
6{
7 namespace utility
8 {
9 AdditionalCreationData<RichEdit>::AdditionalCreationData(const array<function<void(const wstring&)>, BaseRichEdit::urlDetectEventSize>& callbacks, bool isMultiLine, uint64_t limitTextCount) :
10 callbacks(callbacks),
11 limitTextCount(limitTextCount),
12 isMultiLine(isMultiLine)
13 {
14
15 }
16
17 AdditionalCreationData<RichEdit>::AdditionalCreationData(const array<pair<string, string>, BaseRichEdit::urlDetectEventSize>& callbacksFunctionNamesAndModules, bool isMultiLine, uint64_t limitTextCount) :
18 callbacksFunctionNamesAndModules(callbacksFunctionNamesAndModules),
19 limitTextCount(limitTextCount),
20 isMultiLine(isMultiLine)
21 {
22
23 }
24
26 {
27 return make_any<tuple<array<function<void(const wstring&)>, BaseRichEdit::urlDetectEventSize>, array<pair<string, string>, BaseRichEdit::urlDetectEventSize>, uint64_t, bool>>(callbacks, callbacksFunctionNamesAndModules, limitTextCount, isMultiLine);
28 }
29 }
30}
static constexpr uint8_t urlDetectEventSize
Base templated class for component creators.