void ConsoleWidget::Push(const grinliz::GLString &str)
{
	Scroll();
	lines[0].text.SetText(str.safe_str());
	lines[0].age = 0;
	lines[0].highLight.SetAtom(RenderAtom());
}
Exemple #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);
}
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();
}
Exemple #4
0
void ConsoleWidget::Push(const grinliz::GLString &str)
{
	Scroll();
	lines[0].text.SetText(str.safe_str());
	lines[0].age = 0;
}