Sign in to follow this  

C# MDX framework gui controls problem (rounded buttons)

This topic is 3773 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

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

This topic is 3773 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.

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