36 lines
904 B
Plaintext
36 lines
904 B
Plaintext
|
//******************************************************************************
|
|||
|
//
|
|||
|
// <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: <20><>Ϫʱ<CFAA><CAB1><EFBFBD>Ƽ<EFBFBD><C6BC><EFBFBD><EFBFBD><EFBFBD>˾
|
|||
|
// <20><>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD>: q.100@qq.com
|
|||
|
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 2023/08/08
|
|||
|
//
|
|||
|
//******************************************************************************
|
|||
|
|
|||
|
global proc SGDemoHelp (string $help){
|
|||
|
|
|||
|
if (`window -q -ex demoHelpImageWin`)
|
|||
|
deleteUI demoHelpImageWin;
|
|||
|
window -t "Super Animation Demo Help" demoHelpImageWin;
|
|||
|
|
|||
|
string $path = `getenv "SG_PATH"`;
|
|||
|
string $image=$path+"images/ARKit/"+$help+".png";
|
|||
|
|
|||
|
formLayout -w 610 -h 800 demoHelpFormLayout;
|
|||
|
scrollLayout asDemoHelpImage;
|
|||
|
formLayout asDemoHelpFormLayoutB;
|
|||
|
image -i $image ;
|
|||
|
setParent..;
|
|||
|
setParent..;
|
|||
|
window -e -wh 804 580 demoHelpImageWin;
|
|||
|
|
|||
|
formLayout -e
|
|||
|
-af asDemoHelpImage "right" 0
|
|||
|
-af asDemoHelpImage "left" 0
|
|||
|
-af asDemoHelpImage "top" 0
|
|||
|
-af asDemoHelpImage "bottom" 0
|
|||
|
demoHelpFormLayout;
|
|||
|
|
|||
|
showWindow demoHelpImageWin;
|
|||
|
}
|
|||
|
|