Sign in to follow this  
dmc2005

C# MDX framework gui controls problem (rounded buttons)

Recommended Posts

In my 3D application i'm using the Directx Framework Gui controls. I'm currently trying to modify the controls and graphics. There's only one thing that i can't find. All my buttons and other controls get transparent rounded edges around them instead of the normal rect i specified for the texture. I searched the whole code and is easy to understand but i can't find something that makes the rounded edges. Here you can see what i mean Example Left is the result i get. Right is the result i expected. Is anybody familier with modifying the graphics of this controls?

Share this post


Link to post
Share on other sites
It's been a while since I used it, but I think the framework just uses the alpha channel of the texture, which results in the rounded buttons. At least I don't recal changing any code when customizing the gui myself. In case you're wondering, most decent image editors will allow you to edit the alpha channel, or at least save out image transparency to the alpha channel.

Hope this helps :)

Share this post


Link to post
Share on other sites
Problem Solved.. Thx very much

Searched in all the code while i just had to look in the alpha channel of the dds texture. :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this