rockbox/apps/plugins/clock/clock_bitmaps.c

108 lines
3.3 KiB
C
Raw Normal View History

/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright (C) 2007 Copyright Kévin Ferrare
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#include "clock_bitmaps.h"
/* bitmaps */
#include "pluginbitmaps/clock_binary.h"
#include "pluginbitmaps/clock_digits.h"
#include "pluginbitmaps/clock_smalldigits.h"
#include "pluginbitmaps/clock_segments.h"
#include "pluginbitmaps/clock_smallsegments.h"
#include "pluginbitmaps/clock_logo.h"
#include "pluginbitmaps/clock_messages.h"
#if NB_SCREENS==2
#include "pluginbitmaps/clock_binary_remote.h"
#include "pluginbitmaps/clock_digits_remote.h"
#include "pluginbitmaps/clock_smalldigits_remote.h"
#include "pluginbitmaps/clock_segments_remote.h"
#include "pluginbitmaps/clock_smallsegments_remote.h"
#include "pluginbitmaps/clock_logo_remote.h"
#include "pluginbitmaps/clock_messages_remote.h"
#endif
const struct picture logos[]={
{clock_logo, BMPWIDTH_clock_logo, BMPHEIGHT_clock_logo},
#if NB_SCREENS==2
{clock_logo_remote,BMPWIDTH_clock_logo_remote,BMPHEIGHT_clock_logo_remote}
#endif
};
const struct picture messages[]={
{clock_messages,BMPWIDTH_clock_messages,
BMPHEIGHT_clock_messages/6},
#if NB_SCREENS==2
{clock_messages_remote,BMPWIDTH_clock_messages_remote,
BMPHEIGHT_clock_messages_remote/6}
#endif
};
const struct picture binary[]={
{clock_binary,
BMPWIDTH_clock_binary, BMPHEIGHT_clock_binary/2 },
#if NB_SCREENS==2
{clock_binary_remote,
BMPWIDTH_clock_binary_remote,BMPHEIGHT_clock_binary_remote/2}
#endif
};
const struct picture digits[]={
{clock_digits,
BMPWIDTH_clock_digits, BMPHEIGHT_clock_digits/13 },
#if NB_SCREENS==2
{clock_digits_remote,
BMPWIDTH_clock_digits_remote,BMPHEIGHT_clock_digits_remote/13}
#endif
};
const struct picture smalldigits[]={
{clock_smalldigits,
BMPWIDTH_clock_smalldigits, BMPHEIGHT_clock_smalldigits/13 },
#if NB_SCREENS==2
{clock_smalldigits_remote,
BMPWIDTH_clock_smalldigits_remote,BMPHEIGHT_clock_smalldigits_remote/13}
#endif
};
const struct picture segments[]={
{clock_segments,
BMPWIDTH_clock_segments, BMPHEIGHT_clock_segments/13 },
#if NB_SCREENS==2
{clock_segments_remote,
BMPWIDTH_clock_segments_remote,BMPHEIGHT_clock_segments_remote/13}
#endif
};
const struct picture smallsegments[]={
{clock_smallsegments,
BMPWIDTH_clock_smallsegments, BMPHEIGHT_clock_smallsegments/13 },
#if NB_SCREENS==2
{clock_smallsegments_remote,
BMPWIDTH_clock_smallsegments_remote,BMPHEIGHT_clock_smallsegments_remote/13}
#endif
};