2009-12-24 03:02:05 +01:00
|
|
|
/***************************************************************************
|
|
|
|
|
|
|
|
cpaint.h
|
|
|
|
|
2013-08-03 17:38:01 +02:00
|
|
|
(c) 2000-2013 Benoît Minisini <gambas@users.sourceforge.net>
|
2009-12-24 03:02:05 +01: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, 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
|
2011-06-03 02:51:09 +02:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
2011-12-31 03:39:20 +01:00
|
|
|
MA 02110-1301, USA.
|
2009-12-24 03:02:05 +01:00
|
|
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#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();
|
2012-11-27 19:42:24 +01:00
|
|
|
void *PAINT_get_current_device();
|
2011-01-08 02:17:55 +01:00
|
|
|
GB_PAINT *PAINT_from_device(void *device);
|
2014-10-10 21:23:44 +02:00
|
|
|
bool PAINT_is_painted(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
|