MApp_Menu.c
ZUI_exefunc.h
//菜单属性
MApp_ZUI_APItables.h
#define GETWNDINFO(hwnd) (&g_GUI_WindowList[hwnd])
#define GETWNDINITRECT(hwnd) (g_GUI_WindowPositionList[hwnd].rect)
MApp_ZUI_APIcontrols.c
MApp_ZUI_API_DefaultWindowProc()
win API及消息
MApp_ZUI_APIwindow.c/MApp_ZUI_APIwindow.h
MApp_ZUI_API_InvalidateRect()
MApp_ZUI_API_InvalidateWindow()
//非UI调用UI
MApp_ZUI_Main.c/MApp_ZUI_Main.c
MApp_ZUI_ProcessKey()
MApp_ZUI_MainTask()
_MApp_ZUI_API_WindowProcOnTimer()
MApp_ZUI_GetActiveOSD()
MApp_ZUI_ACT_ShutdownOSD()
MApp_ZUI_ACT_ExecuteWndAction()
MApp_TV.c
_appMonitor_Command()
_appMenu_CommandRcv()
void absSendMessage(void)
{
AppCommand stCmd;
stCmd.eCmd = E_APP_CMD_STARTUP_ABS_MENU;
stCmd.eSrcAppType = E_APP_TYPE_ZAPPER;
stCmd.eDstAppType = E_APP_TYPE_MENU;
stCmd.eFlg = E_APP_CMDFLG_NONE;//E_APP_CMDFLG_SYNC;
appMain_RecvNotify(&stCmd); //投递消息
}
1、菜单枚举“OSDTbl_h.inl”
typedef enum
{
E_OSD_EMPTY,
E_OSD_MAIN_MENU,
E_OSD_CHANNEL_INFO,
E_OSD_INPUT_SOURCE,
E_OSD_CHANNEL_LIST,
E_OSD_AUDIO_LANGUAGE,
E_OSD_INSTALL_GUIDE,
E_OSD_AUDIO_VOLUME,
E_OSD_HOTKEY_OPTION,
E_OSD_MESSAGE_BOX,
E_OSD_EPG,
E_OSD_FACTORY_MENU,
E_OSD_DMP,
E_OSD_EXPERT_MENU,
E_OSD_SERVICE_MENU,
E_OSD_GUEST_MENU,
E_OSD_HOTEL_MENU,
E_OSD_MAX,
} E_OSD_ID;
2.菜单属性:
MSTAR_wndproc_h.inl
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)