| 1 |
/* gdkprivate-quartz.h |
| 2 |
* |
| 3 |
* Copyright (C) 2005-2007 Imendio AB |
| 4 |
* |
| 5 |
* This library is free software; you can redistribute it and/or |
| 6 |
* modify it under the terms of the GNU Lesser General Public |
| 7 |
* License as published by the Free Software Foundation; either |
| 8 |
* version 2 of the License, or (at your option) any later version. |
| 9 |
* |
| 10 |
* This library is distributed in the hope that it will be useful, |
| 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 |
* Lesser General Public License for more details. |
| 14 |
* |
| 15 |
* You should have received a copy of the GNU Lesser General Public |
| 16 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 17 |
*/ |
| 18 |
|
| 19 |
#ifndef __GDK_PRIVATE_QUARTZ_H__ |
| 20 |
#define __GDK_PRIVATE_QUARTZ_H__ |
| 21 |
|
| 22 |
|
| 23 |
#include <gdk/gdk.h> |
| 24 |
|
| 25 |
#include "gdkinternals.h" |
| 26 |
|
| 27 |
#include "config.h" |
| 28 |
|
| 29 |
#define GDK_WINDOW_IS_QUARTZ(win) (GDK_IS_WINDOW_IMPL_QUARTZ (((GdkWindow *)win)->impl)) |
| 30 |
/* Cairo surface widths must be 4-pixel byte aligned so that the image will transfer to the CPU. */ |
| 31 |
#define GDK_WINDOW_QUARTZ_ALIGNMENT 16 |
| 32 |
|
| 33 |
/* Display */ |
| 34 |
|
| 35 |
GdkDisplay * _gdk_quartz_display_open (const gchar *name); |
| 36 |
|
| 37 |
/* Window Impl */ |
| 38 |
void _gdk_quartz_unref_cairo_surface (GdkWindow *window); |
| 39 |
|
| 40 |
#endif /* __GDK_PRIVATE_QUARTZ_H__ */ |