home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code / r3drpmsg.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.8 KB  |  130 lines

  1.  
  2. // JavaScript wrapper for r3drpmsg.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_DROPMSG_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_DROPMESSAGE = 875;
  11.  
  12.  
  13.  
  14.  
  15. R3DRPMSGA_DropObject = 875500;
  16. function SetR3DRPMSGA_DropObject(value) {
  17.   R3Set(this.r3obj, R3DRPMSGA_DropObject, value, R3TID_OBJECT, 0); 
  18. }
  19.  
  20. function GetR3DRPMSGA_DropObject() {
  21.   return R3ToJS(R3Get(this.r3obj, R3DRPMSGA_DropObject, R3TID_OBJECT, 0)); 
  22. }
  23.  
  24. R3DRPMSGA_DropClid = 875501;
  25. function SetR3DRPMSGA_DropClid(value) {
  26.   R3Set(this.r3obj, R3DRPMSGA_DropClid, value, R3TID_INTEGER, 0); 
  27. }
  28.  
  29. function GetR3DRPMSGA_DropClid() {
  30.   return R3Get(this.r3obj, R3DRPMSGA_DropClid, R3TID_INTEGER, 0); 
  31. }
  32.  
  33. R3DRPMSGA_CreatorObject = 875502;
  34. function SetR3DRPMSGA_CreatorObject(value) {
  35.   R3Set(this.r3obj, R3DRPMSGA_CreatorObject, value, R3TID_OBJECT, 0); 
  36. }
  37.  
  38. function GetR3DRPMSGA_CreatorObject() {
  39.   return R3ToJS(R3Get(this.r3obj, R3DRPMSGA_CreatorObject, R3TID_OBJECT, 0)); 
  40. }
  41.  
  42. R3DRPMSGA_CreateMethod = 875503;
  43. function SetR3DRPMSGA_CreateMethod(value) {
  44.   R3Set(this.r3obj, R3DRPMSGA_CreateMethod, value, R3TID_INTEGER, 0); 
  45. }
  46.  
  47. function GetR3DRPMSGA_CreateMethod() {
  48.   return R3Get(this.r3obj, R3DRPMSGA_CreateMethod, R3TID_INTEGER, 0); 
  49. }
  50.  
  51. R3DRPMSGA_Freedom = 875504;
  52. function SetR3DRPMSGA_Freedom(value) {
  53.   R3Set(this.r3obj, R3DRPMSGA_Freedom, value, R3TID_INTEGER, 0); 
  54. }
  55.  
  56. function GetR3DRPMSGA_Freedom() {
  57.   return R3Get(this.r3obj, R3DRPMSGA_Freedom, R3TID_INTEGER, 0); 
  58. }
  59.  
  60. R3DRPMSGA_NotifyObject = 875505;
  61. function SetR3DRPMSGA_NotifyObject(value) {
  62.   R3Set(this.r3obj, R3DRPMSGA_NotifyObject, value, R3TID_OBJECT, 0); 
  63. }
  64.  
  65. function GetR3DRPMSGA_NotifyObject() {
  66.   return R3ToJS(R3Get(this.r3obj, R3DRPMSGA_NotifyObject, R3TID_OBJECT, 0)); 
  67. }
  68.  
  69. R3DRPMSGA_NotifyMethod = 875506;
  70. function SetR3DRPMSGA_NotifyMethod(value) {
  71.   R3Set(this.r3obj, R3DRPMSGA_NotifyMethod, value, R3TID_INTEGER, 0); 
  72. }
  73.  
  74. function GetR3DRPMSGA_NotifyMethod() {
  75.   return R3Get(this.r3obj, R3DRPMSGA_NotifyMethod, R3TID_INTEGER, 0); 
  76. }
  77.  
  78. R3DRPMSGA_NotifyData = 875507;
  79. function SetR3DRPMSGA_NotifyData(value) {
  80.   R3Set(this.r3obj, R3DRPMSGA_NotifyData, value, R3TID_OBJECT, 0); 
  81. }
  82.  
  83. function GetR3DRPMSGA_NotifyData() {
  84.   return R3ToJS(R3Get(this.r3obj, R3DRPMSGA_NotifyData, R3TID_OBJECT, 0)); 
  85. }
  86.  
  87. R3DRPMSGA_DropData = 875508;
  88. function SetR3DRPMSGA_DropData(value) {
  89.   R3Set(this.r3obj, R3DRPMSGA_DropData, value, R3TID_OBJECT, 0); 
  90. }
  91.  
  92. function GetR3DRPMSGA_DropData() {
  93.   return R3ToJS(R3Get(this.r3obj, R3DRPMSGA_DropData, R3TID_OBJECT, 0)); 
  94. }
  95.  
  96. var R3DRPMSGTYPE_FLOATING = 0;
  97. var R3DRPMSGTYPE_DOCKING = 1;
  98. var R3DRPMSGFREEDOM_WIDTH = 1;
  99. var R3DRPMSGFREEDOM_HEIGHT = 2;
  100. var R3DRPMSGFREEDOM_EXPAND = 4;
  101.  
  102.  
  103. function r3Dropmessage () { 
  104.    this.base = r3God;
  105.    if(arguments.length) {
  106.       this.base(R3CLID_DROPMESSAGE, arguments);
  107.    }
  108.    // Attributes
  109.    this.GetDropObject=GetR3DRPMSGA_DropObject;
  110.    this.SetDropObject=SetR3DRPMSGA_DropObject;
  111.    this.GetDropClid=GetR3DRPMSGA_DropClid;
  112.    this.SetDropClid=SetR3DRPMSGA_DropClid;
  113.    this.GetCreatorObject=GetR3DRPMSGA_CreatorObject;
  114.    this.SetCreatorObject=SetR3DRPMSGA_CreatorObject;
  115.    this.GetCreateMethod=GetR3DRPMSGA_CreateMethod;
  116.    this.SetCreateMethod=SetR3DRPMSGA_CreateMethod;
  117.    this.GetFreedom=GetR3DRPMSGA_Freedom;
  118.    this.SetFreedom=SetR3DRPMSGA_Freedom;
  119.    this.GetNotifyObject=GetR3DRPMSGA_NotifyObject;
  120.    this.SetNotifyObject=SetR3DRPMSGA_NotifyObject;
  121.    this.GetNotifyMethod=GetR3DRPMSGA_NotifyMethod;
  122.    this.SetNotifyMethod=SetR3DRPMSGA_NotifyMethod;
  123.    this.GetNotifyData=GetR3DRPMSGA_NotifyData;
  124.    this.SetNotifyData=SetR3DRPMSGA_NotifyData;
  125.    this.GetDropData=GetR3DRPMSGA_DropData;
  126.    this.SetDropData=SetR3DRPMSGA_DropData;
  127. }
  128.  
  129. r3Dropmessage.prototype=new r3Root;
  130. // r3drpmsg.h_H