DirectX 9.0c and C++ GUI
- by SullY
Well, I'm trying to code a gui for my engine, but I've got some problems.
I know how to make a UI overlay but buttons are still black magic for me. Anything I tried was to compilcated ( if it goes big ). To Example I tried to look if the mouse position is the same as the Pixel that is showing the button. But If I use some bigger areas it's getting to complicated. Now I'm searching for a Tutorial how to implement your own gui.
I'm really confused about it.
Well I hope you have/ know some good tutorials.
By the way, I took a look at the DXUTSample, but it's to big to get overview.