marco0999 Cheater
Reputation: 0
Joined: 28 Jun 2020 Posts: 29 Location: Italy
|
Posted: Fri Jun 03, 2022 1:28 am Post subject: directdraw how replace color by position area |
|
|
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, 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
|
|