fix typo in headers

This commit is contained in:
idea4good 2019-10-16 10:30:02 +08:00
parent 461c545711
commit 7c1c6632dd
3 changed files with 3 additions and 2 deletions

View File

@ -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:<br>![BuildInfo](doc/BuildInfo.png)
- Sync running data to cloud:<br>![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:

View File

@ -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; }

View File

@ -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;