Lycaon Posted December 29, 2005 Posted December 29, 2005 I'm messing around with DX9c + VB.NET 2005, and am fishing around for the best (as in most efficient) way to implement a custom GUI in a fullscreen DirectX game. The drawing isn't much of a problem, though currently ugly visually, I have an ObjectManager class that holds all the windows (and other game objects that need to be drawn) and each window has it's own control collection to handle labels, textboxes, etc. What I'm looking for is a decent way to add in mouse / keyboard events. I'm using DirectInput to handle them at the moment, however, I'm not sure how to go about 'redirecting' input to the topmost form that I've got drawn over the game GUI, and of course, that means I've got no clue how to do anything as involved as events... So... Any suggestions? :) Quote
Tommi Laukkanen Posted December 29, 2005 Posted December 29, 2005 Hello, RetinaX has clean and easily understandable window/widget framework with event and input implementation. You can find the project in source forge: http://sourceforge.net/projects/retinax/ best regards, Tommi Laukkanen PS. If you are interested in UI development with Managed DirectX maybe we could join forces. I'm messing around with DX9c + VB.NET 2005, and am fishing around for the best (as in most efficient) way to implement a custom GUI in a fullscreen DirectX game. The drawing isn't much of a problem, though currently ugly visually, I have an ObjectManager class that holds all the windows (and other game objects that need to be drawn) and each window has it's own control collection to handle labels, textboxes, etc. What I'm looking for is a decent way to add in mouse / keyboard events. I'm using DirectInput to handle them at the moment, however, I'm not sure how to go about 'redirecting' input to the topmost form that I've got drawn over the game GUI, and of course, that means I've got no clue how to do anything as involved as events... So... Any suggestions? :) Quote
Mykre Posted January 13, 2006 Posted January 13, 2006 For a really good example of a GUI System in Managed code you should look at http://www.c-unit.com, on the site Chad has a tutorial for creating a GUI System simular to the one used in the sample framework that is supplied in the SDK. Quote Glenn "Mykre" Wilson, DirectX MVP Inner Realm Managed DirectX and Game Programming Resources
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.