void HelloMultitouchApp::setup() { // create font font = Font("Arial", 22); texture_font = gl::TextureFont::create(font); active_points = std::map(); if (!GestureWorks::Instance()->LoadGestureWorks(L"GestureworksCore32.dll")) { console() << "Error loading gestureworks dll" << std::endl; } GestureWorks::Instance()->InitializeGestureWorks(0, 0); if (!GestureWorks::Instance()->LoadGML(L"basic_manipulation.gml")) { console() << "Could not find gml file" << std::endl; } if (!GestureWorks::Instance()->RegisterWindowForTouchByName(L"Hello Multitouch!")) { console() << "Could not register target window for touch." << std::endl; } use_pixels = true; GestureWorks::Instance()->SetUsePixels(use_pixels); }