obj = new GUILabel(imageManager, renderer, 40, 64, 520, 36, _("Enter the layer name:"));
root->addChild(obj);
GUITextBox* obj2 = new GUITextBox(imageManager, renderer, 40, 100, 520, 36);
//Set the name of the text area, which is used to identify the object later on.
obj2->name = "layerName";
root->addChild(obj2);
std::string s = _("NOTE: the layers are sorted by name alphabetically.\nThe layer is background layer if its name is < 'f'\nby dictionary order, otherwise it's foreground layer.");
for (int yy = 148, lps = 0;;) {
size_t lpe = s.find_first_of('\n', lps);
obj = new GUILabel(imageManager, renderer, 40, yy, 520, 36,
std::string s = _("NOTE: the layers are sorted by name alphabetically.\nThe layer is background layer if its name is < 'f'\nby dictionary order, otherwise it's foreground layer.");
for (int yy = 148, lps = 0;;) {
size_t lpe = s.find_first_of('\n', lps);
obj = new GUILabel(imageManager, renderer, 40, yy, 520, 36,