1 // ---------------------------------------------------------------------------- 2 // fldigi-config.h -- user configuration items for fldigi 3 // 4 // Copyright (C) 2006-2009 5 // Dave Freese, W1HKJ 6 // 7 // This file is part of fldigi. 8 // 9 // Fldigi is free software: you can redistribute it and/or modify 10 // it under the terms of the GNU General Public License as published by 11 // the Free Software Foundation, either version 3 of the License, or 12 // (at your option) any later version. 13 // 14 // Fldigi is distributed in the hope that it will be useful, 15 // but WITHOUT ANY WARRANTY; without even the implied warranty of 16 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 // GNU General Public License for more details. 18 // 19 // You should have received a copy of the GNU General Public License 20 // along with fldigi. If not, see <http://www.gnu.org/licenses/>. 21 // ---------------------------------------------------------------------------- 22 23 #ifndef FLDIGI_CONFIG_H 24 #define FLDIGI_CONFIG_H 25 26 //============================================================================= 27 // You can change the x1 width of the waterfall / spectrum display by modifying this 28 // constant. 29 // Suggest that you make the value a multiple of 100. 30 // DO NOT EXCEED 4000 31 // The larger the number the greater the cpu load will be for creating the 32 // waterfall display 33 // 34 // Setting the DEFAULT_IMAGE_WIDTH to 3200 will size the x1 waterfall to be 35 // 800 pixels wide. The x1 waterfall size is always DEFAULT_IMAGE_WIDTH / 4 36 // and the minimum width of main display would then be 37 // 38 // DEFAULT_IMAGE_WIDTH / 4 + 2 * BEZEL + 2 * DEFAULT_SW 39 // 40 // where BEZEL is set to 2 (border around the waterfall), and 41 // DEFAULT_SW is the width of the signal level and squelch controls 42 43 #define DEFAULT_IMAGE_WIDTH 3000 44 //============================================================================= 45 46 // widget sizes internal to the waterfall widget 47 #define BEZEL 2 48 #define WFTEXT 10 49 #define WFSCALE 10 50 #define WFMARKER 6 51 #define BTN_HEIGHT 20 52 53 #define DEFAULT_SW 16 54 //#define DEFAULT_HWFALL 144 55 #define DEFAULT_HWFALL 124 56 //#define DEFAULT_HNOM 500 57 #define WMIN 800 58 #define HMIN 460 59 //#define Wwfall (DEFAULT_HNOM + 2 * BEZEL) 60 //#define DEFAULT_WNOM (Wwfall + 2* DEFAULT_SW) 61 62 //#define EMC_HWFALL 144 63 //#define EMC_HNOM 500 64 //#define EMC_WNOM (500 + 2 * DEFAULT_SW + 2 * BEZEL) 65 66 extern int IMAGE_WIDTH; 67 extern int Hwfall; 68 extern int HNOM; 69 extern int WNOM; 70 extern int Wwfall; 71 extern int Haqsoframe; 72 extern int Hmenu; 73 extern int Hstatus; 74 extern int Hmacros; 75 76 //#define Htext (DEFAULT_HNOM - 4 - Hwfall - Hmenu - Hstatus - Hmacros - Hqsoframe) 77 //#define Hrcvtxt (Htext) / 2 78 //#define Hxmttxt (Htext - (Hrcvtxt)) 79 80 #define Wmode 110 81 #define Ws2n 110 82 #define Wimd 110 83 #define Wwarn 16 84 #define bwTxLevel 120 85 #define bwAfcOnOff 60 86 #define bwSqlOnOff 60 87 #define bwPwrSqlOnOff 60 88 89 #define Wstatus (WNOM - Wmode - Ws2n - Wimd - bwAfcOnOff - bwSqlOnOff - bwPwrSqlOnOff - Wwarn) 90 91 #define SCOPEWIN_MIN_WIDTH 48 92 #define SCOPEWIN_MIN_HEIGHT 48 93 94 #endif // FLDIGI_CONFIG_H 95