Line 78... |
Line 78... |
78 |
#else
|
78 |
#else
|
79 |
void registerCallback(std::function<void (ulong handle, TBitmap image, int width, int height, ulong color, int opacity)> setBackground) { _setBackground = setBackground; }
|
79 |
void registerCallback(std::function<void (ulong handle, TBitmap image, int width, int height, ulong color, int opacity)> setBackground) { _setBackground = setBackground; }
|
80 |
#endif
|
80 |
#endif
|
81 |
void registerCallbackDB(std::function<void(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough)> displayButton) { _displayButton = displayButton; }
|
81 |
void registerCallbackDB(std::function<void(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough)> displayButton) { _displayButton = displayButton; }
|
82 |
void regCallDropPage(std::function<void (ulong handle)> callDropPage) { _callDropPage = callDropPage; }
|
82 |
void regCallDropPage(std::function<void (ulong handle)> callDropPage) { _callDropPage = callDropPage; }
|
83 |
void regCallDropSubPage(std::function<void (ulong handle)> callDropSubPage) { _callDropSubPage = callDropSubPage; }
|
83 |
void regCallDropSubPage(std::function<void (ulong handle, ulong parent)> callDropSubPage) { _callDropSubPage = callDropSubPage; }
|
84 |
void regCallPlayVideo(std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> playVideo) { _playVideo = playVideo; };
|
84 |
void regCallPlayVideo(std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> playVideo) { _playVideo = playVideo; };
|
85 |
|
85 |
|
86 |
void show();
|
86 |
void show();
|
87 |
void drop();
|
87 |
void drop();
|
88 |
void sortSubpages();
|
88 |
void sortSubpages();
|
Line 102... |
Line 102... |
102 |
#else
|
102 |
#else
|
103 |
std::function<void (ulong handle, TBitmap image, int width, int height, ulong color, int opacity)> _setBackground{nullptr};
|
103 |
std::function<void (ulong handle, TBitmap image, int width, int height, ulong color, int opacity)> _setBackground{nullptr};
|
104 |
#endif
|
104 |
#endif
|
105 |
std::function<void (ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough)> _displayButton{nullptr};
|
105 |
std::function<void (ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough)> _displayButton{nullptr};
|
106 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
106 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
107 |
std::function<void (ulong handle)> _callDropSubPage{nullptr};
|
107 |
std::function<void (ulong handle, ulong parent)> _callDropSubPage{nullptr};
|
108 |
std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> _playVideo{nullptr};
|
108 |
std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, const std::string& url, const std::string& user, const std::string& pw)> _playVideo{nullptr};
|
109 |
|
109 |
|
110 |
std::string mPath; // Path and name of the XML file
|
110 |
std::string mPath; // Path and name of the XML file
|
111 |
PAGE_T mPage; // Definitions of page
|
111 |
PAGE_T mPage; // Definitions of page
|
112 |
std::vector<Button::SR_T> sr; // Background details
|
112 |
std::vector<Button::SR_T> sr; // Background details
|