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

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Goto Button
  4. ;
  5. ; Also known as a transition button.  Takes the name of a lay file to go to (no extension).
  6. ; The game will then know that when you click on it, to transition to that screen.
  7. ;
  8. ; Created by Jason Major
  9. ;
  10. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  11.  
  12. [control]
  13. id=NFS5.GOTOBUTTON
  14. description=Transition Button
  15.  
  16. parts=label,mediumlabel,smalllabel,bg,hoverbg,disabledbg,data,dislabel,dismediumlabel,dissmalllabel
  17.  
  18. name.value=ID_GOTOBUTTON
  19.  
  20. states=normal,hidden,hover,disabled,selected
  21. states.flags=0
  22.  
  23. size.value=data.width,data.height
  24. size.flags=HIDDEN|READONLY
  25. moveable.value=1
  26. moveable.flags=HIDDEN|READONLY
  27. resizeable.value=0
  28. resizeable.flags=HIDDEN|READONLY
  29. pos=0,0
  30. pos.label=control.pos
  31.  
  32. autosize.value=0
  33. autosize.flags=HIDDEN|READONLY
  34.  
  35.  
  36. [state.normal]
  37. parts=bg,label,mediumlabel,smalllabel,data
  38.  
  39. [state.hover]
  40. parts=hoverbg,label,mediumlabel,smalllabel,data
  41.  
  42. [state.hidden]
  43. parts=data
  44.  
  45. [state.disabled]
  46. parts=disabledbg,dislabel,dismediumlabel,dissmalllabel,data
  47.  
  48. [state.selected]
  49. parts=hoverbg,label,mediumlabel,smalllabel,data
  50.  
  51. [part.data]
  52. id=DATA
  53. attributes.value=destination,stemleftheight,stemrightheight,offset,callback,transon,transoff,width,height,helptext,medium,dropshadow,maincolor,hovercolor,disabledcolor,glintybox
  54. destination.type=STRING
  55.  
  56. stemleftheight.type=INT
  57. stemleftheight.value=0
  58. stemrightheight.type=INT
  59. stemrightheight.value=0
  60.  
  61. offset.type=INT
  62. offset.value=0
  63. callback.type=STRING
  64.  
  65. transon.type=STRING
  66. transon.value=FADE
  67. transon.label=Transition On
  68. transon.flags=0
  69. transoff.type=STRING
  70. transoff.value=SAME
  71. transoff.label=Transition Off
  72.  
  73. width.type=INT
  74. width.value=157
  75.  
  76. height.type=INT
  77. height.value=18
  78.  
  79.  
  80. medium.type=INT
  81. medium.value=0
  82.  
  83. dropshadow.type=INT
  84. dropshadow.value=1
  85.  
  86. maincolor.type=COLOR
  87. maincolor.value=0xFFBC0000
  88.  
  89. hovercolor.type=COLOR
  90. hovercolor.value=0xffffBB00
  91.  
  92. disabledcolor.type=COLOR
  93. disabledcolor.value=0x30FF0000
  94.  
  95. glintybox.type=INT
  96. glintybox.value=1
  97. helptext.type=INT
  98. helptext.value=0
  99.  
  100. [part.label]
  101. id=LOCALIZEDTEXT
  102. pos.value=5,2
  103. pos.flags=HIDDEN|READONLY
  104. size.flags=HIDDEN|READONLY
  105. fontPathName.value=Universc11b.ffn
  106. fontPathName.flags=HIDDEN|READONLY
  107. stringID.value=0
  108. stringID.flags=0
  109. foreColor.value=data.medium?0x00000000:0xffffffff
  110. foreColor.flags=HIDDEN|READONLY
  111. backColor.value=0x00000000
  112. backColor.flags=HIDDEN|READONLY
  113.  
  114. [part.mediumlabel]
  115. id=LOCALIZEDTEXT
  116. pos.value=((data.width-mediumlabel.size.width)/2),2
  117. pos.flags=HIDDEN|READONLY
  118. size.flags=HIDDEN|READONLY
  119. fontPathName.value=Universc11m.ffn
  120. fontPathName.flags=HIDDEN|READONLY
  121. stringID.value=%label.stringID%
  122. stringID.flags=HIDDEN|READONLY
  123. foreColor.value=(data.medium&1)?0xffffffff:0x00000000
  124. foreColor.flags=HIDDEN|READONLY
  125. backColor.value=0x00000000
  126. backColor.flags=HIDDEN|READONLY
  127.  
  128. [part.smalllabel]
  129. id=LOCALIZEDTEXT
  130. pos.value=(data.medium&4)?5:((data.width-smalllabel.size.width)/2),2
  131. pos.flags=HIDDEN|READONLY
  132. size.flags=HIDDEN|READONLY
  133. fontPathName.value=univers8b.ffn
  134. fontPathName.flags=HIDDEN|READONLY
  135. stringID.value=%label.stringID%
  136. stringID.flags=HIDDEN|READONLY
  137. foreColor.value=(data.medium&4)?0xffffffff:(data.medium&2)?0xffffffff:0x00000000
  138. foreColor.flags=HIDDEN|READONLY
  139. backColor.value=0x00000000
  140. backColor.flags=HIDDEN|READONLY
  141.  
  142.  
  143. [part.dislabel]
  144. id=LOCALIZEDTEXT
  145. pos.value=5,2
  146. pos.flags=HIDDEN|READONLY
  147. size.flags=HIDDEN|READONLY
  148. fontPathName.value=Universc11b.ffn
  149. fontPathName.flags=HIDDEN|READONLY
  150. stringID.value=%label.stringID%
  151. stringID.flags=HIDDEN|READONLY
  152. foreColor.value=data.medium?0x00000000:0x30ffffff
  153. foreColor.flags=HIDDEN|READONLY
  154. backColor.value=0x00000000
  155. backColor.flags=HIDDEN|READONLY
  156.  
  157. [part.dismediumlabel]
  158. id=LOCALIZEDTEXT
  159. pos.value=((data.width-mediumlabel.size.width)/2),2
  160. pos.flags=HIDDEN|READONLY
  161. size.flags=HIDDEN|READONLY
  162. fontPathName.value=Universc11m.ffn
  163. fontPathName.flags=HIDDEN|READONLY
  164. stringID.value=%label.stringID%
  165. stringID.flags=HIDDEN|READONLY
  166. foreColor.value=(data.medium&1)?0x30ffffff:0x00000000
  167. foreColor.flags=HIDDEN|READONLY
  168. backColor.value=0x00000000
  169. backColor.flags=HIDDEN|READONLY
  170.  
  171. [part.dissmalllabel]
  172. id=LOCALIZEDTEXT
  173. pos.value=((data.width-smalllabel.size.width)/2),2
  174. pos.flags=HIDDEN|READONLY
  175. size.flags=HIDDEN|READONLY
  176. fontPathName.value=univers8b.ffn
  177. fontPathName.flags=HIDDEN|READONLY
  178. stringID.value=%label.stringID%
  179. stringID.flags=HIDDEN|READONLY
  180. foreColor.value=(data.medium&2)?0x30ffffff:0x00000000
  181. foreColor.flags=HIDDEN|READONLY
  182. backColor.value=0x00000000
  183. backColor.flags=HIDDEN|READONLY
  184.  
  185. [part.hoverbg]
  186. id=RECT
  187. pos.value=1,1
  188. pos.flags=HIDDEN|READONLY
  189. size.value=data.width-2,data.height-2
  190. size.flags=HIDDEN|READONLY
  191. color.value=data.hovercolor
  192. color.flags=HIDDEN|READONLY
  193.  
  194. [part.disabledbg]
  195. id=RECT
  196. pos.value=1,1
  197. pos.flags=HIDDEN|READONLY
  198. size.value=data.width-2,data.height-2
  199. size.flags=HIDDEN|READONLY
  200. color.value=data.disabledcolor
  201. color.flags=HIDDEN|READONLY
  202.  
  203. [part.bg]
  204. id=RECT
  205. pos.value=1,1
  206. pos.flags=HIDDEN|READONLY
  207. size.value=data.width-2,data.height-2
  208. size.flags=HIDDEN|READONLY
  209. color.value=data.maincolor
  210. color.flags=HIDDEN|READONLY
  211.  
  212.  
  213.