From 2cd22c671c67deaf2c1fcb659e3262bf57552557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 3 Sep 2022 01:15:01 +0200 Subject: Add Preferences dialog (WIP). --- c/resource.rc | 71 ----------------------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 c/resource.rc (limited to 'c/resource.rc') diff --git a/c/resource.rc b/c/resource.rc deleted file mode 100644 index f25bb63..0000000 --- a/c/resource.rc +++ /dev/null @@ -1,71 +0,0 @@ -#include -#include "resource.h" - -CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "application.manifest" - -IDR_MENU MENU -BEGIN - POPUP "&File" - BEGIN - POPUP "&Fetch" - BEGIN - MENUITEM "&General Data", IDM_FILE_FETCH_DATA - MENUITEM "&Screenwriters", IDM_FILE_FETCH_SCREENWRITERS - MENUITEM "&Cancel", IDM_FILE_FETCH_CANCEL, GRAYED - END - MENUITEM "&Refresh", IDM_FILE_REFRESH - MENUITEM "E&xit", IDM_FILE_EXIT - END - POPUP "&View" - BEGIN - MENUITEM "&Watched", IDM_VIEW_WATCHED, CHECKED - MENUITEM "&TV Originals", IDM_VIEW_TV_ORIGINAL, CHECKED - MENUITEM "Other &Screenwriters", IDM_VIEW_OTHERS, CHECKED - END - POPUP "&Help" - BEGIN - MENUITEM "&About", IDM_FILE_ABOUT - END -END - -IDR_POPUPMENU MENU DISCARDABLE -BEGIN - POPUP "Episode Menu" - BEGIN - MENUITEM "&Watch Locally", IDM_WATCH_LOCALLY - MENUITEM "Watch &Online", IDM_WATCH_ONLINE - MENUITEM "&Toggle", IDM_TOGGLE - MENUITEM "Wi&ki", IDM_WIKI - POPUP "&Rate" - BEGIN - MENUITEM "&10", IDM_RATE10 - MENUITEM "&9", IDM_RATE9 - MENUITEM "&8", IDM_RATE8 - MENUITEM "&7", IDM_RATE7 - MENUITEM "&6", IDM_RATE6 - MENUITEM "&5", IDM_RATE5 - MENUITEM "&4", IDM_RATE4 - MENUITEM "&3", IDM_RATE3 - MENUITEM "&2", IDM_RATE2 - MENUITEM "&1", IDM_RATE1 - MENUITEM "&-", IDM_RATE0 - END - END -END - -#define VPAD 7 -#define HPAD 9 -#define ABOUTW 190 -#define ABOUTH 40 -#define OKW 48 -#define OKH 16 - -IDD_ABOUT DIALOGEX DISCARDABLE 20, 20, ABOUTW, ABOUTH -STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU -CAPTION "About" -FONT 8, "MS Shell Dlg 2" -BEGIN -DEFPUSHBUTTON "&OK", IDOK, ABOUTW-OKW-HPAD, ABOUTH-OKH-VPAD, OKW, OKH -LTEXT "Episode Browser\r\nCopyright 2021 John Ankarström", -IDC_ABOUTTEXT, HPAD, VPAD, ABOUTW-OKW-HPAD-HPAD, ABOUTH-VPAD -END \ No newline at end of file -- cgit v1.2.3