GUI which Support JPCT

Started by san14, March 03, 2007, 08:37:35 AM

Previous topic - Next topic

san14

Hi
   Can some one tell me Which are GUI that support JPCT. ???

With Regards
San
San14

EgonOlsen

#1
Swing/AWT when using software or AWTGLRenderer (to a degree), FengGUI when using "native" OpenGL-renderer. I'm not aware of anything else, but you can of course write your own simple GUI by blitting stuff to screen, if you want to.

cyberkilla

Its nothing over complicated to make your own.

I have my own. That way, you can be sure it isn't bloated, and overkill for your purposes.
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

tomer.sagi

Cyberkilla,

Is there any way you can share your approach with me? I am trying to integrate FengGUI and it does seem heavy. How do I access the GL pipline from JPCT easily?

Tomer.

halcor

After scene rendering you get a FrameBuffer - there you can draw your GUI in its current state.

cyberkilla

Yup, this is what I do also.

I would give you the source, but its a little too custom made.

I have a few classes to implement keyboard/mouse focus, nested controls, etc.

Each control is extended from an abstract control.
I currently have a text/pass field, button, window, label, bevel.

I might do a scroll bar, if it can't be avoided.

If you have something specific, I will help as much as I can:)
http://futurerp.net - Text Based MMORPG
http://beta.rpwar.com - 3D Isometric MMORPG

san14

Hi
     Can any one help me for creating Gui (front end )  in JPCT.

                     
After scene rendering you get a FrameBuffer - there you can draw your GUI in its current state.
Can any one give small example for same..

With Regards
San14 
San14

EgonOlsen

The "advanced example(tm)" includes some very basic GUI-stuff in the gui-package. Even simpler: Blit some textures on screen containing the GUI elements and evaluate mouse- and keyboard-input to check if the user has typed or clicked onto something.