/usr/include/glcanvas.h is in libformsgl-dev 1.2.3-1.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | #ifndef FL_GLCANVAS_H
#define FL_GLCANVAS_H
#if defined( __cplusplus )
extern "C"
{
#endif
#include <GL/glx.h>
/* OpenGL canvases */
FL_EXPORT FL_OBJECT * fl_create_glcanvas( int type,
FL_Coord x,
FL_Coord y,
FL_Coord w,
FL_Coord h,
const char * label );
FL_EXPORT FL_OBJECT * fl_add_glcanvas( int type,
FL_Coord x,
FL_Coord y,
FL_Coord w,
FL_Coord h,
const char * label );
FL_EXPORT void fl_set_glcanvas_defaults( const int * config );
FL_EXPORT void fl_get_glcanvas_defaults( int * cconfig );
FL_EXPORT void fl_set_glcanvas_attributes( FL_OBJECT * ob,
const int * config );
FL_EXPORT void fl_get_glcanvas_attributes( FL_OBJECT * ob,
int * attributes );
FL_EXPORT void fl_set_glcanvas_direct( FL_OBJECT * ob,
int direct );
FL_EXPORT void fl_activate_glcanvas( FL_OBJECT * ob );
FL_EXPORT XVisualInfo * fl_get_glcanvas_xvisualinfo( FL_OBJECT * ob );
FL_EXPORT GLXContext fl_get_glcanvas_context( FL_OBJECT * ob );
FL_EXPORT Window fl_glwincreate( int * config,
GLXContext * context,
int w,
int h );
FL_EXPORT Window fl_glwinopen( int * config,
GLXContext * context,
int w,
int h );
#if defined( __cplusplus )
}
#endif
#endif /* NOT FL_GLCANVAS_H */
|