set svn:keywords property
[kugel-rb.git] / apps / plugins / lib / picture.h
blob0013489039a78ec7eb54fae303adee7704a2b65e
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2007 Copyright Kévin Ferrare
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.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #ifndef _PICTURE_
23 #define _PICTURE_
24 #include "plugin.h"
26 struct picture{
27 const void* data;
28 int width;
29 int height;
32 void picture_draw(struct screen* display, const struct picture* picture,
33 int x, int y);
35 void vertical_picture_draw_part(struct screen* display, const struct picture* picture,
36 int yoffset,
37 int x, int y);
39 void vertical_picture_draw_sprite(struct screen* display, const struct picture* picture,
40 int sprite_no,
41 int x, int y);
42 #endif