21 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
22 |
*/ |
*/ |
23 |
|
|
|
#include <Foundation/NSException.h> |
|
|
|
|
24 |
#include <GL/gl.h> |
#include <GL/gl.h> |
25 |
#include <GL/glu.h> |
#include <GL/glu.h> |
26 |
|
|
27 |
#include "Interface/UiInterface.h" |
#include <Foundation/NSException.h> |
28 |
|
#include <AppKit/NSEvent.h> |
29 |
|
|
30 |
|
#include <Interface/UiInterface.h> |
31 |
|
|
32 |
/** |
/** |
33 |
* UiInterface implementation |
* UiInterface implementation |
64 |
|
|
65 |
glMatrixMode (GL_PROJECTION); |
glMatrixMode (GL_PROJECTION); |
66 |
glLoadIdentity (); |
glLoadIdentity (); |
67 |
gluOrtho2D (0.0, 800.0, 0.0, 600.0); |
gluOrtho2D (0.0, 1024.0, 0.0, 768.0); |
68 |
|
|
69 |
glMatrixMode (GL_MODELVIEW); |
glMatrixMode (GL_MODELVIEW); |
70 |
glLoadIdentity (); |
glLoadIdentity (); |
132 |
{ |
{ |
133 |
NSParameterAssert(frame); |
NSParameterAssert(frame); |
134 |
|
|
135 |
_currentFrame = frame; |
_currentFrame = RETAIN ( frame ); |
136 |
|
// _currentFrame = frame; |
137 |
} |
} |
138 |
|
|
139 |
@end |
@end |