Files
veejay/veejay-current/veejay-server/libvje/effects/dices.h
[d.j.a.y] Jerome Blanchi 77dcde9342 Libvje / dices : add new "orientation" param(1)
* Orientation p1, permit to choose between left, down , right, up & random
dice orientation.

Nota : Random is the default choice for backward compatibility
2016-08-11 18:17:03 +02:00

28 lines
1015 B
C

/*
* Linux VeeJay
*
* Copyright(C)2002 Niels Elburg <nwelburg@gmail.com>
*
* 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 program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 , USA.
*/
#ifndef DICES_H
#define DICES_H
vj_effect *dices_init(int width, int height);
int dices_malloc(int w, int h);
void dices_free();
void dices_apply( void *data, VJFrame *frame, int cube_bits, int orientation);
#endif