Debian Codegraph @

src/Fl_Gl_Stubs.cxx

raw symbols SCIP
1 // This files implements stubs for missing OpenGl libraries.
2 //
3
4 #include <FL/Fl_Gl_Window.H>
5
6 Fl_Gl_Window::~Fl_Gl_Window()
7 {
8 }
9
10 void Fl_Gl_Window::show() {}
11 //void Fl_Gl_Window::show(int a, char **b) {}
12 void Fl_Gl_Window::flush() {}
13 void Fl_Gl_Window::hide() {}
14 void Fl_Gl_Window::resize(int,int,int,int) {}
15
16 //char Fl_Gl_Window::valid() const {return 0;}
17 //void Fl_Gl_Window::valid(char v) {}
18 void Fl_Gl_Window::invalidate() {}
19
20 //static int Fl_Gl_Window::can_do(int m) {return 0;}
21 //static int Fl_Gl_Window::can_do(const int *m) {return 0;}
22 //int Fl_Gl_Window::can_do() {return 0;}
23 int Fl_Gl_Window::can_do(int a, const int *b) {return 0;}
24 //Fl_Mode Fl_Gl_Window::mode() const {return 0;}
25 //int Fl_Gl_Window::mode(int a) {return 0;}
26 //int Fl_Gl_Window::mode(const int *a) {return 0;}
27 int Fl_Gl_Window::mode(int m, const int *a) {return 0;}
28
29 //void* Fl_Gl_Window::context() const {return 0;}
30 void Fl_Gl_Window::context(void*, int destroy_flag) {}
31 void Fl_Gl_Window::make_current() {}
32 void Fl_Gl_Window::swap_buffers() {}
33 void Fl_Gl_Window::ortho() {}
34
35 int Fl_Gl_Window::can_do_overlay() { return 0; }
36 void Fl_Gl_Window::redraw_overlay() {}
37 void Fl_Gl_Window::hide_overlay() {}
38 void Fl_Gl_Window::make_overlay_current() {}
39
40 void Fl_Gl_Window::draw_overlay() {}
41 void Fl_Gl_Window::init() {}
42
43 void Fl_Gl_Window::make_overlay() {}
44
45 //static int Fl_Gl_Window::can_do(int, const int *) {{}
46 //int Fl_Gl_Window::mode(int, const int *) {return 0;}
47
48 // gl stubs
49 void gl_start() {}
50 void gl_finish() {}
51 void gl_color(Fl_Color) {}
52 void gl_color(int c) {}
53 void gl_rect(int x,int y,int w,int h) {}
54 void gl_rectf(int x,int y,int w,int h) {}
55 //void gl_recti(int x,int y,int w,int h) {}
56 void gl_font(int fontid, int size) {}
57 int gl_height() {return 0;}
58 int gl_descent() {return 0;}
59 double gl_width(const char *) {return 0.0;}
60 double gl_width(const char *, int n) {return 0.0;}
61 double gl_width(uchar) {return 0.0;}
62
63 void gl_draw(const char*) {}
64 void gl_draw(const char*, int n) {}
65 void gl_draw(const char*, int x, int y) {}
66 void gl_draw(const char*, float x, float y) {}
67 void gl_draw(const char*, int n, int x, int y) {}
68 void gl_draw(const char*, int n, float x, float y) {}
69 void gl_draw(const char*, int x, int y, int w, int h, Fl_Align) {}
70 void gl_measure(const char*, int& x, int& y) {}
71
72 void gl_draw_image(const uchar *, int x,int y,int w,int h, int d=3, int ld=0) {}
73 void glLoadIdentity( ) {}
74 void glRecti( int x1, int y1, int x2, int y2 ) {}
75 void glViewport( int x, int y, int width, int height ) {}
76 void glClear( int mask ) {}
77 void glColor3f( float red, float green, float blue ) {}
78 void glBegin( int mode ) {}
79 void glEnd( void ) {}
80 void glVertex3f( float x, float y, float z ) {}
81
82