5155796342
* BUG: Fix the custom browser support. * NEW: Add Chromimum to the list of browsers. [INTERPRETER] * NEW: GB.GetProperty() and GB.SetProperty() API now return TRUE when they have raised an error. FALSE is everything was ok. [GB.FORM.MDI] * NEW: Redesign the shortcuts configuration dialog. * NEW: Shortcuts now can be exported and imported. [GB.GTK] * BUG: DrawingArea: Clipping is correctly established now before raising the Draw event. * BUG: Keyboard events have been fixed. Key array accessor and Key.Code now behave the same way as in gb.qt4. * BUG: The Key.Meta property works correctly now. * BUG: Now keyboard events seem to be sent twice by GDK. Found a workaround for that new weird behaviour. * BUG: Automatic window minimum size now works correctly. * BUG: Windows can take focus as in gb.qt4. [GB.GUI.BASE] * BUG: GridView: Do not use Draw.Clip to preserve the clipping of the Draw event. Otherwise you get drawing artifacts with gb.gtk. * BUG: GridView: Setting the column width to -1 is taken into account by the layout routine. git-svn-id: svn://localhost/gambas/trunk@6306 867c0c6c-44f3-4631-809d-bfa615b0a4ec
49 lines
1.5 KiB
C
49 lines
1.5 KiB
C
/***************************************************************************
|
|
|
|
cpaint_impl.h
|
|
|
|
(c) 2000-2013 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., 51 Franklin Street, Fifth Floor, Boston,
|
|
MA 02110-1301, USA.
|
|
|
|
***************************************************************************/
|
|
|
|
#ifndef __CPAINT_IMPL_H
|
|
#define __CPAINT_IMPL_H
|
|
|
|
#include "gambas.h"
|
|
#include "gb.paint.h"
|
|
#include <gdk/gdk.h>
|
|
|
|
#ifndef __CPAINT_IMPL_C
|
|
|
|
extern GB_PAINT_DESC PAINT_Interface;
|
|
extern GB_PAINT_MATRIX_DESC PAINT_MATRIX_Interface;
|
|
|
|
#endif
|
|
|
|
void PAINT_begin(void *device);
|
|
void PAINT_end();
|
|
void PAINT_clip(int x, int y, int w, int h);
|
|
#ifndef GTK3
|
|
void PAINT_clip_region(GdkRegion *region);
|
|
#endif
|
|
cairo_t *PAINT_get_current_context();
|
|
void *PAINT_get_current_device();
|
|
bool PAINT_get_clip(int *x, int *y, int *w, int *h);
|
|
void PAINT_apply_offset(int *x, int *y);
|
|
|
|
#endif
|