A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 112 lines 3.9 kB view raw
1/*************************************************************************** 2 * __________ __ ___. 3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___ 4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / 5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < 6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ 7 * \/ \/ \/ \/ \/ 8 * $Id$ 9 * 10 * Copyright (C) 2007 Copyright Kévin 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 22 23#include "clock_bitmaps.h" 24 25/* bitmaps */ 26#include "pluginbitmaps/clock_binary.h" 27#include "pluginbitmaps/clock_digits.h" 28#include "pluginbitmaps/clock_smalldigits.h" 29#include "pluginbitmaps/clock_segments.h" 30#include "pluginbitmaps/clock_smallsegments.h" 31 32#include "pluginbitmaps/clock_logo.h" 33#include "pluginbitmaps/clock_messages.h" 34 35#if NB_SCREENS==2 36#include "pluginbitmaps/clock_binary_remote.h" 37#include "pluginbitmaps/clock_digits_remote.h" 38#include "pluginbitmaps/clock_smalldigits_remote.h" 39#include "pluginbitmaps/clock_segments_remote.h" 40#include "pluginbitmaps/clock_smallsegments_remote.h" 41 42#include "pluginbitmaps/clock_logo_remote.h" 43#include "pluginbitmaps/clock_messages_remote.h" 44 45#endif 46 47 48const struct picture logos[]={ 49 {clock_logo, BMPWIDTH_clock_logo, BMPHEIGHT_clock_logo, 50 BMPHEIGHT_clock_logo}, 51#if NB_SCREENS==2 52 {clock_logo_remote,BMPWIDTH_clock_logo_remote, 53 BMPHEIGHT_clock_logo_remote, BMPHEIGHT_clock_logo_remote} 54#endif 55}; 56 57const struct picture messages[]={ 58 {clock_messages,BMPWIDTH_clock_messages, BMPHEIGHT_clock_messages, 59 BMPHEIGHT_clock_messages/6}, 60#if NB_SCREENS==2 61 {clock_messages_remote,BMPWIDTH_clock_messages_remote, 62 BMPHEIGHT_clock_messages_remote, BMPHEIGHT_clock_messages_remote/6} 63#endif 64}; 65 66const struct picture binary[]={ 67 {clock_binary, BMPWIDTH_clock_binary, BMPHEIGHT_clock_binary, 68 BMPHEIGHT_clock_binary/2 }, 69#if NB_SCREENS==2 70 {clock_binary_remote, BMPWIDTH_clock_binary_remote, 71 BMPHEIGHT_clock_binary_remote, BMPHEIGHT_clock_binary_remote/2} 72#endif 73}; 74 75const struct picture digits[]={ 76 {clock_digits, BMPWIDTH_clock_digits, BMPHEIGHT_clock_digits, 77 BMPHEIGHT_clock_digits/13 }, 78#if NB_SCREENS==2 79 {clock_digits_remote, 80 BMPWIDTH_clock_digits_remote, BMPHEIGHT_clock_digits_remote, 81 BMPHEIGHT_clock_digits_remote/13} 82#endif 83}; 84 85const struct picture smalldigits[]={ 86 {clock_smalldigits, BMPWIDTH_clock_smalldigits, BMPHEIGHT_clock_smalldigits, 87 BMPHEIGHT_clock_smalldigits/13 }, 88#if NB_SCREENS==2 89 {clock_smalldigits_remote, BMPWIDTH_clock_smalldigits_remote, 90 BMPHEIGHT_clock_smalldigits_remote, 91 BMPHEIGHT_clock_smalldigits_remote/13} 92#endif 93}; 94 95const struct picture segments[]={ 96 {clock_segments, BMPWIDTH_clock_segments, BMPHEIGHT_clock_segments, 97 BMPHEIGHT_clock_segments/13 }, 98#if NB_SCREENS==2 99 {clock_segments_remote, BMPWIDTH_clock_segments_remote, 100 BMPHEIGHT_clock_segments_remote, BMPHEIGHT_clock_segments_remote/13} 101#endif 102}; 103 104const struct picture smallsegments[]={ 105 {clock_smallsegments, BMPWIDTH_clock_smallsegments, 106 BMPHEIGHT_clock_smallsegments, BMPHEIGHT_clock_smallsegments/13 }, 107#if NB_SCREENS==2 108 {clock_smallsegments_remote, BMPWIDTH_clock_smallsegments_remote, 109 BMPHEIGHT_clock_smallsegments_remote, 110 BMPHEIGHT_clock_smallsegments_remote/13} 111#endif 112};