Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - majitri

Pages: [1] 2
1
Support / Re: GUI or swing??? help!!!
« on: October 05, 2009, 09:52:41 pm »
  imagenes.enableRenderer (IRenderer.RENDERER_OPENGL, IRenderer.MODE_OPENGL);
  imagenes.disableRenderer (IRenderer.RENDERER_SOFTWARE);

Is that what you mean with the kind of processor?

I do not know how to add a picture to the forum, so I tell my windows GUI is similar to feud_demo project (in fact I have relied on it to make my interface and classes).

with slow I mean it starts to work fine, but when it is displayed multiple windows (to click on a button opens another window, closing the first) begins like to stay caught and spend a few seconds to display the window, but from there begins to take more

2
Support / Re: GUI or swing??? help!!!
« on: October 05, 2009, 08:15:36 pm »
   
I use
blit (Texture src, int srcX, srcY int, int destX, desty int, int width, int height, boolean transparent)

Does that slow you can do?

3
Projects / Re: SwingGL - Swing on top of OpenGL
« on: October 05, 2009, 05:12:01 pm »
How can I make a JTextField in this instance? (SwingGL)

4
Support / Re: GUI or swing??? help!!!
« on: October 05, 2009, 11:49:19 am »
   
such a way that shows me a window of my interface would be:




   private void dialogoCorto(String texto){
         try{
            TextureManager tm = TextureManager.getInstance();
            backDrop = new Texture("ventanas"+File.separatorChar+"panel2.gif");   
            window = new Ventana(backDrop, 150, 15);
            aceptar = new Boton(77, 177, 138, 19);
            aceptar.setEtiqueta("Sí");
            aceptar.setListener(this);   
            cancelar = new Boton(298, 177, 138, 19);
            cancelar.setEtiqueta("No");             
            cancelar.setListener(this);   
            stateLabel = new Etiqueta(77, 77);
            stateLabel.setTexto(texto); 
            stateLabel.setTexto();         
            window.add(stateLabel);   
            window.add(aceptar);
            window.add(cancelar);   
         }
             catch(Exception e){}
      }   




How do I apply it like you're explaining?

5
Support / Re: GUI or swing??? help!!!
« on: October 05, 2009, 11:37:37 am »
You say:

  public void apply (int [] dest, int [] source)
         (
             PixelGrabber pg = new PixelGrabber (guiImage, 0, 0,
                                                 imageWidth,
                                                 imageHeight,
                                                 dest, 0, textureWidth);

but where guiImage and get those parameters?

6
Support / Re: GUI or swing??? help!!!
« on: October 04, 2009, 10:13:14 pm »
How do I use this to say about ITextureEffect?

7
Support / Re: GUI or swing??? help!!!
« on: October 04, 2009, 09:45:31 pm »
I mean, I built my own GUI components that can be blitted into the LWJGL-window by jPCT

8
Support / Re: GUI or swing??? help!!!
« on: October 04, 2009, 09:21:32 pm »
   
I had done creating my own GUI library, and this is what is slow.
Then wanted to try making it swing to see if it was so slow to display menus, I think I found an example that I can help SwingGL

9
Projects / Re: SwingGL - Swing on top of OpenGL
« on: October 04, 2009, 04:39:58 pm »
ok, I found it, thanks

10
Projects / Re: SwingGL - Swing on top of OpenGL
« on: October 04, 2009, 04:28:29 pm »
   
yes, but do not know how to download it because I download a file. jnlp, but do not know how to view the code

11
Support / Re: GUI or swing??? help!!!
« on: October 04, 2009, 04:26:15 pm »
I do windows with Swing components, something like what you put first, as the link

12
Support / Re: GUI or swing??? help!!!
« on: October 04, 2009, 03:05:51 pm »
what I mean is how to represent such a JButton

13
Support / Re: GUI or swing??? help!!!
« on: October 04, 2009, 02:54:30 pm »
already, but how do I swing interface within jpct? thanks

14
Projects / Re: SwingGL - Swing on top of OpenGL
« on: October 04, 2009, 02:00:21 pm »
hello, how can see the code for your project?

15
Support / GUI or swing??? help!!!
« on: October 04, 2009, 12:13:17 pm »
hello, I think to make a window in the engine jpct can do by creating your own GUI or awt / swing (do not know if there are more forms).
I know what are the pros and cons, because I've done my project creating my GUI, but has many windows and there comes a point where it goes slower and do not know why

Pages: [1] 2