Line 76... |
Line 76... |
76 |
#ifdef _OPAQUE_SKIA_
|
76 |
#ifdef _OPAQUE_SKIA_
|
77 |
void registerCallback(std::function<void (ulong handle, TBitmap image, int width, int height, ulong color)> setBackground) { _setBackground = setBackground; }
|
77 |
void registerCallback(std::function<void (ulong handle, TBitmap image, int width, int height, ulong color)> setBackground) { _setBackground = setBackground; }
|
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, int marqtype, int marq)> 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, ulong parent)> 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();
|
Line 100... |
Line 100... |
100 |
#ifdef _OPAQUE_SKIA_
|
100 |
#ifdef _OPAQUE_SKIA_
|
101 |
std::function<void (ulong handle, TBitmap image, int width, int height, ulong color)> _setBackground{nullptr};
|
101 |
std::function<void (ulong handle, TBitmap image, int width, int height, ulong color)> _setBackground{nullptr};
|
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, int marqtype, int marq)> _displayButton{nullptr};
|
106 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
106 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
107 |
std::function<void (ulong handle, ulong parent)> _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
|