/[hegemonie]/hegemonie/Interface/UiInterface.m
ViewVC logotype

Diff of /hegemonie/Interface/UiInterface.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by zaral, Fri Jul 11 15:04:51 2003 UTC revision 1.5 by zaral, Tue Jul 15 12:38:07 2003 UTC
# Line 21  Line 21 
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
# Line 63  Line 64 
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 ();
# Line 131  Line 132 
132  {  {
133    NSParameterAssert(frame);    NSParameterAssert(frame);
134    
135    _currentFrame = frame;    _currentFrame = RETAIN ( frame );
136      //  _currentFrame = frame;
137  }  }
138    
139  @end  @end

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26