p59 - hud update from ray

This commit is contained in:
steffen123 2008-08-19 00:18:17 +01:00
parent c716dfd35e
commit eff5c9cc6e
2 changed files with 7 additions and 55 deletions

View File

@ -2,7 +2,7 @@
<FreePokerToolsConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FreePokerToolsConfig.xsd">
<supported_sites>
<site site_name="PokerStars" table_finder="PokerStars" screen_name="abc" site_path="~/.wine/drive_c/Program Files/PokerStars/" HH_path="~/.wine/drive_c/Program Files/PokerStars/HandHistory/" decoder="pokerstars_decode_table">
<site site_name="PokerStars" table_finder="PokerStars" screen_name="DO NOT NEED THIS YET" site_path="~/.wine/drive_c/Program Files/PokerStars/" HH_path="~/.wine/drive_c/Program Files/PokerStars/HandHistory/abc/" decoder="pokerstars_decode_table">
<layout max="8" width="792" height="546" fav_seat="0">
<location seat="1" x="684" y="61"> </location>
<location seat="2" x="689" y="239"> </location>
@ -45,51 +45,6 @@
<location seat="9" x="140" y="0"> </location>
</layout>
</site>
<site site_name="FullTilt" table_finder="FullTilt" screen_name="abc">
</site>
<site site_name="PokerStars.py" table_finder="PokerStars.py" screen_name="abc" site_path="~/.wine/drive_c/Program Files/PokerStars/" HH_path="~/.wine/drive_c/Program Files/PokerStars/HandHistory/" decoder="pokerstars_decode_table">
<layout max="6" width="792" height="546" fav_seat="0">
<location seat="1" x="681" y="119"> </location>
<location seat="2" x="681" y="301"> </location>
<location seat="3" x="487" y="369"> </location>
<location seat="4" x="226" y="369"> </location>
<location seat="5" x="0" y="301"> </location>
<location seat="6" x="0" y="119"> </location>
</layout>
<layout max="10" width="792" height="546" fav_seat="0">
<location seat="1" x="684" y="61"> </location>
<location seat="2" x="689" y="239"> </location>
<location seat="3" x="692" y="346"> </location>
<location seat="4" x="586" y="393"> </location>
<location seat="5" x="421" y="440"> </location>
<location seat="6" x="267" y="440"> </location>
<location seat="7" x="0" y="361"> </location>
<location seat="8" x="0" y="280"> </location>
<location seat="9" x="121" y="280"> </location>
<location seat="10" x="46" y="30"> </location>
</layout>
<layout max="8" width="792" height="546" fav_seat="0">
<location seat="1" x="559" y="62"> </location>
<location seat="2" x="678" y="117"> </location>
<location seat="3" x="678" y="282"> </location>
<location seat="4" x="525" y="402"> </location>
<location seat="5" x="259" y="402"> </location>
<location seat="6" x="0" y="348"> </location>
<location seat="7" x="0" y="240"> </location>
<location seat="8" x="0" y="35"> </location>
</layout>
<layout max="9" width="792" height="546" fav_seat="0">
<location seat="1" x="560" y="0"> </location>
<location seat="2" x="679" y="123"> </location>
<location seat="3" x="688" y="309"> </location>
<location seat="4" x="483" y="370"> </location>
<location seat="5" x="444" y="413"> </location>
<location seat="6" x="224" y="372"> </location>
<location seat="7" x="0" y="307"> </location>
<location seat="8" x="0" y="121"> </location>
<location seat="9" x="140" y="0"> </location>
</layout>
</site>
</supported_sites>
<supported_games>
<game game_name="holdem" db="fpdb" rows="2" cols="3">
@ -100,17 +55,9 @@
<stat row="1" col="1" stat_name="n" tip="tip1" click="tog_decorate"> </stat>
<stat row="1" col="2" stat_name="wtsd" tip="tip1" click="tog_decorate"> </stat>
</game>
<game game_name="razz" db="ptracks" rows="2" cols="3">
<stat row="0" col="0" stat_name="vpip" tip="tip1" click="tog_decorate"> </stat>
<stat row="0" col="1" stat_name="pfr" tip="tip1" click="tog_decorate"> </stat>
<stat row="0" col="2" stat_name="saw_f" tip="tip1" click="tog_decorate"> </stat>
<stat row="1" col="0" stat_name="fold_f" tip="tip1" click="tog_decorate"> </stat>
<stat row="1" col="1" stat_name="n" tip="tip1" click="tog_decorate"> </stat>
<stat row="1" col="2" stat_name="wtsd" tip="tip1" click="tog_decorate"> </stat>
</game>
</supported_games>
<supported_databases>
<database db_name="fpdb" db_server="mysql" db_ip="localhost" db_user="fpdb" db_pass="yourPassword" db_type="fpdb"> </database>
<database db_name="fpdb" db_server="mysql" db_ip="localhost" db_user="fpdb" db_pass="YOUR MYSQL PASSWORD" db_type="fpdb"> </database>
</supported_databases>
<mucked_windows>
<mw mw_name="stud1" format="stud" rows="8" cols="11" deck="Cards01.png" card_wd="30" card_ht="42"> </mw>

View File

@ -79,6 +79,11 @@ def process_new_hand(source, condition):
return(1)
if __name__== "__main__":
if not os.name == 'posix':
print "This version of the HUD only works with Linux or compatible.\nHUD exiting."
sys.exit()
main_window = gtk.Window()
main_window.connect("destroy", destroy)
label = gtk.Label('Fake main window, blah blah, blah\nblah, blah')