Move language resources to a separate file. Only build and include langs when buildin...
[Rockbox.git] / apps / menus / eq_menu.h
blobcc73d7bff09246c8e9def1b7768fce0d4be04211
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: eq_menu.h 10888 2006-09-05 11:48:17Z dan $
10 * Copyright (C) 2006 Dan Everton
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef _EQ_MENU_H
20 #define _EQ_MENU_H
22 #include "menu.h"
23 #include "config.h"
24 /* Various user interface limits and sizes */
25 #define EQ_CUTOFF_MIN 20
26 #define EQ_CUTOFF_MAX 22040
27 #define EQ_CUTOFF_STEP 10
28 #define EQ_CUTOFF_FAST_STEP 100
29 #define EQ_GAIN_MIN (-240)
30 #define EQ_GAIN_MAX 240
31 #define EQ_GAIN_STEP 5
32 #define EQ_GAIN_FAST_STEP 10
33 #define EQ_Q_MIN 5
34 #define EQ_Q_MAX 64
35 #define EQ_Q_STEP 1
36 #define EQ_Q_FAST_STEP 10
38 #define EQ_USER_DIVISOR 10
40 bool eq_browse_presets(void);
41 bool eq_menu_graphical(void);
43 /* utility functions for settings_list.c */
44 void eq_q_format(char* buffer, size_t buffer_size, int value, const char* unit);
45 void eq_precut_format(char* buffer, size_t buffer_size, int value, const char* unit);
47 #endif