new widget RoundProgressIndicator added
authortz
Mon, 30 Mar 1998 14:43:22 +0200
changeset 753 45be0e91a172
parent 752 2dc82cdfdd90
child 754 04e802a6a920
new widget RoundProgressIndicator added
UISelectionPanel.st
--- a/UISelectionPanel.st	Mon Mar 30 14:42:21 1998 +0200
+++ b/UISelectionPanel.st	Mon Mar 30 14:43:22 1998 +0200
@@ -354,10 +354,11 @@
 !UISelectionPanel class methodsFor:'standard specifications'!
 
 standardButtons
-    "this window spec was automatically generated by the ST/X UIPainter"
+    "This resource specification was automatically generated
+     by the UIPainter of ST/X."
 
-    "do not manually edit this - the painter/builder may not be able to
-     handle the specification if its corrupted."
+    "Do not manually edit this!! If it is corrupted,
+     the UIPainter may not be able to read the specification."
 
     "
      UIPainter new openOnClass:UISelectionPanel andSelector:#standardButtons
@@ -372,11 +373,11 @@
           #window: 
            #(#WindowSpec
               #name: 'Buttons'
-              #layout: #(#LayoutFrame 147 0 281 0 625 0 484 0)
+              #layout: #(#LayoutFrame 141 0 235 0 619 0 438 0)
               #label: 'Buttons'
               #min: #(#Point 10 10)
               #max: #(#Point 1280 1024)
-              #bounds: #(#Rectangle 147 281 626 485)
+              #bounds: #(#Rectangle 141 235 620 439)
               #usePreferredExtent: false
           )
           #component: 
@@ -417,7 +418,6 @@
                     #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
@@ -425,7 +425,6 @@
                     #layout: #(#LayoutFrame 157 0.0 47 0 293 0 69 0)
                     #label: 'Radio Button'
                     #isTriggerOnDown: true
-                    #showLamp: true
                     #lampColor: #(#Color 100.0 100.0 0.0)
                 )
                  #(#CheckBoxSpec
@@ -451,12 +450,12 @@
                 )
                  #(#ButtonSpec
                     #name: 'Model Button'
-                    #layout: #(#LayoutFrame 309 0 15 0 444 0 37 0)
+                    #layout: #(#LayoutFrame 309 0 15 0 445 0 37 0)
                     #label: 'Model Button'
                 )
                  #(#LabelSpec
                     #name: 'UpDownButtonLabel'
-                    #layout: #(#AlignmentOrigin 309 0 54 0 0 0)
+                    #layout: #(#AlignmentOrigin 361 0 54 0 0 0)
                     #label: 'UpDown Button'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #adjust: #left
@@ -465,38 +464,21 @@
                 )
                  #(#UpDownButtonSpec
                     #name: 'UpDown Button'
-                    #layout: #(#LayoutFrame 422 0 47 0 444 0 91 0)
+                    #layout: #(#LayoutFrame 309 0 47 0 354 0 69 0)
+                    #orientation: #horizontal
                 )
                  #(#LabelSpec
                     #name: 'ArrowButtonsLabel'
-                    #layout: #(#AlignmentOrigin 309 0 86 0 0 0)
-                    #label: 'Arrow Buttons'
+                    #layout: #(#AlignmentOrigin 361 0 86 0 0 0)
+                    #label: 'Arrow Button'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #adjust: #left
                     #resizeForLabel: true
                     #canUIDrag: false
                 )
                  #(#ArrowButtonSpec
-                    #name: 'Arrow Button - Up'
-                    #layout: #(#LayoutFrame 309 0 111 0 331 0 133 0)
-                    #isTriggerOnDown: true
-                    #direction: #up
-                )
-                 #(#ArrowButtonSpec
-                    #name: 'Arrow Button - Down'
-                    #layout: #(#LayoutFrame 347 0 111 0 369 0 133 0)
-                    #isTriggerOnDown: true
-                    #direction: #down
-                )
-                 #(#ArrowButtonSpec
-                    #name: 'Arrow Button - Left'
-                    #layout: #(#LayoutFrame 385 0 111 0 407 0 133 0)
-                    #isTriggerOnDown: true
-                    #direction: #left
-                )
-                 #(#ArrowButtonSpec
-                    #name: 'Arrow Button - Right'
-                    #layout: #(#LayoutFrame 422 0 111 0 444 0 133 0)
+                    #name: 'Arrow Button'
+                    #layout: #(#LayoutFrame 309 0 79 0 331 0 101 0)
                     #isTriggerOnDown: true
                     #direction: #right
                 )
@@ -915,10 +897,11 @@
 !
 
 standardMenus
-    "this window spec was automatically generated by the ST/X UIPainter"
+    "This resource specification was automatically generated
+     by the UIPainter of ST/X."
 
-    "do not manually edit this - the painter/builder may not be able to
-     handle the specification if its corrupted."
+    "Do not manually edit this!! If it is corrupted,
+     the UIPainter may not be able to read the specification."
 
     "
      UIPainter new openOnClass:UISelectionPanel andSelector:#standardMenus
@@ -933,11 +916,11 @@
           #window: 
            #(#WindowSpec
               #name: 'Menus'
-              #layout: #(#LayoutFrame 147 0 281 0 623 0 470 0)
+              #layout: #(#LayoutFrame 56 0 405 0 532 0 594 0)
               #label: 'Menus'
               #min: #(#Point 10 10)
               #max: #(#Point 1280 1024)
-              #bounds: #(#Rectangle 147 281 624 471)
+              #bounds: #(#Rectangle 56 405 533 595)
               #usePreferredExtent: false
           )
           #component: 
@@ -960,7 +943,7 @@
                  #(#PopUpListSpec
                     #name: 'PopUp List'
                     #layout: #(#LayoutFrame 15 0 72 0 140 0 94 0)
-                    #label: 'Popup List'
+                    #label: 'PopUp List'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #useIndex: false
                 )
@@ -985,7 +968,7 @@
                  #(#LabelSpec
                     #name: 'ComboBoxLabel'
                     #layout: #(#LayoutFrame 17 0 132 0 79 0 150 0)
-                    #label: 'ComboBox'
+                    #label: 'Combo Box'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #adjust: #left
                     #resizeForLabel: true
@@ -1036,10 +1019,11 @@
 !
 
 standardMisc
-    "this window spec was automatically generated by the ST/X UIPainter"
+    "This resource specification was automatically generated
+     by the UIPainter of ST/X."
 
-    "do not manually edit this - the painter/builder may not be able to
-     handle the specification if its corrupted."
+    "Do not manually edit this!! If it is corrupted,
+     the UIPainter may not be able to read the specification."
 
     "
      UIPainter new openOnClass:UISelectionPanel andSelector:#standardMisc
@@ -1054,11 +1038,11 @@
           #window: 
            #(#WindowSpec
               #name: 'Misc'
-              #layout: #(#LayoutFrame 147 0 281 0 614 0 565 0)
+              #layout: #(#LayoutFrame 44 0 354 0 511 0 638 0)
               #label: 'Misc'
               #min: #(#Point 10 10)
               #max: #(#Point 1280 1024)
-              #bounds: #(#Rectangle 147 281 615 566)
+              #bounds: #(#Rectangle 44 354 512 639)
               #usePreferredExtent: false
           )
           #component: 
@@ -1108,7 +1092,7 @@
                 )
                  #(#LabelSpec
                     #name: 'SliderLabel'
-                    #layout: #(#AlignmentOrigin 93 0 129 0 1 0)
+                    #layout: #(#AlignmentOrigin 95 0 129 0 1 0)
                     #label: 'Slider'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #resizeForLabel: true
@@ -1116,15 +1100,12 @@
                 )
                  #(#SliderSpec
                     #name: 'Slider'
-                    #layout: #(#LayoutFrame 103 0 126 0 218 0 144 0)
+                    #layout: #(#LayoutFrame 100 0 126 0 215 0 144 0)
                     #orientation: #horizontal
-                    #start: 0
-                    #stop: 100
-                    #step: 1
                 )
                  #(#LabelSpec
                     #name: 'ThumbWheelLabel'
-                    #layout: #(#AlignmentOrigin 93 0 166 0 1 0)
+                    #layout: #(#AlignmentOrigin 95 0 157 0 1 0)
                     #label: 'Thumb Wheel'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #resizeForLabel: true
@@ -1132,15 +1113,41 @@
                 )
                  #(#ThumbWheelSpec
                     #name: 'Thumb Wheel'
-                    #layout: #(#LayoutFrame 103 0 161 0 218 0 181 0)
+                    #layout: #(#LayoutFrame 100 0 152 0 215 0 172 0)
                     #orientation: #horizontal
-                    #start: 0
                     #stop: 360
-                    #step: 1
                 )
                  #(#LabelSpec
-                    #name: 'ProgressIndicatorLabel'
-                    #layout: #(#AlignmentOrigin 339 0 129 0 1 0)
+                    #name: 'RegionLabel'
+                    #layout: #(#AlignmentOrigin 95 0 189 0 1 0)
+                    #label: 'Region'
+                    #style: #(#FontDescription #helvetica #medium #roman 10)
+                    #adjust: #left
+                    #resizeForLabel: true
+                    #canUIDrag: false
+                )
+                 #(#RegionSpec
+                    #name: 'Region'
+                    #layout: #(#LayoutFrame 100 0 183 0 215 0 212 0)
+                    #lineWidth: 2
+                    #regionType: #ellipse
+                )
+                 #(#LabelSpec
+                    #name: 'SeparatorLabel'
+                    #layout: #(#AlignmentOrigin 95 0 219 0 1 0)
+                    #label: 'Separator'
+                    #style: #(#FontDescription #helvetica #medium #roman 10)
+                    #adjust: #left
+                    #resizeForLabel: true
+                    #canUIDrag: false
+                )
+                 #(#DividerSpec
+                    #name: 'Separator'
+                    #layout: #(#LayoutFrame 100 0 225 0 215 0 229 0)
+                )
+                 #(#LabelSpec
+                    #name: 'ProgressIndicatorsLabel'
+                    #layout: #(#AlignmentOrigin 345 0 129 0 1 0)
                     #label: 'Progress Indicator'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #adjust: #left
@@ -1150,36 +1157,22 @@
                  #(#ProgressIndicatorSpec
                     #name: 'Progress Indicator'
                     #layout: #(#LayoutFrame 350 0 126 0 445 0 144 0)
-                    #showPercentage: true
                 )
                  #(#LabelSpec
-                    #name: 'SeparatorLabel'
-                    #layout: #(#AlignmentOrigin 339 0 161 0 1 0)
-                    #label: 'Separator'
+                    #name: 'RoundProgressIndicatorsLabel'
+                    #layout: #(#AlignmentOrigin 345 0 149 0 1 0)
+                    #label: 'Round
+Progress Indicator'
                     #style: #(#FontDescription #helvetica #medium #roman 10)
                     #adjust: #left
                     #resizeForLabel: true
                     #canUIDrag: false
                 )
-                 #(#DividerSpec
-                    #name: 'Separator'
-                    #layout: #(#LayoutFrame 350 0 167 0 445 0 171 0)
-                    #orientation: #horizontal
-                )
-                 #(#LabelSpec
-                    #name: 'RegionLabel'
-                    #layout: #(#AlignmentOrigin 339 0 201 0 1 0)
-                    #label: 'Region'
-                    #style: #(#FontDescription #helvetica #medium #roman 10)
-                    #adjust: #left
-                    #resizeForLabel: true
-                    #canUIDrag: false
-                )
-                 #(#RegionSpec
-                    #name: 'Region'
-                    #layout: #(#LayoutFrame 350 0 183 0 445 0 236 0)
-                    #lineWidth: 2
-                    #regionType: #ellipse
+                 #(#RoundProgressIndicatorSpec
+                    #name: 'Round Progress Indicator'
+                    #layout: #(#LayoutFrame 350 0 148 0 445 0 243 0)
+                    #level: 0
+                    #borderWidth: 1
                 )
               )
           )