📄 wgui_include_config.h
字号:
// wgui_include_config.h//// An intermediate header file for including the correct config header based on the OS////// Copyright (c) 2002 Rob Wiskow// rob-dev@boxedchaos.com//// This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.//// This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details.//// You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA//#ifndef _WGUI_INCLUDE_CONFIG_H_#define _WGUI_INCLUDE_CONFIG_H_#include <string>#ifdef WIN32 // For WIN32 compiling using Microsoft Visual C++ #include "wgui_win32_config.h" #ifndef DEBUG // Fixes the warnings from xtree in Release builds #pragma warning (disable : 4702) #endif // DEBUG #ifdef MSVC6 // Fixes for building in MS Visual C++ 6 #define min _MIN #define max _MAX #pragma warning (disable : 4786) #endif // MSVC6 #include <stdlib.h> // needed for the getenv() function // OS specific constants static const std::string GLOBAL_CONFIG_PATH = "c:\\program files\\common files\\wgui\\"; static const std::string USER_CONFIG_PATH = "c:\\documents and settings\\" + std::string(getenv("USERNAME")) + "\\application data\\wgui\\";#else // WIN32 // For builds using the GNU tools #include "wgui_config.h" // OS specific constants static const std::string GLOBAL_CONFIG_PATH = "/etc/wgui/"; static const std::string USER_CONFIG_PATH = "~/.wgui/";#endif // WIN32#endif // _WGUI_INCLUDE_CONFIG_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -