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

Diff of /hegemonie/Interface/UiWidget.m

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

revision 1.2 by dam, Tue Jun 3 23:18:58 2003 UTC revision 1.3 by zaral, Wed Jun 4 16:58:20 2003 UTC
# Line 161  Line 161 
161    return _layer;    return _layer;
162  }  }
163    
164  /** sets the layer, layer shall be compared to a z buffer, we defined  /**
165     * Sets the layer, layer shall be compared to a z buffer, we defined
166   * that the first layer is 1   * that the first layer is 1
167   * @param (int)layer   * @param (int)layer
168   */   */
# Line 214  Line 215 
215  {  {
216  }  }
217    
218    - (void) _display
219    {
220      [self notImplemented: _cmd];
221    }
222    
223  - (void) display  - (void) display
224  {  {
225      glPushMatrix();
226    glTranslatef (_position.x, _position.y, 0.0f);    glTranslatef (_position.x, _position.y, 0.0f);
227    
228      [self _display];
229    
230      glPopMatrix();
231  }  }
232  @end  @end

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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