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

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Input Box
  4. ;
  5. ; A control where you give it a string accessor and it will let you edit that string.
  6. ;
  7. ; Created by Gary Steinke, May 21/99
  8. ;
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  10.  
  11. [control]
  12. id=NFS5.INPUTBOX
  13. description=Input Box
  14.  
  15. parts=unselbkgd,selbkgd,untext,hitext,bgoutline1,bgoutline2,bgoutline3,bgoutline4,data,cursor,disabledbg
  16.  
  17. name.value=ID_INPUTBOX
  18.  
  19. states=normal,hidden,focused,disabled
  20. states.flags=0
  21.  
  22. size.value=data.width,data.height
  23. size.flags=HIDDEN|READONLY
  24. moveable.value=1
  25. moveable.flags=HIDDEN|READONLY
  26. resizeable.value=1
  27. resizeable.flags=HIDDEN|READONLY
  28. pos=0,0
  29. pos.label=control.pos
  30.  
  31. autosize.value=1
  32. autosize.flags=HIDDEN|READONLY
  33.  
  34.  
  35. [state.normal]
  36. parts=unselbkgd,untext,bgoutline1,bgoutline2,bgoutline3,bgoutline4,data
  37.  
  38. [state.focused]
  39. parts=selbkgd,hitext,bgoutline1,bgoutline2,bgoutline3,bgoutline4,data
  40.  
  41. [state.hidden]
  42. parts=data
  43.  
  44. [state.disabled]
  45. parts=data,disabledbg,untext,bgoutline1,bgoutline2,bgoutline3,bgoutline4
  46.  
  47.  
  48. [part.data]
  49. id=DATA
  50. attributes.value=accessor,transon,transoff,width,height,showstars,helptext,noshadow,alwaysfocused
  51. transon.type=STRING
  52. transon.value=FADE
  53. transon.label=Transition On
  54. transon.flags=0
  55. transoff.type=STRING
  56. transoff.value=SAME
  57. transoff.label=Transition Off
  58. width.value=100
  59. width.type=INT
  60. height.value=14
  61. height.type=INT
  62. height.flags=HIDDEN|READONLY
  63. accessor.type=STRING
  64. showstars.type=INT
  65. showstars.value=0
  66. helptext.type=INT
  67. helptext.value=0
  68. noshadow.type=INT
  69. noshadow.value=0
  70. alwaysfocused.type=INT
  71. alwaysfocused.value=0
  72.  
  73. [part.unselbkgd]
  74. id=RECT
  75. pos.value=0,0
  76. pos.flags=HIDDEN|READONLY
  77. size.value=data.width,14
  78. size.flags=HIDDEN|READONLY
  79. color.value=0xFFBC0000
  80. color.flags=HIDDEN|READONLY
  81.  
  82. [part.selbkgd]
  83. id=RECT
  84. pos.value=0,0
  85. pos.flags=HIDDEN|READONLY
  86. size.value=data.width,14
  87. size.flags=HIDDEN|READONLY
  88. color.value=0xFFFFBB00
  89. color.flags=HIDDEN|READONLY
  90.  
  91. [part.disabledbg]
  92. id=RECT
  93. pos.value=0,0
  94. pos.flags=HIDDEN|READONLY
  95. size.value=data.width,data.height
  96. size.flags=HIDDEN|READONLY
  97. color.value=0x30FF0000
  98. color.flags=HIDDEN|READONLY
  99.  
  100. [part.untext]
  101. id=TEXT 
  102. pos.value=(data.width - untext.size.width)/2,2
  103. pos.flags=HIDDEN|READONLY
  104. size.flags=HIDDEN|READONLY
  105. fontPathName.value=univers8b.ffn
  106. fontPathName.flags=HIDDEN|READONLY
  107. text.value=%hitext.text%
  108. text.maxlength=32
  109. text.label=text
  110. text.key=text
  111. text.flags=HIDDEN|READONLY
  112. foreColor.value=0xffffffff
  113. foreColor.flags=HIDDEN|READONLY
  114. backColor.value=0x00000000
  115. backColor.flags=HIDDEN|READONLY
  116.  
  117. [part.hitext]
  118. id=TEXT
  119. pos.value=(data.width - hitext.size.width)/2,2
  120. pos.flags=HIDDEN|READONLY
  121. size.flags=HIDDEN|READONLY
  122. fontPathName.value=univers8b.ffn
  123. fontPathName.flags=HIDDEN|READONLY
  124. text.value=Text Here
  125. text.maxlength=32
  126. text.label=text
  127. text.key=text
  128. text.flags=HIDDEN|READONLY
  129. foreColor.value=0xFF000000
  130. foreColor.flags=HIDDEN|READONLY
  131. backColor.value=0x00000000
  132. backColor.flags=HIDDEN|READONLY
  133.  
  134. [part.cursor]
  135. id=RECT
  136. pos.value=((data.width - hitext.size.width)/2)+hitext.size.width+1,3
  137. pos.flags=HIDDEN|READONLY
  138. size.value=1,data.height-6
  139. size.flags=HIDDEN|READONLY
  140. color.value=0xff000000
  141. color.flags=HIDDEN|READONLY
  142.  
  143.  
  144. [part.bgoutline1]
  145. id=RECT
  146. pos.value=0,0
  147. pos.flags=HIDDEN|READONLY
  148. size.value=data.width,1
  149. size.flags=HIDDEN|READONLY
  150. color.value=0xff000000
  151. color.flags=HIDDEN|READONLY
  152.  
  153. [part.bgoutline2]
  154. id=RECT
  155. pos.value=0,data.height-1
  156. pos.flags=HIDDEN|READONLY
  157. size.value=data.width,1
  158. size.flags=HIDDEN|READONLY
  159. color.value=0xff000000
  160. color.flags=HIDDEN|READONLY
  161.  
  162. [part.bgoutline3]
  163. id=RECT
  164. pos.value=0,0
  165. pos.flags=HIDDEN|READONLY
  166. size.value=1,data.height
  167. size.flags=HIDDEN|READONLY
  168. color.value=0xff000000
  169. color.flags=HIDDEN|READONLY
  170.  
  171. [part.bgoutline4]
  172. id=RECT
  173. pos.value=data.width-1,0
  174. pos.flags=HIDDEN|READONLY
  175. size.value=1,data.height
  176. size.flags=HIDDEN|READONLY
  177. color.value=0xff000000
  178. color.flags=HIDDEN|READONLY
  179.