Skip to content

Commit

Permalink
First push for Yeesha Page 27
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazado committed May 17, 2022
1 parent 01e077f commit 0b71382
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Scripts/Python/clftYeeshaPage08.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@
kYeeshaPage24 = 224
kYeeshaPage25 = 225
kYeeshaPage26 = 226
kYeeshaPage27 = 227
kYeeshaPageCancel = 299

isOpen = 0
Expand Down Expand Up @@ -233,7 +234,8 @@ def SetStdGUIVisibility(self, visible):
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage24)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).hide()

ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage08)).show()

GUIDialogObject.value.draw.disable()
GUIDialogObject.value.draw.disable()
2 changes: 1 addition & 1 deletion Scripts/Python/psnlYeeshaPageChanges.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
from PlasmaVaultConstants import *
from PlasmaNetConstants import *
from xPsnlVaultSDL import *
import xLinkingBookDefs

PageNumber = ptAttribInt(1, "Yeesha Page Number")
stringShowStates = ptAttribString(2,"States in which shown")
Expand All @@ -63,7 +64,6 @@
respDisable = ptAttribResponder(6, "Disabled resp (if necessary)")

#globals
import xLinkingBookDefs
TotalPossibleYeeshaPages = len(xLinkingBookDefs.xYeeshaPages)
HideCleftPole = 0

Expand Down
4 changes: 3 additions & 1 deletion Scripts/Python/xLinkingBookDefs.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,13 @@
xYeeshaPage24 = ( "YeeshaPage24", '<pb><img src="xYeeshaPageAlphaSketchStorm*1#0.hsm" align=center check=00ff18,00800c,%d link=25>' )
xYeeshaPage25 = ( "YeeshaPage25", '<pb><img src="xYeeshaPageAlphaSketch14*1#0.hsm" align=center check=00ff18,00800c,%d link=26>' )
xYeeshaPage26 = ( "YeeshaPage26", '<pb><img src="xYeeshaPageVeelay7.dds" align=center check=00ff18,00800c,%d link=27>' )
xYeeshaPage27 = ( "YeeshaPage27", '<pb><img src="xYeeshaPageOcean.dds" align=center check=00ff18,00800c,%d link=28>' )


xYeeshaPages = [ xYeeshaPage1, xYeeshaPage2, xYeeshaPage3, xYeeshaPage4, xYeeshaPage5, xYeeshaPage6, xYeeshaPage7,\
xYeeshaPage8, xYeeshaPage9, xYeeshaPage10, xYeeshaPage12, xYeeshaPage13, xYeeshaPage14, xYeeshaPage15,\
xYeeshaPage16, xYeeshaPage17, xYeeshaPage18, xYeeshaPage19, xYeeshaPage20, xYeeshaPage21, xYeeshaPage22, xYeeshaPage23, xYeeshaPage24, xYeeshaPage25, xYeeshaPage26 ]
xYeeshaPage16, xYeeshaPage17, xYeeshaPage18, xYeeshaPage19, xYeeshaPage20, xYeeshaPage21, xYeeshaPage22,\
xYeeshaPage23, xYeeshaPage24, xYeeshaPage25, xYeeshaPage26, xYeeshaPage27 ]



Expand Down
8 changes: 7 additions & 1 deletion Scripts/Python/xYeeshaPages.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,16 @@
kYeeshaPage24 = 224
kYeeshaPage25 = 225
kYeeshaPage26 = 226
kYeeshaPage27 = 227
kYeeshaPageCancel = 299

YeeshaPageIDList = [ kYeeshaPage01, kYeeshaPage02, kYeeshaPage03, kYeeshaPage04,\
kYeeshaPage05, kYeeshaPage06, kYeeshaPage07, kYeeshaPage08,\
kYeeshaPage09, kYeeshaPage10, kYeeshaPage12, kYeeshaPage13,\
kYeeshaPage14, kYeeshaPage15, kYeeshaPage16, kYeeshaPage17,\
kYeeshaPage18, kYeeshaPage19, kYeeshaPage20, kYeeshaPage21, kYeeshaPage22, kYeeshaPage23, kYeeshaPage24, kYeeshaPage25, kYeeshaPage26 ]
kYeeshaPage18, kYeeshaPage19, kYeeshaPage20, kYeeshaPage21, \
kYeeshaPage22, kYeeshaPage23, kYeeshaPage24, kYeeshaPage25, \
kYeeshaPage26, kYeeshaPage27 ]


class xYeeshaPages(ptModifier):
Expand Down Expand Up @@ -236,6 +239,7 @@ def IDrawLinkPanel(self):
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage24)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).hide()
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).hide()

#now draw correct panel
if (PageNumber.value) == 1:
Expand Down Expand Up @@ -288,6 +292,8 @@ def IDrawLinkPanel(self):
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage25)).show()
elif (PageNumber.value) == 26:
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage26)).show()
elif (PageNumber.value) == 27:
ptGUIControlButton(mydialog.getControlFromTag(kYeeshaPage27)).show()


else:
Expand Down

0 comments on commit 0b71382

Please sign in to comment.