5
\$\begingroup\$

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".

\$\endgroup\$

closed as too broad by Josh Sep 30 '15 at 3:31

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ Potential duplicate gamedev.stackexchange.com/questions/1086/… \$\endgroup\$ – The Communist Duck Feb 18 '11 at 16:23
  • \$\begingroup\$ I believe WFP uses DirectX to render its content. \$\endgroup\$ – Nate Feb 18 '11 at 20:15
  • \$\begingroup\$ Not even remotely a duplicate, as I'm rendering with DirectX, not looking for a general-purpose lib. \$\endgroup\$ – DeadMG Feb 18 '11 at 21:18
  • \$\begingroup\$ @Nate Bross: If you have a native interface to it, I'm all ears. \$\endgroup\$ – DeadMG Feb 18 '11 at 21:39
  • 1
    \$\begingroup\$ tiny file dialogs on sourceforge is a single C C++ cross-platform file offering many modal dialogs. It has no init, no main loop, no linking and no include. \$\endgroup\$ – rolobo Sep 17 '17 at 15:23
6
\$\begingroup\$

CEGUI

\$\endgroup\$
3
\$\begingroup\$

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

\$\endgroup\$
2
\$\begingroup\$

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

\$\endgroup\$
2
\$\begingroup\$

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

\$\endgroup\$
0
\$\begingroup\$

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.

\$\endgroup\$
0
\$\begingroup\$

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

\$\endgroup\$
0
\$\begingroup\$

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.

\$\endgroup\$

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