Line 218... |
Line 218... |
218 |
#ifdef Q_OS_IOS
|
218 |
#ifdef Q_OS_IOS
|
219 |
void informBatteryStatus(int level, int state);
|
219 |
void informBatteryStatus(int level, int state);
|
220 |
void informTPanelNetwork(bool conn, int level, int type);
|
220 |
void informTPanelNetwork(bool conn, int level, int type);
|
221 |
#endif
|
221 |
#endif
|
222 |
void regCallDropPage(std::function<void (ulong handle)> callDropPage) { _callDropPage = callDropPage; }
|
222 |
void regCallDropPage(std::function<void (ulong handle)> callDropPage) { _callDropPage = callDropPage; }
|
223 |
void regCallDropSubPage(std::function<void (ulong handle)> callDropSubPage) { _callDropSubPage = callDropSubPage; }
|
223 |
void regCallDropSubPage(std::function<void (ulong handle, ulong parent)> callDropSubPage) { _callDropSubPage = callDropSubPage; }
|
224 |
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)> callPlayVideo) { _callPlayVideo = callPlayVideo; };
|
224 |
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)> callPlayVideo) { _callPlayVideo = callPlayVideo; };
|
225 |
void regCallInputText(std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> callInputText) { _callInputText = callInputText; }
|
225 |
void regCallInputText(std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> callInputText) { _callInputText = callInputText; }
|
226 |
void regCallListBox(std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> callListBox) { _callListBox = callListBox; }
|
226 |
void regCallListBox(std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> callListBox) { _callListBox = callListBox; }
|
227 |
void regCallbackKeyboard(std::function<void (const std::string& init, const std::string& prompt, bool priv)> callKeyboard) { _callKeyboard = callKeyboard; }
|
227 |
void regCallbackKeyboard(std::function<void (const std::string& init, const std::string& prompt, bool priv)> callKeyboard) { _callKeyboard = callKeyboard; }
|
228 |
void regCallbackKeypad(std::function<void (const std::string& init, const std::string& prompt, bool priv)> callKeypad) { _callKeypad = callKeypad; }
|
228 |
void regCallbackKeypad(std::function<void (const std::string& init, const std::string& prompt, bool priv)> callKeypad) { _callKeypad = callKeypad; }
|
Line 515... |
Line 515... |
515 |
std::function<void (ulong handle, int width, int height)> getCallbackSetPage() { return _setPage; }
|
515 |
std::function<void (ulong handle, int width, int height)> getCallbackSetPage() { return _setPage; }
|
516 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> getCallbackInputText() { return _callInputText; }
|
516 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> getCallbackInputText() { return _callInputText; }
|
517 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> getCallbackListBox() { return _callListBox; }
|
517 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> getCallbackListBox() { return _callListBox; }
|
518 |
std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, ANIMATION_t animate)> getCallbackSetSubPage() { return _setSubPage; }
|
518 |
std::function<void (ulong handle, ulong parent, int left, int top, int width, int height, ANIMATION_t animate)> getCallbackSetSubPage() { return _setSubPage; }
|
519 |
std::function<void (ulong handle)> getCallDropPage() { return _callDropPage; }
|
519 |
std::function<void (ulong handle)> getCallDropPage() { return _callDropPage; }
|
520 |
std::function<void (ulong handle)> getCallDropSubPage() { return _callDropSubPage; }
|
520 |
std::function<void (ulong handle, ulong parent)> getCallDropSubPage() { return _callDropSubPage; }
|
521 |
std::function<void (const std::string& file)> getCallPlaySound() { return _playSound; }
|
521 |
std::function<void (const std::string& file)> getCallPlaySound() { return _playSound; }
|
522 |
std::function<void ()> getCallStopSound() { return _stopSound; }
|
522 |
std::function<void ()> getCallStopSound() { return _stopSound; }
|
523 |
std::function<void (bool state)> getCallMuteSound() { return _muteSound; }
|
523 |
std::function<void (bool state)> getCallMuteSound() { return _muteSound; }
|
524 |
std::function<void (int volume)> getCallSetVolume() { return _setVolume; }
|
524 |
std::function<void (int volume)> getCallSetVolume() { return _setVolume; }
|
525 |
std::function<void (const std::string& str)> sendVirtualKeys() { return _sendVirtualKeys; }
|
525 |
std::function<void (const std::string& str)> sendVirtualKeys() { return _sendVirtualKeys; }
|
Line 616... |
Line 616... |
616 |
#else
|
616 |
#else
|
617 |
std::function<void (ulong handle, TBitmap image, int width, int height, ulong color, int opacity)> _setBackground{nullptr};
|
617 |
std::function<void (ulong handle, TBitmap image, int width, int height, ulong color, int opacity)> _setBackground{nullptr};
|
618 |
#endif
|
618 |
#endif
|
619 |
std::function<void (ulong handle, const std::string& text, const std::string& font, const std::string& family, int size, int x, int y, ulong color, ulong effectColor, FONT_STYLE style, Button::TEXT_ORIENTATION ori, Button::TEXT_EFFECT effect, bool ww)> _setText{nullptr};
|
619 |
std::function<void (ulong handle, const std::string& text, const std::string& font, const std::string& family, int size, int x, int y, ulong color, ulong effectColor, FONT_STYLE style, Button::TEXT_ORIENTATION ori, Button::TEXT_EFFECT effect, bool ww)> _setText{nullptr};
|
620 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
620 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
621 |
std::function<void (ulong handle)> _callDropSubPage{nullptr};
|
621 |
std::function<void (ulong handle, ulong parent)> _callDropSubPage{nullptr};
|
622 |
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)> _callPlayVideo{nullptr};
|
622 |
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)> _callPlayVideo{nullptr};
|
623 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> _callInputText{nullptr};
|
623 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> _callInputText{nullptr};
|
624 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> _callListBox{nullptr};
|
624 |
std::function<void (Button::TButton *button, Button::BITMAP_t& bm, int frame)> _callListBox{nullptr};
|
625 |
std::function<void (const std::string& init, const std::string& prompt, bool priv)> _callKeyboard{nullptr};
|
625 |
std::function<void (const std::string& init, const std::string& prompt, bool priv)> _callKeyboard{nullptr};
|
626 |
std::function<void (const std::string& init, const std::string& prompt, bool priv)> _callKeypad{nullptr};
|
626 |
std::function<void (const std::string& init, const std::string& prompt, bool priv)> _callKeypad{nullptr};
|