Blob Blame Raw
#include <iostream>

#include <gtkmm/application.h>

#include "mainwindow.h"
#include "perspectivesandboxview.h"
#include "generatorsandboxview.h"


int main(int argc, char **argv) {
	std::cout << "Lab: prototype of perspective transformation" << std::endl;

	Glib::RefPtr<Gtk::Application> application = Gtk::Application::create(
		argc, argv, "org.coolbug.lab.perspective");
	
	std::cout << "create window" << std::endl;
	MainWindow window;
	//Gtk::Window window;
	//window.add(*Gtk::manage(new PerspectiveSandBoxView()));
	//window.add(*Gtk::manage(new GeneratorSandBoxView()));
	//window.show_all();
	
	std::cout << "run" << std::endl;
	int result = application->run(window);
	
	std::cout << "finished with code " << result << std::endl;
	return result;
}