Revert "Begin integration of AW_HUD stuff."

This reverts commit 27f7921f6e.
This commit is contained in:
Eratosthenes
2011-01-30 17:18:53 -05:00
parent c8a9529ae4
commit 8477eb912b
3 changed files with 476 additions and 175 deletions
+6 -4
View File
@@ -25,12 +25,17 @@ Mucked cards display for FreePokerTools HUD.
# to do
# Standard Library modules
#import sys
#import pprint
# pyGTK modules
#import pygtk
import gtk
import gobject
# FreePokerTools modules
#import Configuration
#import Database
import Card
class Aux_Window(object):
@@ -385,9 +390,8 @@ class Aux_Seats(Aux_Window):
self.m_windows[i] = self.aw_window_type(self)
self.m_windows[i].set_decorated(False)
self.m_windows[i].set_property("skip-taskbar-hint", True)
self.m_windows[i].set_transient_for(self.hud.main_window) # FIXME: shouldn't this be the table window??
self.m_windows[i].set_focus_on_map(False)
self.m_windows[i].set_focus(None)
self.m_windows[i].set_accept_focus(False)
self.m_windows[i].connect("configure_event", self.configure_event_cb, i)
self.positions[i] = self.card_positions((x * width) / 1000, self.hud.table.x, (y * height) /1000, self.hud.table.y)
self.m_windows[i].move(self.positions[i][0], self.positions[i][1])
@@ -397,8 +401,6 @@ class Aux_Seats(Aux_Window):
# the create_contents method is supplied by the subclass
self.create_contents(self.m_windows[i], i)
self.m_windows[i].realize()
self.hud.table.topify(self.m_windows[i])
self.m_windows[i].show_all()
if self.uses_timer:
self.m_windows[i].hide()