mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2025-01-09 17:53:50 +00:00
removed star from gui
This commit is contained in:
parent
56b86650f4
commit
6bb564c2f5
1 changed files with 0 additions and 7 deletions
|
@ -56,14 +56,11 @@ class BossLobbyGui(DirectFrame):
|
||||||
|
|
||||||
def load(self):
|
def load(self):
|
||||||
empty = loader.loadModel("phase_3.5/models/gui/matching_game_gui.bam")
|
empty = loader.loadModel("phase_3.5/models/gui/matching_game_gui.bam")
|
||||||
check = loader.loadModel("phase_3.5/models/gui/name_star")
|
|
||||||
buttons = loader.loadModel("phase_3/models/gui/dialog_box_buttons_gui")
|
buttons = loader.loadModel("phase_3/models/gui/dialog_box_buttons_gui")
|
||||||
self.emptyList = (empty.find("**/minnieCircle"), empty.find("**/minnieCircle"), empty.find("**/minnieCircle"))
|
self.emptyList = (empty.find("**/minnieCircle"), empty.find("**/minnieCircle"), empty.find("**/minnieCircle"))
|
||||||
self.checkList = (check.find("**/*"), check.find("**/*"), check.find("**/*"))
|
|
||||||
okImageList = (buttons.find('**/ChtBx_OKBtn_UP'), buttons.find('**/ChtBx_OKBtn_DN'), buttons.find('**/ChtBx_OKBtn_Rllvr'))
|
okImageList = (buttons.find('**/ChtBx_OKBtn_UP'), buttons.find('**/ChtBx_OKBtn_DN'), buttons.find('**/ChtBx_OKBtn_Rllvr'))
|
||||||
cancelImageList = (buttons.find('**/CloseBtn_UP'), buttons.find('**/CloseBtn_DN'), buttons.find('**/CloseBtn_Rllvr'))
|
cancelImageList = (buttons.find('**/CloseBtn_UP'), buttons.find('**/CloseBtn_DN'), buttons.find('**/CloseBtn_Rllvr'))
|
||||||
empty.removeNode()
|
empty.removeNode()
|
||||||
check.removeNode()
|
|
||||||
buttons.removeNode()
|
buttons.removeNode()
|
||||||
self.title = DirectLabel(parent=self, relief=None, text="Select a Lobby", textMayChange=1, text_scale=0.1, pos=(0, 0, 0.25))
|
self.title = DirectLabel(parent=self, relief=None, text="Select a Lobby", textMayChange=1, text_scale=0.1, pos=(0, 0, 0.25))
|
||||||
self.okButton = DirectButton(parent=self, relief=None, image=okImageList, pos=(-0.1, 0, -0.275), command=self.nextFrame, extraArgs=[True])
|
self.okButton = DirectButton(parent=self, relief=None, image=okImageList, pos=(-0.1, 0, -0.275), command=self.nextFrame, extraArgs=[True])
|
||||||
|
@ -80,11 +77,7 @@ class BossLobbyGui(DirectFrame):
|
||||||
newSelection = self.buttons[buttonId]
|
newSelection = self.buttons[buttonId]
|
||||||
if newSelection:
|
if newSelection:
|
||||||
for button in self.buttons:
|
for button in self.buttons:
|
||||||
button['image'] = self.emptyList
|
|
||||||
button['image_scale'] = 0.55
|
|
||||||
button.setColor(1, 1, 1, 1)
|
button.setColor(1, 1, 1, 1)
|
||||||
newSelection['image'] = self.checkList
|
|
||||||
newSelection['image_scale'] = 0.11
|
|
||||||
newSelection.setColor(0, 1, 0, 1)
|
newSelection.setColor(0, 1, 0, 1)
|
||||||
self.selection = buttonId
|
self.selection = buttonId
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue