Author: dmeyer
Date: Sat Jan 20 20:30:36 2007
New Revision: 9028

Modified:
   trunk/ui/src/games/player.py

Log:
use new application code, not finished yet

Modified: trunk/ui/src/games/player.py
==============================================================================
--- trunk/ui/src/games/player.py        (original)
+++ trunk/ui/src/games/player.py        Sat Jan 20 20:30:36 2007
@@ -1,9 +1,9 @@
 
 __all__ = [ 'gamesplayer' ]
-from application import Application
+from application import Application, STATUS_RUNNING, STATUS_STOPPING, \
+        STATUS_STOPPED, STATUS_IDLE, CAPABILITY_TOGGLE, CAPABILITY_PAUSE, \
+        CAPABILITY_FULLSCREEN
 from event import *
-import gui
-import gui.areas
 import plugin
 
 _singleton = None
@@ -29,15 +29,13 @@
     basic object to handle the different player
     """
     def __init__(self):
-        Application.__init__(self, 'gamesplayer', 'games', True, True)
+        capabilities = ()
+        Application.__init__(self, 'games', 'games', capabilities)
         self.player     = None
         self.running    = False
         self.title      = None
         self.item       = None
 
-        # register player to the skin
-        areas = ('screen', 'title', 'view', 'info')
-        self.draw_engine = gui.areas.Handler('player', areas)
 
     def play(self, item, player=None):
         """

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to