home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-06-15 | 30.0 KB | 1,062 lines |
- ;GIL-3
- (
- (
- :type :menu
- :name DocMenu
- :help ""
- :columns 1
- :menu-type :command
- :menu-handler nil
- :menu-title ""
- :menu-item-labels ("Open" "Save" "About vcrDub..." )
- :menu-item-label-types (:string :string :string )
- :menu-item-states (:active :active :active )
- :menu-item-defaults (nil nil nil )
- :initial-selections (nil nil nil )
- :menu-item-handlers (DubFileOpen DubFileSave ShowInfoPanel )
- :menu-item-menus (nil nil nil )
- :menu-item-colors ("" "" "" )
- :pinnable t
- :user-data ()
- :actions (
- (
- :from (DocMenu "Open")
- :when (Notify )
- :to (DocMenu "Open")
- :function_type CallFunction
- :arg_type ()
- :action (DubFileOpen)
- )
- (
- :from (DocMenu "Save")
- :when (Notify )
- :to (DocMenu "Save")
- :function_type CallFunction
- :arg_type ()
- :action (DubFileSave)
- )
- (
- :from (DocMenu "About vcrDub...")
- :when (Notify )
- :to (DocMenu "About vcrDub...")
- :function_type CallFunction
- :arg_type ()
- :action (ShowInfoPanel)
- )
- )
- )
- (
- :type :base-window
- :name window1
- :owner nil
- :width 809
- :height 471
- :background-color "BG1"
- :foreground-color ""
- :label "VCR Dub"
- :label-type :string
- :initial-state :open
- :show-footer t
- :resizable t
- :icon-file "vcrDubIcon"
- :icon-label ""
- :icon-mask-file ""
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :control-area
- :name dubFileControls
- :owner window1
- :help ""
- :x 5
- :y 6
- :width 795
- :height 42
- :background-color "BG1"
- :foreground-color ""
- :initial-state :visible
- :show-border t
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :button
- :name dubDocButton
- :owner dubFileControls
- :help ""
- :x 16
- :y 12
- :width 94
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Document"
- :label-type :string
- :initial-state :active
- :menu DocMenu
- :notify-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :button
- :name dubStartButton
- :owner dubFileControls
- :help ""
- :x 128
- :y 12
- :width 103
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Start Dubbing"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler DubStart
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (window1 dubStartButton)
- :when (Notify )
- :to (window1 dubStartButton)
- :function_type CallFunction
- :arg_type ()
- :action (DubStart)
- )
- )
- )
- (
- :type :button
- :name dubQuitButton
- :owner dubFileControls
- :help ""
- :x 248
- :y 12
- :width 45
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Quit"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler DubQuit
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (window1 dubQuitButton)
- :when (Notify )
- :to (window1 dubQuitButton)
- :function_type CallFunction
- :arg_type ()
- :action (DubQuit)
- )
- )
- )
- (
- :type :message
- :name dubStatusMsg
- :owner dubFileControls
- :help ""
- :x 336
- :y 16
- :width 60
- :height 13
- :foreground-color ""
- :label "Message"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :control-area
- :name dubEditListControls
- :owner window1
- :help ""
- :x 5
- :y 55
- :width 419
- :height 416
- :background-color "BG1"
- :foreground-color ""
- :initial-state :visible
- :show-border t
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :button
- :name dubAddButton
- :owner dubEditListControls
- :help ""
- :x 300
- :y 16
- :width 90
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Add edit ->"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler EditAdd
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (window1 dubAddButton)
- :when (Notify )
- :to (window1 dubAddButton)
- :function_type CallFunction
- :arg_type ()
- :action (EditAdd)
- )
- )
- )
- (
- :type :message
- :name dubEditListMsg
- :owner dubEditListControls
- :help ""
- :x 144
- :y 48
- :width 106
- :height 13
- :foreground-color ""
- :label "Source Edit List"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name dubEditNum
- :owner dubEditListControls
- :help ""
- :x 28
- :y 80
- :width 38
- :height 13
- :foreground-color ""
- :label "Edit #"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name dubEditLabel
- :owner dubEditListControls
- :help ""
- :x 140
- :y 80
- :width 38
- :height 13
- :foreground-color ""
- :label "Label"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name dubEditDur
- :owner dubEditListControls
- :help ""
- :x 280
- :y 80
- :width 60
- :height 13
- :foreground-color ""
- :label "Duration"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :scrolling-list
- :name dubScrollList
- :owner dubEditListControls
- :help ""
- :x 12
- :y 100
- :width 380
- :height 290
- :value-x 12
- :value-y 117
- :rows 15
- :foreground-color ""
- :label ""
- :title ""
- :label-type :string
- :layout-type :vertical
- :read-only nil
- :multiple-selections nil
- :selection-required nil
- :initial-state :active
- :droppable nil
- :default-drop-site nil
- :menu nil
- :notify-handler DubSelect
- :event-handler nil
- :initial-list-values ()
- :initial-list-glyphs ()
- :initial-selections ()
- :user-data ()
- :actions (
- (
- :from (window1 dubScrollList)
- :when (Notify )
- :to (window1 dubScrollList)
- :function_type CallFunction
- :arg_type ()
- :action (DubSelect)
- )
- )
- )
- (
- :type :control-area
- :name dubEditOpControls
- :owner window1
- :help ""
- :x 435
- :y 55
- :width 365
- :height 105
- :background-color "BG1"
- :foreground-color ""
- :initial-state :visible
- :show-border t
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name dubOpMsg
- :owner dubEditOpControls
- :help ""
- :x 100
- :y 12
- :width 163
- :height 13
- :foreground-color ""
- :label "Current Edit Operations"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :setting
- :name dubAudioStg
- :owner dubEditOpControls
- :help ""
- :x 184
- :y 40
- :width 152
- :height 23
- :value-x 266
- :value-y 40
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label "Audio Dub:"
- :label-type :string
- :notify-handler SetAudioDub
- :event-handler nil
- :choices ("Off" "On" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (window1 dubAudioStg)
- :when (Notify )
- :to (window1 dubAudioStg)
- :function_type CallFunction
- :arg_type ()
- :action (SetAudioDub)
- )
- )
- )
- (
- :type :button
- :name dubMergeButton
- :owner dubEditOpControls
- :help ""
- :x 16
- :y 44
- :width 55
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Merge"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler EditMerge
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (window1 dubMergeButton)
- :when (Notify )
- :to (window1 dubMergeButton)
- :function_type CallFunction
- :arg_type ()
- :action (EditMerge)
- )
- )
- )
- (
- :type :button
- :name dubDelButton
- :owner dubEditOpControls
- :help ""
- :x 96
- :y 44
- :width 57
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Delete"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler DubDelete
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (window1 dubDelButton)
- :when (Notify )
- :to (window1 dubDelButton)
- :function_type CallFunction
- :arg_type ()
- :action (DubDelete)
- )
- )
- )
- (
- :type :text-field
- :name dubMergeLabel
- :owner dubEditOpControls
- :help ""
- :x 16
- :y 76
- :width 266
- :height 15
- :value-x 98
- :value-y 76
- :value-length 23
- :stored-length 23
- :rows 3
- :foreground-color ""
- :text-type :alphanumeric
- :label "New Label:"
- :label-type :string
- :layout-type :horizontal
- :value-underlined t
- :initial-value ""
- :initial-state :active
- :read-only nil
- :notify-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :canvas-pane
- :name dubEditCanvas
- :owner window1
- :help ""
- :x 435
- :y 169
- :width 365
- :height 299
- :background-color "BG1"
- :foreground-color "Black"
- :initial-state :visible
- :draggable nil
- :droppable nil
- :default-drop-site nil
- :menu nil
- :horizontal-scrollbar nil
- :scrollable-width 365
- :vertical-scrollbar t
- :scrollable-height 299
- :repaint-proc EditRepaintHandler
- :event-handler EditEventHandler
- :drawing-model :xwindows
- :user-data ()
- :actions (
- (
- :from (window1 dubEditCanvas)
- :when (Repaint )
- :to (window1 dubEditCanvas)
- :function_type CallFunction
- :arg_type ()
- :action (EditRepaintHandler)
- )
- (
- :from (window1 dubEditCanvas)
- :when (AnyEvent )
- :to (window1 dubEditCanvas)
- :function_type CallFunction
- :arg_type ()
- :action (EditEventHandler)
- )
- )
- )
- (
- :type :popup-window
- :name dubSetupWindow
- :owner window1
- :width 357
- :height 260
- :background-color ""
- :foreground-color ""
- :label "Video Setup"
- :label-type :string
- :initial-state :invisible
- :show-footer t
- :resizable t
- :pinned nil
- :done-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :control-area
- :name dubVideoSetupControls
- :owner dubSetupWindow
- :help ""
- :x 0
- :y 0
- :width 357
- :height 260
- :background-color "BG1"
- :foreground-color ""
- :initial-state :visible
- :show-border nil
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :setting
- :name playDeckDeviceStg
- :owner dubVideoSetupControls
- :help ""
- :x 24
- :y 20
- :width 170
- :height 23
- :value-x 117
- :value-y 20
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :stack
- :selection-required t
- :label "Play Deck: "
- :label-type :string
- :notify-handler SetPlayDevice
- :event-handler nil
- :choices ("Choice" )
- :choice-label-types (:string )
- :choice-colors ("" )
- :choice-defaults (nil )
- :initial-selections (nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (dubSetupWindow playDeckDeviceStg)
- :when (Notify )
- :to (dubSetupWindow playDeckDeviceStg)
- :function_type CallFunction
- :arg_type ()
- :action (SetPlayDevice)
- )
- )
- )
- (
- :type :setting
- :name recDeckDeviceStg
- :owner dubVideoSetupControls
- :help ""
- :x 24
- :y 48
- :width 171
- :height 23
- :value-x 118
- :value-y 48
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :stack
- :selection-required t
- :label "Record Deck:"
- :label-type :string
- :notify-handler SetRecDevice
- :event-handler nil
- :choices ("Choice" )
- :choice-label-types (:string )
- :choice-colors ("" )
- :choice-defaults (nil )
- :initial-selections (nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (dubSetupWindow recDeckDeviceStg)
- :when (Notify )
- :to (dubSetupWindow recDeckDeviceStg)
- :function_type CallFunction
- :arg_type ()
- :action (SetRecDevice)
- )
- )
- )
- (
- :type :setting
- :name playDeckStg
- :owner dubVideoSetupControls
- :help ""
- :x 24
- :y 84
- :width 278
- :height 23
- :value-x 255
- :value-y 84
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label "Choose serial port for Play Deck:"
- :label-type :string
- :notify-handler SetPlayDeck
- :event-handler nil
- :choices ("A" "B" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (dubSetupWindow playDeckStg)
- :when (Notify )
- :to (dubSetupWindow playDeckStg)
- :function_type CallFunction
- :arg_type ()
- :action (SetPlayDeck)
- )
- )
- )
- (
- :type :setting
- :name recDeckStg
- :owner dubVideoSetupControls
- :help ""
- :x 160
- :y 116
- :width 141
- :height 23
- :value-x 254
- :value-y 116
- :rows 1
- :columns 0
- :layout-type :horizontal
- :foreground-color ""
- :setting-type :exclusive
- :selection-required t
- :label "Record Deck:"
- :label-type :string
- :notify-handler SetRecDeck
- :event-handler nil
- :choices ("A" "B" )
- :choice-label-types (:string :string )
- :choice-colors ("" "" )
- :initial-selections (nil nil )
- :initial-state :active
- :user-data ()
- :actions (
- (
- :from (dubSetupWindow recDeckStg)
- :when (Notify )
- :to (dubSetupWindow recDeckStg)
- :function_type CallFunction
- :arg_type ()
- :action (SetRecDeck)
- )
- )
- )
- (
- :type :text-field
- :name startAddTxt
- :owner dubVideoSetupControls
- :help ""
- :x 24
- :y 160
- :width 286
- :height 15
- :value-x 211
- :value-y 160
- :value-length 8
- :stored-length 80
- :rows 3
- :foreground-color ""
- :text-type :numeric
- :label "Start recording at address:"
- :label-type :string
- :layout-type :horizontal
- :value-underlined t
- :max-value 28800
- :min-value 3
- :initial-value 0
- :initial-state :active
- :read-only nil
- :notify-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :text-field
- :name intervalTxt
- :owner dubVideoSetupControls
- :help ""
- :x 24
- :y 192
- :width 236
- :height 15
- :value-x 189
- :value-y 192
- :value-length 3
- :stored-length 4
- :rows 3
- :foreground-color ""
- :text-type :numeric
- :label "Interval between edits:"
- :label-type :string
- :layout-type :horizontal
- :value-underlined t
- :max-value 300
- :min-value 3
- :initial-value 0
- :initial-state :active
- :read-only nil
- :notify-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name intervalMsg
- :owner dubVideoSetupControls
- :help ""
- :x 268
- :y 192
- :width 48
- :height 13
- :foreground-color ""
- :label "seconds"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :button
- :name dubSerialDoneButton
- :owner dubVideoSetupControls
- :help ""
- :x 136
- :y 224
- :width 74
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "Continue"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler SerialDone
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (dubSetupWindow dubSerialDoneButton)
- :when (Notify )
- :to (dubSetupWindow dubSerialDoneButton)
- :function_type CallFunction
- :arg_type ()
- :action (SerialDone)
- )
- )
- )
- (
- :type :popup-window
- :name infoPopup
- :owner window1
- :width 449
- :height 283
- :background-color ""
- :foreground-color ""
- :label "About vcrDub"
- :label-type :string
- :initial-state :invisible
- :show-footer nil
- :resizable nil
- :pinned t
- :done-handler nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :control-area
- :name controls1
- :owner infoPopup
- :help ""
- :x 0
- :y 0
- :width 449
- :height 283
- :background-color "BG1"
- :foreground-color ""
- :initial-state :visible
- :show-border nil
- :menu nil
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name appNameMsg
- :owner controls1
- :help ""
- :x 153
- :y 16
- :width 141
- :height 13
- :foreground-color ""
- :label "vcrDub Version 1.12"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name descriptionMsg
- :owner controls1
- :help ""
- :x 106
- :y 40
- :width 234
- :height 13
- :foreground-color ""
- :label "An application for dubbing videotapes"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name maestroMsg
- :owner controls1
- :help ""
- :x 8
- :y 64
- :width 430
- :height 13
- :foreground-color ""
- :label "designed for use with the MAEstro Multimedia Authoring Environment"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name authorMsg
- :owner controls1
- :help ""
- :x 168
- :y 96
- :width 111
- :height 13
- :foreground-color ""
- :label "by Wee-Lee Lim"
- :label-type :string
- :label-bold t
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name copyrightMsg
- :owner controls1
- :help ""
- :x 16
- :y 120
- :width 404
- :height 13
- :foreground-color ""
- :label "Copyright (C) 1991, 1992 Libraries & Information Resources (L&IR)"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name stanfordUMsg
- :owner controls1
- :help ""
- :x 162
- :y 144
- :width 118
- :height 13
- :foreground-color ""
- :label "Stanford University"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name stanfordCAMsg
- :owner controls1
- :help ""
- :x 120
- :y 168
- :width 203
- :height 13
- :foreground-color ""
- :label "Stanford, California 94305-3090"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :message
- :name forMoreInfoMsg
- :owner controls1
- :help ""
- :x 72
- :y 208
- :width 309
- :height 13
- :foreground-color ""
- :label "For more info, contact maestro@sioux.stanford.edu"
- :label-type :string
- :label-bold nil
- :initial-state :active
- :event-handler nil
- :user-data ()
- :actions ()
- )
- (
- :type :button
- :name removeInfoWindowButton
- :owner controls1
- :help ""
- :x 208
- :y 256
- :width 36
- :height 19
- :constant-width nil
- :button-type :normal
- :foreground-color ""
- :label "OK"
- :label-type :string
- :initial-state :active
- :menu nil
- :notify-handler RemoveInfoWindow
- :event-handler nil
- :user-data ()
- :actions (
- (
- :from (infoPopup removeInfoWindowButton)
- :when (Notify )
- :to (infoPopup removeInfoWindowButton)
- :function_type CallFunction
- :arg_type ()
- :action (RemoveInfoWindow)
- )
- )
- )
- )
-