[Fxruby-commits] CVS: FXRuby/ext/fox core_wrap.cpp,1.62.2.18,1.62.2.19 dialogs_wrap.cpp,1.34.2.16,1.
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <ly...@us...> - 2002-06-13 15:10:00
|
Update of /cvsroot/fxruby/FXRuby/ext/fox
In directory usw-pr-cvs1:/tmp/cvs-serv22521
Modified Files:
Tag: release10
core_wrap.cpp dialogs_wrap.cpp icons_wrap.cpp image_wrap.cpp
layout_wrap.cpp mdi_wrap.cpp opengl_wrap.cpp
scintilla_wrap.cpp ui_wrap.cpp
Log Message:
Index: core_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/core_wrap.cpp,v
retrieving revision 1.62.2.18
retrieving revision 1.62.2.19
diff -C2 -d -r1.62.2.18 -r1.62.2.19
*** core_wrap.cpp 30 May 2002 15:00:20 -0000 1.62.2.18
--- core_wrap.cpp 13 Jun 2002 15:08:58 -0000 1.62.2.19
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
***************
*** 9054,9057 ****
--- 9054,9084 ----
delete arg1;
}
+ static VALUE
+ _wrap_FXDrawable_allocate(int argc, VALUE *argv, VALUE self) {
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRbDrawable);
+ rb_obj_call_init(vresult, argc, argv);
+ return vresult;
+ }
+
+
+ static VALUE
+ _wrap_new_FXDrawable(int argc, VALUE *argv, VALUE self) {
+ FXApp *arg1 ;
+ FXint arg2 ;
+ FXint arg3 ;
+ FXRbDrawable *result;
+
+ if ((argc < 3) || (argc > 3))
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc);
+ arg1 = (FXApp *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXApp);
+ arg2 = NUM2INT(argv[1]);
+ arg3 = NUM2INT(argv[2]);
+ result = (FXRbDrawable *)new FXRbDrawable(arg1,arg2,arg3);
+ FXRbRegisterRubyObj(self, result);
+ DATA_PTR(self) = result;
+ return self;
+ }
+
+
static void
free_FXRbDrawable(FXRbDrawable *arg1) {
***************
*** 18884,18888 ****
cFXDrawable.klass = rb_define_class_under(mFox, "FXDrawable", ((swig_class *) SWIGTYPE_p_FXDrawable->clientdata)->klass);
SWIG_TypeClientData(SWIGTYPE_p_FXRbDrawable, (void *) &cFXDrawable);
! rb_undef_method(CLASS_OF(cFXDrawable.klass), "new");
rb_define_method(cFXDrawable.klass, "onDefault", VALUEFUNC(_wrap_FXDrawable_onDefault), -1);
rb_define_method(cFXDrawable.klass, "save", VALUEFUNC(_wrap_FXDrawable_save), -1);
--- 18911,18916 ----
cFXDrawable.klass = rb_define_class_under(mFox, "FXDrawable", ((swig_class *) SWIGTYPE_p_FXDrawable->clientdata)->klass);
SWIG_TypeClientData(SWIGTYPE_p_FXRbDrawable, (void *) &cFXDrawable);
! rb_define_singleton_method(cFXDrawable.klass, "new", VALUEFUNC(_wrap_FXDrawable_allocate), -1);
! rb_define_method(cFXDrawable.klass, "initialize", VALUEFUNC(_wrap_new_FXDrawable), -1);
rb_define_method(cFXDrawable.klass, "onDefault", VALUEFUNC(_wrap_FXDrawable_onDefault), -1);
rb_define_method(cFXDrawable.klass, "save", VALUEFUNC(_wrap_FXDrawable_save), -1);
Index: dialogs_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/dialogs_wrap.cpp,v
retrieving revision 1.34.2.16
retrieving revision 1.34.2.17
diff -C2 -d -r1.34.2.16 -r1.34.2.17
*** dialogs_wrap.cpp 30 May 2002 15:00:45 -0000 1.34.2.16
--- dialogs_wrap.cpp 13 Jun 2002 15:09:10 -0000 1.34.2.17
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: icons_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/icons_wrap.cpp,v
retrieving revision 1.37.2.17
retrieving revision 1.37.2.18
diff -C2 -d -r1.37.2.17 -r1.37.2.18
*** icons_wrap.cpp 30 May 2002 15:00:48 -0000 1.37.2.17
--- icons_wrap.cpp 13 Jun 2002 15:09:12 -0000 1.37.2.18
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: image_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/image_wrap.cpp,v
retrieving revision 1.39.2.17
retrieving revision 1.39.2.18
diff -C2 -d -r1.39.2.17 -r1.39.2.18
*** image_wrap.cpp 30 May 2002 15:00:49 -0000 1.39.2.17
--- image_wrap.cpp 13 Jun 2002 15:09:13 -0000 1.39.2.18
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: layout_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/layout_wrap.cpp,v
retrieving revision 1.8.2.16
retrieving revision 1.8.2.17
diff -C2 -d -r1.8.2.16 -r1.8.2.17
*** layout_wrap.cpp 30 May 2002 15:00:50 -0000 1.8.2.16
--- layout_wrap.cpp 13 Jun 2002 15:09:14 -0000 1.8.2.17
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: mdi_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/mdi_wrap.cpp,v
retrieving revision 1.36.2.16
retrieving revision 1.36.2.17
diff -C2 -d -r1.36.2.16 -r1.36.2.17
*** mdi_wrap.cpp 30 May 2002 15:00:51 -0000 1.36.2.16
--- mdi_wrap.cpp 13 Jun 2002 15:09:14 -0000 1.36.2.17
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: opengl_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/opengl_wrap.cpp,v
retrieving revision 1.41.2.17
retrieving revision 1.41.2.18
diff -C2 -d -r1.41.2.17 -r1.41.2.18
*** opengl_wrap.cpp 30 May 2002 15:00:54 -0000 1.41.2.17
--- opengl_wrap.cpp 13 Jun 2002 15:09:16 -0000 1.41.2.18
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: scintilla_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/scintilla_wrap.cpp,v
retrieving revision 1.16.2.11
retrieving revision 1.16.2.12
diff -C2 -d -r1.16.2.11 -r1.16.2.12
*** scintilla_wrap.cpp 30 May 2002 15:00:56 -0000 1.16.2.11
--- scintilla_wrap.cpp 13 Jun 2002 15:09:18 -0000 1.16.2.12
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
Index: ui_wrap.cpp
===================================================================
RCS file: /cvsroot/fxruby/FXRuby/ext/fox/ui_wrap.cpp,v
retrieving revision 1.9.2.16
retrieving revision 1.9.2.17
diff -C2 -d -r1.9.2.16 -r1.9.2.17
*** ui_wrap.cpp 30 May 2002 15:00:56 -0000 1.9.2.16
--- ui_wrap.cpp 13 Jun 2002 15:09:19 -0000 1.9.2.17
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.12u-20020529-1701
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.13u-20020611-0919
*
* This file is not intended to be easily readable and contains a number of
***************
*** 29090,29093 ****
--- 29090,29133 ----
delete arg1;
}
+ static VALUE
+ _wrap_FXShell_allocate(int argc, VALUE *argv, VALUE self) {
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRbShell);
+ rb_obj_call_init(vresult, argc, argv);
+ return vresult;
+ }
+
+
+ static VALUE
+ _wrap_new_FXShell(int argc, VALUE *argv, VALUE self) {
+ FXuint arg2 ;
+ FXint arg3 ;
+ FXint arg4 ;
+ FXint arg5 ;
+ FXint arg6 ;
+ FXRbShell *result;
+
+ if ((argc < 6) || (argc > 6))
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 6)",argc);
+ arg2 = NUM2UINT(argv[1]);
+ arg3 = NUM2INT(argv[2]);
+ arg4 = NUM2INT(argv[3]);
+ arg5 = NUM2INT(argv[4]);
+ arg6 = NUM2INT(argv[5]);
+
+ if(rb_obj_is_kind_of(argv[0],((swig_class *) SWIGTYPE_p_FXApp->clientdata)->klass)){
+ FXApp *arg1 = (FXApp *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXApp);
+ result = new FXRbShell(arg1,arg2,arg3,arg4,arg5,arg6);
+ }
+ else{
+ FXWindow *arg1 = (FXWindow *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXWindow);
+ result = new FXRbShell(arg1,arg2,arg3,arg4,arg5,arg6);
+ }
+
+ FXRbRegisterRubyObj(self, result);
+ DATA_PTR(self) = result;
+ return self;
+ }
+
+
static void
free_FXRbShell(FXRbShell *arg1) {
***************
*** 32362,32365 ****
--- 32402,32473 ----
delete arg1;
}
+ static VALUE
+ _wrap_FXTopWindow_allocate(int argc, VALUE *argv, VALUE self) {
+ SwigValueWrapper<FXString > p2 ;
+
+ VALUE vresult = SWIG_NewClassInstance(self, SWIGTYPE_p_FXRbTopWindow);
+ rb_obj_call_init(vresult, argc, argv);
+ return vresult;
+ }
+
+
+ static VALUE
+ _wrap_new_FXTopWindow(int argc, VALUE *argv, VALUE self) {
+ FXString *arg2 ;
+ FXIcon *arg3 ;
+ FXIcon *arg4 ;
+ FXuint arg5 ;
+ FXint arg6 ;
+ FXint arg7 ;
+ FXint arg8 ;
+ FXint arg9 ;
+ FXint arg10 ;
+ FXint arg11 ;
+ FXint arg12 ;
+ FXint arg13 ;
+ FXint arg14 ;
+ FXint arg15 ;
+ FXRbTopWindow *result;
+ SwigValueWrapper<FXString > p2 ;
+
+ if ((argc < 15) || (argc > 15))
+ rb_raise(rb_eArgError, "wrong # of arguments(%d for 15)",argc);
+ {
+ if (argv[1] != Qnil) {
+ Check_Type(argv[1], T_STRING);
+ p2 = FXString(STR2CSTR(argv[1]));
+ }else {
+ p2 = FXString::null;
+ }
+ arg2 = &p2;
+ }
+ arg3 = (FXIcon *) SWIG_ConvertPtr(argv[2], SWIGTYPE_p_FXIcon);
+ arg4 = (FXIcon *) SWIG_ConvertPtr(argv[3], SWIGTYPE_p_FXIcon);
+ arg5 = NUM2UINT(argv[4]);
+ arg6 = NUM2INT(argv[5]);
+ arg7 = NUM2INT(argv[6]);
+ arg8 = NUM2INT(argv[7]);
+ arg9 = NUM2INT(argv[8]);
+ arg10 = NUM2INT(argv[9]);
+ arg11 = NUM2INT(argv[10]);
+ arg12 = NUM2INT(argv[11]);
+ arg13 = NUM2INT(argv[12]);
+ arg14 = NUM2INT(argv[13]);
+ arg15 = NUM2INT(argv[14]);
+
+ if (rb_obj_is_kind_of(argv[0], ((swig_class *) SWIGTYPE_p_FXApp->clientdata)->klass)){
+ FXApp *arg1 = (FXApp *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXApp);
+ result = new FXRbTopWindow(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
+ }
+ else{
+ FXWindow *arg1 = (FXWindow *) SWIG_ConvertPtr(argv[0], SWIGTYPE_p_FXWindow);
+ result = new FXRbTopWindow(arg1,(FXString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15);
+ }
+ FXRbRegisterRubyObj(self, result);
+ DATA_PTR(self) = result;
+ return self;
+ }
+
+
static void
free_FXRbTopWindow(FXRbTopWindow *arg1) {
***************
*** 101913,101917 ****
cFXShell.klass = rb_define_class_under(mFox, "FXShell", ((swig_class *) SWIGTYPE_p_FXShell->clientdata)->klass);
SWIG_TypeClientData(SWIGTYPE_p_FXRbShell, (void *) &cFXShell);
! rb_undef_method(CLASS_OF(cFXShell.klass), "new");
rb_define_method(cFXShell.klass, "onDefault", VALUEFUNC(_wrap_FXShell_onDefault), -1);
rb_define_method(cFXShell.klass, "save", VALUEFUNC(_wrap_FXShell_save), -1);
--- 102021,102026 ----
cFXShell.klass = rb_define_class_under(mFox, "FXShell", ((swig_class *) SWIGTYPE_p_FXShell->clientdata)->klass);
SWIG_TypeClientData(SWIGTYPE_p_FXRbShell, (void *) &cFXShell);
! rb_define_singleton_method(cFXShell.klass, "new", VALUEFUNC(_wrap_FXShell_allocate), -1);
! rb_define_method(cFXShell.klass, "initialize", VALUEFUNC(_wrap_new_FXShell), -1);
rb_define_method(cFXShell.klass, "onDefault", VALUEFUNC(_wrap_FXShell_onDefault), -1);
rb_define_method(cFXShell.klass, "save", VALUEFUNC(_wrap_FXShell_save), -1);
***************
*** 102155,102159 ****
cFXTopWindow.klass = rb_define_class_under(mFox, "FXTopWindow", ((swig_class *) SWIGTYPE_p_FXTopWindow->clientdata)->klass);
SWIG_TypeClientData(SWIGTYPE_p_FXRbTopWindow, (void *) &cFXTopWindow);
! rb_undef_method(CLASS_OF(cFXTopWindow.klass), "new");
rb_define_method(cFXTopWindow.klass, "onDefault", VALUEFUNC(_wrap_FXTopWindow_onDefault), -1);
rb_define_method(cFXTopWindow.klass, "save", VALUEFUNC(_wrap_FXTopWindow_save), -1);
--- 102264,102269 ----
cFXTopWindow.klass = rb_define_class_under(mFox, "FXTopWindow", ((swig_class *) SWIGTYPE_p_FXTopWindow->clientdata)->klass);
SWIG_TypeClientData(SWIGTYPE_p_FXRbTopWindow, (void *) &cFXTopWindow);
! rb_define_singleton_method(cFXTopWindow.klass, "new", VALUEFUNC(_wrap_FXTopWindow_allocate), -1);
! rb_define_method(cFXTopWindow.klass, "initialize", VALUEFUNC(_wrap_new_FXTopWindow), -1);
rb_define_method(cFXTopWindow.klass, "onDefault", VALUEFUNC(_wrap_FXTopWindow_onDefault), -1);
rb_define_method(cFXTopWindow.klass, "save", VALUEFUNC(_wrap_FXTopWindow_save), -1);
|