ruby-ogre 0.0.4-x86-linux → 0.0.5-x86-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/INSTALL.md +1 -1
- data/bindings/ogre/interface/ogre_all.i +9 -0
- data/bindings/ogre/interface/ogre_wrap.cpp +67079 -9056
- data/bindings/ogre/interface/ogre_wrap.o +0 -0
- data/bindings/ogrebites/interface/ogrebites_wrap.cpp +2162 -307
- data/bindings/ogrebites/interface/ogrebites_wrap.o +0 -0
- data/bindings/procedural/interface/procedural_wrap.cpp +4650 -653
- data/bindings/procedural/interface/procedural_wrap.o +0 -0
- data/lib/ogre.so +0 -0
- data/lib/ogrebites.so +0 -0
- data/lib/procedural.so +0 -0
- data/lib/version.rb +1 -1
- metadata +2 -2
Binary file
|
@@ -5071,10 +5071,17 @@ _wrap_SdkTrayListener_button_hit(int argc, VALUE *argv, VALUE self) {
|
|
5071
5071
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5072
5072
|
upcall = (director && (director->swig_get_self() == self));
|
5073
5073
|
try {
|
5074
|
-
|
5075
|
-
|
5076
|
-
|
5077
|
-
|
5074
|
+
{
|
5075
|
+
try {
|
5076
|
+
if (upcall) {
|
5077
|
+
(arg1)->OgreBites::SdkTrayListener::buttonHit(arg2);
|
5078
|
+
} else {
|
5079
|
+
(arg1)->buttonHit(arg2);
|
5080
|
+
}
|
5081
|
+
} catch(Ogre::Exception& e) {
|
5082
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5083
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5084
|
+
}
|
5078
5085
|
}
|
5079
5086
|
} catch (Swig::DirectorException& e) {
|
5080
5087
|
rb_exc_raise(e.getError());
|
@@ -5113,10 +5120,17 @@ _wrap_SdkTrayListener_item_selected(int argc, VALUE *argv, VALUE self) {
|
|
5113
5120
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5114
5121
|
upcall = (director && (director->swig_get_self() == self));
|
5115
5122
|
try {
|
5116
|
-
|
5117
|
-
|
5118
|
-
|
5119
|
-
|
5123
|
+
{
|
5124
|
+
try {
|
5125
|
+
if (upcall) {
|
5126
|
+
(arg1)->OgreBites::SdkTrayListener::itemSelected(arg2);
|
5127
|
+
} else {
|
5128
|
+
(arg1)->itemSelected(arg2);
|
5129
|
+
}
|
5130
|
+
} catch(Ogre::Exception& e) {
|
5131
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5132
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5133
|
+
}
|
5120
5134
|
}
|
5121
5135
|
} catch (Swig::DirectorException& e) {
|
5122
5136
|
rb_exc_raise(e.getError());
|
@@ -5155,10 +5169,17 @@ _wrap_SdkTrayListener_label_hit(int argc, VALUE *argv, VALUE self) {
|
|
5155
5169
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5156
5170
|
upcall = (director && (director->swig_get_self() == self));
|
5157
5171
|
try {
|
5158
|
-
|
5159
|
-
|
5160
|
-
|
5161
|
-
|
5172
|
+
{
|
5173
|
+
try {
|
5174
|
+
if (upcall) {
|
5175
|
+
(arg1)->OgreBites::SdkTrayListener::labelHit(arg2);
|
5176
|
+
} else {
|
5177
|
+
(arg1)->labelHit(arg2);
|
5178
|
+
}
|
5179
|
+
} catch(Ogre::Exception& e) {
|
5180
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5181
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5182
|
+
}
|
5162
5183
|
}
|
5163
5184
|
} catch (Swig::DirectorException& e) {
|
5164
5185
|
rb_exc_raise(e.getError());
|
@@ -5197,10 +5218,17 @@ _wrap_SdkTrayListener_slider_moved(int argc, VALUE *argv, VALUE self) {
|
|
5197
5218
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5198
5219
|
upcall = (director && (director->swig_get_self() == self));
|
5199
5220
|
try {
|
5200
|
-
|
5201
|
-
|
5202
|
-
|
5203
|
-
|
5221
|
+
{
|
5222
|
+
try {
|
5223
|
+
if (upcall) {
|
5224
|
+
(arg1)->OgreBites::SdkTrayListener::sliderMoved(arg2);
|
5225
|
+
} else {
|
5226
|
+
(arg1)->sliderMoved(arg2);
|
5227
|
+
}
|
5228
|
+
} catch(Ogre::Exception& e) {
|
5229
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5230
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5231
|
+
}
|
5204
5232
|
}
|
5205
5233
|
} catch (Swig::DirectorException& e) {
|
5206
5234
|
rb_exc_raise(e.getError());
|
@@ -5239,10 +5267,17 @@ _wrap_SdkTrayListener_check_box_toggled(int argc, VALUE *argv, VALUE self) {
|
|
5239
5267
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5240
5268
|
upcall = (director && (director->swig_get_self() == self));
|
5241
5269
|
try {
|
5242
|
-
|
5243
|
-
|
5244
|
-
|
5245
|
-
|
5270
|
+
{
|
5271
|
+
try {
|
5272
|
+
if (upcall) {
|
5273
|
+
(arg1)->OgreBites::SdkTrayListener::checkBoxToggled(arg2);
|
5274
|
+
} else {
|
5275
|
+
(arg1)->checkBoxToggled(arg2);
|
5276
|
+
}
|
5277
|
+
} catch(Ogre::Exception& e) {
|
5278
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5279
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5280
|
+
}
|
5246
5281
|
}
|
5247
5282
|
} catch (Swig::DirectorException& e) {
|
5248
5283
|
rb_exc_raise(e.getError());
|
@@ -5284,10 +5319,17 @@ _wrap_SdkTrayListener_ok_dialog_closed(int argc, VALUE *argv, VALUE self) {
|
|
5284
5319
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5285
5320
|
upcall = (director && (director->swig_get_self() == self));
|
5286
5321
|
try {
|
5287
|
-
|
5288
|
-
|
5289
|
-
|
5290
|
-
|
5322
|
+
{
|
5323
|
+
try {
|
5324
|
+
if (upcall) {
|
5325
|
+
(arg1)->OgreBites::SdkTrayListener::okDialogClosed((Ogre::DisplayString const &)*arg2);
|
5326
|
+
} else {
|
5327
|
+
(arg1)->okDialogClosed((Ogre::DisplayString const &)*arg2);
|
5328
|
+
}
|
5329
|
+
} catch(Ogre::Exception& e) {
|
5330
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5331
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5332
|
+
}
|
5291
5333
|
}
|
5292
5334
|
} catch (Swig::DirectorException& e) {
|
5293
5335
|
rb_exc_raise(e.getError());
|
@@ -5337,10 +5379,17 @@ _wrap_SdkTrayListener_yes_no_dialog_closed(int argc, VALUE *argv, VALUE self) {
|
|
5337
5379
|
director = dynamic_cast<Swig::Director *>(arg1);
|
5338
5380
|
upcall = (director && (director->swig_get_self() == self));
|
5339
5381
|
try {
|
5340
|
-
|
5341
|
-
|
5342
|
-
|
5343
|
-
|
5382
|
+
{
|
5383
|
+
try {
|
5384
|
+
if (upcall) {
|
5385
|
+
(arg1)->OgreBites::SdkTrayListener::yesNoDialogClosed((Ogre::DisplayString const &)*arg2,arg3);
|
5386
|
+
} else {
|
5387
|
+
(arg1)->yesNoDialogClosed((Ogre::DisplayString const &)*arg2,arg3);
|
5388
|
+
}
|
5389
|
+
} catch(Ogre::Exception& e) {
|
5390
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5391
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5392
|
+
}
|
5344
5393
|
}
|
5345
5394
|
} catch (Swig::DirectorException& e) {
|
5346
5395
|
rb_exc_raise(e.getError());
|
@@ -5379,14 +5428,21 @@ _wrap_new_SdkTrayListener(int argc, VALUE *argv, VALUE self) {
|
|
5379
5428
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
5380
5429
|
}
|
5381
5430
|
arg1 = self;
|
5382
|
-
|
5383
|
-
|
5384
|
-
|
5385
|
-
|
5386
|
-
|
5431
|
+
{
|
5432
|
+
try {
|
5433
|
+
if ( strcmp(rb_obj_classname(self), classname) != 0 ) {
|
5434
|
+
/* subclassed */
|
5435
|
+
result = (OgreBites::SdkTrayListener *)new SwigDirector_SdkTrayListener(arg1);
|
5436
|
+
} else {
|
5437
|
+
result = (OgreBites::SdkTrayListener *)new OgreBites::SdkTrayListener();
|
5438
|
+
}
|
5439
|
+
|
5440
|
+
DATA_PTR(self) = result;
|
5441
|
+
} catch(Ogre::Exception& e) {
|
5442
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5443
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5444
|
+
}
|
5387
5445
|
}
|
5388
|
-
|
5389
|
-
DATA_PTR(self) = result;
|
5390
5446
|
return self;
|
5391
5447
|
fail:
|
5392
5448
|
return Qnil;
|
@@ -5445,8 +5501,15 @@ _wrap_new_Widget(int argc, VALUE *argv, VALUE self) {
|
|
5445
5501
|
if ((argc < 0) || (argc > 0)) {
|
5446
5502
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
5447
5503
|
}
|
5448
|
-
|
5449
|
-
|
5504
|
+
{
|
5505
|
+
try {
|
5506
|
+
result = (OgreBites::Widget *)new OgreBites::Widget();
|
5507
|
+
DATA_PTR(self) = result;
|
5508
|
+
} catch(Ogre::Exception& e) {
|
5509
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5510
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5511
|
+
}
|
5512
|
+
}
|
5450
5513
|
return self;
|
5451
5514
|
fail:
|
5452
5515
|
return Qnil;
|
@@ -5472,7 +5535,14 @@ _wrap_Widget_cleanup(int argc, VALUE *argv, VALUE self) {
|
|
5472
5535
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","cleanup", 1, self ));
|
5473
5536
|
}
|
5474
5537
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5475
|
-
|
5538
|
+
{
|
5539
|
+
try {
|
5540
|
+
(arg1)->cleanup();
|
5541
|
+
} catch(Ogre::Exception& e) {
|
5542
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5543
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5544
|
+
}
|
5545
|
+
}
|
5476
5546
|
return Qnil;
|
5477
5547
|
fail:
|
5478
5548
|
return Qnil;
|
@@ -5493,7 +5563,14 @@ _wrap_Widget_nuke_overlay_element(int argc, VALUE *argv, VALUE self) {
|
|
5493
5563
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::OverlayElement *","OgreBites::Widget::nukeOverlayElement", 1, argv[0] ));
|
5494
5564
|
}
|
5495
5565
|
arg1 = reinterpret_cast< Ogre::OverlayElement * >(argp1);
|
5496
|
-
|
5566
|
+
{
|
5567
|
+
try {
|
5568
|
+
OgreBites::Widget::nukeOverlayElement(arg1);
|
5569
|
+
} catch(Ogre::Exception& e) {
|
5570
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5571
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5572
|
+
}
|
5573
|
+
}
|
5497
5574
|
return Qnil;
|
5498
5575
|
fail:
|
5499
5576
|
return Qnil;
|
@@ -5535,7 +5612,14 @@ _wrap_Widget_is_cursor_over__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
5535
5612
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::Widget::isCursorOver", 3, argv[2] ));
|
5536
5613
|
}
|
5537
5614
|
arg3 = static_cast< Ogre::Real >(val3);
|
5538
|
-
|
5615
|
+
{
|
5616
|
+
try {
|
5617
|
+
result = (bool)OgreBites::Widget::isCursorOver(arg1,(Ogre::Vector2 const &)*arg2,arg3);
|
5618
|
+
} catch(Ogre::Exception& e) {
|
5619
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5620
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5621
|
+
}
|
5622
|
+
}
|
5539
5623
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
5540
5624
|
return vresult;
|
5541
5625
|
fail:
|
@@ -5570,7 +5654,14 @@ _wrap_Widget_is_cursor_over__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
5570
5654
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","OgreBites::Widget::isCursorOver", 2, argv[1]));
|
5571
5655
|
}
|
5572
5656
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
5573
|
-
|
5657
|
+
{
|
5658
|
+
try {
|
5659
|
+
result = (bool)OgreBites::Widget::isCursorOver(arg1,(Ogre::Vector2 const &)*arg2);
|
5660
|
+
} catch(Ogre::Exception& e) {
|
5661
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5662
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5663
|
+
}
|
5664
|
+
}
|
5574
5665
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
5575
5666
|
return vresult;
|
5576
5667
|
fail:
|
@@ -5659,7 +5750,14 @@ _wrap_Widget_cursor_offset(int argc, VALUE *argv, VALUE self) {
|
|
5659
5750
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","OgreBites::Widget::cursorOffset", 2, argv[1]));
|
5660
5751
|
}
|
5661
5752
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
5662
|
-
|
5753
|
+
{
|
5754
|
+
try {
|
5755
|
+
result = OgreBites::Widget::cursorOffset(arg1,(Ogre::Vector2 const &)*arg2);
|
5756
|
+
} catch(Ogre::Exception& e) {
|
5757
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5758
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5759
|
+
}
|
5760
|
+
}
|
5663
5761
|
vresult = SWIG_NewPointerObj((new Ogre::Vector2(static_cast< const Ogre::Vector2& >(result))), SWIGTYPE_p_Ogre__Vector2, SWIG_POINTER_OWN | 0 );
|
5664
5762
|
return vresult;
|
5665
5763
|
fail:
|
@@ -5694,7 +5792,14 @@ _wrap_Widget_get_caption_width(int argc, VALUE *argv, VALUE self) {
|
|
5694
5792
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::TextAreaOverlayElement *","OgreBites::Widget::getCaptionWidth", 2, argv[1] ));
|
5695
5793
|
}
|
5696
5794
|
arg2 = reinterpret_cast< Ogre::TextAreaOverlayElement * >(argp2);
|
5697
|
-
|
5795
|
+
{
|
5796
|
+
try {
|
5797
|
+
result = (Ogre::Real)OgreBites::Widget::getCaptionWidth((Ogre::UTFString const &)*arg1,arg2);
|
5798
|
+
} catch(Ogre::Exception& e) {
|
5799
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5800
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5801
|
+
}
|
5802
|
+
}
|
5698
5803
|
vresult = SWIG_From_float(static_cast< float >(result));
|
5699
5804
|
return vresult;
|
5700
5805
|
fail:
|
@@ -5735,7 +5840,14 @@ _wrap_Widget_fit_caption_to_area(int argc, VALUE *argv, VALUE self) {
|
|
5735
5840
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::Widget::fitCaptionToArea", 3, argv[2] ));
|
5736
5841
|
}
|
5737
5842
|
arg3 = static_cast< Ogre::Real >(val3);
|
5738
|
-
|
5843
|
+
{
|
5844
|
+
try {
|
5845
|
+
OgreBites::Widget::fitCaptionToArea((Ogre::UTFString const &)*arg1,arg2,arg3);
|
5846
|
+
} catch(Ogre::Exception& e) {
|
5847
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5848
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5849
|
+
}
|
5850
|
+
}
|
5739
5851
|
return Qnil;
|
5740
5852
|
fail:
|
5741
5853
|
return Qnil;
|
@@ -5758,7 +5870,14 @@ _wrap_Widget_get_overlay_element(int argc, VALUE *argv, VALUE self) {
|
|
5758
5870
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","getOverlayElement", 1, self ));
|
5759
5871
|
}
|
5760
5872
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5761
|
-
|
5873
|
+
{
|
5874
|
+
try {
|
5875
|
+
result = (Ogre::OverlayElement *)(arg1)->getOverlayElement();
|
5876
|
+
} catch(Ogre::Exception& e) {
|
5877
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5878
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5879
|
+
}
|
5880
|
+
}
|
5762
5881
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__OverlayElement, 0 | 0 );
|
5763
5882
|
return vresult;
|
5764
5883
|
fail:
|
@@ -5782,7 +5901,14 @@ _wrap_Widget_get_name(int argc, VALUE *argv, VALUE self) {
|
|
5782
5901
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","getName", 1, self ));
|
5783
5902
|
}
|
5784
5903
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5785
|
-
|
5904
|
+
{
|
5905
|
+
try {
|
5906
|
+
result = (Ogre::String *) &(arg1)->getName();
|
5907
|
+
} catch(Ogre::Exception& e) {
|
5908
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5909
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5910
|
+
}
|
5911
|
+
}
|
5786
5912
|
vresult = SWIG_From_std_string(static_cast< std::string >(*result));
|
5787
5913
|
return vresult;
|
5788
5914
|
fail:
|
@@ -5806,7 +5932,14 @@ _wrap_Widget_get_tray_location(int argc, VALUE *argv, VALUE self) {
|
|
5806
5932
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","getTrayLocation", 1, self ));
|
5807
5933
|
}
|
5808
5934
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5809
|
-
|
5935
|
+
{
|
5936
|
+
try {
|
5937
|
+
result = (OgreBites::TrayLocation)(arg1)->getTrayLocation();
|
5938
|
+
} catch(Ogre::Exception& e) {
|
5939
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5940
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5941
|
+
}
|
5942
|
+
}
|
5810
5943
|
vresult = SWIG_From_int(static_cast< int >(result));
|
5811
5944
|
return vresult;
|
5812
5945
|
fail:
|
@@ -5828,7 +5961,14 @@ _wrap_Widget_hide(int argc, VALUE *argv, VALUE self) {
|
|
5828
5961
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","hide", 1, self ));
|
5829
5962
|
}
|
5830
5963
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5831
|
-
|
5964
|
+
{
|
5965
|
+
try {
|
5966
|
+
(arg1)->hide();
|
5967
|
+
} catch(Ogre::Exception& e) {
|
5968
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5969
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5970
|
+
}
|
5971
|
+
}
|
5832
5972
|
return Qnil;
|
5833
5973
|
fail:
|
5834
5974
|
return Qnil;
|
@@ -5849,7 +5989,14 @@ _wrap_Widget_show(int argc, VALUE *argv, VALUE self) {
|
|
5849
5989
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","show", 1, self ));
|
5850
5990
|
}
|
5851
5991
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5852
|
-
|
5992
|
+
{
|
5993
|
+
try {
|
5994
|
+
(arg1)->show();
|
5995
|
+
} catch(Ogre::Exception& e) {
|
5996
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
5997
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
5998
|
+
}
|
5999
|
+
}
|
5853
6000
|
return Qnil;
|
5854
6001
|
fail:
|
5855
6002
|
return Qnil;
|
@@ -5872,7 +6019,14 @@ _wrap_Widget_is_visible(int argc, VALUE *argv, VALUE self) {
|
|
5872
6019
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","isVisible", 1, self ));
|
5873
6020
|
}
|
5874
6021
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5875
|
-
|
6022
|
+
{
|
6023
|
+
try {
|
6024
|
+
result = (bool)(arg1)->isVisible();
|
6025
|
+
} catch(Ogre::Exception& e) {
|
6026
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6027
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6028
|
+
}
|
6029
|
+
}
|
5876
6030
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
5877
6031
|
return vresult;
|
5878
6032
|
fail:
|
@@ -5905,7 +6059,14 @@ _wrap_Widget__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
5905
6059
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
5906
6060
|
}
|
5907
6061
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
5908
|
-
|
6062
|
+
{
|
6063
|
+
try {
|
6064
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
6065
|
+
} catch(Ogre::Exception& e) {
|
6066
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6067
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6068
|
+
}
|
6069
|
+
}
|
5909
6070
|
return Qnil;
|
5910
6071
|
fail:
|
5911
6072
|
return Qnil;
|
@@ -5937,7 +6098,14 @@ _wrap_Widget__cursor_released(int argc, VALUE *argv, VALUE self) {
|
|
5937
6098
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorReleased", 2, argv[0]));
|
5938
6099
|
}
|
5939
6100
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
5940
|
-
|
6101
|
+
{
|
6102
|
+
try {
|
6103
|
+
(arg1)->_cursorReleased((Ogre::Vector2 const &)*arg2);
|
6104
|
+
} catch(Ogre::Exception& e) {
|
6105
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6106
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6107
|
+
}
|
6108
|
+
}
|
5941
6109
|
return Qnil;
|
5942
6110
|
fail:
|
5943
6111
|
return Qnil;
|
@@ -5969,7 +6137,14 @@ _wrap_Widget__cursor_moved(int argc, VALUE *argv, VALUE self) {
|
|
5969
6137
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorMoved", 2, argv[0]));
|
5970
6138
|
}
|
5971
6139
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
5972
|
-
|
6140
|
+
{
|
6141
|
+
try {
|
6142
|
+
(arg1)->_cursorMoved((Ogre::Vector2 const &)*arg2);
|
6143
|
+
} catch(Ogre::Exception& e) {
|
6144
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6145
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6146
|
+
}
|
6147
|
+
}
|
5973
6148
|
return Qnil;
|
5974
6149
|
fail:
|
5975
6150
|
return Qnil;
|
@@ -5990,7 +6165,14 @@ _wrap_Widget__focus_lost(int argc, VALUE *argv, VALUE self) {
|
|
5990
6165
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Widget *","_focusLost", 1, self ));
|
5991
6166
|
}
|
5992
6167
|
arg1 = reinterpret_cast< OgreBites::Widget * >(argp1);
|
5993
|
-
|
6168
|
+
{
|
6169
|
+
try {
|
6170
|
+
(arg1)->_focusLost();
|
6171
|
+
} catch(Ogre::Exception& e) {
|
6172
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6173
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6174
|
+
}
|
6175
|
+
}
|
5994
6176
|
return Qnil;
|
5995
6177
|
fail:
|
5996
6178
|
return Qnil;
|
@@ -6019,7 +6201,14 @@ _wrap_Widget__assign_to_tray(int argc, VALUE *argv, VALUE self) {
|
|
6019
6201
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","_assignToTray", 2, argv[0] ));
|
6020
6202
|
}
|
6021
6203
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
6022
|
-
|
6204
|
+
{
|
6205
|
+
try {
|
6206
|
+
(arg1)->_assignToTray(arg2);
|
6207
|
+
} catch(Ogre::Exception& e) {
|
6208
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6209
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6210
|
+
}
|
6211
|
+
}
|
6023
6212
|
return Qnil;
|
6024
6213
|
fail:
|
6025
6214
|
return Qnil;
|
@@ -6048,7 +6237,14 @@ _wrap_Widget__assign_listener(int argc, VALUE *argv, VALUE self) {
|
|
6048
6237
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::SdkTrayListener *","_assignListener", 2, argv[0] ));
|
6049
6238
|
}
|
6050
6239
|
arg2 = reinterpret_cast< OgreBites::SdkTrayListener * >(argp2);
|
6051
|
-
|
6240
|
+
{
|
6241
|
+
try {
|
6242
|
+
(arg1)->_assignListener(arg2);
|
6243
|
+
} catch(Ogre::Exception& e) {
|
6244
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6245
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6246
|
+
}
|
6247
|
+
}
|
6052
6248
|
return Qnil;
|
6053
6249
|
fail:
|
6054
6250
|
return Qnil;
|
@@ -6114,8 +6310,15 @@ _wrap_new_Button(int argc, VALUE *argv, VALUE self) {
|
|
6114
6310
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::Button", 3, argv[2] ));
|
6115
6311
|
}
|
6116
6312
|
arg3 = static_cast< Ogre::Real >(val3);
|
6117
|
-
|
6118
|
-
|
6313
|
+
{
|
6314
|
+
try {
|
6315
|
+
result = (OgreBites::Button *)new OgreBites::Button((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3);
|
6316
|
+
DATA_PTR(self) = result;
|
6317
|
+
} catch(Ogre::Exception& e) {
|
6318
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6319
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6320
|
+
}
|
6321
|
+
}
|
6119
6322
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
6120
6323
|
return self;
|
6121
6324
|
fail:
|
@@ -6145,7 +6348,14 @@ _wrap_Button_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
6145
6348
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Button *","getCaption", 1, self ));
|
6146
6349
|
}
|
6147
6350
|
arg1 = reinterpret_cast< OgreBites::Button * >(argp1);
|
6148
|
-
|
6351
|
+
{
|
6352
|
+
try {
|
6353
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
6354
|
+
} catch(Ogre::Exception& e) {
|
6355
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6356
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6357
|
+
}
|
6358
|
+
}
|
6149
6359
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
6150
6360
|
return vresult;
|
6151
6361
|
fail:
|
@@ -6178,7 +6388,14 @@ _wrap_Button_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
6178
6388
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
6179
6389
|
}
|
6180
6390
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
6181
|
-
|
6391
|
+
{
|
6392
|
+
try {
|
6393
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
6394
|
+
} catch(Ogre::Exception& e) {
|
6395
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6396
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6397
|
+
}
|
6398
|
+
}
|
6182
6399
|
return Qnil;
|
6183
6400
|
fail:
|
6184
6401
|
return Qnil;
|
@@ -6201,7 +6418,14 @@ _wrap_Button_get_state(int argc, VALUE *argv, VALUE self) {
|
|
6201
6418
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Button *","getState", 1, self ));
|
6202
6419
|
}
|
6203
6420
|
arg1 = reinterpret_cast< OgreBites::Button * >(argp1);
|
6204
|
-
|
6421
|
+
{
|
6422
|
+
try {
|
6423
|
+
result = (OgreBites::ButtonState *) &(arg1)->getState();
|
6424
|
+
} catch(Ogre::Exception& e) {
|
6425
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6426
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6427
|
+
}
|
6428
|
+
}
|
6205
6429
|
vresult = SWIG_From_int(static_cast< int >(*result));
|
6206
6430
|
return vresult;
|
6207
6431
|
fail:
|
@@ -6234,7 +6458,14 @@ _wrap_Button__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
6234
6458
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
6235
6459
|
}
|
6236
6460
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
6237
|
-
|
6461
|
+
{
|
6462
|
+
try {
|
6463
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
6464
|
+
} catch(Ogre::Exception& e) {
|
6465
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6466
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6467
|
+
}
|
6468
|
+
}
|
6238
6469
|
return Qnil;
|
6239
6470
|
fail:
|
6240
6471
|
return Qnil;
|
@@ -6266,7 +6497,14 @@ _wrap_Button__cursor_released(int argc, VALUE *argv, VALUE self) {
|
|
6266
6497
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorReleased", 2, argv[0]));
|
6267
6498
|
}
|
6268
6499
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
6269
|
-
|
6500
|
+
{
|
6501
|
+
try {
|
6502
|
+
(arg1)->_cursorReleased((Ogre::Vector2 const &)*arg2);
|
6503
|
+
} catch(Ogre::Exception& e) {
|
6504
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6505
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6506
|
+
}
|
6507
|
+
}
|
6270
6508
|
return Qnil;
|
6271
6509
|
fail:
|
6272
6510
|
return Qnil;
|
@@ -6298,7 +6536,14 @@ _wrap_Button__cursor_moved(int argc, VALUE *argv, VALUE self) {
|
|
6298
6536
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorMoved", 2, argv[0]));
|
6299
6537
|
}
|
6300
6538
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
6301
|
-
|
6539
|
+
{
|
6540
|
+
try {
|
6541
|
+
(arg1)->_cursorMoved((Ogre::Vector2 const &)*arg2);
|
6542
|
+
} catch(Ogre::Exception& e) {
|
6543
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6544
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6545
|
+
}
|
6546
|
+
}
|
6302
6547
|
return Qnil;
|
6303
6548
|
fail:
|
6304
6549
|
return Qnil;
|
@@ -6319,7 +6564,14 @@ _wrap_Button__focus_lost(int argc, VALUE *argv, VALUE self) {
|
|
6319
6564
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Button *","_focusLost", 1, self ));
|
6320
6565
|
}
|
6321
6566
|
arg1 = reinterpret_cast< OgreBites::Button * >(argp1);
|
6322
|
-
|
6567
|
+
{
|
6568
|
+
try {
|
6569
|
+
(arg1)->_focusLost();
|
6570
|
+
} catch(Ogre::Exception& e) {
|
6571
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6572
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6573
|
+
}
|
6574
|
+
}
|
6323
6575
|
return Qnil;
|
6324
6576
|
fail:
|
6325
6577
|
return Qnil;
|
@@ -6393,8 +6645,15 @@ _wrap_new_TextBox(int argc, VALUE *argv, VALUE self) {
|
|
6393
6645
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::TextBox", 4, argv[3] ));
|
6394
6646
|
}
|
6395
6647
|
arg4 = static_cast< Ogre::Real >(val4);
|
6396
|
-
|
6397
|
-
|
6648
|
+
{
|
6649
|
+
try {
|
6650
|
+
result = (OgreBites::TextBox *)new OgreBites::TextBox((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3,arg4);
|
6651
|
+
DATA_PTR(self) = result;
|
6652
|
+
} catch(Ogre::Exception& e) {
|
6653
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6654
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6655
|
+
}
|
6656
|
+
}
|
6398
6657
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
6399
6658
|
return self;
|
6400
6659
|
fail:
|
@@ -6425,7 +6684,14 @@ _wrap_TextBox_set_padding(int argc, VALUE *argv, VALUE self) {
|
|
6425
6684
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setPadding", 2, argv[0] ));
|
6426
6685
|
}
|
6427
6686
|
arg2 = static_cast< Ogre::Real >(val2);
|
6428
|
-
|
6687
|
+
{
|
6688
|
+
try {
|
6689
|
+
(arg1)->setPadding(arg2);
|
6690
|
+
} catch(Ogre::Exception& e) {
|
6691
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6692
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6693
|
+
}
|
6694
|
+
}
|
6429
6695
|
return Qnil;
|
6430
6696
|
fail:
|
6431
6697
|
return Qnil;
|
@@ -6448,7 +6714,14 @@ _wrap_TextBox_get_padding(int argc, VALUE *argv, VALUE self) {
|
|
6448
6714
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","getPadding", 1, self ));
|
6449
6715
|
}
|
6450
6716
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6451
|
-
|
6717
|
+
{
|
6718
|
+
try {
|
6719
|
+
result = (Ogre::Real)(arg1)->getPadding();
|
6720
|
+
} catch(Ogre::Exception& e) {
|
6721
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6722
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6723
|
+
}
|
6724
|
+
}
|
6452
6725
|
vresult = SWIG_From_float(static_cast< float >(result));
|
6453
6726
|
return vresult;
|
6454
6727
|
fail:
|
@@ -6472,7 +6745,14 @@ _wrap_TextBox_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
6472
6745
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","getCaption", 1, self ));
|
6473
6746
|
}
|
6474
6747
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6475
|
-
|
6748
|
+
{
|
6749
|
+
try {
|
6750
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
6751
|
+
} catch(Ogre::Exception& e) {
|
6752
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6753
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6754
|
+
}
|
6755
|
+
}
|
6476
6756
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
6477
6757
|
return vresult;
|
6478
6758
|
fail:
|
@@ -6505,7 +6785,14 @@ _wrap_TextBox_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
6505
6785
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
6506
6786
|
}
|
6507
6787
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
6508
|
-
|
6788
|
+
{
|
6789
|
+
try {
|
6790
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
6791
|
+
} catch(Ogre::Exception& e) {
|
6792
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6793
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6794
|
+
}
|
6795
|
+
}
|
6509
6796
|
return Qnil;
|
6510
6797
|
fail:
|
6511
6798
|
return Qnil;
|
@@ -6528,7 +6815,14 @@ _wrap_TextBox_get_text(int argc, VALUE *argv, VALUE self) {
|
|
6528
6815
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","getText", 1, self ));
|
6529
6816
|
}
|
6530
6817
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6531
|
-
|
6818
|
+
{
|
6819
|
+
try {
|
6820
|
+
result = (Ogre::DisplayString *) &(arg1)->getText();
|
6821
|
+
} catch(Ogre::Exception& e) {
|
6822
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6823
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6824
|
+
}
|
6825
|
+
}
|
6532
6826
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
6533
6827
|
return vresult;
|
6534
6828
|
fail:
|
@@ -6561,7 +6855,14 @@ _wrap_TextBox_set_text(int argc, VALUE *argv, VALUE self) {
|
|
6561
6855
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setText", 2, argv[0]));
|
6562
6856
|
}
|
6563
6857
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
6564
|
-
|
6858
|
+
{
|
6859
|
+
try {
|
6860
|
+
(arg1)->setText((Ogre::DisplayString const &)*arg2);
|
6861
|
+
} catch(Ogre::Exception& e) {
|
6862
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6863
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6864
|
+
}
|
6865
|
+
}
|
6565
6866
|
return Qnil;
|
6566
6867
|
fail:
|
6567
6868
|
return Qnil;
|
@@ -6590,7 +6891,14 @@ _wrap_TextBox_set_text_alignment(int argc, VALUE *argv, VALUE self) {
|
|
6590
6891
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::TextAreaOverlayElement::Alignment","setTextAlignment", 2, argv[0] ));
|
6591
6892
|
}
|
6592
6893
|
arg2 = static_cast< Ogre::TextAreaOverlayElement::Alignment >(val2);
|
6593
|
-
|
6894
|
+
{
|
6895
|
+
try {
|
6896
|
+
(arg1)->setTextAlignment(arg2);
|
6897
|
+
} catch(Ogre::Exception& e) {
|
6898
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6899
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6900
|
+
}
|
6901
|
+
}
|
6594
6902
|
return Qnil;
|
6595
6903
|
fail:
|
6596
6904
|
return Qnil;
|
@@ -6611,7 +6919,14 @@ _wrap_TextBox_clear_text(int argc, VALUE *argv, VALUE self) {
|
|
6611
6919
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","clearText", 1, self ));
|
6612
6920
|
}
|
6613
6921
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6614
|
-
|
6922
|
+
{
|
6923
|
+
try {
|
6924
|
+
(arg1)->clearText();
|
6925
|
+
} catch(Ogre::Exception& e) {
|
6926
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6927
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6928
|
+
}
|
6929
|
+
}
|
6615
6930
|
return Qnil;
|
6616
6931
|
fail:
|
6617
6932
|
return Qnil;
|
@@ -6643,7 +6958,14 @@ _wrap_TextBox_append_text(int argc, VALUE *argv, VALUE self) {
|
|
6643
6958
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","appendText", 2, argv[0]));
|
6644
6959
|
}
|
6645
6960
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
6646
|
-
|
6961
|
+
{
|
6962
|
+
try {
|
6963
|
+
(arg1)->appendText((Ogre::DisplayString const &)*arg2);
|
6964
|
+
} catch(Ogre::Exception& e) {
|
6965
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6966
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6967
|
+
}
|
6968
|
+
}
|
6647
6969
|
return Qnil;
|
6648
6970
|
fail:
|
6649
6971
|
return Qnil;
|
@@ -6664,7 +6986,14 @@ _wrap_TextBox_refit_contents(int argc, VALUE *argv, VALUE self) {
|
|
6664
6986
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","refitContents", 1, self ));
|
6665
6987
|
}
|
6666
6988
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6667
|
-
|
6989
|
+
{
|
6990
|
+
try {
|
6991
|
+
(arg1)->refitContents();
|
6992
|
+
} catch(Ogre::Exception& e) {
|
6993
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
6994
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
6995
|
+
}
|
6996
|
+
}
|
6668
6997
|
return Qnil;
|
6669
6998
|
fail:
|
6670
6999
|
return Qnil;
|
@@ -6693,7 +7022,14 @@ _wrap_TextBox_set_scroll_percentage(int argc, VALUE *argv, VALUE self) {
|
|
6693
7022
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setScrollPercentage", 2, argv[0] ));
|
6694
7023
|
}
|
6695
7024
|
arg2 = static_cast< Ogre::Real >(val2);
|
6696
|
-
|
7025
|
+
{
|
7026
|
+
try {
|
7027
|
+
(arg1)->setScrollPercentage(arg2);
|
7028
|
+
} catch(Ogre::Exception& e) {
|
7029
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7030
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7031
|
+
}
|
7032
|
+
}
|
6697
7033
|
return Qnil;
|
6698
7034
|
fail:
|
6699
7035
|
return Qnil;
|
@@ -6716,7 +7052,14 @@ _wrap_TextBox_get_scroll_percentage(int argc, VALUE *argv, VALUE self) {
|
|
6716
7052
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","getScrollPercentage", 1, self ));
|
6717
7053
|
}
|
6718
7054
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6719
|
-
|
7055
|
+
{
|
7056
|
+
try {
|
7057
|
+
result = (Ogre::Real)(arg1)->getScrollPercentage();
|
7058
|
+
} catch(Ogre::Exception& e) {
|
7059
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7060
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7061
|
+
}
|
7062
|
+
}
|
6720
7063
|
vresult = SWIG_From_float(static_cast< float >(result));
|
6721
7064
|
return vresult;
|
6722
7065
|
fail:
|
@@ -6740,7 +7083,14 @@ _wrap_TextBox_get_height_in_lines(int argc, VALUE *argv, VALUE self) {
|
|
6740
7083
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","getHeightInLines", 1, self ));
|
6741
7084
|
}
|
6742
7085
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6743
|
-
|
7086
|
+
{
|
7087
|
+
try {
|
7088
|
+
result = (unsigned int)(arg1)->getHeightInLines();
|
7089
|
+
} catch(Ogre::Exception& e) {
|
7090
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7091
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7092
|
+
}
|
7093
|
+
}
|
6744
7094
|
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
6745
7095
|
return vresult;
|
6746
7096
|
fail:
|
@@ -6773,7 +7123,14 @@ _wrap_TextBox__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
6773
7123
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
6774
7124
|
}
|
6775
7125
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
6776
|
-
|
7126
|
+
{
|
7127
|
+
try {
|
7128
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
7129
|
+
} catch(Ogre::Exception& e) {
|
7130
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7131
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7132
|
+
}
|
7133
|
+
}
|
6777
7134
|
return Qnil;
|
6778
7135
|
fail:
|
6779
7136
|
return Qnil;
|
@@ -6805,7 +7162,14 @@ _wrap_TextBox__cursor_released(int argc, VALUE *argv, VALUE self) {
|
|
6805
7162
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorReleased", 2, argv[0]));
|
6806
7163
|
}
|
6807
7164
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
6808
|
-
|
7165
|
+
{
|
7166
|
+
try {
|
7167
|
+
(arg1)->_cursorReleased((Ogre::Vector2 const &)*arg2);
|
7168
|
+
} catch(Ogre::Exception& e) {
|
7169
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7170
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7171
|
+
}
|
7172
|
+
}
|
6809
7173
|
return Qnil;
|
6810
7174
|
fail:
|
6811
7175
|
return Qnil;
|
@@ -6837,7 +7201,14 @@ _wrap_TextBox__cursor_moved(int argc, VALUE *argv, VALUE self) {
|
|
6837
7201
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorMoved", 2, argv[0]));
|
6838
7202
|
}
|
6839
7203
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
6840
|
-
|
7204
|
+
{
|
7205
|
+
try {
|
7206
|
+
(arg1)->_cursorMoved((Ogre::Vector2 const &)*arg2);
|
7207
|
+
} catch(Ogre::Exception& e) {
|
7208
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7209
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7210
|
+
}
|
7211
|
+
}
|
6841
7212
|
return Qnil;
|
6842
7213
|
fail:
|
6843
7214
|
return Qnil;
|
@@ -6858,7 +7229,14 @@ _wrap_TextBox__focus_lost(int argc, VALUE *argv, VALUE self) {
|
|
6858
7229
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::TextBox *","_focusLost", 1, self ));
|
6859
7230
|
}
|
6860
7231
|
arg1 = reinterpret_cast< OgreBites::TextBox * >(argp1);
|
6861
|
-
|
7232
|
+
{
|
7233
|
+
try {
|
7234
|
+
(arg1)->_focusLost();
|
7235
|
+
} catch(Ogre::Exception& e) {
|
7236
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7237
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7238
|
+
}
|
7239
|
+
}
|
6862
7240
|
return Qnil;
|
6863
7241
|
fail:
|
6864
7242
|
return Qnil;
|
@@ -6945,8 +7323,15 @@ _wrap_new_SelectMenu(int argc, VALUE *argv, VALUE self) {
|
|
6945
7323
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "unsigned int","OgreBites::SelectMenu", 5, argv[4] ));
|
6946
7324
|
}
|
6947
7325
|
arg5 = static_cast< unsigned int >(val5);
|
6948
|
-
|
6949
|
-
|
7326
|
+
{
|
7327
|
+
try {
|
7328
|
+
result = (OgreBites::SelectMenu *)new OgreBites::SelectMenu((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3,arg4,arg5);
|
7329
|
+
DATA_PTR(self) = result;
|
7330
|
+
} catch(Ogre::Exception& e) {
|
7331
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7332
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7333
|
+
}
|
7334
|
+
}
|
6950
7335
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
6951
7336
|
return self;
|
6952
7337
|
fail:
|
@@ -6971,7 +7356,14 @@ _wrap_SelectMenu_is_expanded(int argc, VALUE *argv, VALUE self) {
|
|
6971
7356
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","isExpanded", 1, self ));
|
6972
7357
|
}
|
6973
7358
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
6974
|
-
|
7359
|
+
{
|
7360
|
+
try {
|
7361
|
+
result = (bool)(arg1)->isExpanded();
|
7362
|
+
} catch(Ogre::Exception& e) {
|
7363
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7364
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7365
|
+
}
|
7366
|
+
}
|
6975
7367
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
6976
7368
|
return vresult;
|
6977
7369
|
fail:
|
@@ -6995,7 +7387,14 @@ _wrap_SelectMenu_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
6995
7387
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","getCaption", 1, self ));
|
6996
7388
|
}
|
6997
7389
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
6998
|
-
|
7390
|
+
{
|
7391
|
+
try {
|
7392
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
7393
|
+
} catch(Ogre::Exception& e) {
|
7394
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7395
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7396
|
+
}
|
7397
|
+
}
|
6999
7398
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
7000
7399
|
return vresult;
|
7001
7400
|
fail:
|
@@ -7028,7 +7427,14 @@ _wrap_SelectMenu_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
7028
7427
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
7029
7428
|
}
|
7030
7429
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
7031
|
-
|
7430
|
+
{
|
7431
|
+
try {
|
7432
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
7433
|
+
} catch(Ogre::Exception& e) {
|
7434
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7435
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7436
|
+
}
|
7437
|
+
}
|
7032
7438
|
return Qnil;
|
7033
7439
|
fail:
|
7034
7440
|
return Qnil;
|
@@ -7051,7 +7457,14 @@ _wrap_SelectMenu_get_items(int argc, VALUE *argv, VALUE self) {
|
|
7051
7457
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","getItems", 1, self ));
|
7052
7458
|
}
|
7053
7459
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7054
|
-
|
7460
|
+
{
|
7461
|
+
try {
|
7462
|
+
result = (Ogre::StringVector *) &(arg1)->getItems();
|
7463
|
+
} catch(Ogre::Exception& e) {
|
7464
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7465
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7466
|
+
}
|
7467
|
+
}
|
7055
7468
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__vectorT_Ogre__String_Ogre__STLAllocatorT_Ogre__String_Ogre__GeneralAllocPolicy_t_t__type, 0 | 0 );
|
7056
7469
|
return vresult;
|
7057
7470
|
fail:
|
@@ -7075,7 +7488,14 @@ _wrap_SelectMenu_get_num_items(int argc, VALUE *argv, VALUE self) {
|
|
7075
7488
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","getNumItems", 1, self ));
|
7076
7489
|
}
|
7077
7490
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7078
|
-
|
7491
|
+
{
|
7492
|
+
try {
|
7493
|
+
result = (unsigned int)(arg1)->getNumItems();
|
7494
|
+
} catch(Ogre::Exception& e) {
|
7495
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7496
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7497
|
+
}
|
7498
|
+
}
|
7079
7499
|
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
7080
7500
|
return vresult;
|
7081
7501
|
fail:
|
@@ -7108,7 +7528,14 @@ _wrap_SelectMenu_set_items__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
7108
7528
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","setItems", 2, argv[0]));
|
7109
7529
|
}
|
7110
7530
|
arg2 = reinterpret_cast< Ogre::StringVector * >(argp2);
|
7111
|
-
|
7531
|
+
{
|
7532
|
+
try {
|
7533
|
+
(arg1)->setItems((Ogre::StringVector const &)*arg2);
|
7534
|
+
} catch(Ogre::Exception& e) {
|
7535
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7536
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7537
|
+
}
|
7538
|
+
}
|
7112
7539
|
return Qnil;
|
7113
7540
|
fail:
|
7114
7541
|
return Qnil;
|
@@ -7140,7 +7567,14 @@ _wrap_SelectMenu_add_item(int argc, VALUE *argv, VALUE self) {
|
|
7140
7567
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","addItem", 2, argv[0]));
|
7141
7568
|
}
|
7142
7569
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
7143
|
-
|
7570
|
+
{
|
7571
|
+
try {
|
7572
|
+
(arg1)->addItem((Ogre::DisplayString const &)*arg2);
|
7573
|
+
} catch(Ogre::Exception& e) {
|
7574
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7575
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7576
|
+
}
|
7577
|
+
}
|
7144
7578
|
return Qnil;
|
7145
7579
|
fail:
|
7146
7580
|
return Qnil;
|
@@ -7172,7 +7606,14 @@ _wrap_SelectMenu_remove_item__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
7172
7606
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","removeItem", 2, argv[0]));
|
7173
7607
|
}
|
7174
7608
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
7175
|
-
|
7609
|
+
{
|
7610
|
+
try {
|
7611
|
+
(arg1)->removeItem((Ogre::DisplayString const &)*arg2);
|
7612
|
+
} catch(Ogre::Exception& e) {
|
7613
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7614
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7615
|
+
}
|
7616
|
+
}
|
7176
7617
|
return Qnil;
|
7177
7618
|
fail:
|
7178
7619
|
return Qnil;
|
@@ -7201,7 +7642,14 @@ _wrap_SelectMenu_remove_item__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
7201
7642
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","removeItem", 2, argv[0] ));
|
7202
7643
|
}
|
7203
7644
|
arg2 = static_cast< unsigned int >(val2);
|
7204
|
-
|
7645
|
+
{
|
7646
|
+
try {
|
7647
|
+
(arg1)->removeItem(arg2);
|
7648
|
+
} catch(Ogre::Exception& e) {
|
7649
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7650
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7651
|
+
}
|
7652
|
+
}
|
7205
7653
|
return Qnil;
|
7206
7654
|
fail:
|
7207
7655
|
return Qnil;
|
@@ -7272,7 +7720,14 @@ _wrap_SelectMenu_clear_items(int argc, VALUE *argv, VALUE self) {
|
|
7272
7720
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","clearItems", 1, self ));
|
7273
7721
|
}
|
7274
7722
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7275
|
-
|
7723
|
+
{
|
7724
|
+
try {
|
7725
|
+
(arg1)->clearItems();
|
7726
|
+
} catch(Ogre::Exception& e) {
|
7727
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7728
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7729
|
+
}
|
7730
|
+
}
|
7276
7731
|
return Qnil;
|
7277
7732
|
fail:
|
7278
7733
|
return Qnil;
|
@@ -7309,7 +7764,14 @@ _wrap_SelectMenu_select_item__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
7309
7764
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","selectItem", 3, argv[1] ));
|
7310
7765
|
}
|
7311
7766
|
arg3 = static_cast< bool >(val3);
|
7312
|
-
|
7767
|
+
{
|
7768
|
+
try {
|
7769
|
+
(arg1)->selectItem(arg2,arg3);
|
7770
|
+
} catch(Ogre::Exception& e) {
|
7771
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7772
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7773
|
+
}
|
7774
|
+
}
|
7313
7775
|
return Qnil;
|
7314
7776
|
fail:
|
7315
7777
|
return Qnil;
|
@@ -7338,7 +7800,14 @@ _wrap_SelectMenu_select_item__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
7338
7800
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","selectItem", 2, argv[0] ));
|
7339
7801
|
}
|
7340
7802
|
arg2 = static_cast< unsigned int >(val2);
|
7341
|
-
|
7803
|
+
{
|
7804
|
+
try {
|
7805
|
+
(arg1)->selectItem(arg2);
|
7806
|
+
} catch(Ogre::Exception& e) {
|
7807
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7808
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7809
|
+
}
|
7810
|
+
}
|
7342
7811
|
return Qnil;
|
7343
7812
|
fail:
|
7344
7813
|
return Qnil;
|
@@ -7378,7 +7847,14 @@ _wrap_SelectMenu_select_item__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
7378
7847
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","selectItem", 3, argv[1] ));
|
7379
7848
|
}
|
7380
7849
|
arg3 = static_cast< bool >(val3);
|
7381
|
-
|
7850
|
+
{
|
7851
|
+
try {
|
7852
|
+
(arg1)->selectItem((Ogre::DisplayString const &)*arg2,arg3);
|
7853
|
+
} catch(Ogre::Exception& e) {
|
7854
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7855
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7856
|
+
}
|
7857
|
+
}
|
7382
7858
|
return Qnil;
|
7383
7859
|
fail:
|
7384
7860
|
return Qnil;
|
@@ -7410,7 +7886,14 @@ _wrap_SelectMenu_select_item__SWIG_3(int argc, VALUE *argv, VALUE self) {
|
|
7410
7886
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","selectItem", 2, argv[0]));
|
7411
7887
|
}
|
7412
7888
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
7413
|
-
|
7889
|
+
{
|
7890
|
+
try {
|
7891
|
+
(arg1)->selectItem((Ogre::DisplayString const &)*arg2);
|
7892
|
+
} catch(Ogre::Exception& e) {
|
7893
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
7894
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
7895
|
+
}
|
7896
|
+
}
|
7414
7897
|
return Qnil;
|
7415
7898
|
fail:
|
7416
7899
|
return Qnil;
|
@@ -7526,7 +8009,14 @@ _wrap_SelectMenu_get_selected_item(int argc, VALUE *argv, VALUE self) {
|
|
7526
8009
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","getSelectedItem", 1, self ));
|
7527
8010
|
}
|
7528
8011
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7529
|
-
|
8012
|
+
{
|
8013
|
+
try {
|
8014
|
+
result = (arg1)->getSelectedItem();
|
8015
|
+
} catch(Ogre::Exception& e) {
|
8016
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8017
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8018
|
+
}
|
8019
|
+
}
|
7530
8020
|
vresult = SWIG_NewPointerObj((new Ogre::DisplayString(static_cast< const Ogre::DisplayString& >(result))), SWIGTYPE_p_Ogre__UTFString, SWIG_POINTER_OWN | 0 );
|
7531
8021
|
return vresult;
|
7532
8022
|
fail:
|
@@ -7550,7 +8040,14 @@ _wrap_SelectMenu_get_selection_index(int argc, VALUE *argv, VALUE self) {
|
|
7550
8040
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","getSelectionIndex", 1, self ));
|
7551
8041
|
}
|
7552
8042
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7553
|
-
|
8043
|
+
{
|
8044
|
+
try {
|
8045
|
+
result = (int)(arg1)->getSelectionIndex();
|
8046
|
+
} catch(Ogre::Exception& e) {
|
8047
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8048
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8049
|
+
}
|
8050
|
+
}
|
7554
8051
|
vresult = SWIG_From_int(static_cast< int >(result));
|
7555
8052
|
return vresult;
|
7556
8053
|
fail:
|
@@ -7583,7 +8080,14 @@ _wrap_SelectMenu__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
7583
8080
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
7584
8081
|
}
|
7585
8082
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
7586
|
-
|
8083
|
+
{
|
8084
|
+
try {
|
8085
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
8086
|
+
} catch(Ogre::Exception& e) {
|
8087
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8088
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8089
|
+
}
|
8090
|
+
}
|
7587
8091
|
return Qnil;
|
7588
8092
|
fail:
|
7589
8093
|
return Qnil;
|
@@ -7615,7 +8119,14 @@ _wrap_SelectMenu__cursor_released(int argc, VALUE *argv, VALUE self) {
|
|
7615
8119
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorReleased", 2, argv[0]));
|
7616
8120
|
}
|
7617
8121
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
7618
|
-
|
8122
|
+
{
|
8123
|
+
try {
|
8124
|
+
(arg1)->_cursorReleased((Ogre::Vector2 const &)*arg2);
|
8125
|
+
} catch(Ogre::Exception& e) {
|
8126
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8127
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8128
|
+
}
|
8129
|
+
}
|
7619
8130
|
return Qnil;
|
7620
8131
|
fail:
|
7621
8132
|
return Qnil;
|
@@ -7647,7 +8158,14 @@ _wrap_SelectMenu__cursor_moved(int argc, VALUE *argv, VALUE self) {
|
|
7647
8158
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorMoved", 2, argv[0]));
|
7648
8159
|
}
|
7649
8160
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
7650
|
-
|
8161
|
+
{
|
8162
|
+
try {
|
8163
|
+
(arg1)->_cursorMoved((Ogre::Vector2 const &)*arg2);
|
8164
|
+
} catch(Ogre::Exception& e) {
|
8165
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8166
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8167
|
+
}
|
8168
|
+
}
|
7651
8169
|
return Qnil;
|
7652
8170
|
fail:
|
7653
8171
|
return Qnil;
|
@@ -7668,7 +8186,14 @@ _wrap_SelectMenu__focus_lost(int argc, VALUE *argv, VALUE self) {
|
|
7668
8186
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SelectMenu *","_focusLost", 1, self ));
|
7669
8187
|
}
|
7670
8188
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7671
|
-
|
8189
|
+
{
|
8190
|
+
try {
|
8191
|
+
(arg1)->_focusLost();
|
8192
|
+
} catch(Ogre::Exception& e) {
|
8193
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8194
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8195
|
+
}
|
8196
|
+
}
|
7672
8197
|
return Qnil;
|
7673
8198
|
fail:
|
7674
8199
|
return Qnil;
|
@@ -7691,7 +8216,14 @@ _wrap_SelectMenu_set_items__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
7691
8216
|
}
|
7692
8217
|
arg1 = reinterpret_cast< OgreBites::SelectMenu * >(argp1);
|
7693
8218
|
arg2 = argv[0];
|
7694
|
-
|
8219
|
+
{
|
8220
|
+
try {
|
8221
|
+
OgreBites_SelectMenu_setItems__SWIG_1(arg1,arg2);
|
8222
|
+
} catch(Ogre::Exception& e) {
|
8223
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8224
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8225
|
+
}
|
8226
|
+
}
|
7695
8227
|
return Qnil;
|
7696
8228
|
fail:
|
7697
8229
|
return Qnil;
|
@@ -7755,7 +8287,14 @@ _wrap_SelectMenu_cast(int argc, VALUE *argv, VALUE self) {
|
|
7755
8287
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
7756
8288
|
}
|
7757
8289
|
arg1 = argv[0];
|
7758
|
-
|
8290
|
+
{
|
8291
|
+
try {
|
8292
|
+
result = (OgreBites::SelectMenu *)OgreBites_SelectMenu_cast(arg1);
|
8293
|
+
} catch(Ogre::Exception& e) {
|
8294
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8295
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8296
|
+
}
|
8297
|
+
}
|
7759
8298
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
7760
8299
|
return vresult;
|
7761
8300
|
fail:
|
@@ -7827,8 +8366,15 @@ _wrap_new_Label(int argc, VALUE *argv, VALUE self) {
|
|
7827
8366
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::Label", 3, argv[2] ));
|
7828
8367
|
}
|
7829
8368
|
arg3 = static_cast< Ogre::Real >(val3);
|
7830
|
-
|
7831
|
-
|
8369
|
+
{
|
8370
|
+
try {
|
8371
|
+
result = (OgreBites::Label *)new OgreBites::Label((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3);
|
8372
|
+
DATA_PTR(self) = result;
|
8373
|
+
} catch(Ogre::Exception& e) {
|
8374
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8375
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8376
|
+
}
|
8377
|
+
}
|
7832
8378
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
7833
8379
|
return self;
|
7834
8380
|
fail:
|
@@ -7853,7 +8399,14 @@ _wrap_Label_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
7853
8399
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Label *","getCaption", 1, self ));
|
7854
8400
|
}
|
7855
8401
|
arg1 = reinterpret_cast< OgreBites::Label * >(argp1);
|
7856
|
-
|
8402
|
+
{
|
8403
|
+
try {
|
8404
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
8405
|
+
} catch(Ogre::Exception& e) {
|
8406
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8407
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8408
|
+
}
|
8409
|
+
}
|
7857
8410
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
7858
8411
|
return vresult;
|
7859
8412
|
fail:
|
@@ -7886,7 +8439,14 @@ _wrap_Label_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
7886
8439
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
7887
8440
|
}
|
7888
8441
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
7889
|
-
|
8442
|
+
{
|
8443
|
+
try {
|
8444
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
8445
|
+
} catch(Ogre::Exception& e) {
|
8446
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8447
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8448
|
+
}
|
8449
|
+
}
|
7890
8450
|
return Qnil;
|
7891
8451
|
fail:
|
7892
8452
|
return Qnil;
|
@@ -7918,7 +8478,14 @@ _wrap_Label__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
7918
8478
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
7919
8479
|
}
|
7920
8480
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
7921
|
-
|
8481
|
+
{
|
8482
|
+
try {
|
8483
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
8484
|
+
} catch(Ogre::Exception& e) {
|
8485
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8486
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8487
|
+
}
|
8488
|
+
}
|
7922
8489
|
return Qnil;
|
7923
8490
|
fail:
|
7924
8491
|
return Qnil;
|
@@ -7941,7 +8508,14 @@ _wrap_Label__is_fit_to_tray(int argc, VALUE *argv, VALUE self) {
|
|
7941
8508
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Label *","_isFitToTray", 1, self ));
|
7942
8509
|
}
|
7943
8510
|
arg1 = reinterpret_cast< OgreBites::Label * >(argp1);
|
7944
|
-
|
8511
|
+
{
|
8512
|
+
try {
|
8513
|
+
result = (bool)(arg1)->_isFitToTray();
|
8514
|
+
} catch(Ogre::Exception& e) {
|
8515
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8516
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8517
|
+
}
|
8518
|
+
}
|
7945
8519
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
7946
8520
|
return vresult;
|
7947
8521
|
fail:
|
@@ -8002,8 +8576,15 @@ _wrap_new_Separator(int argc, VALUE *argv, VALUE self) {
|
|
8002
8576
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::Separator", 2, argv[1] ));
|
8003
8577
|
}
|
8004
8578
|
arg2 = static_cast< Ogre::Real >(val2);
|
8005
|
-
|
8006
|
-
|
8579
|
+
{
|
8580
|
+
try {
|
8581
|
+
result = (OgreBites::Separator *)new OgreBites::Separator((Ogre::String const &)*arg1,arg2);
|
8582
|
+
DATA_PTR(self) = result;
|
8583
|
+
} catch(Ogre::Exception& e) {
|
8584
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8585
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8586
|
+
}
|
8587
|
+
}
|
8007
8588
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
8008
8589
|
return self;
|
8009
8590
|
fail:
|
@@ -8028,7 +8609,14 @@ _wrap_Separator__is_fit_to_tray(int argc, VALUE *argv, VALUE self) {
|
|
8028
8609
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Separator *","_isFitToTray", 1, self ));
|
8029
8610
|
}
|
8030
8611
|
arg1 = reinterpret_cast< OgreBites::Separator * >(argp1);
|
8031
|
-
|
8612
|
+
{
|
8613
|
+
try {
|
8614
|
+
result = (bool)(arg1)->_isFitToTray();
|
8615
|
+
} catch(Ogre::Exception& e) {
|
8616
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8617
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8618
|
+
}
|
8619
|
+
}
|
8032
8620
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
8033
8621
|
return vresult;
|
8034
8622
|
fail:
|
@@ -8140,8 +8728,15 @@ _wrap_new_Slider(int argc, VALUE *argv, VALUE self) {
|
|
8140
8728
|
SWIG_exception_fail(SWIG_ArgError(ecode8), Ruby_Format_TypeError( "", "unsigned int","OgreBites::Slider", 8, argv[7] ));
|
8141
8729
|
}
|
8142
8730
|
arg8 = static_cast< unsigned int >(val8);
|
8143
|
-
|
8144
|
-
|
8731
|
+
{
|
8732
|
+
try {
|
8733
|
+
result = (OgreBites::Slider *)new OgreBites::Slider((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3,arg4,arg5,arg6,arg7,arg8);
|
8734
|
+
DATA_PTR(self) = result;
|
8735
|
+
} catch(Ogre::Exception& e) {
|
8736
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8737
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8738
|
+
}
|
8739
|
+
}
|
8145
8740
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
8146
8741
|
return self;
|
8147
8742
|
fail:
|
@@ -8196,7 +8791,14 @@ _wrap_Slider_set_range__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
8196
8791
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "bool","setRange", 5, argv[3] ));
|
8197
8792
|
}
|
8198
8793
|
arg5 = static_cast< bool >(val5);
|
8199
|
-
|
8794
|
+
{
|
8795
|
+
try {
|
8796
|
+
(arg1)->setRange(arg2,arg3,arg4,arg5);
|
8797
|
+
} catch(Ogre::Exception& e) {
|
8798
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8799
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8800
|
+
}
|
8801
|
+
}
|
8200
8802
|
return Qnil;
|
8201
8803
|
fail:
|
8202
8804
|
return Qnil;
|
@@ -8241,7 +8843,14 @@ _wrap_Slider_set_range__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
8241
8843
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "unsigned int","setRange", 4, argv[2] ));
|
8242
8844
|
}
|
8243
8845
|
arg4 = static_cast< unsigned int >(val4);
|
8244
|
-
|
8846
|
+
{
|
8847
|
+
try {
|
8848
|
+
(arg1)->setRange(arg2,arg3,arg4);
|
8849
|
+
} catch(Ogre::Exception& e) {
|
8850
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8851
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8852
|
+
}
|
8853
|
+
}
|
8245
8854
|
return Qnil;
|
8246
8855
|
fail:
|
8247
8856
|
return Qnil;
|
@@ -8345,7 +8954,14 @@ _wrap_Slider_get_value_caption(int argc, VALUE *argv, VALUE self) {
|
|
8345
8954
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Slider *","getValueCaption", 1, self ));
|
8346
8955
|
}
|
8347
8956
|
arg1 = reinterpret_cast< OgreBites::Slider * >(argp1);
|
8348
|
-
|
8957
|
+
{
|
8958
|
+
try {
|
8959
|
+
result = (Ogre::DisplayString *) &(arg1)->getValueCaption();
|
8960
|
+
} catch(Ogre::Exception& e) {
|
8961
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
8962
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
8963
|
+
}
|
8964
|
+
}
|
8349
8965
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
8350
8966
|
return vresult;
|
8351
8967
|
fail:
|
@@ -8378,7 +8994,14 @@ _wrap_Slider_set_value_caption(int argc, VALUE *argv, VALUE self) {
|
|
8378
8994
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setValueCaption", 2, argv[0]));
|
8379
8995
|
}
|
8380
8996
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
8381
|
-
|
8997
|
+
{
|
8998
|
+
try {
|
8999
|
+
(arg1)->setValueCaption((Ogre::DisplayString const &)*arg2);
|
9000
|
+
} catch(Ogre::Exception& e) {
|
9001
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9002
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9003
|
+
}
|
9004
|
+
}
|
8382
9005
|
return Qnil;
|
8383
9006
|
fail:
|
8384
9007
|
return Qnil;
|
@@ -8415,7 +9038,14 @@ _wrap_Slider_set_value__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
8415
9038
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","setValue", 3, argv[1] ));
|
8416
9039
|
}
|
8417
9040
|
arg3 = static_cast< bool >(val3);
|
8418
|
-
|
9041
|
+
{
|
9042
|
+
try {
|
9043
|
+
(arg1)->setValue(arg2,arg3);
|
9044
|
+
} catch(Ogre::Exception& e) {
|
9045
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9046
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9047
|
+
}
|
9048
|
+
}
|
8419
9049
|
return Qnil;
|
8420
9050
|
fail:
|
8421
9051
|
return Qnil;
|
@@ -8444,7 +9074,14 @@ _wrap_Slider_set_value__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
8444
9074
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setValue", 2, argv[0] ));
|
8445
9075
|
}
|
8446
9076
|
arg2 = static_cast< Ogre::Real >(val2);
|
8447
|
-
|
9077
|
+
{
|
9078
|
+
try {
|
9079
|
+
(arg1)->setValue(arg2);
|
9080
|
+
} catch(Ogre::Exception& e) {
|
9081
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9082
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9083
|
+
}
|
9084
|
+
}
|
8448
9085
|
return Qnil;
|
8449
9086
|
fail:
|
8450
9087
|
return Qnil;
|
@@ -8524,7 +9161,14 @@ _wrap_Slider_get_value(int argc, VALUE *argv, VALUE self) {
|
|
8524
9161
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Slider *","getValue", 1, self ));
|
8525
9162
|
}
|
8526
9163
|
arg1 = reinterpret_cast< OgreBites::Slider * >(argp1);
|
8527
|
-
|
9164
|
+
{
|
9165
|
+
try {
|
9166
|
+
result = (Ogre::Real)(arg1)->getValue();
|
9167
|
+
} catch(Ogre::Exception& e) {
|
9168
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9169
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9170
|
+
}
|
9171
|
+
}
|
8528
9172
|
vresult = SWIG_From_float(static_cast< float >(result));
|
8529
9173
|
return vresult;
|
8530
9174
|
fail:
|
@@ -8548,7 +9192,14 @@ _wrap_Slider_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
8548
9192
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Slider *","getCaption", 1, self ));
|
8549
9193
|
}
|
8550
9194
|
arg1 = reinterpret_cast< OgreBites::Slider * >(argp1);
|
8551
|
-
|
9195
|
+
{
|
9196
|
+
try {
|
9197
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
9198
|
+
} catch(Ogre::Exception& e) {
|
9199
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9200
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9201
|
+
}
|
9202
|
+
}
|
8552
9203
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
8553
9204
|
return vresult;
|
8554
9205
|
fail:
|
@@ -8581,7 +9232,14 @@ _wrap_Slider_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
8581
9232
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
8582
9233
|
}
|
8583
9234
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
8584
|
-
|
9235
|
+
{
|
9236
|
+
try {
|
9237
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
9238
|
+
} catch(Ogre::Exception& e) {
|
9239
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9240
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9241
|
+
}
|
9242
|
+
}
|
8585
9243
|
return Qnil;
|
8586
9244
|
fail:
|
8587
9245
|
return Qnil;
|
@@ -8613,7 +9271,14 @@ _wrap_Slider__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
8613
9271
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
8614
9272
|
}
|
8615
9273
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
8616
|
-
|
9274
|
+
{
|
9275
|
+
try {
|
9276
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
9277
|
+
} catch(Ogre::Exception& e) {
|
9278
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9279
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9280
|
+
}
|
9281
|
+
}
|
8617
9282
|
return Qnil;
|
8618
9283
|
fail:
|
8619
9284
|
return Qnil;
|
@@ -8645,7 +9310,14 @@ _wrap_Slider__cursor_released(int argc, VALUE *argv, VALUE self) {
|
|
8645
9310
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorReleased", 2, argv[0]));
|
8646
9311
|
}
|
8647
9312
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
8648
|
-
|
9313
|
+
{
|
9314
|
+
try {
|
9315
|
+
(arg1)->_cursorReleased((Ogre::Vector2 const &)*arg2);
|
9316
|
+
} catch(Ogre::Exception& e) {
|
9317
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9318
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9319
|
+
}
|
9320
|
+
}
|
8649
9321
|
return Qnil;
|
8650
9322
|
fail:
|
8651
9323
|
return Qnil;
|
@@ -8677,7 +9349,14 @@ _wrap_Slider__cursor_moved(int argc, VALUE *argv, VALUE self) {
|
|
8677
9349
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorMoved", 2, argv[0]));
|
8678
9350
|
}
|
8679
9351
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
8680
|
-
|
9352
|
+
{
|
9353
|
+
try {
|
9354
|
+
(arg1)->_cursorMoved((Ogre::Vector2 const &)*arg2);
|
9355
|
+
} catch(Ogre::Exception& e) {
|
9356
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9357
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9358
|
+
}
|
9359
|
+
}
|
8681
9360
|
return Qnil;
|
8682
9361
|
fail:
|
8683
9362
|
return Qnil;
|
@@ -8697,8 +9376,15 @@ _wrap_Slider__focus_lost(int argc, VALUE *argv, VALUE self) {
|
|
8697
9376
|
if (!SWIG_IsOK(res1)) {
|
8698
9377
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::Slider *","_focusLost", 1, self ));
|
8699
9378
|
}
|
8700
|
-
arg1 = reinterpret_cast< OgreBites::Slider * >(argp1);
|
8701
|
-
|
9379
|
+
arg1 = reinterpret_cast< OgreBites::Slider * >(argp1);
|
9380
|
+
{
|
9381
|
+
try {
|
9382
|
+
(arg1)->_focusLost();
|
9383
|
+
} catch(Ogre::Exception& e) {
|
9384
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9385
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9386
|
+
}
|
9387
|
+
}
|
8702
9388
|
return Qnil;
|
8703
9389
|
fail:
|
8704
9390
|
return Qnil;
|
@@ -8766,8 +9452,15 @@ _wrap_new_ParamsPanel(int argc, VALUE *argv, VALUE self) {
|
|
8766
9452
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","OgreBites::ParamsPanel", 3, argv[2] ));
|
8767
9453
|
}
|
8768
9454
|
arg3 = static_cast< unsigned int >(val3);
|
8769
|
-
|
8770
|
-
|
9455
|
+
{
|
9456
|
+
try {
|
9457
|
+
result = (OgreBites::ParamsPanel *)new OgreBites::ParamsPanel((Ogre::String const &)*arg1,arg2,arg3);
|
9458
|
+
DATA_PTR(self) = result;
|
9459
|
+
} catch(Ogre::Exception& e) {
|
9460
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9461
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9462
|
+
}
|
9463
|
+
}
|
8771
9464
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
8772
9465
|
return self;
|
8773
9466
|
fail:
|
@@ -8801,7 +9494,14 @@ _wrap_ParamsPanel_set_all_param_names(int argc, VALUE *argv, VALUE self) {
|
|
8801
9494
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","setAllParamNames", 2, argv[0]));
|
8802
9495
|
}
|
8803
9496
|
arg2 = reinterpret_cast< Ogre::StringVector * >(argp2);
|
8804
|
-
|
9497
|
+
{
|
9498
|
+
try {
|
9499
|
+
(arg1)->setAllParamNames((Ogre::StringVector const &)*arg2);
|
9500
|
+
} catch(Ogre::Exception& e) {
|
9501
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9502
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9503
|
+
}
|
9504
|
+
}
|
8805
9505
|
return Qnil;
|
8806
9506
|
fail:
|
8807
9507
|
return Qnil;
|
@@ -8824,7 +9524,14 @@ _wrap_ParamsPanel_get_all_param_names(int argc, VALUE *argv, VALUE self) {
|
|
8824
9524
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::ParamsPanel *","getAllParamNames", 1, self ));
|
8825
9525
|
}
|
8826
9526
|
arg1 = reinterpret_cast< OgreBites::ParamsPanel * >(argp1);
|
8827
|
-
|
9527
|
+
{
|
9528
|
+
try {
|
9529
|
+
result = (Ogre::StringVector *) &(arg1)->getAllParamNames();
|
9530
|
+
} catch(Ogre::Exception& e) {
|
9531
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9532
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9533
|
+
}
|
9534
|
+
}
|
8828
9535
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__vectorT_Ogre__String_Ogre__STLAllocatorT_Ogre__String_Ogre__GeneralAllocPolicy_t_t__type, 0 | 0 );
|
8829
9536
|
return vresult;
|
8830
9537
|
fail:
|
@@ -8857,7 +9564,14 @@ _wrap_ParamsPanel_set_all_param_values(int argc, VALUE *argv, VALUE self) {
|
|
8857
9564
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","setAllParamValues", 2, argv[0]));
|
8858
9565
|
}
|
8859
9566
|
arg2 = reinterpret_cast< Ogre::StringVector * >(argp2);
|
8860
|
-
|
9567
|
+
{
|
9568
|
+
try {
|
9569
|
+
(arg1)->setAllParamValues((Ogre::StringVector const &)*arg2);
|
9570
|
+
} catch(Ogre::Exception& e) {
|
9571
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9572
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9573
|
+
}
|
9574
|
+
}
|
8861
9575
|
return Qnil;
|
8862
9576
|
fail:
|
8863
9577
|
return Qnil;
|
@@ -8900,7 +9614,14 @@ _wrap_ParamsPanel_set_param_value__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
8900
9614
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setParamValue", 3, argv[1]));
|
8901
9615
|
}
|
8902
9616
|
arg3 = reinterpret_cast< Ogre::DisplayString * >(argp3);
|
8903
|
-
|
9617
|
+
{
|
9618
|
+
try {
|
9619
|
+
(arg1)->setParamValue((Ogre::DisplayString const &)*arg2,(Ogre::DisplayString const &)*arg3);
|
9620
|
+
} catch(Ogre::Exception& e) {
|
9621
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9622
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9623
|
+
}
|
9624
|
+
}
|
8904
9625
|
return Qnil;
|
8905
9626
|
fail:
|
8906
9627
|
return Qnil;
|
@@ -8940,7 +9661,14 @@ _wrap_ParamsPanel_set_param_value__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
8940
9661
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setParamValue", 3, argv[1]));
|
8941
9662
|
}
|
8942
9663
|
arg3 = reinterpret_cast< Ogre::DisplayString * >(argp3);
|
8943
|
-
|
9664
|
+
{
|
9665
|
+
try {
|
9666
|
+
(arg1)->setParamValue(arg2,(Ogre::DisplayString const &)*arg3);
|
9667
|
+
} catch(Ogre::Exception& e) {
|
9668
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9669
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9670
|
+
}
|
9671
|
+
}
|
8944
9672
|
return Qnil;
|
8945
9673
|
fail:
|
8946
9674
|
return Qnil;
|
@@ -9034,7 +9762,14 @@ _wrap_ParamsPanel_get_param_value__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
9034
9762
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","getParamValue", 2, argv[0]));
|
9035
9763
|
}
|
9036
9764
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
9037
|
-
|
9765
|
+
{
|
9766
|
+
try {
|
9767
|
+
result = (arg1)->getParamValue((Ogre::DisplayString const &)*arg2);
|
9768
|
+
} catch(Ogre::Exception& e) {
|
9769
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9770
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9771
|
+
}
|
9772
|
+
}
|
9038
9773
|
vresult = SWIG_NewPointerObj((new Ogre::DisplayString(static_cast< const Ogre::DisplayString& >(result))), SWIGTYPE_p_Ogre__UTFString, SWIG_POINTER_OWN | 0 );
|
9039
9774
|
return vresult;
|
9040
9775
|
fail:
|
@@ -9066,7 +9801,14 @@ _wrap_ParamsPanel_get_param_value__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
9066
9801
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","getParamValue", 2, argv[0] ));
|
9067
9802
|
}
|
9068
9803
|
arg2 = static_cast< unsigned int >(val2);
|
9069
|
-
|
9804
|
+
{
|
9805
|
+
try {
|
9806
|
+
result = (arg1)->getParamValue(arg2);
|
9807
|
+
} catch(Ogre::Exception& e) {
|
9808
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9809
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9810
|
+
}
|
9811
|
+
}
|
9070
9812
|
vresult = SWIG_NewPointerObj((new Ogre::DisplayString(static_cast< const Ogre::DisplayString& >(result))), SWIGTYPE_p_Ogre__UTFString, SWIG_POINTER_OWN | 0 );
|
9071
9813
|
return vresult;
|
9072
9814
|
fail:
|
@@ -9140,7 +9882,14 @@ _wrap_ParamsPanel_get_all_param_values(int argc, VALUE *argv, VALUE self) {
|
|
9140
9882
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::ParamsPanel *","getAllParamValues", 1, self ));
|
9141
9883
|
}
|
9142
9884
|
arg1 = reinterpret_cast< OgreBites::ParamsPanel * >(argp1);
|
9143
|
-
|
9885
|
+
{
|
9886
|
+
try {
|
9887
|
+
result = (Ogre::StringVector *) &(arg1)->getAllParamValues();
|
9888
|
+
} catch(Ogre::Exception& e) {
|
9889
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9890
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9891
|
+
}
|
9892
|
+
}
|
9144
9893
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__vectorT_Ogre__String_Ogre__STLAllocatorT_Ogre__String_Ogre__GeneralAllocPolicy_t_t__type, 0 | 0 );
|
9145
9894
|
return vresult;
|
9146
9895
|
fail:
|
@@ -9212,8 +9961,15 @@ _wrap_new_CheckBox(int argc, VALUE *argv, VALUE self) {
|
|
9212
9961
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::CheckBox", 3, argv[2] ));
|
9213
9962
|
}
|
9214
9963
|
arg3 = static_cast< Ogre::Real >(val3);
|
9215
|
-
|
9216
|
-
|
9964
|
+
{
|
9965
|
+
try {
|
9966
|
+
result = (OgreBites::CheckBox *)new OgreBites::CheckBox((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3);
|
9967
|
+
DATA_PTR(self) = result;
|
9968
|
+
} catch(Ogre::Exception& e) {
|
9969
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
9970
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
9971
|
+
}
|
9972
|
+
}
|
9217
9973
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
9218
9974
|
return self;
|
9219
9975
|
fail:
|
@@ -9238,7 +9994,14 @@ _wrap_CheckBox_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
9238
9994
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::CheckBox *","getCaption", 1, self ));
|
9239
9995
|
}
|
9240
9996
|
arg1 = reinterpret_cast< OgreBites::CheckBox * >(argp1);
|
9241
|
-
|
9997
|
+
{
|
9998
|
+
try {
|
9999
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
10000
|
+
} catch(Ogre::Exception& e) {
|
10001
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10002
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10003
|
+
}
|
10004
|
+
}
|
9242
10005
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
9243
10006
|
return vresult;
|
9244
10007
|
fail:
|
@@ -9271,7 +10034,14 @@ _wrap_CheckBox_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
9271
10034
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
9272
10035
|
}
|
9273
10036
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
9274
|
-
|
10037
|
+
{
|
10038
|
+
try {
|
10039
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
10040
|
+
} catch(Ogre::Exception& e) {
|
10041
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10042
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10043
|
+
}
|
10044
|
+
}
|
9275
10045
|
return Qnil;
|
9276
10046
|
fail:
|
9277
10047
|
return Qnil;
|
@@ -9294,7 +10064,14 @@ _wrap_CheckBox_is_checked(int argc, VALUE *argv, VALUE self) {
|
|
9294
10064
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::CheckBox *","isChecked", 1, self ));
|
9295
10065
|
}
|
9296
10066
|
arg1 = reinterpret_cast< OgreBites::CheckBox * >(argp1);
|
9297
|
-
|
10067
|
+
{
|
10068
|
+
try {
|
10069
|
+
result = (bool)(arg1)->isChecked();
|
10070
|
+
} catch(Ogre::Exception& e) {
|
10071
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10072
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10073
|
+
}
|
10074
|
+
}
|
9298
10075
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
9299
10076
|
return vresult;
|
9300
10077
|
fail:
|
@@ -9332,7 +10109,14 @@ _wrap_CheckBox_set_checked__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
9332
10109
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","setChecked", 3, argv[1] ));
|
9333
10110
|
}
|
9334
10111
|
arg3 = static_cast< bool >(val3);
|
9335
|
-
|
10112
|
+
{
|
10113
|
+
try {
|
10114
|
+
(arg1)->setChecked(arg2,arg3);
|
10115
|
+
} catch(Ogre::Exception& e) {
|
10116
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10117
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10118
|
+
}
|
10119
|
+
}
|
9336
10120
|
return Qnil;
|
9337
10121
|
fail:
|
9338
10122
|
return Qnil;
|
@@ -9361,7 +10145,14 @@ _wrap_CheckBox_set_checked__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
9361
10145
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","setChecked", 2, argv[0] ));
|
9362
10146
|
}
|
9363
10147
|
arg2 = static_cast< bool >(val2);
|
9364
|
-
|
10148
|
+
{
|
10149
|
+
try {
|
10150
|
+
(arg1)->setChecked(arg2);
|
10151
|
+
} catch(Ogre::Exception& e) {
|
10152
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10153
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10154
|
+
}
|
10155
|
+
}
|
9365
10156
|
return Qnil;
|
9366
10157
|
fail:
|
9367
10158
|
return Qnil;
|
@@ -9447,7 +10238,14 @@ _wrap_CheckBox_toggle__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
9447
10238
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "bool","toggle", 2, argv[0] ));
|
9448
10239
|
}
|
9449
10240
|
arg2 = static_cast< bool >(val2);
|
9450
|
-
|
10241
|
+
{
|
10242
|
+
try {
|
10243
|
+
(arg1)->toggle(arg2);
|
10244
|
+
} catch(Ogre::Exception& e) {
|
10245
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10246
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10247
|
+
}
|
10248
|
+
}
|
9451
10249
|
return Qnil;
|
9452
10250
|
fail:
|
9453
10251
|
return Qnil;
|
@@ -9468,7 +10266,14 @@ _wrap_CheckBox_toggle__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
9468
10266
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::CheckBox *","toggle", 1, self ));
|
9469
10267
|
}
|
9470
10268
|
arg1 = reinterpret_cast< OgreBites::CheckBox * >(argp1);
|
9471
|
-
|
10269
|
+
{
|
10270
|
+
try {
|
10271
|
+
(arg1)->toggle();
|
10272
|
+
} catch(Ogre::Exception& e) {
|
10273
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10274
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10275
|
+
}
|
10276
|
+
}
|
9472
10277
|
return Qnil;
|
9473
10278
|
fail:
|
9474
10279
|
return Qnil;
|
@@ -9545,7 +10350,14 @@ _wrap_CheckBox__cursor_pressed(int argc, VALUE *argv, VALUE self) {
|
|
9545
10350
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorPressed", 2, argv[0]));
|
9546
10351
|
}
|
9547
10352
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
9548
|
-
|
10353
|
+
{
|
10354
|
+
try {
|
10355
|
+
(arg1)->_cursorPressed((Ogre::Vector2 const &)*arg2);
|
10356
|
+
} catch(Ogre::Exception& e) {
|
10357
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10358
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10359
|
+
}
|
10360
|
+
}
|
9549
10361
|
return Qnil;
|
9550
10362
|
fail:
|
9551
10363
|
return Qnil;
|
@@ -9577,7 +10389,14 @@ _wrap_CheckBox__cursor_moved(int argc, VALUE *argv, VALUE self) {
|
|
9577
10389
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","_cursorMoved", 2, argv[0]));
|
9578
10390
|
}
|
9579
10391
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
9580
|
-
|
10392
|
+
{
|
10393
|
+
try {
|
10394
|
+
(arg1)->_cursorMoved((Ogre::Vector2 const &)*arg2);
|
10395
|
+
} catch(Ogre::Exception& e) {
|
10396
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10397
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10398
|
+
}
|
10399
|
+
}
|
9581
10400
|
return Qnil;
|
9582
10401
|
fail:
|
9583
10402
|
return Qnil;
|
@@ -9598,7 +10417,14 @@ _wrap_CheckBox__focus_lost(int argc, VALUE *argv, VALUE self) {
|
|
9598
10417
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::CheckBox *","_focusLost", 1, self ));
|
9599
10418
|
}
|
9600
10419
|
arg1 = reinterpret_cast< OgreBites::CheckBox * >(argp1);
|
9601
|
-
|
10420
|
+
{
|
10421
|
+
try {
|
10422
|
+
(arg1)->_focusLost();
|
10423
|
+
} catch(Ogre::Exception& e) {
|
10424
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10425
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10426
|
+
}
|
10427
|
+
}
|
9602
10428
|
return Qnil;
|
9603
10429
|
fail:
|
9604
10430
|
return Qnil;
|
@@ -9663,8 +10489,15 @@ _wrap_new_DecorWidget(int argc, VALUE *argv, VALUE self) {
|
|
9663
10489
|
}
|
9664
10490
|
arg2 = ptr;
|
9665
10491
|
}
|
9666
|
-
|
9667
|
-
|
10492
|
+
{
|
10493
|
+
try {
|
10494
|
+
result = (OgreBites::DecorWidget *)new OgreBites::DecorWidget((Ogre::String const &)*arg1,(Ogre::String const &)*arg2);
|
10495
|
+
DATA_PTR(self) = result;
|
10496
|
+
} catch(Ogre::Exception& e) {
|
10497
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10498
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10499
|
+
}
|
10500
|
+
}
|
9668
10501
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
9669
10502
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
9670
10503
|
return self;
|
@@ -9747,8 +10580,15 @@ _wrap_new_ProgressBar(int argc, VALUE *argv, VALUE self) {
|
|
9747
10580
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "Ogre::Real","OgreBites::ProgressBar", 4, argv[3] ));
|
9748
10581
|
}
|
9749
10582
|
arg4 = static_cast< Ogre::Real >(val4);
|
9750
|
-
|
9751
|
-
|
10583
|
+
{
|
10584
|
+
try {
|
10585
|
+
result = (OgreBites::ProgressBar *)new OgreBites::ProgressBar((Ogre::String const &)*arg1,(Ogre::DisplayString const &)*arg2,arg3,arg4);
|
10586
|
+
DATA_PTR(self) = result;
|
10587
|
+
} catch(Ogre::Exception& e) {
|
10588
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10589
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10590
|
+
}
|
10591
|
+
}
|
9752
10592
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
9753
10593
|
return self;
|
9754
10594
|
fail:
|
@@ -9779,7 +10619,14 @@ _wrap_ProgressBar_set_progress(int argc, VALUE *argv, VALUE self) {
|
|
9779
10619
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setProgress", 2, argv[0] ));
|
9780
10620
|
}
|
9781
10621
|
arg2 = static_cast< Ogre::Real >(val2);
|
9782
|
-
|
10622
|
+
{
|
10623
|
+
try {
|
10624
|
+
(arg1)->setProgress(arg2);
|
10625
|
+
} catch(Ogre::Exception& e) {
|
10626
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10627
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10628
|
+
}
|
10629
|
+
}
|
9783
10630
|
return Qnil;
|
9784
10631
|
fail:
|
9785
10632
|
return Qnil;
|
@@ -9802,7 +10649,14 @@ _wrap_ProgressBar_get_progress(int argc, VALUE *argv, VALUE self) {
|
|
9802
10649
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::ProgressBar *","getProgress", 1, self ));
|
9803
10650
|
}
|
9804
10651
|
arg1 = reinterpret_cast< OgreBites::ProgressBar * >(argp1);
|
9805
|
-
|
10652
|
+
{
|
10653
|
+
try {
|
10654
|
+
result = (Ogre::Real)(arg1)->getProgress();
|
10655
|
+
} catch(Ogre::Exception& e) {
|
10656
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10657
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10658
|
+
}
|
10659
|
+
}
|
9806
10660
|
vresult = SWIG_From_float(static_cast< float >(result));
|
9807
10661
|
return vresult;
|
9808
10662
|
fail:
|
@@ -9826,7 +10680,14 @@ _wrap_ProgressBar_get_caption(int argc, VALUE *argv, VALUE self) {
|
|
9826
10680
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::ProgressBar *","getCaption", 1, self ));
|
9827
10681
|
}
|
9828
10682
|
arg1 = reinterpret_cast< OgreBites::ProgressBar * >(argp1);
|
9829
|
-
|
10683
|
+
{
|
10684
|
+
try {
|
10685
|
+
result = (Ogre::DisplayString *) &(arg1)->getCaption();
|
10686
|
+
} catch(Ogre::Exception& e) {
|
10687
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10688
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10689
|
+
}
|
10690
|
+
}
|
9830
10691
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
9831
10692
|
return vresult;
|
9832
10693
|
fail:
|
@@ -9859,7 +10720,14 @@ _wrap_ProgressBar_set_caption(int argc, VALUE *argv, VALUE self) {
|
|
9859
10720
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setCaption", 2, argv[0]));
|
9860
10721
|
}
|
9861
10722
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
9862
|
-
|
10723
|
+
{
|
10724
|
+
try {
|
10725
|
+
(arg1)->setCaption((Ogre::DisplayString const &)*arg2);
|
10726
|
+
} catch(Ogre::Exception& e) {
|
10727
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10728
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10729
|
+
}
|
10730
|
+
}
|
9863
10731
|
return Qnil;
|
9864
10732
|
fail:
|
9865
10733
|
return Qnil;
|
@@ -9882,7 +10750,14 @@ _wrap_ProgressBar_get_comment(int argc, VALUE *argv, VALUE self) {
|
|
9882
10750
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::ProgressBar *","getComment", 1, self ));
|
9883
10751
|
}
|
9884
10752
|
arg1 = reinterpret_cast< OgreBites::ProgressBar * >(argp1);
|
9885
|
-
|
10753
|
+
{
|
10754
|
+
try {
|
10755
|
+
result = (Ogre::DisplayString *) &(arg1)->getComment();
|
10756
|
+
} catch(Ogre::Exception& e) {
|
10757
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10758
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10759
|
+
}
|
10760
|
+
}
|
9886
10761
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__UTFString, 0 | 0 );
|
9887
10762
|
return vresult;
|
9888
10763
|
fail:
|
@@ -9915,7 +10790,14 @@ _wrap_ProgressBar_set_comment(int argc, VALUE *argv, VALUE self) {
|
|
9915
10790
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","setComment", 2, argv[0]));
|
9916
10791
|
}
|
9917
10792
|
arg2 = reinterpret_cast< Ogre::DisplayString * >(argp2);
|
9918
|
-
|
10793
|
+
{
|
10794
|
+
try {
|
10795
|
+
(arg1)->setComment((Ogre::DisplayString const &)*arg2);
|
10796
|
+
} catch(Ogre::Exception& e) {
|
10797
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10798
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10799
|
+
}
|
10800
|
+
}
|
9919
10801
|
return Qnil;
|
9920
10802
|
fail:
|
9921
10803
|
return Qnil;
|
@@ -9974,8 +10856,15 @@ _wrap_new_SdkTrayManager__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
9974
10856
|
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "OgreBites::SdkTrayListener *","OgreBites::SdkTrayManager", 4, argv[3] ));
|
9975
10857
|
}
|
9976
10858
|
arg4 = reinterpret_cast< OgreBites::SdkTrayListener * >(argp4);
|
9977
|
-
|
9978
|
-
|
10859
|
+
{
|
10860
|
+
try {
|
10861
|
+
result = (OgreBites::SdkTrayManager *)new OgreBites::SdkTrayManager((Ogre::String const &)*arg1,arg2,arg3,arg4);
|
10862
|
+
DATA_PTR(self) = result;
|
10863
|
+
} catch(Ogre::Exception& e) {
|
10864
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10865
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10866
|
+
}
|
10867
|
+
}
|
9979
10868
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
9980
10869
|
return self;
|
9981
10870
|
fail:
|
@@ -10038,8 +10927,15 @@ _wrap_new_SdkTrayManager__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
10038
10927
|
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "OIS::Mouse *","OgreBites::SdkTrayManager", 3, argv[2] ));
|
10039
10928
|
}
|
10040
10929
|
arg3 = reinterpret_cast< OIS::Mouse * >(argp3);
|
10041
|
-
|
10042
|
-
|
10930
|
+
{
|
10931
|
+
try {
|
10932
|
+
result = (OgreBites::SdkTrayManager *)new OgreBites::SdkTrayManager((Ogre::String const &)*arg1,arg2,arg3);
|
10933
|
+
DATA_PTR(self) = result;
|
10934
|
+
} catch(Ogre::Exception& e) {
|
10935
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
10936
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
10937
|
+
}
|
10938
|
+
}
|
10043
10939
|
if (SWIG_IsNewObj(res1)) delete arg1;
|
10044
10940
|
return self;
|
10045
10941
|
fail:
|
@@ -10136,7 +11032,14 @@ _wrap_SdkTrayManager_screen_to_scene(int argc, VALUE *argv, VALUE self) {
|
|
10136
11032
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector2 const &","OgreBites::SdkTrayManager::screenToScene", 2, argv[1]));
|
10137
11033
|
}
|
10138
11034
|
arg2 = reinterpret_cast< Ogre::Vector2 * >(argp2);
|
10139
|
-
|
11035
|
+
{
|
11036
|
+
try {
|
11037
|
+
result = OgreBites::SdkTrayManager::screenToScene(arg1,(Ogre::Vector2 const &)*arg2);
|
11038
|
+
} catch(Ogre::Exception& e) {
|
11039
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11040
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11041
|
+
}
|
11042
|
+
}
|
10140
11043
|
vresult = SWIG_NewPointerObj((new Ogre::Ray(static_cast< const Ogre::Ray& >(result))), SWIGTYPE_p_Ogre__Ray, SWIG_POINTER_OWN | 0 );
|
10141
11044
|
return vresult;
|
10142
11045
|
fail:
|
@@ -10171,7 +11074,14 @@ _wrap_SdkTrayManager_scene_to_screen(int argc, VALUE *argv, VALUE self) {
|
|
10171
11074
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::Vector3 const &","OgreBites::SdkTrayManager::sceneToScreen", 2, argv[1]));
|
10172
11075
|
}
|
10173
11076
|
arg2 = reinterpret_cast< Ogre::Vector3 * >(argp2);
|
10174
|
-
|
11077
|
+
{
|
11078
|
+
try {
|
11079
|
+
result = OgreBites::SdkTrayManager::sceneToScreen(arg1,(Ogre::Vector3 const &)*arg2);
|
11080
|
+
} catch(Ogre::Exception& e) {
|
11081
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11082
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11083
|
+
}
|
11084
|
+
}
|
10175
11085
|
vresult = SWIG_NewPointerObj((new Ogre::Vector2(static_cast< const Ogre::Vector2& >(result))), SWIGTYPE_p_Ogre__Vector2, SWIG_POINTER_OWN | 0 );
|
10176
11086
|
return vresult;
|
10177
11087
|
fail:
|
@@ -10203,7 +11113,14 @@ _wrap_SdkTrayManager_get_tray_container(int argc, VALUE *argv, VALUE self) {
|
|
10203
11113
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","getTrayContainer", 2, argv[0] ));
|
10204
11114
|
}
|
10205
11115
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
10206
|
-
|
11116
|
+
{
|
11117
|
+
try {
|
11118
|
+
result = (Ogre::OverlayContainer *)(arg1)->getTrayContainer(arg2);
|
11119
|
+
} catch(Ogre::Exception& e) {
|
11120
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11121
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11122
|
+
}
|
11123
|
+
}
|
10207
11124
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__OverlayContainer, 0 | 0 );
|
10208
11125
|
return vresult;
|
10209
11126
|
fail:
|
@@ -10227,7 +11144,14 @@ _wrap_SdkTrayManager_get_backdrop_layer(int argc, VALUE *argv, VALUE self) {
|
|
10227
11144
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getBackdropLayer", 1, self ));
|
10228
11145
|
}
|
10229
11146
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10230
|
-
|
11147
|
+
{
|
11148
|
+
try {
|
11149
|
+
result = (Ogre::Overlay *)(arg1)->getBackdropLayer();
|
11150
|
+
} catch(Ogre::Exception& e) {
|
11151
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11152
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11153
|
+
}
|
11154
|
+
}
|
10231
11155
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__Overlay, 0 | 0 );
|
10232
11156
|
return vresult;
|
10233
11157
|
fail:
|
@@ -10251,7 +11175,14 @@ _wrap_SdkTrayManager_get_trays_layer(int argc, VALUE *argv, VALUE self) {
|
|
10251
11175
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getTraysLayer", 1, self ));
|
10252
11176
|
}
|
10253
11177
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10254
|
-
|
11178
|
+
{
|
11179
|
+
try {
|
11180
|
+
result = (Ogre::Overlay *)(arg1)->getTraysLayer();
|
11181
|
+
} catch(Ogre::Exception& e) {
|
11182
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11183
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11184
|
+
}
|
11185
|
+
}
|
10255
11186
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__Overlay, 0 | 0 );
|
10256
11187
|
return vresult;
|
10257
11188
|
fail:
|
@@ -10275,7 +11206,14 @@ _wrap_SdkTrayManager_get_cursor_layer(int argc, VALUE *argv, VALUE self) {
|
|
10275
11206
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getCursorLayer", 1, self ));
|
10276
11207
|
}
|
10277
11208
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10278
|
-
|
11209
|
+
{
|
11210
|
+
try {
|
11211
|
+
result = (Ogre::Overlay *)(arg1)->getCursorLayer();
|
11212
|
+
} catch(Ogre::Exception& e) {
|
11213
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11214
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11215
|
+
}
|
11216
|
+
}
|
10279
11217
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__Overlay, 0 | 0 );
|
10280
11218
|
return vresult;
|
10281
11219
|
fail:
|
@@ -10299,7 +11237,14 @@ _wrap_SdkTrayManager_get_backdrop_container(int argc, VALUE *argv, VALUE self) {
|
|
10299
11237
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getBackdropContainer", 1, self ));
|
10300
11238
|
}
|
10301
11239
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10302
|
-
|
11240
|
+
{
|
11241
|
+
try {
|
11242
|
+
result = (Ogre::OverlayContainer *)(arg1)->getBackdropContainer();
|
11243
|
+
} catch(Ogre::Exception& e) {
|
11244
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11245
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11246
|
+
}
|
11247
|
+
}
|
10303
11248
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__OverlayContainer, 0 | 0 );
|
10304
11249
|
return vresult;
|
10305
11250
|
fail:
|
@@ -10323,7 +11268,14 @@ _wrap_SdkTrayManager_get_cursor_container(int argc, VALUE *argv, VALUE self) {
|
|
10323
11268
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getCursorContainer", 1, self ));
|
10324
11269
|
}
|
10325
11270
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10326
|
-
|
11271
|
+
{
|
11272
|
+
try {
|
11273
|
+
result = (Ogre::OverlayContainer *)(arg1)->getCursorContainer();
|
11274
|
+
} catch(Ogre::Exception& e) {
|
11275
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11276
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11277
|
+
}
|
11278
|
+
}
|
10327
11279
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__OverlayContainer, 0 | 0 );
|
10328
11280
|
return vresult;
|
10329
11281
|
fail:
|
@@ -10347,7 +11299,14 @@ _wrap_SdkTrayManager_get_cursor_image(int argc, VALUE *argv, VALUE self) {
|
|
10347
11299
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getCursorImage", 1, self ));
|
10348
11300
|
}
|
10349
11301
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10350
|
-
|
11302
|
+
{
|
11303
|
+
try {
|
11304
|
+
result = (Ogre::OverlayElement *)(arg1)->getCursorImage();
|
11305
|
+
} catch(Ogre::Exception& e) {
|
11306
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11307
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11308
|
+
}
|
11309
|
+
}
|
10351
11310
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__OverlayElement, 0 | 0 );
|
10352
11311
|
return vresult;
|
10353
11312
|
fail:
|
@@ -10377,7 +11336,14 @@ _wrap_SdkTrayManager_set_listener(int argc, VALUE *argv, VALUE self) {
|
|
10377
11336
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::SdkTrayListener *","setListener", 2, argv[0] ));
|
10378
11337
|
}
|
10379
11338
|
arg2 = reinterpret_cast< OgreBites::SdkTrayListener * >(argp2);
|
10380
|
-
|
11339
|
+
{
|
11340
|
+
try {
|
11341
|
+
(arg1)->setListener(arg2);
|
11342
|
+
} catch(Ogre::Exception& e) {
|
11343
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11344
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11345
|
+
}
|
11346
|
+
}
|
10381
11347
|
return Qnil;
|
10382
11348
|
fail:
|
10383
11349
|
return Qnil;
|
@@ -10401,7 +11367,14 @@ _wrap_SdkTrayManager_get_listener(int argc, VALUE *argv, VALUE self) {
|
|
10401
11367
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getListener", 1, self ));
|
10402
11368
|
}
|
10403
11369
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10404
|
-
|
11370
|
+
{
|
11371
|
+
try {
|
11372
|
+
result = (OgreBites::SdkTrayListener *)(arg1)->getListener();
|
11373
|
+
} catch(Ogre::Exception& e) {
|
11374
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11375
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11376
|
+
}
|
11377
|
+
}
|
10405
11378
|
director = dynamic_cast<Swig::Director *>(result);
|
10406
11379
|
if (director) {
|
10407
11380
|
vresult = director->swig_get_self();
|
@@ -10428,7 +11401,14 @@ _wrap_SdkTrayManager_show_all(int argc, VALUE *argv, VALUE self) {
|
|
10428
11401
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","showAll", 1, self ));
|
10429
11402
|
}
|
10430
11403
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10431
|
-
|
11404
|
+
{
|
11405
|
+
try {
|
11406
|
+
(arg1)->showAll();
|
11407
|
+
} catch(Ogre::Exception& e) {
|
11408
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11409
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11410
|
+
}
|
11411
|
+
}
|
10432
11412
|
return Qnil;
|
10433
11413
|
fail:
|
10434
11414
|
return Qnil;
|
@@ -10449,7 +11429,14 @@ _wrap_SdkTrayManager_hide_all(int argc, VALUE *argv, VALUE self) {
|
|
10449
11429
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideAll", 1, self ));
|
10450
11430
|
}
|
10451
11431
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10452
|
-
|
11432
|
+
{
|
11433
|
+
try {
|
11434
|
+
(arg1)->hideAll();
|
11435
|
+
} catch(Ogre::Exception& e) {
|
11436
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11437
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11438
|
+
}
|
11439
|
+
}
|
10453
11440
|
return Qnil;
|
10454
11441
|
fail:
|
10455
11442
|
return Qnil;
|
@@ -10483,7 +11470,14 @@ _wrap_SdkTrayManager_show_backdrop__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
10483
11470
|
}
|
10484
11471
|
arg2 = ptr;
|
10485
11472
|
}
|
10486
|
-
|
11473
|
+
{
|
11474
|
+
try {
|
11475
|
+
(arg1)->showBackdrop((Ogre::String const &)*arg2);
|
11476
|
+
} catch(Ogre::Exception& e) {
|
11477
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11478
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11479
|
+
}
|
11480
|
+
}
|
10487
11481
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
10488
11482
|
return Qnil;
|
10489
11483
|
fail:
|
@@ -10506,7 +11500,14 @@ _wrap_SdkTrayManager_show_backdrop__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
10506
11500
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","showBackdrop", 1, self ));
|
10507
11501
|
}
|
10508
11502
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10509
|
-
|
11503
|
+
{
|
11504
|
+
try {
|
11505
|
+
(arg1)->showBackdrop();
|
11506
|
+
} catch(Ogre::Exception& e) {
|
11507
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11508
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11509
|
+
}
|
11510
|
+
}
|
10510
11511
|
return Qnil;
|
10511
11512
|
fail:
|
10512
11513
|
return Qnil;
|
@@ -10570,7 +11571,14 @@ _wrap_SdkTrayManager_hide_backdrop(int argc, VALUE *argv, VALUE self) {
|
|
10570
11571
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideBackdrop", 1, self ));
|
10571
11572
|
}
|
10572
11573
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10573
|
-
|
11574
|
+
{
|
11575
|
+
try {
|
11576
|
+
(arg1)->hideBackdrop();
|
11577
|
+
} catch(Ogre::Exception& e) {
|
11578
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11579
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11580
|
+
}
|
11581
|
+
}
|
10574
11582
|
return Qnil;
|
10575
11583
|
fail:
|
10576
11584
|
return Qnil;
|
@@ -10604,7 +11612,14 @@ _wrap_SdkTrayManager_show_cursor__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
10604
11612
|
}
|
10605
11613
|
arg2 = ptr;
|
10606
11614
|
}
|
10607
|
-
|
11615
|
+
{
|
11616
|
+
try {
|
11617
|
+
(arg1)->showCursor((Ogre::String const &)*arg2);
|
11618
|
+
} catch(Ogre::Exception& e) {
|
11619
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11620
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11621
|
+
}
|
11622
|
+
}
|
10608
11623
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
10609
11624
|
return Qnil;
|
10610
11625
|
fail:
|
@@ -10627,7 +11642,14 @@ _wrap_SdkTrayManager_show_cursor__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
10627
11642
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","showCursor", 1, self ));
|
10628
11643
|
}
|
10629
11644
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10630
|
-
|
11645
|
+
{
|
11646
|
+
try {
|
11647
|
+
(arg1)->showCursor();
|
11648
|
+
} catch(Ogre::Exception& e) {
|
11649
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11650
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11651
|
+
}
|
11652
|
+
}
|
10631
11653
|
return Qnil;
|
10632
11654
|
fail:
|
10633
11655
|
return Qnil;
|
@@ -10691,7 +11713,14 @@ _wrap_SdkTrayManager_hide_cursor(int argc, VALUE *argv, VALUE self) {
|
|
10691
11713
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideCursor", 1, self ));
|
10692
11714
|
}
|
10693
11715
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10694
|
-
|
11716
|
+
{
|
11717
|
+
try {
|
11718
|
+
(arg1)->hideCursor();
|
11719
|
+
} catch(Ogre::Exception& e) {
|
11720
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11721
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11722
|
+
}
|
11723
|
+
}
|
10695
11724
|
return Qnil;
|
10696
11725
|
fail:
|
10697
11726
|
return Qnil;
|
@@ -10712,7 +11741,14 @@ _wrap_SdkTrayManager_refresh_cursor(int argc, VALUE *argv, VALUE self) {
|
|
10712
11741
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","refreshCursor", 1, self ));
|
10713
11742
|
}
|
10714
11743
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10715
|
-
|
11744
|
+
{
|
11745
|
+
try {
|
11746
|
+
(arg1)->refreshCursor();
|
11747
|
+
} catch(Ogre::Exception& e) {
|
11748
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11749
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11750
|
+
}
|
11751
|
+
}
|
10716
11752
|
return Qnil;
|
10717
11753
|
fail:
|
10718
11754
|
return Qnil;
|
@@ -10733,7 +11769,14 @@ _wrap_SdkTrayManager_show_trays(int argc, VALUE *argv, VALUE self) {
|
|
10733
11769
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","showTrays", 1, self ));
|
10734
11770
|
}
|
10735
11771
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10736
|
-
|
11772
|
+
{
|
11773
|
+
try {
|
11774
|
+
(arg1)->showTrays();
|
11775
|
+
} catch(Ogre::Exception& e) {
|
11776
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11777
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11778
|
+
}
|
11779
|
+
}
|
10737
11780
|
return Qnil;
|
10738
11781
|
fail:
|
10739
11782
|
return Qnil;
|
@@ -10754,7 +11797,14 @@ _wrap_SdkTrayManager_hide_trays(int argc, VALUE *argv, VALUE self) {
|
|
10754
11797
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideTrays", 1, self ));
|
10755
11798
|
}
|
10756
11799
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10757
|
-
|
11800
|
+
{
|
11801
|
+
try {
|
11802
|
+
(arg1)->hideTrays();
|
11803
|
+
} catch(Ogre::Exception& e) {
|
11804
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11805
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11806
|
+
}
|
11807
|
+
}
|
10758
11808
|
return Qnil;
|
10759
11809
|
fail:
|
10760
11810
|
return Qnil;
|
@@ -10777,7 +11827,14 @@ _wrap_SdkTrayManager_is_cursor_visible(int argc, VALUE *argv, VALUE self) {
|
|
10777
11827
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","isCursorVisible", 1, self ));
|
10778
11828
|
}
|
10779
11829
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10780
|
-
|
11830
|
+
{
|
11831
|
+
try {
|
11832
|
+
result = (bool)(arg1)->isCursorVisible();
|
11833
|
+
} catch(Ogre::Exception& e) {
|
11834
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11835
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11836
|
+
}
|
11837
|
+
}
|
10781
11838
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
10782
11839
|
return vresult;
|
10783
11840
|
fail:
|
@@ -10801,7 +11858,14 @@ _wrap_SdkTrayManager_is_backdrop_visible(int argc, VALUE *argv, VALUE self) {
|
|
10801
11858
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","isBackdropVisible", 1, self ));
|
10802
11859
|
}
|
10803
11860
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10804
|
-
|
11861
|
+
{
|
11862
|
+
try {
|
11863
|
+
result = (bool)(arg1)->isBackdropVisible();
|
11864
|
+
} catch(Ogre::Exception& e) {
|
11865
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11866
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11867
|
+
}
|
11868
|
+
}
|
10805
11869
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
10806
11870
|
return vresult;
|
10807
11871
|
fail:
|
@@ -10825,7 +11889,14 @@ _wrap_SdkTrayManager_are_trays_visible(int argc, VALUE *argv, VALUE self) {
|
|
10825
11889
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","areTraysVisible", 1, self ));
|
10826
11890
|
}
|
10827
11891
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10828
|
-
|
11892
|
+
{
|
11893
|
+
try {
|
11894
|
+
result = (bool)(arg1)->areTraysVisible();
|
11895
|
+
} catch(Ogre::Exception& e) {
|
11896
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11897
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11898
|
+
}
|
11899
|
+
}
|
10829
11900
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
10830
11901
|
return vresult;
|
10831
11902
|
fail:
|
@@ -10863,7 +11934,14 @@ _wrap_SdkTrayManager_set_tray_widget_alignment(int argc, VALUE *argv, VALUE self
|
|
10863
11934
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "Ogre::GuiHorizontalAlignment","setTrayWidgetAlignment", 3, argv[1] ));
|
10864
11935
|
}
|
10865
11936
|
arg3 = static_cast< Ogre::GuiHorizontalAlignment >(val3);
|
10866
|
-
|
11937
|
+
{
|
11938
|
+
try {
|
11939
|
+
(arg1)->setTrayWidgetAlignment(arg2,arg3);
|
11940
|
+
} catch(Ogre::Exception& e) {
|
11941
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11942
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11943
|
+
}
|
11944
|
+
}
|
10867
11945
|
return Qnil;
|
10868
11946
|
fail:
|
10869
11947
|
return Qnil;
|
@@ -10892,7 +11970,14 @@ _wrap_SdkTrayManager_set_widget_padding(int argc, VALUE *argv, VALUE self) {
|
|
10892
11970
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setWidgetPadding", 2, argv[0] ));
|
10893
11971
|
}
|
10894
11972
|
arg2 = static_cast< Ogre::Real >(val2);
|
10895
|
-
|
11973
|
+
{
|
11974
|
+
try {
|
11975
|
+
(arg1)->setWidgetPadding(arg2);
|
11976
|
+
} catch(Ogre::Exception& e) {
|
11977
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
11978
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
11979
|
+
}
|
11980
|
+
}
|
10896
11981
|
return Qnil;
|
10897
11982
|
fail:
|
10898
11983
|
return Qnil;
|
@@ -10921,7 +12006,14 @@ _wrap_SdkTrayManager_set_widget_spacing(int argc, VALUE *argv, VALUE self) {
|
|
10921
12006
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setWidgetSpacing", 2, argv[0] ));
|
10922
12007
|
}
|
10923
12008
|
arg2 = static_cast< Ogre::Real >(val2);
|
10924
|
-
|
12009
|
+
{
|
12010
|
+
try {
|
12011
|
+
(arg1)->setWidgetSpacing(arg2);
|
12012
|
+
} catch(Ogre::Exception& e) {
|
12013
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12014
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12015
|
+
}
|
12016
|
+
}
|
10925
12017
|
return Qnil;
|
10926
12018
|
fail:
|
10927
12019
|
return Qnil;
|
@@ -10950,7 +12042,14 @@ _wrap_SdkTrayManager_set_tray_padding(int argc, VALUE *argv, VALUE self) {
|
|
10950
12042
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setTrayPadding", 2, argv[0] ));
|
10951
12043
|
}
|
10952
12044
|
arg2 = static_cast< Ogre::Real >(val2);
|
10953
|
-
|
12045
|
+
{
|
12046
|
+
try {
|
12047
|
+
(arg1)->setTrayPadding(arg2);
|
12048
|
+
} catch(Ogre::Exception& e) {
|
12049
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12050
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12051
|
+
}
|
12052
|
+
}
|
10954
12053
|
return Qnil;
|
10955
12054
|
fail:
|
10956
12055
|
return Qnil;
|
@@ -10973,7 +12072,14 @@ _wrap_SdkTrayManager_get_widget_padding(int argc, VALUE *argv, VALUE self) {
|
|
10973
12072
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager const *","getWidgetPadding", 1, self ));
|
10974
12073
|
}
|
10975
12074
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
10976
|
-
|
12075
|
+
{
|
12076
|
+
try {
|
12077
|
+
result = (Ogre::Real)((OgreBites::SdkTrayManager const *)arg1)->getWidgetPadding();
|
12078
|
+
} catch(Ogre::Exception& e) {
|
12079
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12080
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12081
|
+
}
|
12082
|
+
}
|
10977
12083
|
vresult = SWIG_From_float(static_cast< float >(result));
|
10978
12084
|
return vresult;
|
10979
12085
|
fail:
|
@@ -10997,7 +12103,14 @@ _wrap_SdkTrayManager_get_widget_spacing(int argc, VALUE *argv, VALUE self) {
|
|
10997
12103
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager const *","getWidgetSpacing", 1, self ));
|
10998
12104
|
}
|
10999
12105
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
11000
|
-
|
12106
|
+
{
|
12107
|
+
try {
|
12108
|
+
result = (Ogre::Real)((OgreBites::SdkTrayManager const *)arg1)->getWidgetSpacing();
|
12109
|
+
} catch(Ogre::Exception& e) {
|
12110
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12111
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12112
|
+
}
|
12113
|
+
}
|
11001
12114
|
vresult = SWIG_From_float(static_cast< float >(result));
|
11002
12115
|
return vresult;
|
11003
12116
|
fail:
|
@@ -11021,7 +12134,14 @@ _wrap_SdkTrayManager_get_tray_padding(int argc, VALUE *argv, VALUE self) {
|
|
11021
12134
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager const *","getTrayPadding", 1, self ));
|
11022
12135
|
}
|
11023
12136
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
11024
|
-
|
12137
|
+
{
|
12138
|
+
try {
|
12139
|
+
result = (Ogre::Real)((OgreBites::SdkTrayManager const *)arg1)->getTrayPadding();
|
12140
|
+
} catch(Ogre::Exception& e) {
|
12141
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12142
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12143
|
+
}
|
12144
|
+
}
|
11025
12145
|
vresult = SWIG_From_float(static_cast< float >(result));
|
11026
12146
|
return vresult;
|
11027
12147
|
fail:
|
@@ -11043,7 +12163,14 @@ _wrap_SdkTrayManager_adjust_trays(int argc, VALUE *argv, VALUE self) {
|
|
11043
12163
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","adjustTrays", 1, self ));
|
11044
12164
|
}
|
11045
12165
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
11046
|
-
|
12166
|
+
{
|
12167
|
+
try {
|
12168
|
+
(arg1)->adjustTrays();
|
12169
|
+
} catch(Ogre::Exception& e) {
|
12170
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12171
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12172
|
+
}
|
12173
|
+
}
|
11047
12174
|
return Qnil;
|
11048
12175
|
fail:
|
11049
12176
|
return Qnil;
|
@@ -11074,7 +12201,14 @@ _wrap_SdkTrayManager_get_cursor_ray(int argc, VALUE *argv, VALUE self) {
|
|
11074
12201
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::Camera *","getCursorRay", 2, argv[0] ));
|
11075
12202
|
}
|
11076
12203
|
arg2 = reinterpret_cast< Ogre::Camera * >(argp2);
|
11077
|
-
|
12204
|
+
{
|
12205
|
+
try {
|
12206
|
+
result = (arg1)->getCursorRay(arg2);
|
12207
|
+
} catch(Ogre::Exception& e) {
|
12208
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12209
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12210
|
+
}
|
12211
|
+
}
|
11078
12212
|
vresult = SWIG_NewPointerObj((new Ogre::Ray(static_cast< const Ogre::Ray& >(result))), SWIGTYPE_p_Ogre__Ray, SWIG_POINTER_OWN | 0 );
|
11079
12213
|
return vresult;
|
11080
12214
|
fail:
|
@@ -11140,7 +12274,14 @@ _wrap_SdkTrayManager_create_button__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
11140
12274
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "Ogre::Real","createButton", 5, argv[3] ));
|
11141
12275
|
}
|
11142
12276
|
arg5 = static_cast< Ogre::Real >(val5);
|
11143
|
-
|
12277
|
+
{
|
12278
|
+
try {
|
12279
|
+
result = (OgreBites::Button *)(arg1)->createButton(arg2,(Ogre::String const &)*arg3,(Ogre::String const &)*arg4,arg5);
|
12280
|
+
} catch(Ogre::Exception& e) {
|
12281
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12282
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12283
|
+
}
|
12284
|
+
}
|
11144
12285
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Button, 0 | 0 );
|
11145
12286
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11146
12287
|
if (SWIG_IsNewObj(res4)) delete arg4;
|
@@ -11202,7 +12343,14 @@ _wrap_SdkTrayManager_create_button__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
11202
12343
|
}
|
11203
12344
|
arg4 = ptr;
|
11204
12345
|
}
|
11205
|
-
|
12346
|
+
{
|
12347
|
+
try {
|
12348
|
+
result = (OgreBites::Button *)(arg1)->createButton(arg2,(Ogre::String const &)*arg3,(Ogre::String const &)*arg4);
|
12349
|
+
} catch(Ogre::Exception& e) {
|
12350
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12351
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12352
|
+
}
|
12353
|
+
}
|
11206
12354
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Button, 0 | 0 );
|
11207
12355
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11208
12356
|
if (SWIG_IsNewObj(res4)) delete arg4;
|
@@ -11351,7 +12499,14 @@ _wrap_SdkTrayManager_create_text_box(int argc, VALUE *argv, VALUE self) {
|
|
11351
12499
|
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "Ogre::Real","createTextBox", 6, argv[4] ));
|
11352
12500
|
}
|
11353
12501
|
arg6 = static_cast< Ogre::Real >(val6);
|
11354
|
-
|
12502
|
+
{
|
12503
|
+
try {
|
12504
|
+
result = (OgreBites::TextBox *)(arg1)->createTextBox(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6);
|
12505
|
+
} catch(Ogre::Exception& e) {
|
12506
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12507
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12508
|
+
}
|
12509
|
+
}
|
11355
12510
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__TextBox, 0 | 0 );
|
11356
12511
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11357
12512
|
return vresult;
|
@@ -11436,7 +12591,14 @@ _wrap_SdkTrayManager_create_thick_select_menu__SWIG_0(int argc, VALUE *argv, VAL
|
|
11436
12591
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","createThickSelectMenu", 7, argv[5]));
|
11437
12592
|
}
|
11438
12593
|
arg7 = reinterpret_cast< Ogre::StringVector * >(argp7);
|
11439
|
-
|
12594
|
+
{
|
12595
|
+
try {
|
12596
|
+
result = (OgreBites::SelectMenu *)(arg1)->createThickSelectMenu(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,(Ogre::StringVector const &)*arg7);
|
12597
|
+
} catch(Ogre::Exception& e) {
|
12598
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12599
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12600
|
+
}
|
12601
|
+
}
|
11440
12602
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
11441
12603
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11442
12604
|
return vresult;
|
@@ -11510,7 +12672,14 @@ _wrap_SdkTrayManager_create_thick_select_menu__SWIG_1(int argc, VALUE *argv, VAL
|
|
11510
12672
|
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "unsigned int","createThickSelectMenu", 6, argv[4] ));
|
11511
12673
|
}
|
11512
12674
|
arg6 = static_cast< unsigned int >(val6);
|
11513
|
-
|
12675
|
+
{
|
12676
|
+
try {
|
12677
|
+
result = (OgreBites::SelectMenu *)(arg1)->createThickSelectMenu(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6);
|
12678
|
+
} catch(Ogre::Exception& e) {
|
12679
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12680
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12681
|
+
}
|
12682
|
+
}
|
11514
12683
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
11515
12684
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11516
12685
|
return vresult;
|
@@ -11701,7 +12870,14 @@ _wrap_SdkTrayManager_create_long_select_menu__SWIG_0(int argc, VALUE *argv, VALU
|
|
11701
12870
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","createLongSelectMenu", 8, argv[6]));
|
11702
12871
|
}
|
11703
12872
|
arg8 = reinterpret_cast< Ogre::StringVector * >(argp8);
|
11704
|
-
|
12873
|
+
{
|
12874
|
+
try {
|
12875
|
+
result = (OgreBites::SelectMenu *)(arg1)->createLongSelectMenu(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,arg7,(Ogre::StringVector const &)*arg8);
|
12876
|
+
} catch(Ogre::Exception& e) {
|
12877
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12878
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12879
|
+
}
|
12880
|
+
}
|
11705
12881
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
11706
12882
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11707
12883
|
return vresult;
|
@@ -11783,7 +12959,14 @@ _wrap_SdkTrayManager_create_long_select_menu__SWIG_1(int argc, VALUE *argv, VALU
|
|
11783
12959
|
SWIG_exception_fail(SWIG_ArgError(ecode7), Ruby_Format_TypeError( "", "unsigned int","createLongSelectMenu", 7, argv[5] ));
|
11784
12960
|
}
|
11785
12961
|
arg7 = static_cast< unsigned int >(val7);
|
11786
|
-
|
12962
|
+
{
|
12963
|
+
try {
|
12964
|
+
result = (OgreBites::SelectMenu *)(arg1)->createLongSelectMenu(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,arg7);
|
12965
|
+
} catch(Ogre::Exception& e) {
|
12966
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
12967
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
12968
|
+
}
|
12969
|
+
}
|
11787
12970
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
11788
12971
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11789
12972
|
return vresult;
|
@@ -11868,7 +13051,14 @@ _wrap_SdkTrayManager_create_long_select_menu__SWIG_2(int argc, VALUE *argv, VALU
|
|
11868
13051
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","createLongSelectMenu", 7, argv[5]));
|
11869
13052
|
}
|
11870
13053
|
arg7 = reinterpret_cast< Ogre::StringVector * >(argp7);
|
11871
|
-
|
13054
|
+
{
|
13055
|
+
try {
|
13056
|
+
result = (OgreBites::SelectMenu *)(arg1)->createLongSelectMenu(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,(Ogre::StringVector const &)*arg7);
|
13057
|
+
} catch(Ogre::Exception& e) {
|
13058
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13059
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13060
|
+
}
|
13061
|
+
}
|
11872
13062
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
11873
13063
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11874
13064
|
return vresult;
|
@@ -11942,7 +13132,14 @@ _wrap_SdkTrayManager_create_long_select_menu__SWIG_3(int argc, VALUE *argv, VALU
|
|
11942
13132
|
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "unsigned int","createLongSelectMenu", 6, argv[4] ));
|
11943
13133
|
}
|
11944
13134
|
arg6 = static_cast< unsigned int >(val6);
|
11945
|
-
|
13135
|
+
{
|
13136
|
+
try {
|
13137
|
+
result = (OgreBites::SelectMenu *)(arg1)->createLongSelectMenu(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6);
|
13138
|
+
} catch(Ogre::Exception& e) {
|
13139
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13140
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13141
|
+
}
|
13142
|
+
}
|
11946
13143
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__SelectMenu, 0 | 0 );
|
11947
13144
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
11948
13145
|
return vresult;
|
@@ -12197,7 +13394,14 @@ _wrap_SdkTrayManager_create_label__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
12197
13394
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "Ogre::Real","createLabel", 5, argv[3] ));
|
12198
13395
|
}
|
12199
13396
|
arg5 = static_cast< Ogre::Real >(val5);
|
12200
|
-
|
13397
|
+
{
|
13398
|
+
try {
|
13399
|
+
result = (OgreBites::Label *)(arg1)->createLabel(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5);
|
13400
|
+
} catch(Ogre::Exception& e) {
|
13401
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13402
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13403
|
+
}
|
13404
|
+
}
|
12201
13405
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Label, 0 | 0 );
|
12202
13406
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12203
13407
|
return vresult;
|
@@ -12255,7 +13459,14 @@ _wrap_SdkTrayManager_create_label__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
12255
13459
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","createLabel", 4, argv[2]));
|
12256
13460
|
}
|
12257
13461
|
arg4 = reinterpret_cast< Ogre::DisplayString * >(argp4);
|
12258
|
-
|
13462
|
+
{
|
13463
|
+
try {
|
13464
|
+
result = (OgreBites::Label *)(arg1)->createLabel(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4);
|
13465
|
+
} catch(Ogre::Exception& e) {
|
13466
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13467
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13468
|
+
}
|
13469
|
+
}
|
12259
13470
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Label, 0 | 0 );
|
12260
13471
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12261
13472
|
return vresult;
|
@@ -12385,7 +13596,14 @@ _wrap_SdkTrayManager_create_separator__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
12385
13596
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "Ogre::Real","createSeparator", 4, argv[2] ));
|
12386
13597
|
}
|
12387
13598
|
arg4 = static_cast< Ogre::Real >(val4);
|
12388
|
-
|
13599
|
+
{
|
13600
|
+
try {
|
13601
|
+
result = (OgreBites::Separator *)(arg1)->createSeparator(arg2,(Ogre::String const &)*arg3,arg4);
|
13602
|
+
} catch(Ogre::Exception& e) {
|
13603
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13604
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13605
|
+
}
|
13606
|
+
}
|
12389
13607
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Separator, 0 | 0 );
|
12390
13608
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12391
13609
|
return vresult;
|
@@ -12432,7 +13650,14 @@ _wrap_SdkTrayManager_create_separator__SWIG_1(int argc, VALUE *argv, VALUE self)
|
|
12432
13650
|
}
|
12433
13651
|
arg3 = ptr;
|
12434
13652
|
}
|
12435
|
-
|
13653
|
+
{
|
13654
|
+
try {
|
13655
|
+
result = (OgreBites::Separator *)(arg1)->createSeparator(arg2,(Ogre::String const &)*arg3);
|
13656
|
+
} catch(Ogre::Exception& e) {
|
13657
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13658
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13659
|
+
}
|
13660
|
+
}
|
12436
13661
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Separator, 0 | 0 );
|
12437
13662
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12438
13663
|
return vresult;
|
@@ -12595,7 +13820,14 @@ _wrap_SdkTrayManager_create_thick_slider(int argc, VALUE *argv, VALUE self) {
|
|
12595
13820
|
SWIG_exception_fail(SWIG_ArgError(ecode9), Ruby_Format_TypeError( "", "unsigned int","createThickSlider", 9, argv[7] ));
|
12596
13821
|
}
|
12597
13822
|
arg9 = static_cast< unsigned int >(val9);
|
12598
|
-
|
13823
|
+
{
|
13824
|
+
try {
|
13825
|
+
result = (OgreBites::Slider *)(arg1)->createThickSlider(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,arg7,arg8,arg9);
|
13826
|
+
} catch(Ogre::Exception& e) {
|
13827
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13828
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13829
|
+
}
|
13830
|
+
}
|
12599
13831
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Slider, 0 | 0 );
|
12600
13832
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12601
13833
|
return vresult;
|
@@ -12701,7 +13933,14 @@ _wrap_SdkTrayManager_create_long_slider__SWIG_0(int argc, VALUE *argv, VALUE sel
|
|
12701
13933
|
SWIG_exception_fail(SWIG_ArgError(ecode10), Ruby_Format_TypeError( "", "unsigned int","createLongSlider", 10, argv[8] ));
|
12702
13934
|
}
|
12703
13935
|
arg10 = static_cast< unsigned int >(val10);
|
12704
|
-
|
13936
|
+
{
|
13937
|
+
try {
|
13938
|
+
result = (OgreBites::Slider *)(arg1)->createLongSlider(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10);
|
13939
|
+
} catch(Ogre::Exception& e) {
|
13940
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
13941
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
13942
|
+
}
|
13943
|
+
}
|
12705
13944
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Slider, 0 | 0 );
|
12706
13945
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12707
13946
|
return vresult;
|
@@ -12799,7 +14038,14 @@ _wrap_SdkTrayManager_create_long_slider__SWIG_1(int argc, VALUE *argv, VALUE sel
|
|
12799
14038
|
SWIG_exception_fail(SWIG_ArgError(ecode9), Ruby_Format_TypeError( "", "unsigned int","createLongSlider", 9, argv[7] ));
|
12800
14039
|
}
|
12801
14040
|
arg9 = static_cast< unsigned int >(val9);
|
12802
|
-
|
14041
|
+
{
|
14042
|
+
try {
|
14043
|
+
result = (OgreBites::Slider *)(arg1)->createLongSlider(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6,arg7,arg8,arg9);
|
14044
|
+
} catch(Ogre::Exception& e) {
|
14045
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14046
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14047
|
+
}
|
14048
|
+
}
|
12803
14049
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Slider, 0 | 0 );
|
12804
14050
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
12805
14051
|
return vresult;
|
@@ -12997,7 +14243,14 @@ _wrap_SdkTrayManager_create_params_panel__SWIG_0(int argc, VALUE *argv, VALUE se
|
|
12997
14243
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "unsigned int","createParamsPanel", 5, argv[3] ));
|
12998
14244
|
}
|
12999
14245
|
arg5 = static_cast< unsigned int >(val5);
|
13000
|
-
|
14246
|
+
{
|
14247
|
+
try {
|
14248
|
+
result = (OgreBites::ParamsPanel *)(arg1)->createParamsPanel(arg2,(Ogre::String const &)*arg3,arg4,arg5);
|
14249
|
+
} catch(Ogre::Exception& e) {
|
14250
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14251
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14252
|
+
}
|
14253
|
+
}
|
13001
14254
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__ParamsPanel, 0 | 0 );
|
13002
14255
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
13003
14256
|
return vresult;
|
@@ -13063,7 +14316,14 @@ _wrap_SdkTrayManager_create_params_panel__SWIG_1(int argc, VALUE *argv, VALUE se
|
|
13063
14316
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::StringVector const &","createParamsPanel", 5, argv[3]));
|
13064
14317
|
}
|
13065
14318
|
arg5 = reinterpret_cast< Ogre::StringVector * >(argp5);
|
13066
|
-
|
14319
|
+
{
|
14320
|
+
try {
|
14321
|
+
result = (OgreBites::ParamsPanel *)(arg1)->createParamsPanel(arg2,(Ogre::String const &)*arg3,arg4,(Ogre::StringVector const &)*arg5);
|
14322
|
+
} catch(Ogre::Exception& e) {
|
14323
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14324
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14325
|
+
}
|
14326
|
+
}
|
13067
14327
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__ParamsPanel, 0 | 0 );
|
13068
14328
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
13069
14329
|
return vresult;
|
@@ -13129,7 +14389,14 @@ _wrap_SdkTrayManager_create_check_box__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
13129
14389
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "Ogre::Real","createCheckBox", 5, argv[3] ));
|
13130
14390
|
}
|
13131
14391
|
arg5 = static_cast< Ogre::Real >(val5);
|
13132
|
-
|
14392
|
+
{
|
14393
|
+
try {
|
14394
|
+
result = (OgreBites::CheckBox *)(arg1)->createCheckBox(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5);
|
14395
|
+
} catch(Ogre::Exception& e) {
|
14396
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14397
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14398
|
+
}
|
14399
|
+
}
|
13133
14400
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__CheckBox, 0 | 0 );
|
13134
14401
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
13135
14402
|
return vresult;
|
@@ -13187,7 +14454,14 @@ _wrap_SdkTrayManager_create_check_box__SWIG_1(int argc, VALUE *argv, VALUE self)
|
|
13187
14454
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","createCheckBox", 4, argv[2]));
|
13188
14455
|
}
|
13189
14456
|
arg4 = reinterpret_cast< Ogre::DisplayString * >(argp4);
|
13190
|
-
|
14457
|
+
{
|
14458
|
+
try {
|
14459
|
+
result = (OgreBites::CheckBox *)(arg1)->createCheckBox(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4);
|
14460
|
+
} catch(Ogre::Exception& e) {
|
14461
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14462
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14463
|
+
}
|
14464
|
+
}
|
13191
14465
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__CheckBox, 0 | 0 );
|
13192
14466
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
13193
14467
|
return vresult;
|
@@ -13322,7 +14596,14 @@ _wrap_SdkTrayManager_create_decor_widget(int argc, VALUE *argv, VALUE self) {
|
|
13322
14596
|
}
|
13323
14597
|
arg4 = ptr;
|
13324
14598
|
}
|
13325
|
-
|
14599
|
+
{
|
14600
|
+
try {
|
14601
|
+
result = (OgreBites::DecorWidget *)(arg1)->createDecorWidget(arg2,(Ogre::String const &)*arg3,(Ogre::String const &)*arg4);
|
14602
|
+
} catch(Ogre::Exception& e) {
|
14603
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14604
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14605
|
+
}
|
14606
|
+
}
|
13326
14607
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__DecorWidget, 0 | 0 );
|
13327
14608
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
13328
14609
|
if (SWIG_IsNewObj(res4)) delete arg4;
|
@@ -13398,7 +14679,14 @@ _wrap_SdkTrayManager_create_progress_bar(int argc, VALUE *argv, VALUE self) {
|
|
13398
14679
|
SWIG_exception_fail(SWIG_ArgError(ecode6), Ruby_Format_TypeError( "", "Ogre::Real","createProgressBar", 6, argv[4] ));
|
13399
14680
|
}
|
13400
14681
|
arg6 = static_cast< Ogre::Real >(val6);
|
13401
|
-
|
14682
|
+
{
|
14683
|
+
try {
|
14684
|
+
result = (OgreBites::ProgressBar *)(arg1)->createProgressBar(arg2,(Ogre::String const &)*arg3,(Ogre::DisplayString const &)*arg4,arg5,arg6);
|
14685
|
+
} catch(Ogre::Exception& e) {
|
14686
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14687
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14688
|
+
}
|
14689
|
+
}
|
13402
14690
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__ProgressBar, 0 | 0 );
|
13403
14691
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
13404
14692
|
return vresult;
|
@@ -13438,7 +14726,14 @@ _wrap_SdkTrayManager_show_frame_stats__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
13438
14726
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","showFrameStats", 3, argv[1] ));
|
13439
14727
|
}
|
13440
14728
|
arg3 = static_cast< int >(val3);
|
13441
|
-
|
14729
|
+
{
|
14730
|
+
try {
|
14731
|
+
(arg1)->showFrameStats(arg2,arg3);
|
14732
|
+
} catch(Ogre::Exception& e) {
|
14733
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14734
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14735
|
+
}
|
14736
|
+
}
|
13442
14737
|
return Qnil;
|
13443
14738
|
fail:
|
13444
14739
|
return Qnil;
|
@@ -13467,7 +14762,14 @@ _wrap_SdkTrayManager_show_frame_stats__SWIG_1(int argc, VALUE *argv, VALUE self)
|
|
13467
14762
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","showFrameStats", 2, argv[0] ));
|
13468
14763
|
}
|
13469
14764
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
13470
|
-
|
14765
|
+
{
|
14766
|
+
try {
|
14767
|
+
(arg1)->showFrameStats(arg2);
|
14768
|
+
} catch(Ogre::Exception& e) {
|
14769
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14770
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14771
|
+
}
|
14772
|
+
}
|
13471
14773
|
return Qnil;
|
13472
14774
|
fail:
|
13473
14775
|
return Qnil;
|
@@ -13545,7 +14847,14 @@ _wrap_SdkTrayManager_hide_frame_stats(int argc, VALUE *argv, VALUE self) {
|
|
13545
14847
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideFrameStats", 1, self ));
|
13546
14848
|
}
|
13547
14849
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
13548
|
-
|
14850
|
+
{
|
14851
|
+
try {
|
14852
|
+
(arg1)->hideFrameStats();
|
14853
|
+
} catch(Ogre::Exception& e) {
|
14854
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14855
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14856
|
+
}
|
14857
|
+
}
|
13549
14858
|
return Qnil;
|
13550
14859
|
fail:
|
13551
14860
|
return Qnil;
|
@@ -13568,7 +14877,14 @@ _wrap_SdkTrayManager_are_frame_stats_visible(int argc, VALUE *argv, VALUE self)
|
|
13568
14877
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","areFrameStatsVisible", 1, self ));
|
13569
14878
|
}
|
13570
14879
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
13571
|
-
|
14880
|
+
{
|
14881
|
+
try {
|
14882
|
+
result = (bool)(arg1)->areFrameStatsVisible();
|
14883
|
+
} catch(Ogre::Exception& e) {
|
14884
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14885
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14886
|
+
}
|
14887
|
+
}
|
13572
14888
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
13573
14889
|
return vresult;
|
13574
14890
|
fail:
|
@@ -13590,7 +14906,14 @@ _wrap_SdkTrayManager_toggle_advanced_frame_stats(int argc, VALUE *argv, VALUE se
|
|
13590
14906
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","toggleAdvancedFrameStats", 1, self ));
|
13591
14907
|
}
|
13592
14908
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
13593
|
-
|
14909
|
+
{
|
14910
|
+
try {
|
14911
|
+
(arg1)->toggleAdvancedFrameStats();
|
14912
|
+
} catch(Ogre::Exception& e) {
|
14913
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14914
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14915
|
+
}
|
14916
|
+
}
|
13594
14917
|
return Qnil;
|
13595
14918
|
fail:
|
13596
14919
|
return Qnil;
|
@@ -13627,7 +14950,14 @@ _wrap_SdkTrayManager_show_logo__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
13627
14950
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","showLogo", 3, argv[1] ));
|
13628
14951
|
}
|
13629
14952
|
arg3 = static_cast< int >(val3);
|
13630
|
-
|
14953
|
+
{
|
14954
|
+
try {
|
14955
|
+
(arg1)->showLogo(arg2,arg3);
|
14956
|
+
} catch(Ogre::Exception& e) {
|
14957
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14958
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14959
|
+
}
|
14960
|
+
}
|
13631
14961
|
return Qnil;
|
13632
14962
|
fail:
|
13633
14963
|
return Qnil;
|
@@ -13656,7 +14986,14 @@ _wrap_SdkTrayManager_show_logo__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
13656
14986
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","showLogo", 2, argv[0] ));
|
13657
14987
|
}
|
13658
14988
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
13659
|
-
|
14989
|
+
{
|
14990
|
+
try {
|
14991
|
+
(arg1)->showLogo(arg2);
|
14992
|
+
} catch(Ogre::Exception& e) {
|
14993
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
14994
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
14995
|
+
}
|
14996
|
+
}
|
13660
14997
|
return Qnil;
|
13661
14998
|
fail:
|
13662
14999
|
return Qnil;
|
@@ -13734,7 +15071,14 @@ _wrap_SdkTrayManager_hide_logo(int argc, VALUE *argv, VALUE self) {
|
|
13734
15071
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideLogo", 1, self ));
|
13735
15072
|
}
|
13736
15073
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
13737
|
-
|
15074
|
+
{
|
15075
|
+
try {
|
15076
|
+
(arg1)->hideLogo();
|
15077
|
+
} catch(Ogre::Exception& e) {
|
15078
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15079
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15080
|
+
}
|
15081
|
+
}
|
13738
15082
|
return Qnil;
|
13739
15083
|
fail:
|
13740
15084
|
return Qnil;
|
@@ -13757,7 +15101,14 @@ _wrap_SdkTrayManager_is_logo_visible(int argc, VALUE *argv, VALUE self) {
|
|
13757
15101
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","isLogoVisible", 1, self ));
|
13758
15102
|
}
|
13759
15103
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
13760
|
-
|
15104
|
+
{
|
15105
|
+
try {
|
15106
|
+
result = (bool)(arg1)->isLogoVisible();
|
15107
|
+
} catch(Ogre::Exception& e) {
|
15108
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15109
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15110
|
+
}
|
15111
|
+
}
|
13761
15112
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
13762
15113
|
return vresult;
|
13763
15114
|
fail:
|
@@ -13803,7 +15154,14 @@ _wrap_SdkTrayManager_show_loading_bar__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
13803
15154
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "Ogre::Real","showLoadingBar", 4, argv[2] ));
|
13804
15155
|
}
|
13805
15156
|
arg4 = static_cast< Ogre::Real >(val4);
|
13806
|
-
|
15157
|
+
{
|
15158
|
+
try {
|
15159
|
+
(arg1)->showLoadingBar(arg2,arg3,arg4);
|
15160
|
+
} catch(Ogre::Exception& e) {
|
15161
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15162
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15163
|
+
}
|
15164
|
+
}
|
13807
15165
|
return Qnil;
|
13808
15166
|
fail:
|
13809
15167
|
return Qnil;
|
@@ -13840,7 +15198,14 @@ _wrap_SdkTrayManager_show_loading_bar__SWIG_1(int argc, VALUE *argv, VALUE self)
|
|
13840
15198
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","showLoadingBar", 3, argv[1] ));
|
13841
15199
|
}
|
13842
15200
|
arg3 = static_cast< unsigned int >(val3);
|
13843
|
-
|
15201
|
+
{
|
15202
|
+
try {
|
15203
|
+
(arg1)->showLoadingBar(arg2,arg3);
|
15204
|
+
} catch(Ogre::Exception& e) {
|
15205
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15206
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15207
|
+
}
|
15208
|
+
}
|
13844
15209
|
return Qnil;
|
13845
15210
|
fail:
|
13846
15211
|
return Qnil;
|
@@ -13869,7 +15234,14 @@ _wrap_SdkTrayManager_show_loading_bar__SWIG_2(int argc, VALUE *argv, VALUE self)
|
|
13869
15234
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "unsigned int","showLoadingBar", 2, argv[0] ));
|
13870
15235
|
}
|
13871
15236
|
arg2 = static_cast< unsigned int >(val2);
|
13872
|
-
|
15237
|
+
{
|
15238
|
+
try {
|
15239
|
+
(arg1)->showLoadingBar(arg2);
|
15240
|
+
} catch(Ogre::Exception& e) {
|
15241
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15242
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15243
|
+
}
|
15244
|
+
}
|
13873
15245
|
return Qnil;
|
13874
15246
|
fail:
|
13875
15247
|
return Qnil;
|
@@ -13890,7 +15262,14 @@ _wrap_SdkTrayManager_show_loading_bar__SWIG_3(int argc, VALUE *argv, VALUE self)
|
|
13890
15262
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","showLoadingBar", 1, self ));
|
13891
15263
|
}
|
13892
15264
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
13893
|
-
|
15265
|
+
{
|
15266
|
+
try {
|
15267
|
+
(arg1)->showLoadingBar();
|
15268
|
+
} catch(Ogre::Exception& e) {
|
15269
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15270
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15271
|
+
}
|
15272
|
+
}
|
13894
15273
|
return Qnil;
|
13895
15274
|
fail:
|
13896
15275
|
return Qnil;
|
@@ -14006,7 +15385,14 @@ _wrap_SdkTrayManager_hide_loading_bar(int argc, VALUE *argv, VALUE self) {
|
|
14006
15385
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","hideLoadingBar", 1, self ));
|
14007
15386
|
}
|
14008
15387
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
14009
|
-
|
15388
|
+
{
|
15389
|
+
try {
|
15390
|
+
(arg1)->hideLoadingBar();
|
15391
|
+
} catch(Ogre::Exception& e) {
|
15392
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15393
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15394
|
+
}
|
15395
|
+
}
|
14010
15396
|
return Qnil;
|
14011
15397
|
fail:
|
14012
15398
|
return Qnil;
|
@@ -14029,7 +15415,14 @@ _wrap_SdkTrayManager_is_loading_bar_visible(int argc, VALUE *argv, VALUE self) {
|
|
14029
15415
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","isLoadingBarVisible", 1, self ));
|
14030
15416
|
}
|
14031
15417
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
14032
|
-
|
15418
|
+
{
|
15419
|
+
try {
|
15420
|
+
result = (bool)(arg1)->isLoadingBarVisible();
|
15421
|
+
} catch(Ogre::Exception& e) {
|
15422
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15423
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15424
|
+
}
|
15425
|
+
}
|
14033
15426
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
14034
15427
|
return vresult;
|
14035
15428
|
fail:
|
@@ -14073,7 +15466,14 @@ _wrap_SdkTrayManager_show_ok_dialog(int argc, VALUE *argv, VALUE self) {
|
|
14073
15466
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","showOkDialog", 3, argv[1]));
|
14074
15467
|
}
|
14075
15468
|
arg3 = reinterpret_cast< Ogre::DisplayString * >(argp3);
|
14076
|
-
|
15469
|
+
{
|
15470
|
+
try {
|
15471
|
+
(arg1)->showOkDialog((Ogre::DisplayString const &)*arg2,(Ogre::DisplayString const &)*arg3);
|
15472
|
+
} catch(Ogre::Exception& e) {
|
15473
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15474
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15475
|
+
}
|
15476
|
+
}
|
14077
15477
|
return Qnil;
|
14078
15478
|
fail:
|
14079
15479
|
return Qnil;
|
@@ -14116,7 +15516,14 @@ _wrap_SdkTrayManager_show_yes_no_dialog(int argc, VALUE *argv, VALUE self) {
|
|
14116
15516
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::DisplayString const &","showYesNoDialog", 3, argv[1]));
|
14117
15517
|
}
|
14118
15518
|
arg3 = reinterpret_cast< Ogre::DisplayString * >(argp3);
|
14119
|
-
|
15519
|
+
{
|
15520
|
+
try {
|
15521
|
+
(arg1)->showYesNoDialog((Ogre::DisplayString const &)*arg2,(Ogre::DisplayString const &)*arg3);
|
15522
|
+
} catch(Ogre::Exception& e) {
|
15523
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15524
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15525
|
+
}
|
15526
|
+
}
|
14120
15527
|
return Qnil;
|
14121
15528
|
fail:
|
14122
15529
|
return Qnil;
|
@@ -14137,7 +15544,14 @@ _wrap_SdkTrayManager_close_dialog(int argc, VALUE *argv, VALUE self) {
|
|
14137
15544
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","closeDialog", 1, self ));
|
14138
15545
|
}
|
14139
15546
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
14140
|
-
|
15547
|
+
{
|
15548
|
+
try {
|
15549
|
+
(arg1)->closeDialog();
|
15550
|
+
} catch(Ogre::Exception& e) {
|
15551
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15552
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15553
|
+
}
|
15554
|
+
}
|
14141
15555
|
return Qnil;
|
14142
15556
|
fail:
|
14143
15557
|
return Qnil;
|
@@ -14160,7 +15574,14 @@ _wrap_SdkTrayManager_is_dialog_visible(int argc, VALUE *argv, VALUE self) {
|
|
14160
15574
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","isDialogVisible", 1, self ));
|
14161
15575
|
}
|
14162
15576
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
14163
|
-
|
15577
|
+
{
|
15578
|
+
try {
|
15579
|
+
result = (bool)(arg1)->isDialogVisible();
|
15580
|
+
} catch(Ogre::Exception& e) {
|
15581
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15582
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15583
|
+
}
|
15584
|
+
}
|
14164
15585
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
14165
15586
|
return vresult;
|
14166
15587
|
fail:
|
@@ -14200,7 +15621,14 @@ _wrap_SdkTrayManager_get_widget__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
14200
15621
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","getWidget", 3, argv[1] ));
|
14201
15622
|
}
|
14202
15623
|
arg3 = static_cast< unsigned int >(val3);
|
14203
|
-
|
15624
|
+
{
|
15625
|
+
try {
|
15626
|
+
result = (OgreBites::Widget *)(arg1)->getWidget(arg2,arg3);
|
15627
|
+
} catch(Ogre::Exception& e) {
|
15628
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15629
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15630
|
+
}
|
15631
|
+
}
|
14204
15632
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Widget, 0 | 0 );
|
14205
15633
|
return vresult;
|
14206
15634
|
fail:
|
@@ -14245,7 +15673,14 @@ _wrap_SdkTrayManager_get_widget__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
14245
15673
|
}
|
14246
15674
|
arg3 = ptr;
|
14247
15675
|
}
|
14248
|
-
|
15676
|
+
{
|
15677
|
+
try {
|
15678
|
+
result = (OgreBites::Widget *)(arg1)->getWidget(arg2,(Ogre::String const &)*arg3);
|
15679
|
+
} catch(Ogre::Exception& e) {
|
15680
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15681
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15682
|
+
}
|
15683
|
+
}
|
14249
15684
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Widget, 0 | 0 );
|
14250
15685
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
14251
15686
|
return vresult;
|
@@ -14284,7 +15719,14 @@ _wrap_SdkTrayManager_get_widget__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
14284
15719
|
}
|
14285
15720
|
arg2 = ptr;
|
14286
15721
|
}
|
14287
|
-
|
15722
|
+
{
|
15723
|
+
try {
|
15724
|
+
result = (OgreBites::Widget *)(arg1)->getWidget((Ogre::String const &)*arg2);
|
15725
|
+
} catch(Ogre::Exception& e) {
|
15726
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15727
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15728
|
+
}
|
15729
|
+
}
|
14288
15730
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__Widget, 0 | 0 );
|
14289
15731
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
14290
15732
|
return vresult;
|
@@ -14385,7 +15827,14 @@ _wrap_SdkTrayManager_get_num_widgets__SWIG_0(int argc, VALUE *argv, VALUE self)
|
|
14385
15827
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","getNumWidgets", 1, self ));
|
14386
15828
|
}
|
14387
15829
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
14388
|
-
|
15830
|
+
{
|
15831
|
+
try {
|
15832
|
+
result = (unsigned int)(arg1)->getNumWidgets();
|
15833
|
+
} catch(Ogre::Exception& e) {
|
15834
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15835
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15836
|
+
}
|
15837
|
+
}
|
14389
15838
|
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
14390
15839
|
return vresult;
|
14391
15840
|
fail:
|
@@ -14417,7 +15866,14 @@ _wrap_SdkTrayManager_get_num_widgets__SWIG_1(int argc, VALUE *argv, VALUE self)
|
|
14417
15866
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","getNumWidgets", 2, argv[0] ));
|
14418
15867
|
}
|
14419
15868
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
14420
|
-
|
15869
|
+
{
|
15870
|
+
try {
|
15871
|
+
result = (unsigned int)(arg1)->getNumWidgets(arg2);
|
15872
|
+
} catch(Ogre::Exception& e) {
|
15873
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15874
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15875
|
+
}
|
15876
|
+
}
|
14421
15877
|
vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
|
14422
15878
|
return vresult;
|
14423
15879
|
fail:
|
@@ -14494,7 +15950,14 @@ _wrap_SdkTrayManager_get_widget_iterator(int argc, VALUE *argv, VALUE self) {
|
|
14494
15950
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","getWidgetIterator", 2, argv[0] ));
|
14495
15951
|
}
|
14496
15952
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
14497
|
-
|
15953
|
+
{
|
15954
|
+
try {
|
15955
|
+
result = (arg1)->getWidgetIterator(arg2);
|
15956
|
+
} catch(Ogre::Exception& e) {
|
15957
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15958
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15959
|
+
}
|
15960
|
+
}
|
14498
15961
|
vresult = SWIG_NewPointerObj((new OgreBites::WidgetIterator(static_cast< const OgreBites::WidgetIterator& >(result))), SWIGTYPE_p_Ogre__VectorIteratorT_std__vectorT_OgreBites__Widget_p_std__allocatorT_OgreBites__Widget_p_t_t_t, SWIG_POINTER_OWN | 0 );
|
14499
15962
|
return vresult;
|
14500
15963
|
fail:
|
@@ -14526,7 +15989,14 @@ _wrap_SdkTrayManager_locate_widget_in_tray(int argc, VALUE *argv, VALUE self) {
|
|
14526
15989
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::Widget *","locateWidgetInTray", 2, argv[0] ));
|
14527
15990
|
}
|
14528
15991
|
arg2 = reinterpret_cast< OgreBites::Widget * >(argp2);
|
14529
|
-
|
15992
|
+
{
|
15993
|
+
try {
|
15994
|
+
result = (int)(arg1)->locateWidgetInTray(arg2);
|
15995
|
+
} catch(Ogre::Exception& e) {
|
15996
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
15997
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
15998
|
+
}
|
15999
|
+
}
|
14530
16000
|
vresult = SWIG_From_int(static_cast< int >(result));
|
14531
16001
|
return vresult;
|
14532
16002
|
fail:
|
@@ -14556,7 +16026,14 @@ _wrap_SdkTrayManager_destroy_widget__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
|
14556
16026
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::Widget *","destroyWidget", 2, argv[0] ));
|
14557
16027
|
}
|
14558
16028
|
arg2 = reinterpret_cast< OgreBites::Widget * >(argp2);
|
14559
|
-
|
16029
|
+
{
|
16030
|
+
try {
|
16031
|
+
(arg1)->destroyWidget(arg2);
|
16032
|
+
} catch(Ogre::Exception& e) {
|
16033
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16034
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16035
|
+
}
|
16036
|
+
}
|
14560
16037
|
return Qnil;
|
14561
16038
|
fail:
|
14562
16039
|
return Qnil;
|
@@ -14593,7 +16070,14 @@ _wrap_SdkTrayManager_destroy_widget__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
|
14593
16070
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "unsigned int","destroyWidget", 3, argv[1] ));
|
14594
16071
|
}
|
14595
16072
|
arg3 = static_cast< unsigned int >(val3);
|
14596
|
-
|
16073
|
+
{
|
16074
|
+
try {
|
16075
|
+
(arg1)->destroyWidget(arg2,arg3);
|
16076
|
+
} catch(Ogre::Exception& e) {
|
16077
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16078
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16079
|
+
}
|
16080
|
+
}
|
14597
16081
|
return Qnil;
|
14598
16082
|
fail:
|
14599
16083
|
return Qnil;
|
@@ -14635,7 +16119,14 @@ _wrap_SdkTrayManager_destroy_widget__SWIG_2(int argc, VALUE *argv, VALUE self) {
|
|
14635
16119
|
}
|
14636
16120
|
arg3 = ptr;
|
14637
16121
|
}
|
14638
|
-
|
16122
|
+
{
|
16123
|
+
try {
|
16124
|
+
(arg1)->destroyWidget(arg2,(Ogre::String const &)*arg3);
|
16125
|
+
} catch(Ogre::Exception& e) {
|
16126
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16127
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16128
|
+
}
|
16129
|
+
}
|
14639
16130
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
14640
16131
|
return Qnil;
|
14641
16132
|
fail:
|
@@ -14671,7 +16162,14 @@ _wrap_SdkTrayManager_destroy_widget__SWIG_3(int argc, VALUE *argv, VALUE self) {
|
|
14671
16162
|
}
|
14672
16163
|
arg2 = ptr;
|
14673
16164
|
}
|
14674
|
-
|
16165
|
+
{
|
16166
|
+
try {
|
16167
|
+
(arg1)->destroyWidget((Ogre::String const &)*arg2);
|
16168
|
+
} catch(Ogre::Exception& e) {
|
16169
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16170
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16171
|
+
}
|
16172
|
+
}
|
14675
16173
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
14676
16174
|
return Qnil;
|
14677
16175
|
fail:
|
@@ -14792,7 +16290,14 @@ _wrap_SdkTrayManager_destroy_all_widgets_in_tray(int argc, VALUE *argv, VALUE se
|
|
14792
16290
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","destroyAllWidgetsInTray", 2, argv[0] ));
|
14793
16291
|
}
|
14794
16292
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
14795
|
-
|
16293
|
+
{
|
16294
|
+
try {
|
16295
|
+
(arg1)->destroyAllWidgetsInTray(arg2);
|
16296
|
+
} catch(Ogre::Exception& e) {
|
16297
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16298
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16299
|
+
}
|
16300
|
+
}
|
14796
16301
|
return Qnil;
|
14797
16302
|
fail:
|
14798
16303
|
return Qnil;
|
@@ -14813,7 +16318,14 @@ _wrap_SdkTrayManager_destroy_all_widgets(int argc, VALUE *argv, VALUE self) {
|
|
14813
16318
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","destroyAllWidgets", 1, self ));
|
14814
16319
|
}
|
14815
16320
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
14816
|
-
|
16321
|
+
{
|
16322
|
+
try {
|
16323
|
+
(arg1)->destroyAllWidgets();
|
16324
|
+
} catch(Ogre::Exception& e) {
|
16325
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16326
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16327
|
+
}
|
16328
|
+
}
|
14817
16329
|
return Qnil;
|
14818
16330
|
fail:
|
14819
16331
|
return Qnil;
|
@@ -14858,7 +16370,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_0(int argc, VALUE *argv, VALUE se
|
|
14858
16370
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "int","moveWidgetToTray", 4, argv[2] ));
|
14859
16371
|
}
|
14860
16372
|
arg4 = static_cast< int >(val4);
|
14861
|
-
|
16373
|
+
{
|
16374
|
+
try {
|
16375
|
+
(arg1)->moveWidgetToTray(arg2,arg3,arg4);
|
16376
|
+
} catch(Ogre::Exception& e) {
|
16377
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16378
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16379
|
+
}
|
16380
|
+
}
|
14862
16381
|
return Qnil;
|
14863
16382
|
fail:
|
14864
16383
|
return Qnil;
|
@@ -14895,7 +16414,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_1(int argc, VALUE *argv, VALUE se
|
|
14895
16414
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","moveWidgetToTray", 3, argv[1] ));
|
14896
16415
|
}
|
14897
16416
|
arg3 = static_cast< OgreBites::TrayLocation >(val3);
|
14898
|
-
|
16417
|
+
{
|
16418
|
+
try {
|
16419
|
+
(arg1)->moveWidgetToTray(arg2,arg3);
|
16420
|
+
} catch(Ogre::Exception& e) {
|
16421
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16422
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16423
|
+
}
|
16424
|
+
}
|
14899
16425
|
return Qnil;
|
14900
16426
|
fail:
|
14901
16427
|
return Qnil;
|
@@ -14945,7 +16471,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_2(int argc, VALUE *argv, VALUE se
|
|
14945
16471
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "unsigned int","moveWidgetToTray", 4, argv[2] ));
|
14946
16472
|
}
|
14947
16473
|
arg4 = static_cast< unsigned int >(val4);
|
14948
|
-
|
16474
|
+
{
|
16475
|
+
try {
|
16476
|
+
(arg1)->moveWidgetToTray((Ogre::String const &)*arg2,arg3,arg4);
|
16477
|
+
} catch(Ogre::Exception& e) {
|
16478
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16479
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16480
|
+
}
|
16481
|
+
}
|
14949
16482
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
14950
16483
|
return Qnil;
|
14951
16484
|
fail:
|
@@ -14989,7 +16522,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_3(int argc, VALUE *argv, VALUE se
|
|
14989
16522
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","moveWidgetToTray", 3, argv[1] ));
|
14990
16523
|
}
|
14991
16524
|
arg3 = static_cast< OgreBites::TrayLocation >(val3);
|
14992
|
-
|
16525
|
+
{
|
16526
|
+
try {
|
16527
|
+
(arg1)->moveWidgetToTray((Ogre::String const &)*arg2,arg3);
|
16528
|
+
} catch(Ogre::Exception& e) {
|
16529
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16530
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16531
|
+
}
|
16532
|
+
}
|
14993
16533
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
14994
16534
|
return Qnil;
|
14995
16535
|
fail:
|
@@ -15049,7 +16589,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_4(int argc, VALUE *argv, VALUE se
|
|
15049
16589
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","moveWidgetToTray", 5, argv[3] ));
|
15050
16590
|
}
|
15051
16591
|
arg5 = static_cast< int >(val5);
|
15052
|
-
|
16592
|
+
{
|
16593
|
+
try {
|
16594
|
+
(arg1)->moveWidgetToTray(arg2,(Ogre::String const &)*arg3,arg4,arg5);
|
16595
|
+
} catch(Ogre::Exception& e) {
|
16596
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16597
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16598
|
+
}
|
16599
|
+
}
|
15053
16600
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
15054
16601
|
return Qnil;
|
15055
16602
|
fail:
|
@@ -15101,7 +16648,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_5(int argc, VALUE *argv, VALUE se
|
|
15101
16648
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","moveWidgetToTray", 4, argv[2] ));
|
15102
16649
|
}
|
15103
16650
|
arg4 = static_cast< OgreBites::TrayLocation >(val4);
|
15104
|
-
|
16651
|
+
{
|
16652
|
+
try {
|
16653
|
+
(arg1)->moveWidgetToTray(arg2,(Ogre::String const &)*arg3,arg4);
|
16654
|
+
} catch(Ogre::Exception& e) {
|
16655
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16656
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16657
|
+
}
|
16658
|
+
}
|
15105
16659
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
15106
16660
|
return Qnil;
|
15107
16661
|
fail:
|
@@ -15156,7 +16710,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_6(int argc, VALUE *argv, VALUE se
|
|
15156
16710
|
SWIG_exception_fail(SWIG_ArgError(ecode5), Ruby_Format_TypeError( "", "int","moveWidgetToTray", 5, argv[3] ));
|
15157
16711
|
}
|
15158
16712
|
arg5 = static_cast< int >(val5);
|
15159
|
-
|
16713
|
+
{
|
16714
|
+
try {
|
16715
|
+
(arg1)->moveWidgetToTray(arg2,arg3,arg4,arg5);
|
16716
|
+
} catch(Ogre::Exception& e) {
|
16717
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16718
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16719
|
+
}
|
16720
|
+
}
|
15160
16721
|
return Qnil;
|
15161
16722
|
fail:
|
15162
16723
|
return Qnil;
|
@@ -15201,7 +16762,14 @@ _wrap_SdkTrayManager_move_widget_to_tray__SWIG_7(int argc, VALUE *argv, VALUE se
|
|
15201
16762
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","moveWidgetToTray", 4, argv[2] ));
|
15202
16763
|
}
|
15203
16764
|
arg4 = static_cast< OgreBites::TrayLocation >(val4);
|
15204
|
-
|
16765
|
+
{
|
16766
|
+
try {
|
16767
|
+
(arg1)->moveWidgetToTray(arg2,arg3,arg4);
|
16768
|
+
} catch(Ogre::Exception& e) {
|
16769
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
16770
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
16771
|
+
}
|
16772
|
+
}
|
15205
16773
|
return Qnil;
|
15206
16774
|
fail:
|
15207
16775
|
return Qnil;
|
@@ -15463,7 +17031,14 @@ _wrap_SdkTrayManager_remove_widget_from_tray__SWIG_0(int argc, VALUE *argv, VALU
|
|
15463
17031
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::Widget *","removeWidgetFromTray", 2, argv[0] ));
|
15464
17032
|
}
|
15465
17033
|
arg2 = reinterpret_cast< OgreBites::Widget * >(argp2);
|
15466
|
-
|
17034
|
+
{
|
17035
|
+
try {
|
17036
|
+
(arg1)->removeWidgetFromTray(arg2);
|
17037
|
+
} catch(Ogre::Exception& e) {
|
17038
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17039
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17040
|
+
}
|
17041
|
+
}
|
15467
17042
|
return Qnil;
|
15468
17043
|
fail:
|
15469
17044
|
return Qnil;
|
@@ -15497,7 +17072,14 @@ _wrap_SdkTrayManager_remove_widget_from_tray__SWIG_1(int argc, VALUE *argv, VALU
|
|
15497
17072
|
}
|
15498
17073
|
arg2 = ptr;
|
15499
17074
|
}
|
15500
|
-
|
17075
|
+
{
|
17076
|
+
try {
|
17077
|
+
(arg1)->removeWidgetFromTray((Ogre::String const &)*arg2);
|
17078
|
+
} catch(Ogre::Exception& e) {
|
17079
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17080
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17081
|
+
}
|
17082
|
+
}
|
15501
17083
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
15502
17084
|
return Qnil;
|
15503
17085
|
fail:
|
@@ -15541,7 +17123,14 @@ _wrap_SdkTrayManager_remove_widget_from_tray__SWIG_2(int argc, VALUE *argv, VALU
|
|
15541
17123
|
}
|
15542
17124
|
arg3 = ptr;
|
15543
17125
|
}
|
15544
|
-
|
17126
|
+
{
|
17127
|
+
try {
|
17128
|
+
(arg1)->removeWidgetFromTray(arg2,(Ogre::String const &)*arg3);
|
17129
|
+
} catch(Ogre::Exception& e) {
|
17130
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17131
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17132
|
+
}
|
17133
|
+
}
|
15545
17134
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
15546
17135
|
return Qnil;
|
15547
17136
|
fail:
|
@@ -15580,7 +17169,14 @@ _wrap_SdkTrayManager_remove_widget_from_tray__SWIG_3(int argc, VALUE *argv, VALU
|
|
15580
17169
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "int","removeWidgetFromTray", 3, argv[1] ));
|
15581
17170
|
}
|
15582
17171
|
arg3 = static_cast< int >(val3);
|
15583
|
-
|
17172
|
+
{
|
17173
|
+
try {
|
17174
|
+
(arg1)->removeWidgetFromTray(arg2,arg3);
|
17175
|
+
} catch(Ogre::Exception& e) {
|
17176
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17177
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17178
|
+
}
|
17179
|
+
}
|
15584
17180
|
return Qnil;
|
15585
17181
|
fail:
|
15586
17182
|
return Qnil;
|
@@ -15699,7 +17295,14 @@ _wrap_SdkTrayManager_clear_tray(int argc, VALUE *argv, VALUE self) {
|
|
15699
17295
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::TrayLocation","clearTray", 2, argv[0] ));
|
15700
17296
|
}
|
15701
17297
|
arg2 = static_cast< OgreBites::TrayLocation >(val2);
|
15702
|
-
|
17298
|
+
{
|
17299
|
+
try {
|
17300
|
+
(arg1)->clearTray(arg2);
|
17301
|
+
} catch(Ogre::Exception& e) {
|
17302
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17303
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17304
|
+
}
|
17305
|
+
}
|
15703
17306
|
return Qnil;
|
15704
17307
|
fail:
|
15705
17308
|
return Qnil;
|
@@ -15720,7 +17323,14 @@ _wrap_SdkTrayManager_clear_all_trays(int argc, VALUE *argv, VALUE self) {
|
|
15720
17323
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","clearAllTrays", 1, self ));
|
15721
17324
|
}
|
15722
17325
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
15723
|
-
|
17326
|
+
{
|
17327
|
+
try {
|
17328
|
+
(arg1)->clearAllTrays();
|
17329
|
+
} catch(Ogre::Exception& e) {
|
17330
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17331
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17332
|
+
}
|
17333
|
+
}
|
15724
17334
|
return Qnil;
|
15725
17335
|
fail:
|
15726
17336
|
return Qnil;
|
@@ -15754,7 +17364,14 @@ _wrap_SdkTrayManager_frame_rendering_queued(int argc, VALUE *argv, VALUE self) {
|
|
15754
17364
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::FrameEvent const &","frameRenderingQueued", 2, argv[0]));
|
15755
17365
|
}
|
15756
17366
|
arg2 = reinterpret_cast< Ogre::FrameEvent * >(argp2);
|
15757
|
-
|
17367
|
+
{
|
17368
|
+
try {
|
17369
|
+
result = (bool)(arg1)->frameRenderingQueued((Ogre::FrameEvent const &)*arg2);
|
17370
|
+
} catch(Ogre::Exception& e) {
|
17371
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17372
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17373
|
+
}
|
17374
|
+
}
|
15758
17375
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
15759
17376
|
return vresult;
|
15760
17377
|
fail:
|
@@ -15776,7 +17393,14 @@ _wrap_SdkTrayManager_window_update(int argc, VALUE *argv, VALUE self) {
|
|
15776
17393
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","windowUpdate", 1, self ));
|
15777
17394
|
}
|
15778
17395
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
15779
|
-
|
17396
|
+
{
|
17397
|
+
try {
|
17398
|
+
(arg1)->windowUpdate();
|
17399
|
+
} catch(Ogre::Exception& e) {
|
17400
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17401
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17402
|
+
}
|
17403
|
+
}
|
15780
17404
|
return Qnil;
|
15781
17405
|
fail:
|
15782
17406
|
return Qnil;
|
@@ -15818,7 +17442,14 @@ _wrap_SdkTrayManager_resource_group_scripting_started(int argc, VALUE *argv, VAL
|
|
15818
17442
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "size_t","resourceGroupScriptingStarted", 3, argv[1] ));
|
15819
17443
|
}
|
15820
17444
|
arg3 = static_cast< size_t >(val3);
|
15821
|
-
|
17445
|
+
{
|
17446
|
+
try {
|
17447
|
+
(arg1)->resourceGroupScriptingStarted((Ogre::String const &)*arg2,arg3);
|
17448
|
+
} catch(Ogre::Exception& e) {
|
17449
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17450
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17451
|
+
}
|
17452
|
+
}
|
15822
17453
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
15823
17454
|
return Qnil;
|
15824
17455
|
fail:
|
@@ -15865,7 +17496,14 @@ _wrap_SdkTrayManager_script_parse_started(int argc, VALUE *argv, VALUE self) {
|
|
15865
17496
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "bool &","scriptParseStarted", 3, argv[1]));
|
15866
17497
|
}
|
15867
17498
|
arg3 = reinterpret_cast< bool * >(argp3);
|
15868
|
-
|
17499
|
+
{
|
17500
|
+
try {
|
17501
|
+
(arg1)->scriptParseStarted((Ogre::String const &)*arg2,*arg3);
|
17502
|
+
} catch(Ogre::Exception& e) {
|
17503
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17504
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17505
|
+
}
|
17506
|
+
}
|
15869
17507
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
15870
17508
|
return Qnil;
|
15871
17509
|
fail:
|
@@ -15909,7 +17547,14 @@ _wrap_SdkTrayManager_script_parse_ended(int argc, VALUE *argv, VALUE self) {
|
|
15909
17547
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "bool","scriptParseEnded", 3, argv[1] ));
|
15910
17548
|
}
|
15911
17549
|
arg3 = static_cast< bool >(val3);
|
15912
|
-
|
17550
|
+
{
|
17551
|
+
try {
|
17552
|
+
(arg1)->scriptParseEnded((Ogre::String const &)*arg2,arg3);
|
17553
|
+
} catch(Ogre::Exception& e) {
|
17554
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17555
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17556
|
+
}
|
17557
|
+
}
|
15913
17558
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
15914
17559
|
return Qnil;
|
15915
17560
|
fail:
|
@@ -15945,7 +17590,14 @@ _wrap_SdkTrayManager_resource_group_scripting_ended(int argc, VALUE *argv, VALUE
|
|
15945
17590
|
}
|
15946
17591
|
arg2 = ptr;
|
15947
17592
|
}
|
15948
|
-
|
17593
|
+
{
|
17594
|
+
try {
|
17595
|
+
(arg1)->resourceGroupScriptingEnded((Ogre::String const &)*arg2);
|
17596
|
+
} catch(Ogre::Exception& e) {
|
17597
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17598
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17599
|
+
}
|
17600
|
+
}
|
15949
17601
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
15950
17602
|
return Qnil;
|
15951
17603
|
fail:
|
@@ -15989,7 +17641,14 @@ _wrap_SdkTrayManager_resource_group_load_started(int argc, VALUE *argv, VALUE se
|
|
15989
17641
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "size_t","resourceGroupLoadStarted", 3, argv[1] ));
|
15990
17642
|
}
|
15991
17643
|
arg3 = static_cast< size_t >(val3);
|
15992
|
-
|
17644
|
+
{
|
17645
|
+
try {
|
17646
|
+
(arg1)->resourceGroupLoadStarted((Ogre::String const &)*arg2,arg3);
|
17647
|
+
} catch(Ogre::Exception& e) {
|
17648
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17649
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17650
|
+
}
|
17651
|
+
}
|
15993
17652
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
15994
17653
|
return Qnil;
|
15995
17654
|
fail:
|
@@ -16023,7 +17682,14 @@ _wrap_SdkTrayManager_resource_load_started(int argc, VALUE *argv, VALUE self) {
|
|
16023
17682
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::ResourcePtr const &","resourceLoadStarted", 2, argv[0]));
|
16024
17683
|
}
|
16025
17684
|
arg2 = reinterpret_cast< Ogre::ResourcePtr * >(argp2);
|
16026
|
-
|
17685
|
+
{
|
17686
|
+
try {
|
17687
|
+
(arg1)->resourceLoadStarted((Ogre::ResourcePtr const &)*arg2);
|
17688
|
+
} catch(Ogre::Exception& e) {
|
17689
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17690
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17691
|
+
}
|
17692
|
+
}
|
16027
17693
|
return Qnil;
|
16028
17694
|
fail:
|
16029
17695
|
return Qnil;
|
@@ -16044,7 +17710,14 @@ _wrap_SdkTrayManager_resource_load_ended(int argc, VALUE *argv, VALUE self) {
|
|
16044
17710
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","resourceLoadEnded", 1, self ));
|
16045
17711
|
}
|
16046
17712
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
16047
|
-
|
17713
|
+
{
|
17714
|
+
try {
|
17715
|
+
(arg1)->resourceLoadEnded();
|
17716
|
+
} catch(Ogre::Exception& e) {
|
17717
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17718
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17719
|
+
}
|
17720
|
+
}
|
16048
17721
|
return Qnil;
|
16049
17722
|
fail:
|
16050
17723
|
return Qnil;
|
@@ -16078,7 +17751,14 @@ _wrap_SdkTrayManager_world_geometry_stage_started(int argc, VALUE *argv, VALUE s
|
|
16078
17751
|
}
|
16079
17752
|
arg2 = ptr;
|
16080
17753
|
}
|
16081
|
-
|
17754
|
+
{
|
17755
|
+
try {
|
17756
|
+
(arg1)->worldGeometryStageStarted((Ogre::String const &)*arg2);
|
17757
|
+
} catch(Ogre::Exception& e) {
|
17758
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17759
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17760
|
+
}
|
17761
|
+
}
|
16082
17762
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
16083
17763
|
return Qnil;
|
16084
17764
|
fail:
|
@@ -16101,7 +17781,14 @@ _wrap_SdkTrayManager_world_geometry_stage_ended(int argc, VALUE *argv, VALUE sel
|
|
16101
17781
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkTrayManager *","worldGeometryStageEnded", 1, self ));
|
16102
17782
|
}
|
16103
17783
|
arg1 = reinterpret_cast< OgreBites::SdkTrayManager * >(argp1);
|
16104
|
-
|
17784
|
+
{
|
17785
|
+
try {
|
17786
|
+
(arg1)->worldGeometryStageEnded();
|
17787
|
+
} catch(Ogre::Exception& e) {
|
17788
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17789
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17790
|
+
}
|
17791
|
+
}
|
16105
17792
|
return Qnil;
|
16106
17793
|
fail:
|
16107
17794
|
return Qnil;
|
@@ -16135,7 +17822,14 @@ _wrap_SdkTrayManager_resource_group_load_ended(int argc, VALUE *argv, VALUE self
|
|
16135
17822
|
}
|
16136
17823
|
arg2 = ptr;
|
16137
17824
|
}
|
16138
|
-
|
17825
|
+
{
|
17826
|
+
try {
|
17827
|
+
(arg1)->resourceGroupLoadEnded((Ogre::String const &)*arg2);
|
17828
|
+
} catch(Ogre::Exception& e) {
|
17829
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17830
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17831
|
+
}
|
17832
|
+
}
|
16139
17833
|
if (SWIG_IsNewObj(res2)) delete arg2;
|
16140
17834
|
return Qnil;
|
16141
17835
|
fail:
|
@@ -16166,7 +17860,14 @@ _wrap_SdkTrayManager_label_hit(int argc, VALUE *argv, VALUE self) {
|
|
16166
17860
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::Label *","labelHit", 2, argv[0] ));
|
16167
17861
|
}
|
16168
17862
|
arg2 = reinterpret_cast< OgreBites::Label * >(argp2);
|
16169
|
-
|
17863
|
+
{
|
17864
|
+
try {
|
17865
|
+
(arg1)->labelHit(arg2);
|
17866
|
+
} catch(Ogre::Exception& e) {
|
17867
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17868
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17869
|
+
}
|
17870
|
+
}
|
16170
17871
|
return Qnil;
|
16171
17872
|
fail:
|
16172
17873
|
return Qnil;
|
@@ -16195,7 +17896,14 @@ _wrap_SdkTrayManager_button_hit(int argc, VALUE *argv, VALUE self) {
|
|
16195
17896
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "OgreBites::Button *","buttonHit", 2, argv[0] ));
|
16196
17897
|
}
|
16197
17898
|
arg2 = reinterpret_cast< OgreBites::Button * >(argp2);
|
16198
|
-
|
17899
|
+
{
|
17900
|
+
try {
|
17901
|
+
(arg1)->buttonHit(arg2);
|
17902
|
+
} catch(Ogre::Exception& e) {
|
17903
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17904
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17905
|
+
}
|
17906
|
+
}
|
16199
17907
|
return Qnil;
|
16200
17908
|
fail:
|
16201
17909
|
return Qnil;
|
@@ -16237,7 +17945,14 @@ _wrap_SdkTrayManager_inject_mouse_down(int argc, VALUE *argv, VALUE self) {
|
|
16237
17945
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "OIS::MouseButtonID","injectMouseDown", 3, argv[1] ));
|
16238
17946
|
}
|
16239
17947
|
arg3 = static_cast< OIS::MouseButtonID >(val3);
|
16240
|
-
|
17948
|
+
{
|
17949
|
+
try {
|
17950
|
+
result = (bool)(arg1)->injectMouseDown((OIS::MouseEvent const &)*arg2,arg3);
|
17951
|
+
} catch(Ogre::Exception& e) {
|
17952
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
17953
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
17954
|
+
}
|
17955
|
+
}
|
16241
17956
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
16242
17957
|
return vresult;
|
16243
17958
|
fail:
|
@@ -16280,7 +17995,14 @@ _wrap_SdkTrayManager_inject_mouse_up(int argc, VALUE *argv, VALUE self) {
|
|
16280
17995
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "OIS::MouseButtonID","injectMouseUp", 3, argv[1] ));
|
16281
17996
|
}
|
16282
17997
|
arg3 = static_cast< OIS::MouseButtonID >(val3);
|
16283
|
-
|
17998
|
+
{
|
17999
|
+
try {
|
18000
|
+
result = (bool)(arg1)->injectMouseUp((OIS::MouseEvent const &)*arg2,arg3);
|
18001
|
+
} catch(Ogre::Exception& e) {
|
18002
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18003
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18004
|
+
}
|
18005
|
+
}
|
16284
18006
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
16285
18007
|
return vresult;
|
16286
18008
|
fail:
|
@@ -16315,7 +18037,14 @@ _wrap_SdkTrayManager_inject_mouse_move(int argc, VALUE *argv, VALUE self) {
|
|
16315
18037
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OIS::MouseEvent const &","injectMouseMove", 2, argv[0]));
|
16316
18038
|
}
|
16317
18039
|
arg2 = reinterpret_cast< OIS::MouseEvent * >(argp2);
|
16318
|
-
|
18040
|
+
{
|
18041
|
+
try {
|
18042
|
+
result = (bool)(arg1)->injectMouseMove((OIS::MouseEvent const &)*arg2);
|
18043
|
+
} catch(Ogre::Exception& e) {
|
18044
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18045
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18046
|
+
}
|
18047
|
+
}
|
16319
18048
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
16320
18049
|
return vresult;
|
16321
18050
|
fail:
|
@@ -16370,7 +18099,14 @@ _wrap_SdkTrayManager_create_params_panel__SWIG_2(int argc, VALUE *argv, VALUE se
|
|
16370
18099
|
}
|
16371
18100
|
arg4 = static_cast< Ogre::Real >(val4);
|
16372
18101
|
arg5 = argv[3];
|
16373
|
-
|
18102
|
+
{
|
18103
|
+
try {
|
18104
|
+
result = (OgreBites::ParamsPanel *)OgreBites_SdkTrayManager_createParamsPanel__SWIG_2(arg1,arg2,(std::string const &)*arg3,arg4,arg5);
|
18105
|
+
} catch(Ogre::Exception& e) {
|
18106
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18107
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18108
|
+
}
|
18109
|
+
}
|
16374
18110
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_OgreBites__ParamsPanel, 0 | 0 );
|
16375
18111
|
if (SWIG_IsNewObj(res3)) delete arg3;
|
16376
18112
|
return vresult;
|
@@ -16526,8 +18262,15 @@ _wrap_new_SdkCameraMan(int argc, VALUE *argv, VALUE self) {
|
|
16526
18262
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "Ogre::Camera *","OgreBites::SdkCameraMan", 1, argv[0] ));
|
16527
18263
|
}
|
16528
18264
|
arg1 = reinterpret_cast< Ogre::Camera * >(argp1);
|
16529
|
-
|
16530
|
-
|
18265
|
+
{
|
18266
|
+
try {
|
18267
|
+
result = (OgreBites::SdkCameraMan *)new OgreBites::SdkCameraMan(arg1);
|
18268
|
+
DATA_PTR(self) = result;
|
18269
|
+
} catch(Ogre::Exception& e) {
|
18270
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18271
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18272
|
+
}
|
18273
|
+
}
|
16531
18274
|
return self;
|
16532
18275
|
fail:
|
16533
18276
|
return Qnil;
|
@@ -16561,7 +18304,14 @@ _wrap_SdkCameraMan_set_camera(int argc, VALUE *argv, VALUE self) {
|
|
16561
18304
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::Camera *","setCamera", 2, argv[0] ));
|
16562
18305
|
}
|
16563
18306
|
arg2 = reinterpret_cast< Ogre::Camera * >(argp2);
|
16564
|
-
|
18307
|
+
{
|
18308
|
+
try {
|
18309
|
+
(arg1)->setCamera(arg2);
|
18310
|
+
} catch(Ogre::Exception& e) {
|
18311
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18312
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18313
|
+
}
|
18314
|
+
}
|
16565
18315
|
return Qnil;
|
16566
18316
|
fail:
|
16567
18317
|
return Qnil;
|
@@ -16584,7 +18334,14 @@ _wrap_SdkCameraMan_get_camera(int argc, VALUE *argv, VALUE self) {
|
|
16584
18334
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkCameraMan *","getCamera", 1, self ));
|
16585
18335
|
}
|
16586
18336
|
arg1 = reinterpret_cast< OgreBites::SdkCameraMan * >(argp1);
|
16587
|
-
|
18337
|
+
{
|
18338
|
+
try {
|
18339
|
+
result = (Ogre::Camera *)(arg1)->getCamera();
|
18340
|
+
} catch(Ogre::Exception& e) {
|
18341
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18342
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18343
|
+
}
|
18344
|
+
}
|
16588
18345
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__Camera, 0 | 0 );
|
16589
18346
|
return vresult;
|
16590
18347
|
fail:
|
@@ -16614,7 +18371,14 @@ _wrap_SdkCameraMan_set_target(int argc, VALUE *argv, VALUE self) {
|
|
16614
18371
|
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "Ogre::SceneNode *","setTarget", 2, argv[0] ));
|
16615
18372
|
}
|
16616
18373
|
arg2 = reinterpret_cast< Ogre::SceneNode * >(argp2);
|
16617
|
-
|
18374
|
+
{
|
18375
|
+
try {
|
18376
|
+
(arg1)->setTarget(arg2);
|
18377
|
+
} catch(Ogre::Exception& e) {
|
18378
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18379
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18380
|
+
}
|
18381
|
+
}
|
16618
18382
|
return Qnil;
|
16619
18383
|
fail:
|
16620
18384
|
return Qnil;
|
@@ -16637,7 +18401,14 @@ _wrap_SdkCameraMan_get_target(int argc, VALUE *argv, VALUE self) {
|
|
16637
18401
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkCameraMan *","getTarget", 1, self ));
|
16638
18402
|
}
|
16639
18403
|
arg1 = reinterpret_cast< OgreBites::SdkCameraMan * >(argp1);
|
16640
|
-
|
18404
|
+
{
|
18405
|
+
try {
|
18406
|
+
result = (Ogre::SceneNode *)(arg1)->getTarget();
|
18407
|
+
} catch(Ogre::Exception& e) {
|
18408
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18409
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18410
|
+
}
|
18411
|
+
}
|
16641
18412
|
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_Ogre__SceneNode, 0 | 0 );
|
16642
18413
|
return vresult;
|
16643
18414
|
fail:
|
@@ -16695,7 +18466,14 @@ _wrap_SdkCameraMan_set_yaw_pitch_dist(int argc, VALUE *argv, VALUE self) {
|
|
16695
18466
|
SWIG_exception_fail(SWIG_ArgError(ecode4), Ruby_Format_TypeError( "", "Ogre::Real","setYawPitchDist", 4, argv[2] ));
|
16696
18467
|
}
|
16697
18468
|
arg4 = static_cast< Ogre::Real >(val4);
|
16698
|
-
|
18469
|
+
{
|
18470
|
+
try {
|
18471
|
+
(arg1)->setYawPitchDist(arg2,arg3,arg4);
|
18472
|
+
} catch(Ogre::Exception& e) {
|
18473
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18474
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18475
|
+
}
|
18476
|
+
}
|
16699
18477
|
return Qnil;
|
16700
18478
|
fail:
|
16701
18479
|
return Qnil;
|
@@ -16724,7 +18502,14 @@ _wrap_SdkCameraMan_set_top_speed(int argc, VALUE *argv, VALUE self) {
|
|
16724
18502
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "Ogre::Real","setTopSpeed", 2, argv[0] ));
|
16725
18503
|
}
|
16726
18504
|
arg2 = static_cast< Ogre::Real >(val2);
|
16727
|
-
|
18505
|
+
{
|
18506
|
+
try {
|
18507
|
+
(arg1)->setTopSpeed(arg2);
|
18508
|
+
} catch(Ogre::Exception& e) {
|
18509
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18510
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18511
|
+
}
|
18512
|
+
}
|
16728
18513
|
return Qnil;
|
16729
18514
|
fail:
|
16730
18515
|
return Qnil;
|
@@ -16747,7 +18532,14 @@ _wrap_SdkCameraMan_get_top_speed(int argc, VALUE *argv, VALUE self) {
|
|
16747
18532
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkCameraMan *","getTopSpeed", 1, self ));
|
16748
18533
|
}
|
16749
18534
|
arg1 = reinterpret_cast< OgreBites::SdkCameraMan * >(argp1);
|
16750
|
-
|
18535
|
+
{
|
18536
|
+
try {
|
18537
|
+
result = (Ogre::Real)(arg1)->getTopSpeed();
|
18538
|
+
} catch(Ogre::Exception& e) {
|
18539
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18540
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18541
|
+
}
|
18542
|
+
}
|
16751
18543
|
vresult = SWIG_From_float(static_cast< float >(result));
|
16752
18544
|
return vresult;
|
16753
18545
|
fail:
|
@@ -16777,7 +18569,14 @@ _wrap_SdkCameraMan_set_style(int argc, VALUE *argv, VALUE self) {
|
|
16777
18569
|
SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "OgreBites::CameraStyle","setStyle", 2, argv[0] ));
|
16778
18570
|
}
|
16779
18571
|
arg2 = static_cast< OgreBites::CameraStyle >(val2);
|
16780
|
-
|
18572
|
+
{
|
18573
|
+
try {
|
18574
|
+
(arg1)->setStyle(arg2);
|
18575
|
+
} catch(Ogre::Exception& e) {
|
18576
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18577
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18578
|
+
}
|
18579
|
+
}
|
16781
18580
|
return Qnil;
|
16782
18581
|
fail:
|
16783
18582
|
return Qnil;
|
@@ -16800,7 +18599,14 @@ _wrap_SdkCameraMan_get_style(int argc, VALUE *argv, VALUE self) {
|
|
16800
18599
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkCameraMan *","getStyle", 1, self ));
|
16801
18600
|
}
|
16802
18601
|
arg1 = reinterpret_cast< OgreBites::SdkCameraMan * >(argp1);
|
16803
|
-
|
18602
|
+
{
|
18603
|
+
try {
|
18604
|
+
result = (OgreBites::CameraStyle)(arg1)->getStyle();
|
18605
|
+
} catch(Ogre::Exception& e) {
|
18606
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18607
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18608
|
+
}
|
18609
|
+
}
|
16804
18610
|
vresult = SWIG_From_int(static_cast< int >(result));
|
16805
18611
|
return vresult;
|
16806
18612
|
fail:
|
@@ -16822,7 +18628,14 @@ _wrap_SdkCameraMan_manual_stop(int argc, VALUE *argv, VALUE self) {
|
|
16822
18628
|
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OgreBites::SdkCameraMan *","manualStop", 1, self ));
|
16823
18629
|
}
|
16824
18630
|
arg1 = reinterpret_cast< OgreBites::SdkCameraMan * >(argp1);
|
16825
|
-
|
18631
|
+
{
|
18632
|
+
try {
|
18633
|
+
(arg1)->manualStop();
|
18634
|
+
} catch(Ogre::Exception& e) {
|
18635
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18636
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18637
|
+
}
|
18638
|
+
}
|
16826
18639
|
return Qnil;
|
16827
18640
|
fail:
|
16828
18641
|
return Qnil;
|
@@ -16856,7 +18669,14 @@ _wrap_SdkCameraMan_frame_rendering_queued(int argc, VALUE *argv, VALUE self) {
|
|
16856
18669
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "Ogre::FrameEvent const &","frameRenderingQueued", 2, argv[0]));
|
16857
18670
|
}
|
16858
18671
|
arg2 = reinterpret_cast< Ogre::FrameEvent * >(argp2);
|
16859
|
-
|
18672
|
+
{
|
18673
|
+
try {
|
18674
|
+
result = (bool)(arg1)->frameRenderingQueued((Ogre::FrameEvent const &)*arg2);
|
18675
|
+
} catch(Ogre::Exception& e) {
|
18676
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18677
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18678
|
+
}
|
18679
|
+
}
|
16860
18680
|
vresult = SWIG_From_bool(static_cast< bool >(result));
|
16861
18681
|
return vresult;
|
16862
18682
|
fail:
|
@@ -16889,7 +18709,14 @@ _wrap_SdkCameraMan_inject_key_down(int argc, VALUE *argv, VALUE self) {
|
|
16889
18709
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OIS::KeyEvent const &","injectKeyDown", 2, argv[0]));
|
16890
18710
|
}
|
16891
18711
|
arg2 = reinterpret_cast< OIS::KeyEvent * >(argp2);
|
16892
|
-
|
18712
|
+
{
|
18713
|
+
try {
|
18714
|
+
(arg1)->injectKeyDown((OIS::KeyEvent const &)*arg2);
|
18715
|
+
} catch(Ogre::Exception& e) {
|
18716
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18717
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18718
|
+
}
|
18719
|
+
}
|
16893
18720
|
return Qnil;
|
16894
18721
|
fail:
|
16895
18722
|
return Qnil;
|
@@ -16921,7 +18748,14 @@ _wrap_SdkCameraMan_inject_key_up(int argc, VALUE *argv, VALUE self) {
|
|
16921
18748
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OIS::KeyEvent const &","injectKeyUp", 2, argv[0]));
|
16922
18749
|
}
|
16923
18750
|
arg2 = reinterpret_cast< OIS::KeyEvent * >(argp2);
|
16924
|
-
|
18751
|
+
{
|
18752
|
+
try {
|
18753
|
+
(arg1)->injectKeyUp((OIS::KeyEvent const &)*arg2);
|
18754
|
+
} catch(Ogre::Exception& e) {
|
18755
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18756
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18757
|
+
}
|
18758
|
+
}
|
16925
18759
|
return Qnil;
|
16926
18760
|
fail:
|
16927
18761
|
return Qnil;
|
@@ -16953,7 +18787,14 @@ _wrap_SdkCameraMan_inject_mouse_move(int argc, VALUE *argv, VALUE self) {
|
|
16953
18787
|
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "OIS::MouseEvent const &","injectMouseMove", 2, argv[0]));
|
16954
18788
|
}
|
16955
18789
|
arg2 = reinterpret_cast< OIS::MouseEvent * >(argp2);
|
16956
|
-
|
18790
|
+
{
|
18791
|
+
try {
|
18792
|
+
(arg1)->injectMouseMove((OIS::MouseEvent const &)*arg2);
|
18793
|
+
} catch(Ogre::Exception& e) {
|
18794
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18795
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18796
|
+
}
|
18797
|
+
}
|
16957
18798
|
return Qnil;
|
16958
18799
|
fail:
|
16959
18800
|
return Qnil;
|
@@ -16993,7 +18834,14 @@ _wrap_SdkCameraMan_inject_mouse_down(int argc, VALUE *argv, VALUE self) {
|
|
16993
18834
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "OIS::MouseButtonID","injectMouseDown", 3, argv[1] ));
|
16994
18835
|
}
|
16995
18836
|
arg3 = static_cast< OIS::MouseButtonID >(val3);
|
16996
|
-
|
18837
|
+
{
|
18838
|
+
try {
|
18839
|
+
(arg1)->injectMouseDown((OIS::MouseEvent const &)*arg2,arg3);
|
18840
|
+
} catch(Ogre::Exception& e) {
|
18841
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18842
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18843
|
+
}
|
18844
|
+
}
|
16997
18845
|
return Qnil;
|
16998
18846
|
fail:
|
16999
18847
|
return Qnil;
|
@@ -17033,7 +18881,14 @@ _wrap_SdkCameraMan_inject_mouse_up(int argc, VALUE *argv, VALUE self) {
|
|
17033
18881
|
SWIG_exception_fail(SWIG_ArgError(ecode3), Ruby_Format_TypeError( "", "OIS::MouseButtonID","injectMouseUp", 3, argv[1] ));
|
17034
18882
|
}
|
17035
18883
|
arg3 = static_cast< OIS::MouseButtonID >(val3);
|
17036
|
-
|
18884
|
+
{
|
18885
|
+
try {
|
18886
|
+
(arg1)->injectMouseUp((OIS::MouseEvent const &)*arg2,arg3);
|
18887
|
+
} catch(Ogre::Exception& e) {
|
18888
|
+
static VALUE cpperror = rb_define_class("CPPError", rb_eStandardError);
|
18889
|
+
rb_raise(cpperror, "%s", e.getFullDescription().c_str());
|
18890
|
+
}
|
18891
|
+
}
|
17037
18892
|
return Qnil;
|
17038
18893
|
fail:
|
17039
18894
|
return Qnil;
|