void test() { if (++tested < 10) { queueStep(boost::bind(&SimpleTest::test, boost::ref(*this))); } }
void setup() { wl_surface_attach(surface_, buffer_, 0, 0); wl_surface_damage(surface_, 0, 0, buffer_.width(), buffer_.height()); surface_.commit(); queueStep(boost::bind(&SurfacePointerTest::test, boost::ref(*this))); }
void setup() { g_signal_connect(win_, "window-state-event", G_CALLBACK(onState), this); g_signal_connect(win_, "configure-event", G_CALLBACK(onConfigure), this); gtk_widget_show(win_); for (unsigned i(0); i < 3; ++i) { queueStep(boost::bind(&WindowFullscreenTest::test, boost::ref(*this))); } }
void setup() { queueStep(boost::bind(&SimpleTest::test, boost::ref(*this))); }
void setup() { queueStep(boost::bind(&GlobalPointerTest::test, boost::ref(*this))); }