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 / oops / r3string.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.3 KB  |  60 lines

  1.  
  2. // JavaScript wrapper for r3string.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_STRING_H = 1;
  7. include("oops/r3osgdgt.js")
  8.  
  9.  
  10. var R3CLID_STRING = 27;
  11.  
  12.  
  13.  
  14.  
  15. R3GSA_String = 27500;
  16. function SetR3GSA_String(value) {
  17.   R3Set(this.r3obj, R3GSA_String, value, R3TID_STRING, 0); 
  18. }
  19.  
  20. function GetR3GSA_String() {
  21.   return R3Get(this.r3obj, R3GSA_String, R3TID_STRING, 0); 
  22. }
  23.  
  24. R3GSA_MaxChars = 27501;
  25. function SetR3GSA_MaxChars(value) {
  26.   R3Set(this.r3obj, R3GSA_MaxChars, value, R3TID_INTEGER, 0); 
  27. }
  28.  
  29. function GetR3GSA_MaxChars() {
  30.   return R3Get(this.r3obj, R3GSA_MaxChars, R3TID_INTEGER, 0); 
  31. }
  32.  
  33. R3GSA_Columns = 27502;
  34. function SetR3GSA_Columns(value) {
  35.   R3Set(this.r3obj, R3GSA_Columns, value, R3TID_INTEGER, 0); 
  36. }
  37.  
  38. function GetR3GSA_Columns() {
  39.   return R3Get(this.r3obj, R3GSA_Columns, R3TID_INTEGER, 0); 
  40. }
  41.  
  42. var R3GSA_ReadOnly = 27503; // Boolean
  43.  
  44.  
  45. function r3String () { 
  46.    this.base = r3God;
  47.    if(arguments.length) {
  48.       this.base(R3CLID_STRING, arguments);
  49.    }
  50.    // Attributes
  51.    this.GetString=GetR3GSA_String;
  52.    this.SetString=SetR3GSA_String;
  53.    this.GetMaxChars=GetR3GSA_MaxChars;
  54.    this.SetMaxChars=SetR3GSA_MaxChars;
  55.    this.GetColumns=GetR3GSA_Columns;
  56.    this.SetColumns=SetR3GSA_Columns;
  57. }
  58.  
  59. r3String.prototype=new r3Osgadget;
  60. // r3string.h_H