w_publ_base_style.srw 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. $PBExportHeader$w_publ_base_style.srw
  2. forward
  3. global type w_publ_base_style from w_publ_base
  4. end type
  5. type ln_bar from line within w_publ_base_style
  6. end type
  7. type ln_bar2 from line within w_publ_base_style
  8. end type
  9. type r_bar from rectangle within w_publ_base_style
  10. end type
  11. end forward
  12. global type w_publ_base_style from w_publ_base
  13. ln_bar ln_bar
  14. ln_bar2 ln_bar2
  15. r_bar r_bar
  16. end type
  17. global w_publ_base_style w_publ_base_style
  18. event resize;call super::resize;ln_bar.endx = this.width
  19. ln_bar2.endx = this.width
  20. r_bar.width = this.width
  21. end event
  22. on w_publ_base_style.create
  23. int iCurrent
  24. call super::create
  25. this.ln_bar=create ln_bar
  26. this.ln_bar2=create ln_bar2
  27. this.r_bar=create r_bar
  28. iCurrent=UpperBound(this.Control)
  29. this.Control[iCurrent+1]=this.ln_bar
  30. this.Control[iCurrent+2]=this.ln_bar2
  31. this.Control[iCurrent+3]=this.r_bar
  32. end on
  33. on w_publ_base_style.destroy
  34. call super::destroy
  35. destroy(this.ln_bar)
  36. destroy(this.ln_bar2)
  37. destroy(this.r_bar)
  38. end on
  39. type cb_func from w_publ_base`cb_func within w_publ_base_style
  40. integer width = 151
  41. integer height = 164
  42. toolbaralignment pic_align = alignattop!
  43. boolean border = false
  44. end type
  45. type cb_exit from w_publ_base`cb_exit within w_publ_base_style
  46. integer x = 151
  47. integer width = 151
  48. integer height = 164
  49. integer picsize = 16
  50. toolbaralignment pic_align = alignattop!
  51. boolean border = false
  52. end type
  53. type ln_bar from line within w_publ_base_style
  54. long linecolor = 268435456
  55. integer linethickness = 4
  56. integer beginy = 168
  57. integer endx = 2007
  58. integer endy = 168
  59. end type
  60. type ln_bar2 from line within w_publ_base_style
  61. long linecolor = 16777215
  62. integer linethickness = 4
  63. integer beginy = 172
  64. integer endx = 2039
  65. integer endy = 172
  66. end type
  67. type r_bar from rectangle within w_publ_base_style
  68. long linecolor = 16777215
  69. integer linethickness = 4
  70. long fillcolor = 1073741824
  71. integer x = 1531
  72. integer width = 146
  73. integer height = 68
  74. end type
  75. event constructor;this.fillcolor = 14215660
  76. this.linecolor = 14215660
  77. this.x = -1
  78. this.y = -1
  79. this.height = ln_bar.beginy - 5
  80. end event