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

  1. s;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; ComboBox (inherits from accessor iterator in code)
  4. ;
  5. ; A combo box.  Shows the current value of a positionable accessor.  You can then click
  6. ; the button on the side to show a list of items (not sure how many - probably based on
  7. ; size of rectangle given by user)
  8. ;
  9. ; Created by Gary Steinke, May 21/99
  10. ;
  11. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  12.  
  13. [control]
  14. id=NFS5.ComboBoxSlider
  15. description=Combo Box
  16.  
  17. parts=data,labelleft,label,backrect,arrowbutton,selectionbox
  18.  
  19. name.value=ID_COMBOBOX
  20.  
  21.  
  22.  
  23. states=normal,hidden,focused,focusedhover,disabled,hover
  24. states.flags=0
  25.  
  26. size.value=data.width,data.height
  27. size.flags=HIDDEN|READONLY
  28. moveable.value=1
  29. moveable.flags=HIDDEN|READONLY
  30. resizeable.value=0
  31. resizeable.flags=HIDDEN|READONLY
  32. pos=0,0
  33. pos.label=control.pos
  34.  
  35. autosize.value=0
  36. autosize.flags=HIDDEN|READONLY
  37.  
  38.  
  39. [state.normal]
  40. parts=data,backrect,labelleft,label,arrowbutton
  41.  
  42. [state.hover]
  43. parts=data,backrect,labelleft,label,arrowbutton
  44.  
  45. [state.focused]
  46. parts=data,backrect,labelleft,label,arrowbutton
  47.  
  48. [state.hidden]
  49. parts=data
  50.  
  51. [state.disabled]
  52. parts=data,backrect,labelleft,label,arrowbutton
  53.  
  54. [state.focusedhover]
  55. parts=data,backrect,labelleft,label,arrowbutton
  56.  
  57. [part.data]
  58. id=DATA
  59. attributes.value=destination,stemleftheight,stemrightheight,offset,callback,accessor,width,height,selectionboxwidth,selectionboxslidedirection,selectionboxmaxheight,transon,transoff,fontpath,nolabel,usesmallfont,GraphicsSpecialCaseWidth,dropshadow,glintybox,helptext
  60.  
  61. glintybox.type=INT
  62. glintybox.value=0
  63.  
  64. stemleftheight.type=INT
  65. stemleftheight.value=0
  66. stemrightheight.type=INT
  67. stemrightheight.value=0
  68.  
  69. destination.type=STRING
  70. offset.type=INT
  71. offset.value=0
  72. callback.type=STRING
  73.  
  74. transon.type=STRING
  75. transon.value=FADE
  76. transon.label=Transition On
  77. transon.flags=0
  78. transoff.type=STRING
  79. transoff.value=SAME
  80. transoff.label=Transition Off
  81.  
  82. fontpath.type=STRING
  83. fontpath.value=Univers8b.ffn
  84. fontpath.flags=HIDDEN|READONLY
  85.  
  86. accessor.type=STRING
  87. accessor.value=Put_Accessor_Value_Here
  88. width.type=INT
  89. width.value=100
  90. height.type=INT
  91. height.value=18
  92. selectionboxwidth.type=INT
  93. selectionboxwidth.value=0
  94.  
  95. selectionboxmaxheight.type=INT
  96. selectionboxmaxheight.value=160
  97.  
  98.  
  99. selectionboxslidedirection.type=INT
  100. selectionboxslidedirection.value=-1
  101.  
  102. nolabel.type=INT
  103. nolabel.value=0
  104.  
  105. usesmallfont.type=INT
  106. usesmallfont.value=0
  107.  
  108. GraphicsSpecialCaseWidth.type=INT
  109. GraphicsSpecialCaseWidth.value=0
  110.  
  111. dropshadow.type=INT
  112. dropshadow.value=1
  113.  
  114. helptext.type=INT
  115. helptext.value=0
  116.  
  117. [part.backrect]
  118. id=RECT
  119. pos.value=0,0
  120. pos.flags=HIDDEN|READONLY
  121. size.value=data.width,data.height
  122. size.flags=HIDDEN|READONLY
  123. color.value=0xFFBC0000
  124. color.flags=HIDDEN|READONLY
  125.  
  126.  
  127. [part.labelleft]
  128. id=LOCALIZEDTEXT
  129. pos.value=5,2
  130. pos.flags=HIDDEN|READONLY
  131. size.flags=HIDDEN|READONLY
  132. fontPathName.value=universC11b.ffn
  133. fontPathName.flags=HIDDEN|READONLY
  134. foreColor.value=0xffffffff
  135. foreColor.flags=HIDDEN|READONLY
  136. backColor.value=0x00000000
  137. backColor.flags=HIDDEN|READONLY
  138. stringID.value=0
  139.  
  140. [part.label]
  141. id=TEXT
  142. pos.value=data.width-10-label.size.width-3,2
  143. pos.flags=HIDDEN|READONLY
  144. size.flags=HIDDEN|READONLY
  145. fontPathName.value=universC11m.ffn
  146. fontPathName.flags=HIDDEN|READONLY
  147. text.value=%data.accessor%
  148. text.maxlength=32
  149. text.label=text
  150. text.key=text
  151. text.flags=HIDDEN|READONLY
  152. foreColor.value=0x00000000
  153. foreColor.flags=HIDDEN|READONLY
  154. backColor.value=0x00000000
  155. backColor.flags=HIDDEN|READONLY
  156.  
  157. [part.selectionbox]
  158. id=RECT
  159. pos.value=0,data.height
  160. pos.flags=HIDDEN|READONLY
  161. size.value=data.width,data.selectionboxmaxheight
  162. size.flags=HIDDEN|READONLY
  163. color.value=0x00000000
  164. color.flags=HIDDEN|READONLY
  165.  
  166. [part.arrowbutton]
  167. id=SHAPE
  168. pos.flags=HIDDEN|READONLY
  169. pos.value=data.width-arrowbutton.size.width-4,4
  170. size.flags=HIDDEN|READONLY
  171. shapePathName.value=weeicons.fsh
  172. shapePathName.flags=HIDDEN|READONLY
  173. shapeIndex.value=14
  174. shapeIndex.flags=HIDDEN|READONLY
  175.  
  176.  
  177.  
  178.