Esempio n. 1
0
void Prism::Text::SetText(const std::string& aText)
{
	if (myText == aText)
	{
		return;
	}

	if (aText == "")
	{
		myText = " ";
	}
	else
	{
		myText = aText;
	}

	ConstructBuffers();
}
Esempio n. 2
0
csImageMemory::csImageMemory (int width, int height, void* buffer,
                              bool destroy, int format, csRGBpixel *palette) :
  scfImplementationType(this)
{
  ConstructBuffers (width, height, buffer, destroy, format, palette);
}