Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I'm looking for a GUI library built on top of DirectX- preferably 9, but I can also do 11. I've looked at stuff like DXUT, but it's way too much for me- I'm only needing some UI controls which I would rather not write (and debug) myself, and their need to keep a C-compatible API is definitely a big downside. I'd rather look at UI libs that are designed to be integrated into an existing DirectX-based system, rather than forming the basis of a system. Any recommendations?

Edit:

I guess that nobody has heard of a DirectX GUI written by someone who has heard of the basics of object-orientation? The purpose of not using DXUT was because using their API was worse than writing my own, and the documentation that starts with namespace::type::GetInstance() is not qualifying as "better than DXUT".

share|improve this question
    
Potential duplicate gamedev.stackexchange.com/questions/1086/… –  The Communist Duck Feb 18 '11 at 16:23
    
I believe WFP uses DirectX to render its content. –  Nate Feb 18 '11 at 20:15
    
Not even remotely a duplicate, as I'm rendering with DirectX, not looking for a general-purpose lib. –  DeadMG Feb 18 '11 at 21:18
    
@Nate Bross: If you have a native interface to it, I'm all ears. –  DeadMG Feb 18 '11 at 21:39
    
Totally a duplicate. CEGUI supports both DirectX and OpenGL: cegui.org.uk/wiki/index.php/Features DXUT also doesn't look anything remotely like a GUI library, more like a GLUT or GLFW type of thing. –  michael.bartnett Nov 8 '11 at 8:23
add comment

7 Answers

In my experience, there's not much available for DirectX, which I think is a great shame. The closest thing I've found is AntTweakBar which (unless you only want the GUI to act as an interface to tweak colours/behaviours/graphics/etc) isn't very fully featured.

Of course I haven't used it very much, so it may have more features to it but check it out at: http://www.antisphere.com/Wiki/tools:anttweakbar

share|improve this answer
add comment

Check out GWEN from the maker of Garry's Mod.

share|improve this answer
    
It looks like GWEN is supports OpenGL as well. Mention this on gamedev.stackexchange.com/questions/3617/good-gui-for-opengl and you may get the bounty. –  deft_code Feb 23 '11 at 2:40
add comment

MyGUI is very good. It works with DirectX as well as OpenGL and OGRE.

share|improve this answer
add comment

I don't know if this will get you what you're looking for, but here's a MSDN document on WPF and Win32 Interoperation. The section "Hosting WPF Content in a Microsoft Win32 Window" may be of the most interest to you. Also, from the first link: Walkthrough: Hosting WPF in Win32.

While I've never done this, it may be able to get you the benifits you're looking for without having to do too much wheel re-inventing.

share|improve this answer
add comment

Delphi/ C++Builder with FireMonkey

FireMonkey is a cross platform (opengl for mac and directX for windows) gui library which look similar to native controls as possible.

http://www.embarcadero.com/products/firemonkey;

http://www.embarcadero.com/products/delphi

share|improve this answer
add comment

There is also librocket which allows one to implement the render part by yourself. So you will be able to adapt it to DirectX, wich is already done within one of the examples.

Furthermore it's XHTML1.0 and CSS2.0 based and allows you to build your ui as you would build a websie, with some constraints tho.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.