Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / D3D Rounded boxes

Author
Message
NickH
18
Years of Service
User Offline
Joined: 19th May 2008
Location: Nova Prospekt, North Yorks, UK
Posted: 26th Apr 2011 21:57 Edited at: 26th Apr 2011 21:58
Hi, It's been a while since I was last here. I thought I'd have a play with DBpro again!

I'm just making the GUI for a game, mainly using D3D. It's working perfectly, but I moved onto making gadgets highlite as you went over them with the cursor. I've used lines, boxes and rounded boxes to make the button bar, but when I came to simply drawing a box as a highlite, it didn't work. I've tracked it down to the fact I've used 2 rounded boxes. One is solid and the other is an outline. Remarking the solid one made my boxes display. It seems if you use a solid round box you can't use a box afterwards. Does anyone know how to get around this?




Try moving the rounded box around and changing the last parameter to 0
Jimmy
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 26th Apr 2011 22:05
Hmm, that code works fine for me... You have the latest DBP update? As well as the latest D3D release?

Try doing a regular (dbp) box afterward.


May 10th / Geek Culture / Jerico2day-OBese87 / VOTE
NickH
18
Years of Service
User Offline
Joined: 19th May 2008
Location: Nova Prospekt, North Yorks, UK
Posted: 26th Apr 2011 22:26
Hehe. Well I only installed everything again a few days ago. You made me look to see what version of D3D I had and oops I'd downloaded a slightly older version I was convinced I had the newest version. My little example works now...I hope it works for my GUI!

Thanks for the kick in the right direction Jimmy!

Login to post a reply

Server time is: 2026-07-11 12:20:24
Your offset time is: 2026-07-11 12:20:24