mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Add initWithFrame:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17307 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
32fce62555
commit
2ca75c485d
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-07-22 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSOpenGLView.m ([NSOpenGLView -initWithFrame:]): Implemented
|
||||
(Patch from Damien Genet).
|
||||
|
||||
2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Documentation/GNUmakefile.postamble: Tweak for make update.
|
||||
|
|
|
@ -116,6 +116,14 @@
|
|||
return glcontext;
|
||||
}
|
||||
|
||||
|
||||
-(id) initWithFrame: (NSRect)frameRect
|
||||
{
|
||||
return [self initWithFrame: frameRect
|
||||
pixelFormat: [[self class] defaultPixelFormat]];
|
||||
|
||||
}
|
||||
|
||||
/** default initializer. Can be passed [NSOpenGLContext defaultPixelFormat]
|
||||
as second argument
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue