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

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Bottom Bar Button
  4. ;
  5. ; Also known as a transition button.  Based off of the Goto button except has no background
  6. ; and does have a disabled state.
  7. ;
  8. ; Created by Gary Steinke
  9. ;
  10. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  11.  
  12. [control]
  13. id=NFS5.BOTTOMBARBUTTON
  14. description=Bottom Bar Button
  15.  
  16. parts=label,bg,data,hoverlabel,disabledlabel,picture
  17.  
  18. name.value=ID_BOTTOMBARBUTTON
  19.  
  20. states=normal,hidden,hover,disabled
  21. states.flags=0
  22.  
  23. size.value=(label.size.width+picture.size.width+data.space),data.height
  24. size.flags=HIDDEN|READONLY
  25. moveable.value=0
  26. moveable.flags=HIDDEN|READONLY
  27. resizeable.value=0
  28. resizeable.flags=HIDDEN|READONLY
  29.  
  30. autosize.value=0
  31. autosize.flags=HIDDEN|READONLY
  32.  
  33. pos.value=(data.align&1)?data.posx-(label.size.width+picture.size.width+data.space):data.posx,data.posy
  34. pos.flags=HIDDEN|READONLY
  35.  
  36.  
  37. [state.normal]
  38. parts=bg,label,data,picture
  39.  
  40. [state.hover]
  41. parts=bg,hoverlabel,data,picture
  42.  
  43. [state.hidden]
  44. parts=data
  45.  
  46. [state.disabled]
  47. parts=bg,disabledlabel,data,picture
  48.  
  49. [part.bg]
  50. id=RECT
  51. pos.value=0,0
  52. pos.flags=HIDDEN|READONLY
  53. size.value=data.area,data.height
  54. size.flags=HIDDEN|READONLY
  55. color.value=0x00000000
  56. color.flags=HIDDEN|READONLY
  57.  
  58.  
  59. [part.label]
  60. id=LOCALIZEDTEXT
  61. pos.value=picture.size.width+data.space,8
  62. pos.flags=HIDDEN|READONLY
  63. size.flags=HIDDEN|READONLY
  64. fontPathName.value=Univers11b.ffn
  65. fontPathName.flags=HIDDEN|READONLY
  66. stringID.value=IDS_YOUR_STRING
  67. foreColor.value=0xffffffff
  68. foreColor.flags=HIDDEN|READONLY
  69. backColor.value=0x00000000
  70. backColor.flags=HIDDEN|READONLY
  71.  
  72. [part.hoverlabel]
  73. id=LOCALIZEDTEXT
  74. pos.value=picture.size.width+data.space,8
  75. pos.flags=HIDDEN|READONLY
  76. size.flags=HIDDEN|READONLY
  77. fontPathName.value=Univers11b.ffn
  78. fontPathName.flags=HIDDEN|READONLY
  79.  
  80. stringID.value=%label.stringID%
  81. stringID.flags=HIDDEN|READONLY
  82. foreColor.value=0xffffbb00
  83. foreColor.flags=HIDDEN|READONLY
  84. backColor.value=0x00000000
  85. backColor.flags=HIDDEN|READONLY
  86.  
  87. [part.disabledlabel]
  88. id=LOCALIZEDTEXT
  89. pos.value=picture.size.width+data.space,8
  90. pos.flags=HIDDEN|READONLY
  91. size.flags=HIDDEN|READONLY
  92. fontPathName.value=Univers11b.ffn
  93. fontPathName.flags=HIDDEN|READONLY
  94. stringID.value=%label.stringID%
  95. stringID.flags=HIDDEN|READONLY
  96. foreColor.value=0xff808080
  97. foreColor.flags=HIDDEN|READONLY
  98. backColor.value=0x00000000
  99. backColor.flags=HIDDEN|READONLY
  100.  
  101.  
  102. [part.picture]
  103. id=SHAPE
  104. pos.value=0,data.picoffy    
  105. pos.flags=HIDDEN|READONLY
  106. size.flags=HIDDEN|READONLY
  107. shapePathName.value=logoAn.fsh
  108. shapeIndex.value=data.startframe
  109. shapeIndex.flags=HIDDEN|READONLY
  110. flip.flags=0
  111.  
  112.  
  113. [part.data]
  114. id=DATA
  115. attributes.value=destination,offset,callback,transon,transoff,space,height,picoffy,seperatehovermousedown,startframe,endframe,totalticks,mindelay,maxdelay,hoverstartframe,hoverendframe,hovertotalticks,hovermindelay,hovermaxdelay,hovermousedownstartframe,hovermousedownendframe,hovermousedowntotalticks,hovermousedownmindelay,hovermousedownmaxdelay,dropshadow,glintybox,stemleftheight,stemrightheight,align,posx,posy,helptext
  116.  
  117. destination.type=STRING
  118. offset.type=INT
  119. offset.value=0
  120. callback.type=STRING
  121.  
  122. align.type=INT
  123. align.value=0
  124.  
  125. transon.type=STRING
  126. transon.value=FADE
  127. transon.label=Transition On
  128. transon.flags=0
  129. transoff.type=STRING
  130. transoff.value=SAME
  131. transoff.label=Transition Off
  132.  
  133. space.type=INT
  134. space.value=0
  135. height.type=INT
  136. height.value=24
  137. height.flags=HIDDEN|READONLY
  138.  
  139. picoffy.type=INT
  140. picoffy.value=0
  141.  
  142. stemleftheight.type=INT
  143. stemleftheight.value=0
  144. stemleftheight.flags=HIDDEN|READONLY
  145. stemrightheight.type=INT
  146. stemrightheight.value=0
  147. stemrightheight.flags=HIDDEN|READONLY
  148.  
  149. seperatehovermousedown.type=INT
  150. seperatehovermousedown.value=0
  151.  
  152. startframe.type=INT
  153. endframe.type=INT
  154. totalticks.type=INT
  155. mindelay.type=INT
  156. maxdelay.type=INT
  157.  
  158. hoverstartframe.type=INT
  159. hoverendframe.type=INT
  160. hovertotalticks.type=INT
  161. hovermindelay.type=INT
  162. hovermaxdelay.type=INT
  163.  
  164. hovermousedownstartframe.type=INT
  165. hovermousedownendframe.type=INT
  166. hovermousedowntotalticks.type=INT
  167. hovermousedownmindelay.type=INT
  168. hovermousedownmaxdelay.type=INT
  169.  
  170. dropshadow.type=INT
  171. dropshadow.value=0
  172. dropshadow.flags=HIDDEN|READONLY
  173.  
  174. glintybox.type=INT
  175. glintybox.value=-1
  176. glintybox.flags=HIDDEN|READONLY
  177.  
  178. posx.type=INT
  179. posx.value=0
  180. posy.type=INT
  181. posy.value=0
  182.  
  183. helptext.type=INT
  184. helptext.value=0
  185.