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 / widget / r3guiwin.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.7 KB  |  70 lines

  1.  
  2. // JavaScript wrapper for r3guiwin.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_R3GUIWIN_H = 1;
  7. include("oops/r3window.js")
  8.  
  9.  
  10. var R3CLID_GUIEDITWINDOW = 1214;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Class method. Registers a gadget class for a droppable manager object.
  16. // Returns: Boolean, true if succeeded.
  17. // p1: Integer, class id of the droppable object
  18. // p3: Integer, class id of the gadget
  19.  
  20. R3GUIEDITWCM_REGISTERMANAGER = 1214000;
  21.  
  22. function mR3GUIEDITWCM_REGISTERMANAGER(p1, p3) {
  23.   return   DoA2(this.r3obj, 1214000, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  24. }
  25.  
  26. // Description: Class method. Registers a gadget class for a droppable object.
  27. // Returns: Boolean, true if succeeded.
  28. // p1: Integer, class id of the droppable object
  29. // p3: Integer, class id of the gadget
  30.  
  31. R3GUIEDITWCM_REGISTERGADGETC = 1214001;
  32.  
  33. function mR3GUIEDITWCM_REGISTERGADGETC(p1, p3) {
  34.   return   DoA2(this.r3obj, 1214001, p1, R3TID_INTEGER, 0, p3, R3TID_INTEGER, 0);
  35. }
  36.  
  37. // Description: Internal use
  38.  
  39. R3GUIEDITWM_SETNAME = 1214002;
  40.  
  41. function mR3GUIEDITWM_SETNAME() {
  42.   DoA(this.r3obj, 1214002, 0, R3TID_INTEGER, 0);
  43. }
  44.  
  45.  
  46.  
  47.  
  48. R3GUIEDITWA_GuiModel = 1214500;
  49. function GetR3GUIEDITWA_GuiModel() {
  50.   return R3ToJS(R3Get(this.r3obj, R3GUIEDITWA_GuiModel, R3TID_OBJECT, 0)); 
  51. }
  52.  
  53.  
  54.  
  55. function r3Guieditwindow () { 
  56.    this.base = r3God;
  57.    if(arguments.length) {
  58.       this.base(R3CLID_GUIEDITWINDOW, arguments);
  59.    }
  60.    // Methods
  61.    this.REGISTERMANAGER=mR3GUIEDITWCM_REGISTERMANAGER;
  62.    this.REGISTERGADGETC=mR3GUIEDITWCM_REGISTERGADGETC;
  63.    this.SETNAME=mR3GUIEDITWM_SETNAME;
  64.  
  65.    // Attributes
  66.    this.GetGuiModel=GetR3GUIEDITWA_GuiModel;
  67. }
  68.  
  69. r3Guieditwindow.prototype=new r3Window;
  70. // r3guiwin.h_H