mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 19:52:37 -06: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):
|
||||
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")
|
||||
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'))
|
||||
cancelImageList = (buttons.find('**/CloseBtn_UP'), buttons.find('**/CloseBtn_DN'), buttons.find('**/CloseBtn_Rllvr'))
|
||||
empty.removeNode()
|
||||
check.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.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]
|
||||
if newSelection:
|
||||
for button in self.buttons:
|
||||
button['image'] = self.emptyList
|
||||
button['image_scale'] = 0.55
|
||||
button.setColor(1, 1, 1, 1)
|
||||
newSelection['image'] = self.checkList
|
||||
newSelection['image_scale'] = 0.11
|
||||
newSelection.setColor(0, 1, 0, 1)
|
||||
self.selection = buttonId
|
||||
|
||||
|
|
Loading…
Reference in a new issue