add tooltips to character selection
This commit is contained in:
parent
d06bc9943d
commit
2e589f1b36
@ -6,7 +6,6 @@ from buttons import PixmapButton
|
||||
|
||||
AOpath = "base/"
|
||||
AO2XPpath = "AO2XPbase/"
|
||||
#AOpath = "I:/aovanilla1.7.5/client/base/"
|
||||
|
||||
def get_option(section, value, default=""):
|
||||
tempini = ConfigParser()
|
||||
@ -125,6 +124,7 @@ class charselect(QtGui.QWidget):
|
||||
self.chartaken[i].show()
|
||||
|
||||
self.buttons[i].show()
|
||||
self.buttons[i].setToolTip(self.charlist[ind][0])
|
||||
|
||||
def setButtonImage(self, filename, ind):
|
||||
self.buttons[ind].setPixmap(QtGui.QPixmap(filename))
|
||||
|
BIN
freeglut.dll
BIN
freeglut.dll
Binary file not shown.
2882
gameview_scaled.py
2882
gameview_scaled.py
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user