sdk: 增量同步主仓新模块(box/anim/scroll/dispatch/listvirt/str/sb_icons/img)
subtree pull sdk 来自主仓 pub/sdk(主仓 commit 68ce46a 等)。新增: - 布局引擎 meow_ui_box / 动画基座 meow_ui_anim / 滚动物理 meow_ui_scroll - §6.4 事件分发形式化 / W_LISTVIEW 虚拟化多行 / meow_str 字符串资源 i18n - sb_icons 动作图标扩充 + topbar 位图图标 / meow_img_downscale - tools/ 图标生成脚本与 SVG 源 - 对应宿主 test_*.c 与 demo_box_scroll.c build_sdk.sh 冲突解析:保留公开仓自包含版(vendored meow_font + -Iinclude -I.), OBJS 手工并入 4 个新模块(meow_ui_box/anim/scroll/str)。保留 vendored meow_font.c/ meow_ipc.h/meow_font.h/meow_notif.h,剔除宿主测试二进制与编译产物。
This commit is contained in:
commit
4b094d62a5
56 files changed
+4327
-117
No files matched your search
@@ -27,10 +27,20 @@ _Static_assert(MEOW_THEME_DARK == 1, "theme dark");
|
||||
_Static_assert(MEOW_STYLE_MIUIX == 1, "style miuix");
|
||||
_Static_assert(MEOW_Z_TOP == 1000, "z top");
|
||||
_Static_assert(MEOW_TOPBAR_BACK == (-2), "topbar back");
|
||||
_Static_assert(MEOW_ICON_SETTINGS == 15 && MEOW_ICON_HEART == 29, "topbar icon idx 15..29");
|
||||
_Static_assert(MEOW_ICON_SKIP_PREV == 21 && MEOW_ICON_QUEUE_MUSIC == 27, "topbar icon order");
|
||||
_Static_assert(MEOW_SBAR_HOTZONE_FS == 4, "sbar hotzone fs");
|
||||
_Static_assert(MEOW_WS_PRESSED == (1u << 3), "ws pressed");
|
||||
_Static_assert(MEOW_BTN_ELEVATED == 4, "btn elevated");
|
||||
_Static_assert(MEOW_LAYOUT_BOX == 2, "layout box");
|
||||
/* §12.1 线性布局引擎 / §12.2 动画基座 / §12.3 滚动物理(新增模块,不改变既有值) */
|
||||
_Static_assert(MEOW_BOX_V == 1, "box dir v");
|
||||
_Static_assert(MEOW_BOX_WEIGHT == 1, "box size weight");
|
||||
_Static_assert(MEOW_BOX_WRAP == 2, "box size wrap");
|
||||
_Static_assert(MEOW_BOX_ALIGN_SPACE_BETWEEN == 3, "box align between");
|
||||
_Static_assert(MEOW_BOX_CROSS_STRETCH == 3, "box cross stretch");
|
||||
_Static_assert(MEOW_EASE_OVERSHOOT == 3, "ease overshoot");
|
||||
_Static_assert(MEOW_ANIM_MAX == 16, "anim pool");
|
||||
_Static_assert(MEOW_LIST_SEL_MULTI == 2, "list sel multi");
|
||||
_Static_assert(MEOW_NOTIFY_CAT_MEDIA == 5, "notify cat media");
|
||||
_Static_assert(MEOW_NOTIFY_URG_CRITICAL == 3, "notify urg critical");
|
||||
@@ -74,10 +84,19 @@ static void umbrella_smoke(void)
|
||||
(void)&meow_notify_send; (void)&meow_notify_category_str; (void)&meow_notify_update_progress;
|
||||
/* 配置(§9.2) */
|
||||
(void)&meow_config_dir; (void)&meow_config_int; (void)&meow_config_remove;
|
||||
/* 字符串资源/i18n(§13,追加式) */
|
||||
(void)&meow_str; (void)&meow_strf; (void)&meow_str_set_locale; (void)&meow_str_locale;
|
||||
/* 字体(§5.7/§10) */
|
||||
(void)&meow_font_enumerate; (void)&meow_font_tier; (void)&meow_font_select_by_id;
|
||||
/* 音频(§11) */
|
||||
(void)&meow_audio_open; (void)&meow_audio_query; (void)&meow_audio_on_preempt;
|
||||
/* §12.1 布局 / §12.2 动画 / §12.3 滚动 */
|
||||
(void)&meow_box_new; (void)&meow_box_arrange; (void)&meow_box_add;
|
||||
(void)&meow_box_add_sub; (void)&meow_widget_set_rect;
|
||||
(void)&meow_anim_start; (void)&meow_anim_cancel; (void)&meow_anim_tick;
|
||||
(void)&meow_ease_apply; (void)&meow_anim_set_region;
|
||||
(void)&meow_scroll_create; (void)&meow_scroll_wrap; (void)&meow_scroll_track;
|
||||
(void)&meow_scroll_fling; (void)&meow_scroll_velocity; (void)&meow_scroll_set_snap;
|
||||
}
|
||||
|
||||
/* 供宿主回归驱动直接调用;不链接本库也没关系(纯地址丢弃)。 */
|
||||
|
||||
Reference in new issue
Block a user