Jump to content
  • Advertisement
Sign in to follow this  
NipsMG

Good Examples of 2D GUI in Managed DirectX?

This topic is 4848 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm developing an application that could basically be considered a touchscreen kiosk application, in which 99.8% of the app will be used through a touchscreen 2D Gui. I'd like to do this in DirectX, but am having a very hard time finding any examples demonstrating how to do a 2d GUI that responds to mouse clicks, button presses, drag/drop, etc. Does anyone know of any such examples with source available on the net? Thanks in advance. --NipsMG

Share this post


Link to post
Share on other sites
Advertisement
Hello,
Check out the DirectX SDK examples, there is a 2D GUI example. The main code is in the gui file of the "Common 7" directX source files. I dont like having to use the common 7 so I just used their SDK as a guideline , its structured pretty well

Share this post


Link to post
Share on other sites
Which version of DirectX? 9?

If so, where?

I'm looking through the directory tree and I can't find the 2d GUI Example you speak of.

Thanks.

Share this post


Link to post
Share on other sites
Look in the sample browser - the sample is called CustomUI.

Another one with source availalbe (managed I think!) is crazy Eddies: http://www.cegui.org.uk/modules/news/

Share this post


Link to post
Share on other sites
I must be completely and totally out of my mind then, becuase in My sample browser, there is NO CustomUI project.

I went through every single one, used the search, and searched each category (Direct3D, DirectMusic, DirectSound, DirectInput, DirectPlay, DirectShow, and Miscellaneous) for each language, and it's just not here.

--NipsMG.

Share this post


Link to post
Share on other sites
I believe that it is June 2005 SDK or later, maybe anyway if you get june's SDK or august it will be there. I just checked it is called CustomUI. If you just check looking for managed and samples its like the 6th one down.

Zwigby

Share this post


Link to post
Share on other sites
I have the june update and it is there. I was sure it was in the earlier version as well (october IIRC). Are you sure you are checking both managed and unmanbaged, as well as samples? For me, the directory is "C:\Program Files\DirectX SDK\Samples\Managed\Direct3D\CustomUI".

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!