Quote:
Originally Posted by Eleatic Stranger
Surprisingly enough it didn’t crash, even after some hundreds of hands, but a few strange graphical distortions occurred which I attribute to the fact that the statistics windows were being displayed and updated simultaneously by different threads. So I have added a locking mechanism and it now works flawlessly.
It would be fantastic if you could add proper multi-table support. I’ll be looking forward to trying it out; please keep me informed.
Hi E.S.--
I have separated the gui and database access in HUD_main into different threads. Accessing the db does not block gui actions, so this should be OK for your multitabling.
I have also made a change to HUD.py to cause stat windows to be hidden when the table main window is minimized. I have turned that feature off in the source, you can turn it back on by changing line 55 in Hud.py
Code:
self.stacked = False
to True (I'll stick this in the config file soon.). This code is really simple and seems to be happy in both Linux and Windows.
As usual, this is not in the main release yet, but you can get it from my git repo:
git clone git://git.assembla.com/free_poker_tools.git
I have a plan to do the "new top window" detection that I
think will work for X, but not windows--I'm doing some experimenting. If it works, I'll go ahead and put the Linux support in and then see if I can figure out windows.
Let me know how it goes.