QTfrontend/M3Panel.mm
author nemo
Sun, 20 Jun 2010 19:31:15 -0400
changeset 3524 8d0783d2a0ff
parent 2400 2422ea85d100
child 3697 d5b30d6373fc
permissions -rw-r--r--
This reduces CheckLand ~5.5% on average over prior making the overall reduction ~77.4% instead of ~81.9%. It does skip centre pixel in odd w/h, but that really shouldn't matter much in this case. Can alter if any objects are noticeably off.

/*
 *  M3Panel.cpp
 *  
 *
 *  Created by Vittorio on 28/09/09.
 *  Copyright 2009 __MyCompanyName__. All rights reserved.
 *
 */

#include "M3Panel.h"
#include "M3InstallController.h"

#include <Cocoa/Cocoa.h>

class M3Panel::Private
{
public:
        M3InstallController *install;
};

M3Panel::M3Panel(void)
{
	c = new Private;
        
	c->install = [[M3InstallController alloc] init];
	[c->install retain];
        
}

M3Panel::~M3Panel()
{
	[c->install release];
	delete c;
}

void M3Panel::showInstallController()
{
        [c->install displayInstaller];
}