Added some tooltips to the capacitor icons.

I think we can close the tooltip icons ticket (105) now. We still need to implement the ticket for scan resolution, but that can come another day.

Changed readme file to reflect Oolong the rabbit.
This commit is contained in:
Corollax
2010-10-24 18:02:38 -05:00
parent 44618d612d
commit a72c77ae22
2 changed files with 9 additions and 3 deletions

2
README
View File

@@ -1,5 +1,5 @@
We should probably put something interesting in here.
Instead, here's a kitten with a pancake on its head:
Instead, here's a bunny with a pancake on its head:
___
m(^,^)m

View File

@@ -48,7 +48,10 @@ class CapacitorViewFull(StatsView):
baseBox = wx.BoxSizer(wx.HORIZONTAL)
sizerCapacitor.Add(baseBox, 0, wx.ALIGN_LEFT)
baseBox.Add(bitmapLoader.getStaticBitmap("capacitorInfo_big", parent, "icons"), 0, wx.ALIGN_CENTER)
bitmap = bitmapLoader.getStaticBitmap("capacitorInfo_big", parent, "icons")
tooltip = wx.ToolTip("Capacitor stability")
bitmap.SetToolTip(tooltip)
baseBox.Add(bitmap, 0, wx.ALIGN_CENTER)
box = wx.BoxSizer(wx.VERTICAL)
baseBox.Add(box, 0, wx.ALIGN_LEFT)
@@ -79,7 +82,10 @@ class CapacitorViewFull(StatsView):
sizerCapacitor.Add(baseBox, 0, wx.ALIGN_CENTER_HORIZONTAL)
baseBox.Add(bitmapLoader.getStaticBitmap("capacitorRecharge_big", parent, "icons"), 0, wx.ALIGN_CENTER)
tooltip = wx.ToolTip("Capacitor throughput")
bitmap = bitmapLoader.getStaticBitmap("capacitorRecharge_big", parent, "icons")
bitmap.SetToolTip(tooltip)
baseBox.Add(bitmap, 0, wx.ALIGN_CENTER)
# Recharge
chargeSizer = wx.FlexGridSizer(2, 3)