diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/main.c | 8 | ||||
-rw-r--r-- | c/resource.h | 1 | ||||
-rw-r--r-- | c/resource.rc | 1 |
3 files changed, 10 insertions, 0 deletions
@@ -212,6 +212,14 @@ WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) case IDM_FILE_RESET: ElvSelectRecent(); break; + case IDM_FILE_FETCH: + { + term_t t; + t = T(0); + P("episode_data","fetch_episode_data",0,t); + ElvUpdate(); + break; + } case IDM_FILE_ABOUT: DialogBox( GetModuleHandle(NULL), diff --git a/c/resource.h b/c/resource.h index c251144..b31a3cf 100644 --- a/c/resource.h +++ b/c/resource.h @@ -11,6 +11,7 @@ #define IDM_FILE_EXIT 401 #define IDM_FILE_REFRESH 402 #define IDM_FILE_RESET 403 +#define IDM_FILE_FETCH 404 #define IDM_FILE_ABOUT 411 #define IDM_VIEW_WATCHED 421 #define IDM_VIEW_TV_ORIGINAL 422 diff --git a/c/resource.rc b/c/resource.rc index 6a73e01..94f2ff2 100644 --- a/c/resource.rc +++ b/c/resource.rc @@ -7,6 +7,7 @@ IDR_MENU MENU BEGIN POPUP "&File" BEGIN + MENUITEM "&Fetch", IDM_FILE_FETCH MENUITEM "&Refresh", IDM_FILE_REFRESH MENUITEM "Re&set", IDM_FILE_RESET MENUITEM "E&xit", IDM_FILE_EXIT |