FreeWRL/FreeX3D
3.0.0
Main Page
Related Pages
Data Structures
Files
File List
fwWindowAqua.c
1
/*
2
3
FreeWRL support library.
4
Aqua specific functions.
5
6
*/
7
8
/****************************************************************************
9
This file is part of the FreeWRL/FreeX3D Distribution.
10
11
Copyright 2009 CRC Canada. (http://www.crc.gc.ca)
12
13
FreeWRL/FreeX3D is free software: you can redistribute it and/or modify
14
it under the terms of the GNU Lesser Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
FreeWRL/FreeX3D is distributed in the hope that it will be useful,
19
but WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
GNU General Public License for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with FreeWRL/FreeX3D. If not, see <http://www.gnu.org/licenses/>.
25
****************************************************************************/
26
27
28
29
#include <config.h>
30
#include <system.h>
31
#include <display.h>
32
#include <internal.h>
33
34
#include <threads.h>
35
36
/*======== "VIRTUAL FUNCTIONS" ==============*/
37
38
int
fv_open_display()
39
{
40
//printf ("OSX - fv_open_display called\n");
41
42
/* Guess: We are linked with libAquaInt....
43
display is alread initialized....
44
nothing to do except catch to relevant variables...
45
*/
46
return
TRUE;
47
}
48
49
int
fv_create_main_window(
freewrl_params_t
*d)
50
{
51
52
//printf ("OSX - create_main_window called\n");
53
54
/* Guess: We are linked with libAquaInt....
55
display is alread initialized....
56
nothing to do except catch to relevant variables...
57
*/
58
return
TRUE;
59
}
60
65
bool
fv_create_GLcontext()
66
{
67
68
//printf ("OSX - createGLContext called\n");
69
fwl_thread_dump();
70
71
/* Guess: call the aglCreateContext ... */
72
73
return
TRUE;
74
}
75
80
bool
fv_bind_GLcontext()
81
{
82
83
//printf ("OSX - bind_GLContext called \n");
84
fwl_thread_dump();
85
86
/* Guess: call the aglMakeCurrent ... */
87
88
return
TRUE;
89
}
90
91
92
/* set cursor - see the X11 implementation, for instance */
93
void
setCursor() {
94
95
}
96
97
98
void
setWindowTitle() {
99
100
}
freewrl_params
Initialization.
Definition:
libFreeWRL.h:71
src
lib
ui
fwWindowAqua.c
Generated on Thu Dec 14 2017 12:14:45 for FreeWRL/FreeX3D by
1.8.6