Esempio n. 1
0
	App() {
		Sizeable().Zoomable();

		slider << THISFN(Slider);
		slider.Range(700);
		slider <<= 250;
		Add(slider.BottomPosZ(5, 30).HSizePos(10, 10));
		Slider();

		dynarect.Color(SRed);
		Add(dynarect.VSizePos(40, 40));

		Add(text.LeftPos(0, 200).TopPos(0, 40));
	}
Esempio n. 2
0
void Ctrl::InitFB()
{
	Ctrl::GlobalBackBuffer();
	Ctrl::InitTimer();
	framebuffer.Create(1, 1);

#ifdef PLATFORM_POSIX
	SetStdFont(ScreenSans(12)); //FIXME general handling
#endif
	ChStdSkin();

	static StaticRect x;
	x.Color(Cyan());
	SetDesktop(x);
}