~ubuntu-branches/ubuntu/gutsy/gtkglext/gutsy

« back to all changes in this revision

Viewing changes to gdk/x11/gdkgloverlay-x11.h

  • Committer: Bazaar Package Importer
  • Author(s): Marcelo E. Magallon
  • Date: 2004-04-03 17:43:17 UTC
  • Revision ID: james.westby@ubuntu.com-20040403174317-d5gb2d2gftaligp8
Tags: upstream-1.0.6
ImportĀ upstreamĀ versionĀ 1.0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GdkGLExt - OpenGL Extension to GDK
 
2
 * Copyright (C) 2002-2004  Naofumi Yasufuku
 
3
 *
 
4
 * This library is free software; you can redistribute it and/or
 
5
 * modify it under the terms of the GNU Lesser General Public
 
6
 * License as published by the Free Software Foundation; either
 
7
 * version 2.1 of the License, or (at your option) any later version.
 
8
 *
 
9
 * This library is distributed in the hope that it will be useful,
 
10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
12
 * Lesser General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU Lesser General Public
 
15
 * License along with this library; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
 
17
 */
 
18
 
 
19
#ifndef __GDK_GL_OVERLAY_X11_H__
 
20
#define __GDK_GL_OVERLAY_X11_H__
 
21
 
 
22
#include <gdk/x11/gdkglx.h>
 
23
 
 
24
G_BEGIN_DECLS
 
25
 
 
26
typedef enum
 
27
{
 
28
  GDK_GL_OVERLAY_TRANSPARENT_NONE,
 
29
  GDK_GL_OVERLAY_TRANSPARENT_PIXEL,
 
30
  GDK_GL_OVERLAY_TRANSPARENT_MASK
 
31
} GdkGLOverlayTransparentType;
 
32
 
 
33
typedef struct _GdkGLOverlayInfo GdkGLOverlayInfo;
 
34
 
 
35
struct _GdkGLOverlayInfo
 
36
{
 
37
  GdkVisual *visual;
 
38
  GdkGLOverlayTransparentType transparent_type;
 
39
  guint32 value;
 
40
  gint32 layer;
 
41
};
 
42
 
 
43
/* private at present... */
 
44
gboolean _gdk_x11_gl_overlay_get_info (GdkVisual        *visual,
 
45
                                       GdkGLOverlayInfo *overlay_info);
 
46
 
 
47
G_END_DECLS
 
48
 
 
49
#endif /* __GDK_GL_OVERLAY_X11_H__ */