summaryrefslogtreecommitdiff
path: root/generate/gtkgl.defs
blob: f601156160caf9cbfbf538925a9c1051ab7861c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
; -*- Scheme -*-

; Some selected gdkgl routines ...
(define-func gdk_gl_query
  int
  ())

(define-func gdk_gl_wait_gdk
  none
  ())

(define-func gdk_gl_wait_gl
  none
  ())

(define-func gdk_gl_use_gdk_font
  none
  ((GdkFont font)
   (int first)
   (int count)
   (int list_base)))

; the GtkGLArea stuff ...
(define-object GtkGLArea (GtkDrawingArea))

;gtk_gl_area_new
;gtk_gl_area_share_new

(define-func gtk_gl_area_make_current
  int
  ((GtkGLArea glarea)))

(define-func gtk_gl_area_swap_buffers
  none
  ((GtkGLArea glarea)))