Commit Graph

176 Commits

Author SHA1 Message Date
Gerko de Roo
7a17d96a89 Added color highlight for stats window.
high and low threshold and color can be set in the xml file
2009-12-23 21:15:55 +01:00
grindi
40c8d31b19 Merge branch 'master' of git://github.com/kangaderoo/fpdb-grindi 2009-12-19 18:54:19 +03:00
unknown
3a742148ef Close stat window with double-click 2009-12-19 11:02:45 +01:00
Eric Blade
f05b521d6f comment out some prints, apparently mysqlcoder and my editors do not agree well with each other on spacing. 2009-12-03 07:24:12 -05:00
Eric Blade
bab3ad6ca9 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2009-11-29 12:28:14 -05:00
Eric Blade
3f140ab157 exception traceback in idle_func in create_hud 2009-11-29 12:25:02 -05:00
sqlcoder
b60895a89f merge from carl 2009-11-26 22:35:50 +00:00
sqlcoder
6037f17fb9 added seats options to hud menu 2009-11-26 22:24:24 +00:00
Eric Blade
9bf5017ff1 re-enable exception handling in idle_func() now that i know what we could expect to trap reasonably. Deal in update() with what might happen if update_table_position() fails 2009-11-24 06:08:43 -05:00
grindi
fd085ecb4d Fixed another aux bug 2009-11-07 00:46:50 +03:00
grindi
c4d3789657 Fixed: aux save layout doesn't work
Bug maker, look at
http://docs.python.org/tutorial/classes.html#generator-expressions
(...for...) returns generator rather than tuple
2009-11-06 23:47:31 +03:00
unknown
a6b7292943 mostly None checkings fixed (== to is != to is not) 2009-11-03 14:30:52 -05:00
unknown
cdc310dcb6 if HUD is told to create for a layout that doesn't exist in the config file, it will pick a 9 or 10 max layout and use it's positions, which you can then move the windows around, and save, and it should be saved in the right spot. 2009-11-01 01:23:07 -04:00
Mika Bostrom
2bc9fd59a9 Merge branch 'master' of git://trac-git.assembla.com/fpdb-sql 2009-10-10 09:13:18 +03:00
sqlcoder
7d708a327c try to fix aggBBmultItemAll error 2009-10-07 23:45:59 +01:00
Mika Bostrom
f6e1926679 Merge branch 'master' of git://trac-git.assembla.com/fpdb-sql 2009-10-07 19:59:45 +03:00
sqlcoder
5e3644d8d9 make separate hud menus for player and opponents stats 2009-10-04 12:26:37 +01:00
Mika Bostrom
18cc51ba7a Make hud's menu-area text configurable
By default the hud positions a little box on top-left corner of each
table. Make the text in this box user-modifiable without touching the
source.

Most likely useful for active users and those who play with smaller
tables. On shrunk table the default box may cover some of the players'
cards.
2009-10-03 21:05:41 +03:00
sqlcoder
61f384a886 improve stats menu in HUD some more 2009-10-01 23:16:20 +01:00
sqlcoder
b0037e545a improve stats menu on hud 2009-10-01 21:40:14 +01:00
sqlcoder
2b7a42bf1d fix bug for tourneys in new code, modify part of hud menu to use checkmenuitems 2009-09-29 23:34:52 +01:00
sqlcoder
16f8fffd68 add separate hud config for user and allow some user config in HUD menu (opponents still only via editing HUD_main.py) 2009-09-28 23:59:17 +01:00
sqlcoder
cb9a972eda add aggregation options to hud menu 2009-09-28 00:51:09 +01:00
sqlcoder
d6414d211b allow separate hud options on each table and add aggregate options to main table menu 2009-09-27 21:23:00 +01:00
sqlcoder
518fd9e039 merge from Eric 2009-09-26 11:45:05 +01:00
sqlcoder
ea74862a5a start changes to allow different hud choices for hero and opponents 2009-09-26 11:30:12 +01:00
Eric Blade
23acfbd642 deal with KeyErrors in update() in a vaguely intelligent fashion 2009-09-15 21:25:26 -05:00
Eric Blade
b0616a7d2c as soon as a stat window is clicked on, with any button, bring it forward. this seems to almost completely solve the insane focus-wobbling in windows 2009-09-13 15:08:23 -05:00
Eric Blade
e681fe4958 little cleanup 2009-09-06 23:07:40 -05:00
Eric Blade
e7d43ceaca fix taskbar listing of fpdb hud 2009-09-04 14:14:38 -05:00
Eric Blade
a7dd023616 some error cleanup 2009-09-04 05:09:03 -05:00
Eric Blade
844a01318a cleanup to hud window creation, menu creation, deal properly with calls to the timeout function when we're not ready for it yet, simplify the "topify" methods, hopefully fix some focus problems 2009-09-03 09:35:59 -05:00
Eric Blade
2ae6790421 fix popup window (if your configuration is correct anyway) 2009-08-27 07:41:43 -05:00
Eric Blade
079ce989cc Tables: add " - Table " to ignore strings, so we don't attach to Absolute chat windows 2009-08-27 04:28:59 -05:00
Eric Blade
677b0a5e35 Merge branch 'master' of git://git.assembla.com/fpdboz.git 2009-08-19 05:59:50 -05:00
Eric Blade
fafbda8053 add proper returns for our mouse-button callbacks in HUD, also trap events for focus change, which doesn't entirely solve the focus issues, but does lessen them for me 2009-08-19 05:59:44 -05:00
Worros
6648036399 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-08-15 23:38:54 +08:00
Mika Bostrom
b79f0ddccf Actually call position update on reposition
Forgot to commit the call that does hud and aux window repositioning
2009-08-15 14:36:08 +03:00
Worros
ecad66f7d8 Merge branch 'master' of git://repo.or.cz/fpbd-bostik 2009-08-15 19:06:18 +08:00
Mika Bostrom
53eaee4d7c Fix mucked cards' position update
When menu->reposition is called, only the HUD windows were moved to
their new positions. The auxiliary windows used for mucked cards
remained where they were at the time the HUD instance was created. This
caused mucked cards to appear in wrong places after the poker table was
moved.

Split positioning code in Mucked.py to its own method. Now the same
routine that moves HUD windows to their new places also invokes code
to reposition auxiliary windows.

Now the mucked cards are displayed at correct screen coordinates too.
2009-08-15 10:44:04 +03:00
grindi
4c449059ed HUD: added max seats submenu 2009-08-10 00:26:24 +04:00
eblade
2685608294 bump atofpdb siteid
configuration should not error if 'site' is empty (ie when running from command line)
guiplayerstats won't auto-load default report
hud should work from command line
2009-08-05 23:57:26 -04:00
Ray
2adef78269 Get rid of intermediate prints. 2009-07-27 15:41:42 -04:00
Ray
2f8918ebc9 Merge branch 'master' of git://git.assembla.com/fpdb-eric 2009-06-23 10:25:12 -04:00
Ray
287394c97d Use xpad and ypad from game element. 2009-06-20 10:01:52 -04:00
Ray
b1ea38bea9 Add -c config cl option. Fpdb passes cl options to HUD. 2009-06-14 23:14:53 -04:00
eblade
93172a1a03 remove the loop from the other topify function (doesn't look like we've needed that in there in months.. oops) 2009-06-12 02:30:14 -04:00
eblade
c63e0ab461 Q&D change for old Hud code to remove the loop from one topify_window(), as we found out how to get it when working on the new Hud stuff 2009-06-10 14:11:20 -04:00
eblade
2e4c792bbe Merge branch 'master' of git://git.assembla.com/fpdboz.git 2009-05-30 12:04:43 -04:00
eblade
f1230c459c Apparently I made a comment and a change that I didn't realise before 0.11, and forgot to commit. oopsie. 2009-05-30 12:02:31 -04:00