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

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Rectangle
  4. ;
  5. ; A very simple control.  Simply draws a rectangle w/ outline
  6. ;
  7. ; Created by Gary Steinke, May 21/99
  8. ;
  9. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  10.  
  11. [control]
  12. id=NFS5.GlintyRectangle
  13. description=Glinty Rectangle Outline
  14.  
  15. parts=data,top,bottom,left,right
  16.  
  17. name.value=ID_GLINTYRECTANGLE
  18.  
  19. states=normal,hidden
  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.  
  32. autosize.value=1
  33. autosize.flags=HIDDEN|READONLY
  34.  
  35.  
  36. [state.normal]
  37. parts=data,top,bottom,left,right
  38.  
  39. [state.hidden]
  40. parts=data
  41.  
  42.  
  43. [part.data]
  44. id=DATA
  45. attributes.value=transon,transoff,norefresh,animate,col,width,height,nosize
  46. transon.type=STRING
  47. transon.value=FADE
  48. transon.label=Transition On
  49. transon.flags=0
  50. transoff.type=STRING
  51. transoff.value=SAME
  52. transoff.label=Transition Off
  53. norefresh.type=INT
  54. norefresh.value=1
  55. norefresh.flags=HIDDEN|READONLY    
  56.  
  57. animate.type=INT
  58. animate.value=5
  59.  
  60. col.type=COLOR
  61. col.value=0xff000000
  62.  
  63. width.type=INT
  64. width.value=50
  65.  
  66. height.type=INT
  67. height.value=50
  68.  
  69. nosize.type=INT
  70. nosize.value=1
  71. nosize.flags=HIDDEN|READONLY
  72.  
  73. [part.top]
  74. id=RECT
  75. pos.value=0,0
  76. pos.flags=HIDDEN|READONLY
  77. size.value=data.width,1
  78. size.flags=HIDDEN|READONLY
  79. color.value=data.col
  80. color.flags=HIDDEN|READONLY
  81.  
  82. [part.bottom]
  83. id=RECT
  84. pos.value=0,data.height-1
  85. pos.flags=HIDDEN|READONLY
  86. size.value=data.width,1
  87. size.flags=HIDDEN|READONLY
  88. color.value=data.col
  89. color.flags=HIDDEN|READONLY
  90.  
  91. [part.left]
  92. id=RECT
  93. pos.value=0,0
  94. pos.flags=HIDDEN|READONLY
  95. size.value=1,data.height
  96. size.flags=HIDDEN|READONLY
  97. color.value=data.col
  98. color.flags=HIDDEN|READONLY
  99.  
  100. [part.right]
  101. id=RECT
  102. pos.value=data.width-1,0
  103. pos.flags=HIDDEN|READONLY
  104. size.value=1,data.height
  105. size.flags=HIDDEN|READONLY
  106. color.value=data.col
  107. color.flags=HIDDEN|READONLY