Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
gltemplate.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13/*
14 this code is used to set up a OpenGL window and set
15 some basic features (panning zooming and rotating)
16 Viewport.h provides a higher level control such as drawing primitives
17*/
18
19#ifdef _WIN32
20#include <windows.h>
21#endif
22#include <glcomp/opengl.h>
23#include <gtk/gtk.h>
24#include <gdk/gdkkeysyms.h>
25#include <gtk/gtkgl.h>
26#include <gdk/gdkcursor.h>
27
28 gboolean expose_event(GtkWidget * widget, GdkEventExpose * event,
29 gpointer data);
30 extern GdkGLConfig *configure_gl(void);
31 void create_window(GdkGLConfig * glconfig, GtkWidget * vbox);
GdkGLConfig * configure_gl(void)
Definition gltemplate.c:334
void create_window(GdkGLConfig *glconfig, GtkWidget *vbox)
Definition gltemplate.c:363
gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer data)
Definition gltemplate.c:147
Definition legal.c:50