Subversion Repositories tpanel

Rev

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

Rev 54 Rev 57
Line 151... Line 151...
151
        std::function<void (ulong handle)> _callDropSubPage{nullptr};
151
        std::function<void (ulong handle)> _callDropSubPage{nullptr};
152
        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};
152
        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};
153
 
153
 
154
        bool drawText(SkBitmap *img);
154
        bool drawText(SkBitmap *img);
155
        int numberLines(const std::string& str);
155
        int numberLines(const std::string& str);
156
        std::vector<std::string> splitLine(const std::string& str, int width, int height, SkFont& font, SkPaint& paint);
-
 
157
        int calcLineHeight(std::string text, SkFont& font);
156
        int calcLineHeight(std::string text, SkFont& font);
158
        Button::POSITION_t calcImagePosition(int width, int height, Button::CENTER_CODE cc, int line);
157
        Button::POSITION_t calcImagePosition(int width, int height, Button::CENTER_CODE cc, int line);
159
 
158
 
160
        bool mVisible{false};                   // TRUE = subpage is visible
159
        bool mVisible{false};                   // TRUE = subpage is visible
161
        std::string mFName;                     // The file name of the page
160
        std::string mFName;                     // The file name of the page