2006-06-07 20:55:18 +00:00
|
|
|
#import "MacGLideMainPanel.h"
|
2006-11-28 21:09:18 +00:00
|
|
|
#include "GlideSettings.h"
|
2006-06-07 20:55:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
@implementation MacGLideMainPanel
|
|
|
|
|
2006-11-28 21:09:18 +00:00
|
|
|
/*
|
|
|
|
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)styleMask backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
|
2006-06-07 20:55:18 +00:00
|
|
|
{
|
2006-11-28 21:09:18 +00:00
|
|
|
[super initWithContentRect:contentRect styleMask:styleMask backing:bufferingType defer:deferCreation];
|
|
|
|
// Select default setting file
|
|
|
|
OSErr err = userConfig.init(NULL);
|
|
|
|
if (err == noErr)
|
|
|
|
{
|
|
|
|
err = userConfig.load();
|
|
|
|
if (err == noErr)
|
|
|
|
{
|
|
|
|
// init controls
|
|
|
|
// [updateButton userConfig.Mipmapping];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return self;
|
2006-06-07 20:55:18 +00:00
|
|
|
}
|
2006-11-28 21:09:18 +00:00
|
|
|
*/
|
2006-06-07 20:55:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
@end
|