home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2000 June / CyberMycha0006.iso / NFSPorsche / data1.cab / Program_Files / FEDATA / Controls / HorizontalSlider.ctr < prev    next >
Text File  |  2000-03-27  |  3KB  |  112 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Horizontal Slider
  4. ;
  5. ; A horizontal slider.  It takes a string telling it which positionable accessors it can 
  6. ; act upon.
  7. ;
  8. ; Created by Gary Steinke, May 21/99
  9. ;
  10. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  11.  
  12. [control]
  13. id=NFS5.HorizontalSlider
  14. description=Horizontal Slider 
  15.  
  16. parts=data,track,trackgraphic,decrement_button,increment_button,knob
  17.  
  18. name.value=ID_HORIZONTALSLIDER
  19.  
  20. states=normal,hidden,focused
  21. states.flags=0
  22.  
  23. size.value=150,9
  24. size.flags=0
  25. moveable.value=1
  26. moveable.flags=HIDDEN|READONLY
  27. resizeable.value=1
  28. resizeable.flags=HIDDEN|READONLY
  29. pos=0,0
  30. pos.label=control.pos
  31.  
  32. autosize.value=1
  33. autosize.flags=HIDDEN|READONLY
  34.  
  35.  
  36. [state.normal]
  37. parts=track,decrement_button,knob,increment_button,data
  38.  
  39. [state.focused]
  40. parts=track,decrement_button,knob,increment_button,data
  41.  
  42. [state.hidden]
  43. parts=data
  44.  
  45. [part.data]
  46. id=DATA
  47. attributes.value=scrollpos,scrollmax,accessor,transon,transoff,helptext
  48. transon.type=STRING
  49. transon.value=FADE
  50. transon.label=Transition On
  51. transon.flags=0
  52. transoff.type=STRING
  53. transoff.value=SAME
  54. transoff.label=Transition Off
  55.  
  56. scrollpos.type=INT
  57. scrollpos.value=50
  58. scrollpos.flags=HIDDEN|READONLY
  59. scrollmax.type=INT
  60. scrollmax.value=100
  61. scrollmax.flags=HIDDEN|READONLY
  62. accessor.type=STRING
  63. accessor.value=Put_Accessor_Value_Here
  64. helptext.type=INT
  65. helptext.value=0
  66.  
  67. [part.knob]
  68. id=RECT
  69. pos.flags=HIDDEN|READONLY
  70. pos.value=decrement_button.size.width,0
  71. size.flags=HIDDEN|READONLY
  72. size.value=15,decrement_button.size.height
  73. color.value=0x80ffffff
  74. color.flags=HIDDEN|READONLY
  75.  
  76. [part.decrement_button]
  77. id=SHAPE
  78. pos.flags=HIDDEN|READONLY
  79. pos.value=0,0
  80. size.flags=HIDDEN|READONLY
  81. shapePathName.value=weeicons.fsh
  82. shapePathName.flags=HIDDEN|READONLY
  83. shapeIndex.value=15
  84. shapeIndex.flags=HIDDEN|READONLY
  85.  
  86. [part.increment_button]
  87. id=SHAPE
  88. pos.flags=HIDDEN|READONLY
  89. pos.value=control.size.width-increment_button.size.width,0
  90. size.flags=HIDDEN|READONLY
  91. shapePathName.value=weeicons.fsh
  92. shapePathName.flags=HIDDEN|READONLY
  93. shapeIndex.value=16
  94. shapeIndex.flags=HIDDEN|READONLY
  95.  
  96. [part.track]
  97. id=RECT
  98. pos.flags=HIDDEN|READONLY
  99. pos.value=0,0
  100. size.flags=HIDDEN|READONLY
  101. size.value=control.size.width,decrement_button.size.height
  102. color.value=0xffffbb00
  103. color.flags=HIDDEN|READONLY
  104.  
  105. [part.trackgraphic]
  106. id=RECT
  107. pos.flags=HIDDEN|READONLY
  108. pos.value=0,0
  109. size.flags=HIDDEN|READONLY
  110. size.value=control.size.width,decrement_button.size.height
  111. color.value=0xffffbb00
  112. color.flags=HIDDEN|READONLY