2 /***************************************************************************
4 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
5 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
6 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
7 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
11 * Copyright (C) 2008 by Jonathan Gordon
13 * All files in this archive are subject to the GNU General Public License.
14 * See the file COPYING in the source tree root for full license agreement.
16 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
17 * KIND, either express or implied.
19 ****************************************************************************/
27 #include "screen_access.h"
29 /* return the number of text lines in the vp viewport */
30 int viewport_get_nb_lines(struct viewport
*vp
);
33 #define VP_DIMENSIONS 0x1
35 #define VP_SELECTIONCOLORS 0x4
36 /* load a viewport struct from a config string.
37 returns a combination of the above to say which were loaded ok from the string */
38 int viewport_load_config(const char *config
, struct viewport
*vp
);
40 void viewport_set_defaults(struct viewport
*vp
, enum screen_type screen
);