Graphviz
13.0.0~dev.20241220.2304
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,
void
*
data
);
29
extern
GdkGLConfig *
configure_gl
(
void
);
30
void
create_window
(GdkGLConfig * glconfig, GtkWidget * vbox);
expose_event
gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, void *data)
Definition
gltemplate.c:143
configure_gl
GdkGLConfig * configure_gl(void)
Definition
gltemplate.c:310
create_window
void create_window(GdkGLConfig *glconfig, GtkWidget *vbox)
Definition
gltemplate.c:339
opengl.h
data
Definition
legal.c:50
cmd
smyrna
gltemplate.h
Generated by
1.9.8