Example #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)
Example #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)
Example #3
0
    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)
Example #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)
Example #5
0
    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)
Example #6
0
 def updateColors(self):
     self.dps.SetForegroundColour(self.getForegroundColor())
     BaseOverlay.updateColors(self)
Example #7
0
 def updateColors(self):
     self.bar.SetBackgroundColour(self.getBackgroundColor())
     BaseOverlay.updateColors(self)
Example #8
0
 def updateColors(self):
     self.damage.SetForegroundColour(self.getForegroundColor())
     BaseOverlay.updateColors(self)