/*
Copyright (c) 2007-2013, John Ryland
*/
#ifndef __MENUS_H__
#define __MENUS_H__
#include <menu.h>
MenuItem home_items[] =
{
{ "screen", "What's Up", DIALOG_ACTION, 0, 0 },
{ "communication", "Commnuication", SUB_MENU_ACTION, 0, 0 },
{ "www", "Web", SUB_MENU_ACTION, 2, 0 },
{ "music", "Music", SUB_MENU_ACTION, 3, 0 },
{ "photo", "Photo", SUB_MENU_ACTION, 4, 0 },
{ "video", "Video", SUB_MENU_ACTION, 5, 0 },
{ "text_editor", "Text", SUB_MENU_ACTION, 6, 0 },
{ "tools", "Tool", SUB_MENU_ACTION, 7, 0 }
};
Menu home_menu = { "home", "Home", home_items, sizeof(home_items)/sizeof(MenuItem), 0 };
MenuItem web_items[] =
{
{ "lastURL", "Last Page", APPLICATION_ACTION, 0, 0 },
{ "www_home", "Home Page", APPLICATION_ACTION, 0, 0 },
{ "bookmark", "Bookmarks", SUB_MENU_ACTION, 0, 0 },
{ "savedpage", "Saved Pages", SUB_MENU_ACTION, 0, 0 },
{ "inputURL", "Input Address", DIALOG_ACTION, 0, 0 },
{ "lastURL", "History", SUB_MENU_ACTION, 0, 0 }
};
Menu web_menu = { "www", "Web", web_items, sizeof(web_items)/sizeof(MenuItem), 0 };
MenuItem music_items[] =
{
{ "MS", "M.S.Duo", APPLICATION_ACTION, 0, 0 },
{ "drop_box", "Drop Box", APPLICATION_ACTION, 0, 0 },
{ "nowplaying", "Now Playing", SUB_MENU_ACTION, 0, 0 },
{ "allsongs", "All Tracks", SUB_MENU_ACTION, 0, 0 },
{ "my_playlist", "Playlists", DIALOG_ACTION, 0, 0 },
{ "music_folder", "Album / Artist / Song names ...", SUB_MENU_ACTION, 0, 0 }
};
Menu music_menu = { "music", "Music", music_items, sizeof(music_items)/sizeof(MenuItem), 0 };
MenuItem photo_items[] =
{
{ "MS", "M.S.Duo", APPLICATION_ACTION, 0, 0 },
{ "drop_box", "Drop Box", APPLICATION_ACTION, 0, 0 },
{ "photo_folder", "Photo Album / Folders ...", SUB_MENU_ACTION, 0, 0 }
};
Menu photo_menu = { "photo", "Photo", photo_items, sizeof(photo_items)/sizeof(MenuItem), 0 };
MenuItem video_items[] =
{
{ "MS", "M.S.Duo", APPLICATION_ACTION, 0, 0 },
{ "loading", "Video Loading", APPLICATION_ACTION, 0, 0 },
{ "loading", "Thumbnail after", SUB_MENU_ACTION, 0, 0 } // XXX
};
Menu video_menu = { "video", "Video", video_items, sizeof(video_items)/sizeof(MenuItem), 0 };
MenuItem text_items[] =
{
{ "new_text", "New", APPLICATION_ACTION, 0, 0 },
{ "MS", "M.S.Duo", APPLICATION_ACTION, 0, 0 },
{ "drop_box", "Drop Box", APPLICATION_ACTION, 0, 0 },
{ "text_editor", "Text File ...", APPLICATION_ACTION, 0, 0 }
};
Menu text_menu = { "text_editor", "Text", text_items, sizeof(text_items)/sizeof(MenuItem), 0 };
MenuItem tools_items[] =
{
{ "setting_spanner", "Settings", APPLICATION_ACTION, 0, 0 },
{ "setting_ad", "Connection Manager", APPLICATION_ACTION, 0, 0 },
{ "setting_cogwheel_1", "Hotspot Database", APPLICATION_ACTION, 0, 0 }, // XXX
{ "FileManager", "File Manager", APPLICATION_ACTION, 0, 0 },
{ "drop_box", "Drop Box", APPLICATION_ACTION, 0, 0 },
{ "system_update", "System Update", APPLICATION_ACTION, 0, 0 },
{ "system_info", "System Info", APPLICATION_ACTION, 0, 0 }
};
Menu tools_menu = { "tools", "Tools", tools_items, sizeof(tools_items)/sizeof(MenuItem), 0 };
Menu *menuArray[] =
{
0,
&home_menu, // 1
&web_menu, // 2
&music_menu, // 3
&photo_menu, // 4
&video_menu, // 5
&text_menu, // 6
&tools_menu // 7
};
#endif /* __MENUS_H__ */