mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
536fa88cd8
This adds support for OpenGL to the GDK Windows backend using the WGL API calls, which enables programs that uses the GTK+ GLArea widgets to work on Windows as well. This also adds a simple utility function to query for the version of OpenGL that is supported by the Windows system, like the one provided by the X11 backend. Many thanks to Alex (and Emmanuele, who started the OpenGL integration in GTK+) who offered advice and help along the way, as well as the X11 and Wayland backend for this work to refer to and to model upon. https://bugzilla.gnome.org/show_bug.cgi?id=740795
43 lines
1.5 KiB
C
43 lines
1.5 KiB
C
/* GDK - The GIMP Drawing Kit
|
|
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
/*
|
|
* Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
|
|
* file for a list of people on the GTK+ Team. See the ChangeLog
|
|
* files for a list of changes. These files are distributed with
|
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
|
*/
|
|
|
|
#ifndef __GDK_WIN32_H__
|
|
#define __GDK_WIN32_H__
|
|
|
|
#define __GDKWIN32_H_INSIDE__
|
|
|
|
#include <gdk/win32/gdkwin32cursor.h>
|
|
#include <gdk/win32/gdkwin32display.h>
|
|
#include <gdk/win32/gdkwin32displaymanager.h>
|
|
#include <gdk/win32/gdkwin32dnd.h>
|
|
#include <gdk/win32/gdkwin32keys.h>
|
|
#include <gdk/win32/gdkwin32screen.h>
|
|
#include <gdk/win32/gdkwin32window.h>
|
|
#include <gdk/win32/gdkwin32misc.h>
|
|
#include <gdk/win32/gdkwin32glcontext.h>
|
|
|
|
#undef __GDKWIN32_H_INSIDE__
|
|
|
|
#endif /* __GDK_WIN32_H__ */
|