]> Pileus Git - ~andy/gtk/blob - gdk/quartz/gdkquartzutils.h
quartz: use already existing current_button_state variable
[~andy/gtk] / gdk / quartz / gdkquartzutils.h
1 /* gdkquartzutils.h
2  *
3  * Copyright (C) 2005  Imendio AB
4  * Copyright (C) 2010  Kristian Rietveld  <kris@gtk.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #if !defined (__GDKQUARTZ_H_INSIDE__) && !defined (GDK_COMPILATION)
23 #error "Only <gdk/gdkquartz.h> can be included directly."
24 #endif
25
26 #ifndef __GDK_QUARTZ_UTILS_H__
27 #define __GDK_QUARTZ_UTILS_H__
28
29 #include <gdk/gdk.h>
30
31 G_BEGIN_DECLS
32
33 NSImage  *gdk_quartz_pixbuf_to_ns_image_libgtk_only             (GdkPixbuf      *pixbuf);
34 NSEvent  *gdk_quartz_event_get_nsevent                          (GdkEvent       *event);
35
36 G_END_DECLS
37
38 #endif /* __GDK_QUARTZ_UTILS_H__ */