예제 #1
0
    def __init__(self):
        BaseOverlay.__init__(self, title="Rolling DPS")

        self.Bind(wx.EVT_WINDOW_DESTROY, self.OnClose)

        analyzer = log_analyzer.get()
        analyzer.registerFrame(self)
        self.onAnalyzerTick(analyzer)
예제 #2
0
    def createUI(self):
        BaseOverlay.createUI(self)

        # DPS
        self.dps = wx.StaticText(self.panel, -1, "2100.35")
        self.dps.SetFont(wx.Font(24, wx.SWISS, wx.NORMAL, wx.BOLD))
        self.dps.SetSize(self.dps.GetBestSize())
        self.box.Add(self.dps, 0, wx.ALL, 10)
예제 #3
0
파일: timer.py 프로젝트: TeamSWAP/swap
    def createUI(self):
        BaseOverlay.createUI(self)

        # Timer
        self.timer = wx.StaticText(self.panel, -1, "")
        self.timer.SetFont(wx.Font(24, wx.SWISS, wx.NORMAL, wx.BOLD))
        self.timer.SetSize(self.timer.GetBestSize())
        self.box.Add(self.timer, 0, wx.ALL, 10)
예제 #4
0
    def createUI(self):
        BaseOverlay.createUI(self)

        # Healing
        self.healing = wx.StaticText(self.panel, -1, "")
        self.healing.SetFont(wx.Font(24, wx.SWISS, wx.NORMAL, wx.BOLD))
        self.healing.SetSize(self.healing.GetBestSize())
        self.box.Add(self.healing, 0, wx.ALL, 10)
예제 #5
0
파일: enrage_bar.py 프로젝트: TeamSWAP/swap
    def createUI(self):
        BaseOverlay.createUI(self)

        self.bar = ShareBar(self.panel, -1)
        self.bar.SetValue(0.0)
        self.bar.SetLabel("")
        self.bar.SetReversed(True)
        self.bar.SetSize(self.bar.GetBestSize())
        self.bar.SetForegroundColour("red")
        self.box.Add(self.bar, 1, wx.EXPAND | wx.ALL, 10)
예제 #6
0
 def updateColors(self):
     self.dps.SetForegroundColour(self.getForegroundColor())
     BaseOverlay.updateColors(self)
예제 #7
0
파일: enrage_bar.py 프로젝트: TeamSWAP/swap
 def updateColors(self):
     self.bar.SetBackgroundColour(self.getBackgroundColor())
     BaseOverlay.updateColors(self)
예제 #8
0
 def updateColors(self):
     self.damage.SetForegroundColour(self.getForegroundColor())
     BaseOverlay.updateColors(self)