Author Topic: GUI which Support JPCT  (Read 5850 times)

Offline san14

  • int
  • **
  • Posts: 60
    • View Profile
GUI which Support JPCT
« on: March 03, 2007, 08:37:35 am »
Hi
   Can some one tell me Which are GUI that support JPCT. ???

With Regards
San
San14

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: GUI which Support JPCT
« Reply #1 on: March 03, 2007, 11:52:30 am »
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.
« Last Edit: March 03, 2007, 03:47:36 pm by EgonOlsen »

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: GUI which Support JPCT
« Reply #2 on: March 03, 2007, 03:38:02 pm »
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

Offline tomer.sagi

  • byte
  • *
  • Posts: 2
    • View Profile
Re: GUI which Support JPCT
« Reply #3 on: March 12, 2007, 05:56:47 am »
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.

Offline halcor

  • byte
  • *
  • Posts: 28
    • View Profile
Re: GUI which Support JPCT
« Reply #4 on: March 12, 2007, 10:55:18 am »
After scene rendering you get a FrameBuffer - there you can draw your GUI in its current state.

Offline cyberkilla

  • float
  • ****
  • Posts: 413
    • View Profile
    • http://futurerp.net
Re: GUI which Support JPCT
« Reply #5 on: March 15, 2007, 03:31:04 am »
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

Offline san14

  • int
  • **
  • Posts: 60
    • View Profile
Re: GUI which Support JPCT
« Reply #6 on: June 13, 2007, 02:36:36 pm »
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

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: GUI which Support JPCT
« Reply #7 on: June 13, 2007, 05:18:55 pm »
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.