📄 mshell_resource.h
字号:
/* * mShell * Copyright 2006, Julien Lecomte * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be held liable for any damages arising from the * use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software in a * product, an acknowledgment in the product documentation would be appreciated * but is not required. * 2. Altered source versions must be plainly marked as such, and must not * be misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution. * * $Id: mshell_resource.h,v 1.5 2006/04/06 14:45:12 julienlecomte Exp $ */#ifndef _RESOURCE_H#define _RESOURCE_H/* icons */#define ICO_MSHELL 1#define ICO_MINGW32 2#define ICO_MSYS 3/* bitmaps */#define BMP_SETTINGS 1#define ID_NONE 99/* 'real' dialogs */#define DLG_NEWSHELL 100# define BTN_MINGW 100# define BTN_MSYS 101# define CMB_SHELL 103# define TAB_PREFS 104#define DLG_ABOUT 101# define ID_DLG_VERS 100# define ID_DLG_LIC 101# define ID_DLG_ICON 102/* tab dialogs */#define TAB_ENVIRON 200# define ID_ENV_INHERIT 100# define ID_ENV_INHPATH 101# define ID_ENV_INHHOME 102# define ID_ENV_USERHOME 103#define ID_MDI_CHILD_0 1000/* Menu items */#define MENU_MAIN 100#define MENU_FILE_NEW_WND 101#define MENU_FILE_PREV_WND 102#define MENU_FILE_NEXT_WND 103#define MENU_FILE_CLOSE_WND 104#define MENU_FILE_EXIT 105#define MENU_EDIT_CUT 120#define MENU_EDIT_COPY 121#define MENU_EDIT_PASTE 122#define MENU_WND_TILEH 140#define MENU_WND_TILEV 141#define MENU_WND_CASCADE 142#define MENU_HELP_ABOUT 160/* Static non-i18n strings */#define STR_MSHELL TEXT(PACKAGE_NAME)#define STR_MINGW TEXT("MinGW")#define STR_MSYS TEXT("mSys")#define STR_ENVIRON TEXT("Env.")/* Static strings that should not be i18n'ed * These are actually ENV strings */#define STR_ENV_MSYSTEM TEXT("MSYSTEM")#define STR_ENV_MINGW TEXT("MINGW32")#define STR_ENV_MSYS TEXT("MSYS")#define STR_ENV_HOME TEXT("HOME")#define STR_ENV_USRPROF TEXT("USERPROFILE")#define STR_ENV_PATH TEXT("PATH")/* This are 'precious' environment strings */#define STR_ENV_TMP TEXT("TMP")#define STR_ENV_TEMP TEXT("TEMP")#define STR_ENV_SYSROOT TEXT("SYSTEMROOT")/* Possible i18n strings */#define STRTBL_LICENSE 2/* constants */#define CLR_TRANSPARENT RGB(0xFF,0,0xFF)#define CX_ICON 16 /* default small icon */#define CY_ICON 16 /* default small icon */#ifdef HAVE_CONFIG_H# define PATH_ICON_MSHELL "res/ico/mshell.ico"# define PATH_ICON_MINGW32 "res/ico/mingw32.ico"# define PATH_ICON_MSYS "res/ico/msys.ico"# define PATH_BMP_SETTINGS "res/bmp/settings-24.bmp"#else /* This is an IDE */# define PATH_ICON_MSHELL "../src/res/ico/mshell.ico"# define PATH_ICON_MINGW32 "../src/res/ico/mingw32.ico"# define PATH_ICON_MSYS "../src/res/ico/msys.ico"# define PATH_BMP_SETTINGS "../src/res/bmp/settings-24.bmp"#endif#endif /* !_RESOURCE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -