Пример #1
0
	void test()
	{
		if (++tested < 10)
		{
			queueStep(boost::bind(&SimpleTest::test, boost::ref(*this)));
		}
	}
Пример #2
0
	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)));
	}
Пример #3
0
	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)));
		}
	}
Пример #4
0
	void setup()
	{
		queueStep(boost::bind(&SimpleTest::test, boost::ref(*this)));
	}
Пример #5
0
	void setup()
	{
		queueStep(boost::bind(&GlobalPointerTest::test, boost::ref(*this)));
	}