snow flurry
69476552e8
I wish I didn't end up doing this all at once, but ah well. Quick rundown: - CommonCfg contains config/registry functions shared between Grabby and GrbyCfg. - GrbyCfg provides a dialog for configuring Grabby. git-svn-id: svn://vcs.sdm.2ki.xyz/Grabby/trunk@16 27729192-006e-004d-b9b5-06fbd0ef7001
271 lines
7.5 KiB
Plaintext
271 lines
7.5 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
|
#include "windows.h"
|
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Japanese resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
|
|
#pragma code_page(932)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDI_GRBYCFG ICON "GrbyCfg.ico"
|
|
IDI_SMALL ICON "small.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
IDC_GRBYCFG MENU
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "E&xit", IDM_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About ...", IDM_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
IDC_GRBYCFG ACCELERATORS
|
|
BEGIN
|
|
"?", IDM_ABOUT, ASCII, ALT
|
|
"/", IDM_ABOUT, ASCII, ALT
|
|
END
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"#include ""windows.h""\r\n"
|
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_APP_TITLE "GrbyCfg"
|
|
IDC_GRBYCFG "GRBYCFG"
|
|
END
|
|
|
|
#endif // Japanese resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_GENCONFIG DIALOGEX 0, 0, 210, 206
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_BORDER
|
|
EXSTYLE WS_EX_CONTROLPARENT
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
|
BEGIN
|
|
GROUPBOX "Screenshot Folder",IDC_STATIC,7,7,196,52,WS_GROUP
|
|
EDITTEXT IDC_SCRNDIR,13,19,184,14,ES_AUTOHSCROLL
|
|
PUSHBUTTON "Browse...",IDC_SCRDIRBROWSE,147,39,50,14
|
|
CONTROL "Keep screenshots after upload",IDC_KEEPIMGS,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,13,39,114,14
|
|
GROUPBOX "Launch Helper",IDC_STATIC,7,65,196,57
|
|
LTEXT "Grabby is intended to be launched via a keyboard shortcut using a separate helper program. A basic helper is bundled.",
|
|
IDC_STATIC,13,77,184,25
|
|
CONTROL "Launch Helper on Startup",IDC_LAUNCHHELPER,"Button",
|
|
BS_AUTOCHECKBOX | WS_TABSTOP,13,106,184,10
|
|
GROUPBOX "Keyboard Shortcut",IDC_STATIC,7,128,196,71
|
|
LTEXT "When the Launch Helper is running, take a screenshot with:",
|
|
IDC_STATIC,13,140,184,16
|
|
CONTROL "Win+Shift+4 (Mac)",IDC_RDMAC,"Button",
|
|
BS_AUTORADIOBUTTON | WS_GROUP,13,163,77,10
|
|
CONTROL "Win+Shift+S (Win10)",IDC_RDWIN,"Button",
|
|
BS_AUTORADIOBUTTON,96,163,101,10
|
|
CONTROL "Custom",IDC_RDCUSTOM,"Button",BS_AUTORADIOBUTTON,13,175,
|
|
77,14
|
|
EDITTEXT IDC_CUSTOMKEY,96,175,101,14,ES_AUTOHSCROLL | WS_GROUP
|
|
END
|
|
|
|
IDD_UPLOADCONFIG DIALOGEX 0, 0, 210, 154
|
|
STYLE DS_SETFONT | DS_FIXEDSYS | DS_CONTROL | WS_CHILD | WS_BORDER
|
|
EXSTYLE WS_EX_CONTROLPARENT
|
|
FONT 8, "MS Shell Dlg", 0, 0, 0x0
|
|
BEGIN
|
|
GROUPBOX "Uploader",IDC_STATIC,7,7,196,88
|
|
LTEXT "Enter the URL to use. Use ""%f"" to represent the filename, if it should be included in the URL.",
|
|
IDC_STATIC,11,19,186,17
|
|
EDITTEXT IDC_URLINPUT,13,43,184,12,ES_AUTOHSCROLL
|
|
CONTROL "Encode filename in URL (for query parameters)",
|
|
IDC_ENCODEFILE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,
|
|
61,166,10
|
|
LTEXT "HTTP method to use:",IDC_STATIC,13,77,68,12,
|
|
SS_CENTERIMAGE
|
|
COMBOBOX IDC_UPLOADMETHOD,87,77,110,30,CBS_DROPDOWNLIST |
|
|
CBS_SORT | CBS_UPPERCASE | WS_VSCROLL | WS_TABSTOP
|
|
GROUPBOX "Authentication",IDC_STATIC,7,101,196,40
|
|
END
|
|
|
|
IDD_CONFIGDIALOG DIALOGEX 0, 0, 234, 254
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
|
|
WS_SYSMENU
|
|
CAPTION "Options"
|
|
FONT 8, "MS Shell Dlg", 400, 0, 0x1
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,65,233,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,121,233,50,14
|
|
CONTROL "",IDC_TABVIEW,"SysTabControl32",0x0,7,7,220,220
|
|
PUSHBUTTON "Apply",IDC_APPLY,177,233,50,14,WS_DISABLED
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_GENCONFIG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 203
|
|
VERTGUIDE, 13
|
|
VERTGUIDE, 90
|
|
VERTGUIDE, 96
|
|
VERTGUIDE, 197
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 199
|
|
HORZGUIDE, 19
|
|
HORZGUIDE, 33
|
|
HORZGUIDE, 39
|
|
HORZGUIDE, 53
|
|
HORZGUIDE, 59
|
|
HORZGUIDE, 65
|
|
HORZGUIDE, 77
|
|
HORZGUIDE, 102
|
|
HORZGUIDE, 106
|
|
HORZGUIDE, 122
|
|
HORZGUIDE, 128
|
|
HORZGUIDE, 140
|
|
HORZGUIDE, 156
|
|
HORZGUIDE, 163
|
|
HORZGUIDE, 173
|
|
HORZGUIDE, 193
|
|
HORZGUIDE, 199
|
|
END
|
|
|
|
IDD_UPLOADCONFIG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 203
|
|
VERTGUIDE, 13
|
|
VERTGUIDE, 81
|
|
VERTGUIDE, 87
|
|
VERTGUIDE, 197
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 147
|
|
HORZGUIDE, 19
|
|
HORZGUIDE, 36
|
|
HORZGUIDE, 43
|
|
HORZGUIDE, 61
|
|
HORZGUIDE, 71
|
|
HORZGUIDE, 77
|
|
HORZGUIDE, 89
|
|
HORZGUIDE, 95
|
|
HORZGUIDE, 101
|
|
END
|
|
|
|
IDD_CONFIGDIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 227
|
|
VERTGUIDE, 115
|
|
VERTGUIDE, 121
|
|
VERTGUIDE, 171
|
|
VERTGUIDE, 177
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 247
|
|
HORZGUIDE, 227
|
|
HORZGUIDE, 233
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|