Advertisement

Replace background color by area and by color with directdraw API

Started by June 03, 2022 01:32 PM
0 comments, last by mmarcoluca 2 years, 5 months 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