summaryrefslogtreecommitdiff
path: root/components/gui/example/resources.c
diff options
context:
space:
mode:
authorJasonJiaJie <[email protected]>2017-12-14 09:12:01 +0800
committerJasonJiaJie <[email protected]>2017-12-14 09:12:01 +0800
commita2a8e2eee02e30803d813eafdde21a53459c5af9 (patch)
tree48c9298e79df107ebbbf532091853c929a3944fd /components/gui/example/resources.c
parentbd4c90f61948810278b774a4ba1ad3440c7d1460 (diff)
parentb0f4ae246a7a0d958777e11ad2392f22f20a99e6 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'components/gui/example/resources.c')
-rw-r--r--components/gui/example/resources.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/components/gui/example/resources.c b/components/gui/example/resources.c
index 06c0e0fcae..99fd805c1d 100644
--- a/components/gui/example/resources.c
+++ b/components/gui/example/resources.c
@@ -1,4 +1,4 @@
-const static unsigned char _picture_png[] = {
+const unsigned char _picture_png[] = {
0x89,0x50,0x4e,0x47,0x0d,0x0a,0x1a,0x0a,0x00,0x00,0x00,0x0d,0x49,0x48,0x44,0x52,
0x00,0x00,0x00,0xbe,0x00,0x00,0x00,0x4a,0x08,0x06,0x00,0x00,0x00,0x05,0x77,0xee,
0x92,0x00,0x00,0x00,0x09,0x70,0x48,0x59,0x73,0x00,0x00,0x0b,0x13,0x00,0x00,0x0b,
@@ -1393,3 +1393,8 @@ const static unsigned char _picture_png[] = {
0x1f,0x00,0x4b,0xa8,0x7e,0x3f,0xd2,0x12,0x11,0x79,0x00,0x00,0x00,0x00,0x49,0x45,
0x4e,0x44,0xae,0x42,0x60,0x82,
};
+
+int _picture_png_length_get(void)
+{
+ return sizeof(_picture_png);
+}