Subversion Repositories tpanel

Rev

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

Rev 57 Rev 118
Line 93... Line 93...
93
#endif
93
#endif
94
    private:
94
    private:
95
        void addProgress();
95
        void addProgress();
96
        bool drawText(SkBitmap *img);
96
        bool drawText(SkBitmap *img);
97
        Button::POSITION_t calcImagePosition(int width, int height, Button::CENTER_CODE cc, int line);
97
        Button::POSITION_t calcImagePosition(int width, int height, Button::CENTER_CODE cc, int line);
98
        int calcLineHeight(std::string text, SkFont& font);
98
        int calcLineHeight(const std::string& text, SkFont& font);
99
        int numberLines(const std::string& str);
99
        int numberLines(const std::string& str);
100
 
100
 
101
        std::function<void (ulong handle, unsigned char *image, size_t size, size_t rowBytes, int width, int height, ulong color)> _setBackground{nullptr};
101
        std::function<void (ulong handle, unsigned char *image, size_t size, size_t rowBytes, int width, int height, ulong color)> _setBackground{nullptr};
102
        std::function<void (ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> _displayButton{nullptr};
102
        std::function<void (ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> _displayButton{nullptr};
103
        std::function<void (ulong handle)> _callDropPage{nullptr};
103
        std::function<void (ulong handle)> _callDropPage{nullptr};