🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Replace background color by area and by color with directdraw API

Started by
0 comments, last by mmarcoluca 2 years ago

Hi,

I need to implement a sort of "select box" on this vertical menu:

http://pro-software.it/bzbackground2.png

In short I like to add the possibility to navigate the vertical menu via arrow keys.

I have already hook the game (that is a old 32 bit), but this part I need to do manually.

I thing the best way is use directdraw API but I don't have experience about it.

Theoretically I can follow 2 ways:

1) Change and resume the backgroud color of the selected item by position and color.
2) Add and remove a rounded box outside the selected item by position (this is not best but seem more easy to do).

I ask what are the directdraw (or other) API that do it.

Any tips are much appreciated.

Best Regards

This topic is closed to new replies.

Advertisement