# HG changeset patch # User tz # Date 888427232 -3600 # Node ID aa0b1c1ebfe6f75b62707897444766848959a1a9 # Parent 6a21e13bb2db7504f72824752e42baa069ad2529 sliders moved from section Buttons to section Misc diff -r 6a21e13bb2db -r aa0b1c1ebfe6 UISelectionPanel.st --- a/UISelectionPanel.st Wed Feb 25 15:54:24 1998 +0100 +++ b/UISelectionPanel.st Wed Feb 25 18:20:32 1998 +0100 @@ -83,12 +83,12 @@ ^ #( #( 'Standards' #( - #('Buttons' standardButtons) - #('Menus' standardMenus) - #('Text Views' standardTextViews) - #('Lists' standardLists) - #('Boxes' standardBoxes) - #('Misc' standardMisc) + #('Buttons' standardButtons) + #('Menus' standardMenus) + #('Texts' standardTexts) + #('Lists' standardLists) + #('Groups' standardGroups) + #('Misc' standardMisc) ) ) @@ -353,15 +353,15 @@ !UISelectionPanel class methodsFor:'standard specifications'! -standardBoxes +standardButtons "this window spec was automatically generated by the ST/X UIPainter" "do not manually edit this - the painter/builder may not be able to handle the specification if its corrupted." " - UIPainter new openOnClass:UISelectionPanel andSelector:#standardBoxes - UISelectionPanel new openInterface:#standardBoxes + UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtons + UISelectionPanel new openInterface:#standardButtons " @@ -371,9 +371,226 @@ #(#FullSpec #window: #(#WindowSpec - #name: 'Boxes' + #name: 'Buttons' + #layout: #(#LayoutFrame 103 0 141 0 581 0 482 0) + #label: 'Buttons' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 103 141 582 483) + #usePreferredExtent: false + ) + #component: + #(#SpecCollection + #collection: + #( + #(#ActionButtonSpec + #name: 'Button' + #layout: #(#LayoutFrame 15 0 15 0 140 0 37 0) + #activeHelpKey: #dss + #label: 'Button' + ) + #(#ActionButtonSpec + #name: 'Button - OK' + #layout: #(#LayoutFrame 15 0 47 0 140 0 69 0) + #label: 'OK' + #model: #accept + ) + #(#ActionButtonSpec + #name: 'Button - Cancel' + #layout: #(#LayoutFrame 15 0 79 0 140 0 101 0) + #label: 'Cancel' + #model: #cancel + ) + #(#ActionButtonSpec + #name: 'Button - Help' + #layout: #(#LayoutFrame 15 0 111 0 140 0 133 0) + #label: 'Help' + #model: #help + ) + #(#ActionButtonSpec + #name: 'Button - Close' + #layout: #(#LayoutFrame 15 0 143 0 140 0 165 0) + #label: 'Close' + #model: #closeRequest + ) + #(#ToggleSpec + #name: 'Toggle' + #layout: #(#LayoutFrame 157 0 15 0 293 0 37 0) + #label: 'Toggle' + #isTriggerOnDown: true + #showLamp: true + #lampColor: #(#Color 100.0 100.0 0.0) + ) + #(#RadioButtonSpec + #name: 'RadioButton' + #layout: #(#LayoutFrame 157 0.0 47 0 293 0 69 0) + #label: 'RadioButton' + #isTriggerOnDown: true + #showLamp: true + #lampColor: #(#Color 100.0 100.0 0.0) + ) + #(#CheckBoxSpec + #name: 'CheckBox' + #layout: #(#LayoutFrame 157 0 79 0 293 0 101 0) + #label: 'CheckBox' + ) + #(#CheckToggleSpec + #name: 'CheckToggle' + #layout: #(#LayoutFrame 157 0 111 0 176 0 130 0) + #isTriggerOnDown: true + #showLamp: false + #lampColor: #(#Color 100.0 100.0 0.0) + ) + #(#LabelSpec + #name: 'CheckToggleLabel' + #layout: #(#AlignmentOrigin 182 0 115 0 0 0) + #label: 'CheckToggle' + #style: #(#FontDescription #helvetica #medium #roman 10) + #adjust: #left + #resizeForLabel: true + #canUIDrag: false + ) + #(#ButtonSpec + #name: 'ModelButton' + #layout: #(#LayoutFrame 309 0 15 0 444 0 37 0) + #label: 'ModelButton' + ) + #(#LabelSpec + #name: 'UpDownButtonLabel' + #layout: #(#AlignmentOrigin 309 0 54 0 0 0) + #label: 'UpDownButton' + #style: #(#FontDescription #helvetica #medium #roman 10) + #adjust: #left + #resizeForLabel: true + #canUIDrag: false + ) + #(#UpDownButtonSpec + #name: 'UpDownButton' + #layout: #(#LayoutFrame 424 0 55 0 444 0 69 0) + #orientation: #horizontal + ) + #(#LabelSpec + #name: 'ArrowButtonsLabel' + #layout: #(#AlignmentOrigin 309 0 86 0 0 0) + #label: 'ArrowButtons' + #style: #(#FontDescription #helvetica #medium #roman 10) + #adjust: #left + #resizeForLabel: true + #canUIDrag: false + ) + #(#ArrowButtonSpec + #name: 'ArrowButton - Up' + #layout: #(#LayoutFrame 309 0 111 0 331 0 133 0) + #isTriggerOnDown: true + #direction: #up + ) + #(#ArrowButtonSpec + #name: 'ArrowButton - Down' + #layout: #(#LayoutFrame 347 0 111 0 369 0 133 0) + #isTriggerOnDown: true + #direction: #down + ) + #(#ArrowButtonSpec + #name: 'ArrowButton - Left' + #layout: #(#LayoutFrame 385 0 111 0 407 0 133 0) + #isTriggerOnDown: true + #direction: #left + ) + #(#ArrowButtonSpec + #name: 'ArrowButton - Right' + #layout: #(#LayoutFrame 422 0 111 0 444 0 133 0) + #isTriggerOnDown: true + #direction: #right + ) + ) + ) + ) +! + +standardGraphs + "this window spec was automatically generated by the ST/X UIPainter" + + "do not manually edit this - the painter/builder may not be able to + handle the specification if its corrupted." + + " + UIPainter new openOnClass:UISelectionPanel andSelector:#standardGraphs + UISelectionPanel new openInterface:#standardGraphs + " + + + + ^ + + #(#FullSpec + #window: + #(#WindowSpec + #name: 'Graphs' + #layout: #(#LayoutFrame 114 0 373 0 583 0 615 0) + #label: 'Graphs' + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 114 373 584 616) + #usePreferredExtent: false + ) + #component: + #(#SpecCollection + #collection: + #( + #(#GraphColumnView2DSpec + #name: 'GraphColumnView2D' + #layout: #(#LayoutFrame 15 0 15 0 220 0 110 0) + #gridX: 0 + #gridY: 0 + ) + #(#LabelSpec + #name: 'GraphColumnView2DLabel' + #layout: #(#AlignmentOrigin 19 0 19 0 0 0) + #label: 'GraphColumnViewView2D' + #style: #(#FontDescription #helvetica #medium #roman 10) + #adjust: #left + #resizeForLabel: true + #canUIDrag: false + ) + #(#GraphColumnView3DSpec + #name: 'GraphColumnView3D' + #layout: #(#LayoutFrame 240 0 15 0 445 0 110 0) + ) + #(#LabelSpec + #name: 'GraphColumnView3DLabel' + #layout: #(#AlignmentOrigin 244 0 19 0 0 0) + #label: 'GraphColumnViewView3D' + #style: #(#FontDescription #helvetica #medium #roman 10) + #adjust: #left + #resizeForLabel: true + #canUIDrag: false + ) + ) + ) + ) +! + +standardGroups + "this window spec was automatically generated by the ST/X UIPainter" + + "do not manually edit this - the painter/builder may not be able to + handle the specification if its corrupted." + + " + UIPainter new openOnClass:UISelectionPanel andSelector:#standardGroups + UISelectionPanel new openInterface:#standardGroups + " + + + + ^ + + #(#FullSpec + #window: + #(#WindowSpec + #name: 'Groups' #layout: #(#LayoutFrame 93 0 141 0 593 0 380 0) - #label: 'Boxes' + #label: 'Groups' #min: #(#Point 10 10) #max: #(#Point 1280 1024) #bounds: #(#Rectangle 93 141 594 381) @@ -603,183 +820,6 @@ ) ! -standardButtons - "this window spec was automatically generated by the ST/X UIPainter" - - "do not manually edit this - the painter/builder may not be able to - handle the specification if its corrupted." - - " - UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtons - UISelectionPanel new openInterface:#standardButtons - " - - - - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'Buttons' - #layout: #(#LayoutFrame 197 0 172 0 675 0 371 0) - #label: 'Buttons' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 197 172 676 372) - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#ActionButtonSpec - #name: 'Button' - #layout: #(#LayoutFrame 15 0 15 0 130 0 37 0) - #activeHelpKey: #dss - #label: 'Button' - ) - #(#ActionButtonSpec - #name: 'Button - OK' - #layout: #(#LayoutFrame 15 0 47 0 130 0 69 0) - #label: 'OK' - #model: #accept - ) - #(#ActionButtonSpec - #name: 'Button - Cancel' - #layout: #(#LayoutFrame 15 0 79 0 130 0 101 0) - #label: 'Cancel' - #model: #cancel - ) - #(#ActionButtonSpec - #name: 'Button - Help' - #layout: #(#LayoutFrame 15 0 111 0 130 0 133 0) - #label: 'Help' - #model: #help - ) - #(#ActionButtonSpec - #name: 'Button - Close' - #layout: #(#LayoutFrame 15 0 143 0 130 0 165 0) - #label: 'Close' - #model: #closeRequest - ) - #(#RadioButtonSpec - #name: 'RadioButton' - #layout: #(#LayoutFrame 151 0.0 15 0 266 0 37 0) - #label: 'RadioButton' - #isTriggerOnDown: true - #showLamp: true - #lampColor: #(#Color 100.0 100.0 0.0) - ) - #(#ButtonSpec - #name: 'ModelButton' - #layout: #(#LayoutFrame 151 0 47 0 266 0 69 0) - #label: 'ModelButton' - ) - #(#SliderSpec - #name: 'Slider' - #layout: #(#LayoutFrame 151 0 79 0 266 0 101 0) - #orientation: #horizontal - #start: 0 - #stop: 100 - #step: 1 - ) - #(#LabelSpec - #name: 'SliderLabel' - #layout: #(#AlignmentOrigin 196 0 83 0 0 0) - #label: 'Slider' - #style: #(#FontDescription #helvetica #medium #roman 10) - #resizeForLabel: true - #canUIDrag: false - ) - #(#LabelSpec - #name: 'ThumbWheelLabel' - #layout: #(#AlignmentOrigin 151 0 121 0 0 0) - #label: 'ThumbWheel' - #style: #(#FontDescription #helvetica #medium #roman 10) - #resizeForLabel: true - #canUIDrag: false - ) - #(#ThumbWheelSpec - #name: 'ThumbWheel' - #layout: #(#LayoutFrame 151 0 143 0 266 0 165 0) - #orientation: #horizontal - #start: 0 - #stop: 360 - #step: 1 - ) - #(#ArrowButtonSpec - #name: 'ArrowButton - Up' - #layout: #(#LayoutFrame 287 0 15 0 309 0 37 0) - #isTriggerOnDown: true - #direction: #up - ) - #(#ArrowButtonSpec - #name: 'ArrowButton - Down' - #layout: #(#LayoutFrame 287 0 47 0 309 0 69 0) - #isTriggerOnDown: true - #direction: #down - ) - #(#ArrowButtonSpec - #name: 'ArrowButton - Left' - #layout: #(#LayoutFrame 287 0 79 0 309 0 101 0) - #isTriggerOnDown: true - #direction: #left - ) - #(#ArrowButtonSpec - #name: 'ArrowButton - Right' - #layout: #(#LayoutFrame 287 0 111 0 309 0 133 0) - #isTriggerOnDown: true - #direction: #right - ) - #(#ToggleSpec - #name: 'Toggle' - #layout: #(#LayoutFrame 330 0 15 0 445 0 37 0) - #label: 'Toggle' - #isTriggerOnDown: true - #showLamp: true - #lampColor: #(#Color 100.0 100.0 0.0) - ) - #(#CheckBoxSpec - #name: 'CheckBox' - #layout: #(#LayoutFrame 330 0 47 0 445 0 69 0) - #label: 'CheckBox' - ) - #(#CheckToggleSpec - #name: 'CheckToggle' - #layout: #(#LayoutFrame 332 0 79 0 351 0 98 0) - #isTriggerOnDown: true - #showLamp: false - #lampColor: #(#Color 100.0 100.0 0.0) - ) - #(#LabelSpec - #name: 'CheckToggleLabel' - #layout: #(#AlignmentOrigin 358 0 84 0 0 0) - #label: 'CheckToggle' - #style: #(#FontDescription #helvetica #medium #roman 10) - #adjust: #left - #resizeForLabel: true - #canUIDrag: false - ) - #(#UpDownButtonSpec - #name: 'UpDownButton' - #layout: #(#LayoutFrame 330 0 111 0 346 0 123 0) - #orientation: #horizontal - ) - #(#LabelSpec - #name: 'UpDownButtonLabel' - #layout: #(#AlignmentOrigin 361 0 112 0 0 0) - #label: 'UpDownButton' - #style: #(#FontDescription #helvetica #medium #roman 10) - #adjust: #left - #resizeForLabel: true - #canUIDrag: false - ) - ) - ) - ) -! - standardLists "this window spec was automatically generated by the ST/X UIPainter" @@ -896,11 +936,11 @@ #window: #(#WindowSpec #name: 'Menus' - #layout: #(#LayoutFrame 43 0 175 0 614 0 546 0) + #layout: #(#LayoutFrame 103 0 141 0 579 0 330 0) #label: 'Menus' #min: #(#Point 10 10) #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 43 175 615 547) + #bounds: #(#Rectangle 103 141 580 331) #usePreferredExtent: false ) #component: @@ -1018,11 +1058,11 @@ #window: #(#WindowSpec #name: 'Misc' - #layout: #(#LayoutFrame 93 0 141 0 560 0 425 0) + #layout: #(#LayoutFrame 95 0 307 0 562 0 591 0) #label: 'Misc' #min: #(#Point 10 10) #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 93 141 561 426) + #bounds: #(#Rectangle 95 307 563 592) #usePreferredExtent: false ) #component: @@ -1031,48 +1071,80 @@ #( #(#ArbitraryComponentSpec #name: 'ArbitraryComponent' - #layout: #(#LayoutFrame 15 0 15 0 220 0 110 0) + #layout: #(#LayoutFrame 15 0 15 0 140 0 110 0) #hasBorder: false ) #(#LabelSpec #name: 'ArbitraryComponentLabel' - #layout: #(#AlignmentOrigin 19 0 17 0 0 0) + #layout: #(#AlignmentOrigin 19 0 19 0 0 0) #label: 'ArbitraryComponent' #style: #(#FontDescription #helvetica #medium #roman 10) #adjust: #left #resizeForLabel: true #canUIDrag: false ) - #(#SubCanvasSpec - #name: 'SubCanvas' - #layout: #(#LayoutFrame 15 0 130 0 220 0 225 0) - #hasHorizontalScrollBar: true - #hasVerticalScrollBar: true - ) - #(#LabelSpec - #name: 'subCanvasLabel' - #layout: #(#AlignmentOrigin 42 0 134 0 0 0) - #label: 'SubCanvas' - #style: #(#FontDescription #helvetica #medium #roman 10) - #adjust: #left - #resizeForLabel: true - #canUIDrag: false - ) #(#UISubSpecification #name: 'SubSpecification' - #layout: #(#LayoutFrame 240 0 15 0 445 0 110 0) + #layout: #(#LayoutFrame 157 0 15 0 292 0 110 0) ) #(#LabelSpec #name: 'SubSpecificationLabel' - #layout: #(#Point 245 17) + #layout: #(#Point 161 19) #label: 'SubSpecification' #style: #(#FontDescription #helvetica #medium #roman 10) #resizeForLabel: true #canUIDrag: false ) + #(#SubCanvasSpec + #name: 'SubCanvas' + #layout: #(#LayoutFrame 309 0 15 0 445 0 110 0) + #hasHorizontalScrollBar: true + #hasVerticalScrollBar: true + ) + #(#LabelSpec + #name: 'SubCanvasLabel' + #layout: #(#AlignmentOrigin 336 0 19 0 0 0) + #label: 'SubCanvas' + #style: #(#FontDescription #helvetica #medium #roman 10) + #adjust: #left + #resizeForLabel: true + #canUIDrag: false + ) + #(#LabelSpec + #name: 'SliderLabel' + #layout: #(#AlignmentOrigin 93 0 129 0 1 0) + #label: 'Slider' + #style: #(#FontDescription #helvetica #medium #roman 10) + #resizeForLabel: true + #canUIDrag: false + ) + #(#SliderSpec + #name: 'Slider' + #layout: #(#LayoutFrame 103 0 126 0 218 0 144 0) + #orientation: #horizontal + #start: 0 + #stop: 100 + #step: 1 + ) + #(#LabelSpec + #name: 'ThumbWheelLabel' + #layout: #(#AlignmentOrigin 93 0 166 0 1 0) + #label: 'ThumbWheel' + #style: #(#FontDescription #helvetica #medium #roman 10) + #resizeForLabel: true + #canUIDrag: false + ) + #(#ThumbWheelSpec + #name: 'ThumbWheel' + #layout: #(#LayoutFrame 103 0 161 0 218 0 181 0) + #orientation: #horizontal + #start: 0 + #stop: 360 + #step: 1 + ) #(#LabelSpec #name: 'ProgressIndicatorLabel' - #layout: #(#AlignmentOrigin 240 0 133 0 0 0) + #layout: #(#AlignmentOrigin 339 0 129 0 1 0) #label: 'ProgressIndicator' #style: #(#FontDescription #helvetica #medium #roman 10) #adjust: #left @@ -1081,12 +1153,12 @@ ) #(#ProgressIndicatorSpec #name: 'ProgressIndicator' - #layout: #(#LayoutFrame 350 0 131 0 445 0 149 0) + #layout: #(#LayoutFrame 350 0 126 0 445 0 144 0) #showPercentage: true ) #(#LabelSpec #name: 'SeparatorLabel' - #layout: #(#AlignmentOrigin 240 0 154 0 0 0) + #layout: #(#AlignmentOrigin 339 0 161 0 1 0) #label: 'Separator' #style: #(#FontDescription #helvetica #medium #roman 10) #adjust: #left @@ -1095,12 +1167,12 @@ ) #(#DividerSpec #name: 'Separator' - #layout: #(#LayoutFrame 350 0 159 0 445 0 163 0) + #layout: #(#LayoutFrame 350 0 167 0 445 0 171 0) #orientation: #horizontal ) #(#LabelSpec #name: 'VisualRegionLabel' - #layout: #(#AlignmentOrigin 240 0 184 0 0 0) + #layout: #(#AlignmentOrigin 339 0 201 0 1 0) #label: 'VisualRegion' #style: #(#FontDescription #helvetica #medium #roman 10) #adjust: #left @@ -1109,7 +1181,7 @@ ) #(#RegionSpec #name: 'VisualRegion' - #layout: #(#LayoutFrame 350 0 172 0 445 0 225 0) + #layout: #(#LayoutFrame 350 0 183 0 445 0 236 0) #lineWidth: 2 #regionType: #ellipse ) @@ -1118,15 +1190,15 @@ ) ! -standardTextViews +standardTexts "this window spec was automatically generated by the ST/X UIPainter" "do not manually edit this - the painter/builder may not be able to handle the specification if its corrupted." " - UIPainter new openOnClass:UISelectionPanel andSelector:#standardTextViews - UISelectionPanel new openInterface:#standardTextViews + UIPainter new openOnClass:UISelectionPanel andSelector:#standardTexts + UISelectionPanel new openInterface:#standardTexts " @@ -1136,9 +1208,9 @@ #(#FullSpec #window: #(#WindowSpec - #name: 'Text Views' + #name: 'Texts' #layout: #(#LayoutFrame 40 0 280 0 506 0 486 0) - #label: 'Text Views' + #label: 'Texts' #min: #(#Point 10 10) #max: #(#Point 1280 1024) #bounds: #(#Rectangle 40 280 507 487)