gambas-source-code/main/lib/draw/cpaint.h
Benoît Minisini 774baa91f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not apply the new DrawingArea.Painted property.

[GB.DRAW]
* NEW: The new Paint interface is now completed. Only its text part is
  rudimentary at the moment.

[GB.QT4]
* NEW: The Paint interface has been implemented on the following classes:
  Picture, Image, DrawingArea.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:19:27 +00:00

42 lines
1.2 KiB
C

/***************************************************************************
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"
#include "gb.paint.h"
#ifndef __CPAINT_C
extern GB_DESC PaintExtentsDesc[];
extern GB_DESC PaintMatrixDesc[];
extern GB_DESC PaintBrushDesc[];
extern GB_DESC PaintDesc[];
#endif
GB_PAINT *PAINT_get_current();
bool PAINT_begin(void *device);
void PAINT_end();
#endif