A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita
audio
rust
zig
deno
mpris
rockbox
mpd
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2005 by Kevin Ferrare
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#include "button.h"
22#include "config.h"
23
24#ifdef HAVE_QUICKSCREEN
25
26#ifndef _GUI_QUICKSCREEN_H_
27#define _GUI_QUICKSCREEN_H_
28
29#include "screen_access.h"
30
31enum quickscreen_item {
32 QUICKSCREEN_TOP = 0,
33 QUICKSCREEN_LEFT,
34 QUICKSCREEN_RIGHT,
35 QUICKSCREEN_BOTTOM,
36 QUICKSCREEN_ITEM_COUNT,
37};
38
39enum quickscreen_return {
40 QUICKSCREEN_OK = 0,
41 QUICKSCREEN_IN_USB = 0x1,
42 QUICKSCREEN_GOTO_SHORTCUTS_MENU = 0x2,
43 QUICKSCREEN_CHANGED = 0x4,
44};
45
46struct gui_quickscreen
47{
48 const struct settings_list *items[QUICKSCREEN_ITEM_COUNT];
49};
50
51extern int quick_screen_quick(int button_enter);
52int quickscreen_set_option(void *data);
53bool is_setting_quickscreenable(const struct settings_list *setting);
54
55#endif /*_GUI_QUICK_SCREEN_H_*/
56#endif /* HAVE_QUICKSCREEN */