Line 94... |
Line 94... |
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(std::string text, SkFont& font);
|
99 |
std::vector<std::string> splitLine(const std::string& str, int width, int height, SkFont& font, SkPaint& paint);
|
- |
|
100 |
int numberLines(const std::string& str);
|
99 |
int numberLines(const std::string& str);
|
101 |
|
100 |
|
102 |
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};
|
103 |
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};
|
104 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|
103 |
std::function<void (ulong handle)> _callDropPage{nullptr};
|