diff --git a/README.md b/README.md index 2c2e246..37f86a4 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ GuiLite is the smallest GUI library with 5000 lines of code, could run on **all ### IoT Solution & Code Telemetry - Report build activities to cloud:
![BuildInfo](doc/BuildInfo.png) - Sync running data to cloud:
![DataOnCloud](doc/data_on_cloud.png) +- ⚠️To stop telemetry, remove script files(e,g: sync_build.bat .sync.sh .sync_build.sh) *** ### Support Docker We build GuiLite demo as docker image, you can update/deploy/run the latest GuiLite demo on your device with single command below: diff --git a/core_include/display.h b/core_include/display.h index b3afbe2..847e7a3 100644 --- a/core_include/display.h +++ b/core_include/display.h @@ -13,7 +13,7 @@ public: unsigned int surface_width, unsigned int surface_height, unsigned int color_bytes, unsigned int surface_cnt, EXTERNAL_GFX_OP* gfx_op = 0); c_surface* alloc_surface(Z_ORDER_LEVEL max_zorder); - int swipe_surface(c_surface* s1, c_surface* s2, int x0, int x1, int y0, int y2, int offset); + int swipe_surface(c_surface* s0, c_surface* s1, int x0, int x1, int y0, int y2, int offset); unsigned int get_width() { return m_width; } unsigned int get_height() { return m_height; } diff --git a/widgets_include/table.h b/widgets_include/table.h index 2613178..065738f 100644 --- a/widgets_include/table.h +++ b/widgets_include/table.h @@ -22,7 +22,7 @@ public: unsigned int get_col_num(){ return m_col_num;} c_rect get_item_rect(int row, int col); protected: - void draw_item(int col, int row, const char* str, unsigned int color); + void draw_item(int row, int col, const char* str, unsigned int color); unsigned int m_align_type; unsigned int m_row_num;