diff --git a/hello b/hello index 1d7b657..8e18428 100755 Binary files a/hello and b/hello differ diff --git a/hello.c b/hello.c index bb59181..a7a8285 100644 --- a/hello.c +++ b/hello.c @@ -162,7 +162,10 @@ static void redraw(void) meow_ui_flush(); return; } - meow_ui_clear(th->bg); + /* inset:只清「状态栏之下」内容区(top sb px 保留给系统状态栏——由 launcher 进程叠加绘制; + * App 进程不渲染状态栏、也不冲掉它)。非全屏时 App 内容只在 y>=sb。 */ + if (sb > 0) meow_ui_fill_rect(0, sb, 480, 720 - sb, th->bg); + else meow_ui_clear(th->bg); meow_ui_text_center(240, sb + 8, "MEOWOS HELLO", 28, th->fg); meow_ui_text_center(240, sb + 38, "SDK: meow_ui.a", 20, th->dim); meow_widget_draw(g_btn);