Line 884... |
Line 884... |
884 |
void funcResource(const RESOURCE_T *resource, const std::string& url, BITMAP_CACHE bc, int instance);
|
884 |
void funcResource(const RESOURCE_T *resource, const std::string& url, BITMAP_CACHE bc, int instance);
|
885 |
void funcBattery(int level, bool charging, int chargeType);
|
885 |
void funcBattery(int level, bool charging, int chargeType);
|
886 |
void funcNetworkState(int level);
|
886 |
void funcNetworkState(int level);
|
887 |
|
887 |
|
888 |
private:
|
888 |
private:
|
889 |
/* typedef struct IMAGE_t
|
- |
|
890 |
{
|
- |
|
891 |
int number{0};
|
- |
|
892 |
SkBitmap imageMi;
|
- |
|
893 |
SkBitmap imageBm;
|
- |
|
894 |
|
- |
|
895 |
void clear()
|
- |
|
896 |
{
|
- |
|
897 |
number = 0;
|
- |
|
898 |
imageMi.reset();
|
- |
|
899 |
imageBm.reset();
|
- |
|
900 |
}
|
- |
|
901 |
}IMAGE_t;
|
- |
|
902 |
*/
|
- |
|
903 |
std::function<void (ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> _displayButton{nullptr};
|
889 |
std::function<void (ulong handle, ulong parent, unsigned char *buffer, int width, int height, int pixline, int left, int top)> _displayButton{nullptr};
|
904 |
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};
|
890 |
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};
|
905 |
|
891 |
|
906 |
POSITION_t calcImagePosition(int width, int height, CENTER_CODE cc, int number, int line = 0);
|
892 |
POSITION_t calcImagePosition(int width, int height, CENTER_CODE cc, int number, int line = 0);
|
907 |
IMAGE_SIZE_t calcImageSize(int imWidth, int imHeight, int instance, bool aspect=false);
|
893 |
IMAGE_SIZE_t calcImageSize(int imWidth, int imHeight, int instance, bool aspect=false);
|