add shell for merging GuiLite to 1 header & 1 cpp file

This commit is contained in:
idea4good
2019-08-19 15:26:36 +08:00
parent aa8c85c292
commit c9bbae7292
7 changed files with 88 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ void log_out(const char* log)
}
else
{
printf(log);
printf("%s", log);
fflush(stdout);
}
}

View File

@@ -30,7 +30,7 @@ void _assert(const char* file, int line)
memset(s_buf, 0, sizeof(s_buf));
sprintf_s(s_buf, sizeof(s_buf), "vvvvvvvvvvvvvvvvvvvvvvvvvvvv\n\nAssert@ file = %s, line = %d\n\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n", file, line);
OutputDebugStringA(s_buf);
printf(s_buf);
printf("%s", s_buf);
fflush(stdout);
assert(false);
}
@@ -44,7 +44,7 @@ void log_out(const char* log)
}
else
{
printf(log);
printf("%s", log);
fflush(stdout);
OutputDebugStringA(log);
}

View File

@@ -189,4 +189,4 @@ int c_display::snap_shot(const char* file_name)
int ret = build_bmp(file_name, width, height, (unsigned char*)p_bmp565_data);
delete []p_bmp565_data;
return ret;
}
}

View File

@@ -68,4 +68,4 @@ const unsigned int c_theme::get_color(COLOR_TYPE index)
return 0;
}
return s_color_map[index];
}
}