DX9-Overlay-API
DX9-Overlay-API copied to clipboard
Making text or drawings clickable
Is there anyway so that I can make an event if someone clicks on text or drawings I put into the game overlays? For example a link that opens the default browser to the link?
You can create a own event. Get the bounds of the text and then check if the mouse was clicked and the mouse position is inside the bounds of the text. The API itself is only for drawing.
Thanks a lot. Obviously I am new to the DirectX world and pretty much figured it would be as you answered. Feel free to close this.
@agrippa1994 think that should be closed now.