#include "Calculator.h" Calculator::Calculator(int argc, char* argv[]): Application("application/x-vnd.Calculator", argc, argv) { Rect r(Point(100, 100), Point(275, 275)); CalculatorWindow * pCalculatorWindow = new CalculatorWindow(r, "Calculator", WINDOW_LAYOUT_NOTHING, APPLICATION_WINDOW_NO_VIEW | WINDOW_FLAG_NOT_SIZEABLE); pCalculatorWindow->GetTitleWindow()->SetFlags( (TitleWindowFlags)(pCalculatorWindow->GetTitleWindow()->GetFlags()) ); pCalculatorWindow->Show(); } int main(int argc, char *argv[]) { Calculator pCalculator(argc, argv); return pCalculator.Run(); }