Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Program interface

  1. Sep 4, 2005 #1

    JamesU

    User Avatar
    Gold Member

    (this doesn't really apply to me, I'm just curious)

    How would someone create an interface design with their program instead of compiling it and opening it in command prompt?
     
  2. jcsd
  3. Sep 4, 2005 #2

    dduardo

    User Avatar
    Staff Emeritus

    You need to use a gui toolkit library. Something like this would be used:

    http://www.gtk.org/
     
  4. Sep 4, 2005 #3

    JamesU

    User Avatar
    Gold Member

    one more question-

    are you going to update that C++ tutorial?!
     
  5. Sep 4, 2005 #4

    dduardo

    User Avatar
    Staff Emeritus

    It's been some time hasn't it? Ok, i'll update this week.
     
  6. Sep 4, 2005 #5
    dduardo is that only a linux GUI pkg?
     
  7. Sep 4, 2005 #6

    dduardo

    User Avatar
    Staff Emeritus

    GTK is multiplatform (Linux, Windows, OSX). QT, FLTK, TK are also multiplatform gui toolkits. There are alot of gui toolkits. You just have to find the one that has the features you need.
     
  8. Sep 5, 2005 #7
  9. Sep 5, 2005 #8
    coo...dduardo do you know of any free 3Dengines that don't depend on CEGUI as the GUI interface.
     
  10. Sep 5, 2005 #9
    You could use the .NET framework and use winforms as well. If you code using the newer versions of Visual C++ or C# you can actually design your forms/interface in a WYSIWYG manner.

    Borland's C++ Builder allows for this quite easily as well with its CLX/VCL.
     
  11. Sep 5, 2005 #10
    There are quite alot, you might want to take a look at the Torque Game Engine if you are serious about this as it provides the most bang for you buck. Is there any particular reason you don't like Crazy Eddie's GUI system
     
    Last edited: Sep 5, 2005
  12. Sep 5, 2005 #11

    dduardo

    User Avatar
    Staff Emeritus

  13. Sep 5, 2005 #12
    Just a general question. At what point can, or should, a programmer learn how to use a gui?
     
  14. Sep 5, 2005 #13

    dduardo

    User Avatar
    Staff Emeritus

    It depends on the language and toolkit, but you should have a good broad understanding of the lanuage before attempting to do any gui programming.
     
  15. Sep 5, 2005 #14
    For starters,
    its not a bad idea to use QTDesigner and using QT kit to design GUI. The thing is damn easy to use, but dont get addicted to it, we need to keep our options open. But the signal-slot mechanism is neat to get used to. Since this mechanism is something one will encounter with different GUI toolkits in different forms. (For example in Java AWT/Swing, we have listeners).

    -- AI
     
  16. Sep 5, 2005 #15
    can't use CEGUI because i'm to comfortable with vc6 and don't want to move onto vc.net(i got 2003/2005). However the runtime libraries you must compile for vc6 for CEGUI is a hassle becauses of all the other prerequisites you gotta find, make sure its teh right version and then compile.

    and torque is not free. Is q3 free?
     
  17. Sep 5, 2005 #16

    dduardo

    User Avatar
    Staff Emeritus

    The Quake 3 engine is competely free and open source.
     
  18. Sep 5, 2005 #17

    JamesU

    User Avatar
    Gold Member

    Is there a way to create an interface without those programs?
     
  19. Sep 5, 2005 #18

    dduardo

    User Avatar
    Staff Emeritus

    You could use a GUI markup language like UIML, GladeXML or XUL. You basically describe the structure of the interface using xml, just as you use html to describe the structure of a webpage. This type of stuff has been around since 1998. Microsoft has something similar called XAML, but you won't be able to use it until Longhorn comes out in 2006.

    [edit] UIML is an open standard used in java and various other areas, GladeXML is GTK, XUL is Mozilla,
     
    Last edited: Sep 5, 2005
  20. Sep 5, 2005 #19
    sorry dduardo another Q. Does q3 support the 3dsmax/maya animation files?
     
  21. Sep 6, 2005 #20

    dduardo

    User Avatar
    Staff Emeritus

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?