#include <QtGui/QApplication> #include <QMessageBox> #include "CalamariWindow.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); CalamariWindow* w = 0x0; switch ( argc ) { case 3: w = new CalamariWindow( argv[1], argv[2] ); break; case 4: w = new CalamariWindow( argv[1], argv[2], argv[3] ); break; case 5: w = new CalamariWindow( argv[1], argv[2], argv[3], argv[4] ); break; default: QMessageBox::critical( 0, "CALAMARI error", "Usage:\n calamari IMAGE1 IMAGE2\n calamari BASE THEIRS YOURS [RESULT]" ); return 1; } w->show(); w->setGeometry( w->x(), w->y(), 500, 350 ); return a.exec(); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#5 | 5527 | Sam Stafford |
Diff options in merge mode, and an "export stencils" command for people who like that sort of thing. Also, a fresh build. |
||
#4 | 5524 | Sam Stafford | Eraser and spraypaint tools, and "Save" command. | ||
#3 | 5515 | Sam Stafford |
A little more groundwork for merging. Color options are now saved automatically, and may include alpha channels (semitransparent stencils are nifty). |
||
#2 | 5511 | Sam Stafford | Continued infrastructure work. | ||
#1 | 5501 | Sam Stafford |
Codename CALAMARI. Built with Qt 4.1.3 - needs QtCore4.dll and QtGui4.dll to run. |