Documentation, screenshots and a couple of tweaks (#142)
* Documentation, screenshots and a couple of tweaks * Changelog * changelog
This commit is contained in:
1 parent
bea7fb209b
commit
0bcf361eb0
27 files changed
+642
-102
No files matched your search
@@ -43,6 +43,7 @@ function LoadPlayletLib() as void
|
||||
|
||||
RemoveComponentLibrary()
|
||||
m.lib = m.top.getScene().createChild("ComponentLibrary")
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
m.lib.observeField("loadStatus", "OnLoadStatusChanged")
|
||||
|
||||
uri = m.playletLibUrls[m.playletLibUrlIndex].link
|
||||
|
||||
@@ -2,8 +2,10 @@ function Init()
|
||||
m.busySpinner = m.top.findNode("busySpinner")
|
||||
m.busyspinner.poster.width = 150
|
||||
m.busyspinner.poster.height = 150
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
m.busyspinner.poster.observeField("loadStatus", "PositionSpinner")
|
||||
m.busySpinner.poster.uri = "pkg:/images/spinner.png"
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
m.top.observeField("visible", "OnVisibleChange")
|
||||
end function
|
||||
|
||||
|
||||
@@ -6,7 +6,9 @@ function ShowErrorDialog(message as object, bulletText as object, bottomMessage
|
||||
dialog.title = "Error loading Playlet"
|
||||
dialog.buttons = ["Exit"]
|
||||
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
dialog.observeField("buttonSelected", "OnButtonSelected")
|
||||
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
|
||||
dialog.observeField("wasClosed", "OnDialogClosed")
|
||||
|
||||
m.top.getScene().dialog = dialog
|
||||
|
||||
Reference in new issue
Block a user