

Solar3DWidGetBoton *NuevoBoton;
// ZG Creamos un nuevo boton
NuevoBoton = new Solar3DWidGetBoton("BotonStartMulti", 0.65, 0.20, 0.3, 0.06);
NuevoBoton->setTexturaDeFondo("Interface/Pantallas/MenuPrincipal/BotonStartMulti.tga");
NuevoBoton->onMouseClic = BotonStartMultiClic;
// ZG Agregamos el nuevo boton al contenedor primario
agregarHijo(NuevoBoton);
// ZG Creamos un nuevo boton
NuevoBoton = new Solar3DWidGetBoton("BotonPracticas", 0.65, 0.35, 0.3, 0.06);
NuevoBoton->setTexturaDeFondo("Interface/Pantallas/MenuPrincipal/BotonPracticas.tga");
NuevoBoton->onMouseClic = BotonPracticasClic;
// ZG Agregamos el nuevo boton al contenedor primario
agregarHijo(NuevoBoton);
// ZG Creamos un nuevo boton
NuevoBoton = new Solar3DWidGetBoton("BotonServerP2P", 0.65, 0.45, 0.3, 0.06);
NuevoBoton->setTexturaDeFondo("Interface/Pantallas/MenuPrincipal/BotonServerP2P.tga");
NuevoBoton->onMouseClic = BotonServerP2PClic;
// ZG Agregamos el nuevo boton al contenedor primario
agregarHijo(NuevoBoton);
// ZG Creamos un nuevo boton
NuevoBoton = new Solar3DWidGetBoton("BotonClientP2P", 0.65, 0.55, 0.3, 0.06);
NuevoBoton->setTexturaDeFondo("Interface/Pantallas/MenuPrincipal/BotonClientP2P.tga");
NuevoBoton->onMouseClic = BotonServerP2PClic;
// ZG Agregamos el nuevo boton al contenedor primario
agregarHijo(NuevoBoton);
// ZG Creamos un nuevo boton
NuevoBoton = new Solar3DWidGetBoton("BotonOpciones", 0.65, 0.65, 0.3, 0.06);
NuevoBoton->setTexturaDeFondo("Interface/Pantallas/MenuPrincipal/BotonOpciones.tga");
NuevoBoton->onMouseClic = BotonOpcionesClic;
// ZG Agregamos el nuevo boton al contenedor primario
agregarHijo(NuevoBoton);
// ZG. Agregamos un nuevo label.
Solar3DWidGetLabel * NuevoLabel;
NuevoLabel = new Solar3DWidGetLabel ("LabelTest", 0.35, 0.20, 0.3, 0.06, "Label Prueba");
NuevoLabel->FontColor.setColor(1.0, 0.0 ,0.0, 1.0);
agregarHijo(NuevoLabel);
// ZG.
Solar3DWidGetScroll * NuevoScroll;
NuevoScroll = new Solar3DWidGetScroll ("ScrollTest", 0.15, 0.20, 0.03, 0.3);
agregarHijo(NuevoScroll);
// ZG.
Solar3DWidGetTextBoxBasico * NuevotextBoxBasico;
NuevotextBoxBasico = new Solar3DWidGetTextBoxBasico ("ScrollTest", 0.01, 0.61, 0.7, 0.35);
NuevotextBoxBasico->SetTexto("Text Box Basico: Ultimamente el proyecto entro en un estado de letargo muy prolongado, pero ya esta reviviendo de nuevo. Por ahora estamos trabajando en una libreria de WidGets, es decir controles visuales como botones, labels, comobobox, memos, etc.");
agregarHijo(NuevotextBoxBasico);
|