Quote:
Originally Posted by pl4yd0ugh
ive been working on one of my own in python and sql.
the main problem ive had is finding a good solution to make a hud. im using the wx module which can draw directly to screen but poker windows immediately overwrite it
My solution to this was basically to use Window's API to do to the following:
1. pin a window "above" a target window (the target being the poker window)
2. draw my HUD window with a green background
3. use the window API to apply chroma keying (making a particular color transparent)
4. use a windows API to remove the window decoration (border, etc)
5. check the location of the poker window many times/s so that if it moves I can move my HUD window to cover it
It worked well enough.
I was using python, but I was using another scripting language. I just wrote a module in C that did what I wanted. You may be able to find a python module that wraps windows APIs directly.