Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 6
0
 def updateColors(self):
     self.dps.SetForegroundColour(self.getForegroundColor())
     BaseOverlay.updateColors(self)
Exemplo n.º 7
0
 def updateColors(self):
     self.bar.SetBackgroundColour(self.getBackgroundColor())
     BaseOverlay.updateColors(self)
Exemplo n.º 8
0
 def updateColors(self):
     self.damage.SetForegroundColour(self.getForegroundColor())
     BaseOverlay.updateColors(self)