Пример #1
0
void ConsoleWidget::Push(const grinliz::GLString &str)
{
	Scroll();
	lines[0].text.SetText(str.safe_str());
	lines[0].age = 0;
	lines[0].highLight.SetAtom(RenderAtom());
}
Пример #2
0
void ConsoleWidget::Push(const grinliz::GLString &str, gamui::RenderAtom icon, const grinliz::Vector2F& pos)
{
	Scroll();
	lines[0].text.SetText(str.safe_str());
	lines[0].age = 0;
	lines[0].pos = pos;
	lines[0].button.SetDeco(icon, icon);
}
Пример #3
0
void ConsoleWidget::Push(const grinliz::GLString &str, const gamui::RenderAtom& icon, const grinliz::Vector2F& pos, const gamui::RenderAtom& background)
{
	Scroll();
	lines[0].text.SetText(str.safe_str());
	lines[0].age = 0;
	lines[0].pos = pos;
	lines[0].button.SetDeco(icon, icon);
	lines[0].highLight.SetAtom(background);
	lines[0].SetHighLightSize();
}
Пример #4
0
void ConsoleWidget::Push(const grinliz::GLString &str)
{
	Scroll();
	lines[0].text.SetText(str.safe_str());
	lines[0].age = 0;
}