mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-10-15 18:55:09 +08:00
add shell for merging GuiLite to 1 header & 1 cpp file
This commit is contained in:
@@ -46,7 +46,7 @@ void log_out(const char* log)
|
||||
}
|
||||
else
|
||||
{
|
||||
printf(log);
|
||||
printf("%s", log);
|
||||
fflush(stdout);
|
||||
}
|
||||
}
|
||||
|
@@ -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);
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -68,4 +68,4 @@ const unsigned int c_theme::get_color(COLOR_TYPE index)
|
||||
return 0;
|
||||
}
|
||||
return s_color_map[index];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user