NovaBryan/EVE_Dump
Log | Files | 📦 下载最新源码 (.zip) | Refs | README

encryptedItemsWindow.py (670B)


      1 #Embedded file name: C:\BuildAgent\work\20d73f1b24eed06e\eve\release\V24.01\eve\client\script\ui\services\encryptedItemsWindow.py
      2 from carbonui.control.window import Window
      3 from carbonui.primitives.sprite import StreamingVideoSprite
      4 from carbonui.uiconst import TOALL
      5 
      6 class EncryptedItemsResultWindow(Window):
      7     __guid__ = 'form.EncryptedItemsResultWindow'
      8     default_width = 900
      9     default_height = 480
     10 
     11     def ApplyAttributes(self, attributes):
     12         super(EncryptedItemsResultWindow, self).ApplyAttributes(attributes)
     13         video_path = attributes.url
     14         StreamingVideoSprite(parent=self.sr.main, align=TOALL, videoPath=video_path, videoAutoPlay=True)