| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438 |
- //--- OBJECT WRITE BEGIN ---
- %guiContent = new GuiWindowCtrl(ShapeEdAnimWindow) {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiToolbarWindowProfile";
- HorizSizing = "width";
- VertSizing = "top";
- Position = -1 SPC getWord(ShapeEdPreviewGui.extent,0)-94;
- Extent = "817 53";
- MinExtent = "475 53";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- Margin = "4 4 4 4";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- resizeWidth = "1";
- resizeHeight = "0";
- canMove = "1";
- canClose = "0";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- EdgeSnap = "0";
- canCollapse = "0";
- text = "";
- new GuiContainer() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "top";
- Position = "5 10";
- Extent = "809 ";
- MinExtent = "8 8";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- // Sequence playback controls
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "width";
- VertSizing = "top";
- Position = "0 3";
- Extent = "809 38";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiTextCtrl() {
- HorizSizing = "left";
- VertSizing = "top";
- position = "740 19";
- Extent = "35 16";
- text = "Frame:";
- };
- new GuiTextCtrl() {
- HorizSizing = "left";
- VertSizing = "top";
- Profile = "ToolsGuiTextProfile";
- position = "778 19";
- Extent = "26 18";
- Variable = "$ShapeEdCurrentFrame";
- };
- new GuiTextEditCtrl() {
- internalName = "seqIn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "0 0";
- Extent = "28 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdSequences.onEditSeqInOut(\"in\", $ThisControl.getText());";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Set the In Point to the Current Frame";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "5";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
-
- new GuiSliderCtrl(ShapeEdSeqSlider) {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiSliderProfile";
- HorizSizing = "width";
- VertSizing = "bottom";
- Position = "35 4";
- Extent = "736 20";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- range = "0 255";
- ticks = "0";
- value = "0";
- Variable = "$ShapeEdCurrentFrame";
- };
-
- new GuiTextEditCtrl() {
- internalName = "seqOut";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiTextEditProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- Position = "778 0";
- Extent = "28 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- AltCommand = "ShapeEdSequences.onEditSeqInOut(\"out\", $ThisControl.getText());";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Set the Out Point to the Current Frame";
- hovertime = "1000";
- Margin = "0 0 0 0";
- Padding = "0 0 0 0";
- AnchorTop = "1";
- AnchorBottom = "0";
- AnchorLeft = "1";
- AnchorRight = "0";
- maxLength = "5";
- historySize = "0";
- password = "0";
- tabComplete = "0";
- sinkAllKeyEvents = "0";
- passwordMask = "*";
- };
- // VCR style buttons: back step_back play step_fwd fwd
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "center";
- VertSizing = "top";
- position = "194 17";
- extent = "420 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "0 0";
- Extent = "28 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdSequences.onEditSeqInOut(\"in\", ShapeEdSeqSlider.getValue());";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Set the in position to the current frame (I)";
- hovertime = "1000";
- text = "in";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "48 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setKeyframe( ShapeEdAnimWindow-->seqIn.getText() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Skip to in frame (SHIFT -)";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/back_btn";
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "76 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setKeyframe( mCeil(ShapeEdSeqSlider.getValue() - 1) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Previous frame (-)";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/stepback_btn";
- internalName = "stepBkwdBtn";
- };
- new GuiControl() {
- canSaveDynamicFields = "0";
- isContainer = "1";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "114 0";
- Extent = "94 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- tooltipprofile = "ToolsGuiToolTipProfile";
- hovertime = "1000";
- new GuiBitmapButtonCtrl() {
- internalName = "playBkwdBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "0 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setNoProxySequence(); ShapeEdAnimWindow.setThreadDirection( -1 );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Play sequence in reverse";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/playbkwd_btn";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "pauseBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "38 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setThreadDirection( 0 );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Toggle pause (SPACE)";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/pause_btn";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "playFwdBtn";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- Position = "76 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setNoProxySequence(); ShapeEdAnimWindow.setThreadDirection( 1 );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Play sequence";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "RadioButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/playfwd_btn";
- };
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "228 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setKeyframe( mFloor(ShapeEdSeqSlider.getValue() + 1) );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Next frame (+)";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/stepfwd_btn";
- internalName = "stepFwdBtn";
- };
- new GuiBitmapButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "266 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.setKeyframe( ShapeEdAnimWindow-->seqOut.getText() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Skip to out frame (SHIFT +)";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "PushButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/fwd_btn";
- };
- new GuiButtonCtrl() {
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- horizSizing = "right";
- VertSizing = "bottom";
- position = "306 0";
- Extent = "28 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdSequences.onEditSeqInOut(\"out\", ShapeEdSeqSlider.getValue());";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Set the out position to the current frame (O)";
- hovertime = "1000";
- text = "out";
- groupNum = "-1";
- buttonType = "PushButton";
- useMouseEvents = "0";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "pingpong";
- canSaveDynamicFields = "0";
- isContainer = "0";
- Profile = "ToolsGuiButtonProfile";
- horizSizing = "left";
- VertSizing = "bottom";
- position = "365 0";
- Extent = "18 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Command = "ShapeEdAnimWindow.togglePingPong();";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Toggle 'pingpong' mode on the current thread";
- hovertime = "1000";
- groupNum = "0";
- buttonType = "ToggleButton";
- useMouseEvents = "0";
- bitmap = "tools/shapeEditor/images/pingpong_btn";
- };
- new GuiTextEditCtrl() {
- internalName = "timeScale";
- Profile = "ToolsGuiTextEditProfile";
- horizSizing = "left";
- VertSizing = "bottom";
- position = "390 0";
- extent = "30 18";
- MinExtent = "8 2";
- canSave = "1";
- Visible = "1";
- Text = "1.0";
- AltCommand = "ShapeEdShapeView.setTimeScale( $ThisControl.getText() );";
- tooltipprofile = "ToolsGuiToolTipProfile";
- ToolTip = "Edit this value to change the playback speed for all threads";
- hovertime = "1000";
- canSaveDynamicFields = "0";
- };
- };
- };
- new GuiBitmapButtonCtrl() {
- internalName = "seqInBar";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "right";
- VertSizing = "bottom";
- position = "39 0";
- Extent = "8 13";
- MinExtent = "1 1";
- bitmap = "tools/shapeEditor/images/seq_bar-in";
- ToolTip = "Set the In Point to the Current Frame";
- Command = "ShapeEdSequences.onEditSeqInOut(\"in\", ShapeEdSeqSlider.getValue());";
- };
- new GuiBitmapButtonCtrl() {
- internalName = "seqOutBar";
- Profile = "ToolsGuiDefaultProfile";
- HorizSizing = "left";
- VertSizing = "bottom";
- position = "765 0";
- Extent = "8 13";
- MinExtent = "1 1";
- bitmap = "tools/shapeEditor/images/seq_bar-out";
- ToolTip = "Set the Out Point to the Current Frame";
- Command = "ShapeEdSequences.onEditSeqInOut(\"out\", ShapeEdSeqSlider.getValue());";
- };
- };
- };
- //--- OBJECT WRITE END ---
|