1 /* 2 * This program is free software; you can redistribute it and/or 3 * modify it under the terms of the GNU General Public License as 4 * published by the Free Software Foundation; either version 3 of 5 * the License, or (at your option) any later version. 6 * 7 * This program is distributed in the hope that it will be useful, 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * GNU General Public License for more details: 11 * 12 * http://www.gnu.org/copyleft/gpl.txt 13 */ 14 15 #ifndef DISPLAY_H 16 #define DISPLAY_H 1 17 18 #include "common.h" 19 #include "decode.h" 20 21 /* Length and multiplier of amplitude averaging window */ 22 #define AMPL_AVE_WIN 3 23 #define AMPL_AVE_MUL 2 24 25 /* Some colors used in plotting */ 26 #define RGB_GREEN 0.0, 1.0, 0.0 27 #define RGB_BACKGND 0.0, 0.2, 0.0 28 #define RGB_WHITE 1.0, 1.0, 1.0 29 30 #define CAIRO_LINE_WIDTH 1.5 31 32 /* Scale FFT output bins */ 33 #define IFFT_SCALE 64 34 35 #endif 36 37