Subversion Repositories tpanel

Rev

Rev 154 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 154 Rev 164
Line 112... Line 112...
112
        bool haveSubPage(const std::string& page, const std::string& name);
112
        bool haveSubPage(const std::string& page, const std::string& name);
113
        bool haveSubPage(const std::string& page, int id);
113
        bool haveSubPage(const std::string& page, int id);
114
        TFont *getFonts() { return mFonts; }
114
        TFont *getFonts() { return mFonts; }
115
        Button::TButton *findButton(ulong handle);
115
        Button::TButton *findButton(ulong handle);
116
        void onSwipeEvent(SWIPES sw);
116
        void onSwipeEvent(SWIPES sw);
-
 
117
        double getDPI() { return mDPI; }
-
 
118
        void setDPI(const double dpi) { mDPI = dpi; }
117
 
119
 
118
        void registerCallbackDB(std::function<void(ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> displayButton) { _displayButton = displayButton; }
120
        void registerCallbackDB(std::function<void(ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> displayButton) { _displayButton = displayButton; }
119
        void registerCBsetVisible(std::function<void(ulong handle, bool state)> setVisible) { _setVisible = setVisible; }
121
        void registerCBsetVisible(std::function<void(ulong handle, bool state)> setVisible) { _setVisible = setVisible; }
120
        void registerCallbackSP(std::function<void (ulong handle, int width, int height)> setPage) { _setPage = setPage; }
122
        void registerCallbackSP(std::function<void (ulong handle, int width, int height)> setPage) { _setPage = setPage; }
121
        void registerCallbackSSP(std::function<void (ulong handle, int left, int top, int width, int height, ANIMATION_t animate)> setSubPage) { _setSubPage = setSubPage; }
123
        void registerCallbackSSP(std::function<void (ulong handle, int left, int top, int width, int height, ANIMATION_t animate)> setSubPage) { _setSubPage = setSubPage; }
Line 557... Line 559...
557
        std::string mAkpText;                           // This is the text for the virtual keyad (@AKP)
559
        std::string mAkpText;                           // This is the text for the virtual keyad (@AKP)
558
        bool mPassThrough{false};                       // Can ve set to true with the command ^KPS
560
        bool mPassThrough{false};                       // Can ve set to true with the command ^KPS
559
        bool mInformOrientation{false};                 // TRUE = The actual screen orientation is reported to the controller if it change.
561
        bool mInformOrientation{false};                 // TRUE = The actual screen orientation is reported to the controller if it change.
560
        int mOrientation{0};                            // Contains the actual orientation.
562
        int mOrientation{0};                            // Contains the actual orientation.
561
        int mLastPagePush{0};                           // The number of the last page received a push (key press / mouse hit)
563
        int mLastPagePush{0};                           // The number of the last page received a push (key press / mouse hit)
-
 
564
        double mDPI{96.0};                              // DPI (Dots Per Inch) of the primary display.
562
        // SIP
565
        // SIP
563
#ifndef _NOSIP_
566
#ifndef _NOSIP_
564
        bool mPHNautoanswer{false};                     // The state of the SIP autoanswer
567
        bool mPHNautoanswer{false};                     // The state of the SIP autoanswer
565
        TSIPClient *mSIPClient{nullptr};                // Includes the SIP client
568
        TSIPClient *mSIPClient{nullptr};                // Includes the SIP client
566
#endif
569
#endif