2007-08-04 03:01:46 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
2009-07-12 15:04:56 +00:00
|
|
|
* $Id$
|
2007-08-04 03:01:46 +00:00
|
|
|
*
|
2008-05-05 10:32:46 +00:00
|
|
|
* Copyright (C) 2007 Copyright Kévin Ferrare
|
2007-08-04 03:01:46 +00:00
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* 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.
|
2007-08-04 03:01:46 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
#include "clock_bitmaps.h"
|
|
|
|
|
|
|
|
/* bitmaps */
|
2008-11-20 11:27:31 +00:00
|
|
|
#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"
|
2007-08-04 03:01:46 +00:00
|
|
|
|
2008-11-20 11:27:31 +00:00
|
|
|
#include "pluginbitmaps/clock_logo.h"
|
|
|
|
#include "pluginbitmaps/clock_messages.h"
|
2007-08-04 03:01:46 +00:00
|
|
|
|
|
|
|
#if NB_SCREENS==2
|
2008-11-20 11:27:31 +00:00
|
|
|
#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"
|
2007-08-04 03:01:46 +00:00
|
|
|
|
2008-11-20 11:27:31 +00:00
|
|
|
#include "pluginbitmaps/clock_logo_remote.h"
|
|
|
|
#include "pluginbitmaps/clock_messages_remote.h"
|
2007-08-04 03:01:46 +00:00
|
|
|
|
|
|
|
#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
|
|
|
|
};
|