2009-12-24 03:02:05 +01:00
|
|
|
/***************************************************************************
|
|
|
|
|
|
|
|
cpaint.h
|
|
|
|
|
|
|
|
(c) 2000-2009 Benoît Minisini <gambas@users.sourceforge.net>
|
|
|
|
|
|
|
|
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, 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef __CPAINT_H
|
|
|
|
#define __CPAINT_H
|
|
|
|
|
|
|
|
#include "gambas.h"
|
2009-12-24 16:09:08 +01:00
|
|
|
#include "gb.paint.h"
|
2009-12-24 03:02:05 +01:00
|
|
|
|
|
|
|
#ifndef __CPAINT_C
|
|
|
|
|
2009-12-24 16:09:08 +01:00
|
|
|
extern GB_DESC PaintExtentsDesc[];
|
2009-12-28 02:19:27 +01:00
|
|
|
extern GB_DESC PaintMatrixDesc[];
|
2009-12-24 16:09:08 +01:00
|
|
|
extern GB_DESC PaintBrushDesc[];
|
|
|
|
extern GB_DESC PaintDesc[];
|
2009-12-24 03:02:05 +01:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
GB_PAINT *PAINT_get_current();
|
2011-01-08 02:17:55 +01:00
|
|
|
GB_PAINT *PAINT_from_device(void *device);
|
2009-12-24 03:02:05 +01:00
|
|
|
bool PAINT_begin(void *device);
|
|
|
|
void PAINT_end();
|
2011-01-08 02:17:55 +01:00
|
|
|
bool PAINT_open(GB_PAINT *paint);
|
|
|
|
void PAINT_close(GB_PAINT *paint);
|
2009-12-24 03:02:05 +01:00
|
|
|
|
|
|
|
#endif
|