UFO: Alien Invasion
ui_lua_shared.cpp
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * This file was automatically generated by SWIG (http://www.swig.org).
3  * Version 4.0.2
4  *
5  * This file is not intended to be easily readable and contains a number of
6  * coding conventions designed to improve portability and efficiency. Do not make
7  * changes to this file unless you know what you are doing--modify the SWIG
8  * interface file instead.
9  * ----------------------------------------------------------------------------- */
10 
11 
12 #ifndef SWIGLUA
13 #define SWIGLUA
14 #endif
15 
16 #define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA
17 #define SWIG_LUA_MODULE_GLOBAL
18 
19 
20 #ifdef __cplusplus
21 /* SwigValueWrapper is described in swig.swg */
22 template<typename T> class SwigValueWrapper {
23  struct SwigMovePointer {
24  T *ptr;
25  SwigMovePointer(T *p) : ptr(p) { }
26  ~SwigMovePointer() { delete ptr; }
27  SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; }
28  } pointer;
29  SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
30  SwigValueWrapper(const SwigValueWrapper<T>& rhs);
31 public:
32  SwigValueWrapper() : pointer(0) { }
33  SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; }
34  operator T&() const { return *pointer.ptr; }
35  T *operator&() { return pointer.ptr; }
36 };
37 
38 template <typename T> T SwigValueInit() {
39  return T();
40 }
41 #endif
42 
43 /* -----------------------------------------------------------------------------
44  * This section contains generic SWIG labels for method/variable
45  * declarations/attributes, and other compiler dependent labels.
46  * ----------------------------------------------------------------------------- */
47 
48 /* template workaround for compilers that cannot correctly implement the C++ standard */
49 #ifndef SWIGTEMPLATEDISAMBIGUATOR
50 # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
51 # define SWIGTEMPLATEDISAMBIGUATOR template
52 # elif defined(__HP_aCC)
53 /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
54 /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
55 # define SWIGTEMPLATEDISAMBIGUATOR template
56 # else
57 # define SWIGTEMPLATEDISAMBIGUATOR
58 # endif
59 #endif
60 
61 /* inline attribute */
62 #ifndef SWIGINLINE
63 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
64 # define SWIGINLINE inline
65 # else
66 # define SWIGINLINE
67 # endif
68 #endif
69 
70 /* attribute recognised by some compilers to avoid 'unused' warnings */
71 #ifndef SWIGUNUSED
72 # if defined(__GNUC__)
73 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
74 # define SWIGUNUSED __attribute__ ((__unused__))
75 # else
76 # define SWIGUNUSED
77 # endif
78 # elif defined(__ICC)
79 # define SWIGUNUSED __attribute__ ((__unused__))
80 # else
81 # define SWIGUNUSED
82 # endif
83 #endif
84 
85 #ifndef SWIG_MSC_UNSUPPRESS_4505
86 # if defined(_MSC_VER)
87 # pragma warning(disable : 4505) /* unreferenced local function has been removed */
88 # endif
89 #endif
90 
91 #ifndef SWIGUNUSEDPARM
92 # ifdef __cplusplus
93 # define SWIGUNUSEDPARM(p)
94 # else
95 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
96 # endif
97 #endif
98 
99 /* internal SWIG method */
100 #ifndef SWIGINTERN
101 # define SWIGINTERN static SWIGUNUSED
102 #endif
103 
104 /* internal inline SWIG method */
105 #ifndef SWIGINTERNINLINE
106 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
107 #endif
108 
109 /* exporting methods */
110 #if defined(__GNUC__)
111 # if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
112 # ifndef GCC_HASCLASSVISIBILITY
113 # define GCC_HASCLASSVISIBILITY
114 # endif
115 # endif
116 #endif
117 
118 #ifndef SWIGEXPORT
119 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
120 # if defined(STATIC_LINKED)
121 # define SWIGEXPORT
122 # else
123 # define SWIGEXPORT __declspec(dllexport)
124 # endif
125 # else
126 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
127 # define SWIGEXPORT __attribute__ ((visibility("default")))
128 # else
129 # define SWIGEXPORT
130 # endif
131 # endif
132 #endif
133 
134 /* calling conventions for Windows */
135 #ifndef SWIGSTDCALL
136 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
137 # define SWIGSTDCALL __stdcall
138 # else
139 # define SWIGSTDCALL
140 # endif
141 #endif
142 
143 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
144 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
145 # define _CRT_SECURE_NO_DEPRECATE
146 #endif
147 
148 /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
149 #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
150 # define _SCL_SECURE_NO_DEPRECATE
151 #endif
152 
153 /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
154 #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
155 # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
156 #endif
157 
158 /* Intel's compiler complains if a variable which was never initialised is
159  * cast to void, which is a common idiom which we use to indicate that we
160  * are aware a variable isn't used. So we just silence that warning.
161  * See: https://github.com/swig/swig/issues/192 for more discussion.
162  */
163 #ifdef __INTEL_COMPILER
164 # pragma warning disable 592
165 #endif
166 
167 /* -----------------------------------------------------------------------------
168  * swigrun.swg
169  *
170  * This file contains generic C API SWIG runtime support for pointer
171  * type checking.
172  * ----------------------------------------------------------------------------- */
173 
174 /* This should only be incremented when either the layout of swig_type_info changes,
175  or for whatever reason, the runtime changes incompatibly */
176 #define SWIG_RUNTIME_VERSION "4"
177 
178 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
179 #ifdef SWIG_TYPE_TABLE
180 # define SWIG_QUOTE_STRING(x) #x
181 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
182 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
183 #else
184 # define SWIG_TYPE_TABLE_NAME
185 #endif
186 
187 /*
188  You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
189  creating a static or dynamic library from the SWIG runtime code.
190  In 99.9% of the cases, SWIG just needs to declare them as 'static'.
191 
192  But only do this if strictly necessary, ie, if you have problems
193  with your compiler or suchlike.
194 */
195 
196 #ifndef SWIGRUNTIME
197 # define SWIGRUNTIME SWIGINTERN
198 #endif
199 
200 #ifndef SWIGRUNTIMEINLINE
201 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
202 #endif
203 
204 /* Generic buffer size */
205 #ifndef SWIG_BUFFER_SIZE
206 # define SWIG_BUFFER_SIZE 1024
207 #endif
208 
209 /* Flags for pointer conversions */
210 #define SWIG_POINTER_DISOWN 0x1
211 #define SWIG_CAST_NEW_MEMORY 0x2
212 #define SWIG_POINTER_NO_NULL 0x4
213 
214 /* Flags for new pointer objects */
215 #define SWIG_POINTER_OWN 0x1
216 
217 
218 /*
219  Flags/methods for returning states.
220 
221  The SWIG conversion methods, as ConvertPtr, return an integer
222  that tells if the conversion was successful or not. And if not,
223  an error code can be returned (see swigerrors.swg for the codes).
224 
225  Use the following macros/flags to set or process the returning
226  states.
227 
228  In old versions of SWIG, code such as the following was usually written:
229 
230  if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
231  // success code
232  } else {
233  //fail code
234  }
235 
236  Now you can be more explicit:
237 
238  int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
239  if (SWIG_IsOK(res)) {
240  // success code
241  } else {
242  // fail code
243  }
244 
245  which is the same really, but now you can also do
246 
247  Type *ptr;
248  int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
249  if (SWIG_IsOK(res)) {
250  // success code
251  if (SWIG_IsNewObj(res) {
252  ...
253  delete *ptr;
254  } else {
255  ...
256  }
257  } else {
258  // fail code
259  }
260 
261  I.e., now SWIG_ConvertPtr can return new objects and you can
262  identify the case and take care of the deallocation. Of course that
263  also requires SWIG_ConvertPtr to return new result values, such as
264 
265  int SWIG_ConvertPtr(obj, ptr,...) {
266  if (<obj is ok>) {
267  if (<need new object>) {
268  *ptr = <ptr to new allocated object>;
269  return SWIG_NEWOBJ;
270  } else {
271  *ptr = <ptr to old object>;
272  return SWIG_OLDOBJ;
273  }
274  } else {
275  return SWIG_BADOBJ;
276  }
277  }
278 
279  Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
280  more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
281  SWIG errors code.
282 
283  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
284  allows to return the 'cast rank', for example, if you have this
285 
286  int food(double)
287  int fooi(int);
288 
289  and you call
290 
291  food(1) // cast rank '1' (1 -> 1.0)
292  fooi(1) // cast rank '0'
293 
294  just use the SWIG_AddCast()/SWIG_CheckState()
295 */
296 
297 #define SWIG_OK (0)
298 #define SWIG_ERROR (-1)
299 #define SWIG_IsOK(r) (r >= 0)
300 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
301 
302 /* The CastRankLimit says how many bits are used for the cast rank */
303 #define SWIG_CASTRANKLIMIT (1 << 8)
304 /* The NewMask denotes the object was created (using new/malloc) */
305 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
306 /* The TmpMask is for in/out typemaps that use temporal objects */
307 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
308 /* Simple returning values */
309 #define SWIG_BADOBJ (SWIG_ERROR)
310 #define SWIG_OLDOBJ (SWIG_OK)
311 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
312 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
313 /* Check, add and del mask methods */
314 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
315 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
316 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
317 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
318 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
319 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
320 
321 /* Cast-Rank Mode */
322 #if defined(SWIG_CASTRANK_MODE)
323 # ifndef SWIG_TypeRank
324 # define SWIG_TypeRank unsigned long
325 # endif
326 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
327 # define SWIG_MAXCASTRANK (2)
328 # endif
329 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
330 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
331 SWIGINTERNINLINE int SWIG_AddCast(int r) {
332  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
333 }
335  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
336 }
337 #else /* no cast-rank mode */
338 # define SWIG_AddCast(r) (r)
339 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
340 #endif
341 
342 
343 #include <string.h>
344 
345 #ifdef __cplusplus
346 extern "C" {
347 #endif
348 
349 typedef void *(*swig_converter_func)(void *, int *);
350 typedef struct swig_type_info *(*swig_dycast_func)(void **);
351 
352 /* Structure to store information on one type */
353 typedef struct swig_type_info {
354  const char *name; /* mangled name of this type */
355  const char *str; /* human readable name of this type */
356  swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
357  struct swig_cast_info *cast; /* linked list of types that can cast into this type */
358  void *clientdata; /* language specific type data */
359  int owndata; /* flag if the structure owns the clientdata */
361 
362 /* Structure to store a type and conversion function used for casting */
363 typedef struct swig_cast_info {
364  swig_type_info *type; /* pointer to type that is equivalent to this type */
365  swig_converter_func converter; /* function to cast the void pointers */
366  struct swig_cast_info *next; /* pointer to next cast in linked list */
367  struct swig_cast_info *prev; /* pointer to the previous cast */
369 
370 /* Structure used to store module information
371  * Each module generates one structure like this, and the runtime collects
372  * all of these structures and stores them in a circularly linked list.*/
373 typedef struct swig_module_info {
374  swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
375  size_t size; /* Number of types in this module */
376  struct swig_module_info *next; /* Pointer to next element in circularly linked list */
377  swig_type_info **type_initial; /* Array of initially generated type structures */
378  swig_cast_info **cast_initial; /* Array of initially generated casting structures */
379  void *clientdata; /* Language specific module data */
381 
382 /*
383  Compare two type names skipping the space characters, therefore
384  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
385 
386  Return 0 when the two name types are equivalent, as in
387  strncmp, but skipping ' '.
388 */
389 SWIGRUNTIME int
390 SWIG_TypeNameComp(const char *f1, const char *l1,
391  const char *f2, const char *l2) {
392  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
393  while ((*f1 == ' ') && (f1 != l1)) ++f1;
394  while ((*f2 == ' ') && (f2 != l2)) ++f2;
395  if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
396  }
397  return (int)((l1 - f1) - (l2 - f2));
398 }
399 
400 /*
401  Check type equivalence in a name list like <name1>|<name2>|...
402  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
403 */
404 SWIGRUNTIME int
405 SWIG_TypeCmp(const char *nb, const char *tb) {
406  int equiv = 1;
407  const char* te = tb + strlen(tb);
408  const char* ne = nb;
409  while (equiv != 0 && *ne) {
410  for (nb = ne; *ne; ++ne) {
411  if (*ne == '|') break;
412  }
413  equiv = SWIG_TypeNameComp(nb, ne, tb, te);
414  if (*ne) ++ne;
415  }
416  return equiv;
417 }
418 
419 /*
420  Check type equivalence in a name list like <name1>|<name2>|...
421  Return 0 if not equal, 1 if equal
422 */
423 SWIGRUNTIME int
424 SWIG_TypeEquiv(const char *nb, const char *tb) {
425  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
426 }
427 
428 /*
429  Check the typename
430 */
432 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
433  if (ty) {
434  swig_cast_info *iter = ty->cast;
435  while (iter) {
436  if (strcmp(iter->type->name, c) == 0) {
437  if (iter == ty->cast)
438  return iter;
439  /* Move iter to the top of the linked list */
440  iter->prev->next = iter->next;
441  if (iter->next)
442  iter->next->prev = iter->prev;
443  iter->next = ty->cast;
444  iter->prev = 0;
445  if (ty->cast) ty->cast->prev = iter;
446  ty->cast = iter;
447  return iter;
448  }
449  iter = iter->next;
450  }
451  }
452  return 0;
453 }
454 
455 /*
456  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
457 */
460  if (ty) {
461  swig_cast_info *iter = ty->cast;
462  while (iter) {
463  if (iter->type == from) {
464  if (iter == ty->cast)
465  return iter;
466  /* Move iter to the top of the linked list */
467  iter->prev->next = iter->next;
468  if (iter->next)
469  iter->next->prev = iter->prev;
470  iter->next = ty->cast;
471  iter->prev = 0;
472  if (ty->cast) ty->cast->prev = iter;
473  ty->cast = iter;
474  return iter;
475  }
476  iter = iter->next;
477  }
478  }
479  return 0;
480 }
481 
482 /*
483  Cast a pointer up an inheritance hierarchy
484 */
485 SWIGRUNTIMEINLINE void *
486 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
487  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
488 }
489 
490 /*
491  Dynamic pointer casting. Down an inheritance hierarchy
492 */
495  swig_type_info *lastty = ty;
496  if (!ty || !ty->dcast) return ty;
497  while (ty && (ty->dcast)) {
498  ty = (*ty->dcast)(ptr);
499  if (ty) lastty = ty;
500  }
501  return lastty;
502 }
503 
504 /*
505  Return the name associated with this type
506 */
507 SWIGRUNTIMEINLINE const char *
509  return ty->name;
510 }
511 
512 /*
513  Return the pretty name associated with this type,
514  that is an unmangled type name in a form presentable to the user.
515 */
516 SWIGRUNTIME const char *
518  /* The "str" field contains the equivalent pretty names of the
519  type, separated by vertical-bar characters. We choose
520  to print the last name, as it is often (?) the most
521  specific. */
522  if (!type) return NULL;
523  if (type->str != NULL) {
524  const char *last_name = type->str;
525  const char *s;
526  for (s = type->str; *s; s++)
527  if (*s == '|') last_name = s+1;
528  return last_name;
529  }
530  else
531  return type->name;
532 }
533 
534 /*
535  Set the clientdata field for a type
536 */
537 SWIGRUNTIME void
539  swig_cast_info *cast = ti->cast;
540  /* if (ti->clientdata == clientdata) return; */
541  ti->clientdata = clientdata;
542 
543  while (cast) {
544  if (!cast->converter) {
545  swig_type_info *tc = cast->type;
546  if (!tc->clientdata) {
548  }
549  }
550  cast = cast->next;
551  }
552 }
553 SWIGRUNTIME void
556  ti->owndata = 1;
557 }
558 
559 /*
560  Search for a swig_type_info structure only by mangled name
561  Search is a O(log #types)
562 
563  We start searching at module start, and finish searching when start == end.
564  Note: if start == end at the beginning of the function, we go all the way around
565  the circular list.
566 */
569  swig_module_info *end,
570  const char *name) {
571  swig_module_info *iter = start;
572  do {
573  if (iter->size) {
574  size_t l = 0;
575  size_t r = iter->size - 1;
576  do {
577  /* since l+r >= 0, we can (>> 1) instead (/ 2) */
578  size_t i = (l + r) >> 1;
579  const char *iname = iter->types[i]->name;
580  if (iname) {
581  int compare = strcmp(name, iname);
582  if (compare == 0) {
583  return iter->types[i];
584  } else if (compare < 0) {
585  if (i) {
586  r = i - 1;
587  } else {
588  break;
589  }
590  } else if (compare > 0) {
591  l = i + 1;
592  }
593  } else {
594  break; /* should never happen */
595  }
596  } while (l <= r);
597  }
598  iter = iter->next;
599  } while (iter != end);
600  return 0;
601 }
602 
603 /*
604  Search for a swig_type_info structure for either a mangled name or a human readable name.
605  It first searches the mangled names of the types, which is a O(log #types)
606  If a type is not found it then searches the human readable names, which is O(#types).
607 
608  We start searching at module start, and finish searching when start == end.
609  Note: if start == end at the beginning of the function, we go all the way around
610  the circular list.
611 */
614  swig_module_info *end,
615  const char *name) {
616  /* STEP 1: Search the name field using binary search */
617  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
618  if (ret) {
619  return ret;
620  } else {
621  /* STEP 2: If the type hasn't been found, do a complete search
622  of the str field (the human readable name) */
623  swig_module_info *iter = start;
624  do {
625  size_t i = 0;
626  for (; i < iter->size; ++i) {
627  if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
628  return iter->types[i];
629  }
630  iter = iter->next;
631  } while (iter != end);
632  }
633 
634  /* neither found a match */
635  return 0;
636 }
637 
638 /*
639  Pack binary data into a string
640 */
641 SWIGRUNTIME char *
642 SWIG_PackData(char *c, void *ptr, size_t sz) {
643  static const char hex[17] = "0123456789abcdef";
644  const unsigned char *u = (unsigned char *) ptr;
645  const unsigned char *eu = u + sz;
646  for (; u != eu; ++u) {
647  unsigned char uu = *u;
648  *(c++) = hex[(uu & 0xf0) >> 4];
649  *(c++) = hex[uu & 0xf];
650  }
651  return c;
652 }
653 
654 /*
655  Unpack binary data from a string
656 */
657 SWIGRUNTIME const char *
658 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
659  unsigned char *u = (unsigned char *) ptr;
660  const unsigned char *eu = u + sz;
661  for (; u != eu; ++u) {
662  char d = *(c++);
663  unsigned char uu;
664  if ((d >= '0') && (d <= '9'))
665  uu = (unsigned char)((d - '0') << 4);
666  else if ((d >= 'a') && (d <= 'f'))
667  uu = (unsigned char)((d - ('a'-10)) << 4);
668  else
669  return (char *) 0;
670  d = *(c++);
671  if ((d >= '0') && (d <= '9'))
672  uu |= (unsigned char)(d - '0');
673  else if ((d >= 'a') && (d <= 'f'))
674  uu |= (unsigned char)(d - ('a'-10));
675  else
676  return (char *) 0;
677  *u = uu;
678  }
679  return c;
680 }
681 
682 /*
683  Pack 'void *' into a string buffer.
684 */
685 SWIGRUNTIME char *
686 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
687  char *r = buff;
688  if ((2*sizeof(void *) + 2) > bsz) return 0;
689  *(r++) = '_';
690  r = SWIG_PackData(r,&ptr,sizeof(void *));
691  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
692  strcpy(r,name);
693  return buff;
694 }
695 
696 SWIGRUNTIME const char *
697 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
698  if (*c != '_') {
699  if (strcmp(c,"NULL") == 0) {
700  *ptr = (void *) 0;
701  return name;
702  } else {
703  return 0;
704  }
705  }
706  return SWIG_UnpackData(++c,ptr,sizeof(void *));
707 }
708 
709 SWIGRUNTIME char *
710 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
711  char *r = buff;
712  size_t lname = (name ? strlen(name) : 0);
713  if ((2*sz + 2 + lname) > bsz) return 0;
714  *(r++) = '_';
715  r = SWIG_PackData(r,ptr,sz);
716  if (lname) {
717  strncpy(r,name,lname+1);
718  } else {
719  *r = 0;
720  }
721  return buff;
722 }
723 
724 SWIGRUNTIME const char *
725 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
726  if (*c != '_') {
727  if (strcmp(c,"NULL") == 0) {
728  memset(ptr,0,sz);
729  return name;
730  } else {
731  return 0;
732  }
733  }
734  return SWIG_UnpackData(++c,ptr,sz);
735 }
736 
737 #ifdef __cplusplus
738 }
739 #endif
740 
741 /* Errors in SWIG */
742 #define SWIG_UnknownError -1
743 #define SWIG_IOError -2
744 #define SWIG_RuntimeError -3
745 #define SWIG_IndexError -4
746 #define SWIG_TypeError -5
747 #define SWIG_DivisionByZero -6
748 #define SWIG_OverflowError -7
749 #define SWIG_SyntaxError -8
750 #define SWIG_ValueError -9
751 #define SWIG_SystemError -10
752 #define SWIG_AttributeError -11
753 #define SWIG_MemoryError -12
754 #define SWIG_NullReferenceError -13
755 
756 
757 
758 /* -----------------------------------------------------------------------------
759  * luarun.swg
760  *
761  * This file contains the runtime support for Lua modules
762  * and includes code for managing global variables and pointer
763  * type checking.
764  * ----------------------------------------------------------------------------- */
765 
766 #ifdef __cplusplus
767 extern "C" {
768 #endif
769 
770 #include "lua.h"
771 #include "lauxlib.h"
772 #include <stdlib.h> /* for malloc */
773 #include <assert.h> /* for a few sanity tests */
774 
775 /* -----------------------------------------------------------------------------
776  * Lua flavors
777  * ----------------------------------------------------------------------------- */
778 
779 #define SWIG_LUA_FLAVOR_LUA 1
780 #define SWIG_LUA_FLAVOR_ELUA 2
781 #define SWIG_LUA_FLAVOR_ELUAC 3
782 
783 #if !defined(SWIG_LUA_TARGET)
784 # error SWIG_LUA_TARGET not defined
785 #endif
786 
787 #if defined(SWIG_LUA_ELUA_EMULATE)
788 
789 struct swig_elua_entry;
790 
791 typedef struct swig_elua_key {
792  int type;
793  union {
794  const char* strkey;
795  lua_Number numkey;
796  } key;
797 } swig_elua_key;
798 
799 typedef struct swig_elua_val {
800  int type;
801  union {
802  lua_Number number;
803  const struct swig_elua_entry *table;
804  const char *string;
805  lua_CFunction function;
806  struct {
807  char member;
808  long lvalue;
809  void *pvalue;
810  swig_type_info **ptype;
811  } userdata;
812  } value;
813 } swig_elua_val;
814 
815 typedef struct swig_elua_entry {
816  swig_elua_key key;
817  swig_elua_val value;
818 } swig_elua_entry;
819 
820 #define LSTRKEY(x) {LUA_TSTRING, {.strkey = x} }
821 #define LNUMKEY(x) {LUA_TNUMBER, {.numkey = x} }
822 #define LNILKEY {LUA_TNIL, {.strkey = 0} }
823 
824 #define LNUMVAL(x) {LUA_TNUMBER, {.number = x} }
825 #define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} }
826 #define LROVAL(x) {LUA_TTABLE, {.table = x} }
827 #define LNILVAL {LUA_TNIL, {.string = 0} }
828 #define LSTRVAL(x) {LUA_TSTRING, {.string = x} }
829 
830 #define LUA_REG_TYPE swig_elua_entry
831 
832 #define SWIG_LUA_ELUA_EMUL_METATABLE_KEY "__metatable"
833 
834 #define lua_pushrotable(L,p)\
835  lua_newtable(L);\
836  assert(p);\
837  SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p));
838 
839 #define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
840  LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } }
841 
842 #define SWIG_LUA_CONSTTAB_BINARY(B,S,C,D)\
843  LSTRKEY(B), {LUA_TUSERDATA, { .userdata={1,S,(void*)(C),&D} } }
844 #endif
845 
846 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
847 # define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C)
848 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C)
849 # define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C)
850 # define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C)
851  /* Those two types of constants are not supported in elua */
852 
853 #ifndef SWIG_LUA_CONSTTAB_POINTER
854 #warning eLua does not support pointers as constants. By default, nil will be used as value
855 #define SWIG_LUA_CONSTTAB_POINTER(B,C,D) LSTRKEY(B), LNILVAL
856 #endif
857 
858 #ifndef SWIG_LUA_CONSTTAB_BINARY
859 #warning eLua does not support pointers to member as constants. By default, nil will be used as value
860 #define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D) LSTRKEY(B), LNILVAL
861 #endif
862 #else /* SWIG_LUA_FLAVOR_LUA */
863 # define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
864 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
865 # define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
866 # define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
867 # define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
868  SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D
869 # define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D)\
870  SWIG_LUA_BINARY, (char *)B, S, 0, (void *)C, &D
871 #endif
872 
873 #ifndef SWIG_LUA_ELUA_EMULATE
874 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
875 # define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING}
876 # define LSTRVAL LRO_STRVAL
877 #endif
878 #endif /* SWIG_LUA_ELUA_EMULATE*/
879 
880 #ifndef SWIG_LUA_ELUA_EMULATE
881 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
882 
883 #ifndef MIN_OPT_LEVEL
884 #define MIN_OPT_LEVEL 2
885 #endif
886 
887 #include "lrodefs.h"
888 #include "lrotable.h"
889 #endif
890 #endif /* SWIG_LUA_ELUA_EMULATE*/
891 /* -----------------------------------------------------------------------------
892  * compatibility defines
893  * ----------------------------------------------------------------------------- */
894 
895 /* History of Lua C API length functions: In Lua 5.0 (and before?)
896  there was "lua_strlen". In Lua 5.1, this was renamed "lua_objlen",
897  but a compatibility define of "lua_strlen" was added. In Lua 5.2,
898  this function was again renamed, to "lua_rawlen" (to emphasize that
899  it doesn't call the "__len" metamethod), and the compatibility
900  define of lua_strlen was removed. All SWIG uses have been updated
901  to "lua_rawlen", and we add our own defines of that here for older
902  versions of Lua. */
903 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
904 # define lua_rawlen lua_strlen
905 #elif LUA_VERSION_NUM == 501
906 # define lua_rawlen lua_objlen
907 #endif
908 
909 
910 /* lua_pushglobaltable is the recommended "future-proof" way to get
911  the global table for Lua 5.2 and later. Here we define
912  lua_pushglobaltable ourselves for Lua versions before 5.2. */
913 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
914 # define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX)
915 #endif
916 
917 /* lua_absindex was introduced in Lua 5.2 */
918 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
919 # define lua_absindex(L,i) ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1)
920 #endif
921 
922 /* lua_rawsetp was introduced in Lua 5.2 */
923 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
924 #define lua_rawsetp(L,index,ptr)\
925  lua_pushlightuserdata(L,(void*)(ptr));\
926  lua_insert(L,-2);\
927  lua_rawset(L,index);
928 
929 #define lua_rawgetp(L,index,ptr)\
930  lua_pushlightuserdata(L,(void*)(ptr));\
931  lua_rawget(L,index);
932 
933 #endif
934 
935 /* --------------------------------------------------------------------------
936  * Helper functions for error handling
937  * -------------------------------------------------------------------------- */
938 
939 /* Push the string STR on the Lua stack, like lua_pushstring, but
940  prefixed with the location of the innermost Lua call-point
941  (as formatted by luaL_where). */
942 SWIGRUNTIME void
943 SWIG_Lua_pusherrstring (lua_State *L, const char *str)
944 {
945  luaL_where (L, 1);
946  lua_pushstring (L, str);
947  lua_concat (L, 2);
948 }
949 
950 /* Push a formatted string generated from FMT and following args on
951  the Lua stack, like lua_pushfstring, but prefixed with the
952  location of the innermost Lua call-point (as formatted by luaL_where). */
953 SWIGRUNTIME void
954 SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...)
955 {
956  va_list argp;
957  va_start(argp, fmt);
958  luaL_where(L, 1);
959  lua_pushvfstring(L, fmt, argp);
960  va_end(argp);
961  lua_concat(L, 2);
962 }
963 
964 
965 /* -----------------------------------------------------------------------------
966  * global swig types
967  * ----------------------------------------------------------------------------- */
968 /* Constant table */
969 #define SWIG_LUA_INT 1
970 #define SWIG_LUA_FLOAT 2
971 #define SWIG_LUA_STRING 3
972 #define SWIG_LUA_POINTER 4
973 #define SWIG_LUA_BINARY 5
974 #define SWIG_LUA_CHAR 6
975 
976 /* Structure for variable linking table */
977 typedef struct {
978  const char *name;
979  lua_CFunction get;
980  lua_CFunction set;
982 
983 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
984 typedef const LUA_REG_TYPE swig_lua_method;
985 typedef const LUA_REG_TYPE swig_lua_const_info;
986 #else /* Normal lua */
987 typedef luaL_Reg swig_lua_method;
988 
989 /* Constant information structure */
990 typedef struct {
991  int type;
992  char *name;
993  long lvalue;
994  double dvalue;
995  void *pvalue;
998 
999 #endif
1000 
1001 typedef struct {
1002  const char *name;
1003  lua_CFunction getmethod;
1004  lua_CFunction setmethod;
1006 
1007 
1008 struct swig_lua_class;
1009 /* Can be used to create namespaces. Currently used to wrap class static methods/variables/constants */
1010 typedef struct swig_lua_namespace {
1011  const char *name;
1018 
1019 typedef struct swig_lua_class {
1020  const char *name; /* Name that this class has in Lua */
1021  const char *fqname; /* Fully qualified name - Scope + class name */
1023  lua_CFunction constructor;
1024  void (*destructor)(void *);
1028  swig_lua_method *metatable; /* 0 for -eluac */
1030  const char **base_names;
1031 } swig_lua_class;
1032 
1033 /* this is the struct for wrapping all pointers in SwigLua
1034 */
1035 typedef struct {
1037  int own; /* 1 if owned & must be destroyed */
1038  void *ptr;
1040 
1041 /* this is the struct for wrapping arbitrary packed binary data
1042 (currently it is only used for member function pointers)
1043 the data ordering is similar to swig_lua_userdata, but it is currently not possible
1044 to tell the two structures apart within SWIG, other than by looking at the type
1045 */
1046 typedef struct {
1048  int own; /* 1 if owned & must be destroyed */
1049  char data[1]; /* arbitrary amount of data */
1051 
1052 /* Common SWIG API */
1053 #define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
1054 #define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
1055 #define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
1056 /* for C++ member pointers, ie, member methods */
1057 #define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
1058 #define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type)
1059 
1060 /* Runtime API */
1061 #define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
1062 #define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
1063 #define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
1064 
1065 /* Contract support */
1066 #define SWIG_contract_assert(expr, msg) \
1067  if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else
1068 
1069 
1070 /* helper #defines */
1071 #define SWIG_fail {goto fail;}
1072 #define SWIG_fail_arg(func_name,argnum,type) \
1073  {SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
1074  func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
1075  goto fail;}
1076 #define SWIG_fail_ptr(func_name,argnum,type) \
1077  SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
1078 #define SWIG_check_num_args(func_name,a,b) \
1079  if (lua_gettop(L)<a || lua_gettop(L)>b) \
1080  {SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
1081  goto fail;}
1082 
1083 
1084 #define SWIG_Lua_get_table(L,n) \
1085  (lua_pushstring(L, n), lua_rawget(L,-2))
1086 
1087 #define SWIG_Lua_add_function(L,n,f) \
1088  (lua_pushstring(L, n), \
1089  lua_pushcfunction(L, f), \
1090  lua_rawset(L,-3))
1091 
1092 #define SWIG_Lua_add_boolean(L,n,b) \
1093  (lua_pushstring(L, n), \
1094  lua_pushboolean(L, b), \
1095  lua_rawset(L,-3))
1096 
1097 /* special helper for allowing 'nil' for usertypes */
1098 #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
1099 
1100 #ifdef __cplusplus
1101 /* Special helper for member function pointers
1102 it gets the address, casts it, then dereferences it */
1103 /*#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a))) */
1104 #endif
1105 
1106 /* storing/access of swig_module_info */
1108 SWIG_Lua_GetModule(lua_State *L) {
1109  swig_module_info *ret = 0;
1110  lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1111  lua_rawget(L,LUA_REGISTRYINDEX);
1112  if (lua_islightuserdata(L,-1))
1113  ret=(swig_module_info*)lua_touserdata(L,-1);
1114  lua_pop(L,1); /* tidy */
1115  return ret;
1116 }
1117 
1118 SWIGRUNTIME void
1119 SWIG_Lua_SetModule(lua_State *L, swig_module_info *module) {
1120  /* add this all into the Lua registry: */
1121  lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1122  lua_pushlightuserdata(L,(void*)module);
1123  lua_rawset(L,LUA_REGISTRYINDEX);
1124 }
1125 
1126 /* -----------------------------------------------------------------------------
1127  * global variable support code: modules
1128  * ----------------------------------------------------------------------------- */
1129 
1130 /* this function is called when trying to set an immutable.
1131 default action is to print an error.
1132 This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */
1134 {
1135 /* there should be 1 param passed in: the new value */
1136 #ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
1137  lua_pop(L,1); /* remove it */
1138  luaL_error(L,"This variable is immutable");
1139 #endif
1140  return 0; /* should not return anything */
1141 }
1142 
1143 #ifdef SWIG_LUA_ELUA_EMULATE
1144 
1145 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own);
1146 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type);
1147 static int swig_lua_elua_emulate_unique_key;
1148 
1149 /* This function emulates eLua rotables behaviour. It loads a rotable definition into the usual lua table. */
1150 SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_entry *table)
1151 {
1152  int i, table_parsed, parsed_tables_array, target_table;
1153  assert(lua_istable(L,-1));
1154  target_table = lua_gettop(L);
1155  /* Get the registry where we put all parsed tables to avoid loops */
1156  lua_rawgetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1157  if(lua_isnil(L,-1)) {
1158  lua_pop(L,1);
1159  lua_newtable(L);
1160  lua_pushvalue(L,-1);
1161  lua_rawsetp(L,LUA_REGISTRYINDEX,(void*)(&swig_lua_elua_emulate_unique_key));
1162  }
1163  parsed_tables_array = lua_gettop(L);
1164  lua_pushvalue(L,target_table);
1165  lua_rawsetp(L, parsed_tables_array, table);
1166  table_parsed = 0;
1167  const int SWIGUNUSED pairs_start = lua_gettop(L);
1168  for(i = 0;table[i].key.type != LUA_TNIL || table[i].value.type != LUA_TNIL;i++)
1169  {
1170  const swig_elua_entry *entry = table + i;
1171  int is_metatable = 0;
1172  switch(entry->key.type) {
1173  case LUA_TSTRING:
1174  lua_pushstring(L,entry->key.key.strkey);
1175  if(strcmp(entry->key.key.strkey, SWIG_LUA_ELUA_EMUL_METATABLE_KEY) == 0)
1176  is_metatable = 1;
1177  break;
1178  case LUA_TNUMBER:
1179  lua_pushnumber(L,entry->key.key.numkey);
1180  break;
1181  case LUA_TNIL:
1182  lua_pushnil(L);
1183  break;
1184  default:
1185  assert(0);
1186  }
1187  switch(entry->value.type) {
1188  case LUA_TSTRING:
1189  lua_pushstring(L,entry->value.value.string);
1190  break;
1191  case LUA_TNUMBER:
1192  lua_pushnumber(L,entry->value.value.number);
1193  break;
1194  case LUA_TFUNCTION:
1195  lua_pushcfunction(L,entry->value.value.function);
1196  break;
1197  case LUA_TTABLE:
1198  lua_rawgetp(L,parsed_tables_array, entry->value.value.table);
1199  table_parsed = !lua_isnil(L,-1);
1200  if(!table_parsed) {
1201  lua_pop(L,1); /*remove nil */
1202  lua_newtable(L);
1203  SWIG_Lua_elua_emulate_register(L,entry->value.value.table);
1204  }
1205  if(is_metatable) {
1206  assert(lua_istable(L,-1));
1207  lua_pushvalue(L,-1);
1208  lua_setmetatable(L,target_table);
1209  }
1210 
1211  break;
1212  case LUA_TUSERDATA:
1213  if(entry->value.value.userdata.member)
1214  SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue,
1215  entry->value.value.userdata.lvalue,
1216  *(entry->value.value.userdata.ptype));
1217  else
1218  SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue,
1219  *(entry->value.value.userdata.ptype),0);
1220  break;
1221  case LUA_TNIL:
1222  lua_pushnil(L);
1223  break;
1224  default:
1225  assert(0);
1226  }
1227  assert(lua_gettop(L) == pairs_start + 2);
1228  lua_rawset(L,target_table);
1229  }
1230  lua_pop(L,1); /* Removing parsed tables storage */
1231  assert(lua_gettop(L) == target_table);
1232 }
1233 
1234 SWIGINTERN void SWIG_Lua_elua_emulate_register_clear(lua_State *L)
1235 {
1236  lua_pushnil(L);
1237  lua_rawsetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1238 }
1239 
1240 SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L);
1241 
1242 SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_State *L)
1243 {
1244  SWIG_check_num_args("getmetatable(SWIG eLua emulation)", 1, 1);
1246  lua_getfield(L,-1,"lua_getmetatable");
1247  lua_remove(L,-2); /* remove the registry*/
1248  assert(!lua_isnil(L,-1));
1249  lua_pushvalue(L,1);
1250  assert(lua_gettop(L) == 3); /* object | function | object again */
1251  lua_call(L,1,1);
1252  if(!lua_isnil(L,-1)) /*There is an ordinary metatable */
1253  return 1;
1254  /*if it is a table, then emulate elua behaviour - check for __metatable attribute of a table*/
1255  assert(lua_gettop(L) == 2);
1256  if(lua_istable(L,-2)) {
1257  lua_pop(L,1); /*remove the nil*/
1258  lua_getfield(L,-1, SWIG_LUA_ELUA_EMUL_METATABLE_KEY);
1259  }
1260  assert(lua_gettop(L) == 2);
1261  return 1;
1262 
1263 fail:
1264  lua_error(L);
1265  return 0;
1266 }
1267 
1268 SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatable(lua_State *L)
1269 {
1272  lua_pushstring(L,"lua_getmetatable");
1273  lua_getfield(L,-2,"getmetatable");
1274  assert(!lua_isnil(L,-1));
1275  lua_rawset(L,-4);
1276  lua_pushstring(L, "getmetatable");
1277  lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable);
1278  lua_rawset(L,-3);
1279  lua_pop(L,2);
1280 
1281 }
1282 /* END OF REMOVE */
1283 
1284 #endif
1285 /* -----------------------------------------------------------------------------
1286  * global variable support code: namespaces and modules (which are the same thing)
1287  * ----------------------------------------------------------------------------- */
1288 
1290 {
1291 /* there should be 2 params passed in
1292  (1) table (not the meta table)
1293  (2) string name of the attribute
1294 */
1295  assert(lua_istable(L,-2)); /* just in case */
1296  lua_getmetatable(L,-2);
1297  assert(lua_istable(L,-1));
1298  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1299  assert(lua_istable(L,-1));
1300  /* look for the key in the .get table */
1301  lua_pushvalue(L,2); /* key */
1302  lua_rawget(L,-2);
1303  lua_remove(L,-2); /* stack tidy, remove .get table */
1304  if (lua_iscfunction(L,-1))
1305  { /* found it so call the fn & return its value */
1306  lua_call(L,0,1); /* 1 value in (userdata),1 out (result) */
1307  lua_remove(L,-2); /* stack tidy, remove metatable */
1308  return 1;
1309  }
1310  lua_pop(L,1); /* remove whatever was there */
1311  /* ok, so try the .fn table */
1312  SWIG_Lua_get_table(L,".fn"); /* find the .get table */
1313  assert(lua_istable(L,-1)); /* just in case */
1314  lua_pushvalue(L,2); /* key */
1315  lua_rawget(L,-2); /* look for the fn */
1316  lua_remove(L,-2); /* stack tidy, remove .fn table */
1317  if (lua_isfunction(L,-1)) /* note: whether it's a C function or lua function */
1318  { /* found it so return the fn & let lua call it */
1319  lua_remove(L,-2); /* stack tidy, remove metatable */
1320  return 1;
1321  }
1322  lua_pop(L,1); /* remove whatever was there */
1323  return 0;
1324 }
1325 
1327 {
1328 /* there should be 3 params passed in
1329  (1) table (not the meta table)
1330  (2) string name of the attribute
1331  (3) any for the new value
1332 */
1333 
1334  assert(lua_istable(L,1));
1335  lua_getmetatable(L,1); /* get the meta table */
1336  assert(lua_istable(L,-1));
1337 
1338  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1339  if (lua_istable(L,-1))
1340  {
1341  /* look for the key in the .set table */
1342  lua_pushvalue(L,2); /* key */
1343  lua_rawget(L,-2);
1344  if (lua_iscfunction(L,-1))
1345  { /* found it so call the fn & return its value */
1346  lua_pushvalue(L,3); /* value */
1347  lua_call(L,1,0);
1348  return 0;
1349  }
1350  lua_pop(L,1); /* remove the value */
1351  }
1352  lua_pop(L,1); /* remove the value .set table */
1353  lua_pop(L,1); /* remote metatable */
1354  lua_rawset(L,-3);
1355  return 0;
1356 }
1357 
1358 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
1359 SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]); /* forward declaration */
1360 SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn); /* forward declaration */
1361 SWIGINTERN void SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss);
1362 
1363 /* helper function - register namespace methods and attributes into namespace */
1365 {
1366  int i;
1367  /* There must be namespace table (not metatable) at the top of the stack */
1368  assert(lua_istable(L,-1));
1370 
1371  /* add methods to the namespace/module table */
1372  for(i=0;ns->ns_methods[i].name;i++){
1373  SWIG_Lua_add_function(L,ns->ns_methods[i].name,ns->ns_methods[i].func);
1374  }
1375  lua_getmetatable(L,-1);
1376 
1377  /* add fns */
1378  for(i=0;ns->ns_attributes[i].name;i++){
1380  }
1381 
1382  /* clear stack - remove metatble */
1383  lua_pop(L,1);
1384  return 0;
1385 }
1386 
1387 /* Register all classes in the namespace */
1389 {
1390  swig_lua_class **classes;
1391 
1392  /* There must be a module/namespace table at the top of the stack */
1393  assert(lua_istable(L,-1));
1394 
1395  classes = ns->ns_classes;
1396 
1397  if( classes != 0 ) {
1398  while(*classes != 0) {
1399  SWIG_Lua_class_register(L, *classes);
1400  classes++;
1401  }
1402  }
1403 }
1404 
1405 /* Helper function. Creates namespace table and adds it to module table
1406  if 'reg' is true, then will register namespace table to parent one (must be on top of the stack
1407  when function is called).
1408  Function always returns newly registered table on top of the stack.
1409 */
1411 {
1412  swig_lua_namespace **sub_namespace;
1413  /* 1 argument - table on the top of the stack */
1414  const int SWIGUNUSED begin = lua_gettop(L);
1415  assert(lua_istable(L,-1)); /* just in case. This is supposed to be module table or parent namespace table */
1416  lua_checkstack(L,5);
1417  lua_newtable(L); /* namespace itself */
1418  lua_newtable(L); /* metatable for namespace */
1419 
1420  /* add a table called ".get" */
1421  lua_pushstring(L,".get");
1422  lua_newtable(L);
1423  lua_rawset(L,-3);
1424  /* add a table called ".set" */
1425  lua_pushstring(L,".set");
1426  lua_newtable(L);
1427  lua_rawset(L,-3);
1428  /* add a table called ".fn" */
1429  lua_pushstring(L,".fn");
1430  lua_newtable(L);
1431  lua_rawset(L,-3);
1432 
1433  /* add accessor fns for using the .get,.set&.fn */
1436 
1437  lua_setmetatable(L,-2); /* set metatable */
1438 
1439  /* Register all functions, variables etc */
1441  /* Register classes */
1443 
1444  sub_namespace = ns->ns_namespaces;
1445  if( sub_namespace != 0) {
1446  while(*sub_namespace != 0) {
1447  SWIG_Lua_namespace_register(L, *sub_namespace, 1);
1448  lua_pop(L,1); /* removing sub-namespace table */
1449  sub_namespace++;
1450  }
1451  }
1452 
1453  if (reg) {
1454  lua_pushstring(L,ns->name);
1455  lua_pushvalue(L,-2);
1456  lua_rawset(L,-4); /* add namespace to module table */
1457  }
1458  assert(lua_gettop(L) == begin+1);
1459 }
1460 #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
1461 
1462 /* -----------------------------------------------------------------------------
1463  * global variable support code: classes
1464  * ----------------------------------------------------------------------------- */
1465 
1466 SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname);
1467 
1468 typedef int (*swig_lua_base_iterator_func)(lua_State*,swig_type_info*, int, int *ret);
1469 
1471  int first_arg, swig_lua_base_iterator_func func, int *const ret)
1472 {
1473  /* first_arg - position of the object in stack. Everything that is above are arguments
1474  * and is passed to every evocation of the func */
1475  int last_arg = lua_gettop(L);/* position of last argument */
1476  int original_metatable = last_arg + 1;
1477  size_t bases_count;
1478  int result = SWIG_ERROR;
1479  int bases_table;
1480  (void)swig_type;
1481  lua_getmetatable(L,first_arg);
1482 
1483  /* initialise base search */
1484 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1485  SWIG_Lua_get_table(L,".bases");
1486  assert(lua_istable(L,-1));
1487  bases_count = lua_rawlen(L,-1);
1488  bases_table = lua_gettop(L);
1489 #else
1490  /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1491  (void)bases_table;
1492  assert(swig_type!=0);
1493  swig_module_info *module=SWIG_GetModule(L);
1494  swig_lua_class **bases= ((swig_lua_class*)(swig_type->clientdata))->bases;
1495  const char **base_names= ((swig_lua_class*)(swig_type->clientdata))->base_names;
1496  bases_count = 0;
1497  for(;base_names[bases_count];
1498  bases_count++);/* get length of bases */
1499 #endif
1500 
1501  if(ret)
1502  *ret = 0;
1503  if(bases_count>0)
1504  {
1505  int to_remove;
1506  size_t i;
1507  int j;
1508  int subcall_last_arg;
1509  int subcall_first_arg = lua_gettop(L) + 1;/* Here a copy of first_arg and arguments begin */
1510  int valid = 1;
1511  swig_type_info *base_swig_type = 0;
1512  for(j=first_arg;j<=last_arg;j++)
1513  lua_pushvalue(L,j);
1514  subcall_last_arg = lua_gettop(L);
1515 
1516  /* Trick: temporarily replacing original metatable with metatable for base class and call getter */
1517  for(i=0;i<bases_count;i++) {
1518  /* Iteration through class bases */
1519 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1520  lua_rawgeti(L,bases_table,i+1);
1521  base_swig_type = 0;
1522  if(lua_isnil(L,-1)) {
1523  valid = 0;
1524  lua_pop(L,1);
1525  } else {
1526  valid = 1;
1527  }
1528 #else /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1529  swig_lua_class *base_class = bases[i];
1530  if(!base_class) {
1531  valid = 0;
1532  } else {
1533  valid = 1;
1534  SWIG_Lua_get_class_metatable(L,base_class->fqname);
1535  base_swig_type = SWIG_TypeQueryModule(module,module,base_names[i]);
1536  assert(base_swig_type != 0);
1537  }
1538 #endif
1539 
1540  if(!valid)
1541  continue;
1542  assert(lua_isuserdata(L, subcall_first_arg));
1543  assert(lua_istable(L,-1));
1544  lua_setmetatable(L,subcall_first_arg); /* Set new metatable */
1545  assert(lua_gettop(L) == subcall_last_arg);
1546  result = func(L, base_swig_type,subcall_first_arg, ret); /* Forward call */
1547  if(result != SWIG_ERROR) {
1548  break;
1549  }
1550  }
1551  /* Restore original metatable */
1552  lua_pushvalue(L,original_metatable);
1553  lua_setmetatable(L,first_arg);
1554  /* Clear - remove everything between last_arg and subcall_last_arg including */
1555  to_remove = subcall_last_arg - last_arg;
1556  for(j=0;j<to_remove;j++)
1557  lua_remove(L,last_arg+1);
1558  } else {
1559  /* Remove everything after last_arg */
1560  lua_pop(L, lua_gettop(L) - last_arg);
1561  }
1562  if(ret) assert(lua_gettop(L) == last_arg + *ret);
1563  return result;
1564 }
1565 
1566 /* The class.get method helper, performs the lookup of class attributes.
1567  * It returns an error code. Number of function return values is passed inside 'ret'.
1568  * first_arg is not used in this function because function always has 2 arguments.
1569  */
1570 SWIGINTERN int SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1571 {
1572 /* there should be 2 params passed in
1573  (1) userdata (not the meta table)
1574  (2) string name of the attribute
1575 */
1576  int bases_search_result;
1577  int substack_start = lua_gettop(L)-2;
1578  assert(first_arg == substack_start+1);
1579  lua_checkstack(L,5);
1580  assert(lua_isuserdata(L,-2)); /* just in case */
1581  lua_getmetatable(L,-2); /* get the meta table */
1582  assert(lua_istable(L,-1)); /* just in case */
1583  /* NEW: looks for the __getitem() fn
1584  this is a user provided get fn */
1585  SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */
1586  if (lua_iscfunction(L,-1)) /* if its there */
1587  { /* found it so call the fn & return its value */
1588  lua_pushvalue(L,substack_start+1); /* the userdata */
1589  lua_pushvalue(L,substack_start+2); /* the parameter */
1590  lua_call(L,2,1); /* 2 value in (userdata),1 out (result) */
1591  lua_remove(L,-2); /* stack tidy, remove metatable */
1592  if(ret) *ret = 1;
1593  return SWIG_OK;
1594  }
1595  lua_pop(L,1);
1596  /* Remove the metatable */
1597  lua_pop(L,1);
1598  /* Search in base classes */
1599  bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get_item,ret);
1600  return bases_search_result; /* sorry not known */
1601 }
1602 
1603 
1604 /* The class.get method helper, performs the lookup of class attributes.
1605  * It returns an error code. Number of function return values is passed inside 'ret'.
1606  * first_arg is not used in this function because function always has 2 arguments.
1607  */
1608 SWIGINTERN int SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1609 {
1610 /* there should be 2 params passed in
1611  (1) userdata (not the meta table)
1612  (2) string name of the attribute
1613 */
1614  int bases_search_result;
1615  int substack_start = lua_gettop(L)-2;
1616  assert(first_arg == substack_start+1);
1617  lua_checkstack(L,5);
1618  assert(lua_isuserdata(L,-2)); /* just in case */
1619  lua_getmetatable(L,-2); /* get the meta table */
1620  assert(lua_istable(L,-1)); /* just in case */
1621  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1622  assert(lua_istable(L,-1)); /* just in case */
1623  /* look for the key in the .get table */
1624  lua_pushvalue(L,substack_start+2); /* key */
1625  lua_rawget(L,-2);
1626  lua_remove(L,-2); /* stack tidy, remove .get table */
1627  if (lua_iscfunction(L,-1))
1628  { /* found it so call the fn & return its value */
1629  lua_pushvalue(L,substack_start+1); /* the userdata */
1630  lua_call(L,1,1); /* 1 value in (userdata),1 out (result) */
1631  lua_remove(L,-2); /* stack tidy, remove metatable */
1632  if(ret)
1633  *ret = 1;
1634  return SWIG_OK;
1635  }
1636  lua_pop(L,1); /* remove whatever was there */
1637  /* ok, so try the .fn table */
1638  SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
1639  assert(lua_istable(L,-1)); /* just in case */
1640  lua_pushvalue(L,substack_start+2); /* key */
1641  lua_rawget(L,-2); /* look for the fn */
1642  lua_remove(L,-2); /* stack tidy, remove .fn table */
1643  if (lua_isfunction(L,-1)) /* note: if its a C function or lua function */
1644  { /* found it so return the fn & let lua call it */
1645  lua_remove(L,-2); /* stack tidy, remove metatable */
1646  if(ret)
1647  *ret = 1;
1648  return SWIG_OK;
1649  }
1650  lua_pop(L,1); /* remove whatever was there */
1651  /* Remove the metatable */
1652  lua_pop(L,1);
1653  /* Search in base classes */
1654  bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get,ret);
1655  return bases_search_result; /* sorry not known */
1656 }
1657 
1658 /* the class.get method, performs the lookup of class attributes
1659  */
1661 {
1662 /* there should be 2 params passed in
1663  (1) userdata (not the meta table)
1664  (2) string name of the attribute
1665 */
1666  int result;
1667  swig_lua_userdata *usr;
1669  int ret = 0;
1670  assert(lua_isuserdata(L,1));
1671  usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1672  type = usr->type;
1673  result = SWIG_Lua_class_do_get(L,type,1,&ret);
1674  if(result == SWIG_OK)
1675  return ret;
1676 
1677  result = SWIG_Lua_class_do_get_item(L,type,1,&ret);
1678  if(result == SWIG_OK)
1679  return ret;
1680 
1681  return 0;
1682 }
1683 
1684 /* helper for the class.set method, performs the lookup of class attributes
1685  * It returns error code. Number of function return values is passed inside 'ret'
1686  */
1687 SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret)
1688 {
1689 /* there should be 3 params passed in
1690  (1) table (not the meta table)
1691  (2) string name of the attribute
1692  (3) any for the new value
1693  */
1694 
1695  int bases_search_result;
1696  int substack_start = lua_gettop(L) - 3;
1697  lua_checkstack(L,5);
1698  assert(lua_isuserdata(L,substack_start+1)); /* just in case */
1699  lua_getmetatable(L,substack_start+1); /* get the meta table */
1700  assert(lua_istable(L,-1)); /* just in case */
1701  if(ret)
1702  *ret = 0; /* it is setter - number of return values is always 0 */
1703 
1704  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1705  if (lua_istable(L,-1))
1706  {
1707  /* look for the key in the .set table */
1708  lua_pushvalue(L,substack_start+2); /* key */
1709  lua_rawget(L,-2);
1710  lua_remove(L,-2); /* tidy stack, remove .set table */
1711  if (lua_iscfunction(L,-1))
1712  { /* found it so call the fn & return its value */
1713  lua_pushvalue(L,substack_start+1); /* userdata */
1714  lua_pushvalue(L,substack_start+3); /* value */
1715  lua_call(L,2,0);
1716  lua_remove(L,substack_start+4); /*remove metatable*/
1717  return SWIG_OK;
1718  }
1719  lua_pop(L,1); /* remove the value */
1720  } else {
1721  lua_pop(L,1); /* remove the answer for .set table request*/
1722  }
1723  /* NEW: looks for the __setitem() fn
1724  this is a user provided set fn */
1725  SWIG_Lua_get_table(L,"__setitem"); /* find the fn */
1726  if (lua_iscfunction(L,-1)) /* if its there */
1727  { /* found it so call the fn & return its value */
1728  lua_pushvalue(L,substack_start+1); /* the userdata */
1729  lua_pushvalue(L,substack_start+2); /* the parameter */
1730  lua_pushvalue(L,substack_start+3); /* the value */
1731  lua_call(L,3,0); /* 3 values in ,0 out */
1732  lua_remove(L,-2); /* stack tidy, remove metatable */
1733  return SWIG_OK;
1734  }
1735  lua_pop(L,1); /* remove value */
1736 
1737  lua_pop(L,1); /* remove metatable */
1738  /* Search among bases */
1739  bases_search_result = SWIG_Lua_iterate_bases(L,type,first_arg,SWIG_Lua_class_do_set,ret);
1740  if(ret)
1741  assert(*ret == 0);
1742  assert(lua_gettop(L) == substack_start + 3);
1743  return bases_search_result;
1744 }
1745 
1746 /* This is the actual method exported to Lua. It calls SWIG_Lua_class_do_set and correctly
1747  * handles return values.
1748  */
1750 {
1751 /* There should be 3 params passed in
1752  (1) table (not the meta table)
1753  (2) string name of the attribute
1754  (3) any for the new value
1755  */
1756  int ret = 0;
1757  int result;
1758  swig_lua_userdata *usr;
1760  assert(lua_isuserdata(L,1));
1761  usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1762  type = usr->type;
1763  result = SWIG_Lua_class_do_set(L,type,1,&ret);
1764  if(result != SWIG_OK) {
1765  SWIG_Lua_pushferrstring(L,"Assignment not possible. No setter/member with this name. For custom assignments implement __setitem method.");
1766  lua_error(L);
1767  } else {
1768  assert(ret==0);
1769  }
1770  return 0;
1771 }
1772 
1773 /* the class.destruct method called by the interpreter */
1775 {
1776 /* there should be 1 params passed in
1777  (1) userdata (not the meta table) */
1778  swig_lua_userdata *usr;
1779  swig_lua_class *clss;
1780  assert(lua_isuserdata(L,-1)); /* just in case */
1781  usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1782  /* if must be destroyed & has a destructor */
1783  if (usr->own) /* if must be destroyed */
1784  {
1785  clss=(swig_lua_class*)usr->type->clientdata; /* get the class */
1786  if (clss && clss->destructor) /* there is a destroy fn */
1787  {
1788  clss->destructor(usr->ptr); /* bye bye */
1789  }
1790  }
1791  return 0;
1792 }
1793 
1794 /* the class.__tostring method called by the interpreter and print */
1796 {
1797 /* there should be 1 param passed in
1798  (1) userdata (not the metatable) */
1799  swig_lua_userdata* userData;
1800  assert(lua_isuserdata(L,1)); /* just in case */
1801  userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address */
1802 
1803  lua_pushfstring(L, "<userdata of type '%s' at %p>", userData->type->str, userData->ptr);
1804  return 1;
1805 }
1806 
1807 /* to manually disown some userdata */
1809 {
1810 /* there should be 1 params passed in
1811  (1) userdata (not the meta table) */
1812  swig_lua_userdata *usr;
1813  assert(lua_isuserdata(L,-1)); /* just in case */
1814  usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1815 
1816  usr->own = 0; /* clear our ownership */
1817  return 0;
1818 }
1819 
1820 /* lua callable function to compare userdata's value
1821 the issue is that two userdata may point to the same thing
1822 but to lua, they are different objects */
1824 {
1825  int result;
1826  swig_lua_userdata *usr1,*usr2;
1827  if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2)) /* just in case */
1828  return 0; /* nil reply */
1829  usr1=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1830  usr2=(swig_lua_userdata*)lua_touserdata(L,2); /* get data */
1831  /*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/
1832  result=(usr1->ptr==usr2->ptr);
1833  lua_pushboolean(L,result);
1834  return 1;
1835 }
1836 
1837 /* populate table at the top of the stack with metamethods that ought to be inherited */
1839 {
1840  SWIG_Lua_add_boolean(L, "__add", 1);
1841  SWIG_Lua_add_boolean(L, "__sub", 1);
1842  SWIG_Lua_add_boolean(L, "__mul", 1);
1843  SWIG_Lua_add_boolean(L, "__div", 1);
1844  SWIG_Lua_add_boolean(L, "__mod", 1);
1845  SWIG_Lua_add_boolean(L, "__pow", 1);
1846  SWIG_Lua_add_boolean(L, "__unm", 1);
1847  SWIG_Lua_add_boolean(L, "__len", 1 );
1848  SWIG_Lua_add_boolean(L, "__concat", 1 );
1849  SWIG_Lua_add_boolean(L, "__eq", 1);
1850  SWIG_Lua_add_boolean(L, "__lt", 1);
1851  SWIG_Lua_add_boolean(L, "__le", 1);
1852  SWIG_Lua_add_boolean(L, "__call", 1);
1853  SWIG_Lua_add_boolean(L, "__tostring", 1);
1854  SWIG_Lua_add_boolean(L, "__gc", 0);
1855 }
1856 
1857 /* creates the swig registry */
1859 {
1860  /* create main SWIG registry table */
1861  lua_pushstring(L,"SWIG");
1862  lua_newtable(L);
1863  /* populate it with some predefined data */
1864 
1865  /* .library table. Placeholder */
1866  lua_pushstring(L,".library");
1867  lua_newtable(L);
1868  {
1869  /* list of metamethods that class inherits from its bases */
1870  lua_pushstring(L,"inheritable_metamethods");
1871  lua_newtable(L);
1872  /* populate with list of metamethods */
1874  lua_rawset(L,-3);
1875  }
1876  lua_rawset(L,-3);
1877 
1878  lua_rawset(L,LUA_REGISTRYINDEX);
1879 }
1880 
1881 /* gets the swig registry (or creates it) */
1883 {
1884  /* add this all into the swig registry: */
1885  lua_pushstring(L,"SWIG");
1886  lua_rawget(L,LUA_REGISTRYINDEX); /* get the registry */
1887  if (!lua_istable(L,-1)) /* not there */
1888  { /* must be first time, so add it */
1889  lua_pop(L,1); /* remove the result */
1891  /* then get it */
1892  lua_pushstring(L,"SWIG");
1893  lua_rawget(L,LUA_REGISTRYINDEX);
1894  }
1895 }
1896 
1898 {
1900  lua_pushstring(L, ".library");
1901  lua_rawget(L,-2);
1902  assert( !lua_isnil(L,-1) );
1903  lua_pushstring(L, "inheritable_metamethods");
1904  lua_rawget(L,-2);
1905 
1906  /* Remove class registry and library table */
1907  lua_remove(L,-2);
1908  lua_remove(L,-2);
1909 }
1910 
1911 /* Helper function to get the classes metatable from the register */
1912 SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname)
1913 {
1914  SWIG_Lua_get_class_registry(L); /* get the registry */
1915  lua_pushstring(L,cname); /* get the name */
1916  lua_rawget(L,-2); /* get it */
1917  lua_remove(L,-2); /* tidy up (remove registry) */
1918 }
1919 
1920 /* Set up the base classes pointers.
1921 Each class structure has a list of pointers to the base class structures.
1922 This function fills them.
1923 It cannot be done at compile time, as this will not work with hireachies
1924 spread over more than one swig file.
1925 Therefore it must be done at runtime, querying the SWIG type system.
1926 */
1928 {
1929  int i=0;
1930  swig_module_info *module=SWIG_GetModule(L);
1931  for(i=0;clss->base_names[i];i++)
1932  {
1933  if (clss->bases[i]==0) /* not found yet */
1934  {
1935  /* lookup and cache the base class */
1936  swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]);
1937  if (info) clss->bases[i] = (swig_lua_class *) info->clientdata;
1938  }
1939  }
1940 }
1941 
1942 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1943 /* Merges two tables */
1944 SWIGINTERN void SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source)
1945 {
1946  /* iterating */
1947  lua_pushnil(L);
1948  while (lua_next(L,source) != 0) {
1949  /* -1 - value, -2 - index */
1950  /* have to copy to assign */
1951  lua_pushvalue(L,-2); /* copy of index */
1952  lua_pushvalue(L,-2); /* copy of value */
1953  lua_rawset(L, target);
1954  lua_pop(L,1);
1955  /* only key is left */
1956  }
1957 }
1958 
1959 /* Merges two tables with given name. original - index of target metatable, base - index of source metatable */
1960 SWIGINTERN void SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base)
1961 {
1962  /* push original[name], then base[name] */
1963  lua_pushstring(L,name);
1964  lua_rawget(L,original);
1965  int original_table = lua_gettop(L);
1966  lua_pushstring(L,name);
1967  lua_rawget(L,base);
1968  int base_table = lua_gettop(L);
1969  SWIG_Lua_merge_tables_by_index(L, original_table, base_table);
1970  /* clearing stack */
1971  lua_pop(L,2);
1972 }
1973 
1974 /* Function takes all symbols from base and adds it to derived class. It's just a helper. */
1975 SWIGINTERN void SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls)
1976 {
1977  /* There is one parameter - original, i.e. 'derived' class metatable */
1978  assert(lua_istable(L,-1));
1979  int original = lua_gettop(L);
1980  SWIG_Lua_get_class_metatable(L,base_cls->fqname);
1981  int base = lua_gettop(L);
1982  SWIG_Lua_merge_tables(L, ".fn", original, base );
1983  SWIG_Lua_merge_tables(L, ".set", original, base );
1984  SWIG_Lua_merge_tables(L, ".get", original, base );
1985  lua_pop(L,1);
1986 }
1987 
1988 /* Function squashes all symbols from 'clss' bases into itself */
1989 SWIGINTERN void SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss)
1990 {
1991  int i;
1993  for(i=0;clss->base_names[i];i++)
1994  {
1995  if (clss->bases[i]==0) /* Somehow it's not found. Skip it */
1996  continue;
1997  /* Thing is: all bases are already registered. Thus they have already executed
1998  * this function. So we just need to squash them into us, because their bases
1999  * are already squashed into them. No need for recursion here!
2000  */
2001  SWIG_Lua_class_squash_base(L, clss->bases[i]);
2002  }
2003  lua_pop(L,1); /*tidy stack*/
2004 }
2005 #endif
2006 
2007 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
2008 /* helper add a variable to a registered class */
2009 SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn)
2010 {
2011  assert(lua_istable(L,-1)); /* just in case */
2012  SWIG_Lua_get_table(L,".get"); /* find the .get table */
2013  assert(lua_istable(L,-1)); /* just in case */
2014  SWIG_Lua_add_function(L,name,getFn);
2015  lua_pop(L,1); /* tidy stack (remove table) */
2016  if (setFn)
2017  {
2018  SWIG_Lua_get_table(L,".set"); /* find the .set table */
2019  assert(lua_istable(L,-1)); /* just in case */
2020  SWIG_Lua_add_function(L,name,setFn);
2021  lua_pop(L,1); /* tidy stack (remove table) */
2022  }
2023 }
2024 
2025 /* helper to recursively add class static details (static attributes, operations and constants) */
2027 {
2028  int i = 0;
2029  /* The class namespace table must be on the top of the stack */
2030  assert(lua_istable(L,-1));
2031  /* call all the base classes first: we can then override these later: */
2032  for(i=0;clss->bases[i];i++)
2033  {
2035  }
2036 
2038 }
2039 
2040 SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss); /* forward declaration */
2041 
2042 /* helper to recursively add class details (attributes & operations) */
2044 {
2045  int i;
2046  size_t bases_count = 0;
2047  /* Add bases to .bases table */
2048  SWIG_Lua_get_table(L,".bases");
2049  assert(lua_istable(L,-1)); /* just in case */
2050  for(i=0;clss->bases[i];i++)
2051  {
2053  /* Base class must be already registered */
2054  assert(lua_istable(L,-1));
2055  lua_rawseti(L,-2,i+1); /* In lua indexing starts from 1 */
2056  bases_count++;
2057  }
2058  assert(lua_rawlen(L,-1) == bases_count);
2059  lua_pop(L,1); /* remove .bases table */
2060  /* add attributes */
2061  for(i=0;clss->attributes[i].name;i++){
2063  }
2064  /* add methods to the metatable */
2065  SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
2066  assert(lua_istable(L,-1)); /* just in case */
2067  for(i=0;clss->methods[i].name;i++){
2068  SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].func);
2069  }
2070  lua_pop(L,1); /* tidy stack (remove table) */
2071  /* add operator overloads
2072  This adds methods from metatable array to metatable. Can mess up garbage
2073  collectind if someone defines __gc method
2074  */
2075  if(clss->metatable) {
2076  for(i=0;clss->metatable[i].name;i++) {
2077  SWIG_Lua_add_function(L,clss->metatable[i].name,clss->metatable[i].func);
2078  }
2079  }
2080 
2081 #if !defined(SWIG_LUA_SQUASH_BASES)
2082  /* Adding metamethods that are defined in base classes. If bases were squashed
2083  * then it is obviously unnecessary
2084  */
2086 #endif
2087 }
2088 
2089 /* Helpers to add user defined class metamedhods - __add, __sub etc. The helpers are needed
2090  for the following issue: Lua runtime checks for metamethod existence with rawget function
2091  ignoring our SWIG-provided __index and __newindex functions. Thus our inheritance-aware method
2092  search algorithm doesn't work in such case. (Not to say that Lua runtime queries metamethod directly
2093  in metatable and not in object).
2094  Current solution is this: if somewhere in hierarchy metamethod __x is defined, then all descendants
2095  are automatically given a special proxy __x that calls the real __x method.
2096  Obvious idea - to copy __x instead of creating __x-proxy is wrong because if someone changes __x in runtime,
2097  those changes must be reflected in all descendants.
2098 */
2099 
2100 SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L); /*forward declaration*/
2101 
2102 /* The real function that resolves a metamethod.
2103  * Function searches given class and all it's bases(recursively) for first instance of something that is
2104  * not equal to SWIG_Lua_resolve_metatmethod. (Almost always this 'something' is actual metamethod implementation
2105  * and it is a SWIG-generated C function.). It returns value on the top of the L and there is no garbage below the
2106  * answer.
2107  * Returns 1 if found, 0 otherwise.
2108  * clss is class which metatable we will search for method
2109  * metamethod_name_idx is index in L where metamethod name (as string) lies
2110  * skip_check allows to skip searching metamethod in givel clss and immideatelly go to searching in bases. skip_check
2111  * is not caried to subsequent recursive calls - false is always passed. It is set to true only at first call from
2112  * SWIG_Lua_resolve_metamethod
2113  * */
2114 SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx,
2115  int skip_check)
2116 {
2117  /* This function is called recursively */
2118  int result = 0;
2119  int i = 0;
2120 
2121  if (!skip_check) {
2123  lua_pushvalue(L, metamethod_name_idx);
2124  lua_rawget(L,-2);
2125  /* If this is cfunction and it is equal to SWIG_Lua_resolve_metamethod then
2126  * this isn't the function we are looking for :)
2127  * lua_tocfunction will return NULL if not cfunction
2128  */
2129  if (!lua_isnil(L,-1) && lua_tocfunction(L,-1) != SWIG_Lua_resolve_metamethod ) {
2130  lua_remove(L,-2); /* removing class metatable */
2131  return 1;
2132  }
2133  lua_pop(L,2); /* remove class metatable and query result */
2134  }
2135 
2136  /* Forwarding calls to bases */
2137  for(i=0;clss->bases[i];i++)
2138  {
2139  result = SWIG_Lua_do_resolve_metamethod(L, clss->bases[i], metamethod_name_idx, 0);
2140  if (result)
2141  break;
2142  }
2143 
2144  return result;
2145 }
2146 
2147 /* The proxy function for metamethod. All parameters are passed as cclosure. Searches for actual method
2148  * and calls it */
2150 {
2151  int numargs;
2152  int metamethod_name_idx;
2153  const swig_lua_class* clss;
2154  int result;
2155 
2156  lua_checkstack(L,5);
2157  numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */
2158 
2159  /* Get upvalues from closure */
2160  lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/
2161  metamethod_name_idx = lua_gettop(L);
2162 
2163  lua_pushvalue(L, lua_upvalueindex(2));
2164  clss = (const swig_lua_class*)(lua_touserdata(L,-1));
2165  lua_pop(L,1); /* remove lightuserdata with clss from stack */
2166 
2167  /* Actual work */
2168  result = SWIG_Lua_do_resolve_metamethod(L, clss, metamethod_name_idx, 1);
2169  if (!result) {
2170  SWIG_Lua_pushferrstring(L,"The metamethod proxy is set, but it failed to find actual metamethod. Memory corruption is most likely explanation.");
2171  lua_error(L);
2172  return 0;
2173  }
2174 
2175  lua_remove(L,-2); /* remove metamethod key */
2176  lua_insert(L,1); /* move function to correct position */
2177  lua_call(L, numargs, LUA_MULTRET);
2178  return lua_gettop(L); /* return all results */
2179 }
2180 
2181 
2182 /* If given metamethod must be present in given class, then creates appropriate proxy
2183  * Returns 1 if successfully added, 0 if not added because no base class has it, -1
2184  * if method is defined in the class metatable itself
2185  */
2186 SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
2187 {
2188  int key_index;
2189  int success = 0;
2190  int i = 0;
2191 
2192  /* metamethod name - on the top of the stack */
2193  assert(lua_isstring(L,-1));
2194 
2195  key_index = lua_gettop(L);
2196 
2197  /* Check whether method is already defined in metatable */
2198  lua_pushvalue(L,key_index); /* copy of the key */
2199  lua_gettable(L,metatable_index);
2200  if( !lua_isnil(L,-1) ) {
2201  lua_pop(L,1);
2202  return -1;
2203  }
2204  lua_pop(L,1);
2205 
2206  /* Iterating over immediate bases */
2207  for(i=0;clss->bases[i];i++)
2208  {
2209  const swig_lua_class *base = clss->bases[i];
2211  lua_pushvalue(L, key_index);
2212  lua_rawget(L, -2);
2213  if( !lua_isnil(L,-1) ) {
2214  lua_pushvalue(L, key_index);
2215 
2216  /* Add proxy function */
2217  lua_pushvalue(L, key_index); /* first closure value is function name */
2218  lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */
2219  lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2);
2220 
2221  lua_rawset(L, metatable_index);
2222  success = 1;
2223  }
2224  lua_pop(L,1); /* remove function or nil */
2225  lua_pop(L,1); /* remove base class metatable */
2226 
2227  if( success )
2228  break;
2229  }
2230 
2231  return success;
2232 }
2233 
2235 {
2236  int metatable_index;
2237  int metamethods_info_index;
2238  int tostring_undefined;
2239  int eq_undefined = 0;
2240 
2242  metatable_index = lua_gettop(L);
2244  assert(lua_istable(L,-1));
2245  metamethods_info_index = lua_gettop(L);
2246  lua_pushnil(L); /* first key */
2247  while(lua_next(L, metamethods_info_index) != 0 ) {
2248  /* key at index -2, value at index -1 */
2249  const int is_inheritable = lua_toboolean(L,-2);
2250  lua_pop(L,1); /* remove value - we don't need it anymore */
2251 
2252  if(is_inheritable) { /* if metamethod is inheritable */
2253  SWIG_Lua_add_class_user_metamethod(L,clss,metatable_index);
2254  }
2255  }
2256 
2257  lua_pop(L,1); /* remove inheritable metatmethods table */
2258 
2259  /* Special handling for __tostring method */
2260  lua_pushstring(L, "__tostring");
2261  lua_pushvalue(L,-1);
2262  lua_rawget(L,metatable_index);
2263  tostring_undefined = lua_isnil(L,-1);
2264  lua_pop(L,1);
2265  if( tostring_undefined ) {
2266  lua_pushcfunction(L, SWIG_Lua_class_tostring);
2267  lua_rawset(L, metatable_index);
2268  } else {
2269  lua_pop(L,1); /* remove copy of the key */
2270  }
2271 
2272  /* Special handling for __eq method */
2273  lua_pushstring(L, "__eq");
2274  lua_pushvalue(L,-1);
2275  lua_rawget(L,metatable_index);
2276  eq_undefined = lua_isnil(L,-1);
2277  lua_pop(L,1);
2278  if( eq_undefined ) {
2279  lua_pushcfunction(L, SWIG_Lua_class_equal);
2280  lua_rawset(L, metatable_index);
2281  } else {
2282  lua_pop(L,1); /* remove copy of the key */
2283  }
2284  /* Warning: __index and __newindex are SWIG-defined. For user-defined operator[]
2285  * a __getitem/__setitem method should be defined
2286  */
2287  lua_pop(L,1); /* pop class metatable */
2288 }
2289 
2290 /* Register class static methods,attributes etc as well as constructor proxy */
2292 {
2293  const int SWIGUNUSED begin = lua_gettop(L);
2294  lua_checkstack(L,5); /* just in case */
2295  assert(lua_istable(L,-1)); /* just in case */
2296  assert(strcmp(clss->name, clss->cls_static->name) == 0); /* in class those 2 must be equal */
2297 
2299 
2300  assert(lua_istable(L,-1)); /* just in case */
2301 
2302  /* add its constructor to module with the name of the class
2303  so you can do MyClass(...) as well as new_MyClass(...)
2304  BUT only if a constructor is defined
2305  (this overcomes the problem of pure virtual classes without constructors)*/
2306  if (clss->constructor)
2307  {
2308  lua_getmetatable(L,-1);
2309  assert(lua_istable(L,-1)); /* just in case */
2310  SWIG_Lua_add_function(L,"__call", clss->constructor);
2311  lua_pop(L,1);
2312  }
2313 
2314  assert(lua_istable(L,-1)); /* just in case */
2316 
2317  /* clear stack */
2318  lua_pop(L,1);
2319  assert( lua_gettop(L) == begin );
2320 }
2321 
2322 /* Performs the instance (non-static) class registration process. Metatable for class is created
2323  * and added to the class registry.
2324  */
2326 {
2327  const int SWIGUNUSED begin = lua_gettop(L);
2328  int i;
2329  /* if name already there (class is already registered) then do nothing */
2330  SWIG_Lua_get_class_registry(L); /* get the registry */
2331  lua_pushstring(L,clss->fqname); /* get the name */
2332  lua_rawget(L,-2);
2333  if(!lua_isnil(L,-1)) {
2334  lua_pop(L,2);
2335  assert(lua_gettop(L)==begin);
2336  return;
2337  }
2338  lua_pop(L,2); /* tidy stack */
2339  /* Recursively initialize all bases */
2340  for(i=0;clss->bases[i];i++)
2341  {
2343  }
2344  /* Again, get registry and push name */
2345  SWIG_Lua_get_class_registry(L); /* get the registry */
2346  lua_pushstring(L,clss->fqname); /* get the name */
2347  lua_newtable(L); /* create the metatable */
2348 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2349  /* If squashing is requested, then merges all bases metatable into this one.
2350  * It would get us all special methods: __getitem, __add etc.
2351  * This would set .fn, .type, and other .xxx incorrectly, but we will overwrite it right away
2352  */
2353  {
2354  int new_metatable_index = lua_absindex(L,-1);
2355  for(i=0;clss->bases[i];i++)
2356  {
2357  int base_metatable;
2359  base_metatable = lua_absindex(L,-1);
2360  SWIG_Lua_merge_tables_by_index(L,new_metatable_index, base_metatable);
2361  lua_pop(L,1);
2362  }
2363  }
2364  /* And now we will overwrite all incorrectly set data */
2365 #endif
2366  /* add string of class name called ".type" */
2367  lua_pushstring(L,".type");
2368  lua_pushstring(L,clss->fqname);
2369  lua_rawset(L,-3);
2370  /* add a table called bases */
2371  lua_pushstring(L,".bases");
2372  lua_newtable(L);
2373  lua_rawset(L,-3);
2374  /* add a table called ".get" */
2375  lua_pushstring(L,".get");
2376  lua_newtable(L);
2377  lua_rawset(L,-3);
2378  /* add a table called ".set" */
2379  lua_pushstring(L,".set");
2380  lua_newtable(L);
2381  lua_rawset(L,-3);
2382  /* add a table called ".fn" */
2383  lua_pushstring(L,".fn");
2384  lua_newtable(L);
2385  /* add manual disown method */
2387  lua_rawset(L,-3);
2388  /* add accessor fns for using the .get,.set&.fn */
2390  SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_class_set);
2392  /* add it */
2393  lua_rawset(L,-3); /* metatable into registry */
2394  lua_pop(L,1); /* tidy stack (remove registry) */
2395  assert(lua_gettop(L) == begin);
2396 
2397 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2398  /* Now merge all symbols from .fn, .set, .get etc from bases to our tables */
2399  SWIG_Lua_class_squash_bases(L,clss);
2400 #endif
2402  SWIG_Lua_add_class_instance_details(L,clss); /* recursive adding of details (atts & ops) */
2403  lua_pop(L,1); /* tidy stack (remove class metatable) */
2404  assert( lua_gettop(L) == begin );
2405 }
2406 
2408 {
2409  int SWIGUNUSED begin;
2410  assert(lua_istable(L,-1)); /* This is a table (module or namespace) where classes will be added */
2413 
2414  /* Add links from static part to instance part and vice versa */
2415  /* [SWIG registry] [Module]
2416  * "MyClass" ----> [MyClass metatable] <===== "MyClass" -+> [static part]
2417  * ".get" ----> ... | | getmetatable()----|
2418  * ".set" ----> ... | | |
2419  * ".static" --------------)----------------/ [static part metatable]
2420  * | ".get" --> ...
2421  * | ".set" --> ....
2422  * |=============================== ".instance"
2423  */
2424  begin = lua_gettop(L);
2425  lua_pushstring(L,clss->cls_static->name);
2426  lua_rawget(L,-2); /* get class static table */
2427  assert(lua_istable(L,-1));
2428  lua_getmetatable(L,-1);
2429  assert(lua_istable(L,-1)); /* get class static metatable */
2430  lua_pushstring(L,".instance"); /* prepare key */
2431 
2432  SWIG_Lua_get_class_metatable(L,clss->fqname); /* get class metatable */
2433  assert(lua_istable(L,-1));
2434  lua_pushstring(L,".static"); /* prepare key */
2435  lua_pushvalue(L, -4); /* push static class TABLE */
2436  assert(lua_istable(L,-1));
2437  lua_rawset(L,-3); /* assign static class table(!NOT metatable) as ".static" member of class metatable */
2438  lua_rawset(L,-3); /* assign class metatable as ".instance" member of class static METATABLE */
2439  lua_pop(L,2);
2440  assert(lua_gettop(L) == begin);
2441 }
2442 #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
2443 
2444 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
2445 SWIGINTERN void SWIG_Lua_elua_class_register_instance(lua_State *L, swig_lua_class *clss)
2446 {
2447  const int SWIGUNUSED begin = lua_gettop(L);
2448  int i;
2449  /* if name already there (class is already registered) then do nothing */
2450  SWIG_Lua_get_class_registry(L); /* get the registry */
2451  lua_pushstring(L,clss->fqname); /* get the name */
2452  lua_rawget(L,-2);
2453  if(!lua_isnil(L,-1)) {
2454  lua_pop(L,2);
2455  assert(lua_gettop(L)==begin);
2456  return;
2457  }
2458  lua_pop(L,2); /* tidy stack */
2459  /* Recursively initialize all bases */
2460  for(i=0;clss->bases[i];i++)
2461  {
2462  SWIG_Lua_elua_class_register_instance(L,clss->bases[i]);
2463  }
2464  /* Again, get registry and push name */
2465  SWIG_Lua_get_class_registry(L); /* get the registry */
2466  lua_pushstring(L,clss->fqname); /* get the name */
2467  assert(clss->metatable);
2468  lua_pushrotable(L, (void*)(clss->metatable)); /* create the metatable */
2469  lua_rawset(L,-3);
2470  lua_pop(L,1);
2471  assert(lua_gettop(L) == begin);
2472 }
2473 #endif /* elua && eluac */
2474 
2475 /* -----------------------------------------------------------------------------
2476  * Class/structure conversion fns
2477  * ----------------------------------------------------------------------------- */
2478 
2479 /* helper to add metatable to new lua object */
2481 {
2482  if (type->clientdata) /* there is clientdata: so add the metatable */
2483  {
2484  SWIG_Lua_get_class_metatable(L,((swig_lua_class*)(type->clientdata))->fqname);
2485  if (lua_istable(L,-1))
2486  {
2487  lua_setmetatable(L,-2);
2488  }
2489  else
2490  {
2491  lua_pop(L,1);
2492  }
2493  }
2494 }
2495 
2496 /* pushes a new object into the lua stack */
2497 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own)
2498 {
2499  swig_lua_userdata *usr;
2500  if (!ptr){
2501  lua_pushnil(L);
2502  return;
2503  }
2504  usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */
2505  usr->ptr=ptr; /* set the ptr */
2506  usr->type=type;
2507  usr->own=own;
2508 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
2509  SWIG_Lua_AddMetatable(L,type); /* add metatable */
2510 #endif
2511 }
2512 
2513 /* takes a object from the lua stack & converts it into an object of the correct type
2514  (if possible) */
2515 SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type_info *type,int flags)
2516 {
2517  swig_lua_userdata *usr;
2518  swig_cast_info *cast;
2519  /* special case: lua nil => NULL pointer */
2520  if (lua_isnil(L,index))
2521  {
2522  *ptr=0;
2524  }
2525  if (lua_islightuserdata(L,index))
2526  {
2527  *ptr=lua_touserdata(L,index);
2529  }
2530  usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */
2531  if (usr)
2532  {
2533  if (flags & SWIG_POINTER_DISOWN) /* must disown the object */
2534  {
2535  usr->own=0;
2536  }
2537  if (!type) /* special cast void*, no casting fn */
2538  {
2539  *ptr=usr->ptr;
2540  return SWIG_OK; /* ok */
2541  }
2542  cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */
2543  if (cast)
2544  {
2545  int newmemory = 0;
2546  *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory);
2547  assert(!newmemory); /* newmemory handling not yet implemented */
2548  return SWIG_OK; /* ok */
2549  }
2550  }
2551  return SWIG_ERROR; /* error */
2552 }
2553 
2554 SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State *L,int index,swig_type_info *type,int flags,
2555  int argnum,const char *func_name){
2556  void *result;
2557  if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){
2558  luaL_error (L,"Error in %s, expected a %s at argument number %d\n",
2559  func_name,(type && type->str)?type->str:"void*",argnum);
2560  }
2561  return result;
2562 }
2563 
2564 /* pushes a packed userdata. user for member fn pointers only */
2565 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type)
2566 {
2567  swig_lua_rawdata *raw;
2568  assert(ptr); /* not acceptable to pass in a NULL value */
2569  raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */
2570  raw->type=type;
2571  raw->own=0;
2572  memcpy(raw->data,ptr,size); /* copy the data */
2573  SWIG_Lua_AddMetatable(L,type); /* add metatable */
2574 }
2575 
2576 /* converts a packed userdata. user for member fn pointers only */
2577 SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type)
2578 {
2579  swig_lua_rawdata *raw;
2580  raw=(swig_lua_rawdata*)lua_touserdata(L,index); /* get data */
2581  if (!raw) return SWIG_ERROR; /* error */
2582  if (type==0 || type==raw->type) /* void* or identical type */
2583  {
2584  memcpy(ptr,raw->data,size); /* copy it */
2585  return SWIG_OK; /* ok */
2586  }
2587  return SWIG_ERROR; /* error */
2588 }
2589 
2590 /* a function to get the typestring of a piece of data */
2591 SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
2592 {
2593  swig_lua_userdata *usr;
2594  if (lua_isuserdata(L,tp))
2595  {
2596  usr=(swig_lua_userdata*)lua_touserdata(L,tp); /* get data */
2597  if (usr && usr->type && usr->type->str)
2598  return usr->type->str;
2599  return "userdata (unknown type)";
2600  }
2601  return lua_typename(L,lua_type(L,tp));
2602 }
2603 
2604 /* lua callable function to get the userdata's type */
2605 SWIGRUNTIME int SWIG_Lua_type(lua_State *L)
2606 {
2607  lua_pushstring(L,SWIG_Lua_typename(L,1));
2608  return 1;
2609 }
2610 
2611 /* -----------------------------------------------------------------------------
2612  * global variable support code: class/struct typemap functions
2613  * ----------------------------------------------------------------------------- */
2614 
2615 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
2616 /* Install Constants */
2617 SWIGINTERN void
2619  int i;
2620  for (i = 0; constants[i].type; i++) {
2621  switch(constants[i].type) {
2622  case SWIG_LUA_INT:
2623  lua_pushstring(L,constants[i].name);
2624  lua_pushinteger(L,(lua_Integer)constants[i].lvalue);
2625  lua_rawset(L,-3);
2626  break;
2627  case SWIG_LUA_FLOAT:
2628  lua_pushstring(L,constants[i].name);
2629  lua_pushnumber(L,(lua_Number)constants[i].dvalue);
2630  lua_rawset(L,-3);
2631  break;
2632  case SWIG_LUA_CHAR:
2633  lua_pushstring(L,constants[i].name);
2634  {
2635  char c = (char)constants[i].lvalue;
2636  lua_pushlstring(L,&c,1);
2637  }
2638  lua_rawset(L,-3);
2639  break;
2640  case SWIG_LUA_STRING:
2641  lua_pushstring(L,constants[i].name);
2642  lua_pushstring(L,(char *) constants[i].pvalue);
2643  lua_rawset(L,-3);
2644  break;
2645  case SWIG_LUA_POINTER:
2646  lua_pushstring(L,constants[i].name);
2647  SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0);
2648  lua_rawset(L,-3);
2649  break;
2650  case SWIG_LUA_BINARY:
2651  lua_pushstring(L,constants[i].name);
2652  SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
2653  lua_rawset(L,-3);
2654  break;
2655  default:
2656  break;
2657  }
2658  }
2659 }
2660 #endif
2661 
2662 /* -----------------------------------------------------------------------------
2663  * executing lua code from within the wrapper
2664  * ----------------------------------------------------------------------------- */
2665 
2666 #ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */
2667 #define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
2668 #endif
2669 /* Executes a C string in Lua which is a really simple way of calling lua from C
2670 Unfortunately lua keeps changing its APIs, so we need a conditional compile
2671 In lua 5.0.X it's lua_dostring()
2672 In lua 5.1.X it's luaL_dostring()
2673 */
2674 SWIGINTERN int
2675 SWIG_Lua_dostring(lua_State *L, const char *str) {
2676  int ok,top;
2677  if (str==0 || str[0]==0) return 0; /* nothing to do */
2678  top=lua_gettop(L); /* save stack */
2679 #if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
2680  ok=luaL_dostring(L,str); /* looks like this is lua 5.1.X or later, good */
2681 #else
2682  ok=lua_dostring(L,str); /* might be lua 5.0.x, using lua_dostring */
2683 #endif
2684  if (ok!=0) {
2685  SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
2686  }
2687  lua_settop(L,top); /* restore the stack */
2688  return ok;
2689 }
2690 
2691 #ifdef __cplusplus
2692 }
2693 #endif
2694 
2695 /* ------------------------------ end luarun.swg ------------------------------ */
2696 
2697 
2698 /* -------- TYPES TABLE (BEGIN) -------- */
2699 
2700 #define SWIGTYPE_p_LUA_EVENT swig_types[0]
2701 #define SWIGTYPE_p_LUA_FUNCTION swig_types[1]
2702 #define SWIGTYPE_p_LUA_METHOD swig_types[2]
2703 #define SWIGTYPE_p_align_t swig_types[3]
2704 #define SWIGTYPE_p_cvar_t swig_types[4]
2705 #define SWIGTYPE_p_invDef_t swig_types[5]
2706 #define SWIGTYPE_p_itemFilterTypes_t swig_types[6]
2707 #define SWIGTYPE_p_layoutAlign_t swig_types[7]
2708 #define SWIGTYPE_p_linkedList_t swig_types[8]
2709 #define SWIGTYPE_p_longlines_t swig_types[9]
2710 #define SWIGTYPE_p_panelLayout_t swig_types[10]
2711 #define SWIGTYPE_p_uiAbstractOptionNode_t swig_types[11]
2712 #define SWIGTYPE_p_uiAbstractScrollableNode_t swig_types[12]
2713 #define SWIGTYPE_p_uiAbstractScrollbarNode_t swig_types[13]
2714 #define SWIGTYPE_p_uiAbstractValueNode_t swig_types[14]
2715 #define SWIGTYPE_p_uiBarNode_t swig_types[15]
2716 #define SWIGTYPE_p_uiBaseInventoryNode_t swig_types[16]
2717 #define SWIGTYPE_p_uiBaseLayoutNode_t swig_types[17]
2718 #define SWIGTYPE_p_uiButtonNode_t swig_types[18]
2719 #define SWIGTYPE_p_uiCheckBoxNode_t swig_types[19]
2720 #define SWIGTYPE_p_uiConFuncNode_t swig_types[20]
2721 #define SWIGTYPE_p_uiContainerNode_t swig_types[21]
2722 #define SWIGTYPE_p_uiDataNode_t swig_types[22]
2723 #define SWIGTYPE_p_uiGeoscapeNode_t swig_types[23]
2724 #define SWIGTYPE_p_uiImageNode_t swig_types[24]
2725 #define SWIGTYPE_p_uiItemNode_t swig_types[25]
2726 #define SWIGTYPE_p_uiLineChartNode_t swig_types[26]
2727 #define SWIGTYPE_p_uiMessageListNode_t swig_types[27]
2728 #define SWIGTYPE_p_uiModelNode_t swig_types[28]
2729 #define SWIGTYPE_p_uiNode_t swig_types[29]
2730 #define SWIGTYPE_p_uiOptionListNode_t swig_types[30]
2731 #define SWIGTYPE_p_uiOptionNode_t swig_types[31]
2732 #define SWIGTYPE_p_uiOptionTreeNode_t swig_types[32]
2733 #define SWIGTYPE_p_uiPanelNode_t swig_types[33]
2734 #define SWIGTYPE_p_uiRadarNode_t swig_types[34]
2735 #define SWIGTYPE_p_uiRadioButtonNode_t swig_types[35]
2736 #define SWIGTYPE_p_uiRowsNode_t swig_types[36]
2737 #define SWIGTYPE_p_uiSelectBoxNode_t swig_types[37]
2738 #define SWIGTYPE_p_uiSequenceNode_t swig_types[38]
2739 #define SWIGTYPE_p_uiSpinnerNode_t swig_types[39]
2740 #define SWIGTYPE_p_uiStringNode_t swig_types[40]
2741 #define SWIGTYPE_p_uiTBarNode_t swig_types[41]
2742 #define SWIGTYPE_p_uiTabNode_t swig_types[42]
2743 #define SWIGTYPE_p_uiText2Node_t swig_types[43]
2744 #define SWIGTYPE_p_uiTextEntryNode_t swig_types[44]
2745 #define SWIGTYPE_p_uiTextListNode_t swig_types[45]
2746 #define SWIGTYPE_p_uiTextNode_t swig_types[46]
2747 #define SWIGTYPE_p_uiTextureNode_t swig_types[47]
2748 #define SWIGTYPE_p_uiTimerNode_t swig_types[48]
2749 #define SWIGTYPE_p_uiVScrollBarNode_t swig_types[49]
2750 #define SWIGTYPE_p_uiVideoNode_t swig_types[50]
2751 #define SWIGTYPE_p_uiWidgetNode_t swig_types[51]
2752 #define SWIGTYPE_p_uiWindowNode_t swig_types[52]
2753 #define SWIGTYPE_p_uiZoneNode_t swig_types[53]
2754 #define SWIGTYPE_p_vec2_struct_t swig_types[54]
2755 #define SWIGTYPE_p_vec3_struct_t swig_types[55]
2757 static swig_module_info swig_module = {swig_types, 56, 0, 0, 0, 0};
2758 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2759 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2760 
2761 /* -------- TYPES TABLE (END) -------- */
2762 
2763 #define SWIG_name "ufo"
2764 #define SWIG_init luaopen_ufo
2765 #define SWIG_init_user luaopen_ufo_user
2766 
2767 #define SWIG_LUACODE luaopen_ufo_luacode
2768 
2769 namespace swig {
2770 typedef struct{} LANGUAGE_OBJ;
2771 }
2772 
2773 
2774 /* disable all casting warnings (enabled at the bottom line of this file) */
2775 #pragma GCC diagnostic ignored "-Wcast-qual"
2776 
2777 /* common client stuff */
2778 #include "../../../shared/shared.h"
2779 #include "../../../shared/vector.h"
2780 #include "../../../shared/ufotypes.h"
2781 #include "../../../common/cvar.h"
2782 #include "../../../common/scripts.h"
2783 #include "../../../common/scripts_lua.h"
2784 
2785 #include "../../cl_renderer.h"
2786 #include "../../cl_inventory.h"
2787 
2788 /* ui specific stuff */
2789 #include "../ui_behaviour.h"
2790 #include "../ui_data.h"
2791 #include "../ui_dataids.h"
2792 #include "../ui_node.h"
2793 #include "../ui_nodes.h"
2794 #include "../ui_main.h"
2795 #include "../ui_sprite.h"
2796 
2797 #include "../node/ui_node_abstractnode.h"
2798 #include "../node/ui_node_abstractoption.h"
2799 #include "../node/ui_node_abstractscrollable.h"
2800 #include "../node/ui_node_abstractscrollbar.h"
2801 #include "../node/ui_node_abstractvalue.h"
2802 
2803 #include "../node/ui_node_bar.h"
2804 #include "../node/ui_node_base.h"
2805 #include "../node/ui_node_baseinventory.h"
2806 #include "../node/ui_node_battlescape.h"
2807 #include "../node/ui_node_button.h"
2808 #include "../node/ui_node_checkbox.h"
2809 #include "../node/ui_node_container.h"
2810 #include "../node/ui_node_controls.h"
2811 #include "../node/ui_node_data.h"
2812 #include "../node/ui_node_geoscape.h"
2813 #include "../node/ui_node_image.h"
2814 #include "../node/ui_node_item.h"
2815 #include "../node/ui_node_linechart.h"
2816 #include "../node/ui_node_messagelist.h"
2817 #include "../node/ui_node_model.h"
2818 #include "../node/ui_node_option.h"
2819 #include "../node/ui_node_optionlist.h"
2820 #include "../node/ui_node_optiontree.h"
2821 #include "../node/ui_node_panel.h"
2822 #include "../node/ui_node_radar.h"
2823 #include "../node/ui_node_radiobutton.h"
2824 #include "../node/ui_node_rows.h"
2825 #include "../node/ui_node_selectbox.h"
2826 #include "../node/ui_node_sequence.h"
2827 #include "../node/ui_node_special.h"
2828 #include "../node/ui_node_spinner.h"
2829 #include "../node/ui_node_string.h"
2830 #include "../node/ui_node_tab.h"
2831 #include "../node/ui_node_tbar.h"
2832 #include "../node/ui_node_text.h"
2833 #include "../node/ui_node_text2.h"
2834 #include "../node/ui_node_textentry.h"
2835 #include "../node/ui_node_textlist.h"
2836 #include "../node/ui_node_texture.h"
2837 #include "../node/ui_node_timer.h"
2838 #include "../node/ui_node_video.h"
2839 #include "../node/ui_node_vscrollbar.h"
2840 #include "../node/ui_node_window.h"
2841 #include "../node/ui_node_zone.h"
2842 
2843 #include "../ui_lua.h"
2844 
2845 /* other game stuff */
2846 #include "../../../game/inv_shared.h"
2847 
2856 
2892 typedef uiNode_t uiWidgetNode_t; /* note: ufo class = "controls" */
2895 
2896 // skipped: uiFuncNode, uiNullNode
2897 
2902 void* UI_SWIG_TypeQuery (const char* name)
2903 {
2905  if (!info) {
2906  info = SWIG_TypeQuery("uiNode_t *");
2907  }
2908  return info;
2909 }
2910 
2914 const char* UI_SWIG_NodeTypeName (void* node)
2915 {
2916  swig_type_info* info = (swig_type_info*)((uiNode_t*)node)->behaviour->lua_SWIG_typeinfo;
2917  return info->str;
2918 }
2919 
2920 
2921 SWIGINTERN char *cvar_t_name(cvar_t *self){ return self->name; }
2922 SWIGINTERN char *cvar_t_as_string(cvar_t *self){ return self->string; }
2923 SWIGINTERN float cvar_t_as_float(cvar_t *self){ return self->value; }
2924 SWIGINTERN int cvar_t_as_integer(cvar_t *self){ return self->integer; }
2925 SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self,float number){ Cvar_SetValue(self->name, number); }
2926 
2927 SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) {
2928  int ret = lua_isstring(L, idx);
2929  if (!ret)
2930  ret = lua_isnil(L, idx);
2931  return ret;
2932 }
2933 
2934 SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self,char const *text){ Cvar_Set(self->name, "%s", text); }
2935 SWIGINTERN char *invDef_t_name(invDef_t *self){ return self->name; }
2944 SWIGINTERN float uiNode_t_left(uiNode_t *self){ return self->box.pos[0]; }
2945 SWIGINTERN float uiNode_t_top(uiNode_t *self){ return self->box.pos[1]; }
2946 SWIGINTERN float uiNode_t_width(uiNode_t *self){ return self->box.size[0]; }
2947 SWIGINTERN float uiNode_t_height(uiNode_t *self){ return self->box.size[1]; }
2948 SWIGINTERN int uiNode_t_bordersize(uiNode_t *self){ return self->border; }
2949 SWIGINTERN char const *uiNode_t_name(uiNode_t *self){ return self->name; }
2950 SWIGINTERN char const *uiNode_t_type(uiNode_t *self){ return self->behaviour->name; }
2951 SWIGINTERN char const *uiNode_t_text(uiNode_t *self){ return UI_Node_GetText(self); }
2952 SWIGINTERN char const *uiNode_t_font(uiNode_t *self){ return self->font; }
2953 SWIGINTERN char const *uiNode_t_image(uiNode_t *self){ return self->image; }
2954 SWIGINTERN int uiNode_t_contentalign(uiNode_t *self){ return self->contentAlign; }
2955 SWIGINTERN int uiNode_t_layoutalign(uiNode_t *self){ return self->align; }
2956 SWIGINTERN float uiNode_t_flashspeed(uiNode_t *self){ return self->flashSpeed; }
2957 SWIGINTERN int uiNode_t_padding(uiNode_t *self){ return self->padding; }
2963 SWIGINTERN uiNode_t *uiNode_t_child(uiNode_t *self,char const *name){ return UI_GetNode(self, name); }
2964 SWIGINTERN uiNode_t *uiNode_t_find(uiNode_t *self,char const *name){ return UI_FindNode(self, name); }
2966 SWIGINTERN void uiNode_t_insert_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_InsertNode(self, prev, node); }
2967 SWIGINTERN void uiNode_t_move_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_MoveNode(self, prev, node); }
2970 SWIGINTERN void uiNode_t_set_left(uiNode_t *self,float value){ UI_NodeSetBox(self, value, -1, -1, -1); }
2971 SWIGINTERN void uiNode_t_set_top(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, value, -1, -1); }
2972 SWIGINTERN void uiNode_t_set_width(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, value, -1); }
2973 SWIGINTERN void uiNode_t_set_height(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, -1, value); }
2974 SWIGINTERN void uiNode_t_set_box(uiNode_t *self,float left,float top,float width,float height){ UI_NodeSetBox(self, left, top, width, height); }
2975 SWIGINTERN void uiNode_t_set_flashing(uiNode_t *self,bool value){ self->flash = value; }
2976 SWIGINTERN void uiNode_t_set_flashspeed(uiNode_t *self,float value){ self->flashSpeed = value; }
2977 SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self,bool value){ self->invis = value; }
2978 SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self,bool value){ self->ghost = value; }
2979 SWIGINTERN void uiNode_t_set_pos(uiNode_t *self,float x,float y){ UI_NodeSetPos(self, x, y); }
2980 SWIGINTERN void uiNode_t_set_size(uiNode_t *self,float w,float h){ UI_NodeSetSize(self, w, h); }
2981 SWIGINTERN void uiNode_t_set_color(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->color, r, g, b, a); }
2982 SWIGINTERN void uiNode_t_set_disabledcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->disabledColor, r, g, b, a); }
2983 SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->flashColor, r, g, b, a); }
2984 SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->selectedColor, r, g, b, a); }
2985 SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bgcolor, r, g, b, a); }
2986 SWIGINTERN void uiNode_t_set_bordersize(uiNode_t *self,int size){ self->border = size; }
2987 SWIGINTERN void uiNode_t_set_bordercolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bordercolor, r, g, b, a); }
2988 SWIGINTERN void uiNode_t_set_text(uiNode_t *self,char const *text){ UI_Node_SetText(self, text); }
2989 SWIGINTERN void uiNode_t_set_font(uiNode_t *self,char const *name){ UI_Node_SetFont(self, name); }
2991 SWIGINTERN void uiNode_t_set_contentalign(uiNode_t *self,int value){ self->contentAlign = value; }
2992 SWIGINTERN void uiNode_t_set_layoutalign(uiNode_t *self,int value){ self->align = value; }
2993 SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self,char const *text){ UI_Node_SetTooltip(self, text); }
2994 SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self,bool value){ UI_Node_SetDisabled(self, value); }
2995 SWIGINTERN void uiNode_t_set_borderthickness(uiNode_t *self,int value){ self->border = value; }
2996 SWIGINTERN void uiNode_t_set_padding(uiNode_t *self,int value){ self->padding = value; }
2997 SWIGINTERN void uiNode_t___setitem(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_Node_SetItem(self, name, fcn); }
2998 SWIGINTERN LUA_METHOD uiNode_t___getitem(uiNode_t *self,char const *name){ LUA_METHOD fcn = UI_Node_GetItem(self, name); return fcn; }
2999 SWIGINTERN void uiNode_t_add_classmethod(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_AddBehaviourMethod(self->behaviour, name, fcn); }
3015 
3017  return UI_EXTRADATA(node, abstractOptionExtraData_t).lua_onViewChange;
3018 }
3020  UI_EXTRADATA(node, abstractOptionExtraData_t).lua_onViewChange = fn;
3021 }
3022 
3026 SWIGINTERN void uiAbstractScrollableNode_t_pageup(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->pageUp(self); }
3027 SWIGINTERN void uiAbstractScrollableNode_t_pagedown(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->pageDown(self); }
3028 SWIGINTERN void uiAbstractScrollableNode_t_moveup(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveUp(self); }
3029 SWIGINTERN void uiAbstractScrollableNode_t_movedown(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveDown(self); }
3030 SWIGINTERN void uiAbstractScrollableNode_t_movehome(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveHome(self); }
3031 SWIGINTERN void uiAbstractScrollableNode_t_moveend(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveEnd(self); }
3032 SWIGINTERN void uiAbstractScrollableNode_t_set_viewpos(uiAbstractScrollableNode_t *self,int pos){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, pos, -1, -1); }
3033 SWIGINTERN void uiAbstractScrollableNode_t_set_viewsize(uiAbstractScrollableNode_t *self,int size){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, -1, size, -1); }
3034 SWIGINTERN void uiAbstractScrollableNode_t_set_fullsize(uiAbstractScrollableNode_t *self,int size){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, -1, -1, size); }
3035 
3037  return UI_EXTRADATA(node, abstractScrollableExtraData_t).lua_onViewChange;
3038 }
3040  UI_EXTRADATA(node, abstractScrollableExtraData_t).lua_onViewChange = fn;
3041 }
3042 
3072 SWIGINTERN void uiBarNode_t_set_direction(uiBarNode_t *self,int value){ UI_EXTRADATA(self, barExtraData_t).orientation = (align_t)value; }
3073 SWIGINTERN void uiBarNode_t_set_readonly(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).readOnly = value; }
3074 SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).noHover = value; }
3078 SWIGINTERN void uiButtonNode_t_set_flipicon(uiButtonNode_t *self,bool value){ UI_EXTRADATA(self, buttonExtraData_t).flipIcon = value; }
3089 
3091  return UI_EXTRADATA(node, containerExtraData_t).lua_onSelect;
3092 }
3094  UI_EXTRADATA(node, containerExtraData_t).lua_onSelect = fn;
3095 }
3096 
3119 
3121 {
3122  return UI_EXTRADATA(node, baseInventoryExtraData_t).lua_onViewChange;
3123 }
3124 
3126 {
3127  UI_EXTRADATA(node, baseInventoryExtraData_t).lua_onViewChange = fn;
3128 }
3129 
3130 SWIGINTERN char *uiDataNode_t_as_string(uiDataNode_t *self){ return const_cast<char*>(UI_Node_GetText(self)); }
3133 SWIGINTERN void uiDataNode_t_set_value__SWIG_0(uiDataNode_t *self,char const *value){ UI_Node_SetText(self, value); }
3135 SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self,float value){ UI_EXTRADATA(self, dataExtraData_t).number = value; }
3137 SWIGINTERN void uiGeoscapeNode_t_set_paddingright(uiGeoscapeNode_t *self,int value){ UI_EXTRADATA(self, mapExtraData_t).paddingRight = value; }
3138 SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, false); }
3139 SWIGINTERN void uiGeoscapeNode_t_zoomout(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, true); }
3144 SWIGINTERN void uiImageNode_t_set_keepratio(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).preventRatio = value; }
3145 SWIGINTERN void uiImageNode_t_set_mousefx(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).mousefx = value; }
3147 SWIGINTERN void uiImageNode_t_set_texh(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texh, v1, v2); }
3148 SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texl, v1, v2); }
3151 SWIGINTERN void uiLineChartNode_t_set_axescolor(uiLineChartNode_t *self,float r,float g,float b,float a){ Vector4Set(UI_EXTRADATA(self, lineChartExtraData_s).axesColor, r, g, b, a); }
3153 SWIGINTERN void uiLineChartNode_t_add_line(uiLineChartNode_t *self,char const *id,bool visible,float r,float g,float b,float a,bool dots,int num_points){
3154  float color[] = {r, g, b, a};
3155  UI_AddLineChartLine(self, id, visible, color, dots, num_points);
3156  }
3157 SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self,char const *id,int x,int y){ UI_AddLineChartCoord(self, id, x, y); }
3164 SWIGINTERN char *uiModelNode_t_model(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).model); }
3165 SWIGINTERN char *uiModelNode_t_skin(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).skin); }
3166 SWIGINTERN char *uiModelNode_t_animation(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).animation); }
3167 SWIGINTERN char *uiModelNode_t_tag(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).tag); }
3168 SWIGINTERN void uiModelNode_t_set_autoscale(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).autoscale = value; }
3169 SWIGINTERN void uiModelNode_t_set_mouserotate(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).rotateWithMouse = value; }
3170 SWIGINTERN void uiModelNode_t_set_angles(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).angles, a1, a2, a3); }
3171 SWIGINTERN void uiModelNode_t_set_origin(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).origin, a1, a2, a3); }
3172 SWIGINTERN void uiModelNode_t_set_omega(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).omega, a1, a2, a3); }
3173 SWIGINTERN void uiModelNode_t_set_scale(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).scale, a1, a2, a3); }
3179 SWIGINTERN void uiItemNode_t_set_containerlike(uiItemNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).containerLike = value; }
3186 SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self,char const *text){ UI_Option_SetLabel (self, text); }
3187 SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self,char const *text){ UI_Option_SetValue (self, text); }
3188 SWIGINTERN void uiOptionNode_t_set_collapsed(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).collapsed = value; }
3190 SWIGINTERN void uiOptionNode_t_set_truncated(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).truncated = value; }
3198 SWIGINTERN void uiPanelNode_t_set_layoutmargin(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutMargin = value; }
3199 SWIGINTERN void uiPanelNode_t_set_layoutcolumns(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutColumns = value; }
3200 SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self,bool value){ UI_EXTRADATA(self, panelExtraData_t).wheelScrollable = value; }
3214 SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).current = value; }
3215 SWIGINTERN void uiRowsNode_t_set_lineheight(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).lineHeight = value; }
3218 
3220 {
3221  return UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd;
3222 }
3223 
3225 {
3226  UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd = fn;
3227 }
3228 
3243 SWIGINTERN void uiTBarNode_t_set_texh(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texh, v1, v2); }
3244 SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texl, v1, v2); }
3249 SWIGINTERN char *uiTextNode_t_textselected(uiTextNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, textExtraData_t).textSelected); }
3252 SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).longlines = value; }
3253 SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).lineHeight = value; }
3255 SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).tabWidth = value; }
3257 SWIGINTERN bool uiTextEntryNode_t_is_clickoutabort(uiTextEntryNode_t *self){return UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort; }
3258 SWIGINTERN int uiTextEntryNode_t_cursorposition(uiTextEntryNode_t *self){ return UI_EXTRADATA(self, textEntryExtraData_s).cursorPosition; }
3259 SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).isPassword = value; }
3260 SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort = value; }
3264 
3266 {
3267  return UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort;
3268 }
3269 
3271 {
3272  UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort = fn;
3273 }
3274 
3277 SWIGINTERN void uiTimerNode_t_set_timeout(uiTimerNode_t *self,int value){ UI_EXTRADATA(self, timerExtraData_t).timeOut = value; }
3278 
3280 {
3281  return UI_EXTRADATA(node, timerExtraData_t).lua_onEvent;
3282 }
3283 
3285 {
3286  UI_EXTRADATA(node, timerExtraData_t).lua_onEvent = fn;
3287 }
3288 
3290 SWIGINTERN void uiVideoNode_t_set_nosound(uiVideoNode_t *self,bool value){ UI_EXTRADATA(self, videoExtraData_t).nosound = value; }
3292 
3294 {
3295  return UI_EXTRADATA(node, videoExtraData_t).lua_onEnd;
3296 }
3297 
3299 {
3300  UI_EXTRADATA(node, videoExtraData_t).lua_onEnd = fn;
3301 }
3302 
3307 SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self){ UI_PushWindow(self->name, nullptr, nullptr); }
3309 SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).isFullScreen = value; }
3311 SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self,bool value){ dynamic_cast<uiWindowNode*>(self->behaviour->manager.get())->setFill(self, value); }
3314 SWIGINTERN void uiWindowNode_t_set_starlayout(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).starLayout = value; }
3315 SWIGINTERN void uiWindowNode_t_set_preventtypingescape(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).preventTypingEscape = value; }
3317 SWIGINTERN void uiWindowNode_t_set_dropdown(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).dropdown = value; }
3318 
3320  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened;
3321 }
3323  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened = fn;
3324 }
3326  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate;
3327 }
3329  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate = fn;
3330 }
3332  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed;
3333 }
3335  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed = fn;
3336 }
3337 
3340 SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self,bool value){ UI_EXTRADATA(self, zoneExtraData_t).repeat = value; }
3341 SWIGINTERN void uiZoneNode_t_set_clickdelay(uiZoneNode_t *self,int value){ UI_EXTRADATA(self, zoneExtraData_t).clickDelay = value; }
3342 
3343 static uiBarNode_t* UI_CreateBar (uiNode_t* parent, const char* name, const char* super) {
3344  return UI_CreateControl (parent, "bar", name, super);
3345 }
3346 static uiBaseLayoutNode_t* UI_CreateBaseLayout (uiNode_t* parent, const char* name, const char* super) {
3347  return UI_CreateControl (parent, "baselayout", name, super);
3348 }
3349 static uiBaseInventoryNode_t* UI_CreateBaseInventory (uiNode_t* parent, const char* name, const char* super) {
3350  return UI_CreateControl (parent, "baseinventory", name, super);
3351 }
3352 static uiButtonNode_t* UI_CreateButton (uiNode_t* parent, const char* name, const char* super) {
3353  return UI_CreateControl (parent, "button", name, super);
3354 }
3355 static uiCheckBoxNode_t* UI_CreateCheckBox (uiNode_t* parent, const char* name, const char* super) {
3356  return UI_CreateControl (parent, "checkbox", name, super);
3357 }
3358 static uiConFuncNode_t* UI_CreateConFunc (uiNode_t* parent, const char* name, const char* super) {
3359  return UI_CreateControl (parent, "confunc", name, super);
3360 }
3361 static uiContainerNode_t* UI_CreateContainer (uiNode_t* parent, const char* name, const char* super) {
3362  return UI_CreateControl (parent, "container", name, super);
3363 }
3364 static uiDataNode_t* UI_CreateData (uiNode_t* parent, const char* name, const char* super) {
3365  return UI_CreateControl (parent, "data", name, super);
3366 }
3367 static uiGeoscapeNode_t* UI_CreateGeoscape (uiNode_t* parent, const char* name, const char* super) {
3368  return UI_CreateControl (parent, "geoscape", name, super);
3369 }
3370 static uiImageNode_t* UI_CreateImage (uiNode_t* parent, const char* name, const char* super) {
3371  return UI_CreateControl (parent, "image", name, super);
3372 }
3373 static uiItemNode_t* UI_CreateItem (uiNode_t* parent, const char* name, const char* super) {
3374  return UI_CreateControl (parent, "item", name, super);
3375 }
3376 static uiLineChartNode_t* UI_CreateLineChart(uiNode_t* parent, const char* name, const char* super) {
3377  return UI_CreateControl (parent, "linechart", name, super);
3378 }
3379 static uiMessageListNode_t* UI_CreateMessageList (uiNode_t* parent, const char* name, const char* super) {
3380  return UI_CreateControl (parent, "messagelist", name, super);
3381 }
3382 static uiModelNode_t* UI_CreateModel (uiNode_t* parent, const char* name, const char* super) {
3383  return UI_CreateControl (parent, "model", name, super);
3384 }
3385 static uiOptionNode_t* UI_CreateOption (uiNode_t* parent, const char* name, const char* super) {
3386  return UI_CreateControl (parent, "option", name, super);
3387 }
3388 static uiOptionListNode_t* UI_CreateOptionList (uiNode_t* parent, const char* name, const char* super) {
3389  return UI_CreateControl (parent, "optionlist", name, super);
3390 }
3391 static uiOptionTreeNode_t* UI_CreateOptionTree (uiNode_t* parent, const char* name, const char* super) {
3392  return UI_CreateControl (parent, "optiontree", name, super);
3393 }
3394 static uiPanelNode_t* UI_CreatePanel (uiNode_t* parent, const char* name, const char* super) {
3395  return UI_CreateControl (parent, "panel", name, super);
3396 }
3397 static uiRadarNode_t* UI_CreateRadar (uiNode_t* parent, const char* name, const char* super) {
3398  return UI_CreateControl (parent, "radar", name, super);
3399 }
3400 static uiRadioButtonNode_t* UI_CreateRadioButton (uiNode_t* parent, const char* name, const char* super) {
3401  return UI_CreateControl (parent, "radiobutton", name, super);
3402 }
3403 static uiRowsNode_t* UI_CreateRows (uiNode_t* parent, const char* name, const char* super) {
3404  return UI_CreateControl (parent, "rows", name, super);
3405 }
3406 static uiSelectBoxNode_t* UI_CreateSelectBox (uiNode_t* parent, const char* name, const char* super) {
3407  return UI_CreateControl (parent, "selectbox", name, super);
3408 }
3409 static uiSequenceNode_t* UI_CreateSequence (uiNode_t* parent, const char* name, const char* super) {
3410  return UI_CreateControl (parent, "sequence", name, super);
3411 }
3412 static uiSpinnerNode_t* UI_CreateSpinner (uiNode_t* parent, const char* name, const char* super) {
3413  return UI_CreateControl (parent, "spinner", name, super);
3414 }
3415 static uiStringNode_t* UI_CreateString (uiNode_t* parent, const char* name, const char* super) {
3416  return UI_CreateControl (parent, "string", name, super);
3417 }
3418 static uiTabNode_t* UI_CreateTab (uiNode_t* parent, const char* name, const char* super) {
3419  return UI_CreateControl (parent, "tab", name, super);
3420 }
3421 static uiTBarNode_t* UI_CreateTBar (uiNode_t* parent, const char* name, const char* super) {
3422  return UI_CreateControl (parent, "tbar", name, super);
3423 }
3424 static uiTextNode_t* UI_CreateText (uiNode_t* parent, const char* name, const char* super) {
3425  return UI_CreateControl (parent, "text", name, super);
3426 }
3427 static uiText2Node_t* UI_CreateText2 (uiNode_t* parent, const char* name, const char* super) {
3428  return UI_CreateControl (parent, "text2", name, super);
3429 }
3430 static uiTextEntryNode_t* UI_CreateTextEntry (uiNode_t* parent, const char* name, const char* super) {
3431  return UI_CreateControl (parent, "textentry", name, super);
3432 }
3433 static uiTextListNode_t* UI_CreateTextList (uiNode_t* parent, const char* name, const char* super) {
3434  return UI_CreateControl (parent, "textlist", name, super);
3435 }
3436 static uiTextureNode_t* UI_CreateTexture (uiNode_t* parent, const char* name, const char* super) {
3437  return UI_CreateControl (parent, "texture", name, super);
3438 }
3439 static uiTimerNode_t* UI_CreateTimer (uiNode_t* parent, const char* name, const char* super) {
3440  return UI_CreateControl (parent, "timer", name, super);
3441 }
3442 static uiVideoNode_t* UI_CreateVideo (uiNode_t* parent, const char* name, const char* super) {
3443  return UI_CreateControl (parent, "video", name, super);
3444 }
3445 static uiVScrollBarNode_t* UI_CreateVScrollbar (uiNode_t* parent, const char* name, const char* super) {
3446  return UI_CreateControl (parent, "vscrollbar", name, super);
3447 }
3448 static uiWidgetNode_t* UI_CreateWidget (uiNode_t* parent, const char* name, const char* super) {
3449  return UI_CreateControl (parent, "controls", name, super);
3450 }
3451 static uiWindowNode_t* UI_CreateWindow (const char* name, const char* super) {
3452  return UI_CreateWindow("window", name, super);
3453 }
3454 static uiZoneNode_t* UI_CreateZone (uiNode_t* parent, const char* name, const char* super) {
3455  return UI_CreateControl (parent, "zone", name, super);
3456 }
3457 
3458 #ifdef __cplusplus
3459 extern "C" {
3460 #endif
3461 static int _wrap_cvar_name(lua_State* L) {
3462  int SWIG_arg = 0;
3463  cvar_t *arg1 = (cvar_t *) 0 ;
3464  char *result = 0 ;
3465 
3466  SWIG_check_num_args("cvar_t::name",1,1)
3467  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::name",1,"cvar_t *");
3468 
3469  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3470  SWIG_fail_ptr("cvar_name",1,SWIGTYPE_p_cvar_t);
3471  }
3472 
3473  result = (char *)cvar_t_name(arg1);
3474  lua_pushstring(L,(const char *)result); SWIG_arg++;
3475  return SWIG_arg;
3476 
3477  if(0) SWIG_fail;
3478 
3479 fail:
3480  lua_error(L);
3481  return SWIG_arg;
3482 }
3483 
3484 
3485 static int _wrap_cvar_as_string(lua_State* L) {
3486  int SWIG_arg = 0;
3487  cvar_t *arg1 = (cvar_t *) 0 ;
3488  char *result = 0 ;
3489 
3490  SWIG_check_num_args("cvar_t::as_string",1,1)
3491  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_string",1,"cvar_t *");
3492 
3493  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3494  SWIG_fail_ptr("cvar_as_string",1,SWIGTYPE_p_cvar_t);
3495  }
3496 
3497  result = (char *)cvar_t_as_string(arg1);
3498  lua_pushstring(L,(const char *)result); SWIG_arg++;
3499  return SWIG_arg;
3500 
3501  if(0) SWIG_fail;
3502 
3503 fail:
3504  lua_error(L);
3505  return SWIG_arg;
3506 }
3507 
3508 
3509 static int _wrap_cvar_as_float(lua_State* L) {
3510  int SWIG_arg = 0;
3511  cvar_t *arg1 = (cvar_t *) 0 ;
3512  float result;
3513 
3514  SWIG_check_num_args("cvar_t::as_float",1,1)
3515  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_float",1,"cvar_t *");
3516 
3517  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3518  SWIG_fail_ptr("cvar_as_float",1,SWIGTYPE_p_cvar_t);
3519  }
3520 
3521  result = (float)cvar_t_as_float(arg1);
3522  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3523  return SWIG_arg;
3524 
3525  if(0) SWIG_fail;
3526 
3527 fail:
3528  lua_error(L);
3529  return SWIG_arg;
3530 }
3531 
3532 
3533 static int _wrap_cvar_as_integer(lua_State* L) {
3534  int SWIG_arg = 0;
3535  cvar_t *arg1 = (cvar_t *) 0 ;
3536  int result;
3537 
3538  SWIG_check_num_args("cvar_t::as_integer",1,1)
3539  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_integer",1,"cvar_t *");
3540 
3541  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3542  SWIG_fail_ptr("cvar_as_integer",1,SWIGTYPE_p_cvar_t);
3543  }
3544 
3545  result = (int)cvar_t_as_integer(arg1);
3546  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3547  return SWIG_arg;
3548 
3549  if(0) SWIG_fail;
3550 
3551 fail:
3552  lua_error(L);
3553  return SWIG_arg;
3554 }
3555 
3556 
3557 static int _wrap_cvar_set_value__SWIG_0(lua_State* L) {
3558  int SWIG_arg = 0;
3559  cvar_t *arg1 = (cvar_t *) 0 ;
3560  float arg2 ;
3561 
3562  SWIG_check_num_args("cvar_t::set_value",2,2)
3563  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3564  if(!lua_isnumber(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"float");
3565 
3566  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3567  SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3568  }
3569 
3570  arg2 = (float)lua_tonumber(L, 2);
3571  cvar_t_set_value__SWIG_0(arg1,arg2);
3572 
3573  return SWIG_arg;
3574 
3575  if(0) SWIG_fail;
3576 
3577 fail:
3578  lua_error(L);
3579  return SWIG_arg;
3580 }
3581 
3582 
3583 static int _wrap_cvar_set_value__SWIG_1(lua_State* L) {
3584  int SWIG_arg = 0;
3585  cvar_t *arg1 = (cvar_t *) 0 ;
3586  char *arg2 = (char *) 0 ;
3587 
3588  SWIG_check_num_args("cvar_t::set_value",2,2)
3589  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3590  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"char const *");
3591 
3592  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3593  SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3594  }
3595 
3596  arg2 = (char *)lua_tostring(L, 2);
3597  cvar_t_set_value__SWIG_1(arg1,(char const *)arg2);
3598 
3599  return SWIG_arg;
3600 
3601  if(0) SWIG_fail;
3602 
3603 fail:
3604  lua_error(L);
3605  return SWIG_arg;
3606 }
3607 
3608 
3609 static int _wrap_cvar_set_value(lua_State* L) {
3610  int argc;
3611  int argv[3]={
3612  1,2,3
3613  };
3614 
3615  argc = lua_gettop(L);
3616  if (argc == 2) {
3617  int _v;
3618  {
3619  void *ptr;
3620  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3621  _v = 0;
3622  } else {
3623  _v = 1;
3624  }
3625  }
3626  if (_v) {
3627  {
3628  _v = lua_isnumber(L,argv[1]);
3629  }
3630  if (_v) {
3631  return _wrap_cvar_set_value__SWIG_0(L);
3632  }
3633  }
3634  }
3635  if (argc == 2) {
3636  int _v;
3637  {
3638  void *ptr;
3639  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3640  _v = 0;
3641  } else {
3642  _v = 1;
3643  }
3644  }
3645  if (_v) {
3646  {
3647  _v = SWIG_lua_isnilstring(L,argv[1]);
3648  }
3649  if (_v) {
3650  return _wrap_cvar_set_value__SWIG_1(L);
3651  }
3652  }
3653  }
3654 
3655  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'cvar_set_value'\n"
3656  " Possible C/C++ prototypes are:\n"
3657  " cvar_t::set_value(float)\n"
3658  " cvar_t::set_value(char const *)\n");
3659  lua_error(L);return 0;
3660 }
3661 
3662 
3663 static int _wrap_new_cvar(lua_State* L) {
3664  int SWIG_arg = 0;
3665  cvar_t *result = 0 ;
3666 
3667  SWIG_check_num_args("cvar_t::cvar_t",0,0)
3668  result = (cvar_t *)new cvar_t();
3669  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,1); SWIG_arg++;
3670  return SWIG_arg;
3671 
3672  if(0) SWIG_fail;
3673 
3674 fail:
3675  lua_error(L);
3676  return SWIG_arg;
3677 }
3678 
3679 
3680 static void swig_delete_cvar(void *obj) {
3681 cvar_t *arg1 = (cvar_t *) obj;
3682 delete arg1;
3683 }
3684 static int _proxy__wrap_new_cvar(lua_State *L) {
3685  assert(lua_istable(L,1));
3686  lua_pushcfunction(L,_wrap_new_cvar);
3687  assert(!lua_isnil(L,-1));
3688  lua_replace(L,1); /* replace our table with real constructor */
3689  lua_call(L,lua_gettop(L)-1,1);
3690  return 1;
3691 }
3693  {0,0,0}
3694 };
3696  { "name", _wrap_cvar_name},
3697  { "as_string", _wrap_cvar_as_string},
3698  { "as_float", _wrap_cvar_as_float},
3699  { "as_integer", _wrap_cvar_as_integer},
3700  { "set_value", _wrap_cvar_set_value},
3701  {0,0}
3702 };
3704  {0,0}
3705 };
3706 
3708  {0,0,0}
3709 };
3711  {0,0,0,0,0,0}
3712 };
3714  {0,0}
3715 };
3717  0
3718 };
3719 
3721  "cvar",
3726  0
3727 };
3729 static const char *swig_cvar_base_names[] = {0};
3731 
3732 static int _wrap_findvar(lua_State* L) {
3733  int SWIG_arg = 0;
3734  char *arg1 = (char *) 0 ;
3735  cvar_t *result = 0 ;
3736 
3737  SWIG_check_num_args("Cvar_FindVar",1,1)
3738  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_FindVar",1,"char const *");
3739  arg1 = (char *)lua_tostring(L, 1);
3740  result = (cvar_t *)Cvar_FindVar((char const *)arg1);
3741  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3742  return SWIG_arg;
3743 
3744  if(0) SWIG_fail;
3745 
3746 fail:
3747  lua_error(L);
3748  return SWIG_arg;
3749 }
3750 
3751 
3752 static int _wrap_getvar__SWIG_0(lua_State* L) {
3753  int SWIG_arg = 0;
3754  char *arg1 = (char *) 0 ;
3755  char *arg2 = (char *) 0 ;
3756  int arg3 ;
3757  char *arg4 = (char *) 0 ;
3758  cvar_t *result = 0 ;
3759 
3760  SWIG_check_num_args("Cvar_Get",4,4)
3761  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3762  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3763  if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3764  if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("Cvar_Get",4,"char const *");
3765  arg1 = (char *)lua_tostring(L, 1);
3766  arg2 = (char *)lua_tostring(L, 2);
3767  arg3 = (int)lua_tonumber(L, 3);
3768  arg4 = (char *)lua_tostring(L, 4);
3769  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
3770  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3771  return SWIG_arg;
3772 
3773  if(0) SWIG_fail;
3774 
3775 fail:
3776  lua_error(L);
3777  return SWIG_arg;
3778 }
3779 
3780 
3781 static int _wrap_getvar__SWIG_1(lua_State* L) {
3782  int SWIG_arg = 0;
3783  char *arg1 = (char *) 0 ;
3784  char *arg2 = (char *) 0 ;
3785  int arg3 ;
3786  cvar_t *result = 0 ;
3787 
3788  SWIG_check_num_args("Cvar_Get",3,3)
3789  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3790  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3791  if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3792  arg1 = (char *)lua_tostring(L, 1);
3793  arg2 = (char *)lua_tostring(L, 2);
3794  arg3 = (int)lua_tonumber(L, 3);
3795  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3);
3796  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3797  return SWIG_arg;
3798 
3799  if(0) SWIG_fail;
3800 
3801 fail:
3802  lua_error(L);
3803  return SWIG_arg;
3804 }
3805 
3806 
3807 static int _wrap_getvar__SWIG_2(lua_State* L) {
3808  int SWIG_arg = 0;
3809  char *arg1 = (char *) 0 ;
3810  char *arg2 = (char *) 0 ;
3811  cvar_t *result = 0 ;
3812 
3813  SWIG_check_num_args("Cvar_Get",2,2)
3814  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3815  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3816  arg1 = (char *)lua_tostring(L, 1);
3817  arg2 = (char *)lua_tostring(L, 2);
3818  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2);
3819  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3820  return SWIG_arg;
3821 
3822  if(0) SWIG_fail;
3823 
3824 fail:
3825  lua_error(L);
3826  return SWIG_arg;
3827 }
3828 
3829 
3830 static int _wrap_getvar__SWIG_3(lua_State* L) {
3831  int SWIG_arg = 0;
3832  char *arg1 = (char *) 0 ;
3833  cvar_t *result = 0 ;
3834 
3835  SWIG_check_num_args("Cvar_Get",1,1)
3836  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3837  arg1 = (char *)lua_tostring(L, 1);
3838  result = (cvar_t *)Cvar_Get((char const *)arg1);
3839  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3840  return SWIG_arg;
3841 
3842  if(0) SWIG_fail;
3843 
3844 fail:
3845  lua_error(L);
3846  return SWIG_arg;
3847 }
3848 
3849 
3850 static int _wrap_getvar(lua_State* L) {
3851  int argc;
3852  int argv[5]={
3853  1,2,3,4,5
3854  };
3855 
3856  argc = lua_gettop(L);
3857  if (argc == 1) {
3858  int _v;
3859  {
3860  _v = SWIG_lua_isnilstring(L,argv[0]);
3861  }
3862  if (_v) {
3863  return _wrap_getvar__SWIG_3(L);
3864  }
3865  }
3866  if (argc == 2) {
3867  int _v;
3868  {
3869  _v = SWIG_lua_isnilstring(L,argv[0]);
3870  }
3871  if (_v) {
3872  {
3873  _v = SWIG_lua_isnilstring(L,argv[1]);
3874  }
3875  if (_v) {
3876  return _wrap_getvar__SWIG_2(L);
3877  }
3878  }
3879  }
3880  if (argc == 3) {
3881  int _v;
3882  {
3883  _v = SWIG_lua_isnilstring(L,argv[0]);
3884  }
3885  if (_v) {
3886  {
3887  _v = SWIG_lua_isnilstring(L,argv[1]);
3888  }
3889  if (_v) {
3890  {
3891  _v = lua_isnumber(L,argv[2]);
3892  }
3893  if (_v) {
3894  return _wrap_getvar__SWIG_1(L);
3895  }
3896  }
3897  }
3898  }
3899  if (argc == 4) {
3900  int _v;
3901  {
3902  _v = SWIG_lua_isnilstring(L,argv[0]);
3903  }
3904  if (_v) {
3905  {
3906  _v = SWIG_lua_isnilstring(L,argv[1]);
3907  }
3908  if (_v) {
3909  {
3910  _v = lua_isnumber(L,argv[2]);
3911  }
3912  if (_v) {
3913  {
3914  _v = SWIG_lua_isnilstring(L,argv[3]);
3915  }
3916  if (_v) {
3917  return _wrap_getvar__SWIG_0(L);
3918  }
3919  }
3920  }
3921  }
3922  }
3923 
3924  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'getvar'\n"
3925  " Possible C/C++ prototypes are:\n"
3926  " Cvar_Get(char const *,char const *,int,char const *)\n"
3927  " Cvar_Get(char const *,char const *,int)\n"
3928  " Cvar_Get(char const *,char const *)\n"
3929  " Cvar_Get(char const *)\n");
3930  lua_error(L);return 0;
3931 }
3932 
3933 
3934 static int _wrap_delvar(lua_State* L) {
3935  int SWIG_arg = 0;
3936  char *arg1 = (char *) 0 ;
3937  bool result;
3938 
3939  SWIG_check_num_args("Cvar_Delete",1,1)
3940  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Delete",1,"char const *");
3941  arg1 = (char *)lua_tostring(L, 1);
3942  result = (bool)Cvar_Delete((char const *)arg1);
3943  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
3944  return SWIG_arg;
3945 
3946  if(0) SWIG_fail;
3947 
3948 fail:
3949  lua_error(L);
3950  return SWIG_arg;
3951 }
3952 
3953 
3954 static int _wrap_invDef_name(lua_State* L) {
3955  int SWIG_arg = 0;
3956  invDef_t *arg1 = (invDef_t *) 0 ;
3957  char *result = 0 ;
3958 
3959  SWIG_check_num_args("invDef_t::name",1,1)
3960  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("invDef_t::name",1,"invDef_t *");
3961 
3962  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_invDef_t,0))){
3963  SWIG_fail_ptr("invDef_name",1,SWIGTYPE_p_invDef_t);
3964  }
3965 
3966  result = (char *)invDef_t_name(arg1);
3967  lua_pushstring(L,(const char *)result); SWIG_arg++;
3968  return SWIG_arg;
3969 
3970  if(0) SWIG_fail;
3971 
3972 fail:
3973  lua_error(L);
3974  return SWIG_arg;
3975 }
3976 
3977 
3978 static int _wrap_new_invDef(lua_State* L) {
3979  int SWIG_arg = 0;
3980  invDef_t *result = 0 ;
3981 
3982  SWIG_check_num_args("invDef_t::invDef_t",0,0)
3983  result = (invDef_t *)new invDef_t();
3984  SWIG_NewPointerObj(L,result,SWIGTYPE_p_invDef_t,1); SWIG_arg++;
3985  return SWIG_arg;
3986 
3987  if(0) SWIG_fail;
3988 
3989 fail:
3990  lua_error(L);
3991  return SWIG_arg;
3992 }
3993 
3994 
3995 static void swig_delete_invDef(void *obj) {
3996 invDef_t *arg1 = (invDef_t *) obj;
3997 delete arg1;
3998 }
3999 static int _proxy__wrap_new_invDef(lua_State *L) {
4000  assert(lua_istable(L,1));
4001  lua_pushcfunction(L,_wrap_new_invDef);
4002  assert(!lua_isnil(L,-1));
4003  lua_replace(L,1); /* replace our table with real constructor */
4004  lua_call(L,lua_gettop(L)-1,1);
4005  return 1;
4006 }
4008  {0,0,0}
4009 };
4011  { "name", _wrap_invDef_name},
4012  {0,0}
4013 };
4015  {0,0}
4016 };
4017 
4019  {0,0,0}
4020 };
4022  {0,0,0,0,0,0}
4023 };
4025  {0,0}
4026 };
4028  0
4029 };
4030 
4032  "invDef",
4037  0
4038 };
4040 static const char *swig_invDef_base_names[] = {0};
4042 
4043 static int _wrap_uiNode_on_click_set(lua_State* L) {
4044  int SWIG_arg = 0;
4045  uiNode_t *arg1 = (uiNode_t *) 0 ;
4046  LUA_EVENT arg2 ;
4047 
4048  SWIG_check_num_args("uiNode_t::lua_onClick",2,2)
4049  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4050 
4051  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4052  SWIG_fail_ptr("uiNode_on_click_set",1,SWIGTYPE_p_uiNode_t);
4053  }
4054 
4055  {
4056  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4057  }
4058  if (arg1) (arg1)->lua_onClick = arg2;
4059 
4060  return SWIG_arg;
4061 
4062  if(0) SWIG_fail;
4063 
4064 fail:
4065  lua_error(L);
4066  return SWIG_arg;
4067 }
4068 
4069 
4070 static int _wrap_uiNode_on_click_get(lua_State* L) {
4071  int SWIG_arg = 0;
4072  uiNode_t *arg1 = (uiNode_t *) 0 ;
4073  LUA_EVENT result;
4074 
4075  SWIG_check_num_args("uiNode_t::lua_onClick",1,1)
4076  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4077 
4078  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4079  SWIG_fail_ptr("uiNode_on_click_get",1,SWIGTYPE_p_uiNode_t);
4080  }
4081 
4082  result = ((arg1)->lua_onClick);
4083  {
4084  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4085  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4086  }
4087  return SWIG_arg;
4088 
4089  if(0) SWIG_fail;
4090 
4091 fail:
4092  lua_error(L);
4093  return SWIG_arg;
4094 }
4095 
4096 
4097 static int _wrap_uiNode_on_rightclick_set(lua_State* L) {
4098  int SWIG_arg = 0;
4099  uiNode_t *arg1 = (uiNode_t *) 0 ;
4100  LUA_EVENT arg2 ;
4101 
4102  SWIG_check_num_args("uiNode_t::lua_onRightClick",2,2)
4103  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4104 
4105  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4106  SWIG_fail_ptr("uiNode_on_rightclick_set",1,SWIGTYPE_p_uiNode_t);
4107  }
4108 
4109  {
4110  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4111  }
4112  if (arg1) (arg1)->lua_onRightClick = arg2;
4113 
4114  return SWIG_arg;
4115 
4116  if(0) SWIG_fail;
4117 
4118 fail:
4119  lua_error(L);
4120  return SWIG_arg;
4121 }
4122 
4123 
4124 static int _wrap_uiNode_on_rightclick_get(lua_State* L) {
4125  int SWIG_arg = 0;
4126  uiNode_t *arg1 = (uiNode_t *) 0 ;
4127  LUA_EVENT result;
4128 
4129  SWIG_check_num_args("uiNode_t::lua_onRightClick",1,1)
4130  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4131 
4132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4133  SWIG_fail_ptr("uiNode_on_rightclick_get",1,SWIGTYPE_p_uiNode_t);
4134  }
4135 
4136  result = ((arg1)->lua_onRightClick);
4137  {
4138  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4139  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4140  }
4141  return SWIG_arg;
4142 
4143  if(0) SWIG_fail;
4144 
4145 fail:
4146  lua_error(L);
4147  return SWIG_arg;
4148 }
4149 
4150 
4151 static int _wrap_uiNode_on_middleclick_set(lua_State* L) {
4152  int SWIG_arg = 0;
4153  uiNode_t *arg1 = (uiNode_t *) 0 ;
4154  LUA_EVENT arg2 ;
4155 
4156  SWIG_check_num_args("uiNode_t::lua_onMiddleClick",2,2)
4157  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4158 
4159  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4160  SWIG_fail_ptr("uiNode_on_middleclick_set",1,SWIGTYPE_p_uiNode_t);
4161  }
4162 
4163  {
4164  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4165  }
4166  if (arg1) (arg1)->lua_onMiddleClick = arg2;
4167 
4168  return SWIG_arg;
4169 
4170  if(0) SWIG_fail;
4171 
4172 fail:
4173  lua_error(L);
4174  return SWIG_arg;
4175 }
4176 
4177 
4178 static int _wrap_uiNode_on_middleclick_get(lua_State* L) {
4179  int SWIG_arg = 0;
4180  uiNode_t *arg1 = (uiNode_t *) 0 ;
4181  LUA_EVENT result;
4182 
4183  SWIG_check_num_args("uiNode_t::lua_onMiddleClick",1,1)
4184  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4185 
4186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4187  SWIG_fail_ptr("uiNode_on_middleclick_get",1,SWIGTYPE_p_uiNode_t);
4188  }
4189 
4190  result = ((arg1)->lua_onMiddleClick);
4191  {
4192  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4193  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4194  }
4195  return SWIG_arg;
4196 
4197  if(0) SWIG_fail;
4198 
4199 fail:
4200  lua_error(L);
4201  return SWIG_arg;
4202 }
4203 
4204 
4205 static int _wrap_uiNode_on_wheelup_set(lua_State* L) {
4206  int SWIG_arg = 0;
4207  uiNode_t *arg1 = (uiNode_t *) 0 ;
4208  LUA_EVENT arg2 ;
4209 
4210  SWIG_check_num_args("uiNode_t::lua_onWheelUp",2,2)
4211  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4212 
4213  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4214  SWIG_fail_ptr("uiNode_on_wheelup_set",1,SWIGTYPE_p_uiNode_t);
4215  }
4216 
4217  {
4218  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4219  }
4220  if (arg1) (arg1)->lua_onWheelUp = arg2;
4221 
4222  return SWIG_arg;
4223 
4224  if(0) SWIG_fail;
4225 
4226 fail:
4227  lua_error(L);
4228  return SWIG_arg;
4229 }
4230 
4231 
4232 static int _wrap_uiNode_on_wheelup_get(lua_State* L) {
4233  int SWIG_arg = 0;
4234  uiNode_t *arg1 = (uiNode_t *) 0 ;
4235  LUA_EVENT result;
4236 
4237  SWIG_check_num_args("uiNode_t::lua_onWheelUp",1,1)
4238  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4239 
4240  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4241  SWIG_fail_ptr("uiNode_on_wheelup_get",1,SWIGTYPE_p_uiNode_t);
4242  }
4243 
4244  result = ((arg1)->lua_onWheelUp);
4245  {
4246  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4247  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4248  }
4249  return SWIG_arg;
4250 
4251  if(0) SWIG_fail;
4252 
4253 fail:
4254  lua_error(L);
4255  return SWIG_arg;
4256 }
4257 
4258 
4259 static int _wrap_uiNode_on_wheeldown_set(lua_State* L) {
4260  int SWIG_arg = 0;
4261  uiNode_t *arg1 = (uiNode_t *) 0 ;
4262  LUA_EVENT arg2 ;
4263 
4264  SWIG_check_num_args("uiNode_t::lua_onWheelDown",2,2)
4265  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4266 
4267  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4268  SWIG_fail_ptr("uiNode_on_wheeldown_set",1,SWIGTYPE_p_uiNode_t);
4269  }
4270 
4271  {
4272  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4273  }
4274  if (arg1) (arg1)->lua_onWheelDown = arg2;
4275 
4276  return SWIG_arg;
4277 
4278  if(0) SWIG_fail;
4279 
4280 fail:
4281  lua_error(L);
4282  return SWIG_arg;
4283 }
4284 
4285 
4286 static int _wrap_uiNode_on_wheeldown_get(lua_State* L) {
4287  int SWIG_arg = 0;
4288  uiNode_t *arg1 = (uiNode_t *) 0 ;
4289  LUA_EVENT result;
4290 
4291  SWIG_check_num_args("uiNode_t::lua_onWheelDown",1,1)
4292  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4293 
4294  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4295  SWIG_fail_ptr("uiNode_on_wheeldown_get",1,SWIGTYPE_p_uiNode_t);
4296  }
4297 
4298  result = ((arg1)->lua_onWheelDown);
4299  {
4300  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4301  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4302  }
4303  return SWIG_arg;
4304 
4305  if(0) SWIG_fail;
4306 
4307 fail:
4308  lua_error(L);
4309  return SWIG_arg;
4310 }
4311 
4312 
4313 static int _wrap_uiNode_on_wheel_set(lua_State* L) {
4314  int SWIG_arg = 0;
4315  uiNode_t *arg1 = (uiNode_t *) 0 ;
4316  LUA_EVENT arg2 ;
4317 
4318  SWIG_check_num_args("uiNode_t::lua_onWheel",2,2)
4319  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4320 
4321  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4322  SWIG_fail_ptr("uiNode_on_wheel_set",1,SWIGTYPE_p_uiNode_t);
4323  }
4324 
4325  {
4326  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4327  }
4328  if (arg1) (arg1)->lua_onWheel = arg2;
4329 
4330  return SWIG_arg;
4331 
4332  if(0) SWIG_fail;
4333 
4334 fail:
4335  lua_error(L);
4336  return SWIG_arg;
4337 }
4338 
4339 
4340 static int _wrap_uiNode_on_wheel_get(lua_State* L) {
4341  int SWIG_arg = 0;
4342  uiNode_t *arg1 = (uiNode_t *) 0 ;
4343  LUA_EVENT result;
4344 
4345  SWIG_check_num_args("uiNode_t::lua_onWheel",1,1)
4346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4347 
4348  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4349  SWIG_fail_ptr("uiNode_on_wheel_get",1,SWIGTYPE_p_uiNode_t);
4350  }
4351 
4352  result = ((arg1)->lua_onWheel);
4353  {
4354  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4355  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4356  }
4357  return SWIG_arg;
4358 
4359  if(0) SWIG_fail;
4360 
4361 fail:
4362  lua_error(L);
4363  return SWIG_arg;
4364 }
4365 
4366 
4367 static int _wrap_uiNode_on_focusgained_set(lua_State* L) {
4368  int SWIG_arg = 0;
4369  uiNode_t *arg1 = (uiNode_t *) 0 ;
4370  LUA_EVENT arg2 ;
4371 
4372  SWIG_check_num_args("uiNode_t::lua_onFocusGained",2,2)
4373  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4374 
4375  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4376  SWIG_fail_ptr("uiNode_on_focusgained_set",1,SWIGTYPE_p_uiNode_t);
4377  }
4378 
4379  {
4380  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4381  }
4382  if (arg1) (arg1)->lua_onFocusGained = arg2;
4383 
4384  return SWIG_arg;
4385 
4386  if(0) SWIG_fail;
4387 
4388 fail:
4389  lua_error(L);
4390  return SWIG_arg;
4391 }
4392 
4393 
4394 static int _wrap_uiNode_on_focusgained_get(lua_State* L) {
4395  int SWIG_arg = 0;
4396  uiNode_t *arg1 = (uiNode_t *) 0 ;
4397  LUA_EVENT result;
4398 
4399  SWIG_check_num_args("uiNode_t::lua_onFocusGained",1,1)
4400  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4401 
4402  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4403  SWIG_fail_ptr("uiNode_on_focusgained_get",1,SWIGTYPE_p_uiNode_t);
4404  }
4405 
4406  result = ((arg1)->lua_onFocusGained);
4407  {
4408  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4409  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4410  }
4411  return SWIG_arg;
4412 
4413  if(0) SWIG_fail;
4414 
4415 fail:
4416  lua_error(L);
4417  return SWIG_arg;
4418 }
4419 
4420 
4421 static int _wrap_uiNode_on_focuslost_set(lua_State* L) {
4422  int SWIG_arg = 0;
4423  uiNode_t *arg1 = (uiNode_t *) 0 ;
4424  LUA_EVENT arg2 ;
4425 
4426  SWIG_check_num_args("uiNode_t::lua_onFocusLost",2,2)
4427  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4428 
4429  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4430  SWIG_fail_ptr("uiNode_on_focuslost_set",1,SWIGTYPE_p_uiNode_t);
4431  }
4432 
4433  {
4434  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4435  }
4436  if (arg1) (arg1)->lua_onFocusLost = arg2;
4437 
4438  return SWIG_arg;
4439 
4440  if(0) SWIG_fail;
4441 
4442 fail:
4443  lua_error(L);
4444  return SWIG_arg;
4445 }
4446 
4447 
4448 static int _wrap_uiNode_on_focuslost_get(lua_State* L) {
4449  int SWIG_arg = 0;
4450  uiNode_t *arg1 = (uiNode_t *) 0 ;
4451  LUA_EVENT result;
4452 
4453  SWIG_check_num_args("uiNode_t::lua_onFocusLost",1,1)
4454  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4455 
4456  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4457  SWIG_fail_ptr("uiNode_on_focuslost_get",1,SWIGTYPE_p_uiNode_t);
4458  }
4459 
4460  result = ((arg1)->lua_onFocusLost);
4461  {
4462  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4463  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4464  }
4465  return SWIG_arg;
4466 
4467  if(0) SWIG_fail;
4468 
4469 fail:
4470  lua_error(L);
4471  return SWIG_arg;
4472 }
4473 
4474 
4475 static int _wrap_uiNode_on_keypressed_set(lua_State* L) {
4476  int SWIG_arg = 0;
4477  uiNode_t *arg1 = (uiNode_t *) 0 ;
4478  LUA_EVENT arg2 ;
4479 
4480  SWIG_check_num_args("uiNode_t::lua_onKeyPressed",2,2)
4481  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4482 
4483  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4484  SWIG_fail_ptr("uiNode_on_keypressed_set",1,SWIGTYPE_p_uiNode_t);
4485  }
4486 
4487  {
4488  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4489  }
4490  if (arg1) (arg1)->lua_onKeyPressed = arg2;
4491 
4492  return SWIG_arg;
4493 
4494  if(0) SWIG_fail;
4495 
4496 fail:
4497  lua_error(L);
4498  return SWIG_arg;
4499 }
4500 
4501 
4502 static int _wrap_uiNode_on_keypressed_get(lua_State* L) {
4503  int SWIG_arg = 0;
4504  uiNode_t *arg1 = (uiNode_t *) 0 ;
4505  LUA_EVENT result;
4506 
4507  SWIG_check_num_args("uiNode_t::lua_onKeyPressed",1,1)
4508  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4509 
4510  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4511  SWIG_fail_ptr("uiNode_on_keypressed_get",1,SWIGTYPE_p_uiNode_t);
4512  }
4513 
4514  result = ((arg1)->lua_onKeyPressed);
4515  {
4516  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4517  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4518  }
4519  return SWIG_arg;
4520 
4521  if(0) SWIG_fail;
4522 
4523 fail:
4524  lua_error(L);
4525  return SWIG_arg;
4526 }
4527 
4528 
4529 static int _wrap_uiNode_on_keyreleased_set(lua_State* L) {
4530  int SWIG_arg = 0;
4531  uiNode_t *arg1 = (uiNode_t *) 0 ;
4532  LUA_EVENT arg2 ;
4533 
4534  SWIG_check_num_args("uiNode_t::lua_onKeyReleased",2,2)
4535  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4536 
4537  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4538  SWIG_fail_ptr("uiNode_on_keyreleased_set",1,SWIGTYPE_p_uiNode_t);
4539  }
4540 
4541  {
4542  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4543  }
4544  if (arg1) (arg1)->lua_onKeyReleased = arg2;
4545 
4546  return SWIG_arg;
4547 
4548  if(0) SWIG_fail;
4549 
4550 fail:
4551  lua_error(L);
4552  return SWIG_arg;
4553 }
4554 
4555 
4556 static int _wrap_uiNode_on_keyreleased_get(lua_State* L) {
4557  int SWIG_arg = 0;
4558  uiNode_t *arg1 = (uiNode_t *) 0 ;
4559  LUA_EVENT result;
4560 
4561  SWIG_check_num_args("uiNode_t::lua_onKeyReleased",1,1)
4562  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4563 
4564  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4565  SWIG_fail_ptr("uiNode_on_keyreleased_get",1,SWIGTYPE_p_uiNode_t);
4566  }
4567 
4568  result = ((arg1)->lua_onKeyReleased);
4569  {
4570  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4571  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4572  }
4573  return SWIG_arg;
4574 
4575  if(0) SWIG_fail;
4576 
4577 fail:
4578  lua_error(L);
4579  return SWIG_arg;
4580 }
4581 
4582 
4583 static int _wrap_uiNode_on_loaded_set(lua_State* L) {
4584  int SWIG_arg = 0;
4585  uiNode_t *arg1 = (uiNode_t *) 0 ;
4586  LUA_EVENT arg2 ;
4587 
4588  SWIG_check_num_args("uiNode_t::lua_onLoaded",2,2)
4589  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4590 
4591  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4592  SWIG_fail_ptr("uiNode_on_loaded_set",1,SWIGTYPE_p_uiNode_t);
4593  }
4594 
4595  {
4596  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4597  }
4598  if (arg1) (arg1)->lua_onLoaded = arg2;
4599 
4600  return SWIG_arg;
4601 
4602  if(0) SWIG_fail;
4603 
4604 fail:
4605  lua_error(L);
4606  return SWIG_arg;
4607 }
4608 
4609 
4610 static int _wrap_uiNode_on_loaded_get(lua_State* L) {
4611  int SWIG_arg = 0;
4612  uiNode_t *arg1 = (uiNode_t *) 0 ;
4613  LUA_EVENT result;
4614 
4615  SWIG_check_num_args("uiNode_t::lua_onLoaded",1,1)
4616  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4617 
4618  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4619  SWIG_fail_ptr("uiNode_on_loaded_get",1,SWIGTYPE_p_uiNode_t);
4620  }
4621 
4622  result = ((arg1)->lua_onLoaded);
4623  {
4624  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4625  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4626  }
4627  return SWIG_arg;
4628 
4629  if(0) SWIG_fail;
4630 
4631 fail:
4632  lua_error(L);
4633  return SWIG_arg;
4634 }
4635 
4636 
4637 static int _wrap_uiNode_on_activate_set(lua_State* L) {
4638  int SWIG_arg = 0;
4639  uiNode_t *arg1 = (uiNode_t *) 0 ;
4640  LUA_EVENT arg2 ;
4641 
4642  SWIG_check_num_args("uiNode_t::lua_onActivate",2,2)
4643  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4644 
4645  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4646  SWIG_fail_ptr("uiNode_on_activate_set",1,SWIGTYPE_p_uiNode_t);
4647  }
4648 
4649  {
4650  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4651  }
4652  if (arg1) (arg1)->lua_onActivate = arg2;
4653 
4654  return SWIG_arg;
4655 
4656  if(0) SWIG_fail;
4657 
4658 fail:
4659  lua_error(L);
4660  return SWIG_arg;
4661 }
4662 
4663 
4664 static int _wrap_uiNode_on_activate_get(lua_State* L) {
4665  int SWIG_arg = 0;
4666  uiNode_t *arg1 = (uiNode_t *) 0 ;
4667  LUA_EVENT result;
4668 
4669  SWIG_check_num_args("uiNode_t::lua_onActivate",1,1)
4670  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4671 
4672  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4673  SWIG_fail_ptr("uiNode_on_activate_get",1,SWIGTYPE_p_uiNode_t);
4674  }
4675 
4676  result = ((arg1)->lua_onActivate);
4677  {
4678  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4679  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4680  }
4681  return SWIG_arg;
4682 
4683  if(0) SWIG_fail;
4684 
4685 fail:
4686  lua_error(L);
4687  return SWIG_arg;
4688 }
4689 
4690 
4691 static int _wrap_uiNode_on_mouseenter_set(lua_State* L) {
4692  int SWIG_arg = 0;
4693  uiNode_t *arg1 = (uiNode_t *) 0 ;
4694  LUA_EVENT arg2 ;
4695 
4696  SWIG_check_num_args("uiNode_t::lua_onMouseEnter",2,2)
4697  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4698 
4699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4700  SWIG_fail_ptr("uiNode_on_mouseenter_set",1,SWIGTYPE_p_uiNode_t);
4701  }
4702 
4703  {
4704  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4705  }
4706  if (arg1) (arg1)->lua_onMouseEnter = arg2;
4707 
4708  return SWIG_arg;
4709 
4710  if(0) SWIG_fail;
4711 
4712 fail:
4713  lua_error(L);
4714  return SWIG_arg;
4715 }
4716 
4717 
4718 static int _wrap_uiNode_on_mouseenter_get(lua_State* L) {
4719  int SWIG_arg = 0;
4720  uiNode_t *arg1 = (uiNode_t *) 0 ;
4721  LUA_EVENT result;
4722 
4723  SWIG_check_num_args("uiNode_t::lua_onMouseEnter",1,1)
4724  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4725 
4726  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4727  SWIG_fail_ptr("uiNode_on_mouseenter_get",1,SWIGTYPE_p_uiNode_t);
4728  }
4729 
4730  result = ((arg1)->lua_onMouseEnter);
4731  {
4732  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4733  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4734  }
4735  return SWIG_arg;
4736 
4737  if(0) SWIG_fail;
4738 
4739 fail:
4740  lua_error(L);
4741  return SWIG_arg;
4742 }
4743 
4744 
4745 static int _wrap_uiNode_on_mouseleave_set(lua_State* L) {
4746  int SWIG_arg = 0;
4747  uiNode_t *arg1 = (uiNode_t *) 0 ;
4748  LUA_EVENT arg2 ;
4749 
4750  SWIG_check_num_args("uiNode_t::lua_onMouseLeave",2,2)
4751  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4752 
4753  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4754  SWIG_fail_ptr("uiNode_on_mouseleave_set",1,SWIGTYPE_p_uiNode_t);
4755  }
4756 
4757  {
4758  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4759  }
4760  if (arg1) (arg1)->lua_onMouseLeave = arg2;
4761 
4762  return SWIG_arg;
4763 
4764  if(0) SWIG_fail;
4765 
4766 fail:
4767  lua_error(L);
4768  return SWIG_arg;
4769 }
4770 
4771 
4772 static int _wrap_uiNode_on_mouseleave_get(lua_State* L) {
4773  int SWIG_arg = 0;
4774  uiNode_t *arg1 = (uiNode_t *) 0 ;
4775  LUA_EVENT result;
4776 
4777  SWIG_check_num_args("uiNode_t::lua_onMouseLeave",1,1)
4778  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4779 
4780  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4781  SWIG_fail_ptr("uiNode_on_mouseleave_get",1,SWIGTYPE_p_uiNode_t);
4782  }
4783 
4784  result = ((arg1)->lua_onMouseLeave);
4785  {
4786  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4787  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4788  }
4789  return SWIG_arg;
4790 
4791  if(0) SWIG_fail;
4792 
4793 fail:
4794  lua_error(L);
4795  return SWIG_arg;
4796 }
4797 
4798 
4799 static int _wrap_uiNode_on_change_set(lua_State* L) {
4800  int SWIG_arg = 0;
4801  uiNode_t *arg1 = (uiNode_t *) 0 ;
4802  LUA_EVENT arg2 ;
4803 
4804  SWIG_check_num_args("uiNode_t::lua_onChange",2,2)
4805  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4806 
4807  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4808  SWIG_fail_ptr("uiNode_on_change_set",1,SWIGTYPE_p_uiNode_t);
4809  }
4810 
4811  {
4812  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4813  }
4814  if (arg1) (arg1)->lua_onChange = arg2;
4815 
4816  return SWIG_arg;
4817 
4818  if(0) SWIG_fail;
4819 
4820 fail:
4821  lua_error(L);
4822  return SWIG_arg;
4823 }
4824 
4825 
4826 static int _wrap_uiNode_on_change_get(lua_State* L) {
4827  int SWIG_arg = 0;
4828  uiNode_t *arg1 = (uiNode_t *) 0 ;
4829  LUA_EVENT result;
4830 
4831  SWIG_check_num_args("uiNode_t::lua_onChange",1,1)
4832  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4833 
4834  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4835  SWIG_fail_ptr("uiNode_on_change_get",1,SWIGTYPE_p_uiNode_t);
4836  }
4837 
4838  result = ((arg1)->lua_onChange);
4839  {
4840  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4841  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4842  }
4843  return SWIG_arg;
4844 
4845  if(0) SWIG_fail;
4846 
4847 fail:
4848  lua_error(L);
4849  return SWIG_arg;
4850 }
4851 
4852 
4853 static int _wrap_uiNode_on_visiblewhen_set(lua_State* L) {
4854  int SWIG_arg = 0;
4855  uiNode_t *arg1 = (uiNode_t *) 0 ;
4856  LUA_EVENT arg2 ;
4857 
4858  SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",2,2)
4859  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4860 
4861  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4862  SWIG_fail_ptr("uiNode_on_visiblewhen_set",1,SWIGTYPE_p_uiNode_t);
4863  }
4864 
4865  {
4866  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4867  }
4868  if (arg1) (arg1)->lua_onVisibleWhen = arg2;
4869 
4870  return SWIG_arg;
4871 
4872  if(0) SWIG_fail;
4873 
4874 fail:
4875  lua_error(L);
4876  return SWIG_arg;
4877 }
4878 
4879 
4880 static int _wrap_uiNode_on_visiblewhen_get(lua_State* L) {
4881  int SWIG_arg = 0;
4882  uiNode_t *arg1 = (uiNode_t *) 0 ;
4883  LUA_EVENT result;
4884 
4885  SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",1,1)
4886  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4887 
4888  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4889  SWIG_fail_ptr("uiNode_on_visiblewhen_get",1,SWIGTYPE_p_uiNode_t);
4890  }
4891 
4892  result = ((arg1)->lua_onVisibleWhen);
4893  {
4894  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4895  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4896  }
4897  return SWIG_arg;
4898 
4899  if(0) SWIG_fail;
4900 
4901 fail:
4902  lua_error(L);
4903  return SWIG_arg;
4904 }
4905 
4906 
4907 static int _wrap_uiNode_is_window(lua_State* L) {
4908  int SWIG_arg = 0;
4909  uiNode_t *arg1 = (uiNode_t *) 0 ;
4910  bool result;
4911 
4912  SWIG_check_num_args("uiNode_t::is_window",1,1)
4913  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_window",1,"uiNode_t *");
4914 
4915  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4916  SWIG_fail_ptr("uiNode_is_window",1,SWIGTYPE_p_uiNode_t);
4917  }
4918 
4919  result = (bool)uiNode_t_is_window(arg1);
4920  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4921  return SWIG_arg;
4922 
4923  if(0) SWIG_fail;
4924 
4925 fail:
4926  lua_error(L);
4927  return SWIG_arg;
4928 }
4929 
4930 
4931 static int _wrap_uiNode_is_disabled(lua_State* L) {
4932  int SWIG_arg = 0;
4933  uiNode_t *arg1 = (uiNode_t *) 0 ;
4934  bool result;
4935 
4936  SWIG_check_num_args("uiNode_t::is_disabled",1,1)
4937  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_disabled",1,"uiNode_t *");
4938 
4939  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4940  SWIG_fail_ptr("uiNode_is_disabled",1,SWIGTYPE_p_uiNode_t);
4941  }
4942 
4943  result = (bool)uiNode_t_is_disabled(arg1);
4944  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4945  return SWIG_arg;
4946 
4947  if(0) SWIG_fail;
4948 
4949 fail:
4950  lua_error(L);
4951  return SWIG_arg;
4952 }
4953 
4954 
4955 static int _wrap_uiNode_is_invisible(lua_State* L) {
4956  int SWIG_arg = 0;
4957  uiNode_t *arg1 = (uiNode_t *) 0 ;
4958  bool result;
4959 
4960  SWIG_check_num_args("uiNode_t::is_invisible",1,1)
4961  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_invisible",1,"uiNode_t *");
4962 
4963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4964  SWIG_fail_ptr("uiNode_is_invisible",1,SWIGTYPE_p_uiNode_t);
4965  }
4966 
4967  result = (bool)uiNode_t_is_invisible(arg1);
4968  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4969  return SWIG_arg;
4970 
4971  if(0) SWIG_fail;
4972 
4973 fail:
4974  lua_error(L);
4975  return SWIG_arg;
4976 }
4977 
4978 
4979 static int _wrap_uiNode_is_ghost(lua_State* L) {
4980  int SWIG_arg = 0;
4981  uiNode_t *arg1 = (uiNode_t *) 0 ;
4982  bool result;
4983 
4984  SWIG_check_num_args("uiNode_t::is_ghost",1,1)
4985  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_ghost",1,"uiNode_t *");
4986 
4987  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4988  SWIG_fail_ptr("uiNode_is_ghost",1,SWIGTYPE_p_uiNode_t);
4989  }
4990 
4991  result = (bool)uiNode_t_is_ghost(arg1);
4992  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4993  return SWIG_arg;
4994 
4995  if(0) SWIG_fail;
4996 
4997 fail:
4998  lua_error(L);
4999  return SWIG_arg;
5000 }
5001 
5002 
5003 static int _wrap_uiNode_is_flashing(lua_State* L) {
5004  int SWIG_arg = 0;
5005  uiNode_t *arg1 = (uiNode_t *) 0 ;
5006  bool result;
5007 
5008  SWIG_check_num_args("uiNode_t::is_flashing",1,1)
5009  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_flashing",1,"uiNode_t *");
5010 
5011  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5012  SWIG_fail_ptr("uiNode_is_flashing",1,SWIGTYPE_p_uiNode_t);
5013  }
5014 
5015  result = (bool)uiNode_t_is_flashing(arg1);
5016  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5017  return SWIG_arg;
5018 
5019  if(0) SWIG_fail;
5020 
5021 fail:
5022  lua_error(L);
5023  return SWIG_arg;
5024 }
5025 
5026 
5027 static int _wrap_uiNode_is_function(lua_State* L) {
5028  int SWIG_arg = 0;
5029  uiNode_t *arg1 = (uiNode_t *) 0 ;
5030  bool result;
5031 
5032  SWIG_check_num_args("uiNode_t::is_function",1,1)
5033  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_function",1,"uiNode_t *");
5034 
5035  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5036  SWIG_fail_ptr("uiNode_is_function",1,SWIGTYPE_p_uiNode_t);
5037  }
5038 
5039  result = (bool)uiNode_t_is_function(arg1);
5040  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5041  return SWIG_arg;
5042 
5043  if(0) SWIG_fail;
5044 
5045 fail:
5046  lua_error(L);
5047  return SWIG_arg;
5048 }
5049 
5050 
5051 static int _wrap_uiNode_is_virtual(lua_State* L) {
5052  int SWIG_arg = 0;
5053  uiNode_t *arg1 = (uiNode_t *) 0 ;
5054  bool result;
5055 
5056  SWIG_check_num_args("uiNode_t::is_virtual",1,1)
5057  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_virtual",1,"uiNode_t *");
5058 
5059  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5060  SWIG_fail_ptr("uiNode_is_virtual",1,SWIGTYPE_p_uiNode_t);
5061  }
5062 
5063  result = (bool)uiNode_t_is_virtual(arg1);
5064  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5065  return SWIG_arg;
5066 
5067  if(0) SWIG_fail;
5068 
5069 fail:
5070  lua_error(L);
5071  return SWIG_arg;
5072 }
5073 
5074 
5075 static int _wrap_uiNode_is_abstract(lua_State* L) {
5076  int SWIG_arg = 0;
5077  uiNode_t *arg1 = (uiNode_t *) 0 ;
5078  bool result;
5079 
5080  SWIG_check_num_args("uiNode_t::is_abstract",1,1)
5081  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_abstract",1,"uiNode_t *");
5082 
5083  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5084  SWIG_fail_ptr("uiNode_is_abstract",1,SWIGTYPE_p_uiNode_t);
5085  }
5086 
5087  result = (bool)uiNode_t_is_abstract(arg1);
5088  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5089  return SWIG_arg;
5090 
5091  if(0) SWIG_fail;
5092 
5093 fail:
5094  lua_error(L);
5095  return SWIG_arg;
5096 }
5097 
5098 
5099 static int _wrap_uiNode_left(lua_State* L) {
5100  int SWIG_arg = 0;
5101  uiNode_t *arg1 = (uiNode_t *) 0 ;
5102  float result;
5103 
5104  SWIG_check_num_args("uiNode_t::left",1,1)
5105  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::left",1,"uiNode_t *");
5106 
5107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5108  SWIG_fail_ptr("uiNode_left",1,SWIGTYPE_p_uiNode_t);
5109  }
5110 
5111  result = (float)uiNode_t_left(arg1);
5112  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5113  return SWIG_arg;
5114 
5115  if(0) SWIG_fail;
5116 
5117 fail:
5118  lua_error(L);
5119  return SWIG_arg;
5120 }
5121 
5122 
5123 static int _wrap_uiNode_top(lua_State* L) {
5124  int SWIG_arg = 0;
5125  uiNode_t *arg1 = (uiNode_t *) 0 ;
5126  float result;
5127 
5128  SWIG_check_num_args("uiNode_t::top",1,1)
5129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::top",1,"uiNode_t *");
5130 
5131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5132  SWIG_fail_ptr("uiNode_top",1,SWIGTYPE_p_uiNode_t);
5133  }
5134 
5135  result = (float)uiNode_t_top(arg1);
5136  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5137  return SWIG_arg;
5138 
5139  if(0) SWIG_fail;
5140 
5141 fail:
5142  lua_error(L);
5143  return SWIG_arg;
5144 }
5145 
5146 
5147 static int _wrap_uiNode_width(lua_State* L) {
5148  int SWIG_arg = 0;
5149  uiNode_t *arg1 = (uiNode_t *) 0 ;
5150  float result;
5151 
5152  SWIG_check_num_args("uiNode_t::width",1,1)
5153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::width",1,"uiNode_t *");
5154 
5155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5156  SWIG_fail_ptr("uiNode_width",1,SWIGTYPE_p_uiNode_t);
5157  }
5158 
5159  result = (float)uiNode_t_width(arg1);
5160  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5161  return SWIG_arg;
5162 
5163  if(0) SWIG_fail;
5164 
5165 fail:
5166  lua_error(L);
5167  return SWIG_arg;
5168 }
5169 
5170 
5171 static int _wrap_uiNode_height(lua_State* L) {
5172  int SWIG_arg = 0;
5173  uiNode_t *arg1 = (uiNode_t *) 0 ;
5174  float result;
5175 
5176  SWIG_check_num_args("uiNode_t::height",1,1)
5177  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::height",1,"uiNode_t *");
5178 
5179  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5180  SWIG_fail_ptr("uiNode_height",1,SWIGTYPE_p_uiNode_t);
5181  }
5182 
5183  result = (float)uiNode_t_height(arg1);
5184  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5185  return SWIG_arg;
5186 
5187  if(0) SWIG_fail;
5188 
5189 fail:
5190  lua_error(L);
5191  return SWIG_arg;
5192 }
5193 
5194 
5195 static int _wrap_uiNode_bordersize(lua_State* L) {
5196  int SWIG_arg = 0;
5197  uiNode_t *arg1 = (uiNode_t *) 0 ;
5198  int result;
5199 
5200  SWIG_check_num_args("uiNode_t::bordersize",1,1)
5201  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::bordersize",1,"uiNode_t *");
5202 
5203  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5204  SWIG_fail_ptr("uiNode_bordersize",1,SWIGTYPE_p_uiNode_t);
5205  }
5206 
5207  result = (int)uiNode_t_bordersize(arg1);
5208  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5209  return SWIG_arg;
5210 
5211  if(0) SWIG_fail;
5212 
5213 fail:
5214  lua_error(L);
5215  return SWIG_arg;
5216 }
5217 
5218 
5219 static int _wrap_uiNode_name(lua_State* L) {
5220  int SWIG_arg = 0;
5221  uiNode_t *arg1 = (uiNode_t *) 0 ;
5222  char *result = 0 ;
5223 
5224  SWIG_check_num_args("uiNode_t::name",1,1)
5225  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::name",1,"uiNode_t *");
5226 
5227  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5228  SWIG_fail_ptr("uiNode_name",1,SWIGTYPE_p_uiNode_t);
5229  }
5230 
5231  result = (char *)uiNode_t_name(arg1);
5232  lua_pushstring(L,(const char *)result); SWIG_arg++;
5233  return SWIG_arg;
5234 
5235  if(0) SWIG_fail;
5236 
5237 fail:
5238  lua_error(L);
5239  return SWIG_arg;
5240 }
5241 
5242 
5243 static int _wrap_uiNode_type(lua_State* L) {
5244  int SWIG_arg = 0;
5245  uiNode_t *arg1 = (uiNode_t *) 0 ;
5246  char *result = 0 ;
5247 
5248  SWIG_check_num_args("uiNode_t::type",1,1)
5249  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::type",1,"uiNode_t *");
5250 
5251  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5252  SWIG_fail_ptr("uiNode_type",1,SWIGTYPE_p_uiNode_t);
5253  }
5254 
5255  result = (char *)uiNode_t_type(arg1);
5256  lua_pushstring(L,(const char *)result); SWIG_arg++;
5257  return SWIG_arg;
5258 
5259  if(0) SWIG_fail;
5260 
5261 fail:
5262  lua_error(L);
5263  return SWIG_arg;
5264 }
5265 
5266 
5267 static int _wrap_uiNode_text(lua_State* L) {
5268  int SWIG_arg = 0;
5269  uiNode_t *arg1 = (uiNode_t *) 0 ;
5270  char *result = 0 ;
5271 
5272  SWIG_check_num_args("uiNode_t::text",1,1)
5273  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::text",1,"uiNode_t *");
5274 
5275  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5276  SWIG_fail_ptr("uiNode_text",1,SWIGTYPE_p_uiNode_t);
5277  }
5278 
5279  result = (char *)uiNode_t_text(arg1);
5280  lua_pushstring(L,(const char *)result); SWIG_arg++;
5281  return SWIG_arg;
5282 
5283  if(0) SWIG_fail;
5284 
5285 fail:
5286  lua_error(L);
5287  return SWIG_arg;
5288 }
5289 
5290 
5291 static int _wrap_uiNode_font(lua_State* L) {
5292  int SWIG_arg = 0;
5293  uiNode_t *arg1 = (uiNode_t *) 0 ;
5294  char *result = 0 ;
5295 
5296  SWIG_check_num_args("uiNode_t::font",1,1)
5297  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::font",1,"uiNode_t *");
5298 
5299  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5300  SWIG_fail_ptr("uiNode_font",1,SWIGTYPE_p_uiNode_t);
5301  }
5302 
5303  result = (char *)uiNode_t_font(arg1);
5304  lua_pushstring(L,(const char *)result); SWIG_arg++;
5305  return SWIG_arg;
5306 
5307  if(0) SWIG_fail;
5308 
5309 fail:
5310  lua_error(L);
5311  return SWIG_arg;
5312 }
5313 
5314 
5315 static int _wrap_uiNode_image(lua_State* L) {
5316  int SWIG_arg = 0;
5317  uiNode_t *arg1 = (uiNode_t *) 0 ;
5318  char *result = 0 ;
5319 
5320  SWIG_check_num_args("uiNode_t::image",1,1)
5321  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::image",1,"uiNode_t *");
5322 
5323  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5324  SWIG_fail_ptr("uiNode_image",1,SWIGTYPE_p_uiNode_t);
5325  }
5326 
5327  result = (char *)uiNode_t_image(arg1);
5328  lua_pushstring(L,(const char *)result); SWIG_arg++;
5329  return SWIG_arg;
5330 
5331  if(0) SWIG_fail;
5332 
5333 fail:
5334  lua_error(L);
5335  return SWIG_arg;
5336 }
5337 
5338 
5339 static int _wrap_uiNode_contentalign(lua_State* L) {
5340  int SWIG_arg = 0;
5341  uiNode_t *arg1 = (uiNode_t *) 0 ;
5342  int result;
5343 
5344  SWIG_check_num_args("uiNode_t::contentalign",1,1)
5345  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::contentalign",1,"uiNode_t *");
5346 
5347  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5348  SWIG_fail_ptr("uiNode_contentalign",1,SWIGTYPE_p_uiNode_t);
5349  }
5350 
5351  result = (int)uiNode_t_contentalign(arg1);
5352  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5353  return SWIG_arg;
5354 
5355  if(0) SWIG_fail;
5356 
5357 fail:
5358  lua_error(L);
5359  return SWIG_arg;
5360 }
5361 
5362 
5363 static int _wrap_uiNode_layoutalign(lua_State* L) {
5364  int SWIG_arg = 0;
5365  uiNode_t *arg1 = (uiNode_t *) 0 ;
5366  int result;
5367 
5368  SWIG_check_num_args("uiNode_t::layoutalign",1,1)
5369  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::layoutalign",1,"uiNode_t *");
5370 
5371  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5372  SWIG_fail_ptr("uiNode_layoutalign",1,SWIGTYPE_p_uiNode_t);
5373  }
5374 
5375  result = (int)uiNode_t_layoutalign(arg1);
5376  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5377  return SWIG_arg;
5378 
5379  if(0) SWIG_fail;
5380 
5381 fail:
5382  lua_error(L);
5383  return SWIG_arg;
5384 }
5385 
5386 
5387 static int _wrap_uiNode_flashspeed(lua_State* L) {
5388  int SWIG_arg = 0;
5389  uiNode_t *arg1 = (uiNode_t *) 0 ;
5390  float result;
5391 
5392  SWIG_check_num_args("uiNode_t::flashspeed",1,1)
5393  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::flashspeed",1,"uiNode_t *");
5394 
5395  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5396  SWIG_fail_ptr("uiNode_flashspeed",1,SWIGTYPE_p_uiNode_t);
5397  }
5398 
5399  result = (float)uiNode_t_flashspeed(arg1);
5400  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5401  return SWIG_arg;
5402 
5403  if(0) SWIG_fail;
5404 
5405 fail:
5406  lua_error(L);
5407  return SWIG_arg;
5408 }
5409 
5410 
5411 static int _wrap_uiNode_padding(lua_State* L) {
5412  int SWIG_arg = 0;
5413  uiNode_t *arg1 = (uiNode_t *) 0 ;
5414  int result;
5415 
5416  SWIG_check_num_args("uiNode_t::padding",1,1)
5417  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::padding",1,"uiNode_t *");
5418 
5419  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5420  SWIG_fail_ptr("uiNode_padding",1,SWIGTYPE_p_uiNode_t);
5421  }
5422 
5423  result = (int)uiNode_t_padding(arg1);
5424  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5425  return SWIG_arg;
5426 
5427  if(0) SWIG_fail;
5428 
5429 fail:
5430  lua_error(L);
5431  return SWIG_arg;
5432 }
5433 
5434 
5435 static int _wrap_uiNode_first(lua_State* L) {
5436  int SWIG_arg = 0;
5437  uiNode_t *arg1 = (uiNode_t *) 0 ;
5438  uiNode_t *result = 0 ;
5439 
5440  SWIG_check_num_args("uiNode_t::first",1,1)
5441  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::first",1,"uiNode_t *");
5442 
5443  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5444  SWIG_fail_ptr("uiNode_first",1,SWIGTYPE_p_uiNode_t);
5445  }
5446 
5447  result = (uiNode_t *)uiNode_t_first(arg1);
5448  {
5449  if (result) {
5451  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5452  } else {
5453  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5454  }
5455  }
5456  return SWIG_arg;
5457 
5458  if(0) SWIG_fail;
5459 
5460 fail:
5461  lua_error(L);
5462  return SWIG_arg;
5463 }
5464 
5465 
5466 static int _wrap_uiNode_last(lua_State* L) {
5467  int SWIG_arg = 0;
5468  uiNode_t *arg1 = (uiNode_t *) 0 ;
5469  uiNode_t *result = 0 ;
5470 
5471  SWIG_check_num_args("uiNode_t::last",1,1)
5472  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::last",1,"uiNode_t *");
5473 
5474  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5475  SWIG_fail_ptr("uiNode_last",1,SWIGTYPE_p_uiNode_t);
5476  }
5477 
5478  result = (uiNode_t *)uiNode_t_last(arg1);
5479  {
5480  if (result) {
5482  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5483  } else {
5484  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5485  }
5486  }
5487  return SWIG_arg;
5488 
5489  if(0) SWIG_fail;
5490 
5491 fail:
5492  lua_error(L);
5493  return SWIG_arg;
5494 }
5495 
5496 
5497 static int _wrap_uiNode_next(lua_State* L) {
5498  int SWIG_arg = 0;
5499  uiNode_t *arg1 = (uiNode_t *) 0 ;
5500  uiNode_t *result = 0 ;
5501 
5502  SWIG_check_num_args("uiNode_t::next",1,1)
5503  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::next",1,"uiNode_t *");
5504 
5505  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5506  SWIG_fail_ptr("uiNode_next",1,SWIGTYPE_p_uiNode_t);
5507  }
5508 
5509  result = (uiNode_t *)uiNode_t_next(arg1);
5510  {
5511  if (result) {
5513  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5514  } else {
5515  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5516  }
5517  }
5518  return SWIG_arg;
5519 
5520  if(0) SWIG_fail;
5521 
5522 fail:
5523  lua_error(L);
5524  return SWIG_arg;
5525 }
5526 
5527 
5528 static int _wrap_uiNode_parent(lua_State* L) {
5529  int SWIG_arg = 0;
5530  uiNode_t *arg1 = (uiNode_t *) 0 ;
5531  uiNode_t *result = 0 ;
5532 
5533  SWIG_check_num_args("uiNode_t::parent",1,1)
5534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::parent",1,"uiNode_t *");
5535 
5536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5537  SWIG_fail_ptr("uiNode_parent",1,SWIGTYPE_p_uiNode_t);
5538  }
5539 
5540  result = (uiNode_t *)uiNode_t_parent(arg1);
5541  {
5542  if (result) {
5544  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5545  } else {
5546  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5547  }
5548  }
5549  return SWIG_arg;
5550 
5551  if(0) SWIG_fail;
5552 
5553 fail:
5554  lua_error(L);
5555  return SWIG_arg;
5556 }
5557 
5558 
5559 static int _wrap_uiNode_root(lua_State* L) {
5560  int SWIG_arg = 0;
5561  uiNode_t *arg1 = (uiNode_t *) 0 ;
5562  uiNode_t *result = 0 ;
5563 
5564  SWIG_check_num_args("uiNode_t::root",1,1)
5565  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::root",1,"uiNode_t *");
5566 
5567  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5568  SWIG_fail_ptr("uiNode_root",1,SWIGTYPE_p_uiNode_t);
5569  }
5570 
5571  result = (uiNode_t *)uiNode_t_root(arg1);
5572  {
5573  if (result) {
5575  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5576  } else {
5577  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5578  }
5579  }
5580  return SWIG_arg;
5581 
5582  if(0) SWIG_fail;
5583 
5584 fail:
5585  lua_error(L);
5586  return SWIG_arg;
5587 }
5588 
5589 
5590 static int _wrap_uiNode_child(lua_State* L) {
5591  int SWIG_arg = 0;
5592  uiNode_t *arg1 = (uiNode_t *) 0 ;
5593  char *arg2 = (char *) 0 ;
5594  uiNode_t *result = 0 ;
5595 
5596  SWIG_check_num_args("uiNode_t::child",2,2)
5597  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::child",1,"uiNode_t *");
5598  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::child",2,"char const *");
5599 
5600  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5601  SWIG_fail_ptr("uiNode_child",1,SWIGTYPE_p_uiNode_t);
5602  }
5603 
5604  arg2 = (char *)lua_tostring(L, 2);
5605  result = (uiNode_t *)uiNode_t_child(arg1,(char const *)arg2);
5606  {
5607  if (result) {
5609  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5610  } else {
5611  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5612  }
5613  }
5614  return SWIG_arg;
5615 
5616  if(0) SWIG_fail;
5617 
5618 fail:
5619  lua_error(L);
5620  return SWIG_arg;
5621 }
5622 
5623 
5624 static int _wrap_uiNode_find(lua_State* L) {
5625  int SWIG_arg = 0;
5626  uiNode_t *arg1 = (uiNode_t *) 0 ;
5627  char *arg2 = (char *) 0 ;
5628  uiNode_t *result = 0 ;
5629 
5630  SWIG_check_num_args("uiNode_t::find",2,2)
5631  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::find",1,"uiNode_t *");
5632  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::find",2,"char const *");
5633 
5634  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5635  SWIG_fail_ptr("uiNode_find",1,SWIGTYPE_p_uiNode_t);
5636  }
5637 
5638  arg2 = (char *)lua_tostring(L, 2);
5639  result = (uiNode_t *)uiNode_t_find(arg1,(char const *)arg2);
5640  {
5641  if (result) {
5643  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5644  } else {
5645  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5646  }
5647  }
5648  return SWIG_arg;
5649 
5650  if(0) SWIG_fail;
5651 
5652 fail:
5653  lua_error(L);
5654  return SWIG_arg;
5655 }
5656 
5657 
5658 static int _wrap_uiNode_append_node(lua_State* L) {
5659  int SWIG_arg = 0;
5660  uiNode_t *arg1 = (uiNode_t *) 0 ;
5661  uiNode_t *arg2 = (uiNode_t *) 0 ;
5662 
5663  SWIG_check_num_args("uiNode_t::append_node",2,2)
5664  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::append_node",1,"uiNode_t *");
5665  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::append_node",2,"uiNode_t *");
5666 
5667  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5668  SWIG_fail_ptr("uiNode_append_node",1,SWIGTYPE_p_uiNode_t);
5669  }
5670 
5671 
5672  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5673  SWIG_fail_ptr("uiNode_append_node",2,SWIGTYPE_p_uiNode_t);
5674  }
5675 
5676  uiNode_t_append_node(arg1,arg2);
5677 
5678  return SWIG_arg;
5679 
5680  if(0) SWIG_fail;
5681 
5682 fail:
5683  lua_error(L);
5684  return SWIG_arg;
5685 }
5686 
5687 
5688 static int _wrap_uiNode_insert_node(lua_State* L) {
5689  int SWIG_arg = 0;
5690  uiNode_t *arg1 = (uiNode_t *) 0 ;
5691  uiNode_t *arg2 = (uiNode_t *) 0 ;
5692  uiNode_t *arg3 = (uiNode_t *) 0 ;
5693 
5694  SWIG_check_num_args("uiNode_t::insert_node",3,3)
5695  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::insert_node",1,"uiNode_t *");
5696  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::insert_node",2,"uiNode_t *");
5697  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::insert_node",3,"uiNode_t *");
5698 
5699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5700  SWIG_fail_ptr("uiNode_insert_node",1,SWIGTYPE_p_uiNode_t);
5701  }
5702 
5703 
5704  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5705  SWIG_fail_ptr("uiNode_insert_node",2,SWIGTYPE_p_uiNode_t);
5706  }
5707 
5708 
5709  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5710  SWIG_fail_ptr("uiNode_insert_node",3,SWIGTYPE_p_uiNode_t);
5711  }
5712 
5713  uiNode_t_insert_node(arg1,arg2,arg3);
5714 
5715  return SWIG_arg;
5716 
5717  if(0) SWIG_fail;
5718 
5719 fail:
5720  lua_error(L);
5721  return SWIG_arg;
5722 }
5723 
5724 
5725 static int _wrap_uiNode_move_node(lua_State* L) {
5726  int SWIG_arg = 0;
5727  uiNode_t *arg1 = (uiNode_t *) 0 ;
5728  uiNode_t *arg2 = (uiNode_t *) 0 ;
5729  uiNode_t *arg3 = (uiNode_t *) 0 ;
5730 
5731  SWIG_check_num_args("uiNode_t::move_node",3,3)
5732  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::move_node",1,"uiNode_t *");
5733  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::move_node",2,"uiNode_t *");
5734  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::move_node",3,"uiNode_t *");
5735 
5736  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5737  SWIG_fail_ptr("uiNode_move_node",1,SWIGTYPE_p_uiNode_t);
5738  }
5739 
5740 
5741  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5742  SWIG_fail_ptr("uiNode_move_node",2,SWIGTYPE_p_uiNode_t);
5743  }
5744 
5745 
5746  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5747  SWIG_fail_ptr("uiNode_move_node",3,SWIGTYPE_p_uiNode_t);
5748  }
5749 
5750  uiNode_t_move_node(arg1,arg2,arg3);
5751 
5752  return SWIG_arg;
5753 
5754  if(0) SWIG_fail;
5755 
5756 fail:
5757  lua_error(L);
5758  return SWIG_arg;
5759 }
5760 
5761 
5762 static int _wrap_uiNode_delete_node(lua_State* L) {
5763  int SWIG_arg = 0;
5764  uiNode_t *arg1 = (uiNode_t *) 0 ;
5765 
5766  SWIG_check_num_args("uiNode_t::delete_node",1,1)
5767  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::delete_node",1,"uiNode_t *");
5768 
5769  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5770  SWIG_fail_ptr("uiNode_delete_node",1,SWIGTYPE_p_uiNode_t);
5771  }
5772 
5773  uiNode_t_delete_node(arg1);
5774 
5775  return SWIG_arg;
5776 
5777  if(0) SWIG_fail;
5778 
5779 fail:
5780  lua_error(L);
5781  return SWIG_arg;
5782 }
5783 
5784 
5785 static int _wrap_uiNode_remove_children(lua_State* L) {
5786  int SWIG_arg = 0;
5787  uiNode_t *arg1 = (uiNode_t *) 0 ;
5788 
5789  SWIG_check_num_args("uiNode_t::remove_children",1,1)
5790  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::remove_children",1,"uiNode_t *");
5791 
5792  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5793  SWIG_fail_ptr("uiNode_remove_children",1,SWIGTYPE_p_uiNode_t);
5794  }
5795 
5797 
5798  return SWIG_arg;
5799 
5800  if(0) SWIG_fail;
5801 
5802 fail:
5803  lua_error(L);
5804  return SWIG_arg;
5805 }
5806 
5807 
5808 static int _wrap_uiNode_set_left(lua_State* L) {
5809  int SWIG_arg = 0;
5810  uiNode_t *arg1 = (uiNode_t *) 0 ;
5811  float arg2 ;
5812 
5813  SWIG_check_num_args("uiNode_t::set_left",2,2)
5814  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_left",1,"uiNode_t *");
5815  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_left",2,"float");
5816 
5817  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5818  SWIG_fail_ptr("uiNode_set_left",1,SWIGTYPE_p_uiNode_t);
5819  }
5820 
5821  arg2 = (float)lua_tonumber(L, 2);
5822  uiNode_t_set_left(arg1,arg2);
5823 
5824  return SWIG_arg;
5825 
5826  if(0) SWIG_fail;
5827 
5828 fail:
5829  lua_error(L);
5830  return SWIG_arg;
5831 }
5832 
5833 
5834 static int _wrap_uiNode_set_top(lua_State* L) {
5835  int SWIG_arg = 0;
5836  uiNode_t *arg1 = (uiNode_t *) 0 ;
5837  float arg2 ;
5838 
5839  SWIG_check_num_args("uiNode_t::set_top",2,2)
5840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_top",1,"uiNode_t *");
5841  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_top",2,"float");
5842 
5843  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5844  SWIG_fail_ptr("uiNode_set_top",1,SWIGTYPE_p_uiNode_t);
5845  }
5846 
5847  arg2 = (float)lua_tonumber(L, 2);
5848  uiNode_t_set_top(arg1,arg2);
5849 
5850  return SWIG_arg;
5851 
5852  if(0) SWIG_fail;
5853 
5854 fail:
5855  lua_error(L);
5856  return SWIG_arg;
5857 }
5858 
5859 
5860 static int _wrap_uiNode_set_width(lua_State* L) {
5861  int SWIG_arg = 0;
5862  uiNode_t *arg1 = (uiNode_t *) 0 ;
5863  float arg2 ;
5864 
5865  SWIG_check_num_args("uiNode_t::set_width",2,2)
5866  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_width",1,"uiNode_t *");
5867  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_width",2,"float");
5868 
5869  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5870  SWIG_fail_ptr("uiNode_set_width",1,SWIGTYPE_p_uiNode_t);
5871  }
5872 
5873  arg2 = (float)lua_tonumber(L, 2);
5874  uiNode_t_set_width(arg1,arg2);
5875 
5876  return SWIG_arg;
5877 
5878  if(0) SWIG_fail;
5879 
5880 fail:
5881  lua_error(L);
5882  return SWIG_arg;
5883 }
5884 
5885 
5886 static int _wrap_uiNode_set_height(lua_State* L) {
5887  int SWIG_arg = 0;
5888  uiNode_t *arg1 = (uiNode_t *) 0 ;
5889  float arg2 ;
5890 
5891  SWIG_check_num_args("uiNode_t::set_height",2,2)
5892  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_height",1,"uiNode_t *");
5893  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_height",2,"float");
5894 
5895  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5896  SWIG_fail_ptr("uiNode_set_height",1,SWIGTYPE_p_uiNode_t);
5897  }
5898 
5899  arg2 = (float)lua_tonumber(L, 2);
5900  uiNode_t_set_height(arg1,arg2);
5901 
5902  return SWIG_arg;
5903 
5904  if(0) SWIG_fail;
5905 
5906 fail:
5907  lua_error(L);
5908  return SWIG_arg;
5909 }
5910 
5911 
5912 static int _wrap_uiNode_set_box(lua_State* L) {
5913  int SWIG_arg = 0;
5914  uiNode_t *arg1 = (uiNode_t *) 0 ;
5915  float arg2 ;
5916  float arg3 ;
5917  float arg4 ;
5918  float arg5 ;
5919 
5920  SWIG_check_num_args("uiNode_t::set_box",5,5)
5921  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_box",1,"uiNode_t *");
5922  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_box",2,"float");
5923  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_box",3,"float");
5924  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_box",4,"float");
5925  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_box",5,"float");
5926 
5927  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5928  SWIG_fail_ptr("uiNode_set_box",1,SWIGTYPE_p_uiNode_t);
5929  }
5930 
5931  arg2 = (float)lua_tonumber(L, 2);
5932  arg3 = (float)lua_tonumber(L, 3);
5933  arg4 = (float)lua_tonumber(L, 4);
5934  arg5 = (float)lua_tonumber(L, 5);
5935  uiNode_t_set_box(arg1,arg2,arg3,arg4,arg5);
5936 
5937  return SWIG_arg;
5938 
5939  if(0) SWIG_fail;
5940 
5941 fail:
5942  lua_error(L);
5943  return SWIG_arg;
5944 }
5945 
5946 
5947 static int _wrap_uiNode_set_flashing(lua_State* L) {
5948  int SWIG_arg = 0;
5949  uiNode_t *arg1 = (uiNode_t *) 0 ;
5950  bool arg2 ;
5951 
5952  SWIG_check_num_args("uiNode_t::set_flashing",2,2)
5953  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashing",1,"uiNode_t *");
5954  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_flashing",2,"bool");
5955 
5956  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5957  SWIG_fail_ptr("uiNode_set_flashing",1,SWIGTYPE_p_uiNode_t);
5958  }
5959 
5960  arg2 = (lua_toboolean(L, 2)!=0);
5961  uiNode_t_set_flashing(arg1,arg2);
5962 
5963  return SWIG_arg;
5964 
5965  if(0) SWIG_fail;
5966 
5967 fail:
5968  lua_error(L);
5969  return SWIG_arg;
5970 }
5971 
5972 
5973 static int _wrap_uiNode_set_flashspeed(lua_State* L) {
5974  int SWIG_arg = 0;
5975  uiNode_t *arg1 = (uiNode_t *) 0 ;
5976  float arg2 ;
5977 
5978  SWIG_check_num_args("uiNode_t::set_flashspeed",2,2)
5979  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashspeed",1,"uiNode_t *");
5980  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashspeed",2,"float");
5981 
5982  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5983  SWIG_fail_ptr("uiNode_set_flashspeed",1,SWIGTYPE_p_uiNode_t);
5984  }
5985 
5986  arg2 = (float)lua_tonumber(L, 2);
5987  uiNode_t_set_flashspeed(arg1,arg2);
5988 
5989  return SWIG_arg;
5990 
5991  if(0) SWIG_fail;
5992 
5993 fail:
5994  lua_error(L);
5995  return SWIG_arg;
5996 }
5997 
5998 
5999 static int _wrap_uiNode_set_invisible(lua_State* L) {
6000  int SWIG_arg = 0;
6001  uiNode_t *arg1 = (uiNode_t *) 0 ;
6002  bool arg2 ;
6003 
6004  SWIG_check_num_args("uiNode_t::set_invisible",2,2)
6005  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_invisible",1,"uiNode_t *");
6006  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_invisible",2,"bool");
6007 
6008  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6009  SWIG_fail_ptr("uiNode_set_invisible",1,SWIGTYPE_p_uiNode_t);
6010  }
6011 
6012  arg2 = (lua_toboolean(L, 2)!=0);
6013  uiNode_t_set_invisible(arg1,arg2);
6014 
6015  return SWIG_arg;
6016 
6017  if(0) SWIG_fail;
6018 
6019 fail:
6020  lua_error(L);
6021  return SWIG_arg;
6022 }
6023 
6024 
6025 static int _wrap_uiNode_set_ghost(lua_State* L) {
6026  int SWIG_arg = 0;
6027  uiNode_t *arg1 = (uiNode_t *) 0 ;
6028  bool arg2 ;
6029 
6030  SWIG_check_num_args("uiNode_t::set_ghost",2,2)
6031  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_ghost",1,"uiNode_t *");
6032  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_ghost",2,"bool");
6033 
6034  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6035  SWIG_fail_ptr("uiNode_set_ghost",1,SWIGTYPE_p_uiNode_t);
6036  }
6037 
6038  arg2 = (lua_toboolean(L, 2)!=0);
6039  uiNode_t_set_ghost(arg1,arg2);
6040 
6041  return SWIG_arg;
6042 
6043  if(0) SWIG_fail;
6044 
6045 fail:
6046  lua_error(L);
6047  return SWIG_arg;
6048 }
6049 
6050 
6051 static int _wrap_uiNode_set_pos(lua_State* L) {
6052  int SWIG_arg = 0;
6053  uiNode_t *arg1 = (uiNode_t *) 0 ;
6054  float arg2 ;
6055  float arg3 ;
6056 
6057  SWIG_check_num_args("uiNode_t::set_pos",3,3)
6058  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_pos",1,"uiNode_t *");
6059  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_pos",2,"float");
6060  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_pos",3,"float");
6061 
6062  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6063  SWIG_fail_ptr("uiNode_set_pos",1,SWIGTYPE_p_uiNode_t);
6064  }
6065 
6066  arg2 = (float)lua_tonumber(L, 2);
6067  arg3 = (float)lua_tonumber(L, 3);
6068  uiNode_t_set_pos(arg1,arg2,arg3);
6069 
6070  return SWIG_arg;
6071 
6072  if(0) SWIG_fail;
6073 
6074 fail:
6075  lua_error(L);
6076  return SWIG_arg;
6077 }
6078 
6079 
6080 static int _wrap_uiNode_set_size(lua_State* L) {
6081  int SWIG_arg = 0;
6082  uiNode_t *arg1 = (uiNode_t *) 0 ;
6083  float arg2 ;
6084  float arg3 ;
6085 
6086  SWIG_check_num_args("uiNode_t::set_size",3,3)
6087  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_size",1,"uiNode_t *");
6088  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_size",2,"float");
6089  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_size",3,"float");
6090 
6091  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6092  SWIG_fail_ptr("uiNode_set_size",1,SWIGTYPE_p_uiNode_t);
6093  }
6094 
6095  arg2 = (float)lua_tonumber(L, 2);
6096  arg3 = (float)lua_tonumber(L, 3);
6097  uiNode_t_set_size(arg1,arg2,arg3);
6098 
6099  return SWIG_arg;
6100 
6101  if(0) SWIG_fail;
6102 
6103 fail:
6104  lua_error(L);
6105  return SWIG_arg;
6106 }
6107 
6108 
6109 static int _wrap_uiNode_set_color(lua_State* L) {
6110  int SWIG_arg = 0;
6111  uiNode_t *arg1 = (uiNode_t *) 0 ;
6112  float arg2 ;
6113  float arg3 ;
6114  float arg4 ;
6115  float arg5 ;
6116 
6117  SWIG_check_num_args("uiNode_t::set_color",5,5)
6118  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_color",1,"uiNode_t *");
6119  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_color",2,"float");
6120  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_color",3,"float");
6121  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_color",4,"float");
6122  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_color",5,"float");
6123 
6124  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6125  SWIG_fail_ptr("uiNode_set_color",1,SWIGTYPE_p_uiNode_t);
6126  }
6127 
6128  arg2 = (float)lua_tonumber(L, 2);
6129  arg3 = (float)lua_tonumber(L, 3);
6130  arg4 = (float)lua_tonumber(L, 4);
6131  arg5 = (float)lua_tonumber(L, 5);
6132  uiNode_t_set_color(arg1,arg2,arg3,arg4,arg5);
6133 
6134  return SWIG_arg;
6135 
6136  if(0) SWIG_fail;
6137 
6138 fail:
6139  lua_error(L);
6140  return SWIG_arg;
6141 }
6142 
6143 
6144 static int _wrap_uiNode_set_disabledcolor(lua_State* L) {
6145  int SWIG_arg = 0;
6146  uiNode_t *arg1 = (uiNode_t *) 0 ;
6147  float arg2 ;
6148  float arg3 ;
6149  float arg4 ;
6150  float arg5 ;
6151 
6152  SWIG_check_num_args("uiNode_t::set_disabledcolor",5,5)
6153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabledcolor",1,"uiNode_t *");
6154  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_disabledcolor",2,"float");
6155  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_disabledcolor",3,"float");
6156  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_disabledcolor",4,"float");
6157  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_disabledcolor",5,"float");
6158 
6159  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6160  SWIG_fail_ptr("uiNode_set_disabledcolor",1,SWIGTYPE_p_uiNode_t);
6161  }
6162 
6163  arg2 = (float)lua_tonumber(L, 2);
6164  arg3 = (float)lua_tonumber(L, 3);
6165  arg4 = (float)lua_tonumber(L, 4);
6166  arg5 = (float)lua_tonumber(L, 5);
6167  uiNode_t_set_disabledcolor(arg1,arg2,arg3,arg4,arg5);
6168 
6169  return SWIG_arg;
6170 
6171  if(0) SWIG_fail;
6172 
6173 fail:
6174  lua_error(L);
6175  return SWIG_arg;
6176 }
6177 
6178 
6179 static int _wrap_uiNode_set_flashcolor(lua_State* L) {
6180  int SWIG_arg = 0;
6181  uiNode_t *arg1 = (uiNode_t *) 0 ;
6182  float arg2 ;
6183  float arg3 ;
6184  float arg4 ;
6185  float arg5 ;
6186 
6187  SWIG_check_num_args("uiNode_t::set_flashcolor",5,5)
6188  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashcolor",1,"uiNode_t *");
6189  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashcolor",2,"float");
6190  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_flashcolor",3,"float");
6191  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_flashcolor",4,"float");
6192  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_flashcolor",5,"float");
6193 
6194  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6195  SWIG_fail_ptr("uiNode_set_flashcolor",1,SWIGTYPE_p_uiNode_t);
6196  }
6197 
6198  arg2 = (float)lua_tonumber(L, 2);
6199  arg3 = (float)lua_tonumber(L, 3);
6200  arg4 = (float)lua_tonumber(L, 4);
6201  arg5 = (float)lua_tonumber(L, 5);
6202  uiNode_t_set_flashcolor(arg1,arg2,arg3,arg4,arg5);
6203 
6204  return SWIG_arg;
6205 
6206  if(0) SWIG_fail;
6207 
6208 fail:
6209  lua_error(L);
6210  return SWIG_arg;
6211 }
6212 
6213 
6214 static int _wrap_uiNode_set_selectcolor(lua_State* L) {
6215  int SWIG_arg = 0;
6216  uiNode_t *arg1 = (uiNode_t *) 0 ;
6217  float arg2 ;
6218  float arg3 ;
6219  float arg4 ;
6220  float arg5 ;
6221 
6222  SWIG_check_num_args("uiNode_t::set_selectcolor",5,5)
6223  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_selectcolor",1,"uiNode_t *");
6224  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_selectcolor",2,"float");
6225  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_selectcolor",3,"float");
6226  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_selectcolor",4,"float");
6227  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_selectcolor",5,"float");
6228 
6229  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6230  SWIG_fail_ptr("uiNode_set_selectcolor",1,SWIGTYPE_p_uiNode_t);
6231  }
6232 
6233  arg2 = (float)lua_tonumber(L, 2);
6234  arg3 = (float)lua_tonumber(L, 3);
6235  arg4 = (float)lua_tonumber(L, 4);
6236  arg5 = (float)lua_tonumber(L, 5);
6237  uiNode_t_set_selectcolor(arg1,arg2,arg3,arg4,arg5);
6238 
6239  return SWIG_arg;
6240 
6241  if(0) SWIG_fail;
6242 
6243 fail:
6244  lua_error(L);
6245  return SWIG_arg;
6246 }
6247 
6248 
6249 static int _wrap_uiNode_set_backgroundcolor(lua_State* L) {
6250  int SWIG_arg = 0;
6251  uiNode_t *arg1 = (uiNode_t *) 0 ;
6252  float arg2 ;
6253  float arg3 ;
6254  float arg4 ;
6255  float arg5 ;
6256 
6257  SWIG_check_num_args("uiNode_t::set_backgroundcolor",5,5)
6258  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",1,"uiNode_t *");
6259  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",2,"float");
6260  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",3,"float");
6261  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",4,"float");
6262  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",5,"float");
6263 
6264  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6265  SWIG_fail_ptr("uiNode_set_backgroundcolor",1,SWIGTYPE_p_uiNode_t);
6266  }
6267 
6268  arg2 = (float)lua_tonumber(L, 2);
6269  arg3 = (float)lua_tonumber(L, 3);
6270  arg4 = (float)lua_tonumber(L, 4);
6271  arg5 = (float)lua_tonumber(L, 5);
6272  uiNode_t_set_backgroundcolor(arg1,arg2,arg3,arg4,arg5);
6273 
6274  return SWIG_arg;
6275 
6276  if(0) SWIG_fail;
6277 
6278 fail:
6279  lua_error(L);
6280  return SWIG_arg;
6281 }
6282 
6283 
6284 static int _wrap_uiNode_set_bordersize(lua_State* L) {
6285  int SWIG_arg = 0;
6286  uiNode_t *arg1 = (uiNode_t *) 0 ;
6287  int arg2 ;
6288 
6289  SWIG_check_num_args("uiNode_t::set_bordersize",2,2)
6290  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordersize",1,"uiNode_t *");
6291  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordersize",2,"int");
6292 
6293  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6294  SWIG_fail_ptr("uiNode_set_bordersize",1,SWIGTYPE_p_uiNode_t);
6295  }
6296 
6297  arg2 = (int)lua_tonumber(L, 2);
6298  uiNode_t_set_bordersize(arg1,arg2);
6299 
6300  return SWIG_arg;
6301 
6302  if(0) SWIG_fail;
6303 
6304 fail:
6305  lua_error(L);
6306  return SWIG_arg;
6307 }
6308 
6309 
6310 static int _wrap_uiNode_set_bordercolor(lua_State* L) {
6311  int SWIG_arg = 0;
6312  uiNode_t *arg1 = (uiNode_t *) 0 ;
6313  float arg2 ;
6314  float arg3 ;
6315  float arg4 ;
6316  float arg5 ;
6317 
6318  SWIG_check_num_args("uiNode_t::set_bordercolor",5,5)
6319  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordercolor",1,"uiNode_t *");
6320  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordercolor",2,"float");
6321  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_bordercolor",3,"float");
6322  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_bordercolor",4,"float");
6323  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_bordercolor",5,"float");
6324 
6325  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6326  SWIG_fail_ptr("uiNode_set_bordercolor",1,SWIGTYPE_p_uiNode_t);
6327  }
6328 
6329  arg2 = (float)lua_tonumber(L, 2);
6330  arg3 = (float)lua_tonumber(L, 3);
6331  arg4 = (float)lua_tonumber(L, 4);
6332  arg5 = (float)lua_tonumber(L, 5);
6333  uiNode_t_set_bordercolor(arg1,arg2,arg3,arg4,arg5);
6334 
6335  return SWIG_arg;
6336 
6337  if(0) SWIG_fail;
6338 
6339 fail:
6340  lua_error(L);
6341  return SWIG_arg;
6342 }
6343 
6344 
6345 static int _wrap_uiNode_set_text(lua_State* L) {
6346  int SWIG_arg = 0;
6347  uiNode_t *arg1 = (uiNode_t *) 0 ;
6348  char *arg2 = (char *) 0 ;
6349 
6350  SWIG_check_num_args("uiNode_t::set_text",2,2)
6351  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_text",1,"uiNode_t *");
6352  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_text",2,"char const *");
6353 
6354  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6355  SWIG_fail_ptr("uiNode_set_text",1,SWIGTYPE_p_uiNode_t);
6356  }
6357 
6358  arg2 = (char *)lua_tostring(L, 2);
6359  uiNode_t_set_text(arg1,(char const *)arg2);
6360 
6361  return SWIG_arg;
6362 
6363  if(0) SWIG_fail;
6364 
6365 fail:
6366  lua_error(L);
6367  return SWIG_arg;
6368 }
6369 
6370 
6371 static int _wrap_uiNode_set_font(lua_State* L) {
6372  int SWIG_arg = 0;
6373  uiNode_t *arg1 = (uiNode_t *) 0 ;
6374  char *arg2 = (char *) 0 ;
6375 
6376  SWIG_check_num_args("uiNode_t::set_font",2,2)
6377  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_font",1,"uiNode_t *");
6378  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_font",2,"char const *");
6379 
6380  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6381  SWIG_fail_ptr("uiNode_set_font",1,SWIGTYPE_p_uiNode_t);
6382  }
6383 
6384  arg2 = (char *)lua_tostring(L, 2);
6385  uiNode_t_set_font(arg1,(char const *)arg2);
6386 
6387  return SWIG_arg;
6388 
6389  if(0) SWIG_fail;
6390 
6391 fail:
6392  lua_error(L);
6393  return SWIG_arg;
6394 }
6395 
6396 
6397 static int _wrap_uiNode_set_image(lua_State* L) {
6398  int SWIG_arg = 0;
6399  uiNode_t *arg1 = (uiNode_t *) 0 ;
6400  char *arg2 = (char *) 0 ;
6401 
6402  SWIG_check_num_args("uiNode_t::set_image",2,2)
6403  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_image",1,"uiNode_t *");
6404  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_image",2,"char const *");
6405 
6406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6407  SWIG_fail_ptr("uiNode_set_image",1,SWIGTYPE_p_uiNode_t);
6408  }
6409 
6410  arg2 = (char *)lua_tostring(L, 2);
6411  uiNode_t_set_image(arg1,(char const *)arg2);
6412 
6413  return SWIG_arg;
6414 
6415  if(0) SWIG_fail;
6416 
6417 fail:
6418  lua_error(L);
6419  return SWIG_arg;
6420 }
6421 
6422 
6423 static int _wrap_uiNode_set_contentalign(lua_State* L) {
6424  int SWIG_arg = 0;
6425  uiNode_t *arg1 = (uiNode_t *) 0 ;
6426  int arg2 ;
6427 
6428  SWIG_check_num_args("uiNode_t::set_contentalign",2,2)
6429  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_contentalign",1,"uiNode_t *");
6430  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_contentalign",2,"int");
6431 
6432  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6433  SWIG_fail_ptr("uiNode_set_contentalign",1,SWIGTYPE_p_uiNode_t);
6434  }
6435 
6436  arg2 = (int)lua_tonumber(L, 2);
6437  uiNode_t_set_contentalign(arg1,arg2);
6438 
6439  return SWIG_arg;
6440 
6441  if(0) SWIG_fail;
6442 
6443 fail:
6444  lua_error(L);
6445  return SWIG_arg;
6446 }
6447 
6448 
6449 static int _wrap_uiNode_set_layoutalign(lua_State* L) {
6450  int SWIG_arg = 0;
6451  uiNode_t *arg1 = (uiNode_t *) 0 ;
6452  int arg2 ;
6453 
6454  SWIG_check_num_args("uiNode_t::set_layoutalign",2,2)
6455  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_layoutalign",1,"uiNode_t *");
6456  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_layoutalign",2,"int");
6457 
6458  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6459  SWIG_fail_ptr("uiNode_set_layoutalign",1,SWIGTYPE_p_uiNode_t);
6460  }
6461 
6462  arg2 = (int)lua_tonumber(L, 2);
6463  uiNode_t_set_layoutalign(arg1,arg2);
6464 
6465  return SWIG_arg;
6466 
6467  if(0) SWIG_fail;
6468 
6469 fail:
6470  lua_error(L);
6471  return SWIG_arg;
6472 }
6473 
6474 
6475 static int _wrap_uiNode_set_tooltip(lua_State* L) {
6476  int SWIG_arg = 0;
6477  uiNode_t *arg1 = (uiNode_t *) 0 ;
6478  char *arg2 = (char *) 0 ;
6479 
6480  SWIG_check_num_args("uiNode_t::set_tooltip",2,2)
6481  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_tooltip",1,"uiNode_t *");
6482  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_tooltip",2,"char const *");
6483 
6484  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6485  SWIG_fail_ptr("uiNode_set_tooltip",1,SWIGTYPE_p_uiNode_t);
6486  }
6487 
6488  arg2 = (char *)lua_tostring(L, 2);
6489  uiNode_t_set_tooltip(arg1,(char const *)arg2);
6490 
6491  return SWIG_arg;
6492 
6493  if(0) SWIG_fail;
6494 
6495 fail:
6496  lua_error(L);
6497  return SWIG_arg;
6498 }
6499 
6500 
6501 static int _wrap_uiNode_set_disabled(lua_State* L) {
6502  int SWIG_arg = 0;
6503  uiNode_t *arg1 = (uiNode_t *) 0 ;
6504  bool arg2 ;
6505 
6506  SWIG_check_num_args("uiNode_t::set_disabled",2,2)
6507  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabled",1,"uiNode_t *");
6508  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_disabled",2,"bool");
6509 
6510  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6511  SWIG_fail_ptr("uiNode_set_disabled",1,SWIGTYPE_p_uiNode_t);
6512  }
6513 
6514  arg2 = (lua_toboolean(L, 2)!=0);
6515  uiNode_t_set_disabled(arg1,arg2);
6516 
6517  return SWIG_arg;
6518 
6519  if(0) SWIG_fail;
6520 
6521 fail:
6522  lua_error(L);
6523  return SWIG_arg;
6524 }
6525 
6526 
6527 static int _wrap_uiNode_set_borderthickness(lua_State* L) {
6528  int SWIG_arg = 0;
6529  uiNode_t *arg1 = (uiNode_t *) 0 ;
6530  int arg2 ;
6531 
6532  SWIG_check_num_args("uiNode_t::set_borderthickness",2,2)
6533  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_borderthickness",1,"uiNode_t *");
6534  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_borderthickness",2,"int");
6535 
6536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6537  SWIG_fail_ptr("uiNode_set_borderthickness",1,SWIGTYPE_p_uiNode_t);
6538  }
6539 
6540  arg2 = (int)lua_tonumber(L, 2);
6541  uiNode_t_set_borderthickness(arg1,arg2);
6542 
6543  return SWIG_arg;
6544 
6545  if(0) SWIG_fail;
6546 
6547 fail:
6548  lua_error(L);
6549  return SWIG_arg;
6550 }
6551 
6552 
6553 static int _wrap_uiNode_set_padding(lua_State* L) {
6554  int SWIG_arg = 0;
6555  uiNode_t *arg1 = (uiNode_t *) 0 ;
6556  int arg2 ;
6557 
6558  SWIG_check_num_args("uiNode_t::set_padding",2,2)
6559  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_padding",1,"uiNode_t *");
6560  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_padding",2,"int");
6561 
6562  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6563  SWIG_fail_ptr("uiNode_set_padding",1,SWIGTYPE_p_uiNode_t);
6564  }
6565 
6566  arg2 = (int)lua_tonumber(L, 2);
6567  uiNode_t_set_padding(arg1,arg2);
6568 
6569  return SWIG_arg;
6570 
6571  if(0) SWIG_fail;
6572 
6573 fail:
6574  lua_error(L);
6575  return SWIG_arg;
6576 }
6577 
6578 
6579 static int _wrap_uiNode___setitem(lua_State* L) {
6580  int SWIG_arg = 0;
6581  uiNode_t *arg1 = (uiNode_t *) 0 ;
6582  char *arg2 = (char *) 0 ;
6583  LUA_METHOD arg3 ;
6584 
6585  SWIG_check_num_args("uiNode_t::__setitem",3,3)
6586  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__setitem",1,"uiNode_t *");
6587  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__setitem",2,"char const *");
6588 
6589  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6590  SWIG_fail_ptr("uiNode___setitem",1,SWIGTYPE_p_uiNode_t);
6591  }
6592 
6593  arg2 = (char *)lua_tostring(L, 2);
6594  {
6595  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6596  }
6597  uiNode_t___setitem(arg1,(char const *)arg2,arg3);
6598 
6599  return SWIG_arg;
6600 
6601  if(0) SWIG_fail;
6602 
6603 fail:
6604  lua_error(L);
6605  return SWIG_arg;
6606 }
6607 
6608 
6609 static int _wrap_uiNode___getitem(lua_State* L) {
6610  int SWIG_arg = 0;
6611  uiNode_t *arg1 = (uiNode_t *) 0 ;
6612  char *arg2 = (char *) 0 ;
6613  LUA_METHOD result;
6614 
6615  SWIG_check_num_args("uiNode_t::__getitem",2,2)
6616  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__getitem",1,"uiNode_t *");
6617  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__getitem",2,"char const *");
6618 
6619  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6620  SWIG_fail_ptr("uiNode___getitem",1,SWIGTYPE_p_uiNode_t);
6621  }
6622 
6623  arg2 = (char *)lua_tostring(L, 2);
6624  result = uiNode_t___getitem(arg1,(char const *)arg2);
6625  {
6626  lua_rawgeti(L, LUA_REGISTRYINDEX, result); SWIG_arg++;
6627  }
6628  return SWIG_arg;
6629 
6630  if(0) SWIG_fail;
6631 
6632 fail:
6633  lua_error(L);
6634  return SWIG_arg;
6635 }
6636 
6637 
6638 static int _wrap_uiNode_add_classmethod(lua_State* L) {
6639  int SWIG_arg = 0;
6640  uiNode_t *arg1 = (uiNode_t *) 0 ;
6641  char *arg2 = (char *) 0 ;
6642  LUA_METHOD arg3 ;
6643 
6644  SWIG_check_num_args("uiNode_t::add_classmethod",3,3)
6645  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_classmethod",1,"uiNode_t *");
6646  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_classmethod",2,"char const *");
6647 
6648  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6649  SWIG_fail_ptr("uiNode_add_classmethod",1,SWIGTYPE_p_uiNode_t);
6650  }
6651 
6652  arg2 = (char *)lua_tostring(L, 2);
6653  {
6654  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6655  }
6656  uiNode_t_add_classmethod(arg1,(char const *)arg2,arg3);
6657 
6658  return SWIG_arg;
6659 
6660  if(0) SWIG_fail;
6661 
6662 fail:
6663  lua_error(L);
6664  return SWIG_arg;
6665 }
6666 
6667 
6668 static int _wrap_uiNode_add_nodemethod(lua_State* L) {
6669  int SWIG_arg = 0;
6670  uiNode_t *arg1 = (uiNode_t *) 0 ;
6671  char *arg2 = (char *) 0 ;
6672  LUA_METHOD arg3 ;
6673 
6674  SWIG_check_num_args("uiNode_t::add_nodemethod",3,3)
6675  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_nodemethod",1,"uiNode_t *");
6676  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_nodemethod",2,"char const *");
6677 
6678  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6679  SWIG_fail_ptr("uiNode_add_nodemethod",1,SWIGTYPE_p_uiNode_t);
6680  }
6681 
6682  arg2 = (char *)lua_tostring(L, 2);
6683  {
6684  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6685  }
6686  uiNode_t_add_nodemethod(arg1,(char const *)arg2,arg3);
6687 
6688  return SWIG_arg;
6689 
6690  if(0) SWIG_fail;
6691 
6692 fail:
6693  lua_error(L);
6694  return SWIG_arg;
6695 }
6696 
6697 
6698 static int _wrap_new_uiNode(lua_State* L) {
6699  int SWIG_arg = 0;
6700  uiNode_t *result = 0 ;
6701 
6702  SWIG_check_num_args("uiNode_t::uiNode_t",0,0)
6703  result = (uiNode_t *)new uiNode_t();
6704  {
6705  if (result) {
6707  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
6708  } else {
6709  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
6710  }
6711  }
6712  return SWIG_arg;
6713 
6714  if(0) SWIG_fail;
6715 
6716 fail:
6717  lua_error(L);
6718  return SWIG_arg;
6719 }
6720 
6721 
6722 static void swig_delete_uiNode(void *obj) {
6723 uiNode_t *arg1 = (uiNode_t *) obj;
6724 delete arg1;
6725 }
6726 static int _proxy__wrap_new_uiNode(lua_State *L) {
6727  assert(lua_istable(L,1));
6728  lua_pushcfunction(L,_wrap_new_uiNode);
6729  assert(!lua_isnil(L,-1));
6730  lua_replace(L,1); /* replace our table with real constructor */
6731  lua_call(L,lua_gettop(L)-1,1);
6732  return 1;
6733 }
6751  {0,0,0}
6752 };
6754  { "is_window", _wrap_uiNode_is_window},
6755  { "is_disabled", _wrap_uiNode_is_disabled},
6756  { "is_invisible", _wrap_uiNode_is_invisible},
6757  { "is_ghost", _wrap_uiNode_is_ghost},
6758  { "is_flashing", _wrap_uiNode_is_flashing},
6759  { "is_function", _wrap_uiNode_is_function},
6760  { "is_virtual", _wrap_uiNode_is_virtual},
6761  { "is_abstract", _wrap_uiNode_is_abstract},
6762  { "left", _wrap_uiNode_left},
6763  { "top", _wrap_uiNode_top},
6764  { "width", _wrap_uiNode_width},
6765  { "height", _wrap_uiNode_height},
6766  { "bordersize", _wrap_uiNode_bordersize},
6767  { "name", _wrap_uiNode_name},
6768  { "type", _wrap_uiNode_type},
6769  { "text", _wrap_uiNode_text},
6770  { "font", _wrap_uiNode_font},
6771  { "image", _wrap_uiNode_image},
6772  { "contentalign", _wrap_uiNode_contentalign},
6773  { "layoutalign", _wrap_uiNode_layoutalign},
6774  { "flashspeed", _wrap_uiNode_flashspeed},
6775  { "padding", _wrap_uiNode_padding},
6776  { "first", _wrap_uiNode_first},
6777  { "last", _wrap_uiNode_last},
6778  { "next", _wrap_uiNode_next},
6779  { "parent", _wrap_uiNode_parent},
6780  { "root", _wrap_uiNode_root},
6781  { "child", _wrap_uiNode_child},
6782  { "find", _wrap_uiNode_find},
6783  { "append_node", _wrap_uiNode_append_node},
6784  { "insert_node", _wrap_uiNode_insert_node},
6785  { "move_node", _wrap_uiNode_move_node},
6786  { "delete_node", _wrap_uiNode_delete_node},
6787  { "remove_children", _wrap_uiNode_remove_children},
6788  { "set_left", _wrap_uiNode_set_left},
6789  { "set_top", _wrap_uiNode_set_top},
6790  { "set_width", _wrap_uiNode_set_width},
6791  { "set_height", _wrap_uiNode_set_height},
6792  { "set_box", _wrap_uiNode_set_box},
6793  { "set_flashing", _wrap_uiNode_set_flashing},
6794  { "set_flashspeed", _wrap_uiNode_set_flashspeed},
6795  { "set_invisible", _wrap_uiNode_set_invisible},
6796  { "set_ghost", _wrap_uiNode_set_ghost},
6797  { "set_pos", _wrap_uiNode_set_pos},
6798  { "set_size", _wrap_uiNode_set_size},
6799  { "set_color", _wrap_uiNode_set_color},
6800  { "set_disabledcolor", _wrap_uiNode_set_disabledcolor},
6801  { "set_flashcolor", _wrap_uiNode_set_flashcolor},
6802  { "set_selectcolor", _wrap_uiNode_set_selectcolor},
6803  { "set_backgroundcolor", _wrap_uiNode_set_backgroundcolor},
6804  { "set_bordersize", _wrap_uiNode_set_bordersize},
6805  { "set_bordercolor", _wrap_uiNode_set_bordercolor},
6806  { "set_text", _wrap_uiNode_set_text},
6807  { "set_font", _wrap_uiNode_set_font},
6808  { "set_image", _wrap_uiNode_set_image},
6809  { "set_contentalign", _wrap_uiNode_set_contentalign},
6810  { "set_layoutalign", _wrap_uiNode_set_layoutalign},
6811  { "set_tooltip", _wrap_uiNode_set_tooltip},
6812  { "set_disabled", _wrap_uiNode_set_disabled},
6813  { "set_borderthickness", _wrap_uiNode_set_borderthickness},
6814  { "set_padding", _wrap_uiNode_set_padding},
6815  { "__setitem", _wrap_uiNode___setitem},
6816  { "__getitem", _wrap_uiNode___getitem},
6817  { "add_classmethod", _wrap_uiNode_add_classmethod},
6818  { "add_nodemethod", _wrap_uiNode_add_nodemethod},
6819  {0,0}
6820 };
6822  { "__setitem", _wrap_uiNode___setitem},
6823  { "__getitem", _wrap_uiNode___getitem},
6824  {0,0}
6825 };
6826 
6828  {0,0,0}
6829 };
6831  {0,0,0,0,0,0}
6832 };
6834  {0,0}
6835 };
6837  0
6838 };
6839 
6841  "uiNode",
6846  0
6847 };
6849 static const char *swig_uiNode_base_names[] = {0};
6851 
6852 static int _wrap_uiAbstractOptionNode_dataid(lua_State* L) {
6853  int SWIG_arg = 0;
6855  int result;
6856 
6857  SWIG_check_num_args("uiAbstractOptionNode_t::dataid",1,1)
6858  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::dataid",1,"uiAbstractOptionNode_t *");
6859 
6860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6861  SWIG_fail_ptr("uiAbstractOptionNode_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6862  }
6863 
6864  result = (int)uiAbstractOptionNode_t_dataid(arg1);
6865  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6866  return SWIG_arg;
6867 
6868  if(0) SWIG_fail;
6869 
6870 fail:
6871  lua_error(L);
6872  return SWIG_arg;
6873 }
6874 
6875 
6876 static int _wrap_uiAbstractOptionNode_count(lua_State* L) {
6877  int SWIG_arg = 0;
6879  int result;
6880 
6881  SWIG_check_num_args("uiAbstractOptionNode_t::count",1,1)
6882  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::count",1,"uiAbstractOptionNode_t *");
6883 
6884  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6885  SWIG_fail_ptr("uiAbstractOptionNode_count",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6886  }
6887 
6888  result = (int)uiAbstractOptionNode_t_count(arg1);
6889  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6890  return SWIG_arg;
6891 
6892  if(0) SWIG_fail;
6893 
6894 fail:
6895  lua_error(L);
6896  return SWIG_arg;
6897 }
6898 
6899 
6900 static int _wrap_uiAbstractOptionNode_lineheight(lua_State* L) {
6901  int SWIG_arg = 0;
6903  int result;
6904 
6905  SWIG_check_num_args("uiAbstractOptionNode_t::lineheight",1,1)
6906  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lineheight",1,"uiAbstractOptionNode_t *");
6907 
6908  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6909  SWIG_fail_ptr("uiAbstractOptionNode_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6910  }
6911 
6912  result = (int)uiAbstractOptionNode_t_lineheight(arg1);
6913  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6914  return SWIG_arg;
6915 
6916  if(0) SWIG_fail;
6917 
6918 fail:
6919  lua_error(L);
6920  return SWIG_arg;
6921 }
6922 
6923 
6924 static int _wrap_uiAbstractOptionNode_cvar(lua_State* L) {
6925  int SWIG_arg = 0;
6927  char *result = 0 ;
6928 
6929  SWIG_check_num_args("uiAbstractOptionNode_t::cvar",1,1)
6930  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::cvar",1,"uiAbstractOptionNode_t *");
6931 
6932  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6933  SWIG_fail_ptr("uiAbstractOptionNode_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6934  }
6935 
6936  result = (char *)uiAbstractOptionNode_t_cvar(arg1);
6937  lua_pushstring(L,(const char *)result); SWIG_arg++;
6938  return SWIG_arg;
6939 
6940  if(0) SWIG_fail;
6941 
6942 fail:
6943  lua_error(L);
6944  return SWIG_arg;
6945 }
6946 
6947 
6948 static int _wrap_uiAbstractOptionNode_current(lua_State* L) {
6949  int SWIG_arg = 0;
6951  int result;
6952 
6953  SWIG_check_num_args("uiAbstractOptionNode_t::current",1,1)
6954  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::current",1,"uiAbstractOptionNode_t *");
6955 
6956  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6957  SWIG_fail_ptr("uiAbstractOptionNode_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6958  }
6959 
6960  result = (int)uiAbstractOptionNode_t_current(arg1);
6961  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6962  return SWIG_arg;
6963 
6964  if(0) SWIG_fail;
6965 
6966 fail:
6967  lua_error(L);
6968  return SWIG_arg;
6969 }
6970 
6971 
6972 static int _wrap_uiAbstractOptionNode_viewsize(lua_State* L) {
6973  int SWIG_arg = 0;
6975  int result;
6976 
6977  SWIG_check_num_args("uiAbstractOptionNode_t::viewsize",1,1)
6978  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::viewsize",1,"uiAbstractOptionNode_t *");
6979 
6980  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6981  SWIG_fail_ptr("uiAbstractOptionNode_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6982  }
6983 
6984  result = (int)uiAbstractOptionNode_t_viewsize(arg1);
6985  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6986  return SWIG_arg;
6987 
6988  if(0) SWIG_fail;
6989 
6990 fail:
6991  lua_error(L);
6992  return SWIG_arg;
6993 }
6994 
6995 
6996 static int _wrap_uiAbstractOptionNode_fullsize(lua_State* L) {
6997  int SWIG_arg = 0;
6999  int result;
7000 
7001  SWIG_check_num_args("uiAbstractOptionNode_t::fullsize",1,1)
7002  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::fullsize",1,"uiAbstractOptionNode_t *");
7003 
7004  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7005  SWIG_fail_ptr("uiAbstractOptionNode_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7006  }
7007 
7008  result = (int)uiAbstractOptionNode_t_fullsize(arg1);
7009  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7010  return SWIG_arg;
7011 
7012  if(0) SWIG_fail;
7013 
7014 fail:
7015  lua_error(L);
7016  return SWIG_arg;
7017 }
7018 
7019 
7020 static int _wrap_uiAbstractOptionNode_set_dataid(lua_State* L) {
7021  int SWIG_arg = 0;
7023  int arg2 ;
7024 
7025  SWIG_check_num_args("uiAbstractOptionNode_t::set_dataid",2,2)
7026  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",1,"uiAbstractOptionNode_t *");
7027  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",2,"int");
7028 
7029  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7030  SWIG_fail_ptr("uiAbstractOptionNode_set_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7031  }
7032 
7033  arg2 = (int)lua_tonumber(L, 2);
7035 
7036  return SWIG_arg;
7037 
7038  if(0) SWIG_fail;
7039 
7040 fail:
7041  lua_error(L);
7042  return SWIG_arg;
7043 }
7044 
7045 
7046 static int _wrap_uiAbstractOptionNode_set_cvar(lua_State* L) {
7047  int SWIG_arg = 0;
7049  char *arg2 = (char *) 0 ;
7050 
7051  SWIG_check_num_args("uiAbstractOptionNode_t::set_cvar",2,2)
7052  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",1,"uiAbstractOptionNode_t *");
7053  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",2,"char const *");
7054 
7055  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7056  SWIG_fail_ptr("uiAbstractOptionNode_set_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7057  }
7058 
7059  arg2 = (char *)lua_tostring(L, 2);
7060  uiAbstractOptionNode_t_set_cvar(arg1,(char const *)arg2);
7061 
7062  return SWIG_arg;
7063 
7064  if(0) SWIG_fail;
7065 
7066 fail:
7067  lua_error(L);
7068  return SWIG_arg;
7069 }
7070 
7071 
7073  int SWIG_arg = 0;
7075  int arg2 ;
7076 
7077  SWIG_check_num_args("uiAbstractOptionNode_t::set_lineheight",2,2)
7078  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",1,"uiAbstractOptionNode_t *");
7079  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",2,"int");
7080 
7081  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7082  SWIG_fail_ptr("uiAbstractOptionNode_set_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7083  }
7084 
7085  arg2 = (int)lua_tonumber(L, 2);
7087 
7088  return SWIG_arg;
7089 
7090  if(0) SWIG_fail;
7091 
7092 fail:
7093  lua_error(L);
7094  return SWIG_arg;
7095 }
7096 
7097 
7099  int SWIG_arg = 0;
7101  char *arg2 = (char *) 0 ;
7102 
7103  SWIG_check_num_args("uiAbstractOptionNode_t::set_background",2,2)
7104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",1,"uiAbstractOptionNode_t *");
7105  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",2,"char const *");
7106 
7107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7108  SWIG_fail_ptr("uiAbstractOptionNode_set_background",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7109  }
7110 
7111  arg2 = (char *)lua_tostring(L, 2);
7112  uiAbstractOptionNode_t_set_background(arg1,(char const *)arg2);
7113 
7114  return SWIG_arg;
7115 
7116  if(0) SWIG_fail;
7117 
7118 fail:
7119  lua_error(L);
7120  return SWIG_arg;
7121 }
7122 
7123 
7124 static int _wrap_uiAbstractOptionNode_set_current(lua_State* L) {
7125  int SWIG_arg = 0;
7127  int arg2 ;
7128 
7129  SWIG_check_num_args("uiAbstractOptionNode_t::set_current",2,2)
7130  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",1,"uiAbstractOptionNode_t *");
7131  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",2,"int");
7132 
7133  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7134  SWIG_fail_ptr("uiAbstractOptionNode_set_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7135  }
7136 
7137  arg2 = (int)lua_tonumber(L, 2);
7139 
7140  return SWIG_arg;
7141 
7142  if(0) SWIG_fail;
7143 
7144 fail:
7145  lua_error(L);
7146  return SWIG_arg;
7147 }
7148 
7149 
7151  int SWIG_arg = 0;
7153  int arg2 ;
7154 
7155  SWIG_check_num_args("uiAbstractOptionNode_t::set_viewsize",2,2)
7156  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",1,"uiAbstractOptionNode_t *");
7157  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",2,"int");
7158 
7159  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7160  SWIG_fail_ptr("uiAbstractOptionNode_set_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7161  }
7162 
7163  arg2 = (int)lua_tonumber(L, 2);
7165 
7166  return SWIG_arg;
7167 
7168  if(0) SWIG_fail;
7169 
7170 fail:
7171  lua_error(L);
7172  return SWIG_arg;
7173 }
7174 
7175 
7177  int SWIG_arg = 0;
7179  int arg2 ;
7180 
7181  SWIG_check_num_args("uiAbstractOptionNode_t::set_fullsize",2,2)
7182  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",1,"uiAbstractOptionNode_t *");
7183  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",2,"int");
7184 
7185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7186  SWIG_fail_ptr("uiAbstractOptionNode_set_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7187  }
7188 
7189  arg2 = (int)lua_tonumber(L, 2);
7191 
7192  return SWIG_arg;
7193 
7194  if(0) SWIG_fail;
7195 
7196 fail:
7197  lua_error(L);
7198  return SWIG_arg;
7199 }
7200 
7201 
7203  int SWIG_arg = 0;
7205  LUA_EVENT arg2 ;
7206 
7207  SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",2,2)
7208  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7209 
7210  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7211  SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7212  }
7213 
7214  {
7215  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7216  }
7218 
7219  return SWIG_arg;
7220 
7221  if(0) SWIG_fail;
7222 
7223 fail:
7224  lua_error(L);
7225  return SWIG_arg;
7226 }
7227 
7228 
7230  int SWIG_arg = 0;
7232  LUA_EVENT result;
7233 
7234  SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",1,1)
7235  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7236 
7237  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7238  SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7239  }
7240 
7242  {
7243  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7244  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7245  }
7246  return SWIG_arg;
7247 
7248  if(0) SWIG_fail;
7249 
7250 fail:
7251  lua_error(L);
7252  return SWIG_arg;
7253 }
7254 
7255 
7256 static int _wrap_new_uiAbstractOptionNode(lua_State* L) {
7257  int SWIG_arg = 0;
7258  uiAbstractOptionNode_t *result = 0 ;
7259 
7260  SWIG_check_num_args("uiAbstractOptionNode_t::uiAbstractOptionNode_t",0,0)
7262  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiAbstractOptionNode_t,1); SWIG_arg++;
7263  return SWIG_arg;
7264 
7265  if(0) SWIG_fail;
7266 
7267 fail:
7268  lua_error(L);
7269  return SWIG_arg;
7270 }
7271 
7272 
7273 static void swig_delete_uiAbstractOptionNode(void *obj) {
7275 delete arg1;
7276 }
7277 static int _proxy__wrap_new_uiAbstractOptionNode(lua_State *L) {
7278  assert(lua_istable(L,1));
7279  lua_pushcfunction(L,_wrap_new_uiAbstractOptionNode);
7280  assert(!lua_isnil(L,-1));
7281  lua_replace(L,1); /* replace our table with real constructor */
7282  lua_call(L,lua_gettop(L)-1,1);
7283  return 1;
7284 }
7287  {0,0,0}
7288 };
7290  { "dataid", _wrap_uiAbstractOptionNode_dataid},
7292  { "lineheight", _wrap_uiAbstractOptionNode_lineheight},
7294  { "current", _wrap_uiAbstractOptionNode_current},
7295  { "viewsize", _wrap_uiAbstractOptionNode_viewsize},
7296  { "fullsize", _wrap_uiAbstractOptionNode_fullsize},
7297  { "set_dataid", _wrap_uiAbstractOptionNode_set_dataid},
7298  { "set_cvar", _wrap_uiAbstractOptionNode_set_cvar},
7299  { "set_lineheight", _wrap_uiAbstractOptionNode_set_lineheight},
7300  { "set_background", _wrap_uiAbstractOptionNode_set_background},
7301  { "set_current", _wrap_uiAbstractOptionNode_set_current},
7302  { "set_viewsize", _wrap_uiAbstractOptionNode_set_viewsize},
7303  { "set_fullsize", _wrap_uiAbstractOptionNode_set_fullsize},
7304  {0,0}
7305 };
7307  {0,0}
7308 };
7309 
7311  {0,0,0}
7312 };
7314  {0,0,0,0,0,0}
7315 };
7317  {0,0}
7318 };
7320  0
7321 };
7322 
7324  "uiAbstractOptionNode",
7329  0
7330 };
7332 static const char *swig_uiAbstractOptionNode_base_names[] = {"uiNode_t *",0};
7334 
7335 static int _wrap_uiAbstractScrollableNode_viewpos(lua_State* L) {
7336  int SWIG_arg = 0;
7338  int result;
7339 
7340  SWIG_check_num_args("uiAbstractScrollableNode_t::viewpos",1,1)
7341  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewpos",1,"uiAbstractScrollableNode_t *");
7342 
7344  SWIG_fail_ptr("uiAbstractScrollableNode_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7345  }
7346 
7347  result = (int)uiAbstractScrollableNode_t_viewpos(arg1);
7348  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7349  return SWIG_arg;
7350 
7351  if(0) SWIG_fail;
7352 
7353 fail:
7354  lua_error(L);
7355  return SWIG_arg;
7356 }
7357 
7358 
7360  int SWIG_arg = 0;
7362  int result;
7363 
7364  SWIG_check_num_args("uiAbstractScrollableNode_t::viewsize",1,1)
7365  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewsize",1,"uiAbstractScrollableNode_t *");
7366 
7368  SWIG_fail_ptr("uiAbstractScrollableNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7369  }
7370 
7371  result = (int)uiAbstractScrollableNode_t_viewsize(arg1);
7372  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7373  return SWIG_arg;
7374 
7375  if(0) SWIG_fail;
7376 
7377 fail:
7378  lua_error(L);
7379  return SWIG_arg;
7380 }
7381 
7382 
7384  int SWIG_arg = 0;
7386  int result;
7387 
7388  SWIG_check_num_args("uiAbstractScrollableNode_t::fullsize",1,1)
7389  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::fullsize",1,"uiAbstractScrollableNode_t *");
7390 
7392  SWIG_fail_ptr("uiAbstractScrollableNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7393  }
7394 
7395  result = (int)uiAbstractScrollableNode_t_fullsize(arg1);
7396  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7397  return SWIG_arg;
7398 
7399  if(0) SWIG_fail;
7400 
7401 fail:
7402  lua_error(L);
7403  return SWIG_arg;
7404 }
7405 
7406 
7407 static int _wrap_uiAbstractScrollableNode_pageup(lua_State* L) {
7408  int SWIG_arg = 0;
7410 
7411  SWIG_check_num_args("uiAbstractScrollableNode_t::pageup",1,1)
7412  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pageup",1,"uiAbstractScrollableNode_t *");
7413 
7415  SWIG_fail_ptr("uiAbstractScrollableNode_pageup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7416  }
7417 
7419 
7420  return SWIG_arg;
7421 
7422  if(0) SWIG_fail;
7423 
7424 fail:
7425  lua_error(L);
7426  return SWIG_arg;
7427 }
7428 
7429 
7431  int SWIG_arg = 0;
7433 
7434  SWIG_check_num_args("uiAbstractScrollableNode_t::pagedown",1,1)
7435  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pagedown",1,"uiAbstractScrollableNode_t *");
7436 
7438  SWIG_fail_ptr("uiAbstractScrollableNode_pagedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7439  }
7440 
7442 
7443  return SWIG_arg;
7444 
7445  if(0) SWIG_fail;
7446 
7447 fail:
7448  lua_error(L);
7449  return SWIG_arg;
7450 }
7451 
7452 
7453 static int _wrap_uiAbstractScrollableNode_moveup(lua_State* L) {
7454  int SWIG_arg = 0;
7456 
7457  SWIG_check_num_args("uiAbstractScrollableNode_t::moveup",1,1)
7458  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveup",1,"uiAbstractScrollableNode_t *");
7459 
7461  SWIG_fail_ptr("uiAbstractScrollableNode_moveup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7462  }
7463 
7465 
7466  return SWIG_arg;
7467 
7468  if(0) SWIG_fail;
7469 
7470 fail:
7471  lua_error(L);
7472  return SWIG_arg;
7473 }
7474 
7475 
7477  int SWIG_arg = 0;
7479 
7480  SWIG_check_num_args("uiAbstractScrollableNode_t::movedown",1,1)
7481  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movedown",1,"uiAbstractScrollableNode_t *");
7482 
7484  SWIG_fail_ptr("uiAbstractScrollableNode_movedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7485  }
7486 
7488 
7489  return SWIG_arg;
7490 
7491  if(0) SWIG_fail;
7492 
7493 fail:
7494  lua_error(L);
7495  return SWIG_arg;
7496 }
7497 
7498 
7500  int SWIG_arg = 0;
7502 
7503  SWIG_check_num_args("uiAbstractScrollableNode_t::movehome",1,1)
7504  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movehome",1,"uiAbstractScrollableNode_t *");
7505 
7507  SWIG_fail_ptr("uiAbstractScrollableNode_movehome",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7508  }
7509 
7511 
7512  return SWIG_arg;
7513 
7514  if(0) SWIG_fail;
7515 
7516 fail:
7517  lua_error(L);
7518  return SWIG_arg;
7519 }
7520 
7521 
7522 static int _wrap_uiAbstractScrollableNode_moveend(lua_State* L) {
7523  int SWIG_arg = 0;
7525 
7526  SWIG_check_num_args("uiAbstractScrollableNode_t::moveend",1,1)
7527  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveend",1,"uiAbstractScrollableNode_t *");
7528 
7530  SWIG_fail_ptr("uiAbstractScrollableNode_moveend",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7531  }
7532 
7534 
7535  return SWIG_arg;
7536 
7537  if(0) SWIG_fail;
7538 
7539 fail:
7540  lua_error(L);
7541  return SWIG_arg;
7542 }
7543 
7544 
7546  int SWIG_arg = 0;
7548  int arg2 ;
7549 
7550  SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewpos",2,2)
7551  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",1,"uiAbstractScrollableNode_t *");
7552  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",2,"int");
7553 
7555  SWIG_fail_ptr("uiAbstractScrollableNode_set_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7556  }
7557 
7558  arg2 = (int)lua_tonumber(L, 2);
7560 
7561  return SWIG_arg;
7562 
7563  if(0) SWIG_fail;
7564 
7565 fail:
7566  lua_error(L);
7567  return SWIG_arg;
7568 }
7569 
7570 
7572  int SWIG_arg = 0;
7574  int arg2 ;
7575 
7576  SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewsize",2,2)
7577  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",1,"uiAbstractScrollableNode_t *");
7578  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",2,"int");
7579 
7581  SWIG_fail_ptr("uiAbstractScrollableNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7582  }
7583 
7584  arg2 = (int)lua_tonumber(L, 2);
7586 
7587  return SWIG_arg;
7588 
7589  if(0) SWIG_fail;
7590 
7591 fail:
7592  lua_error(L);
7593  return SWIG_arg;
7594 }
7595 
7596 
7598  int SWIG_arg = 0;
7600  int arg2 ;
7601 
7602  SWIG_check_num_args("uiAbstractScrollableNode_t::set_fullsize",2,2)
7603  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",1,"uiAbstractScrollableNode_t *");
7604  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",2,"int");
7605 
7607  SWIG_fail_ptr("uiAbstractScrollableNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7608  }
7609 
7610  arg2 = (int)lua_tonumber(L, 2);
7612 
7613  return SWIG_arg;
7614 
7615  if(0) SWIG_fail;
7616 
7617 fail:
7618  lua_error(L);
7619  return SWIG_arg;
7620 }
7621 
7622 
7624  int SWIG_arg = 0;
7626  LUA_EVENT arg2 ;
7627 
7628  SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",2,2)
7629  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7630 
7632  SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7633  }
7634 
7635  {
7636  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7637  }
7639 
7640  return SWIG_arg;
7641 
7642  if(0) SWIG_fail;
7643 
7644 fail:
7645  lua_error(L);
7646  return SWIG_arg;
7647 }
7648 
7649 
7651  int SWIG_arg = 0;
7653  LUA_EVENT result;
7654 
7655  SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",1,1)
7656  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7657 
7659  SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7660  }
7661 
7663  {
7664  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7665  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7666  }
7667  return SWIG_arg;
7668 
7669  if(0) SWIG_fail;
7670 
7671 fail:
7672  lua_error(L);
7673  return SWIG_arg;
7674 }
7675 
7676 
7677 static int _wrap_new_uiAbstractScrollableNode(lua_State* L) {
7678  int SWIG_arg = 0;
7679  uiAbstractScrollableNode_t *result = 0 ;
7680 
7681  SWIG_check_num_args("uiAbstractScrollableNode_t::uiAbstractScrollableNode_t",0,0)
7684  return SWIG_arg;
7685 
7686  if(0) SWIG_fail;
7687 
7688 fail:
7689  lua_error(L);
7690  return SWIG_arg;
7691 }
7692 
7693 
7696 delete arg1;
7697 }
7699  assert(lua_istable(L,1));
7700  lua_pushcfunction(L,_wrap_new_uiAbstractScrollableNode);
7701  assert(!lua_isnil(L,-1));
7702  lua_replace(L,1); /* replace our table with real constructor */
7703  lua_call(L,lua_gettop(L)-1,1);
7704  return 1;
7705 }
7708  {0,0,0}
7709 };
7723  {0,0}
7724 };
7726  {0,0}
7727 };
7728 
7730  {0,0,0}
7731 };
7733  {0,0,0,0,0,0}
7734 };
7736  {0,0}
7737 };
7739  0
7740 };
7741 
7743  "uiAbstractScrollableNode",
7748  0
7749 };
7751 static const char *swig_uiAbstractScrollableNode_base_names[] = {"uiNode_t *",0};
7753 
7755  int SWIG_arg = 0;
7757  bool result;
7758 
7759  SWIG_check_num_args("uiAbstractScrollbarNode_t::is_autoshowscroll",1,1)
7760  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::is_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7761 
7763  SWIG_fail_ptr("uiAbstractScrollbarNode_is_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7764  }
7765 
7766  result = (bool)uiAbstractScrollbarNode_t_is_autoshowscroll(arg1);
7767  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7768  return SWIG_arg;
7769 
7770  if(0) SWIG_fail;
7771 
7772 fail:
7773  lua_error(L);
7774  return SWIG_arg;
7775 }
7776 
7777 
7778 static int _wrap_uiAbstractScrollbarNode_current(lua_State* L) {
7779  int SWIG_arg = 0;
7781  int result;
7782 
7783  SWIG_check_num_args("uiAbstractScrollbarNode_t::current",1,1)
7784  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::current",1,"uiAbstractScrollbarNode_t *");
7785 
7787  SWIG_fail_ptr("uiAbstractScrollbarNode_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7788  }
7789 
7790  result = (int)uiAbstractScrollbarNode_t_current(arg1);
7791  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7792  return SWIG_arg;
7793 
7794  if(0) SWIG_fail;
7795 
7796 fail:
7797  lua_error(L);
7798  return SWIG_arg;
7799 }
7800 
7801 
7802 static int _wrap_uiAbstractScrollbarNode_viewsize(lua_State* L) {
7803  int SWIG_arg = 0;
7805  int result;
7806 
7807  SWIG_check_num_args("uiAbstractScrollbarNode_t::viewsize",1,1)
7808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::viewsize",1,"uiAbstractScrollbarNode_t *");
7809 
7811  SWIG_fail_ptr("uiAbstractScrollbarNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7812  }
7813 
7814  result = (int)uiAbstractScrollbarNode_t_viewsize(arg1);
7815  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7816  return SWIG_arg;
7817 
7818  if(0) SWIG_fail;
7819 
7820 fail:
7821  lua_error(L);
7822  return SWIG_arg;
7823 }
7824 
7825 
7826 static int _wrap_uiAbstractScrollbarNode_fullsize(lua_State* L) {
7827  int SWIG_arg = 0;
7829  int result;
7830 
7831  SWIG_check_num_args("uiAbstractScrollbarNode_t::fullsize",1,1)
7832  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::fullsize",1,"uiAbstractScrollbarNode_t *");
7833 
7835  SWIG_fail_ptr("uiAbstractScrollbarNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7836  }
7837 
7838  result = (int)uiAbstractScrollbarNode_t_fullsize(arg1);
7839  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7840  return SWIG_arg;
7841 
7842  if(0) SWIG_fail;
7843 
7844 fail:
7845  lua_error(L);
7846  return SWIG_arg;
7847 }
7848 
7849 
7851  int SWIG_arg = 0;
7853  bool arg2 ;
7854 
7855  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_autoshowscroll",2,2)
7856  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7857  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",2,"bool");
7858 
7860  SWIG_fail_ptr("uiAbstractScrollbarNode_set_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7861  }
7862 
7863  arg2 = (lua_toboolean(L, 2)!=0);
7865 
7866  return SWIG_arg;
7867 
7868  if(0) SWIG_fail;
7869 
7870 fail:
7871  lua_error(L);
7872  return SWIG_arg;
7873 }
7874 
7875 
7877  int SWIG_arg = 0;
7879  int arg2 ;
7880 
7881  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_current",2,2)
7882  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",1,"uiAbstractScrollbarNode_t *");
7883  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",2,"int");
7884 
7886  SWIG_fail_ptr("uiAbstractScrollbarNode_set_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7887  }
7888 
7889  arg2 = (int)lua_tonumber(L, 2);
7891 
7892  return SWIG_arg;
7893 
7894  if(0) SWIG_fail;
7895 
7896 fail:
7897  lua_error(L);
7898  return SWIG_arg;
7899 }
7900 
7901 
7903  int SWIG_arg = 0;
7905  int arg2 ;
7906 
7907  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_viewsize",2,2)
7908  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",1,"uiAbstractScrollbarNode_t *");
7909  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",2,"int");
7910 
7912  SWIG_fail_ptr("uiAbstractScrollbarNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7913  }
7914 
7915  arg2 = (int)lua_tonumber(L, 2);
7917 
7918  return SWIG_arg;
7919 
7920  if(0) SWIG_fail;
7921 
7922 fail:
7923  lua_error(L);
7924  return SWIG_arg;
7925 }
7926 
7927 
7929  int SWIG_arg = 0;
7931  int arg2 ;
7932 
7933  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_fullsize",2,2)
7934  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",1,"uiAbstractScrollbarNode_t *");
7935  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",2,"int");
7936 
7938  SWIG_fail_ptr("uiAbstractScrollbarNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7939  }
7940 
7941  arg2 = (int)lua_tonumber(L, 2);
7943 
7944  return SWIG_arg;
7945 
7946  if(0) SWIG_fail;
7947 
7948 fail:
7949  lua_error(L);
7950  return SWIG_arg;
7951 }
7952 
7953 
7954 static int _wrap_new_uiAbstractScrollbarNode(lua_State* L) {
7955  int SWIG_arg = 0;
7956  uiAbstractScrollbarNode_t *result = 0 ;
7957 
7958  SWIG_check_num_args("uiAbstractScrollbarNode_t::uiAbstractScrollbarNode_t",0,0)
7961  return SWIG_arg;
7962 
7963  if(0) SWIG_fail;
7964 
7965 fail:
7966  lua_error(L);
7967  return SWIG_arg;
7968 }
7969 
7970 
7971 static void swig_delete_uiAbstractScrollbarNode(void *obj) {
7973 delete arg1;
7974 }
7976  assert(lua_istable(L,1));
7977  lua_pushcfunction(L,_wrap_new_uiAbstractScrollbarNode);
7978  assert(!lua_isnil(L,-1));
7979  lua_replace(L,1); /* replace our table with real constructor */
7980  lua_call(L,lua_gettop(L)-1,1);
7981  return 1;
7982 }
7984  {0,0,0}
7985 };
7987  { "is_autoshowscroll", _wrap_uiAbstractScrollbarNode_is_autoshowscroll},
7991  { "set_autoshowscroll", _wrap_uiAbstractScrollbarNode_set_autoshowscroll},
7993  { "set_viewsize", _wrap_uiAbstractScrollbarNode_set_viewsize},
7994  { "set_fullsize", _wrap_uiAbstractScrollbarNode_set_fullsize},
7995  {0,0}
7996 };
7998  {0,0}
7999 };
8000 
8002  {0,0,0}
8003 };
8005  {0,0,0,0,0,0}
8006 };
8008  {0,0}
8009 };
8011  0
8012 };
8013 
8015  "uiAbstractScrollbarNode",
8020  0
8021 };
8023 static const char *swig_uiAbstractScrollbarNode_base_names[] = {"uiNode_t *",0};
8025 
8026 static int _wrap_uiAbstractValueNode_min(lua_State* L) {
8027  int SWIG_arg = 0;
8029  float result;
8030 
8031  SWIG_check_num_args("uiAbstractValueNode_t::min",1,1)
8032  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::min",1,"uiAbstractValueNode_t *");
8033 
8034  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8035  SWIG_fail_ptr("uiAbstractValueNode_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8036  }
8037 
8038  result = (float)uiAbstractValueNode_t_min(arg1);
8039  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8040  return SWIG_arg;
8041 
8042  if(0) SWIG_fail;
8043 
8044 fail:
8045  lua_error(L);
8046  return SWIG_arg;
8047 }
8048 
8049 
8050 static int _wrap_uiAbstractValueNode_max(lua_State* L) {
8051  int SWIG_arg = 0;
8053  float result;
8054 
8055  SWIG_check_num_args("uiAbstractValueNode_t::max",1,1)
8056  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::max",1,"uiAbstractValueNode_t *");
8057 
8058  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8059  SWIG_fail_ptr("uiAbstractValueNode_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8060  }
8061 
8062  result = (float)uiAbstractValueNode_t_max(arg1);
8063  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8064  return SWIG_arg;
8065 
8066  if(0) SWIG_fail;
8067 
8068 fail:
8069  lua_error(L);
8070  return SWIG_arg;
8071 }
8072 
8073 
8074 static int _wrap_uiAbstractValueNode_value(lua_State* L) {
8075  int SWIG_arg = 0;
8077  float result;
8078 
8079  SWIG_check_num_args("uiAbstractValueNode_t::value",1,1)
8080  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::value",1,"uiAbstractValueNode_t *");
8081 
8082  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8083  SWIG_fail_ptr("uiAbstractValueNode_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8084  }
8085 
8086  result = (float)uiAbstractValueNode_t_value(arg1);
8087  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8088  return SWIG_arg;
8089 
8090  if(0) SWIG_fail;
8091 
8092 fail:
8093  lua_error(L);
8094  return SWIG_arg;
8095 }
8096 
8097 
8098 static int _wrap_uiAbstractValueNode_delta(lua_State* L) {
8099  int SWIG_arg = 0;
8101  float result;
8102 
8103  SWIG_check_num_args("uiAbstractValueNode_t::delta",1,1)
8104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::delta",1,"uiAbstractValueNode_t *");
8105 
8106  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8107  SWIG_fail_ptr("uiAbstractValueNode_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8108  }
8109 
8110  result = (float)uiAbstractValueNode_t_delta(arg1);
8111  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8112  return SWIG_arg;
8113 
8114  if(0) SWIG_fail;
8115 
8116 fail:
8117  lua_error(L);
8118  return SWIG_arg;
8119 }
8120 
8121 
8122 static int _wrap_uiAbstractValueNode_lastdiff(lua_State* L) {
8123  int SWIG_arg = 0;
8125  float result;
8126 
8127  SWIG_check_num_args("uiAbstractValueNode_t::lastdiff",1,1)
8128  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::lastdiff",1,"uiAbstractValueNode_t *");
8129 
8130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8131  SWIG_fail_ptr("uiAbstractValueNode_lastdiff",1,SWIGTYPE_p_uiAbstractValueNode_t);
8132  }
8133 
8134  result = (float)uiAbstractValueNode_t_lastdiff(arg1);
8135  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8136  return SWIG_arg;
8137 
8138  if(0) SWIG_fail;
8139 
8140 fail:
8141  lua_error(L);
8142  return SWIG_arg;
8143 }
8144 
8145 
8147  int SWIG_arg = 0;
8149  float result;
8150 
8151  SWIG_check_num_args("uiAbstractValueNode_t::shiftmultiplier",1,1)
8152  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::shiftmultiplier",1,"uiAbstractValueNode_t *");
8153 
8154  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8155  SWIG_fail_ptr("uiAbstractValueNode_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8156  }
8157 
8158  result = (float)uiAbstractValueNode_t_shiftmultiplier(arg1);
8159  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8160  return SWIG_arg;
8161 
8162  if(0) SWIG_fail;
8163 
8164 fail:
8165  lua_error(L);
8166  return SWIG_arg;
8167 }
8168 
8169 
8170 static int _wrap_uiAbstractValueNode_inc_value(lua_State* L) {
8171  int SWIG_arg = 0;
8173 
8174  SWIG_check_num_args("uiAbstractValueNode_t::inc_value",1,1)
8175  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::inc_value",1,"uiAbstractValueNode_t *");
8176 
8177  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8178  SWIG_fail_ptr("uiAbstractValueNode_inc_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8179  }
8180 
8182 
8183  return SWIG_arg;
8184 
8185  if(0) SWIG_fail;
8186 
8187 fail:
8188  lua_error(L);
8189  return SWIG_arg;
8190 }
8191 
8192 
8193 static int _wrap_uiAbstractValueNode_dec_value(lua_State* L) {
8194  int SWIG_arg = 0;
8196 
8197  SWIG_check_num_args("uiAbstractValueNode_t::dec_value",1,1)
8198  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::dec_value",1,"uiAbstractValueNode_t *");
8199 
8200  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8201  SWIG_fail_ptr("uiAbstractValueNode_dec_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8202  }
8203 
8205 
8206  return SWIG_arg;
8207 
8208  if(0) SWIG_fail;
8209 
8210 fail:
8211  lua_error(L);
8212  return SWIG_arg;
8213 }
8214 
8215 
8217  int SWIG_arg = 0;
8219  float arg2 ;
8220  float arg3 ;
8221 
8222  SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8223  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8224  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"float");
8225  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"float");
8226 
8227  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8228  SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8229  }
8230 
8231  arg2 = (float)lua_tonumber(L, 2);
8232  arg3 = (float)lua_tonumber(L, 3);
8234 
8235  return SWIG_arg;
8236 
8237  if(0) SWIG_fail;
8238 
8239 fail:
8240  lua_error(L);
8241  return SWIG_arg;
8242 }
8243 
8244 
8246  int SWIG_arg = 0;
8248  char *arg2 = (char *) 0 ;
8249  char *arg3 = (char *) 0 ;
8250 
8251  SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8252  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8253  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"char const *");
8254  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"char const *");
8255 
8256  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8257  SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8258  }
8259 
8260  arg2 = (char *)lua_tostring(L, 2);
8261  arg3 = (char *)lua_tostring(L, 3);
8262  uiAbstractValueNode_t_set_range__SWIG_1(arg1,(char const *)arg2,(char const *)arg3);
8263 
8264  return SWIG_arg;
8265 
8266  if(0) SWIG_fail;
8267 
8268 fail:
8269  lua_error(L);
8270  return SWIG_arg;
8271 }
8272 
8273 
8274 static int _wrap_uiAbstractValueNode_set_range(lua_State* L) {
8275  int argc;
8276  int argv[4]={
8277  1,2,3,4
8278  };
8279 
8280  argc = lua_gettop(L);
8281  if (argc == 3) {
8282  int _v;
8283  {
8284  void *ptr;
8285  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8286  _v = 0;
8287  } else {
8288  _v = 1;
8289  }
8290  }
8291  if (_v) {
8292  {
8293  _v = lua_isnumber(L,argv[1]);
8294  }
8295  if (_v) {
8296  {
8297  _v = lua_isnumber(L,argv[2]);
8298  }
8299  if (_v) {
8301  }
8302  }
8303  }
8304  }
8305  if (argc == 3) {
8306  int _v;
8307  {
8308  void *ptr;
8309  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8310  _v = 0;
8311  } else {
8312  _v = 1;
8313  }
8314  }
8315  if (_v) {
8316  {
8317  _v = SWIG_lua_isnilstring(L,argv[1]);
8318  }
8319  if (_v) {
8320  {
8321  _v = SWIG_lua_isnilstring(L,argv[2]);
8322  }
8323  if (_v) {
8325  }
8326  }
8327  }
8328  }
8329 
8330  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_range'\n"
8331  " Possible C/C++ prototypes are:\n"
8332  " uiAbstractValueNode_t::set_range(float,float)\n"
8333  " uiAbstractValueNode_t::set_range(char const *,char const *)\n");
8334  lua_error(L);return 0;
8335 }
8336 
8337 
8339  int SWIG_arg = 0;
8341  float arg2 ;
8342 
8343  SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8344  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8345  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"float");
8346 
8347  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8348  SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8349  }
8350 
8351  arg2 = (float)lua_tonumber(L, 2);
8353 
8354  return SWIG_arg;
8355 
8356  if(0) SWIG_fail;
8357 
8358 fail:
8359  lua_error(L);
8360  return SWIG_arg;
8361 }
8362 
8363 
8365  int SWIG_arg = 0;
8367  float arg2 ;
8368 
8369  SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8370  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8371  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"float");
8372 
8373  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8374  SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8375  }
8376 
8377  arg2 = (float)lua_tonumber(L, 2);
8379 
8380  return SWIG_arg;
8381 
8382  if(0) SWIG_fail;
8383 
8384 fail:
8385  lua_error(L);
8386  return SWIG_arg;
8387 }
8388 
8389 
8391  int SWIG_arg = 0;
8393  float arg2 ;
8394 
8395  SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8396  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8397  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"float");
8398 
8399  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8400  SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8401  }
8402 
8403  arg2 = (float)lua_tonumber(L, 2);
8405 
8406  return SWIG_arg;
8407 
8408  if(0) SWIG_fail;
8409 
8410 fail:
8411  lua_error(L);
8412  return SWIG_arg;
8413 }
8414 
8415 
8417  int SWIG_arg = 0;
8419  char *arg2 = (char *) 0 ;
8420 
8421  SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8422  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8423  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"char const *");
8424 
8425  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8426  SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8427  }
8428 
8429  arg2 = (char *)lua_tostring(L, 2);
8430  uiAbstractValueNode_t_set_min__SWIG_1(arg1,(char const *)arg2);
8431 
8432  return SWIG_arg;
8433 
8434  if(0) SWIG_fail;
8435 
8436 fail:
8437  lua_error(L);
8438  return SWIG_arg;
8439 }
8440 
8441 
8442 static int _wrap_uiAbstractValueNode_set_min(lua_State* L) {
8443  int argc;
8444  int argv[3]={
8445  1,2,3
8446  };
8447 
8448  argc = lua_gettop(L);
8449  if (argc == 2) {
8450  int _v;
8451  {
8452  void *ptr;
8453  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8454  _v = 0;
8455  } else {
8456  _v = 1;
8457  }
8458  }
8459  if (_v) {
8460  {
8461  _v = lua_isnumber(L,argv[1]);
8462  }
8463  if (_v) {
8465  }
8466  }
8467  }
8468  if (argc == 2) {
8469  int _v;
8470  {
8471  void *ptr;
8472  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8473  _v = 0;
8474  } else {
8475  _v = 1;
8476  }
8477  }
8478  if (_v) {
8479  {
8480  _v = SWIG_lua_isnilstring(L,argv[1]);
8481  }
8482  if (_v) {
8484  }
8485  }
8486  }
8487 
8488  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_min'\n"
8489  " Possible C/C++ prototypes are:\n"
8490  " uiAbstractValueNode_t::set_min(float)\n"
8491  " uiAbstractValueNode_t::set_min(char const *)\n");
8492  lua_error(L);return 0;
8493 }
8494 
8495 
8497  int SWIG_arg = 0;
8499  char *arg2 = (char *) 0 ;
8500 
8501  SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8502  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8503  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"char const *");
8504 
8505  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8506  SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8507  }
8508 
8509  arg2 = (char *)lua_tostring(L, 2);
8510  uiAbstractValueNode_t_set_max__SWIG_1(arg1,(char const *)arg2);
8511 
8512  return SWIG_arg;
8513 
8514  if(0) SWIG_fail;
8515 
8516 fail:
8517  lua_error(L);
8518  return SWIG_arg;
8519 }
8520 
8521 
8522 static int _wrap_uiAbstractValueNode_set_max(lua_State* L) {
8523  int argc;
8524  int argv[3]={
8525  1,2,3
8526  };
8527 
8528  argc = lua_gettop(L);
8529  if (argc == 2) {
8530  int _v;
8531  {
8532  void *ptr;
8533  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8534  _v = 0;
8535  } else {
8536  _v = 1;
8537  }
8538  }
8539  if (_v) {
8540  {
8541  _v = lua_isnumber(L,argv[1]);
8542  }
8543  if (_v) {
8545  }
8546  }
8547  }
8548  if (argc == 2) {
8549  int _v;
8550  {
8551  void *ptr;
8552  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8553  _v = 0;
8554  } else {
8555  _v = 1;
8556  }
8557  }
8558  if (_v) {
8559  {
8560  _v = SWIG_lua_isnilstring(L,argv[1]);
8561  }
8562  if (_v) {
8564  }
8565  }
8566  }
8567 
8568  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_max'\n"
8569  " Possible C/C++ prototypes are:\n"
8570  " uiAbstractValueNode_t::set_max(float)\n"
8571  " uiAbstractValueNode_t::set_max(char const *)\n");
8572  lua_error(L);return 0;
8573 }
8574 
8575 
8577  int SWIG_arg = 0;
8579  char *arg2 = (char *) 0 ;
8580 
8581  SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8582  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8583  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"char const *");
8584 
8585  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8586  SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8587  }
8588 
8589  arg2 = (char *)lua_tostring(L, 2);
8590  uiAbstractValueNode_t_set_value__SWIG_1(arg1,(char const *)arg2);
8591 
8592  return SWIG_arg;
8593 
8594  if(0) SWIG_fail;
8595 
8596 fail:
8597  lua_error(L);
8598  return SWIG_arg;
8599 }
8600 
8601 
8602 static int _wrap_uiAbstractValueNode_set_value(lua_State* L) {
8603  int argc;
8604  int argv[3]={
8605  1,2,3
8606  };
8607 
8608  argc = lua_gettop(L);
8609  if (argc == 2) {
8610  int _v;
8611  {
8612  void *ptr;
8613  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8614  _v = 0;
8615  } else {
8616  _v = 1;
8617  }
8618  }
8619  if (_v) {
8620  {
8621  _v = lua_isnumber(L,argv[1]);
8622  }
8623  if (_v) {
8625  }
8626  }
8627  }
8628  if (argc == 2) {
8629  int _v;
8630  {
8631  void *ptr;
8632  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8633  _v = 0;
8634  } else {
8635  _v = 1;
8636  }
8637  }
8638  if (_v) {
8639  {
8640  _v = SWIG_lua_isnilstring(L,argv[1]);
8641  }
8642  if (_v) {
8644  }
8645  }
8646  }
8647 
8648  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_value'\n"
8649  " Possible C/C++ prototypes are:\n"
8650  " uiAbstractValueNode_t::set_value(float)\n"
8651  " uiAbstractValueNode_t::set_value(char const *)\n");
8652  lua_error(L);return 0;
8653 }
8654 
8655 
8656 static int _wrap_uiAbstractValueNode_set_delta(lua_State* L) {
8657  int SWIG_arg = 0;
8659  float arg2 ;
8660 
8661  SWIG_check_num_args("uiAbstractValueNode_t::set_delta",2,2)
8662  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",1,"uiAbstractValueNode_t *");
8663  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",2,"float");
8664 
8665  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8666  SWIG_fail_ptr("uiAbstractValueNode_set_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8667  }
8668 
8669  arg2 = (float)lua_tonumber(L, 2);
8671 
8672  return SWIG_arg;
8673 
8674  if(0) SWIG_fail;
8675 
8676 fail:
8677  lua_error(L);
8678  return SWIG_arg;
8679 }
8680 
8681 
8683  int SWIG_arg = 0;
8685  float arg2 ;
8686 
8687  SWIG_check_num_args("uiAbstractValueNode_t::set_shiftmultiplier",2,2)
8688  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",1,"uiAbstractValueNode_t *");
8689  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",2,"float");
8690 
8691  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8692  SWIG_fail_ptr("uiAbstractValueNode_set_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8693  }
8694 
8695  arg2 = (float)lua_tonumber(L, 2);
8697 
8698  return SWIG_arg;
8699 
8700  if(0) SWIG_fail;
8701 
8702 fail:
8703  lua_error(L);
8704  return SWIG_arg;
8705 }
8706 
8707 
8708 static int _wrap_new_uiAbstractValueNode(lua_State* L) {
8709  int SWIG_arg = 0;
8710  uiAbstractValueNode_t *result = 0 ;
8711 
8712  SWIG_check_num_args("uiAbstractValueNode_t::uiAbstractValueNode_t",0,0)
8713  result = (uiAbstractValueNode_t *)new uiAbstractValueNode_t();
8714  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiAbstractValueNode_t,1); SWIG_arg++;
8715  return SWIG_arg;
8716 
8717  if(0) SWIG_fail;
8718 
8719 fail:
8720  lua_error(L);
8721  return SWIG_arg;
8722 }
8723 
8724 
8725 static void swig_delete_uiAbstractValueNode(void *obj) {
8727 delete arg1;
8728 }
8729 static int _proxy__wrap_new_uiAbstractValueNode(lua_State *L) {
8730  assert(lua_istable(L,1));
8731  lua_pushcfunction(L,_wrap_new_uiAbstractValueNode);
8732  assert(!lua_isnil(L,-1));
8733  lua_replace(L,1); /* replace our table with real constructor */
8734  lua_call(L,lua_gettop(L)-1,1);
8735  return 1;
8736 }
8738  {0,0,0}
8739 };
8743  { "value", _wrap_uiAbstractValueNode_value},
8744  { "delta", _wrap_uiAbstractValueNode_delta},
8745  { "lastdiff", _wrap_uiAbstractValueNode_lastdiff},
8746  { "shiftmultiplier", _wrap_uiAbstractValueNode_shiftmultiplier},
8747  { "inc_value", _wrap_uiAbstractValueNode_inc_value},
8748  { "dec_value", _wrap_uiAbstractValueNode_dec_value},
8749  { "set_range", _wrap_uiAbstractValueNode_set_range},
8750  { "set_min", _wrap_uiAbstractValueNode_set_min},
8751  { "set_max", _wrap_uiAbstractValueNode_set_max},
8752  { "set_value", _wrap_uiAbstractValueNode_set_value},
8753  { "set_delta", _wrap_uiAbstractValueNode_set_delta},
8754  { "set_shiftmultiplier", _wrap_uiAbstractValueNode_set_shiftmultiplier},
8755  {0,0}
8756 };
8758  {0,0}
8759 };
8760 
8762  {0,0,0}
8763 };
8765  {0,0,0,0,0,0}
8766 };
8768  {0,0}
8769 };
8771  0
8772 };
8773 
8775  "uiAbstractValueNode",
8780  0
8781 };
8783 static const char *swig_uiAbstractValueNode_base_names[] = {"uiNode_t *",0};
8785 
8786 static int _wrap_uiBar_is_readonly(lua_State* L) {
8787  int SWIG_arg = 0;
8788  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8789  bool result;
8790 
8791  SWIG_check_num_args("uiBarNode_t::is_readonly",1,1)
8792  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_readonly",1,"uiBarNode_t *");
8793 
8794  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8795  SWIG_fail_ptr("uiBar_is_readonly",1,SWIGTYPE_p_uiBarNode_t);
8796  }
8797 
8798  result = (bool)uiBarNode_t_is_readonly(arg1);
8799  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8800  return SWIG_arg;
8801 
8802  if(0) SWIG_fail;
8803 
8804 fail:
8805  lua_error(L);
8806  return SWIG_arg;
8807 }
8808 
8809 
8810 static int _wrap_uiBar_is_nohover(lua_State* L) {
8811  int SWIG_arg = 0;
8812  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8813  bool result;
8814 
8815  SWIG_check_num_args("uiBarNode_t::is_nohover",1,1)
8816  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_nohover",1,"uiBarNode_t *");
8817 
8818  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8819  SWIG_fail_ptr("uiBar_is_nohover",1,SWIGTYPE_p_uiBarNode_t);
8820  }
8821 
8822  result = (bool)uiBarNode_t_is_nohover(arg1);
8823  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8824  return SWIG_arg;
8825 
8826  if(0) SWIG_fail;
8827 
8828 fail:
8829  lua_error(L);
8830  return SWIG_arg;
8831 }
8832 
8833 
8834 static int _wrap_uiBar_direction(lua_State* L) {
8835  int SWIG_arg = 0;
8836  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8837  int result;
8838 
8839  SWIG_check_num_args("uiBarNode_t::direction",1,1)
8840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::direction",1,"uiBarNode_t *");
8841 
8842  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8843  SWIG_fail_ptr("uiBar_direction",1,SWIGTYPE_p_uiBarNode_t);
8844  }
8845 
8846  result = (int)uiBarNode_t_direction(arg1);
8847  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8848  return SWIG_arg;
8849 
8850  if(0) SWIG_fail;
8851 
8852 fail:
8853  lua_error(L);
8854  return SWIG_arg;
8855 }
8856 
8857 
8858 static int _wrap_uiBar_set_direction(lua_State* L) {
8859  int SWIG_arg = 0;
8860  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8861  int arg2 ;
8862 
8863  SWIG_check_num_args("uiBarNode_t::set_direction",2,2)
8864  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_direction",1,"uiBarNode_t *");
8865  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBarNode_t::set_direction",2,"int");
8866 
8867  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8868  SWIG_fail_ptr("uiBar_set_direction",1,SWIGTYPE_p_uiBarNode_t);
8869  }
8870 
8871  arg2 = (int)lua_tonumber(L, 2);
8872  uiBarNode_t_set_direction(arg1,arg2);
8873 
8874  return SWIG_arg;
8875 
8876  if(0) SWIG_fail;
8877 
8878 fail:
8879  lua_error(L);
8880  return SWIG_arg;
8881 }
8882 
8883 
8884 static int _wrap_uiBar_set_readonly(lua_State* L) {
8885  int SWIG_arg = 0;
8886  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8887  bool arg2 ;
8888 
8889  SWIG_check_num_args("uiBarNode_t::set_readonly",2,2)
8890  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_readonly",1,"uiBarNode_t *");
8891  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_readonly",2,"bool");
8892 
8893  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8894  SWIG_fail_ptr("uiBar_set_readonly",1,SWIGTYPE_p_uiBarNode_t);
8895  }
8896 
8897  arg2 = (lua_toboolean(L, 2)!=0);
8898  uiBarNode_t_set_readonly(arg1,arg2);
8899 
8900  return SWIG_arg;
8901 
8902  if(0) SWIG_fail;
8903 
8904 fail:
8905  lua_error(L);
8906  return SWIG_arg;
8907 }
8908 
8909 
8910 static int _wrap_uiBar_set_nohover(lua_State* L) {
8911  int SWIG_arg = 0;
8912  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8913  bool arg2 ;
8914 
8915  SWIG_check_num_args("uiBarNode_t::set_nohover",2,2)
8916  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_nohover",1,"uiBarNode_t *");
8917  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_nohover",2,"bool");
8918 
8919  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8920  SWIG_fail_ptr("uiBar_set_nohover",1,SWIGTYPE_p_uiBarNode_t);
8921  }
8922 
8923  arg2 = (lua_toboolean(L, 2)!=0);
8924  uiBarNode_t_set_nohover(arg1,arg2);
8925 
8926  return SWIG_arg;
8927 
8928  if(0) SWIG_fail;
8929 
8930 fail:
8931  lua_error(L);
8932  return SWIG_arg;
8933 }
8934 
8935 
8936 static int _wrap_new_uiBar(lua_State* L) {
8937  int SWIG_arg = 0;
8938  uiBarNode_t *result = 0 ;
8939 
8940  SWIG_check_num_args("uiBarNode_t::uiBarNode_t",0,0)
8941  result = (uiBarNode_t *)new uiBarNode_t();
8942  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,1); SWIG_arg++;
8943  return SWIG_arg;
8944 
8945  if(0) SWIG_fail;
8946 
8947 fail:
8948  lua_error(L);
8949  return SWIG_arg;
8950 }
8951 
8952 
8953 static void swig_delete_uiBar(void *obj) {
8954 uiBarNode_t *arg1 = (uiBarNode_t *) obj;
8955 delete arg1;
8956 }
8957 static int _proxy__wrap_new_uiBar(lua_State *L) {
8958  assert(lua_istable(L,1));
8959  lua_pushcfunction(L,_wrap_new_uiBar);
8960  assert(!lua_isnil(L,-1));
8961  lua_replace(L,1); /* replace our table with real constructor */
8962  lua_call(L,lua_gettop(L)-1,1);
8963  return 1;
8964 }
8966  {0,0,0}
8967 };
8969  { "is_readonly", _wrap_uiBar_is_readonly},
8970  { "is_nohover", _wrap_uiBar_is_nohover},
8971  { "direction", _wrap_uiBar_direction},
8972  { "set_direction", _wrap_uiBar_set_direction},
8973  { "set_readonly", _wrap_uiBar_set_readonly},
8974  { "set_nohover", _wrap_uiBar_set_nohover},
8975  {0,0}
8976 };
8978  {0,0}
8979 };
8980 
8982  {0,0,0}
8983 };
8985  {0,0,0,0,0,0}
8986 };
8988  {0,0}
8989 };
8991  0
8992 };
8993 
8995  "uiBar",
9000  0
9001 };
9003 static const char *swig_uiBar_base_names[] = {"uiAbstractValueNode_t *",0};
9005 
9006 static int _wrap_uiBaseLayout_baseid(lua_State* L) {
9007  int SWIG_arg = 0;
9008  uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) 0 ;
9009  int result;
9010 
9011  SWIG_check_num_args("uiBaseLayoutNode_t::baseid",1,1)
9012  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::baseid",1,"uiBaseLayoutNode_t *");
9013 
9014  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9015  SWIG_fail_ptr("uiBaseLayout_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9016  }
9017 
9018  result = (int)uiBaseLayoutNode_t_baseid(arg1);
9019  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9020  return SWIG_arg;
9021 
9022  if(0) SWIG_fail;
9023 
9024 fail:
9025  lua_error(L);
9026  return SWIG_arg;
9027 }
9028 
9029 
9030 static int _wrap_uiBaseLayout_set_baseid(lua_State* L) {
9031  int SWIG_arg = 0;
9032  uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) 0 ;
9033  int arg2 ;
9034 
9035  SWIG_check_num_args("uiBaseLayoutNode_t::set_baseid",2,2)
9036  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",1,"uiBaseLayoutNode_t *");
9037  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",2,"int");
9038 
9039  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9040  SWIG_fail_ptr("uiBaseLayout_set_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9041  }
9042 
9043  arg2 = (int)lua_tonumber(L, 2);
9044  uiBaseLayoutNode_t_set_baseid(arg1,arg2);
9045 
9046  return SWIG_arg;
9047 
9048  if(0) SWIG_fail;
9049 
9050 fail:
9051  lua_error(L);
9052  return SWIG_arg;
9053 }
9054 
9055 
9056 static int _wrap_new_uiBaseLayout(lua_State* L) {
9057  int SWIG_arg = 0;
9058  uiBaseLayoutNode_t *result = 0 ;
9059 
9060  SWIG_check_num_args("uiBaseLayoutNode_t::uiBaseLayoutNode_t",0,0)
9061  result = (uiBaseLayoutNode_t *)new uiBaseLayoutNode_t();
9062  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,1); SWIG_arg++;
9063  return SWIG_arg;
9064 
9065  if(0) SWIG_fail;
9066 
9067 fail:
9068  lua_error(L);
9069  return SWIG_arg;
9070 }
9071 
9072 
9073 static void swig_delete_uiBaseLayout(void *obj) {
9074 uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) obj;
9075 delete arg1;
9076 }
9077 static int _proxy__wrap_new_uiBaseLayout(lua_State *L) {
9078  assert(lua_istable(L,1));
9079  lua_pushcfunction(L,_wrap_new_uiBaseLayout);
9080  assert(!lua_isnil(L,-1));
9081  lua_replace(L,1); /* replace our table with real constructor */
9082  lua_call(L,lua_gettop(L)-1,1);
9083  return 1;
9084 }
9086  {0,0,0}
9087 };
9089  { "baseid", _wrap_uiBaseLayout_baseid},
9090  { "set_baseid", _wrap_uiBaseLayout_set_baseid},
9091  {0,0}
9092 };
9094  {0,0}
9095 };
9096 
9098  {0,0,0}
9099 };
9101  {0,0,0,0,0,0}
9102 };
9104  {0,0}
9105 };
9107  0
9108 };
9109 
9111  "uiBaseLayout",
9116  0
9117 };
9119 static const char *swig_uiBaseLayout_base_names[] = {"uiNode_t *",0};
9121 
9122 static int _wrap_uiButton_flipicon(lua_State* L) {
9123  int SWIG_arg = 0;
9124  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9125  bool result;
9126 
9127  SWIG_check_num_args("uiButtonNode_t::flipicon",1,1)
9128  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::flipicon",1,"uiButtonNode_t *");
9129 
9130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9131  SWIG_fail_ptr("uiButton_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9132  }
9133 
9134  result = (bool)uiButtonNode_t_flipicon(arg1);
9135  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9136  return SWIG_arg;
9137 
9138  if(0) SWIG_fail;
9139 
9140 fail:
9141  lua_error(L);
9142  return SWIG_arg;
9143 }
9144 
9145 
9146 static int _wrap_uiButton_set_flipicon(lua_State* L) {
9147  int SWIG_arg = 0;
9148  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9149  bool arg2 ;
9150 
9151  SWIG_check_num_args("uiButtonNode_t::set_flipicon",2,2)
9152  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",1,"uiButtonNode_t *");
9153  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",2,"bool");
9154 
9155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9156  SWIG_fail_ptr("uiButton_set_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9157  }
9158 
9159  arg2 = (lua_toboolean(L, 2)!=0);
9160  uiButtonNode_t_set_flipicon(arg1,arg2);
9161 
9162  return SWIG_arg;
9163 
9164  if(0) SWIG_fail;
9165 
9166 fail:
9167  lua_error(L);
9168  return SWIG_arg;
9169 }
9170 
9171 
9172 static int _wrap_uiButton_set_background(lua_State* L) {
9173  int SWIG_arg = 0;
9174  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9175  char *arg2 = (char *) 0 ;
9176 
9177  SWIG_check_num_args("uiButtonNode_t::set_background",2,2)
9178  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_background",1,"uiButtonNode_t *");
9179  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_background",2,"char const *");
9180 
9181  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9182  SWIG_fail_ptr("uiButton_set_background",1,SWIGTYPE_p_uiButtonNode_t);
9183  }
9184 
9185  arg2 = (char *)lua_tostring(L, 2);
9186  uiButtonNode_t_set_background(arg1,(char const *)arg2);
9187 
9188  return SWIG_arg;
9189 
9190  if(0) SWIG_fail;
9191 
9192 fail:
9193  lua_error(L);
9194  return SWIG_arg;
9195 }
9196 
9197 
9198 static int _wrap_uiButton_set_icon(lua_State* L) {
9199  int SWIG_arg = 0;
9200  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9201  char *arg2 = (char *) 0 ;
9202 
9203  SWIG_check_num_args("uiButtonNode_t::set_icon",2,2)
9204  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_icon",1,"uiButtonNode_t *");
9205  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_icon",2,"char const *");
9206 
9207  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9208  SWIG_fail_ptr("uiButton_set_icon",1,SWIGTYPE_p_uiButtonNode_t);
9209  }
9210 
9211  arg2 = (char *)lua_tostring(L, 2);
9212  uiButtonNode_t_set_icon(arg1,(char const *)arg2);
9213 
9214  return SWIG_arg;
9215 
9216  if(0) SWIG_fail;
9217 
9218 fail:
9219  lua_error(L);
9220  return SWIG_arg;
9221 }
9222 
9223 
9224 static int _wrap_new_uiButton(lua_State* L) {
9225  int SWIG_arg = 0;
9226  uiButtonNode_t *result = 0 ;
9227 
9228  SWIG_check_num_args("uiButtonNode_t::uiButtonNode_t",0,0)
9229  result = (uiButtonNode_t *)new uiButtonNode_t();
9230  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,1); SWIG_arg++;
9231  return SWIG_arg;
9232 
9233  if(0) SWIG_fail;
9234 
9235 fail:
9236  lua_error(L);
9237  return SWIG_arg;
9238 }
9239 
9240 
9241 static void swig_delete_uiButton(void *obj) {
9242 uiButtonNode_t *arg1 = (uiButtonNode_t *) obj;
9243 delete arg1;
9244 }
9245 static int _proxy__wrap_new_uiButton(lua_State *L) {
9246  assert(lua_istable(L,1));
9247  lua_pushcfunction(L,_wrap_new_uiButton);
9248  assert(!lua_isnil(L,-1));
9249  lua_replace(L,1); /* replace our table with real constructor */
9250  lua_call(L,lua_gettop(L)-1,1);
9251  return 1;
9252 }
9254  {0,0,0}
9255 };
9257  { "flipicon", _wrap_uiButton_flipicon},
9258  { "set_flipicon", _wrap_uiButton_set_flipicon},
9259  { "set_background", _wrap_uiButton_set_background},
9260  { "set_icon", _wrap_uiButton_set_icon},
9261  {0,0}
9262 };
9264  {0,0}
9265 };
9266 
9268  {0,0,0}
9269 };
9271  {0,0,0,0,0,0}
9272 };
9274  {0,0}
9275 };
9277  0
9278 };
9279 
9281  "uiButton",
9286  0
9287 };
9289 static const char *swig_uiButton_base_names[] = {"uiNode_t *",0};
9291 
9292 static int _wrap_uiCheckBox_as_boolean(lua_State* L) {
9293  int SWIG_arg = 0;
9294  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9295  bool result;
9296 
9297  SWIG_check_num_args("uiCheckBoxNode_t::as_boolean",1,1)
9298  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_boolean",1,"uiCheckBoxNode_t *");
9299 
9300  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9301  SWIG_fail_ptr("uiCheckBox_as_boolean",1,SWIGTYPE_p_uiCheckBoxNode_t);
9302  }
9303 
9304  result = (bool)uiCheckBoxNode_t_as_boolean(arg1);
9305  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9306  return SWIG_arg;
9307 
9308  if(0) SWIG_fail;
9309 
9310 fail:
9311  lua_error(L);
9312  return SWIG_arg;
9313 }
9314 
9315 
9316 static int _wrap_uiCheckBox_as_integer(lua_State* L) {
9317  int SWIG_arg = 0;
9318  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9319  int result;
9320 
9321  SWIG_check_num_args("uiCheckBoxNode_t::as_integer",1,1)
9322  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_integer",1,"uiCheckBoxNode_t *");
9323 
9324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9325  SWIG_fail_ptr("uiCheckBox_as_integer",1,SWIGTYPE_p_uiCheckBoxNode_t);
9326  }
9327 
9328  result = (int)uiCheckBoxNode_t_as_integer(arg1);
9329  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9330  return SWIG_arg;
9331 
9332  if(0) SWIG_fail;
9333 
9334 fail:
9335  lua_error(L);
9336  return SWIG_arg;
9337 }
9338 
9339 
9340 static int _wrap_uiCheckBox_set_background(lua_State* L) {
9341  int SWIG_arg = 0;
9342  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9343  char *arg2 = (char *) 0 ;
9344 
9345  SWIG_check_num_args("uiCheckBoxNode_t::set_background",2,2)
9346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",1,"uiCheckBoxNode_t *");
9347  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",2,"char const *");
9348 
9349  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9350  SWIG_fail_ptr("uiCheckBox_set_background",1,SWIGTYPE_p_uiCheckBoxNode_t);
9351  }
9352 
9353  arg2 = (char *)lua_tostring(L, 2);
9354  uiCheckBoxNode_t_set_background(arg1,(char const *)arg2);
9355 
9356  return SWIG_arg;
9357 
9358  if(0) SWIG_fail;
9359 
9360 fail:
9361  lua_error(L);
9362  return SWIG_arg;
9363 }
9364 
9365 
9366 static int _wrap_uiCheckBox_set_iconchecked(lua_State* L) {
9367  int SWIG_arg = 0;
9368  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9369  char *arg2 = (char *) 0 ;
9370 
9371  SWIG_check_num_args("uiCheckBoxNode_t::set_iconchecked",2,2)
9372  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",1,"uiCheckBoxNode_t *");
9373  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",2,"char const *");
9374 
9375  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9376  SWIG_fail_ptr("uiCheckBox_set_iconchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9377  }
9378 
9379  arg2 = (char *)lua_tostring(L, 2);
9380  uiCheckBoxNode_t_set_iconchecked(arg1,(char const *)arg2);
9381 
9382  return SWIG_arg;
9383 
9384  if(0) SWIG_fail;
9385 
9386 fail:
9387  lua_error(L);
9388  return SWIG_arg;
9389 }
9390 
9391 
9392 static int _wrap_uiCheckBox_set_iconunchecked(lua_State* L) {
9393  int SWIG_arg = 0;
9394  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9395  char *arg2 = (char *) 0 ;
9396 
9397  SWIG_check_num_args("uiCheckBoxNode_t::set_iconunchecked",2,2)
9398  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",1,"uiCheckBoxNode_t *");
9399  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",2,"char const *");
9400 
9401  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9402  SWIG_fail_ptr("uiCheckBox_set_iconunchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9403  }
9404 
9405  arg2 = (char *)lua_tostring(L, 2);
9406  uiCheckBoxNode_t_set_iconunchecked(arg1,(char const *)arg2);
9407 
9408  return SWIG_arg;
9409 
9410  if(0) SWIG_fail;
9411 
9412 fail:
9413  lua_error(L);
9414  return SWIG_arg;
9415 }
9416 
9417 
9418 static int _wrap_uiCheckBox_set_iconunknown(lua_State* L) {
9419  int SWIG_arg = 0;
9420  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9421  char *arg2 = (char *) 0 ;
9422 
9423  SWIG_check_num_args("uiCheckBoxNode_t::set_iconunknown",2,2)
9424  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",1,"uiCheckBoxNode_t *");
9425  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",2,"char const *");
9426 
9427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9428  SWIG_fail_ptr("uiCheckBox_set_iconunknown",1,SWIGTYPE_p_uiCheckBoxNode_t);
9429  }
9430 
9431  arg2 = (char *)lua_tostring(L, 2);
9432  uiCheckBoxNode_t_set_iconunknown(arg1,(char const *)arg2);
9433 
9434  return SWIG_arg;
9435 
9436  if(0) SWIG_fail;
9437 
9438 fail:
9439  lua_error(L);
9440  return SWIG_arg;
9441 }
9442 
9443 
9444 static int _wrap_uiCheckBox_toggle(lua_State* L) {
9445  int SWIG_arg = 0;
9446  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9447 
9448  SWIG_check_num_args("uiCheckBoxNode_t::toggle",1,1)
9449  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::toggle",1,"uiCheckBoxNode_t *");
9450 
9451  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9452  SWIG_fail_ptr("uiCheckBox_toggle",1,SWIGTYPE_p_uiCheckBoxNode_t);
9453  }
9454 
9456 
9457  return SWIG_arg;
9458 
9459  if(0) SWIG_fail;
9460 
9461 fail:
9462  lua_error(L);
9463  return SWIG_arg;
9464 }
9465 
9466 
9467 static int _wrap_new_uiCheckBox(lua_State* L) {
9468  int SWIG_arg = 0;
9469  uiCheckBoxNode_t *result = 0 ;
9470 
9471  SWIG_check_num_args("uiCheckBoxNode_t::uiCheckBoxNode_t",0,0)
9472  result = (uiCheckBoxNode_t *)new uiCheckBoxNode_t();
9473  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,1); SWIG_arg++;
9474  return SWIG_arg;
9475 
9476  if(0) SWIG_fail;
9477 
9478 fail:
9479  lua_error(L);
9480  return SWIG_arg;
9481 }
9482 
9483 
9484 static void swig_delete_uiCheckBox(void *obj) {
9485 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) obj;
9486 delete arg1;
9487 }
9488 static int _proxy__wrap_new_uiCheckBox(lua_State *L) {
9489  assert(lua_istable(L,1));
9490  lua_pushcfunction(L,_wrap_new_uiCheckBox);
9491  assert(!lua_isnil(L,-1));
9492  lua_replace(L,1); /* replace our table with real constructor */
9493  lua_call(L,lua_gettop(L)-1,1);
9494  return 1;
9495 }
9497  {0,0,0}
9498 };
9500  { "as_boolean", _wrap_uiCheckBox_as_boolean},
9501  { "as_integer", _wrap_uiCheckBox_as_integer},
9502  { "set_background", _wrap_uiCheckBox_set_background},
9503  { "set_iconchecked", _wrap_uiCheckBox_set_iconchecked},
9504  { "set_iconunchecked", _wrap_uiCheckBox_set_iconunchecked},
9505  { "set_iconunknown", _wrap_uiCheckBox_set_iconunknown},
9506  { "toggle", _wrap_uiCheckBox_toggle},
9507  {0,0}
9508 };
9510  {0,0}
9511 };
9512 
9514  {0,0,0}
9515 };
9517  {0,0,0,0,0,0}
9518 };
9520  {0,0}
9521 };
9523  0
9524 };
9525 
9527  "uiCheckBox",
9532  0
9533 };
9535 static const char *swig_uiCheckBox_base_names[] = {"uiAbstractValueNode_t *",0};
9537 
9538 static int _wrap_new_uiConFunc(lua_State* L) {
9539  int SWIG_arg = 0;
9540  uiConFuncNode_t *result = 0 ;
9541 
9542  SWIG_check_num_args("uiConFuncNode_t::uiConFuncNode_t",0,0)
9543  result = (uiConFuncNode_t *)new uiConFuncNode_t();
9544  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,1); SWIG_arg++;
9545  return SWIG_arg;
9546 
9547  if(0) SWIG_fail;
9548 
9549 fail:
9550  lua_error(L);
9551  return SWIG_arg;
9552 }
9553 
9554 
9555 static void swig_delete_uiConFunc(void *obj) {
9556 uiConFuncNode_t *arg1 = (uiConFuncNode_t *) obj;
9557 delete arg1;
9558 }
9559 static int _proxy__wrap_new_uiConFunc(lua_State *L) {
9560  assert(lua_istable(L,1));
9561  lua_pushcfunction(L,_wrap_new_uiConFunc);
9562  assert(!lua_isnil(L,-1));
9563  lua_replace(L,1); /* replace our table with real constructor */
9564  lua_call(L,lua_gettop(L)-1,1);
9565  return 1;
9566 }
9568  {0,0,0}
9569 };
9571  {0,0}
9572 };
9574  {0,0}
9575 };
9576 
9578  {0,0,0}
9579 };
9581  {0,0,0,0,0,0}
9582 };
9584  {0,0}
9585 };
9587  0
9588 };
9589 
9591  "uiConFunc",
9596  0
9597 };
9599 static const char *swig_uiConFunc_base_names[] = {"uiNode_t *",0};
9601 
9602 static int _wrap_uiContainer_selectedid(lua_State* L) {
9603  int SWIG_arg = 0;
9604  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9605  int result;
9606 
9607  SWIG_check_num_args("uiContainerNode_t::selectedid",1,1)
9608  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::selectedid",1,"uiContainerNode_t *");
9609 
9610  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9611  SWIG_fail_ptr("uiContainer_selectedid",1,SWIGTYPE_p_uiContainerNode_t);
9612  }
9613 
9614  result = (int)uiContainerNode_t_selectedid(arg1);
9615  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9616  return SWIG_arg;
9617 
9618  if(0) SWIG_fail;
9619 
9620 fail:
9621  lua_error(L);
9622  return SWIG_arg;
9623 }
9624 
9625 
9626 static int _wrap_uiContainer_on_select_set(lua_State* L) {
9627  int SWIG_arg = 0;
9628  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9629  LUA_EVENT arg2 ;
9630 
9631  SWIG_check_num_args("uiContainerNode_t::lua_onSelect",2,2)
9632  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9633 
9634  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9635  SWIG_fail_ptr("uiContainer_on_select_set",1,SWIGTYPE_p_uiContainerNode_t);
9636  }
9637 
9638  {
9639  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
9640  }
9642 
9643  return SWIG_arg;
9644 
9645  if(0) SWIG_fail;
9646 
9647 fail:
9648  lua_error(L);
9649  return SWIG_arg;
9650 }
9651 
9652 
9653 static int _wrap_uiContainer_on_select_get(lua_State* L) {
9654  int SWIG_arg = 0;
9655  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9656  LUA_EVENT result;
9657 
9658  SWIG_check_num_args("uiContainerNode_t::lua_onSelect",1,1)
9659  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9660 
9661  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9662  SWIG_fail_ptr("uiContainer_on_select_get",1,SWIGTYPE_p_uiContainerNode_t);
9663  }
9664 
9665  result = uiContainerNode_t_lua_onSelect_get(arg1);
9666  {
9667  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
9668  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
9669  }
9670  return SWIG_arg;
9671 
9672  if(0) SWIG_fail;
9673 
9674 fail:
9675  lua_error(L);
9676  return SWIG_arg;
9677 }
9678 
9679 
9680 static int _wrap_new_uiContainer(lua_State* L) {
9681  int SWIG_arg = 0;
9682  uiContainerNode_t *result = 0 ;
9683 
9684  SWIG_check_num_args("uiContainerNode_t::uiContainerNode_t",0,0)
9685  result = (uiContainerNode_t *)new uiContainerNode_t();
9686  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,1); SWIG_arg++;
9687  return SWIG_arg;
9688 
9689  if(0) SWIG_fail;
9690 
9691 fail:
9692  lua_error(L);
9693  return SWIG_arg;
9694 }
9695 
9696 
9697 static void swig_delete_uiContainer(void *obj) {
9698 uiContainerNode_t *arg1 = (uiContainerNode_t *) obj;
9699 delete arg1;
9700 }
9701 static int _proxy__wrap_new_uiContainer(lua_State *L) {
9702  assert(lua_istable(L,1));
9703  lua_pushcfunction(L,_wrap_new_uiContainer);
9704  assert(!lua_isnil(L,-1));
9705  lua_replace(L,1); /* replace our table with real constructor */
9706  lua_call(L,lua_gettop(L)-1,1);
9707  return 1;
9708 }
9711  {0,0,0}
9712 };
9714  { "selectedid", _wrap_uiContainer_selectedid},
9715  {0,0}
9716 };
9718  {0,0}
9719 };
9720 
9722  {0,0,0}
9723 };
9725  {0,0,0,0,0,0}
9726 };
9728  {0,0}
9729 };
9731  0
9732 };
9733 
9735  "uiContainer",
9740  0
9741 };
9743 static const char *swig_uiContainer_base_names[] = {"uiNode_t *",0};
9745 
9746 static int _wrap_uiBaseInventory_filtertype(lua_State* L) {
9747  int SWIG_arg = 0;
9749  int result;
9750 
9751  SWIG_check_num_args("uiBaseInventoryNode_t::filtertype",1,1)
9752  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::filtertype",1,"uiBaseInventoryNode_t *");
9753 
9754  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9755  SWIG_fail_ptr("uiBaseInventory_filtertype",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9756  }
9757 
9758  result = (int)uiBaseInventoryNode_t_filtertype(arg1);
9759  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9760  return SWIG_arg;
9761 
9762  if(0) SWIG_fail;
9763 
9764 fail:
9765  lua_error(L);
9766  return SWIG_arg;
9767 }
9768 
9769 
9770 static int _wrap_uiBaseInventory_columns(lua_State* L) {
9771  int SWIG_arg = 0;
9773  int result;
9774 
9775  SWIG_check_num_args("uiBaseInventoryNode_t::columns",1,1)
9776  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::columns",1,"uiBaseInventoryNode_t *");
9777 
9778  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9779  SWIG_fail_ptr("uiBaseInventory_columns",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9780  }
9781 
9782  result = (int)uiBaseInventoryNode_t_columns(arg1);
9783  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9784  return SWIG_arg;
9785 
9786  if(0) SWIG_fail;
9787 
9788 fail:
9789  lua_error(L);
9790  return SWIG_arg;
9791 }
9792 
9793 
9794 static int _wrap_uiBaseInventory_is_displayweapon(lua_State* L) {
9795  int SWIG_arg = 0;
9797  bool result;
9798 
9799  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweapon",1,1)
9800  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweapon",1,"uiBaseInventoryNode_t *");
9801 
9802  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9803  SWIG_fail_ptr("uiBaseInventory_is_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9804  }
9805 
9806  result = (bool)uiBaseInventoryNode_t_is_displayweapon(arg1);
9807  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9808  return SWIG_arg;
9809 
9810  if(0) SWIG_fail;
9811 
9812 fail:
9813  lua_error(L);
9814  return SWIG_arg;
9815 }
9816 
9817 
9819  int SWIG_arg = 0;
9821  bool result;
9822 
9823  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweaponammo",1,1)
9824  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweaponammo",1,"uiBaseInventoryNode_t *");
9825 
9826  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9827  SWIG_fail_ptr("uiBaseInventory_is_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9828  }
9829 
9830  result = (bool)uiBaseInventoryNode_t_is_displayweaponammo(arg1);
9831  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9832  return SWIG_arg;
9833 
9834  if(0) SWIG_fail;
9835 
9836 fail:
9837  lua_error(L);
9838  return SWIG_arg;
9839 }
9840 
9841 
9842 static int _wrap_uiBaseInventory_is_displayammo(lua_State* L) {
9843  int SWIG_arg = 0;
9845  bool result;
9846 
9847  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayammo",1,1)
9848  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayammo",1,"uiBaseInventoryNode_t *");
9849 
9850  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9851  SWIG_fail_ptr("uiBaseInventory_is_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9852  }
9853 
9854  result = (bool)uiBaseInventoryNode_t_is_displayammo(arg1);
9855  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9856  return SWIG_arg;
9857 
9858  if(0) SWIG_fail;
9859 
9860 fail:
9861  lua_error(L);
9862  return SWIG_arg;
9863 }
9864 
9865 
9867  int SWIG_arg = 0;
9869  bool result;
9870 
9871  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayimplant",1,1)
9872  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayimplant",1,"uiBaseInventoryNode_t *");
9873 
9874  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9875  SWIG_fail_ptr("uiBaseInventory_is_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9876  }
9877 
9878  result = (bool)uiBaseInventoryNode_t_is_displayimplant(arg1);
9879  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9880  return SWIG_arg;
9881 
9882  if(0) SWIG_fail;
9883 
9884 fail:
9885  lua_error(L);
9886  return SWIG_arg;
9887 }
9888 
9889 
9891  int SWIG_arg = 0;
9893  bool result;
9894 
9895  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailable",1,1)
9896  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailable",1,"uiBaseInventoryNode_t *");
9897 
9898  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9899  SWIG_fail_ptr("uiBaseInventory_is_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9900  }
9901 
9902  result = (bool)uiBaseInventoryNode_t_is_displayunavailable(arg1);
9903  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9904  return SWIG_arg;
9905 
9906  if(0) SWIG_fail;
9907 
9908 fail:
9909  lua_error(L);
9910  return SWIG_arg;
9911 }
9912 
9913 
9915  int SWIG_arg = 0;
9917  bool result;
9918 
9919  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailableammo",1,1)
9920  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailableammo",1,"uiBaseInventoryNode_t *");
9921 
9922  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9923  SWIG_fail_ptr("uiBaseInventory_is_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9924  }
9925 
9927  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9928  return SWIG_arg;
9929 
9930  if(0) SWIG_fail;
9931 
9932 fail:
9933  lua_error(L);
9934  return SWIG_arg;
9935 }
9936 
9937 
9939  int SWIG_arg = 0;
9941  bool result;
9942 
9943  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayavailableontop",1,1)
9944  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayavailableontop",1,"uiBaseInventoryNode_t *");
9945 
9946  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9947  SWIG_fail_ptr("uiBaseInventory_is_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9948  }
9949 
9951  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9952  return SWIG_arg;
9953 
9954  if(0) SWIG_fail;
9955 
9956 fail:
9957  lua_error(L);
9958  return SWIG_arg;
9959 }
9960 
9961 
9963  int SWIG_arg = 0;
9965  bool arg2 ;
9966 
9967  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweapon",2,2)
9968  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",1,"uiBaseInventoryNode_t *");
9969  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",2,"bool");
9970 
9971  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9972  SWIG_fail_ptr("uiBaseInventory_set_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9973  }
9974 
9975  arg2 = (lua_toboolean(L, 2)!=0);
9977 
9978  return SWIG_arg;
9979 
9980  if(0) SWIG_fail;
9981 
9982 fail:
9983  lua_error(L);
9984  return SWIG_arg;
9985 }
9986 
9987 
9989  int SWIG_arg = 0;
9991  bool arg2 ;
9992 
9993  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweaponammo",2,2)
9994  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",1,"uiBaseInventoryNode_t *");
9995  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",2,"bool");
9996 
9997  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9998  SWIG_fail_ptr("uiBaseInventory_set_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9999  }
10000 
10001  arg2 = (lua_toboolean(L, 2)!=0);
10003 
10004  return SWIG_arg;
10005 
10006  if(0) SWIG_fail;
10007 
10008 fail:
10009  lua_error(L);
10010  return SWIG_arg;
10011 }
10012 
10013 
10014 static int _wrap_uiBaseInventory_set_displayammo(lua_State* L) {
10015  int SWIG_arg = 0;
10017  bool arg2 ;
10018 
10019  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayammo",2,2)
10020  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",1,"uiBaseInventoryNode_t *");
10021  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",2,"bool");
10022 
10023  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10024  SWIG_fail_ptr("uiBaseInventory_set_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10025  }
10026 
10027  arg2 = (lua_toboolean(L, 2)!=0);
10029 
10030  return SWIG_arg;
10031 
10032  if(0) SWIG_fail;
10033 
10034 fail:
10035  lua_error(L);
10036  return SWIG_arg;
10037 }
10038 
10039 
10041  int SWIG_arg = 0;
10043  bool arg2 ;
10044 
10045  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayimplant",2,2)
10046  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",1,"uiBaseInventoryNode_t *");
10047  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",2,"bool");
10048 
10049  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10050  SWIG_fail_ptr("uiBaseInventory_set_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10051  }
10052 
10053  arg2 = (lua_toboolean(L, 2)!=0);
10055 
10056  return SWIG_arg;
10057 
10058  if(0) SWIG_fail;
10059 
10060 fail:
10061  lua_error(L);
10062  return SWIG_arg;
10063 }
10064 
10065 
10067  int SWIG_arg = 0;
10069  bool arg2 ;
10070 
10071  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailable",2,2)
10072  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",1,"uiBaseInventoryNode_t *");
10073  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",2,"bool");
10074 
10075  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10076  SWIG_fail_ptr("uiBaseInventory_set_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10077  }
10078 
10079  arg2 = (lua_toboolean(L, 2)!=0);
10081 
10082  return SWIG_arg;
10083 
10084  if(0) SWIG_fail;
10085 
10086 fail:
10087  lua_error(L);
10088  return SWIG_arg;
10089 }
10090 
10091 
10093  int SWIG_arg = 0;
10095  bool arg2 ;
10096 
10097  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailableammo",2,2)
10098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",1,"uiBaseInventoryNode_t *");
10099  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",2,"bool");
10100 
10101  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10102  SWIG_fail_ptr("uiBaseInventory_set_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10103  }
10104 
10105  arg2 = (lua_toboolean(L, 2)!=0);
10107 
10108  return SWIG_arg;
10109 
10110  if(0) SWIG_fail;
10111 
10112 fail:
10113  lua_error(L);
10114  return SWIG_arg;
10115 }
10116 
10117 
10119  int SWIG_arg = 0;
10121  bool arg2 ;
10122 
10123  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayavailableontop",2,2)
10124  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",1,"uiBaseInventoryNode_t *");
10125  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",2,"bool");
10126 
10127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10128  SWIG_fail_ptr("uiBaseInventory_set_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10129  }
10130 
10131  arg2 = (lua_toboolean(L, 2)!=0);
10133 
10134  return SWIG_arg;
10135 
10136  if(0) SWIG_fail;
10137 
10138 fail:
10139  lua_error(L);
10140  return SWIG_arg;
10141 }
10142 
10143 
10144 static int _wrap_uiBaseInventory_viewpos(lua_State* L) {
10145  int SWIG_arg = 0;
10147  int result;
10148 
10149  SWIG_check_num_args("uiBaseInventoryNode_t::viewpos",1,1)
10150  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewpos",1,"uiBaseInventoryNode_t *");
10151 
10152  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10153  SWIG_fail_ptr("uiBaseInventory_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10154  }
10155 
10156  result = (int)uiBaseInventoryNode_t_viewpos(arg1);
10157  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10158  return SWIG_arg;
10159 
10160  if(0) SWIG_fail;
10161 
10162 fail:
10163  lua_error(L);
10164  return SWIG_arg;
10165 }
10166 
10167 
10168 static int _wrap_uiBaseInventory_viewsize(lua_State* L) {
10169  int SWIG_arg = 0;
10171  int result;
10172 
10173  SWIG_check_num_args("uiBaseInventoryNode_t::viewsize",1,1)
10174  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewsize",1,"uiBaseInventoryNode_t *");
10175 
10176  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10177  SWIG_fail_ptr("uiBaseInventory_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10178  }
10179 
10180  result = (int)uiBaseInventoryNode_t_viewsize(arg1);
10181  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10182  return SWIG_arg;
10183 
10184  if(0) SWIG_fail;
10185 
10186 fail:
10187  lua_error(L);
10188  return SWIG_arg;
10189 }
10190 
10191 
10192 static int _wrap_uiBaseInventory_fullsize(lua_State* L) {
10193  int SWIG_arg = 0;
10195  int result;
10196 
10197  SWIG_check_num_args("uiBaseInventoryNode_t::fullsize",1,1)
10198  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::fullsize",1,"uiBaseInventoryNode_t *");
10199 
10200  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10201  SWIG_fail_ptr("uiBaseInventory_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10202  }
10203 
10204  result = (int)uiBaseInventoryNode_t_fullsize(arg1);
10205  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10206  return SWIG_arg;
10207 
10208  if(0) SWIG_fail;
10209 
10210 fail:
10211  lua_error(L);
10212  return SWIG_arg;
10213 }
10214 
10215 
10216 static int _wrap_uiBaseInventory_set_viewpos(lua_State* L) {
10217  int SWIG_arg = 0;
10219  int arg2 ;
10220 
10221  SWIG_check_num_args("uiBaseInventoryNode_t::set_viewpos",2,2)
10222  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",1,"uiBaseInventoryNode_t *");
10223  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",2,"int");
10224 
10225  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10226  SWIG_fail_ptr("uiBaseInventory_set_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10227  }
10228 
10229  arg2 = (int)lua_tonumber(L, 2);
10231 
10232  return SWIG_arg;
10233 
10234  if(0) SWIG_fail;
10235 
10236 fail:
10237  lua_error(L);
10238  return SWIG_arg;
10239 }
10240 
10241 
10242 static int _wrap_uiBaseInventory_set_viewsize(lua_State* L) {
10243  int SWIG_arg = 0;
10245  int arg2 ;
10246 
10247  SWIG_check_num_args("uiBaseInventoryNode_t::set_viewsize",2,2)
10248  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",1,"uiBaseInventoryNode_t *");
10249  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",2,"int");
10250 
10251  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10252  SWIG_fail_ptr("uiBaseInventory_set_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10253  }
10254 
10255  arg2 = (int)lua_tonumber(L, 2);
10257 
10258  return SWIG_arg;
10259 
10260  if(0) SWIG_fail;
10261 
10262 fail:
10263  lua_error(L);
10264  return SWIG_arg;
10265 }
10266 
10267 
10268 static int _wrap_uiBaseInventory_set_fullsize(lua_State* L) {
10269  int SWIG_arg = 0;
10271  int arg2 ;
10272 
10273  SWIG_check_num_args("uiBaseInventoryNode_t::set_fullsize",2,2)
10274  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",1,"uiBaseInventoryNode_t *");
10275  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",2,"int");
10276 
10277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10278  SWIG_fail_ptr("uiBaseInventory_set_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10279  }
10280 
10281  arg2 = (int)lua_tonumber(L, 2);
10283 
10284  return SWIG_arg;
10285 
10286  if(0) SWIG_fail;
10287 
10288 fail:
10289  lua_error(L);
10290  return SWIG_arg;
10291 }
10292 
10293 
10295  int SWIG_arg = 0;
10297  LUA_EVENT arg2 ;
10298 
10299  SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",2,2)
10300  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10301 
10302  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10303  SWIG_fail_ptr("uiBaseInventory_on_viewchange_set",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10304  }
10305 
10306  {
10307  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
10308  }
10310 
10311  return SWIG_arg;
10312 
10313  if(0) SWIG_fail;
10314 
10315 fail:
10316  lua_error(L);
10317  return SWIG_arg;
10318 }
10319 
10320 
10322  int SWIG_arg = 0;
10324  LUA_EVENT result;
10325 
10326  SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",1,1)
10327  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10328 
10329  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10330  SWIG_fail_ptr("uiBaseInventory_on_viewchange_get",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10331  }
10332 
10334  {
10335  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
10336  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
10337  }
10338  return SWIG_arg;
10339 
10340  if(0) SWIG_fail;
10341 
10342 fail:
10343  lua_error(L);
10344  return SWIG_arg;
10345 }
10346 
10347 
10348 static int _wrap_new_uiBaseInventory(lua_State* L) {
10349  int SWIG_arg = 0;
10350  uiBaseInventoryNode_t *result = 0 ;
10351 
10352  SWIG_check_num_args("uiBaseInventoryNode_t::uiBaseInventoryNode_t",0,0)
10353  result = (uiBaseInventoryNode_t *)new uiBaseInventoryNode_t();
10354  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,1); SWIG_arg++;
10355  return SWIG_arg;
10356 
10357  if(0) SWIG_fail;
10358 
10359 fail:
10360  lua_error(L);
10361  return SWIG_arg;
10362 }
10363 
10364 
10365 static void swig_delete_uiBaseInventory(void *obj) {
10367 delete arg1;
10368 }
10369 static int _proxy__wrap_new_uiBaseInventory(lua_State *L) {
10370  assert(lua_istable(L,1));
10371  lua_pushcfunction(L,_wrap_new_uiBaseInventory);
10372  assert(!lua_isnil(L,-1));
10373  lua_replace(L,1); /* replace our table with real constructor */
10374  lua_call(L,lua_gettop(L)-1,1);
10375  return 1;
10376 }
10379  {0,0,0}
10380 };
10382  { "filtertype", _wrap_uiBaseInventory_filtertype},
10383  { "columns", _wrap_uiBaseInventory_columns},
10384  { "is_displayweapon", _wrap_uiBaseInventory_is_displayweapon},
10385  { "is_displayweaponammo", _wrap_uiBaseInventory_is_displayweaponammo},
10386  { "is_displayammo", _wrap_uiBaseInventory_is_displayammo},
10387  { "is_displayimplant", _wrap_uiBaseInventory_is_displayimplant},
10388  { "is_displayunavailable", _wrap_uiBaseInventory_is_displayunavailable},
10389  { "is_displayunavailableammo", _wrap_uiBaseInventory_is_displayunavailableammo},
10390  { "is_displayavailableontop", _wrap_uiBaseInventory_is_displayavailableontop},
10391  { "set_displayweapon", _wrap_uiBaseInventory_set_displayweapon},
10392  { "set_displayweaponammo", _wrap_uiBaseInventory_set_displayweaponammo},
10393  { "set_displayammo", _wrap_uiBaseInventory_set_displayammo},
10394  { "set_displayimplant", _wrap_uiBaseInventory_set_displayimplant},
10395  { "set_displayunavailable", _wrap_uiBaseInventory_set_displayunavailable},
10396  { "set_displayunavailableammo", _wrap_uiBaseInventory_set_displayunavailableammo},
10397  { "set_displayavailableontop", _wrap_uiBaseInventory_set_displayavailableontop},
10398  { "viewpos", _wrap_uiBaseInventory_viewpos},
10399  { "viewsize", _wrap_uiBaseInventory_viewsize},
10400  { "fullsize", _wrap_uiBaseInventory_fullsize},
10401  { "set_viewpos", _wrap_uiBaseInventory_set_viewpos},
10402  { "set_viewsize", _wrap_uiBaseInventory_set_viewsize},
10403  { "set_fullsize", _wrap_uiBaseInventory_set_fullsize},
10404  {0,0}
10405 };
10407  {0,0}
10408 };
10409 
10411  {0,0,0}
10412 };
10414  {0,0,0,0,0,0}
10415 };
10417  {0,0}
10418 };
10420  0
10421 };
10422 
10424  "uiBaseInventory",
10429  0
10430 };
10432 static const char *swig_uiBaseInventory_base_names[] = {"uiContainerNode_t *",0};
10434 
10435 static int _wrap_uiData_as_string(lua_State* L) {
10436  int SWIG_arg = 0;
10437  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10438  char *result = 0 ;
10439 
10440  SWIG_check_num_args("uiDataNode_t::as_string",1,1)
10441  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_string",1,"uiDataNode_t *");
10442 
10443  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10444  SWIG_fail_ptr("uiData_as_string",1,SWIGTYPE_p_uiDataNode_t);
10445  }
10446 
10447  result = (char *)uiDataNode_t_as_string(arg1);
10448  lua_pushstring(L,(const char *)result); SWIG_arg++;
10449  return SWIG_arg;
10450 
10451  if(0) SWIG_fail;
10452 
10453 fail:
10454  lua_error(L);
10455  return SWIG_arg;
10456 }
10457 
10458 
10459 static int _wrap_uiData_as_integer(lua_State* L) {
10460  int SWIG_arg = 0;
10461  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10462  int result;
10463 
10464  SWIG_check_num_args("uiDataNode_t::as_integer",1,1)
10465  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_integer",1,"uiDataNode_t *");
10466 
10467  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10468  SWIG_fail_ptr("uiData_as_integer",1,SWIGTYPE_p_uiDataNode_t);
10469  }
10470 
10471  result = (int)uiDataNode_t_as_integer(arg1);
10472  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10473  return SWIG_arg;
10474 
10475  if(0) SWIG_fail;
10476 
10477 fail:
10478  lua_error(L);
10479  return SWIG_arg;
10480 }
10481 
10482 
10483 static int _wrap_uiData_as_float(lua_State* L) {
10484  int SWIG_arg = 0;
10485  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10486  float result;
10487 
10488  SWIG_check_num_args("uiDataNode_t::as_float",1,1)
10489  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_float",1,"uiDataNode_t *");
10490 
10491  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10492  SWIG_fail_ptr("uiData_as_float",1,SWIGTYPE_p_uiDataNode_t);
10493  }
10494 
10495  result = (float)uiDataNode_t_as_float(arg1);
10496  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10497  return SWIG_arg;
10498 
10499  if(0) SWIG_fail;
10500 
10501 fail:
10502  lua_error(L);
10503  return SWIG_arg;
10504 }
10505 
10506 
10507 static int _wrap_uiData_set_value__SWIG_0(lua_State* L) {
10508  int SWIG_arg = 0;
10509  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10510  char *arg2 = (char *) 0 ;
10511 
10512  SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10513  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10514  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"char const *");
10515 
10516  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10517  SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10518  }
10519 
10520  arg2 = (char *)lua_tostring(L, 2);
10521  uiDataNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
10522 
10523  return SWIG_arg;
10524 
10525  if(0) SWIG_fail;
10526 
10527 fail:
10528  lua_error(L);
10529  return SWIG_arg;
10530 }
10531 
10532 
10533 static int _wrap_uiData_set_value__SWIG_1(lua_State* L) {
10534  int SWIG_arg = 0;
10535  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10536  int arg2 ;
10537 
10538  SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10539  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10540  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"int");
10541 
10542  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10543  SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10544  }
10545 
10546  arg2 = (int)lua_tonumber(L, 2);
10547  uiDataNode_t_set_value__SWIG_1(arg1,arg2);
10548 
10549  return SWIG_arg;
10550 
10551  if(0) SWIG_fail;
10552 
10553 fail:
10554  lua_error(L);
10555  return SWIG_arg;
10556 }
10557 
10558 
10559 static int _wrap_uiData_set_value(lua_State* L) {
10560  int argc;
10561  int argv[3]={
10562  1,2,3
10563  };
10564 
10565  argc = lua_gettop(L);
10566  if (argc == 2) {
10567  int _v;
10568  {
10569  void *ptr;
10570  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10571  _v = 0;
10572  } else {
10573  _v = 1;
10574  }
10575  }
10576  if (_v) {
10577  {
10578  _v = lua_isnumber(L,argv[1]);
10579  }
10580  if (_v) {
10582  }
10583  }
10584  }
10585  if (argc == 2) {
10586  int _v;
10587  {
10588  void *ptr;
10589  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10590  _v = 0;
10591  } else {
10592  _v = 1;
10593  }
10594  }
10595  if (_v) {
10596  {
10597  _v = SWIG_lua_isnilstring(L,argv[1]);
10598  }
10599  if (_v) {
10601  }
10602  }
10603  }
10604 
10605  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiData_set_value'\n"
10606  " Possible C/C++ prototypes are:\n"
10607  " uiDataNode_t::set_value(char const *)\n"
10608  " uiDataNode_t::set_value(int)\n");
10609  lua_error(L);return 0;
10610 }
10611 
10612 
10613 static int _wrap_uiData_set_valuef(lua_State* L) {
10614  int SWIG_arg = 0;
10615  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10616  float arg2 ;
10617 
10618  SWIG_check_num_args("uiDataNode_t::set_valuef",2,2)
10619  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_valuef",1,"uiDataNode_t *");
10620  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_valuef",2,"float");
10621 
10622  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10623  SWIG_fail_ptr("uiData_set_valuef",1,SWIGTYPE_p_uiDataNode_t);
10624  }
10625 
10626  arg2 = (float)lua_tonumber(L, 2);
10627  uiDataNode_t_set_valuef(arg1,arg2);
10628 
10629  return SWIG_arg;
10630 
10631  if(0) SWIG_fail;
10632 
10633 fail:
10634  lua_error(L);
10635  return SWIG_arg;
10636 }
10637 
10638 
10639 static int _wrap_new_uiData(lua_State* L) {
10640  int SWIG_arg = 0;
10641  uiDataNode_t *result = 0 ;
10642 
10643  SWIG_check_num_args("uiDataNode_t::uiDataNode_t",0,0)
10644  result = (uiDataNode_t *)new uiDataNode_t();
10645  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,1); SWIG_arg++;
10646  return SWIG_arg;
10647 
10648  if(0) SWIG_fail;
10649 
10650 fail:
10651  lua_error(L);
10652  return SWIG_arg;
10653 }
10654 
10655 
10656 static void swig_delete_uiData(void *obj) {
10657 uiDataNode_t *arg1 = (uiDataNode_t *) obj;
10658 delete arg1;
10659 }
10660 static int _proxy__wrap_new_uiData(lua_State *L) {
10661  assert(lua_istable(L,1));
10662  lua_pushcfunction(L,_wrap_new_uiData);
10663  assert(!lua_isnil(L,-1));
10664  lua_replace(L,1); /* replace our table with real constructor */
10665  lua_call(L,lua_gettop(L)-1,1);
10666  return 1;
10667 }
10669  {0,0,0}
10670 };
10672  { "as_string", _wrap_uiData_as_string},
10673  { "as_integer", _wrap_uiData_as_integer},
10674  { "as_float", _wrap_uiData_as_float},
10675  { "set_value", _wrap_uiData_set_value},
10676  { "set_valuef", _wrap_uiData_set_valuef},
10677  {0,0}
10678 };
10680  {0,0}
10681 };
10682 
10684  {0,0,0}
10685 };
10687  {0,0,0,0,0,0}
10688 };
10690  {0,0}
10691 };
10693  0
10694 };
10695 
10697  "uiData",
10702  0
10703 };
10705 static const char *swig_uiData_base_names[] = {"uiNode_t *",0};
10707 
10708 static int _wrap_uiGeoscape_paddingright(lua_State* L) {
10709  int SWIG_arg = 0;
10710  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10711  int result;
10712 
10713  SWIG_check_num_args("uiGeoscapeNode_t::paddingright",1,1)
10714  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::paddingright",1,"uiGeoscapeNode_t *");
10715 
10716  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10717  SWIG_fail_ptr("uiGeoscape_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10718  }
10719 
10720  result = (int)uiGeoscapeNode_t_paddingright(arg1);
10721  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10722  return SWIG_arg;
10723 
10724  if(0) SWIG_fail;
10725 
10726 fail:
10727  lua_error(L);
10728  return SWIG_arg;
10729 }
10730 
10731 
10732 static int _wrap_uiGeoscape_set_paddingright(lua_State* L) {
10733  int SWIG_arg = 0;
10734  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10735  int arg2 ;
10736 
10737  SWIG_check_num_args("uiGeoscapeNode_t::set_paddingright",2,2)
10738  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",1,"uiGeoscapeNode_t *");
10739  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",2,"int");
10740 
10741  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10742  SWIG_fail_ptr("uiGeoscape_set_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10743  }
10744 
10745  arg2 = (int)lua_tonumber(L, 2);
10747 
10748  return SWIG_arg;
10749 
10750  if(0) SWIG_fail;
10751 
10752 fail:
10753  lua_error(L);
10754  return SWIG_arg;
10755 }
10756 
10757 
10758 static int _wrap_uiGeoscape_zoomin(lua_State* L) {
10759  int SWIG_arg = 0;
10760  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10761 
10762  SWIG_check_num_args("uiGeoscapeNode_t::zoomin",1,1)
10763  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomin",1,"uiGeoscapeNode_t *");
10764 
10765  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10766  SWIG_fail_ptr("uiGeoscape_zoomin",1,SWIGTYPE_p_uiGeoscapeNode_t);
10767  }
10768 
10770 
10771  return SWIG_arg;
10772 
10773  if(0) SWIG_fail;
10774 
10775 fail:
10776  lua_error(L);
10777  return SWIG_arg;
10778 }
10779 
10780 
10781 static int _wrap_uiGeoscape_zoomout(lua_State* L) {
10782  int SWIG_arg = 0;
10783  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10784 
10785  SWIG_check_num_args("uiGeoscapeNode_t::zoomout",1,1)
10786  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomout",1,"uiGeoscapeNode_t *");
10787 
10788  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10789  SWIG_fail_ptr("uiGeoscape_zoomout",1,SWIGTYPE_p_uiGeoscapeNode_t);
10790  }
10791 
10793 
10794  return SWIG_arg;
10795 
10796  if(0) SWIG_fail;
10797 
10798 fail:
10799  lua_error(L);
10800  return SWIG_arg;
10801 }
10802 
10803 
10804 static int _wrap_new_uiGeoscape(lua_State* L) {
10805  int SWIG_arg = 0;
10806  uiGeoscapeNode_t *result = 0 ;
10807 
10808  SWIG_check_num_args("uiGeoscapeNode_t::uiGeoscapeNode_t",0,0)
10809  result = (uiGeoscapeNode_t *)new uiGeoscapeNode_t();
10810  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,1); SWIG_arg++;
10811  return SWIG_arg;
10812 
10813  if(0) SWIG_fail;
10814 
10815 fail:
10816  lua_error(L);
10817  return SWIG_arg;
10818 }
10819 
10820 
10821 static void swig_delete_uiGeoscape(void *obj) {
10822 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) obj;
10823 delete arg1;
10824 }
10825 static int _proxy__wrap_new_uiGeoscape(lua_State *L) {
10826  assert(lua_istable(L,1));
10827  lua_pushcfunction(L,_wrap_new_uiGeoscape);
10828  assert(!lua_isnil(L,-1));
10829  lua_replace(L,1); /* replace our table with real constructor */
10830  lua_call(L,lua_gettop(L)-1,1);
10831  return 1;
10832 }
10834  {0,0,0}
10835 };
10837  { "paddingright", _wrap_uiGeoscape_paddingright},
10838  { "set_paddingright", _wrap_uiGeoscape_set_paddingright},
10839  { "zoomin", _wrap_uiGeoscape_zoomin},
10840  { "zoomout", _wrap_uiGeoscape_zoomout},
10841  {0,0}
10842 };
10844  {0,0}
10845 };
10846 
10848  {0,0,0}
10849 };
10851  {0,0,0,0,0,0}
10852 };
10854  {0,0}
10855 };
10857  0
10858 };
10859 
10861  "uiGeoscape",
10866  0
10867 };
10869 static const char *swig_uiGeoscape_base_names[] = {"uiNode_t *",0};
10871 
10872 static int _wrap_uiImage_is_keepratio(lua_State* L) {
10873  int SWIG_arg = 0;
10874  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10875  bool result;
10876 
10877  SWIG_check_num_args("uiImageNode_t::is_keepratio",1,1)
10878  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_keepratio",1,"uiImageNode_t *");
10879 
10880  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10881  SWIG_fail_ptr("uiImage_is_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10882  }
10883 
10884  result = (bool)uiImageNode_t_is_keepratio(arg1);
10885  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10886  return SWIG_arg;
10887 
10888  if(0) SWIG_fail;
10889 
10890 fail:
10891  lua_error(L);
10892  return SWIG_arg;
10893 }
10894 
10895 
10896 static int _wrap_uiImage_is_mousefx(lua_State* L) {
10897  int SWIG_arg = 0;
10898  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10899  bool result;
10900 
10901  SWIG_check_num_args("uiImageNode_t::is_mousefx",1,1)
10902  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_mousefx",1,"uiImageNode_t *");
10903 
10904  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10905  SWIG_fail_ptr("uiImage_is_mousefx",1,SWIGTYPE_p_uiImageNode_t);
10906  }
10907 
10908  result = (bool)uiImageNode_t_is_mousefx(arg1);
10909  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10910  return SWIG_arg;
10911 
10912  if(0) SWIG_fail;
10913 
10914 fail:
10915  lua_error(L);
10916  return SWIG_arg;
10917 }
10918 
10919 
10920 static int _wrap_uiImage_texh(lua_State* L) {
10921  int SWIG_arg = 0;
10922  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10923  vec2_struct_t *result = 0 ;
10924 
10925  SWIG_check_num_args("uiImageNode_t::texh",1,1)
10926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texh",1,"uiImageNode_t *");
10927 
10928  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10929  SWIG_fail_ptr("uiImage_texh",1,SWIGTYPE_p_uiImageNode_t);
10930  }
10931 
10932  result = (vec2_struct_t *)uiImageNode_t_texh(arg1);
10933  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10934  return SWIG_arg;
10935 
10936  if(0) SWIG_fail;
10937 
10938 fail:
10939  lua_error(L);
10940  return SWIG_arg;
10941 }
10942 
10943 
10944 static int _wrap_uiImage_texl(lua_State* L) {
10945  int SWIG_arg = 0;
10946  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10947  vec2_struct_t *result = 0 ;
10948 
10949  SWIG_check_num_args("uiImageNode_t::texl",1,1)
10950  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texl",1,"uiImageNode_t *");
10951 
10952  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10953  SWIG_fail_ptr("uiImage_texl",1,SWIGTYPE_p_uiImageNode_t);
10954  }
10955 
10956  result = (vec2_struct_t *)uiImageNode_t_texl(arg1);
10957  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10958  return SWIG_arg;
10959 
10960  if(0) SWIG_fail;
10961 
10962 fail:
10963  lua_error(L);
10964  return SWIG_arg;
10965 }
10966 
10967 
10968 static int _wrap_uiImage_set_keepratio(lua_State* L) {
10969  int SWIG_arg = 0;
10970  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10971  bool arg2 ;
10972 
10973  SWIG_check_num_args("uiImageNode_t::set_keepratio",2,2)
10974  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_keepratio",1,"uiImageNode_t *");
10975  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_keepratio",2,"bool");
10976 
10977  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10978  SWIG_fail_ptr("uiImage_set_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10979  }
10980 
10981  arg2 = (lua_toboolean(L, 2)!=0);
10982  uiImageNode_t_set_keepratio(arg1,arg2);
10983 
10984  return SWIG_arg;
10985 
10986  if(0) SWIG_fail;
10987 
10988 fail:
10989  lua_error(L);
10990  return SWIG_arg;
10991 }
10992 
10993 
10994 static int _wrap_uiImage_set_mousefx(lua_State* L) {
10995  int SWIG_arg = 0;
10996  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10997  bool arg2 ;
10998 
10999  SWIG_check_num_args("uiImageNode_t::set_mousefx",2,2)
11000  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_mousefx",1,"uiImageNode_t *");
11001  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_mousefx",2,"bool");
11002 
11003  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11004  SWIG_fail_ptr("uiImage_set_mousefx",1,SWIGTYPE_p_uiImageNode_t);
11005  }
11006 
11007  arg2 = (lua_toboolean(L, 2)!=0);
11008  uiImageNode_t_set_mousefx(arg1,arg2);
11009 
11010  return SWIG_arg;
11011 
11012  if(0) SWIG_fail;
11013 
11014 fail:
11015  lua_error(L);
11016  return SWIG_arg;
11017 }
11018 
11019 
11020 static int _wrap_uiImage_set_source(lua_State* L) {
11021  int SWIG_arg = 0;
11022  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11023  char *arg2 = (char *) 0 ;
11024 
11025  SWIG_check_num_args("uiImageNode_t::set_source",2,2)
11026  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_source",1,"uiImageNode_t *");
11027  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiImageNode_t::set_source",2,"char const *");
11028 
11029  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11030  SWIG_fail_ptr("uiImage_set_source",1,SWIGTYPE_p_uiImageNode_t);
11031  }
11032 
11033  arg2 = (char *)lua_tostring(L, 2);
11034  uiImageNode_t_set_source(arg1,(char const *)arg2);
11035 
11036  return SWIG_arg;
11037 
11038  if(0) SWIG_fail;
11039 
11040 fail:
11041  lua_error(L);
11042  return SWIG_arg;
11043 }
11044 
11045 
11046 static int _wrap_uiImage_set_texh(lua_State* L) {
11047  int SWIG_arg = 0;
11048  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11049  float arg2 ;
11050  float arg3 ;
11051 
11052  SWIG_check_num_args("uiImageNode_t::set_texh",3,3)
11053  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texh",1,"uiImageNode_t *");
11054  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texh",2,"float");
11055  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texh",3,"float");
11056 
11057  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11058  SWIG_fail_ptr("uiImage_set_texh",1,SWIGTYPE_p_uiImageNode_t);
11059  }
11060 
11061  arg2 = (float)lua_tonumber(L, 2);
11062  arg3 = (float)lua_tonumber(L, 3);
11063  uiImageNode_t_set_texh(arg1,arg2,arg3);
11064 
11065  return SWIG_arg;
11066 
11067  if(0) SWIG_fail;
11068 
11069 fail:
11070  lua_error(L);
11071  return SWIG_arg;
11072 }
11073 
11074 
11075 static int _wrap_uiImage_set_texl(lua_State* L) {
11076  int SWIG_arg = 0;
11077  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11078  float arg2 ;
11079  float arg3 ;
11080 
11081  SWIG_check_num_args("uiImageNode_t::set_texl",3,3)
11082  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texl",1,"uiImageNode_t *");
11083  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texl",2,"float");
11084  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texl",3,"float");
11085 
11086  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11087  SWIG_fail_ptr("uiImage_set_texl",1,SWIGTYPE_p_uiImageNode_t);
11088  }
11089 
11090  arg2 = (float)lua_tonumber(L, 2);
11091  arg3 = (float)lua_tonumber(L, 3);
11092  uiImageNode_t_set_texl(arg1,arg2,arg3);
11093 
11094  return SWIG_arg;
11095 
11096  if(0) SWIG_fail;
11097 
11098 fail:
11099  lua_error(L);
11100  return SWIG_arg;
11101 }
11102 
11103 
11104 static int _wrap_new_uiImage(lua_State* L) {
11105  int SWIG_arg = 0;
11106  uiImageNode_t *result = 0 ;
11107 
11108  SWIG_check_num_args("uiImageNode_t::uiImageNode_t",0,0)
11109  result = (uiImageNode_t *)new uiImageNode_t();
11110  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,1); SWIG_arg++;
11111  return SWIG_arg;
11112 
11113  if(0) SWIG_fail;
11114 
11115 fail:
11116  lua_error(L);
11117  return SWIG_arg;
11118 }
11119 
11120 
11121 static void swig_delete_uiImage(void *obj) {
11122 uiImageNode_t *arg1 = (uiImageNode_t *) obj;
11123 delete arg1;
11124 }
11125 static int _proxy__wrap_new_uiImage(lua_State *L) {
11126  assert(lua_istable(L,1));
11127  lua_pushcfunction(L,_wrap_new_uiImage);
11128  assert(!lua_isnil(L,-1));
11129  lua_replace(L,1); /* replace our table with real constructor */
11130  lua_call(L,lua_gettop(L)-1,1);
11131  return 1;
11132 }
11134  {0,0,0}
11135 };
11137  { "is_keepratio", _wrap_uiImage_is_keepratio},
11138  { "is_mousefx", _wrap_uiImage_is_mousefx},
11139  { "texh", _wrap_uiImage_texh},
11140  { "texl", _wrap_uiImage_texl},
11141  { "set_keepratio", _wrap_uiImage_set_keepratio},
11142  { "set_mousefx", _wrap_uiImage_set_mousefx},
11143  { "set_source", _wrap_uiImage_set_source},
11144  { "set_texh", _wrap_uiImage_set_texh},
11145  { "set_texl", _wrap_uiImage_set_texl},
11146  {0,0}
11147 };
11149  {0,0}
11150 };
11151 
11153  {0,0,0}
11154 };
11156  {0,0,0,0,0,0}
11157 };
11159  {0,0}
11160 };
11162  0
11163 };
11164 
11166  "uiImage",
11171  0
11172 };
11174 static const char *swig_uiImage_base_names[] = {"uiNode_t *",0};
11176 
11177 static int _wrap_uiLineChart_is_showaxes(lua_State* L) {
11178  int SWIG_arg = 0;
11179  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11180  bool result;
11181 
11182  SWIG_check_num_args("uiLineChartNode_t::is_showaxes",1,1)
11183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::is_showaxes",1,"uiLineChartNode_t *");
11184 
11185  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11186  SWIG_fail_ptr("uiLineChart_is_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11187  }
11188 
11189  result = (bool)uiLineChartNode_t_is_showaxes(arg1);
11190  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11191  return SWIG_arg;
11192 
11193  if(0) SWIG_fail;
11194 
11195 fail:
11196  lua_error(L);
11197  return SWIG_arg;
11198 }
11199 
11200 
11201 static int _wrap_uiLineChart_set_showaxes(lua_State* L) {
11202  int SWIG_arg = 0;
11203  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11204  bool arg2 ;
11205 
11206  SWIG_check_num_args("uiLineChartNode_t::set_showaxes",2,2)
11207  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",1,"uiLineChartNode_t *");
11208  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",2,"bool");
11209 
11210  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11211  SWIG_fail_ptr("uiLineChart_set_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11212  }
11213 
11214  arg2 = (lua_toboolean(L, 2)!=0);
11215  uiLineChartNode_t_set_showaxes(arg1,arg2);
11216 
11217  return SWIG_arg;
11218 
11219  if(0) SWIG_fail;
11220 
11221 fail:
11222  lua_error(L);
11223  return SWIG_arg;
11224 }
11225 
11226 
11227 static int _wrap_uiLineChart_set_axescolor(lua_State* L) {
11228  int SWIG_arg = 0;
11229  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11230  float arg2 ;
11231  float arg3 ;
11232  float arg4 ;
11233  float arg5 ;
11234 
11235  SWIG_check_num_args("uiLineChartNode_t::set_axescolor",5,5)
11236  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",1,"uiLineChartNode_t *");
11237  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",2,"float");
11238  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",3,"float");
11239  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",4,"float");
11240  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",5,"float");
11241 
11242  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11243  SWIG_fail_ptr("uiLineChart_set_axescolor",1,SWIGTYPE_p_uiLineChartNode_t);
11244  }
11245 
11246  arg2 = (float)lua_tonumber(L, 2);
11247  arg3 = (float)lua_tonumber(L, 3);
11248  arg4 = (float)lua_tonumber(L, 4);
11249  arg5 = (float)lua_tonumber(L, 5);
11250  uiLineChartNode_t_set_axescolor(arg1,arg2,arg3,arg4,arg5);
11251 
11252  return SWIG_arg;
11253 
11254  if(0) SWIG_fail;
11255 
11256 fail:
11257  lua_error(L);
11258  return SWIG_arg;
11259 }
11260 
11261 
11262 static int _wrap_uiLineChart_clear(lua_State* L) {
11263  int SWIG_arg = 0;
11264  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11265 
11266  SWIG_check_num_args("uiLineChartNode_t::clear",1,1)
11267  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::clear",1,"uiLineChartNode_t *");
11268 
11269  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11270  SWIG_fail_ptr("uiLineChart_clear",1,SWIGTYPE_p_uiLineChartNode_t);
11271  }
11272 
11274 
11275  return SWIG_arg;
11276 
11277  if(0) SWIG_fail;
11278 
11279 fail:
11280  lua_error(L);
11281  return SWIG_arg;
11282 }
11283 
11284 
11285 static int _wrap_uiLineChart_add_line(lua_State* L) {
11286  int SWIG_arg = 0;
11287  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11288  char *arg2 = (char *) 0 ;
11289  bool arg3 ;
11290  float arg4 ;
11291  float arg5 ;
11292  float arg6 ;
11293  float arg7 ;
11294  bool arg8 ;
11295  int arg9 ;
11296 
11297  SWIG_check_num_args("uiLineChartNode_t::add_line",9,9)
11298  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_line",1,"uiLineChartNode_t *");
11299  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_line",2,"char const *");
11300  if(!lua_isboolean(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_line",3,"bool");
11301  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_line",4,"float");
11302  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::add_line",5,"float");
11303  if(!lua_isnumber(L,6)) SWIG_fail_arg("uiLineChartNode_t::add_line",6,"float");
11304  if(!lua_isnumber(L,7)) SWIG_fail_arg("uiLineChartNode_t::add_line",7,"float");
11305  if(!lua_isboolean(L,8)) SWIG_fail_arg("uiLineChartNode_t::add_line",8,"bool");
11306  if(!lua_isnumber(L,9)) SWIG_fail_arg("uiLineChartNode_t::add_line",9,"int");
11307 
11308  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11309  SWIG_fail_ptr("uiLineChart_add_line",1,SWIGTYPE_p_uiLineChartNode_t);
11310  }
11311 
11312  arg2 = (char *)lua_tostring(L, 2);
11313  arg3 = (lua_toboolean(L, 3)!=0);
11314  arg4 = (float)lua_tonumber(L, 4);
11315  arg5 = (float)lua_tonumber(L, 5);
11316  arg6 = (float)lua_tonumber(L, 6);
11317  arg7 = (float)lua_tonumber(L, 7);
11318  arg8 = (lua_toboolean(L, 8)!=0);
11319  arg9 = (int)lua_tonumber(L, 9);
11320  uiLineChartNode_t_add_line(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
11321 
11322  return SWIG_arg;
11323 
11324  if(0) SWIG_fail;
11325 
11326 fail:
11327  lua_error(L);
11328  return SWIG_arg;
11329 }
11330 
11331 
11332 static int _wrap_uiLineChart_add_point(lua_State* L) {
11333  int SWIG_arg = 0;
11334  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11335  char *arg2 = (char *) 0 ;
11336  int arg3 ;
11337  int arg4 ;
11338 
11339  SWIG_check_num_args("uiLineChartNode_t::add_point",4,4)
11340  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_point",1,"uiLineChartNode_t *");
11341  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_point",2,"char const *");
11342  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_point",3,"int");
11343  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_point",4,"int");
11344 
11345  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11346  SWIG_fail_ptr("uiLineChart_add_point",1,SWIGTYPE_p_uiLineChartNode_t);
11347  }
11348 
11349  arg2 = (char *)lua_tostring(L, 2);
11350  arg3 = (int)lua_tonumber(L, 3);
11351  arg4 = (int)lua_tonumber(L, 4);
11352  uiLineChartNode_t_add_point(arg1,(char const *)arg2,arg3,arg4);
11353 
11354  return SWIG_arg;
11355 
11356  if(0) SWIG_fail;
11357 
11358 fail:
11359  lua_error(L);
11360  return SWIG_arg;
11361 }
11362 
11363 
11364 static int _wrap_new_uiLineChart(lua_State* L) {
11365  int SWIG_arg = 0;
11366  uiLineChartNode_t *result = 0 ;
11367 
11368  SWIG_check_num_args("uiLineChartNode_t::uiLineChartNode_t",0,0)
11369  result = (uiLineChartNode_t *)new uiLineChartNode_t();
11370  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,1); SWIG_arg++;
11371  return SWIG_arg;
11372 
11373  if(0) SWIG_fail;
11374 
11375 fail:
11376  lua_error(L);
11377  return SWIG_arg;
11378 }
11379 
11380 
11381 static void swig_delete_uiLineChart(void *obj) {
11382 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) obj;
11383 delete arg1;
11384 }
11385 static int _proxy__wrap_new_uiLineChart(lua_State *L) {
11386  assert(lua_istable(L,1));
11387  lua_pushcfunction(L,_wrap_new_uiLineChart);
11388  assert(!lua_isnil(L,-1));
11389  lua_replace(L,1); /* replace our table with real constructor */
11390  lua_call(L,lua_gettop(L)-1,1);
11391  return 1;
11392 }
11394  {0,0,0}
11395 };
11397  { "is_showaxes", _wrap_uiLineChart_is_showaxes},
11398  { "set_showaxes", _wrap_uiLineChart_set_showaxes},
11399  { "set_axescolor", _wrap_uiLineChart_set_axescolor},
11400  { "clear", _wrap_uiLineChart_clear},
11401  { "add_line", _wrap_uiLineChart_add_line},
11402  { "add_point", _wrap_uiLineChart_add_point},
11403  {0,0}
11404 };
11406  {0,0}
11407 };
11408 
11410  {0,0,0}
11411 };
11413  {0,0,0,0,0,0}
11414 };
11416  {0,0}
11417 };
11419  0
11420 };
11421 
11423  "uiLineChart",
11428  0
11429 };
11431 static const char *swig_uiLineChart_base_names[] = {"uiNode_t *",0};
11433 
11434 static int _wrap_new_uiMessageList(lua_State* L) {
11435  int SWIG_arg = 0;
11436  uiMessageListNode_t *result = 0 ;
11437 
11438  SWIG_check_num_args("uiMessageListNode_t::uiMessageListNode_t",0,0)
11439  result = (uiMessageListNode_t *)new uiMessageListNode_t();
11440  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,1); SWIG_arg++;
11441  return SWIG_arg;
11442 
11443  if(0) SWIG_fail;
11444 
11445 fail:
11446  lua_error(L);
11447  return SWIG_arg;
11448 }
11449 
11450 
11451 static void swig_delete_uiMessageList(void *obj) {
11453 delete arg1;
11454 }
11455 static int _proxy__wrap_new_uiMessageList(lua_State *L) {
11456  assert(lua_istable(L,1));
11457  lua_pushcfunction(L,_wrap_new_uiMessageList);
11458  assert(!lua_isnil(L,-1));
11459  lua_replace(L,1); /* replace our table with real constructor */
11460  lua_call(L,lua_gettop(L)-1,1);
11461  return 1;
11462 }
11464  {0,0,0}
11465 };
11467  {0,0}
11468 };
11470  {0,0}
11471 };
11472 
11474  {0,0,0}
11475 };
11477  {0,0,0,0,0,0}
11478 };
11480  {0,0}
11481 };
11483  0
11484 };
11485 
11487  "uiMessageList",
11492  0
11493 };
11495 static const char *swig_uiMessageList_base_names[] = {"uiAbstractScrollableNode_t *",0};
11497 
11498 static int _wrap_uiModel_is_autoscale(lua_State* L) {
11499  int SWIG_arg = 0;
11500  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11501  bool result;
11502 
11503  SWIG_check_num_args("uiModelNode_t::is_autoscale",1,1)
11504  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_autoscale",1,"uiModelNode_t *");
11505 
11506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11507  SWIG_fail_ptr("uiModel_is_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11508  }
11509 
11510  result = (bool)uiModelNode_t_is_autoscale(arg1);
11511  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11512  return SWIG_arg;
11513 
11514  if(0) SWIG_fail;
11515 
11516 fail:
11517  lua_error(L);
11518  return SWIG_arg;
11519 }
11520 
11521 
11522 static int _wrap_uiModel_is_mouserotate(lua_State* L) {
11523  int SWIG_arg = 0;
11524  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11525  bool result;
11526 
11527  SWIG_check_num_args("uiModelNode_t::is_mouserotate",1,1)
11528  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_mouserotate",1,"uiModelNode_t *");
11529 
11530  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11531  SWIG_fail_ptr("uiModel_is_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11532  }
11533 
11534  result = (bool)uiModelNode_t_is_mouserotate(arg1);
11535  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11536  return SWIG_arg;
11537 
11538  if(0) SWIG_fail;
11539 
11540 fail:
11541  lua_error(L);
11542  return SWIG_arg;
11543 }
11544 
11545 
11546 static int _wrap_uiModel_angles(lua_State* L) {
11547  int SWIG_arg = 0;
11548  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11549  vec3_struct_t *result = 0 ;
11550 
11551  SWIG_check_num_args("uiModelNode_t::angles",1,1)
11552  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::angles",1,"uiModelNode_t *");
11553 
11554  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11555  SWIG_fail_ptr("uiModel_angles",1,SWIGTYPE_p_uiModelNode_t);
11556  }
11557 
11558  result = (vec3_struct_t *)uiModelNode_t_angles(arg1);
11559  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11560  return SWIG_arg;
11561 
11562  if(0) SWIG_fail;
11563 
11564 fail:
11565  lua_error(L);
11566  return SWIG_arg;
11567 }
11568 
11569 
11570 static int _wrap_uiModel_origin(lua_State* L) {
11571  int SWIG_arg = 0;
11572  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11573  vec3_struct_t *result = 0 ;
11574 
11575  SWIG_check_num_args("uiModelNode_t::origin",1,1)
11576  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::origin",1,"uiModelNode_t *");
11577 
11578  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11579  SWIG_fail_ptr("uiModel_origin",1,SWIGTYPE_p_uiModelNode_t);
11580  }
11581 
11582  result = (vec3_struct_t *)uiModelNode_t_origin(arg1);
11583  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11584  return SWIG_arg;
11585 
11586  if(0) SWIG_fail;
11587 
11588 fail:
11589  lua_error(L);
11590  return SWIG_arg;
11591 }
11592 
11593 
11594 static int _wrap_uiModel_omega(lua_State* L) {
11595  int SWIG_arg = 0;
11596  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11597  vec3_struct_t *result = 0 ;
11598 
11599  SWIG_check_num_args("uiModelNode_t::omega",1,1)
11600  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::omega",1,"uiModelNode_t *");
11601 
11602  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11603  SWIG_fail_ptr("uiModel_omega",1,SWIGTYPE_p_uiModelNode_t);
11604  }
11605 
11606  result = (vec3_struct_t *)uiModelNode_t_omega(arg1);
11607  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11608  return SWIG_arg;
11609 
11610  if(0) SWIG_fail;
11611 
11612 fail:
11613  lua_error(L);
11614  return SWIG_arg;
11615 }
11616 
11617 
11618 static int _wrap_uiModel_scale(lua_State* L) {
11619  int SWIG_arg = 0;
11620  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11621  vec3_struct_t *result = 0 ;
11622 
11623  SWIG_check_num_args("uiModelNode_t::scale",1,1)
11624  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::scale",1,"uiModelNode_t *");
11625 
11626  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11627  SWIG_fail_ptr("uiModel_scale",1,SWIGTYPE_p_uiModelNode_t);
11628  }
11629 
11630  result = (vec3_struct_t *)uiModelNode_t_scale(arg1);
11631  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11632  return SWIG_arg;
11633 
11634  if(0) SWIG_fail;
11635 
11636 fail:
11637  lua_error(L);
11638  return SWIG_arg;
11639 }
11640 
11641 
11642 static int _wrap_uiModel_model(lua_State* L) {
11643  int SWIG_arg = 0;
11644  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11645  char *result = 0 ;
11646 
11647  SWIG_check_num_args("uiModelNode_t::model",1,1)
11648  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::model",1,"uiModelNode_t *");
11649 
11650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11651  SWIG_fail_ptr("uiModel_model",1,SWIGTYPE_p_uiModelNode_t);
11652  }
11653 
11654  result = (char *)uiModelNode_t_model(arg1);
11655  lua_pushstring(L,(const char *)result); SWIG_arg++;
11656  return SWIG_arg;
11657 
11658  if(0) SWIG_fail;
11659 
11660 fail:
11661  lua_error(L);
11662  return SWIG_arg;
11663 }
11664 
11665 
11666 static int _wrap_uiModel_skin(lua_State* L) {
11667  int SWIG_arg = 0;
11668  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11669  char *result = 0 ;
11670 
11671  SWIG_check_num_args("uiModelNode_t::skin",1,1)
11672  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::skin",1,"uiModelNode_t *");
11673 
11674  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11675  SWIG_fail_ptr("uiModel_skin",1,SWIGTYPE_p_uiModelNode_t);
11676  }
11677 
11678  result = (char *)uiModelNode_t_skin(arg1);
11679  lua_pushstring(L,(const char *)result); SWIG_arg++;
11680  return SWIG_arg;
11681 
11682  if(0) SWIG_fail;
11683 
11684 fail:
11685  lua_error(L);
11686  return SWIG_arg;
11687 }
11688 
11689 
11690 static int _wrap_uiModel_animation(lua_State* L) {
11691  int SWIG_arg = 0;
11692  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11693  char *result = 0 ;
11694 
11695  SWIG_check_num_args("uiModelNode_t::animation",1,1)
11696  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::animation",1,"uiModelNode_t *");
11697 
11698  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11699  SWIG_fail_ptr("uiModel_animation",1,SWIGTYPE_p_uiModelNode_t);
11700  }
11701 
11702  result = (char *)uiModelNode_t_animation(arg1);
11703  lua_pushstring(L,(const char *)result); SWIG_arg++;
11704  return SWIG_arg;
11705 
11706  if(0) SWIG_fail;
11707 
11708 fail:
11709  lua_error(L);
11710  return SWIG_arg;
11711 }
11712 
11713 
11714 static int _wrap_uiModel_tag(lua_State* L) {
11715  int SWIG_arg = 0;
11716  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11717  char *result = 0 ;
11718 
11719  SWIG_check_num_args("uiModelNode_t::tag",1,1)
11720  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::tag",1,"uiModelNode_t *");
11721 
11722  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11723  SWIG_fail_ptr("uiModel_tag",1,SWIGTYPE_p_uiModelNode_t);
11724  }
11725 
11726  result = (char *)uiModelNode_t_tag(arg1);
11727  lua_pushstring(L,(const char *)result); SWIG_arg++;
11728  return SWIG_arg;
11729 
11730  if(0) SWIG_fail;
11731 
11732 fail:
11733  lua_error(L);
11734  return SWIG_arg;
11735 }
11736 
11737 
11738 static int _wrap_uiModel_set_autoscale(lua_State* L) {
11739  int SWIG_arg = 0;
11740  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11741  bool arg2 ;
11742 
11743  SWIG_check_num_args("uiModelNode_t::set_autoscale",2,2)
11744  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_autoscale",1,"uiModelNode_t *");
11745  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_autoscale",2,"bool");
11746 
11747  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11748  SWIG_fail_ptr("uiModel_set_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11749  }
11750 
11751  arg2 = (lua_toboolean(L, 2)!=0);
11752  uiModelNode_t_set_autoscale(arg1,arg2);
11753 
11754  return SWIG_arg;
11755 
11756  if(0) SWIG_fail;
11757 
11758 fail:
11759  lua_error(L);
11760  return SWIG_arg;
11761 }
11762 
11763 
11764 static int _wrap_uiModel_set_mouserotate(lua_State* L) {
11765  int SWIG_arg = 0;
11766  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11767  bool arg2 ;
11768 
11769  SWIG_check_num_args("uiModelNode_t::set_mouserotate",2,2)
11770  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",1,"uiModelNode_t *");
11771  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",2,"bool");
11772 
11773  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11774  SWIG_fail_ptr("uiModel_set_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11775  }
11776 
11777  arg2 = (lua_toboolean(L, 2)!=0);
11778  uiModelNode_t_set_mouserotate(arg1,arg2);
11779 
11780  return SWIG_arg;
11781 
11782  if(0) SWIG_fail;
11783 
11784 fail:
11785  lua_error(L);
11786  return SWIG_arg;
11787 }
11788 
11789 
11790 static int _wrap_uiModel_set_angles(lua_State* L) {
11791  int SWIG_arg = 0;
11792  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11793  float arg2 ;
11794  float arg3 ;
11795  float arg4 ;
11796 
11797  SWIG_check_num_args("uiModelNode_t::set_angles",4,4)
11798  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_angles",1,"uiModelNode_t *");
11799  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_angles",2,"float");
11800  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_angles",3,"float");
11801  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_angles",4,"float");
11802 
11803  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11804  SWIG_fail_ptr("uiModel_set_angles",1,SWIGTYPE_p_uiModelNode_t);
11805  }
11806 
11807  arg2 = (float)lua_tonumber(L, 2);
11808  arg3 = (float)lua_tonumber(L, 3);
11809  arg4 = (float)lua_tonumber(L, 4);
11810  uiModelNode_t_set_angles(arg1,arg2,arg3,arg4);
11811 
11812  return SWIG_arg;
11813 
11814  if(0) SWIG_fail;
11815 
11816 fail:
11817  lua_error(L);
11818  return SWIG_arg;
11819 }
11820 
11821 
11822 static int _wrap_uiModel_set_origin(lua_State* L) {
11823  int SWIG_arg = 0;
11824  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11825  float arg2 ;
11826  float arg3 ;
11827  float arg4 ;
11828 
11829  SWIG_check_num_args("uiModelNode_t::set_origin",4,4)
11830  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_origin",1,"uiModelNode_t *");
11831  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_origin",2,"float");
11832  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_origin",3,"float");
11833  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_origin",4,"float");
11834 
11835  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11836  SWIG_fail_ptr("uiModel_set_origin",1,SWIGTYPE_p_uiModelNode_t);
11837  }
11838 
11839  arg2 = (float)lua_tonumber(L, 2);
11840  arg3 = (float)lua_tonumber(L, 3);
11841  arg4 = (float)lua_tonumber(L, 4);
11842  uiModelNode_t_set_origin(arg1,arg2,arg3,arg4);
11843 
11844  return SWIG_arg;
11845 
11846  if(0) SWIG_fail;
11847 
11848 fail:
11849  lua_error(L);
11850  return SWIG_arg;
11851 }
11852 
11853 
11854 static int _wrap_uiModel_set_omega(lua_State* L) {
11855  int SWIG_arg = 0;
11856  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11857  float arg2 ;
11858  float arg3 ;
11859  float arg4 ;
11860 
11861  SWIG_check_num_args("uiModelNode_t::set_omega",4,4)
11862  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_omega",1,"uiModelNode_t *");
11863  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_omega",2,"float");
11864  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_omega",3,"float");
11865  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_omega",4,"float");
11866 
11867  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11868  SWIG_fail_ptr("uiModel_set_omega",1,SWIGTYPE_p_uiModelNode_t);
11869  }
11870 
11871  arg2 = (float)lua_tonumber(L, 2);
11872  arg3 = (float)lua_tonumber(L, 3);
11873  arg4 = (float)lua_tonumber(L, 4);
11874  uiModelNode_t_set_omega(arg1,arg2,arg3,arg4);
11875 
11876  return SWIG_arg;
11877 
11878  if(0) SWIG_fail;
11879 
11880 fail:
11881  lua_error(L);
11882  return SWIG_arg;
11883 }
11884 
11885 
11886 static int _wrap_uiModel_set_scale(lua_State* L) {
11887  int SWIG_arg = 0;
11888  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11889  float arg2 ;
11890  float arg3 ;
11891  float arg4 ;
11892 
11893  SWIG_check_num_args("uiModelNode_t::set_scale",4,4)
11894  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_scale",1,"uiModelNode_t *");
11895  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_scale",2,"float");
11896  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_scale",3,"float");
11897  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_scale",4,"float");
11898 
11899  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11900  SWIG_fail_ptr("uiModel_set_scale",1,SWIGTYPE_p_uiModelNode_t);
11901  }
11902 
11903  arg2 = (float)lua_tonumber(L, 2);
11904  arg3 = (float)lua_tonumber(L, 3);
11905  arg4 = (float)lua_tonumber(L, 4);
11906  uiModelNode_t_set_scale(arg1,arg2,arg3,arg4);
11907 
11908  return SWIG_arg;
11909 
11910  if(0) SWIG_fail;
11911 
11912 fail:
11913  lua_error(L);
11914  return SWIG_arg;
11915 }
11916 
11917 
11918 static int _wrap_uiModel_set_model(lua_State* L) {
11919  int SWIG_arg = 0;
11920  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11921  char *arg2 = (char *) 0 ;
11922 
11923  SWIG_check_num_args("uiModelNode_t::set_model",2,2)
11924  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_model",1,"uiModelNode_t *");
11925  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_model",2,"char const *");
11926 
11927  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11928  SWIG_fail_ptr("uiModel_set_model",1,SWIGTYPE_p_uiModelNode_t);
11929  }
11930 
11931  arg2 = (char *)lua_tostring(L, 2);
11932  uiModelNode_t_set_model(arg1,(char const *)arg2);
11933 
11934  return SWIG_arg;
11935 
11936  if(0) SWIG_fail;
11937 
11938 fail:
11939  lua_error(L);
11940  return SWIG_arg;
11941 }
11942 
11943 
11944 static int _wrap_uiModel_set_skin(lua_State* L) {
11945  int SWIG_arg = 0;
11946  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11947  char *arg2 = (char *) 0 ;
11948 
11949  SWIG_check_num_args("uiModelNode_t::set_skin",2,2)
11950  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_skin",1,"uiModelNode_t *");
11951  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_skin",2,"char const *");
11952 
11953  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11954  SWIG_fail_ptr("uiModel_set_skin",1,SWIGTYPE_p_uiModelNode_t);
11955  }
11956 
11957  arg2 = (char *)lua_tostring(L, 2);
11958  uiModelNode_t_set_skin(arg1,(char const *)arg2);
11959 
11960  return SWIG_arg;
11961 
11962  if(0) SWIG_fail;
11963 
11964 fail:
11965  lua_error(L);
11966  return SWIG_arg;
11967 }
11968 
11969 
11970 static int _wrap_uiModel_set_animation(lua_State* L) {
11971  int SWIG_arg = 0;
11972  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11973  char *arg2 = (char *) 0 ;
11974 
11975  SWIG_check_num_args("uiModelNode_t::set_animation",2,2)
11976  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_animation",1,"uiModelNode_t *");
11977  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_animation",2,"char const *");
11978 
11979  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11980  SWIG_fail_ptr("uiModel_set_animation",1,SWIGTYPE_p_uiModelNode_t);
11981  }
11982 
11983  arg2 = (char *)lua_tostring(L, 2);
11984  uiModelNode_t_set_animation(arg1,(char const *)arg2);
11985 
11986  return SWIG_arg;
11987 
11988  if(0) SWIG_fail;
11989 
11990 fail:
11991  lua_error(L);
11992  return SWIG_arg;
11993 }
11994 
11995 
11996 static int _wrap_uiModel_set_tag(lua_State* L) {
11997  int SWIG_arg = 0;
11998  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11999  char *arg2 = (char *) 0 ;
12000 
12001  SWIG_check_num_args("uiModelNode_t::set_tag",2,2)
12002  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_tag",1,"uiModelNode_t *");
12003  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_tag",2,"char const *");
12004 
12005  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
12006  SWIG_fail_ptr("uiModel_set_tag",1,SWIGTYPE_p_uiModelNode_t);
12007  }
12008 
12009  arg2 = (char *)lua_tostring(L, 2);
12010  uiModelNode_t_set_tag(arg1,(char const *)arg2);
12011 
12012  return SWIG_arg;
12013 
12014  if(0) SWIG_fail;
12015 
12016 fail:
12017  lua_error(L);
12018  return SWIG_arg;
12019 }
12020 
12021 
12022 static int _wrap_new_uiModel(lua_State* L) {
12023  int SWIG_arg = 0;
12024  uiModelNode_t *result = 0 ;
12025 
12026  SWIG_check_num_args("uiModelNode_t::uiModelNode_t",0,0)
12027  result = (uiModelNode_t *)new uiModelNode_t();
12028  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,1); SWIG_arg++;
12029  return SWIG_arg;
12030 
12031  if(0) SWIG_fail;
12032 
12033 fail:
12034  lua_error(L);
12035  return SWIG_arg;
12036 }
12037 
12038 
12039 static void swig_delete_uiModel(void *obj) {
12040 uiModelNode_t *arg1 = (uiModelNode_t *) obj;
12041 delete arg1;
12042 }
12043 static int _proxy__wrap_new_uiModel(lua_State *L) {
12044  assert(lua_istable(L,1));
12045  lua_pushcfunction(L,_wrap_new_uiModel);
12046  assert(!lua_isnil(L,-1));
12047  lua_replace(L,1); /* replace our table with real constructor */
12048  lua_call(L,lua_gettop(L)-1,1);
12049  return 1;
12050 }
12052  {0,0,0}
12053 };
12055  { "is_autoscale", _wrap_uiModel_is_autoscale},
12056  { "is_mouserotate", _wrap_uiModel_is_mouserotate},
12057  { "angles", _wrap_uiModel_angles},
12058  { "origin", _wrap_uiModel_origin},
12059  { "omega", _wrap_uiModel_omega},
12060  { "scale", _wrap_uiModel_scale},
12061  { "model", _wrap_uiModel_model},
12062  { "skin", _wrap_uiModel_skin},
12063  { "animation", _wrap_uiModel_animation},
12064  { "tag", _wrap_uiModel_tag},
12065  { "set_autoscale", _wrap_uiModel_set_autoscale},
12066  { "set_mouserotate", _wrap_uiModel_set_mouserotate},
12067  { "set_angles", _wrap_uiModel_set_angles},
12068  { "set_origin", _wrap_uiModel_set_origin},
12069  { "set_omega", _wrap_uiModel_set_omega},
12070  { "set_scale", _wrap_uiModel_set_scale},
12071  { "set_model", _wrap_uiModel_set_model},
12072  { "set_skin", _wrap_uiModel_set_skin},
12073  { "set_animation", _wrap_uiModel_set_animation},
12074  { "set_tag", _wrap_uiModel_set_tag},
12075  {0,0}
12076 };
12078  {0,0}
12079 };
12080 
12082  {0,0,0}
12083 };
12085  {0,0,0,0,0,0}
12086 };
12088  {0,0}
12089 };
12091  0
12092 };
12093 
12095  "uiModel",
12100  0
12101 };
12103 static const char *swig_uiModel_base_names[] = {"uiNode_t *",0};
12105 
12106 static int _wrap_uiItem_is_containerlike(lua_State* L) {
12107  int SWIG_arg = 0;
12108  uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12109  bool result;
12110 
12111  SWIG_check_num_args("uiItemNode_t::is_containerlike",1,1)
12112  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::is_containerlike",1,"uiItemNode_t *");
12113 
12114  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12115  SWIG_fail_ptr("uiItem_is_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12116  }
12117 
12118  result = (bool)uiItemNode_t_is_containerlike(arg1);
12119  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12120  return SWIG_arg;
12121 
12122  if(0) SWIG_fail;
12123 
12124 fail:
12125  lua_error(L);
12126  return SWIG_arg;
12127 }
12128 
12129 
12130 static int _wrap_uiItem_set_containerlike(lua_State* L) {
12131  int SWIG_arg = 0;
12132  uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12133  bool arg2 ;
12134 
12135  SWIG_check_num_args("uiItemNode_t::set_containerlike",2,2)
12136  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::set_containerlike",1,"uiItemNode_t *");
12137  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiItemNode_t::set_containerlike",2,"bool");
12138 
12139  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12140  SWIG_fail_ptr("uiItem_set_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12141  }
12142 
12143  arg2 = (lua_toboolean(L, 2)!=0);
12144  uiItemNode_t_set_containerlike(arg1,arg2);
12145 
12146  return SWIG_arg;
12147 
12148  if(0) SWIG_fail;
12149 
12150 fail:
12151  lua_error(L);
12152  return SWIG_arg;
12153 }
12154 
12155 
12156 static int _wrap_new_uiItem(lua_State* L) {
12157  int SWIG_arg = 0;
12158  uiItemNode_t *result = 0 ;
12159 
12160  SWIG_check_num_args("uiItemNode_t::uiItemNode_t",0,0)
12161  result = (uiItemNode_t *)new uiItemNode_t();
12162  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,1); SWIG_arg++;
12163  return SWIG_arg;
12164 
12165  if(0) SWIG_fail;
12166 
12167 fail:
12168  lua_error(L);
12169  return SWIG_arg;
12170 }
12171 
12172 
12173 static void swig_delete_uiItem(void *obj) {
12174 uiItemNode_t *arg1 = (uiItemNode_t *) obj;
12175 delete arg1;
12176 }
12177 static int _proxy__wrap_new_uiItem(lua_State *L) {
12178  assert(lua_istable(L,1));
12179  lua_pushcfunction(L,_wrap_new_uiItem);
12180  assert(!lua_isnil(L,-1));
12181  lua_replace(L,1); /* replace our table with real constructor */
12182  lua_call(L,lua_gettop(L)-1,1);
12183  return 1;
12184 }
12186  {0,0,0}
12187 };
12189  { "is_containerlike", _wrap_uiItem_is_containerlike},
12190  { "set_containerlike", _wrap_uiItem_set_containerlike},
12191  {0,0}
12192 };
12194  {0,0}
12195 };
12196 
12198  {0,0,0}
12199 };
12201  {0,0,0,0,0,0}
12202 };
12204  {0,0}
12205 };
12207  0
12208 };
12209 
12211  "uiItem",
12216  0
12217 };
12219 static const char *swig_uiItem_base_names[] = {"uiModelNode_t *",0};
12221 
12222 static int _wrap_uiOption_is_collapsed(lua_State* L) {
12223  int SWIG_arg = 0;
12224  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12225  bool result;
12226 
12227  SWIG_check_num_args("uiOptionNode_t::is_collapsed",1,1)
12228  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_collapsed",1,"uiOptionNode_t *");
12229 
12230  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12231  SWIG_fail_ptr("uiOption_is_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12232  }
12233 
12234  result = (bool)uiOptionNode_t_is_collapsed(arg1);
12235  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12236  return SWIG_arg;
12237 
12238  if(0) SWIG_fail;
12239 
12240 fail:
12241  lua_error(L);
12242  return SWIG_arg;
12243 }
12244 
12245 
12246 static int _wrap_uiOption_is_flipicion(lua_State* L) {
12247  int SWIG_arg = 0;
12248  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12249  bool result;
12250 
12251  SWIG_check_num_args("uiOptionNode_t::is_flipicion",1,1)
12252  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_flipicion",1,"uiOptionNode_t *");
12253 
12254  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12255  SWIG_fail_ptr("uiOption_is_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12256  }
12257 
12258  result = (bool)uiOptionNode_t_is_flipicion(arg1);
12259  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12260  return SWIG_arg;
12261 
12262  if(0) SWIG_fail;
12263 
12264 fail:
12265  lua_error(L);
12266  return SWIG_arg;
12267 }
12268 
12269 
12270 static int _wrap_uiOption_is_truncated(lua_State* L) {
12271  int SWIG_arg = 0;
12272  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12273  bool result;
12274 
12275  SWIG_check_num_args("uiOptionNode_t::is_truncated",1,1)
12276  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_truncated",1,"uiOptionNode_t *");
12277 
12278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12279  SWIG_fail_ptr("uiOption_is_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12280  }
12281 
12282  result = (bool)uiOptionNode_t_is_truncated(arg1);
12283  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12284  return SWIG_arg;
12285 
12286  if(0) SWIG_fail;
12287 
12288 fail:
12289  lua_error(L);
12290  return SWIG_arg;
12291 }
12292 
12293 
12294 static int _wrap_uiOption_label(lua_State* L) {
12295  int SWIG_arg = 0;
12296  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12297  char *result = 0 ;
12298 
12299  SWIG_check_num_args("uiOptionNode_t::label",1,1)
12300  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::label",1,"uiOptionNode_t *");
12301 
12302  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12303  SWIG_fail_ptr("uiOption_label",1,SWIGTYPE_p_uiOptionNode_t);
12304  }
12305 
12306  result = (char *)uiOptionNode_t_label(arg1);
12307  lua_pushstring(L,(const char *)result); SWIG_arg++;
12308  return SWIG_arg;
12309 
12310  if(0) SWIG_fail;
12311 
12312 fail:
12313  lua_error(L);
12314  return SWIG_arg;
12315 }
12316 
12317 
12318 static int _wrap_uiOption_value(lua_State* L) {
12319  int SWIG_arg = 0;
12320  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12321  char *result = 0 ;
12322 
12323  SWIG_check_num_args("uiOptionNode_t::value",1,1)
12324  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::value",1,"uiOptionNode_t *");
12325 
12326  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12327  SWIG_fail_ptr("uiOption_value",1,SWIGTYPE_p_uiOptionNode_t);
12328  }
12329 
12330  result = (char *)uiOptionNode_t_value(arg1);
12331  lua_pushstring(L,(const char *)result); SWIG_arg++;
12332  return SWIG_arg;
12333 
12334  if(0) SWIG_fail;
12335 
12336 fail:
12337  lua_error(L);
12338  return SWIG_arg;
12339 }
12340 
12341 
12342 static int _wrap_uiOption_count(lua_State* L) {
12343  int SWIG_arg = 0;
12344  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12345  int result;
12346 
12347  SWIG_check_num_args("uiOptionNode_t::count",1,1)
12348  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::count",1,"uiOptionNode_t *");
12349 
12350  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12351  SWIG_fail_ptr("uiOption_count",1,SWIGTYPE_p_uiOptionNode_t);
12352  }
12353 
12354  result = (int)uiOptionNode_t_count(arg1);
12355  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12356  return SWIG_arg;
12357 
12358  if(0) SWIG_fail;
12359 
12360 fail:
12361  lua_error(L);
12362  return SWIG_arg;
12363 }
12364 
12365 
12366 static int _wrap_uiOption_set_label(lua_State* L) {
12367  int SWIG_arg = 0;
12368  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12369  char *arg2 = (char *) 0 ;
12370 
12371  SWIG_check_num_args("uiOptionNode_t::set_label",2,2)
12372  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_label",1,"uiOptionNode_t *");
12373  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_label",2,"char const *");
12374 
12375  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12376  SWIG_fail_ptr("uiOption_set_label",1,SWIGTYPE_p_uiOptionNode_t);
12377  }
12378 
12379  arg2 = (char *)lua_tostring(L, 2);
12380  uiOptionNode_t_set_label(arg1,(char const *)arg2);
12381 
12382  return SWIG_arg;
12383 
12384  if(0) SWIG_fail;
12385 
12386 fail:
12387  lua_error(L);
12388  return SWIG_arg;
12389 }
12390 
12391 
12392 static int _wrap_uiOption_set_value(lua_State* L) {
12393  int SWIG_arg = 0;
12394  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12395  char *arg2 = (char *) 0 ;
12396 
12397  SWIG_check_num_args("uiOptionNode_t::set_value",2,2)
12398  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_value",1,"uiOptionNode_t *");
12399  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_value",2,"char const *");
12400 
12401  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12402  SWIG_fail_ptr("uiOption_set_value",1,SWIGTYPE_p_uiOptionNode_t);
12403  }
12404 
12405  arg2 = (char *)lua_tostring(L, 2);
12406  uiOptionNode_t_set_value(arg1,(char const *)arg2);
12407 
12408  return SWIG_arg;
12409 
12410  if(0) SWIG_fail;
12411 
12412 fail:
12413  lua_error(L);
12414  return SWIG_arg;
12415 }
12416 
12417 
12418 static int _wrap_uiOption_set_collapsed(lua_State* L) {
12419  int SWIG_arg = 0;
12420  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12421  bool arg2 ;
12422 
12423  SWIG_check_num_args("uiOptionNode_t::set_collapsed",2,2)
12424  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",1,"uiOptionNode_t *");
12425  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",2,"bool");
12426 
12427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12428  SWIG_fail_ptr("uiOption_set_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12429  }
12430 
12431  arg2 = (lua_toboolean(L, 2)!=0);
12432  uiOptionNode_t_set_collapsed(arg1,arg2);
12433 
12434  return SWIG_arg;
12435 
12436  if(0) SWIG_fail;
12437 
12438 fail:
12439  lua_error(L);
12440  return SWIG_arg;
12441 }
12442 
12443 
12444 static int _wrap_uiOption_set_flipicion(lua_State* L) {
12445  int SWIG_arg = 0;
12446  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12447  bool arg2 ;
12448 
12449  SWIG_check_num_args("uiOptionNode_t::set_flipicion",2,2)
12450  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",1,"uiOptionNode_t *");
12451  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",2,"bool");
12452 
12453  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12454  SWIG_fail_ptr("uiOption_set_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12455  }
12456 
12457  arg2 = (lua_toboolean(L, 2)!=0);
12458  uiOptionNode_t_set_flipicion(arg1,arg2);
12459 
12460  return SWIG_arg;
12461 
12462  if(0) SWIG_fail;
12463 
12464 fail:
12465  lua_error(L);
12466  return SWIG_arg;
12467 }
12468 
12469 
12470 static int _wrap_uiOption_set_truncated(lua_State* L) {
12471  int SWIG_arg = 0;
12472  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12473  bool arg2 ;
12474 
12475  SWIG_check_num_args("uiOptionNode_t::set_truncated",2,2)
12476  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_truncated",1,"uiOptionNode_t *");
12477  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_truncated",2,"bool");
12478 
12479  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12480  SWIG_fail_ptr("uiOption_set_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12481  }
12482 
12483  arg2 = (lua_toboolean(L, 2)!=0);
12484  uiOptionNode_t_set_truncated(arg1,arg2);
12485 
12486  return SWIG_arg;
12487 
12488  if(0) SWIG_fail;
12489 
12490 fail:
12491  lua_error(L);
12492  return SWIG_arg;
12493 }
12494 
12495 
12496 static int _wrap_uiOption_set_icon(lua_State* L) {
12497  int SWIG_arg = 0;
12498  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12499  char *arg2 = (char *) 0 ;
12500 
12501  SWIG_check_num_args("uiOptionNode_t::set_icon",2,2)
12502  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_icon",1,"uiOptionNode_t *");
12503  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_icon",2,"char const *");
12504 
12505  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12506  SWIG_fail_ptr("uiOption_set_icon",1,SWIGTYPE_p_uiOptionNode_t);
12507  }
12508 
12509  arg2 = (char *)lua_tostring(L, 2);
12510  uiOptionNode_t_set_icon(arg1,(char const *)arg2);
12511 
12512  return SWIG_arg;
12513 
12514  if(0) SWIG_fail;
12515 
12516 fail:
12517  lua_error(L);
12518  return SWIG_arg;
12519 }
12520 
12521 
12522 static int _wrap_new_uiOption(lua_State* L) {
12523  int SWIG_arg = 0;
12524  uiOptionNode_t *result = 0 ;
12525 
12526  SWIG_check_num_args("uiOptionNode_t::uiOptionNode_t",0,0)
12527  result = (uiOptionNode_t *)new uiOptionNode_t();
12528  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,1); SWIG_arg++;
12529  return SWIG_arg;
12530 
12531  if(0) SWIG_fail;
12532 
12533 fail:
12534  lua_error(L);
12535  return SWIG_arg;
12536 }
12537 
12538 
12539 static void swig_delete_uiOption(void *obj) {
12540 uiOptionNode_t *arg1 = (uiOptionNode_t *) obj;
12541 delete arg1;
12542 }
12543 static int _proxy__wrap_new_uiOption(lua_State *L) {
12544  assert(lua_istable(L,1));
12545  lua_pushcfunction(L,_wrap_new_uiOption);
12546  assert(!lua_isnil(L,-1));
12547  lua_replace(L,1); /* replace our table with real constructor */
12548  lua_call(L,lua_gettop(L)-1,1);
12549  return 1;
12550 }
12552  {0,0,0}
12553 };
12555  { "is_collapsed", _wrap_uiOption_is_collapsed},
12556  { "is_flipicion", _wrap_uiOption_is_flipicion},
12557  { "is_truncated", _wrap_uiOption_is_truncated},
12558  { "label", _wrap_uiOption_label},
12559  { "value", _wrap_uiOption_value},
12560  { "count", _wrap_uiOption_count},
12561  { "set_label", _wrap_uiOption_set_label},
12562  { "set_value", _wrap_uiOption_set_value},
12563  { "set_collapsed", _wrap_uiOption_set_collapsed},
12564  { "set_flipicion", _wrap_uiOption_set_flipicion},
12565  { "set_truncated", _wrap_uiOption_set_truncated},
12566  { "set_icon", _wrap_uiOption_set_icon},
12567  {0,0}
12568 };
12570  {0,0}
12571 };
12572 
12574  {0,0,0}
12575 };
12577  {0,0,0,0,0,0}
12578 };
12580  {0,0}
12581 };
12583  0
12584 };
12585 
12587  "uiOption",
12592  0
12593 };
12595 static const char *swig_uiOption_base_names[] = {"uiNode_t *",0};
12597 
12598 static int _wrap_new_uiOptionList(lua_State* L) {
12599  int SWIG_arg = 0;
12600  uiOptionListNode_t *result = 0 ;
12601 
12602  SWIG_check_num_args("uiOptionListNode_t::uiOptionListNode_t",0,0)
12603  result = (uiOptionListNode_t *)new uiOptionListNode_t();
12604  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,1); SWIG_arg++;
12605  return SWIG_arg;
12606 
12607  if(0) SWIG_fail;
12608 
12609 fail:
12610  lua_error(L);
12611  return SWIG_arg;
12612 }
12613 
12614 
12615 static void swig_delete_uiOptionList(void *obj) {
12616 uiOptionListNode_t *arg1 = (uiOptionListNode_t *) obj;
12617 delete arg1;
12618 }
12619 static int _proxy__wrap_new_uiOptionList(lua_State *L) {
12620  assert(lua_istable(L,1));
12621  lua_pushcfunction(L,_wrap_new_uiOptionList);
12622  assert(!lua_isnil(L,-1));
12623  lua_replace(L,1); /* replace our table with real constructor */
12624  lua_call(L,lua_gettop(L)-1,1);
12625  return 1;
12626 }
12628  {0,0,0}
12629 };
12631  {0,0}
12632 };
12634  {0,0}
12635 };
12636 
12638  {0,0,0}
12639 };
12641  {0,0,0,0,0,0}
12642 };
12644  {0,0}
12645 };
12647  0
12648 };
12649 
12651  "uiOptionList",
12656  0
12657 };
12659 static const char *swig_uiOptionList_base_names[] = {"uiAbstractOptionNode_t *",0};
12661 
12662 static int _wrap_uiOptionTree_set_selectedvalue(lua_State* L) {
12663  int SWIG_arg = 0;
12664  uiOptionTreeNode_t *arg1 = (uiOptionTreeNode_t *) 0 ;
12665  char *arg2 = (char *) 0 ;
12666 
12667  SWIG_check_num_args("uiOptionTreeNode_t::set_selectedvalue",2,2)
12668  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",1,"uiOptionTreeNode_t *");
12669  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",2,"char const *");
12670 
12671  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionTreeNode_t,0))){
12672  SWIG_fail_ptr("uiOptionTree_set_selectedvalue",1,SWIGTYPE_p_uiOptionTreeNode_t);
12673  }
12674 
12675  arg2 = (char *)lua_tostring(L, 2);
12676  uiOptionTreeNode_t_set_selectedvalue(arg1,(char const *)arg2);
12677 
12678  return SWIG_arg;
12679 
12680  if(0) SWIG_fail;
12681 
12682 fail:
12683  lua_error(L);
12684  return SWIG_arg;
12685 }
12686 
12687 
12688 static int _wrap_new_uiOptionTree(lua_State* L) {
12689  int SWIG_arg = 0;
12690  uiOptionTreeNode_t *result = 0 ;
12691 
12692  SWIG_check_num_args("uiOptionTreeNode_t::uiOptionTreeNode_t",0,0)
12693  result = (uiOptionTreeNode_t *)new uiOptionTreeNode_t();
12694  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,1); SWIG_arg++;
12695  return SWIG_arg;
12696 
12697  if(0) SWIG_fail;
12698 
12699 fail:
12700  lua_error(L);
12701  return SWIG_arg;
12702 }
12703 
12704 
12705 static void swig_delete_uiOptionTree(void *obj) {
12706 uiOptionTreeNode_t *arg1 = (uiOptionTreeNode_t *) obj;
12707 delete arg1;
12708 }
12709 static int _proxy__wrap_new_uiOptionTree(lua_State *L) {
12710  assert(lua_istable(L,1));
12711  lua_pushcfunction(L,_wrap_new_uiOptionTree);
12712  assert(!lua_isnil(L,-1));
12713  lua_replace(L,1); /* replace our table with real constructor */
12714  lua_call(L,lua_gettop(L)-1,1);
12715  return 1;
12716 }
12718  {0,0,0}
12719 };
12721  { "set_selectedvalue", _wrap_uiOptionTree_set_selectedvalue},
12722  {0,0}
12723 };
12725  {0,0}
12726 };
12727 
12729  {0,0,0}
12730 };
12732  {0,0,0,0,0,0}
12733 };
12735  {0,0}
12736 };
12738  0
12739 };
12740 
12742  "uiOptionTree",
12747  0
12748 };
12750 static const char *swig_uiOptionTree_base_names[] = {"uiAbstractOptionNode_t *",0};
12752 
12753 static int _wrap_uiPanel_is_wheelscrollable(lua_State* L) {
12754  int SWIG_arg = 0;
12755  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12756  bool result;
12757 
12758  SWIG_check_num_args("uiPanelNode_t::is_wheelscrollable",1,1)
12759  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::is_wheelscrollable",1,"uiPanelNode_t *");
12760 
12761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12762  SWIG_fail_ptr("uiPanel_is_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12763  }
12764 
12765  result = (bool)uiPanelNode_t_is_wheelscrollable(arg1);
12766  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12767  return SWIG_arg;
12768 
12769  if(0) SWIG_fail;
12770 
12771 fail:
12772  lua_error(L);
12773  return SWIG_arg;
12774 }
12775 
12776 
12777 static int _wrap_uiPanel_layout(lua_State* L) {
12778  int SWIG_arg = 0;
12779  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12780  int result;
12781 
12782  SWIG_check_num_args("uiPanelNode_t::layout",1,1)
12783  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layout",1,"uiPanelNode_t *");
12784 
12785  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12786  SWIG_fail_ptr("uiPanel_layout",1,SWIGTYPE_p_uiPanelNode_t);
12787  }
12788 
12789  result = (int)uiPanelNode_t_layout(arg1);
12790  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12791  return SWIG_arg;
12792 
12793  if(0) SWIG_fail;
12794 
12795 fail:
12796  lua_error(L);
12797  return SWIG_arg;
12798 }
12799 
12800 
12801 static int _wrap_uiPanel_layoutmargin(lua_State* L) {
12802  int SWIG_arg = 0;
12803  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12804  int result;
12805 
12806  SWIG_check_num_args("uiPanelNode_t::layoutmargin",1,1)
12807  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutmargin",1,"uiPanelNode_t *");
12808 
12809  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12810  SWIG_fail_ptr("uiPanel_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12811  }
12812 
12813  result = (int)uiPanelNode_t_layoutmargin(arg1);
12814  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12815  return SWIG_arg;
12816 
12817  if(0) SWIG_fail;
12818 
12819 fail:
12820  lua_error(L);
12821  return SWIG_arg;
12822 }
12823 
12824 
12825 static int _wrap_uiPanel_layoutcolumns(lua_State* L) {
12826  int SWIG_arg = 0;
12827  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12828  int result;
12829 
12830  SWIG_check_num_args("uiPanelNode_t::layoutcolumns",1,1)
12831  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutcolumns",1,"uiPanelNode_t *");
12832 
12833  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12834  SWIG_fail_ptr("uiPanel_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12835  }
12836 
12837  result = (int)uiPanelNode_t_layoutcolumns(arg1);
12838  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12839  return SWIG_arg;
12840 
12841  if(0) SWIG_fail;
12842 
12843 fail:
12844  lua_error(L);
12845  return SWIG_arg;
12846 }
12847 
12848 
12849 static int _wrap_uiPanel_set_layout(lua_State* L) {
12850  int SWIG_arg = 0;
12851  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12852  int arg2 ;
12853 
12854  SWIG_check_num_args("uiPanelNode_t::set_layout",2,2)
12855  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layout",1,"uiPanelNode_t *");
12856  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layout",2,"int");
12857 
12858  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12859  SWIG_fail_ptr("uiPanel_set_layout",1,SWIGTYPE_p_uiPanelNode_t);
12860  }
12861 
12862  arg2 = (int)lua_tonumber(L, 2);
12863  uiPanelNode_t_set_layout(arg1,arg2);
12864 
12865  return SWIG_arg;
12866 
12867  if(0) SWIG_fail;
12868 
12869 fail:
12870  lua_error(L);
12871  return SWIG_arg;
12872 }
12873 
12874 
12875 static int _wrap_uiPanel_set_layoutmargin(lua_State* L) {
12876  int SWIG_arg = 0;
12877  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12878  int arg2 ;
12879 
12880  SWIG_check_num_args("uiPanelNode_t::set_layoutmargin",2,2)
12881  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",1,"uiPanelNode_t *");
12882  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",2,"int");
12883 
12884  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12885  SWIG_fail_ptr("uiPanel_set_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12886  }
12887 
12888  arg2 = (int)lua_tonumber(L, 2);
12889  uiPanelNode_t_set_layoutmargin(arg1,arg2);
12890 
12891  return SWIG_arg;
12892 
12893  if(0) SWIG_fail;
12894 
12895 fail:
12896  lua_error(L);
12897  return SWIG_arg;
12898 }
12899 
12900 
12901 static int _wrap_uiPanel_set_layoutcolumns(lua_State* L) {
12902  int SWIG_arg = 0;
12903  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12904  int arg2 ;
12905 
12906  SWIG_check_num_args("uiPanelNode_t::set_layoutcolumns",2,2)
12907  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",1,"uiPanelNode_t *");
12908  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",2,"int");
12909 
12910  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12911  SWIG_fail_ptr("uiPanel_set_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12912  }
12913 
12914  arg2 = (int)lua_tonumber(L, 2);
12916 
12917  return SWIG_arg;
12918 
12919  if(0) SWIG_fail;
12920 
12921 fail:
12922  lua_error(L);
12923  return SWIG_arg;
12924 }
12925 
12926 
12927 static int _wrap_uiPanel_set_wheelscrollable(lua_State* L) {
12928  int SWIG_arg = 0;
12929  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12930  bool arg2 ;
12931 
12932  SWIG_check_num_args("uiPanelNode_t::set_wheelscrollable",2,2)
12933  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",1,"uiPanelNode_t *");
12934  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",2,"bool");
12935 
12936  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12937  SWIG_fail_ptr("uiPanel_set_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12938  }
12939 
12940  arg2 = (lua_toboolean(L, 2)!=0);
12942 
12943  return SWIG_arg;
12944 
12945  if(0) SWIG_fail;
12946 
12947 fail:
12948  lua_error(L);
12949  return SWIG_arg;
12950 }
12951 
12952 
12953 static int _wrap_uiPanel_set_background(lua_State* L) {
12954  int SWIG_arg = 0;
12955  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12956  char *arg2 = (char *) 0 ;
12957 
12958  SWIG_check_num_args("uiPanelNode_t::set_background",2,2)
12959  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_background",1,"uiPanelNode_t *");
12960  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiPanelNode_t::set_background",2,"char const *");
12961 
12962  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12963  SWIG_fail_ptr("uiPanel_set_background",1,SWIGTYPE_p_uiPanelNode_t);
12964  }
12965 
12966  arg2 = (char *)lua_tostring(L, 2);
12967  uiPanelNode_t_set_background(arg1,(char const *)arg2);
12968 
12969  return SWIG_arg;
12970 
12971  if(0) SWIG_fail;
12972 
12973 fail:
12974  lua_error(L);
12975  return SWIG_arg;
12976 }
12977 
12978 
12979 static int _wrap_new_uiPanel(lua_State* L) {
12980  int SWIG_arg = 0;
12981  uiPanelNode_t *result = 0 ;
12982 
12983  SWIG_check_num_args("uiPanelNode_t::uiPanelNode_t",0,0)
12984  result = (uiPanelNode_t *)new uiPanelNode_t();
12985  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,1); SWIG_arg++;
12986  return SWIG_arg;
12987 
12988  if(0) SWIG_fail;
12989 
12990 fail:
12991  lua_error(L);
12992  return SWIG_arg;
12993 }
12994 
12995 
12996 static void swig_delete_uiPanel(void *obj) {
12997 uiPanelNode_t *arg1 = (uiPanelNode_t *) obj;
12998 delete arg1;
12999 }
13000 static int _proxy__wrap_new_uiPanel(lua_State *L) {
13001  assert(lua_istable(L,1));
13002  lua_pushcfunction(L,_wrap_new_uiPanel);
13003  assert(!lua_isnil(L,-1));
13004  lua_replace(L,1); /* replace our table with real constructor */
13005  lua_call(L,lua_gettop(L)-1,1);
13006  return 1;
13007 }
13009  {0,0,0}
13010 };
13012  { "is_wheelscrollable", _wrap_uiPanel_is_wheelscrollable},
13013  { "layout", _wrap_uiPanel_layout},
13014  { "layoutmargin", _wrap_uiPanel_layoutmargin},
13015  { "layoutcolumns", _wrap_uiPanel_layoutcolumns},
13016  { "set_layout", _wrap_uiPanel_set_layout},
13017  { "set_layoutmargin", _wrap_uiPanel_set_layoutmargin},
13018  { "set_layoutcolumns", _wrap_uiPanel_set_layoutcolumns},
13019  { "set_wheelscrollable", _wrap_uiPanel_set_wheelscrollable},
13020  { "set_background", _wrap_uiPanel_set_background},
13021  {0,0}
13022 };
13024  {0,0}
13025 };
13026 
13028  {0,0,0}
13029 };
13031  {0,0,0,0,0,0}
13032 };
13034  {0,0}
13035 };
13037  0
13038 };
13039 
13041  "uiPanel",
13046  0
13047 };
13049 static const char *swig_uiPanel_base_names[] = {"uiAbstractScrollableNode_t *",0};
13051 
13052 static int _wrap_new_uiRadar(lua_State* L) {
13053  int SWIG_arg = 0;
13054  uiRadarNode_t *result = 0 ;
13055 
13056  SWIG_check_num_args("uiRadarNode_t::uiRadarNode_t",0,0)
13057  result = (uiRadarNode_t *)new uiRadarNode_t();
13058  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,1); SWIG_arg++;
13059  return SWIG_arg;
13060 
13061  if(0) SWIG_fail;
13062 
13063 fail:
13064  lua_error(L);
13065  return SWIG_arg;
13066 }
13067 
13068 
13069 static void swig_delete_uiRadar(void *obj) {
13070 uiRadarNode_t *arg1 = (uiRadarNode_t *) obj;
13071 delete arg1;
13072 }
13073 static int _proxy__wrap_new_uiRadar(lua_State *L) {
13074  assert(lua_istable(L,1));
13075  lua_pushcfunction(L,_wrap_new_uiRadar);
13076  assert(!lua_isnil(L,-1));
13077  lua_replace(L,1); /* replace our table with real constructor */
13078  lua_call(L,lua_gettop(L)-1,1);
13079  return 1;
13080 }
13082  {0,0,0}
13083 };
13085  {0,0}
13086 };
13088  {0,0}
13089 };
13090 
13092  {0,0,0}
13093 };
13095  {0,0,0,0,0,0}
13096 };
13098  {0,0}
13099 };
13101  0
13102 };
13103 
13105  "uiRadar",
13110  0
13111 };
13113 static const char *swig_uiRadar_base_names[] = {"uiNode_t *",0};
13115 
13116 static int _wrap_uiRadioButton_is_flipicon(lua_State* L) {
13117  int SWIG_arg = 0;
13119  bool result;
13120 
13121  SWIG_check_num_args("uiRadioButtonNode_t::is_flipicon",1,1)
13122  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::is_flipicon",1,"uiRadioButtonNode_t *");
13123 
13124  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13125  SWIG_fail_ptr("uiRadioButton_is_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13126  }
13127 
13128  result = (bool)uiRadioButtonNode_t_is_flipicon(arg1);
13129  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13130  return SWIG_arg;
13131 
13132  if(0) SWIG_fail;
13133 
13134 fail:
13135  lua_error(L);
13136  return SWIG_arg;
13137 }
13138 
13139 
13140 static int _wrap_uiRadioButton_as_string(lua_State* L) {
13141  int SWIG_arg = 0;
13143  char *result = 0 ;
13144 
13145  SWIG_check_num_args("uiRadioButtonNode_t::as_string",1,1)
13146  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_string",1,"uiRadioButtonNode_t *");
13147 
13148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13149  SWIG_fail_ptr("uiRadioButton_as_string",1,SWIGTYPE_p_uiRadioButtonNode_t);
13150  }
13151 
13152  result = (char *)uiRadioButtonNode_t_as_string(arg1);
13153  lua_pushstring(L,(const char *)result); SWIG_arg++;
13154  return SWIG_arg;
13155 
13156  if(0) SWIG_fail;
13157 
13158 fail:
13159  lua_error(L);
13160  return SWIG_arg;
13161 }
13162 
13163 
13164 static int _wrap_uiRadioButton_as_float(lua_State* L) {
13165  int SWIG_arg = 0;
13167  float result;
13168 
13169  SWIG_check_num_args("uiRadioButtonNode_t::as_float",1,1)
13170  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_float",1,"uiRadioButtonNode_t *");
13171 
13172  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13173  SWIG_fail_ptr("uiRadioButton_as_float",1,SWIGTYPE_p_uiRadioButtonNode_t);
13174  }
13175 
13176  result = (float)uiRadioButtonNode_t_as_float(arg1);
13177  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13178  return SWIG_arg;
13179 
13180  if(0) SWIG_fail;
13181 
13182 fail:
13183  lua_error(L);
13184  return SWIG_arg;
13185 }
13186 
13187 
13188 static int _wrap_uiRadioButton_cvar(lua_State* L) {
13189  int SWIG_arg = 0;
13191  char *result = 0 ;
13192 
13193  SWIG_check_num_args("uiRadioButtonNode_t::cvar",1,1)
13194  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::cvar",1,"uiRadioButtonNode_t *");
13195 
13196  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13197  SWIG_fail_ptr("uiRadioButton_cvar",1,SWIGTYPE_p_uiRadioButtonNode_t);
13198  }
13199 
13200  result = (char *)uiRadioButtonNode_t_cvar(arg1);
13201  lua_pushstring(L,(const char *)result); SWIG_arg++;
13202  return SWIG_arg;
13203 
13204  if(0) SWIG_fail;
13205 
13206 fail:
13207  lua_error(L);
13208  return SWIG_arg;
13209 }
13210 
13211 
13212 static int _wrap_uiRadioButton_set_cvar(lua_State* L) {
13213  int SWIG_arg = 0;
13215  char *arg2 = (char *) 0 ;
13216 
13217  SWIG_check_num_args("uiRadioButtonNode_t::set_cvar",2,2)
13218  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_cvar",1,"uiRadioButtonNode_t *");
13219  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_cvar",2,"char const *");
13220 
13221  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13222  SWIG_fail_ptr("uiRadioButton_set_cvar",1,SWIGTYPE_p_uiRadioButtonNode_t);
13223  }
13224 
13225  arg2 = (char *)lua_tostring(L, 2);
13226  uiRadioButtonNode_t_set_cvar(arg1,(char const *)arg2);
13227 
13228  return SWIG_arg;
13229 
13230  if(0) SWIG_fail;
13231 
13232 fail:
13233  lua_error(L);
13234  return SWIG_arg;
13235 }
13236 
13237 
13238 static int _wrap_uiRadioButton_set_value__SWIG_0(lua_State* L) {
13239  int SWIG_arg = 0;
13241  char *arg2 = (char *) 0 ;
13242 
13243  SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13244  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13245  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"char const *");
13246 
13247  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13248  SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13249  }
13250 
13251  arg2 = (char *)lua_tostring(L, 2);
13252  uiRadioButtonNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
13253 
13254  return SWIG_arg;
13255 
13256  if(0) SWIG_fail;
13257 
13258 fail:
13259  lua_error(L);
13260  return SWIG_arg;
13261 }
13262 
13263 
13264 static int _wrap_uiRadioButton_set_value__SWIG_1(lua_State* L) {
13265  int SWIG_arg = 0;
13267  float arg2 ;
13268 
13269  SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13270  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13271  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"float");
13272 
13273  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13274  SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13275  }
13276 
13277  arg2 = (float)lua_tonumber(L, 2);
13279 
13280  return SWIG_arg;
13281 
13282  if(0) SWIG_fail;
13283 
13284 fail:
13285  lua_error(L);
13286  return SWIG_arg;
13287 }
13288 
13289 
13290 static int _wrap_uiRadioButton_set_value(lua_State* L) {
13291  int argc;
13292  int argv[3]={
13293  1,2,3
13294  };
13295 
13296  argc = lua_gettop(L);
13297  if (argc == 2) {
13298  int _v;
13299  {
13300  void *ptr;
13301  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13302  _v = 0;
13303  } else {
13304  _v = 1;
13305  }
13306  }
13307  if (_v) {
13308  {
13309  _v = lua_isnumber(L,argv[1]);
13310  }
13311  if (_v) {
13313  }
13314  }
13315  }
13316  if (argc == 2) {
13317  int _v;
13318  {
13319  void *ptr;
13320  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13321  _v = 0;
13322  } else {
13323  _v = 1;
13324  }
13325  }
13326  if (_v) {
13327  {
13328  _v = SWIG_lua_isnilstring(L,argv[1]);
13329  }
13330  if (_v) {
13332  }
13333  }
13334  }
13335 
13336  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiRadioButton_set_value'\n"
13337  " Possible C/C++ prototypes are:\n"
13338  " uiRadioButtonNode_t::set_value(char const *)\n"
13339  " uiRadioButtonNode_t::set_value(float)\n");
13340  lua_error(L);return 0;
13341 }
13342 
13343 
13344 static int _wrap_uiRadioButton_set_flipicon(lua_State* L) {
13345  int SWIG_arg = 0;
13347  bool arg2 ;
13348 
13349  SWIG_check_num_args("uiRadioButtonNode_t::set_flipicon",2,2)
13350  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",1,"uiRadioButtonNode_t *");
13351  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",2,"bool");
13352 
13353  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13354  SWIG_fail_ptr("uiRadioButton_set_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13355  }
13356 
13357  arg2 = (lua_toboolean(L, 2)!=0);
13359 
13360  return SWIG_arg;
13361 
13362  if(0) SWIG_fail;
13363 
13364 fail:
13365  lua_error(L);
13366  return SWIG_arg;
13367 }
13368 
13369 
13370 static int _wrap_uiRadioButton_set_background(lua_State* L) {
13371  int SWIG_arg = 0;
13373  char *arg2 = (char *) 0 ;
13374 
13375  SWIG_check_num_args("uiRadioButtonNode_t::set_background",2,2)
13376  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",1,"uiRadioButtonNode_t *");
13377  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",2,"char const *");
13378 
13379  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13380  SWIG_fail_ptr("uiRadioButton_set_background",1,SWIGTYPE_p_uiRadioButtonNode_t);
13381  }
13382 
13383  arg2 = (char *)lua_tostring(L, 2);
13384  uiRadioButtonNode_t_set_background(arg1,(char const *)arg2);
13385 
13386  return SWIG_arg;
13387 
13388  if(0) SWIG_fail;
13389 
13390 fail:
13391  lua_error(L);
13392  return SWIG_arg;
13393 }
13394 
13395 
13396 static int _wrap_uiRadioButton_set_icon(lua_State* L) {
13397  int SWIG_arg = 0;
13399  char *arg2 = (char *) 0 ;
13400 
13401  SWIG_check_num_args("uiRadioButtonNode_t::set_icon",2,2)
13402  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",1,"uiRadioButtonNode_t *");
13403  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",2,"char const *");
13404 
13405  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13406  SWIG_fail_ptr("uiRadioButton_set_icon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13407  }
13408 
13409  arg2 = (char *)lua_tostring(L, 2);
13410  uiRadioButtonNode_t_set_icon(arg1,(char const *)arg2);
13411 
13412  return SWIG_arg;
13413 
13414  if(0) SWIG_fail;
13415 
13416 fail:
13417  lua_error(L);
13418  return SWIG_arg;
13419 }
13420 
13421 
13422 static int _wrap_new_uiRadioButton(lua_State* L) {
13423  int SWIG_arg = 0;
13424  uiRadioButtonNode_t *result = 0 ;
13425 
13426  SWIG_check_num_args("uiRadioButtonNode_t::uiRadioButtonNode_t",0,0)
13427  result = (uiRadioButtonNode_t *)new uiRadioButtonNode_t();
13428  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,1); SWIG_arg++;
13429  return SWIG_arg;
13430 
13431  if(0) SWIG_fail;
13432 
13433 fail:
13434  lua_error(L);
13435  return SWIG_arg;
13436 }
13437 
13438 
13439 static void swig_delete_uiRadioButton(void *obj) {
13441 delete arg1;
13442 }
13443 static int _proxy__wrap_new_uiRadioButton(lua_State *L) {
13444  assert(lua_istable(L,1));
13445  lua_pushcfunction(L,_wrap_new_uiRadioButton);
13446  assert(!lua_isnil(L,-1));
13447  lua_replace(L,1); /* replace our table with real constructor */
13448  lua_call(L,lua_gettop(L)-1,1);
13449  return 1;
13450 }
13452  {0,0,0}
13453 };
13455  { "is_flipicon", _wrap_uiRadioButton_is_flipicon},
13456  { "as_string", _wrap_uiRadioButton_as_string},
13457  { "as_float", _wrap_uiRadioButton_as_float},
13458  { "cvar", _wrap_uiRadioButton_cvar},
13459  { "set_cvar", _wrap_uiRadioButton_set_cvar},
13460  { "set_value", _wrap_uiRadioButton_set_value},
13461  { "set_flipicon", _wrap_uiRadioButton_set_flipicon},
13462  { "set_background", _wrap_uiRadioButton_set_background},
13463  { "set_icon", _wrap_uiRadioButton_set_icon},
13464  {0,0}
13465 };
13467  {0,0}
13468 };
13469 
13471  {0,0,0}
13472 };
13474  {0,0,0,0,0,0}
13475 };
13477  {0,0}
13478 };
13480  0
13481 };
13482 
13484  "uiRadioButton",
13489  0
13490 };
13492 static const char *swig_uiRadioButton_base_names[] = {"uiNode_t *",0};
13494 
13495 static int _wrap_uiRows_current(lua_State* L) {
13496  int SWIG_arg = 0;
13497  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13498  int result;
13499 
13500  SWIG_check_num_args("uiRowsNode_t::current",1,1)
13501  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::current",1,"uiRowsNode_t *");
13502 
13503  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13504  SWIG_fail_ptr("uiRows_current",1,SWIGTYPE_p_uiRowsNode_t);
13505  }
13506 
13507  result = (int)uiRowsNode_t_current(arg1);
13508  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13509  return SWIG_arg;
13510 
13511  if(0) SWIG_fail;
13512 
13513 fail:
13514  lua_error(L);
13515  return SWIG_arg;
13516 }
13517 
13518 
13519 static int _wrap_uiRows_lineheight(lua_State* L) {
13520  int SWIG_arg = 0;
13521  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13522  int result;
13523 
13524  SWIG_check_num_args("uiRowsNode_t::lineheight",1,1)
13525  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::lineheight",1,"uiRowsNode_t *");
13526 
13527  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13528  SWIG_fail_ptr("uiRows_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13529  }
13530 
13531  result = (int)uiRowsNode_t_lineheight(arg1);
13532  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13533  return SWIG_arg;
13534 
13535  if(0) SWIG_fail;
13536 
13537 fail:
13538  lua_error(L);
13539  return SWIG_arg;
13540 }
13541 
13542 
13543 static int _wrap_uiRows_set_current(lua_State* L) {
13544  int SWIG_arg = 0;
13545  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13546  int arg2 ;
13547 
13548  SWIG_check_num_args("uiRowsNode_t::set_current",2,2)
13549  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_current",1,"uiRowsNode_t *");
13550  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_current",2,"int");
13551 
13552  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13553  SWIG_fail_ptr("uiRows_set_current",1,SWIGTYPE_p_uiRowsNode_t);
13554  }
13555 
13556  arg2 = (int)lua_tonumber(L, 2);
13557  uiRowsNode_t_set_current(arg1,arg2);
13558 
13559  return SWIG_arg;
13560 
13561  if(0) SWIG_fail;
13562 
13563 fail:
13564  lua_error(L);
13565  return SWIG_arg;
13566 }
13567 
13568 
13569 static int _wrap_uiRows_set_lineheight(lua_State* L) {
13570  int SWIG_arg = 0;
13571  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13572  int arg2 ;
13573 
13574  SWIG_check_num_args("uiRowsNode_t::set_lineheight",2,2)
13575  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",1,"uiRowsNode_t *");
13576  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",2,"int");
13577 
13578  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13579  SWIG_fail_ptr("uiRows_set_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13580  }
13581 
13582  arg2 = (int)lua_tonumber(L, 2);
13583  uiRowsNode_t_set_lineheight(arg1,arg2);
13584 
13585  return SWIG_arg;
13586 
13587  if(0) SWIG_fail;
13588 
13589 fail:
13590  lua_error(L);
13591  return SWIG_arg;
13592 }
13593 
13594 
13595 static int _wrap_new_uiRows(lua_State* L) {
13596  int SWIG_arg = 0;
13597  uiRowsNode_t *result = 0 ;
13598 
13599  SWIG_check_num_args("uiRowsNode_t::uiRowsNode_t",0,0)
13600  result = (uiRowsNode_t *)new uiRowsNode_t();
13601  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,1); SWIG_arg++;
13602  return SWIG_arg;
13603 
13604  if(0) SWIG_fail;
13605 
13606 fail:
13607  lua_error(L);
13608  return SWIG_arg;
13609 }
13610 
13611 
13612 static void swig_delete_uiRows(void *obj) {
13613 uiRowsNode_t *arg1 = (uiRowsNode_t *) obj;
13614 delete arg1;
13615 }
13616 static int _proxy__wrap_new_uiRows(lua_State *L) {
13617  assert(lua_istable(L,1));
13618  lua_pushcfunction(L,_wrap_new_uiRows);
13619  assert(!lua_isnil(L,-1));
13620  lua_replace(L,1); /* replace our table with real constructor */
13621  lua_call(L,lua_gettop(L)-1,1);
13622  return 1;
13623 }
13625  {0,0,0}
13626 };
13628  { "current", _wrap_uiRows_current},
13629  { "lineheight", _wrap_uiRows_lineheight},
13630  { "set_current", _wrap_uiRows_set_current},
13631  { "set_lineheight", _wrap_uiRows_set_lineheight},
13632  {0,0}
13633 };
13635  {0,0}
13636 };
13637 
13639  {0,0,0}
13640 };
13642  {0,0,0,0,0,0}
13643 };
13645  {0,0}
13646 };
13648  0
13649 };
13650 
13652  "uiRows",
13657  0
13658 };
13660 static const char *swig_uiRows_base_names[] = {"uiNode_t *",0};
13662 
13663 static int _wrap_new_uiSelectBox(lua_State* L) {
13664  int SWIG_arg = 0;
13665  uiSelectBoxNode_t *result = 0 ;
13666 
13667  SWIG_check_num_args("uiSelectBoxNode_t::uiSelectBoxNode_t",0,0)
13668  result = (uiSelectBoxNode_t *)new uiSelectBoxNode_t();
13669  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,1); SWIG_arg++;
13670  return SWIG_arg;
13671 
13672  if(0) SWIG_fail;
13673 
13674 fail:
13675  lua_error(L);
13676  return SWIG_arg;
13677 }
13678 
13679 
13680 static void swig_delete_uiSelectBox(void *obj) {
13681 uiSelectBoxNode_t *arg1 = (uiSelectBoxNode_t *) obj;
13682 delete arg1;
13683 }
13684 static int _proxy__wrap_new_uiSelectBox(lua_State *L) {
13685  assert(lua_istable(L,1));
13686  lua_pushcfunction(L,_wrap_new_uiSelectBox);
13687  assert(!lua_isnil(L,-1));
13688  lua_replace(L,1); /* replace our table with real constructor */
13689  lua_call(L,lua_gettop(L)-1,1);
13690  return 1;
13691 }
13693  {0,0,0}
13694 };
13696  {0,0}
13697 };
13699  {0,0}
13700 };
13701 
13703  {0,0,0}
13704 };
13706  {0,0,0,0,0,0}
13707 };
13709  {0,0}
13710 };
13712  0
13713 };
13714 
13716  "uiSelectBox",
13721  0
13722 };
13724 static const char *swig_uiSelectBox_base_names[] = {"uiAbstractOptionNode_t *",0};
13726 
13727 static int _wrap_uiSequence_is_playing(lua_State* L) {
13728  int SWIG_arg = 0;
13729  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13730  bool result;
13731 
13732  SWIG_check_num_args("uiSequenceNode_t::is_playing",1,1)
13733  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::is_playing",1,"uiSequenceNode_t *");
13734 
13735  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13736  SWIG_fail_ptr("uiSequence_is_playing",1,SWIGTYPE_p_uiSequenceNode_t);
13737  }
13738 
13739  result = (bool)uiSequenceNode_t_is_playing(arg1);
13740  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13741  return SWIG_arg;
13742 
13743  if(0) SWIG_fail;
13744 
13745 fail:
13746  lua_error(L);
13747  return SWIG_arg;
13748 }
13749 
13750 
13751 static int _wrap_uiSequence_set_source(lua_State* L) {
13752  int SWIG_arg = 0;
13753  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13754  char *arg2 = (char *) 0 ;
13755 
13756  SWIG_check_num_args("uiSequenceNode_t::set_source",2,2)
13757  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::set_source",1,"uiSequenceNode_t *");
13758  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSequenceNode_t::set_source",2,"char const *");
13759 
13760  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13761  SWIG_fail_ptr("uiSequence_set_source",1,SWIGTYPE_p_uiSequenceNode_t);
13762  }
13763 
13764  arg2 = (char *)lua_tostring(L, 2);
13765  uiSequenceNode_t_set_source(arg1,(char const *)arg2);
13766 
13767  return SWIG_arg;
13768 
13769  if(0) SWIG_fail;
13770 
13771 fail:
13772  lua_error(L);
13773  return SWIG_arg;
13774 }
13775 
13776 
13777 static int _wrap_uiSequence_lua_onEnd_set(lua_State* L) {
13778  int SWIG_arg = 0;
13779  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13780  LUA_EVENT arg2 ;
13781 
13782  SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",2,2)
13783  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13784 
13785  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13786  SWIG_fail_ptr("uiSequence_lua_onEnd_set",1,SWIGTYPE_p_uiSequenceNode_t);
13787  }
13788 
13789  {
13790  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
13791  }
13792  uiSequenceNode_t_lua_onEnd_set(arg1,arg2);
13793 
13794  return SWIG_arg;
13795 
13796  if(0) SWIG_fail;
13797 
13798 fail:
13799  lua_error(L);
13800  return SWIG_arg;
13801 }
13802 
13803 
13804 static int _wrap_uiSequence_lua_onEnd_get(lua_State* L) {
13805  int SWIG_arg = 0;
13806  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13807  LUA_EVENT result;
13808 
13809  SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",1,1)
13810  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13811 
13812  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13813  SWIG_fail_ptr("uiSequence_lua_onEnd_get",1,SWIGTYPE_p_uiSequenceNode_t);
13814  }
13815 
13816  result = uiSequenceNode_t_lua_onEnd_get(arg1);
13817  {
13818  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
13819  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
13820  }
13821  return SWIG_arg;
13822 
13823  if(0) SWIG_fail;
13824 
13825 fail:
13826  lua_error(L);
13827  return SWIG_arg;
13828 }
13829 
13830 
13831 static int _wrap_new_uiSequence(lua_State* L) {
13832  int SWIG_arg = 0;
13833  uiSequenceNode_t *result = 0 ;
13834 
13835  SWIG_check_num_args("uiSequenceNode_t::uiSequenceNode_t",0,0)
13836  result = (uiSequenceNode_t *)new uiSequenceNode_t();
13837  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,1); SWIG_arg++;
13838  return SWIG_arg;
13839 
13840  if(0) SWIG_fail;
13841 
13842 fail:
13843  lua_error(L);
13844  return SWIG_arg;
13845 }
13846 
13847 
13848 static void swig_delete_uiSequence(void *obj) {
13849 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) obj;
13850 delete arg1;
13851 }
13852 static int _proxy__wrap_new_uiSequence(lua_State *L) {
13853  assert(lua_istable(L,1));
13854  lua_pushcfunction(L,_wrap_new_uiSequence);
13855  assert(!lua_isnil(L,-1));
13856  lua_replace(L,1); /* replace our table with real constructor */
13857  lua_call(L,lua_gettop(L)-1,1);
13858  return 1;
13859 }
13862  {0,0,0}
13863 };
13865  { "is_playing", _wrap_uiSequence_is_playing},
13866  { "set_source", _wrap_uiSequence_set_source},
13867  {0,0}
13868 };
13870  {0,0}
13871 };
13872 
13874  {0,0,0}
13875 };
13877  {0,0,0,0,0,0}
13878 };
13880  {0,0}
13881 };
13883  0
13884 };
13885 
13887  "uiSequence",
13892  0
13893 };
13895 static const char *swig_uiSequence_base_names[] = {"uiNode_t *",0};
13897 
13898 static int _wrap_uiSpinner_is_horizontal(lua_State* L) {
13899  int SWIG_arg = 0;
13900  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13901  bool result;
13902 
13903  SWIG_check_num_args("uiSpinnerNode_t::is_horizontal",1,1)
13904  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_horizontal",1,"uiSpinnerNode_t *");
13905 
13906  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13907  SWIG_fail_ptr("uiSpinner_is_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
13908  }
13909 
13910  result = (bool)uiSpinnerNode_t_is_horizontal(arg1);
13911  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13912  return SWIG_arg;
13913 
13914  if(0) SWIG_fail;
13915 
13916 fail:
13917  lua_error(L);
13918  return SWIG_arg;
13919 }
13920 
13921 
13922 static int _wrap_uiSpinner_is_inverted(lua_State* L) {
13923  int SWIG_arg = 0;
13924  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13925  bool result;
13926 
13927  SWIG_check_num_args("uiSpinnerNode_t::is_inverted",1,1)
13928  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_inverted",1,"uiSpinnerNode_t *");
13929 
13930  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13931  SWIG_fail_ptr("uiSpinner_is_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
13932  }
13933 
13934  result = (bool)uiSpinnerNode_t_is_inverted(arg1);
13935  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13936  return SWIG_arg;
13937 
13938  if(0) SWIG_fail;
13939 
13940 fail:
13941  lua_error(L);
13942  return SWIG_arg;
13943 }
13944 
13945 
13946 static int _wrap_uiSpinner_mode(lua_State* L) {
13947  int SWIG_arg = 0;
13948  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13949  int result;
13950 
13951  SWIG_check_num_args("uiSpinnerNode_t::mode",1,1)
13952  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::mode",1,"uiSpinnerNode_t *");
13953 
13954  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13955  SWIG_fail_ptr("uiSpinner_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
13956  }
13957 
13958  result = (int)uiSpinnerNode_t_mode(arg1);
13959  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13960  return SWIG_arg;
13961 
13962  if(0) SWIG_fail;
13963 
13964 fail:
13965  lua_error(L);
13966  return SWIG_arg;
13967 }
13968 
13969 
13970 static int _wrap_uiSpinner_set_background(lua_State* L) {
13971  int SWIG_arg = 0;
13972  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13973  char *arg2 = (char *) 0 ;
13974 
13975  SWIG_check_num_args("uiSpinnerNode_t::set_background",2,2)
13976  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_background",1,"uiSpinnerNode_t *");
13977  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_background",2,"char const *");
13978 
13979  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13980  SWIG_fail_ptr("uiSpinner_set_background",1,SWIGTYPE_p_uiSpinnerNode_t);
13981  }
13982 
13983  arg2 = (char *)lua_tostring(L, 2);
13984  uiSpinnerNode_t_set_background(arg1,(char const *)arg2);
13985 
13986  return SWIG_arg;
13987 
13988  if(0) SWIG_fail;
13989 
13990 fail:
13991  lua_error(L);
13992  return SWIG_arg;
13993 }
13994 
13995 
13996 static int _wrap_uiSpinner_set_topicon(lua_State* L) {
13997  int SWIG_arg = 0;
13998  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13999  char *arg2 = (char *) 0 ;
14000 
14001  SWIG_check_num_args("uiSpinnerNode_t::set_topicon",2,2)
14002  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",1,"uiSpinnerNode_t *");
14003  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",2,"char const *");
14004 
14005  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14006  SWIG_fail_ptr("uiSpinner_set_topicon",1,SWIGTYPE_p_uiSpinnerNode_t);
14007  }
14008 
14009  arg2 = (char *)lua_tostring(L, 2);
14010  uiSpinnerNode_t_set_topicon(arg1,(char const *)arg2);
14011 
14012  return SWIG_arg;
14013 
14014  if(0) SWIG_fail;
14015 
14016 fail:
14017  lua_error(L);
14018  return SWIG_arg;
14019 }
14020 
14021 
14022 static int _wrap_uiSpinner_set_bottomicon(lua_State* L) {
14023  int SWIG_arg = 0;
14024  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14025  char *arg2 = (char *) 0 ;
14026 
14027  SWIG_check_num_args("uiSpinnerNode_t::set_bottomicon",2,2)
14028  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",1,"uiSpinnerNode_t *");
14029  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",2,"char const *");
14030 
14031  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14032  SWIG_fail_ptr("uiSpinner_set_bottomicon",1,SWIGTYPE_p_uiSpinnerNode_t);
14033  }
14034 
14035  arg2 = (char *)lua_tostring(L, 2);
14036  uiSpinnerNode_t_set_bottomicon(arg1,(char const *)arg2);
14037 
14038  return SWIG_arg;
14039 
14040  if(0) SWIG_fail;
14041 
14042 fail:
14043  lua_error(L);
14044  return SWIG_arg;
14045 }
14046 
14047 
14048 static int _wrap_uiSpinner_set_mode(lua_State* L) {
14049  int SWIG_arg = 0;
14050  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14051  int arg2 ;
14052 
14053  SWIG_check_num_args("uiSpinnerNode_t::set_mode",2,2)
14054  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",1,"uiSpinnerNode_t *");
14055  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",2,"int");
14056 
14057  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14058  SWIG_fail_ptr("uiSpinner_set_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
14059  }
14060 
14061  arg2 = (int)lua_tonumber(L, 2);
14062  uiSpinnerNode_t_set_mode(arg1,arg2);
14063 
14064  return SWIG_arg;
14065 
14066  if(0) SWIG_fail;
14067 
14068 fail:
14069  lua_error(L);
14070  return SWIG_arg;
14071 }
14072 
14073 
14074 static int _wrap_uiSpinner_set_horizontal(lua_State* L) {
14075  int SWIG_arg = 0;
14076  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14077  bool arg2 ;
14078 
14079  SWIG_check_num_args("uiSpinnerNode_t::set_horizontal",2,2)
14080  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",1,"uiSpinnerNode_t *");
14081  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",2,"bool");
14082 
14083  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14084  SWIG_fail_ptr("uiSpinner_set_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
14085  }
14086 
14087  arg2 = (lua_toboolean(L, 2)!=0);
14088  uiSpinnerNode_t_set_horizontal(arg1,arg2);
14089 
14090  return SWIG_arg;
14091 
14092  if(0) SWIG_fail;
14093 
14094 fail:
14095  lua_error(L);
14096  return SWIG_arg;
14097 }
14098 
14099 
14100 static int _wrap_uiSpinner_set_inverted(lua_State* L) {
14101  int SWIG_arg = 0;
14102  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14103  bool arg2 ;
14104 
14105  SWIG_check_num_args("uiSpinnerNode_t::set_inverted",2,2)
14106  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",1,"uiSpinnerNode_t *");
14107  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",2,"bool");
14108 
14109  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14110  SWIG_fail_ptr("uiSpinner_set_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
14111  }
14112 
14113  arg2 = (lua_toboolean(L, 2)!=0);
14114  uiSpinnerNode_t_set_inverted(arg1,arg2);
14115 
14116  return SWIG_arg;
14117 
14118  if(0) SWIG_fail;
14119 
14120 fail:
14121  lua_error(L);
14122  return SWIG_arg;
14123 }
14124 
14125 
14126 static int _wrap_new_uiSpinner(lua_State* L) {
14127  int SWIG_arg = 0;
14128  uiSpinnerNode_t *result = 0 ;
14129 
14130  SWIG_check_num_args("uiSpinnerNode_t::uiSpinnerNode_t",0,0)
14131  result = (uiSpinnerNode_t *)new uiSpinnerNode_t();
14132  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,1); SWIG_arg++;
14133  return SWIG_arg;
14134 
14135  if(0) SWIG_fail;
14136 
14137 fail:
14138  lua_error(L);
14139  return SWIG_arg;
14140 }
14141 
14142 
14143 static void swig_delete_uiSpinner(void *obj) {
14144 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) obj;
14145 delete arg1;
14146 }
14147 static int _proxy__wrap_new_uiSpinner(lua_State *L) {
14148  assert(lua_istable(L,1));
14149  lua_pushcfunction(L,_wrap_new_uiSpinner);
14150  assert(!lua_isnil(L,-1));
14151  lua_replace(L,1); /* replace our table with real constructor */
14152  lua_call(L,lua_gettop(L)-1,1);
14153  return 1;
14154 }
14156  {0,0,0}
14157 };
14159  { "is_horizontal", _wrap_uiSpinner_is_horizontal},
14160  { "is_inverted", _wrap_uiSpinner_is_inverted},
14161  { "mode", _wrap_uiSpinner_mode},
14162  { "set_background", _wrap_uiSpinner_set_background},
14163  { "set_topicon", _wrap_uiSpinner_set_topicon},
14164  { "set_bottomicon", _wrap_uiSpinner_set_bottomicon},
14165  { "set_mode", _wrap_uiSpinner_set_mode},
14166  { "set_horizontal", _wrap_uiSpinner_set_horizontal},
14167  { "set_inverted", _wrap_uiSpinner_set_inverted},
14168  {0,0}
14169 };
14171  {0,0}
14172 };
14173 
14175  {0,0,0}
14176 };
14178  {0,0,0,0,0,0}
14179 };
14181  {0,0}
14182 };
14184  0
14185 };
14186 
14188  "uiSpinner",
14193  0
14194 };
14196 static const char *swig_uiSpinner_base_names[] = {"uiAbstractValueNode_t *",0};
14198 
14199 static int _wrap_uiString_longlines(lua_State* L) {
14200  int SWIG_arg = 0;
14201  uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14202  int result;
14203 
14204  SWIG_check_num_args("uiStringNode_t::longlines",1,1)
14205  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::longlines",1,"uiStringNode_t *");
14206 
14207  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14208  SWIG_fail_ptr("uiString_longlines",1,SWIGTYPE_p_uiStringNode_t);
14209  }
14210 
14211  result = (int)uiStringNode_t_longlines(arg1);
14212  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14213  return SWIG_arg;
14214 
14215  if(0) SWIG_fail;
14216 
14217 fail:
14218  lua_error(L);
14219  return SWIG_arg;
14220 }
14221 
14222 
14223 static int _wrap_uiString_set_longlines(lua_State* L) {
14224  int SWIG_arg = 0;
14225  uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14226  int arg2 ;
14227 
14228  SWIG_check_num_args("uiStringNode_t::set_longlines",2,2)
14229  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::set_longlines",1,"uiStringNode_t *");
14230  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiStringNode_t::set_longlines",2,"int");
14231 
14232  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14233  SWIG_fail_ptr("uiString_set_longlines",1,SWIGTYPE_p_uiStringNode_t);
14234  }
14235 
14236  arg2 = (int)lua_tonumber(L, 2);
14237  uiStringNode_t_set_longlines(arg1,arg2);
14238 
14239  return SWIG_arg;
14240 
14241  if(0) SWIG_fail;
14242 
14243 fail:
14244  lua_error(L);
14245  return SWIG_arg;
14246 }
14247 
14248 
14249 static int _wrap_new_uiString(lua_State* L) {
14250  int SWIG_arg = 0;
14251  uiStringNode_t *result = 0 ;
14252 
14253  SWIG_check_num_args("uiStringNode_t::uiStringNode_t",0,0)
14254  result = (uiStringNode_t *)new uiStringNode_t();
14255  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,1); SWIG_arg++;
14256  return SWIG_arg;
14257 
14258  if(0) SWIG_fail;
14259 
14260 fail:
14261  lua_error(L);
14262  return SWIG_arg;
14263 }
14264 
14265 
14266 static void swig_delete_uiString(void *obj) {
14267 uiStringNode_t *arg1 = (uiStringNode_t *) obj;
14268 delete arg1;
14269 }
14270 static int _proxy__wrap_new_uiString(lua_State *L) {
14271  assert(lua_istable(L,1));
14272  lua_pushcfunction(L,_wrap_new_uiString);
14273  assert(!lua_isnil(L,-1));
14274  lua_replace(L,1); /* replace our table with real constructor */
14275  lua_call(L,lua_gettop(L)-1,1);
14276  return 1;
14277 }
14279  {0,0,0}
14280 };
14282  { "longlines", _wrap_uiString_longlines},
14283  { "set_longlines", _wrap_uiString_set_longlines},
14284  {0,0}
14285 };
14287  {0,0}
14288 };
14289 
14291  {0,0,0}
14292 };
14294  {0,0,0,0,0,0}
14295 };
14297  {0,0}
14298 };
14300  0
14301 };
14302 
14304  "uiString",
14309  0
14310 };
14312 static const char *swig_uiString_base_names[] = {"uiNode_t *",0};
14314 
14315 static int _wrap_new_uiTab(lua_State* L) {
14316  int SWIG_arg = 0;
14317  uiTabNode_t *result = 0 ;
14318 
14319  SWIG_check_num_args("uiTabNode_t::uiTabNode_t",0,0)
14320  result = (uiTabNode_t *)new uiTabNode_t();
14321  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,1); SWIG_arg++;
14322  return SWIG_arg;
14323 
14324  if(0) SWIG_fail;
14325 
14326 fail:
14327  lua_error(L);
14328  return SWIG_arg;
14329 }
14330 
14331 
14332 static void swig_delete_uiTab(void *obj) {
14333 uiTabNode_t *arg1 = (uiTabNode_t *) obj;
14334 delete arg1;
14335 }
14336 static int _proxy__wrap_new_uiTab(lua_State *L) {
14337  assert(lua_istable(L,1));
14338  lua_pushcfunction(L,_wrap_new_uiTab);
14339  assert(!lua_isnil(L,-1));
14340  lua_replace(L,1); /* replace our table with real constructor */
14341  lua_call(L,lua_gettop(L)-1,1);
14342  return 1;
14343 }
14345  {0,0,0}
14346 };
14348  {0,0}
14349 };
14351  {0,0}
14352 };
14353 
14355  {0,0,0}
14356 };
14358  {0,0,0,0,0,0}
14359 };
14361  {0,0}
14362 };
14364  0
14365 };
14366 
14368  "uiTab",
14373  0
14374 };
14376 static const char *swig_uiTab_base_names[] = {"uiAbstractOptionNode_t *",0};
14378 
14379 static int _wrap_uiTBar_texh(lua_State* L) {
14380  int SWIG_arg = 0;
14381  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14382  vec2_struct_t *result = 0 ;
14383 
14384  SWIG_check_num_args("uiTBarNode_t::texh",1,1)
14385  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texh",1,"uiTBarNode_t *");
14386 
14387  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14388  SWIG_fail_ptr("uiTBar_texh",1,SWIGTYPE_p_uiTBarNode_t);
14389  }
14390 
14391  result = (vec2_struct_t *)uiTBarNode_t_texh(arg1);
14392  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14393  return SWIG_arg;
14394 
14395  if(0) SWIG_fail;
14396 
14397 fail:
14398  lua_error(L);
14399  return SWIG_arg;
14400 }
14401 
14402 
14403 static int _wrap_uiTBar_texl(lua_State* L) {
14404  int SWIG_arg = 0;
14405  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14406  vec2_struct_t *result = 0 ;
14407 
14408  SWIG_check_num_args("uiTBarNode_t::texl",1,1)
14409  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texl",1,"uiTBarNode_t *");
14410 
14411  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14412  SWIG_fail_ptr("uiTBar_texl",1,SWIGTYPE_p_uiTBarNode_t);
14413  }
14414 
14415  result = (vec2_struct_t *)uiTBarNode_t_texl(arg1);
14416  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14417  return SWIG_arg;
14418 
14419  if(0) SWIG_fail;
14420 
14421 fail:
14422  lua_error(L);
14423  return SWIG_arg;
14424 }
14425 
14426 
14427 static int _wrap_uiTBar_set_source(lua_State* L) {
14428  int SWIG_arg = 0;
14429  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14430  char *arg2 = (char *) 0 ;
14431 
14432  SWIG_check_num_args("uiTBarNode_t::set_source",2,2)
14433  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_source",1,"uiTBarNode_t *");
14434  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTBarNode_t::set_source",2,"char const *");
14435 
14436  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14437  SWIG_fail_ptr("uiTBar_set_source",1,SWIGTYPE_p_uiTBarNode_t);
14438  }
14439 
14440  arg2 = (char *)lua_tostring(L, 2);
14441  uiTBarNode_t_set_source(arg1,(char const *)arg2);
14442 
14443  return SWIG_arg;
14444 
14445  if(0) SWIG_fail;
14446 
14447 fail:
14448  lua_error(L);
14449  return SWIG_arg;
14450 }
14451 
14452 
14453 static int _wrap_uiTBar_set_texh(lua_State* L) {
14454  int SWIG_arg = 0;
14455  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14456  float arg2 ;
14457  float arg3 ;
14458 
14459  SWIG_check_num_args("uiTBarNode_t::set_texh",3,3)
14460  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texh",1,"uiTBarNode_t *");
14461  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texh",2,"float");
14462  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texh",3,"float");
14463 
14464  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14465  SWIG_fail_ptr("uiTBar_set_texh",1,SWIGTYPE_p_uiTBarNode_t);
14466  }
14467 
14468  arg2 = (float)lua_tonumber(L, 2);
14469  arg3 = (float)lua_tonumber(L, 3);
14470  uiTBarNode_t_set_texh(arg1,arg2,arg3);
14471 
14472  return SWIG_arg;
14473 
14474  if(0) SWIG_fail;
14475 
14476 fail:
14477  lua_error(L);
14478  return SWIG_arg;
14479 }
14480 
14481 
14482 static int _wrap_uiTBar_set_texl(lua_State* L) {
14483  int SWIG_arg = 0;
14484  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14485  float arg2 ;
14486  float arg3 ;
14487 
14488  SWIG_check_num_args("uiTBarNode_t::set_texl",3,3)
14489  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texl",1,"uiTBarNode_t *");
14490  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texl",2,"float");
14491  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texl",3,"float");
14492 
14493  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14494  SWIG_fail_ptr("uiTBar_set_texl",1,SWIGTYPE_p_uiTBarNode_t);
14495  }
14496 
14497  arg2 = (float)lua_tonumber(L, 2);
14498  arg3 = (float)lua_tonumber(L, 3);
14499  uiTBarNode_t_set_texl(arg1,arg2,arg3);
14500 
14501  return SWIG_arg;
14502 
14503  if(0) SWIG_fail;
14504 
14505 fail:
14506  lua_error(L);
14507  return SWIG_arg;
14508 }
14509 
14510 
14511 static int _wrap_new_uiTBar(lua_State* L) {
14512  int SWIG_arg = 0;
14513  uiTBarNode_t *result = 0 ;
14514 
14515  SWIG_check_num_args("uiTBarNode_t::uiTBarNode_t",0,0)
14516  result = (uiTBarNode_t *)new uiTBarNode_t();
14517  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,1); SWIG_arg++;
14518  return SWIG_arg;
14519 
14520  if(0) SWIG_fail;
14521 
14522 fail:
14523  lua_error(L);
14524  return SWIG_arg;
14525 }
14526 
14527 
14528 static void swig_delete_uiTBar(void *obj) {
14529 uiTBarNode_t *arg1 = (uiTBarNode_t *) obj;
14530 delete arg1;
14531 }
14532 static int _proxy__wrap_new_uiTBar(lua_State *L) {
14533  assert(lua_istable(L,1));
14534  lua_pushcfunction(L,_wrap_new_uiTBar);
14535  assert(!lua_isnil(L,-1));
14536  lua_replace(L,1); /* replace our table with real constructor */
14537  lua_call(L,lua_gettop(L)-1,1);
14538  return 1;
14539 }
14541  {0,0,0}
14542 };
14544  { "texh", _wrap_uiTBar_texh},
14545  { "texl", _wrap_uiTBar_texl},
14546  { "set_source", _wrap_uiTBar_set_source},
14547  { "set_texh", _wrap_uiTBar_set_texh},
14548  { "set_texl", _wrap_uiTBar_set_texl},
14549  {0,0}
14550 };
14552  {0,0}
14553 };
14554 
14556  {0,0,0}
14557 };
14559  {0,0,0,0,0,0}
14560 };
14562  {0,0}
14563 };
14565  0
14566 };
14567 
14569  "uiTBar",
14574  0
14575 };
14577 static const char *swig_uiTBar_base_names[] = {"uiAbstractValueNode_t *",0};
14579 
14580 static int _wrap_uiText_dataid(lua_State* L) {
14581  int SWIG_arg = 0;
14582  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14583  int result;
14584 
14585  SWIG_check_num_args("uiTextNode_t::dataid",1,1)
14586  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::dataid",1,"uiTextNode_t *");
14587 
14588  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14589  SWIG_fail_ptr("uiText_dataid",1,SWIGTYPE_p_uiTextNode_t);
14590  }
14591 
14592  result = (int)uiTextNode_t_dataid(arg1);
14593  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14594  return SWIG_arg;
14595 
14596  if(0) SWIG_fail;
14597 
14598 fail:
14599  lua_error(L);
14600  return SWIG_arg;
14601 }
14602 
14603 
14604 static int _wrap_uiText_lineheight(lua_State* L) {
14605  int SWIG_arg = 0;
14606  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14607  int result;
14608 
14609  SWIG_check_num_args("uiTextNode_t::lineheight",1,1)
14610  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineheight",1,"uiTextNode_t *");
14611 
14612  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14613  SWIG_fail_ptr("uiText_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14614  }
14615 
14616  result = (int)uiTextNode_t_lineheight(arg1);
14617  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14618  return SWIG_arg;
14619 
14620  if(0) SWIG_fail;
14621 
14622 fail:
14623  lua_error(L);
14624  return SWIG_arg;
14625 }
14626 
14627 
14628 static int _wrap_uiText_lineselected(lua_State* L) {
14629  int SWIG_arg = 0;
14630  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14631  int result;
14632 
14633  SWIG_check_num_args("uiTextNode_t::lineselected",1,1)
14634  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineselected",1,"uiTextNode_t *");
14635 
14636  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14637  SWIG_fail_ptr("uiText_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14638  }
14639 
14640  result = (int)uiTextNode_t_lineselected(arg1);
14641  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14642  return SWIG_arg;
14643 
14644  if(0) SWIG_fail;
14645 
14646 fail:
14647  lua_error(L);
14648  return SWIG_arg;
14649 }
14650 
14651 
14652 static int _wrap_uiText_longlines(lua_State* L) {
14653  int SWIG_arg = 0;
14654  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14655  int result;
14656 
14657  SWIG_check_num_args("uiTextNode_t::longlines",1,1)
14658  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::longlines",1,"uiTextNode_t *");
14659 
14660  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14661  SWIG_fail_ptr("uiText_longlines",1,SWIGTYPE_p_uiTextNode_t);
14662  }
14663 
14664  result = (int)uiTextNode_t_longlines(arg1);
14665  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14666  return SWIG_arg;
14667 
14668  if(0) SWIG_fail;
14669 
14670 fail:
14671  lua_error(L);
14672  return SWIG_arg;
14673 }
14674 
14675 
14676 static int _wrap_uiText_textselected(lua_State* L) {
14677  int SWIG_arg = 0;
14678  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14679  char *result = 0 ;
14680 
14681  SWIG_check_num_args("uiTextNode_t::textselected",1,1)
14682  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::textselected",1,"uiTextNode_t *");
14683 
14684  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14685  SWIG_fail_ptr("uiText_textselected",1,SWIGTYPE_p_uiTextNode_t);
14686  }
14687 
14688  result = (char *)uiTextNode_t_textselected(arg1);
14689  lua_pushstring(L,(const char *)result); SWIG_arg++;
14690  return SWIG_arg;
14691 
14692  if(0) SWIG_fail;
14693 
14694 fail:
14695  lua_error(L);
14696  return SWIG_arg;
14697 }
14698 
14699 
14700 static int _wrap_uiText_tabwidth(lua_State* L) {
14701  int SWIG_arg = 0;
14702  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14703  int result;
14704 
14705  SWIG_check_num_args("uiTextNode_t::tabwidth",1,1)
14706  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::tabwidth",1,"uiTextNode_t *");
14707 
14708  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14709  SWIG_fail_ptr("uiText_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14710  }
14711 
14712  result = (int)uiTextNode_t_tabwidth(arg1);
14713  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14714  return SWIG_arg;
14715 
14716  if(0) SWIG_fail;
14717 
14718 fail:
14719  lua_error(L);
14720  return SWIG_arg;
14721 }
14722 
14723 
14724 static int _wrap_uiText_set_dataid(lua_State* L) {
14725  int SWIG_arg = 0;
14726  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14727  int arg2 ;
14728 
14729  SWIG_check_num_args("uiTextNode_t::set_dataid",2,2)
14730  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_dataid",1,"uiTextNode_t *");
14731  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_dataid",2,"int");
14732 
14733  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14734  SWIG_fail_ptr("uiText_set_dataid",1,SWIGTYPE_p_uiTextNode_t);
14735  }
14736 
14737  arg2 = (int)lua_tonumber(L, 2);
14738  uiTextNode_t_set_dataid(arg1,arg2);
14739 
14740  return SWIG_arg;
14741 
14742  if(0) SWIG_fail;
14743 
14744 fail:
14745  lua_error(L);
14746  return SWIG_arg;
14747 }
14748 
14749 
14750 static int _wrap_uiText_set_longlines(lua_State* L) {
14751  int SWIG_arg = 0;
14752  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14753  int arg2 ;
14754 
14755  SWIG_check_num_args("uiTextNode_t::set_longlines",2,2)
14756  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_longlines",1,"uiTextNode_t *");
14757  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_longlines",2,"int");
14758 
14759  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14760  SWIG_fail_ptr("uiText_set_longlines",1,SWIGTYPE_p_uiTextNode_t);
14761  }
14762 
14763  arg2 = (int)lua_tonumber(L, 2);
14764  uiTextNode_t_set_longlines(arg1,arg2);
14765 
14766  return SWIG_arg;
14767 
14768  if(0) SWIG_fail;
14769 
14770 fail:
14771  lua_error(L);
14772  return SWIG_arg;
14773 }
14774 
14775 
14776 static int _wrap_uiText_set_lineheight(lua_State* L) {
14777  int SWIG_arg = 0;
14778  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14779  int arg2 ;
14780 
14781  SWIG_check_num_args("uiTextNode_t::set_lineheight",2,2)
14782  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineheight",1,"uiTextNode_t *");
14783  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineheight",2,"int");
14784 
14785  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14786  SWIG_fail_ptr("uiText_set_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14787  }
14788 
14789  arg2 = (int)lua_tonumber(L, 2);
14790  uiTextNode_t_set_lineheight(arg1,arg2);
14791 
14792  return SWIG_arg;
14793 
14794  if(0) SWIG_fail;
14795 
14796 fail:
14797  lua_error(L);
14798  return SWIG_arg;
14799 }
14800 
14801 
14802 static int _wrap_uiText_set_lineselected(lua_State* L) {
14803  int SWIG_arg = 0;
14804  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14805  int arg2 ;
14806 
14807  SWIG_check_num_args("uiTextNode_t::set_lineselected",2,2)
14808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineselected",1,"uiTextNode_t *");
14809  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineselected",2,"int");
14810 
14811  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14812  SWIG_fail_ptr("uiText_set_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14813  }
14814 
14815  arg2 = (int)lua_tonumber(L, 2);
14816  uiTextNode_t_set_lineselected(arg1,arg2);
14817 
14818  return SWIG_arg;
14819 
14820  if(0) SWIG_fail;
14821 
14822 fail:
14823  lua_error(L);
14824  return SWIG_arg;
14825 }
14826 
14827 
14828 static int _wrap_uiText_set_tabwidth(lua_State* L) {
14829  int SWIG_arg = 0;
14830  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14831  int arg2 ;
14832 
14833  SWIG_check_num_args("uiTextNode_t::set_tabwidth",2,2)
14834  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",1,"uiTextNode_t *");
14835  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",2,"int");
14836 
14837  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14838  SWIG_fail_ptr("uiText_set_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14839  }
14840 
14841  arg2 = (int)lua_tonumber(L, 2);
14842  uiTextNode_t_set_tabwidth(arg1,arg2);
14843 
14844  return SWIG_arg;
14845 
14846  if(0) SWIG_fail;
14847 
14848 fail:
14849  lua_error(L);
14850  return SWIG_arg;
14851 }
14852 
14853 
14854 static int _wrap_new_uiText(lua_State* L) {
14855  int SWIG_arg = 0;
14856  uiTextNode_t *result = 0 ;
14857 
14858  SWIG_check_num_args("uiTextNode_t::uiTextNode_t",0,0)
14859  result = (uiTextNode_t *)new uiTextNode_t();
14860  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,1); SWIG_arg++;
14861  return SWIG_arg;
14862 
14863  if(0) SWIG_fail;
14864 
14865 fail:
14866  lua_error(L);
14867  return SWIG_arg;
14868 }
14869 
14870 
14871 static void swig_delete_uiText(void *obj) {
14872 uiTextNode_t *arg1 = (uiTextNode_t *) obj;
14873 delete arg1;
14874 }
14875 static int _proxy__wrap_new_uiText(lua_State *L) {
14876  assert(lua_istable(L,1));
14877  lua_pushcfunction(L,_wrap_new_uiText);
14878  assert(!lua_isnil(L,-1));
14879  lua_replace(L,1); /* replace our table with real constructor */
14880  lua_call(L,lua_gettop(L)-1,1);
14881  return 1;
14882 }
14884  {0,0,0}
14885 };
14887  { "dataid", _wrap_uiText_dataid},
14888  { "lineheight", _wrap_uiText_lineheight},
14889  { "lineselected", _wrap_uiText_lineselected},
14890  { "longlines", _wrap_uiText_longlines},
14891  { "textselected", _wrap_uiText_textselected},
14892  { "tabwidth", _wrap_uiText_tabwidth},
14893  { "set_dataid", _wrap_uiText_set_dataid},
14894  { "set_longlines", _wrap_uiText_set_longlines},
14895  { "set_lineheight", _wrap_uiText_set_lineheight},
14896  { "set_lineselected", _wrap_uiText_set_lineselected},
14897  { "set_tabwidth", _wrap_uiText_set_tabwidth},
14898  {0,0}
14899 };
14901  {0,0}
14902 };
14903 
14905  {0,0,0}
14906 };
14908  {0,0,0,0,0,0}
14909 };
14911  {0,0}
14912 };
14914  0
14915 };
14916 
14918  "uiText",
14923  0
14924 };
14926 static const char *swig_uiText_base_names[] = {"uiAbstractScrollableNode_t *",0};
14928 
14929 static int _wrap_new_uiText2(lua_State* L) {
14930  int SWIG_arg = 0;
14931  uiText2Node_t *result = 0 ;
14932 
14933  SWIG_check_num_args("uiText2Node_t::uiText2Node_t",0,0)
14934  result = (uiText2Node_t *)new uiText2Node_t();
14935  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,1); SWIG_arg++;
14936  return SWIG_arg;
14937 
14938  if(0) SWIG_fail;
14939 
14940 fail:
14941  lua_error(L);
14942  return SWIG_arg;
14943 }
14944 
14945 
14946 static void swig_delete_uiText2(void *obj) {
14947 uiText2Node_t *arg1 = (uiText2Node_t *) obj;
14948 delete arg1;
14949 }
14950 static int _proxy__wrap_new_uiText2(lua_State *L) {
14951  assert(lua_istable(L,1));
14952  lua_pushcfunction(L,_wrap_new_uiText2);
14953  assert(!lua_isnil(L,-1));
14954  lua_replace(L,1); /* replace our table with real constructor */
14955  lua_call(L,lua_gettop(L)-1,1);
14956  return 1;
14957 }
14959  {0,0,0}
14960 };
14962  {0,0}
14963 };
14965  {0,0}
14966 };
14967 
14969  {0,0,0}
14970 };
14972  {0,0,0,0,0,0}
14973 };
14975  {0,0}
14976 };
14978  0
14979 };
14980 
14982  "uiText2",
14987  0
14988 };
14990 static const char *swig_uiText2_base_names[] = {"uiTextNode_t *",0};
14992 
14993 static int _wrap_uiTextEntry_is_password(lua_State* L) {
14994  int SWIG_arg = 0;
14995  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14996  bool result;
14997 
14998  SWIG_check_num_args("uiTextEntryNode_t::is_password",1,1)
14999  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_password",1,"uiTextEntryNode_t *");
15000 
15001  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15002  SWIG_fail_ptr("uiTextEntry_is_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15003  }
15004 
15005  result = (bool)uiTextEntryNode_t_is_password(arg1);
15006  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15007  return SWIG_arg;
15008 
15009  if(0) SWIG_fail;
15010 
15011 fail:
15012  lua_error(L);
15013  return SWIG_arg;
15014 }
15015 
15016 
15017 static int _wrap_uiTextEntry_is_clickoutabort(lua_State* L) {
15018  int SWIG_arg = 0;
15019  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15020  bool result;
15021 
15022  SWIG_check_num_args("uiTextEntryNode_t::is_clickoutabort",1,1)
15023  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_clickoutabort",1,"uiTextEntryNode_t *");
15024 
15025  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15026  SWIG_fail_ptr("uiTextEntry_is_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15027  }
15028 
15029  result = (bool)uiTextEntryNode_t_is_clickoutabort(arg1);
15030  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15031  return SWIG_arg;
15032 
15033  if(0) SWIG_fail;
15034 
15035 fail:
15036  lua_error(L);
15037  return SWIG_arg;
15038 }
15039 
15040 
15041 static int _wrap_uiTextEntry_cursorposition(lua_State* L) {
15042  int SWIG_arg = 0;
15043  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15044  int result;
15045 
15046  SWIG_check_num_args("uiTextEntryNode_t::cursorposition",1,1)
15047  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::cursorposition",1,"uiTextEntryNode_t *");
15048 
15049  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15050  SWIG_fail_ptr("uiTextEntry_cursorposition",1,SWIGTYPE_p_uiTextEntryNode_t);
15051  }
15052 
15053  result = (int)uiTextEntryNode_t_cursorposition(arg1);
15054  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15055  return SWIG_arg;
15056 
15057  if(0) SWIG_fail;
15058 
15059 fail:
15060  lua_error(L);
15061  return SWIG_arg;
15062 }
15063 
15064 
15065 static int _wrap_uiTextEntry_set_password(lua_State* L) {
15066  int SWIG_arg = 0;
15067  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15068  bool arg2 ;
15069 
15070  SWIG_check_num_args("uiTextEntryNode_t::set_password",2,2)
15071  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_password",1,"uiTextEntryNode_t *");
15072  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_password",2,"bool");
15073 
15074  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15075  SWIG_fail_ptr("uiTextEntry_set_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15076  }
15077 
15078  arg2 = (lua_toboolean(L, 2)!=0);
15079  uiTextEntryNode_t_set_password(arg1,arg2);
15080 
15081  return SWIG_arg;
15082 
15083  if(0) SWIG_fail;
15084 
15085 fail:
15086  lua_error(L);
15087  return SWIG_arg;
15088 }
15089 
15090 
15091 static int _wrap_uiTextEntry_set_clickoutabort(lua_State* L) {
15092  int SWIG_arg = 0;
15093  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15094  bool arg2 ;
15095 
15096  SWIG_check_num_args("uiTextEntryNode_t::set_clickoutabort",2,2)
15097  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",1,"uiTextEntryNode_t *");
15098  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",2,"bool");
15099 
15100  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15101  SWIG_fail_ptr("uiTextEntry_set_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15102  }
15103 
15104  arg2 = (lua_toboolean(L, 2)!=0);
15106 
15107  return SWIG_arg;
15108 
15109  if(0) SWIG_fail;
15110 
15111 fail:
15112  lua_error(L);
15113  return SWIG_arg;
15114 }
15115 
15116 
15117 static int _wrap_uiTextEntry_set_background(lua_State* L) {
15118  int SWIG_arg = 0;
15119  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15120  char *arg2 = (char *) 0 ;
15121 
15122  SWIG_check_num_args("uiTextEntryNode_t::set_background",2,2)
15123  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_background",1,"uiTextEntryNode_t *");
15124  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_background",2,"char const *");
15125 
15126  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15127  SWIG_fail_ptr("uiTextEntry_set_background",1,SWIGTYPE_p_uiTextEntryNode_t);
15128  }
15129 
15130  arg2 = (char *)lua_tostring(L, 2);
15131  uiTextEntryNode_t_set_background(arg1,(char const *)arg2);
15132 
15133  return SWIG_arg;
15134 
15135  if(0) SWIG_fail;
15136 
15137 fail:
15138  lua_error(L);
15139  return SWIG_arg;
15140 }
15141 
15142 
15143 static int _wrap_uiTextEntry_focus(lua_State* L) {
15144  int SWIG_arg = 0;
15145  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15146 
15147  SWIG_check_num_args("uiTextEntryNode_t::focus",1,1)
15148  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::focus",1,"uiTextEntryNode_t *");
15149 
15150  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15151  SWIG_fail_ptr("uiTextEntry_focus",1,SWIGTYPE_p_uiTextEntryNode_t);
15152  }
15153 
15155 
15156  return SWIG_arg;
15157 
15158  if(0) SWIG_fail;
15159 
15160 fail:
15161  lua_error(L);
15162  return SWIG_arg;
15163 }
15164 
15165 
15166 static int _wrap_uiTextEntry_unfocus(lua_State* L) {
15167  int SWIG_arg = 0;
15168  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15169 
15170  SWIG_check_num_args("uiTextEntryNode_t::unfocus",1,1)
15171  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::unfocus",1,"uiTextEntryNode_t *");
15172 
15173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15174  SWIG_fail_ptr("uiTextEntry_unfocus",1,SWIGTYPE_p_uiTextEntryNode_t);
15175  }
15176 
15178 
15179  return SWIG_arg;
15180 
15181  if(0) SWIG_fail;
15182 
15183 fail:
15184  lua_error(L);
15185  return SWIG_arg;
15186 }
15187 
15188 
15189 static int _wrap_uiTextEntry_on_textabort_set(lua_State* L) {
15190  int SWIG_arg = 0;
15191  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15192  LUA_EVENT arg2 ;
15193 
15194  SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",2,2)
15195  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15196 
15197  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15198  SWIG_fail_ptr("uiTextEntry_on_textabort_set",1,SWIGTYPE_p_uiTextEntryNode_t);
15199  }
15200 
15201  {
15202  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15203  }
15205 
15206  return SWIG_arg;
15207 
15208  if(0) SWIG_fail;
15209 
15210 fail:
15211  lua_error(L);
15212  return SWIG_arg;
15213 }
15214 
15215 
15216 static int _wrap_uiTextEntry_on_textabort_get(lua_State* L) {
15217  int SWIG_arg = 0;
15218  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15219  LUA_EVENT result;
15220 
15221  SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",1,1)
15222  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15223 
15224  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15225  SWIG_fail_ptr("uiTextEntry_on_textabort_get",1,SWIGTYPE_p_uiTextEntryNode_t);
15226  }
15227 
15229  {
15230  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15231  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15232  }
15233  return SWIG_arg;
15234 
15235  if(0) SWIG_fail;
15236 
15237 fail:
15238  lua_error(L);
15239  return SWIG_arg;
15240 }
15241 
15242 
15243 static int _wrap_new_uiTextEntry(lua_State* L) {
15244  int SWIG_arg = 0;
15245  uiTextEntryNode_t *result = 0 ;
15246 
15247  SWIG_check_num_args("uiTextEntryNode_t::uiTextEntryNode_t",0,0)
15248  result = (uiTextEntryNode_t *)new uiTextEntryNode_t();
15249  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,1); SWIG_arg++;
15250  return SWIG_arg;
15251 
15252  if(0) SWIG_fail;
15253 
15254 fail:
15255  lua_error(L);
15256  return SWIG_arg;
15257 }
15258 
15259 
15260 static void swig_delete_uiTextEntry(void *obj) {
15261 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) obj;
15262 delete arg1;
15263 }
15264 static int _proxy__wrap_new_uiTextEntry(lua_State *L) {
15265  assert(lua_istable(L,1));
15266  lua_pushcfunction(L,_wrap_new_uiTextEntry);
15267  assert(!lua_isnil(L,-1));
15268  lua_replace(L,1); /* replace our table with real constructor */
15269  lua_call(L,lua_gettop(L)-1,1);
15270  return 1;
15271 }
15274  {0,0,0}
15275 };
15277  { "is_password", _wrap_uiTextEntry_is_password},
15278  { "is_clickoutabort", _wrap_uiTextEntry_is_clickoutabort},
15279  { "cursorposition", _wrap_uiTextEntry_cursorposition},
15280  { "set_password", _wrap_uiTextEntry_set_password},
15281  { "set_clickoutabort", _wrap_uiTextEntry_set_clickoutabort},
15282  { "set_background", _wrap_uiTextEntry_set_background},
15283  { "focus", _wrap_uiTextEntry_focus},
15284  { "unfocus", _wrap_uiTextEntry_unfocus},
15285  {0,0}
15286 };
15288  {0,0}
15289 };
15290 
15292  {0,0,0}
15293 };
15295  {0,0,0,0,0,0}
15296 };
15298  {0,0}
15299 };
15301  0
15302 };
15303 
15305  "uiTextEntry",
15310  0
15311 };
15313 static const char *swig_uiTextEntry_base_names[] = {"uiNode_t *",0};
15315 
15316 static int _wrap_new_uiTextList(lua_State* L) {
15317  int SWIG_arg = 0;
15318  uiTextListNode_t *result = 0 ;
15319 
15320  SWIG_check_num_args("uiTextListNode_t::uiTextListNode_t",0,0)
15321  result = (uiTextListNode_t *)new uiTextListNode_t();
15322  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,1); SWIG_arg++;
15323  return SWIG_arg;
15324 
15325  if(0) SWIG_fail;
15326 
15327 fail:
15328  lua_error(L);
15329  return SWIG_arg;
15330 }
15331 
15332 
15333 static void swig_delete_uiTextList(void *obj) {
15334 uiTextListNode_t *arg1 = (uiTextListNode_t *) obj;
15335 delete arg1;
15336 }
15337 static int _proxy__wrap_new_uiTextList(lua_State *L) {
15338  assert(lua_istable(L,1));
15339  lua_pushcfunction(L,_wrap_new_uiTextList);
15340  assert(!lua_isnil(L,-1));
15341  lua_replace(L,1); /* replace our table with real constructor */
15342  lua_call(L,lua_gettop(L)-1,1);
15343  return 1;
15344 }
15346  {0,0,0}
15347 };
15349  {0,0}
15350 };
15352  {0,0}
15353 };
15354 
15356  {0,0,0}
15357 };
15359  {0,0,0,0,0,0}
15360 };
15362  {0,0}
15363 };
15365  0
15366 };
15367 
15369  "uiTextList",
15374  0
15375 };
15377 static const char *swig_uiTextList_base_names[] = {"uiTextNode_t *",0};
15379 
15380 static int _wrap_uiTexture_set_source(lua_State* L) {
15381  int SWIG_arg = 0;
15382  uiTextureNode_t *arg1 = (uiTextureNode_t *) 0 ;
15383  char *arg2 = (char *) 0 ;
15384 
15385  SWIG_check_num_args("uiTextureNode_t::set_source",2,2)
15386  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextureNode_t::set_source",1,"uiTextureNode_t *");
15387  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextureNode_t::set_source",2,"char const *");
15388 
15389  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextureNode_t,0))){
15390  SWIG_fail_ptr("uiTexture_set_source",1,SWIGTYPE_p_uiTextureNode_t);
15391  }
15392 
15393  arg2 = (char *)lua_tostring(L, 2);
15394  uiTextureNode_t_set_source(arg1,(char const *)arg2);
15395 
15396  return SWIG_arg;
15397 
15398  if(0) SWIG_fail;
15399 
15400 fail:
15401  lua_error(L);
15402  return SWIG_arg;
15403 }
15404 
15405 
15406 static int _wrap_new_uiTexture(lua_State* L) {
15407  int SWIG_arg = 0;
15408  uiTextureNode_t *result = 0 ;
15409 
15410  SWIG_check_num_args("uiTextureNode_t::uiTextureNode_t",0,0)
15411  result = (uiTextureNode_t *)new uiTextureNode_t();
15412  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,1); SWIG_arg++;
15413  return SWIG_arg;
15414 
15415  if(0) SWIG_fail;
15416 
15417 fail:
15418  lua_error(L);
15419  return SWIG_arg;
15420 }
15421 
15422 
15423 static void swig_delete_uiTexture(void *obj) {
15424 uiTextureNode_t *arg1 = (uiTextureNode_t *) obj;
15425 delete arg1;
15426 }
15427 static int _proxy__wrap_new_uiTexture(lua_State *L) {
15428  assert(lua_istable(L,1));
15429  lua_pushcfunction(L,_wrap_new_uiTexture);
15430  assert(!lua_isnil(L,-1));
15431  lua_replace(L,1); /* replace our table with real constructor */
15432  lua_call(L,lua_gettop(L)-1,1);
15433  return 1;
15434 }
15436  {0,0,0}
15437 };
15439  { "set_source", _wrap_uiTexture_set_source},
15440  {0,0}
15441 };
15443  {0,0}
15444 };
15445 
15447  {0,0,0}
15448 };
15450  {0,0,0,0,0,0}
15451 };
15453  {0,0}
15454 };
15456  0
15457 };
15458 
15460  "uiTexture",
15465  0
15466 };
15468 static const char *swig_uiTexture_base_names[] = {"uiNode_t *",0};
15470 
15471 static int _wrap_uiTimer_timeout(lua_State* L) {
15472  int SWIG_arg = 0;
15473  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15474  int result;
15475 
15476  SWIG_check_num_args("uiTimerNode_t::timeout",1,1)
15477  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::timeout",1,"uiTimerNode_t *");
15478 
15479  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15480  SWIG_fail_ptr("uiTimer_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15481  }
15482 
15483  result = (int)uiTimerNode_t_timeout(arg1);
15484  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15485  return SWIG_arg;
15486 
15487  if(0) SWIG_fail;
15488 
15489 fail:
15490  lua_error(L);
15491  return SWIG_arg;
15492 }
15493 
15494 
15495 static int _wrap_uiTimer_set_timeout(lua_State* L) {
15496  int SWIG_arg = 0;
15497  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15498  int arg2 ;
15499 
15500  SWIG_check_num_args("uiTimerNode_t::set_timeout",2,2)
15501  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::set_timeout",1,"uiTimerNode_t *");
15502  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTimerNode_t::set_timeout",2,"int");
15503 
15504  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15505  SWIG_fail_ptr("uiTimer_set_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15506  }
15507 
15508  arg2 = (int)lua_tonumber(L, 2);
15509  uiTimerNode_t_set_timeout(arg1,arg2);
15510 
15511  return SWIG_arg;
15512 
15513  if(0) SWIG_fail;
15514 
15515 fail:
15516  lua_error(L);
15517  return SWIG_arg;
15518 }
15519 
15520 
15521 static int _wrap_uiTimer_lua_onEvent_set(lua_State* L) {
15522  int SWIG_arg = 0;
15523  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15524  LUA_EVENT arg2 ;
15525 
15526  SWIG_check_num_args("uiTimerNode_t::lua_onEvent",2,2)
15527  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15528 
15529  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15530  SWIG_fail_ptr("uiTimer_lua_onEvent_set",1,SWIGTYPE_p_uiTimerNode_t);
15531  }
15532 
15533  {
15534  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15535  }
15536  uiTimerNode_t_lua_onEvent_set(arg1,arg2);
15537 
15538  return SWIG_arg;
15539 
15540  if(0) SWIG_fail;
15541 
15542 fail:
15543  lua_error(L);
15544  return SWIG_arg;
15545 }
15546 
15547 
15548 static int _wrap_uiTimer_lua_onEvent_get(lua_State* L) {
15549  int SWIG_arg = 0;
15550  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15551  LUA_EVENT result;
15552 
15553  SWIG_check_num_args("uiTimerNode_t::lua_onEvent",1,1)
15554  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15555 
15556  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15557  SWIG_fail_ptr("uiTimer_lua_onEvent_get",1,SWIGTYPE_p_uiTimerNode_t);
15558  }
15559 
15560  result = uiTimerNode_t_lua_onEvent_get(arg1);
15561  {
15562  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15563  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15564  }
15565  return SWIG_arg;
15566 
15567  if(0) SWIG_fail;
15568 
15569 fail:
15570  lua_error(L);
15571  return SWIG_arg;
15572 }
15573 
15574 
15575 static int _wrap_new_uiTimer(lua_State* L) {
15576  int SWIG_arg = 0;
15577  uiTimerNode_t *result = 0 ;
15578 
15579  SWIG_check_num_args("uiTimerNode_t::uiTimerNode_t",0,0)
15580  result = (uiTimerNode_t *)new uiTimerNode_t();
15581  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,1); SWIG_arg++;
15582  return SWIG_arg;
15583 
15584  if(0) SWIG_fail;
15585 
15586 fail:
15587  lua_error(L);
15588  return SWIG_arg;
15589 }
15590 
15591 
15592 static void swig_delete_uiTimer(void *obj) {
15593 uiTimerNode_t *arg1 = (uiTimerNode_t *) obj;
15594 delete arg1;
15595 }
15596 static int _proxy__wrap_new_uiTimer(lua_State *L) {
15597  assert(lua_istable(L,1));
15598  lua_pushcfunction(L,_wrap_new_uiTimer);
15599  assert(!lua_isnil(L,-1));
15600  lua_replace(L,1); /* replace our table with real constructor */
15601  lua_call(L,lua_gettop(L)-1,1);
15602  return 1;
15603 }
15606  {0,0,0}
15607 };
15609  { "timeout", _wrap_uiTimer_timeout},
15610  { "set_timeout", _wrap_uiTimer_set_timeout},
15611  {0,0}
15612 };
15614  {0,0}
15615 };
15616 
15618  {0,0,0}
15619 };
15621  {0,0,0,0,0,0}
15622 };
15624  {0,0}
15625 };
15627  0
15628 };
15629 
15631  "uiTimer",
15636  0
15637 };
15639 static const char *swig_uiTimer_base_names[] = {"uiNode_t *",0};
15641 
15642 static int _wrap_uiVideo_is_nosound(lua_State* L) {
15643  int SWIG_arg = 0;
15644  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15645  bool result;
15646 
15647  SWIG_check_num_args("uiVideoNode_t::is_nosound",1,1)
15648  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::is_nosound",1,"uiVideoNode_t *");
15649 
15650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15651  SWIG_fail_ptr("uiVideo_is_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15652  }
15653 
15654  result = (bool)uiVideoNode_t_is_nosound(arg1);
15655  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15656  return SWIG_arg;
15657 
15658  if(0) SWIG_fail;
15659 
15660 fail:
15661  lua_error(L);
15662  return SWIG_arg;
15663 }
15664 
15665 
15666 static int _wrap_uiVideo_set_nosound(lua_State* L) {
15667  int SWIG_arg = 0;
15668  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15669  bool arg2 ;
15670 
15671  SWIG_check_num_args("uiVideoNode_t::set_nosound",2,2)
15672  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_nosound",1,"uiVideoNode_t *");
15673  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiVideoNode_t::set_nosound",2,"bool");
15674 
15675  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15676  SWIG_fail_ptr("uiVideo_set_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15677  }
15678 
15679  arg2 = (lua_toboolean(L, 2)!=0);
15680  uiVideoNode_t_set_nosound(arg1,arg2);
15681 
15682  return SWIG_arg;
15683 
15684  if(0) SWIG_fail;
15685 
15686 fail:
15687  lua_error(L);
15688  return SWIG_arg;
15689 }
15690 
15691 
15692 static int _wrap_uiVideo_set_source(lua_State* L) {
15693  int SWIG_arg = 0;
15694  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15695  char *arg2 = (char *) 0 ;
15696 
15697  SWIG_check_num_args("uiVideoNode_t::set_source",2,2)
15698  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_source",1,"uiVideoNode_t *");
15699  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiVideoNode_t::set_source",2,"char const *");
15700 
15701  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15702  SWIG_fail_ptr("uiVideo_set_source",1,SWIGTYPE_p_uiVideoNode_t);
15703  }
15704 
15705  arg2 = (char *)lua_tostring(L, 2);
15706  uiVideoNode_t_set_source(arg1,(char const *)arg2);
15707 
15708  return SWIG_arg;
15709 
15710  if(0) SWIG_fail;
15711 
15712 fail:
15713  lua_error(L);
15714  return SWIG_arg;
15715 }
15716 
15717 
15718 static int _wrap_uiVideo_lua_onEnd_set(lua_State* L) {
15719  int SWIG_arg = 0;
15720  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15721  LUA_EVENT arg2 ;
15722 
15723  SWIG_check_num_args("uiVideoNode_t::lua_onEnd",2,2)
15724  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15725 
15726  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15727  SWIG_fail_ptr("uiVideo_lua_onEnd_set",1,SWIGTYPE_p_uiVideoNode_t);
15728  }
15729 
15730  {
15731  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15732  }
15733  uiVideoNode_t_lua_onEnd_set(arg1,arg2);
15734 
15735  return SWIG_arg;
15736 
15737  if(0) SWIG_fail;
15738 
15739 fail:
15740  lua_error(L);
15741  return SWIG_arg;
15742 }
15743 
15744 
15745 static int _wrap_uiVideo_lua_onEnd_get(lua_State* L) {
15746  int SWIG_arg = 0;
15747  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15748  LUA_EVENT result;
15749 
15750  SWIG_check_num_args("uiVideoNode_t::lua_onEnd",1,1)
15751  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15752 
15753  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15754  SWIG_fail_ptr("uiVideo_lua_onEnd_get",1,SWIGTYPE_p_uiVideoNode_t);
15755  }
15756 
15757  result = uiVideoNode_t_lua_onEnd_get(arg1);
15758  {
15759  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15760  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15761  }
15762  return SWIG_arg;
15763 
15764  if(0) SWIG_fail;
15765 
15766 fail:
15767  lua_error(L);
15768  return SWIG_arg;
15769 }
15770 
15771 
15772 static int _wrap_new_uiVideo(lua_State* L) {
15773  int SWIG_arg = 0;
15774  uiVideoNode_t *result = 0 ;
15775 
15776  SWIG_check_num_args("uiVideoNode_t::uiVideoNode_t",0,0)
15777  result = (uiVideoNode_t *)new uiVideoNode_t();
15778  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,1); SWIG_arg++;
15779  return SWIG_arg;
15780 
15781  if(0) SWIG_fail;
15782 
15783 fail:
15784  lua_error(L);
15785  return SWIG_arg;
15786 }
15787 
15788 
15789 static void swig_delete_uiVideo(void *obj) {
15790 uiVideoNode_t *arg1 = (uiVideoNode_t *) obj;
15791 delete arg1;
15792 }
15793 static int _proxy__wrap_new_uiVideo(lua_State *L) {
15794  assert(lua_istable(L,1));
15795  lua_pushcfunction(L,_wrap_new_uiVideo);
15796  assert(!lua_isnil(L,-1));
15797  lua_replace(L,1); /* replace our table with real constructor */
15798  lua_call(L,lua_gettop(L)-1,1);
15799  return 1;
15800 }
15803  {0,0,0}
15804 };
15806  { "is_nosound", _wrap_uiVideo_is_nosound},
15807  { "set_nosound", _wrap_uiVideo_set_nosound},
15808  { "set_source", _wrap_uiVideo_set_source},
15809  {0,0}
15810 };
15812  {0,0}
15813 };
15814 
15816  {0,0,0}
15817 };
15819  {0,0,0,0,0,0}
15820 };
15822  {0,0}
15823 };
15825  0
15826 };
15827 
15829  "uiVideo",
15834  0
15835 };
15837 static const char *swig_uiVideo_base_names[] = {"uiNode_t *",0};
15839 
15840 static int _wrap_new_uiVScrollbar(lua_State* L) {
15841  int SWIG_arg = 0;
15842  uiVScrollBarNode_t *result = 0 ;
15843 
15844  SWIG_check_num_args("uiVScrollBarNode_t::uiVScrollBarNode_t",0,0)
15845  result = (uiVScrollBarNode_t *)new uiVScrollBarNode_t();
15846  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,1); SWIG_arg++;
15847  return SWIG_arg;
15848 
15849  if(0) SWIG_fail;
15850 
15851 fail:
15852  lua_error(L);
15853  return SWIG_arg;
15854 }
15855 
15856 
15857 static void swig_delete_uiVScrollbar(void *obj) {
15858 uiVScrollBarNode_t *arg1 = (uiVScrollBarNode_t *) obj;
15859 delete arg1;
15860 }
15861 static int _proxy__wrap_new_uiVScrollbar(lua_State *L) {
15862  assert(lua_istable(L,1));
15863  lua_pushcfunction(L,_wrap_new_uiVScrollbar);
15864  assert(!lua_isnil(L,-1));
15865  lua_replace(L,1); /* replace our table with real constructor */
15866  lua_call(L,lua_gettop(L)-1,1);
15867  return 1;
15868 }
15870  {0,0,0}
15871 };
15873  {0,0}
15874 };
15876  {0,0}
15877 };
15878 
15880  {0,0,0}
15881 };
15883  {0,0,0,0,0,0}
15884 };
15886  {0,0}
15887 };
15889  0
15890 };
15891 
15893  "uiVScrollbar",
15898  0
15899 };
15901 static const char *swig_uiVScrollbar_base_names[] = {"uiAbstractScrollbarNode_t *",0};
15903 
15904 static int _wrap_new_uiWidget(lua_State* L) {
15905  int SWIG_arg = 0;
15906  uiWidgetNode_t *result = 0 ;
15907 
15908  SWIG_check_num_args("uiWidgetNode_t::uiWidgetNode_t",0,0)
15909  result = (uiWidgetNode_t *)new uiWidgetNode_t();
15910  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,1); SWIG_arg++;
15911  return SWIG_arg;
15912 
15913  if(0) SWIG_fail;
15914 
15915 fail:
15916  lua_error(L);
15917  return SWIG_arg;
15918 }
15919 
15920 
15921 static void swig_delete_uiWidget(void *obj) {
15922 uiWidgetNode_t *arg1 = (uiWidgetNode_t *) obj;
15923 delete arg1;
15924 }
15925 static int _proxy__wrap_new_uiWidget(lua_State *L) {
15926  assert(lua_istable(L,1));
15927  lua_pushcfunction(L,_wrap_new_uiWidget);
15928  assert(!lua_isnil(L,-1));
15929  lua_replace(L,1); /* replace our table with real constructor */
15930  lua_call(L,lua_gettop(L)-1,1);
15931  return 1;
15932 }
15934  {0,0,0}
15935 };
15937  {0,0}
15938 };
15940  {0,0}
15941 };
15942 
15944  {0,0,0}
15945 };
15947  {0,0,0,0,0,0}
15948 };
15950  {0,0}
15951 };
15953  0
15954 };
15955 
15957  "uiWidget",
15962  0
15963 };
15965 static const char *swig_uiWidget_base_names[] = {"uiImageNode_t *",0};
15967 
15968 static int _wrap_uiWindow_is_fullscreen(lua_State* L) {
15969  int SWIG_arg = 0;
15970  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15971  bool result;
15972 
15973  SWIG_check_num_args("uiWindowNode_t::is_fullscreen",1,1)
15974  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_fullscreen",1,"uiWindowNode_t *");
15975 
15976  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15977  SWIG_fail_ptr("uiWindow_is_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
15978  }
15979 
15980  result = (bool)uiWindowNode_t_is_fullscreen(arg1);
15981  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15982  return SWIG_arg;
15983 
15984  if(0) SWIG_fail;
15985 
15986 fail:
15987  lua_error(L);
15988  return SWIG_arg;
15989 }
15990 
15991 
15992 static int _wrap_uiWindow_is_modal(lua_State* L) {
15993  int SWIG_arg = 0;
15994  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15995  bool result;
15996 
15997  SWIG_check_num_args("uiWindowNode_t::is_modal",1,1)
15998  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_modal",1,"uiWindowNode_t *");
15999 
16000  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16001  SWIG_fail_ptr("uiWindow_is_modal",1,SWIGTYPE_p_uiWindowNode_t);
16002  }
16003 
16004  result = (bool)uiWindowNode_t_is_modal(arg1);
16005  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16006  return SWIG_arg;
16007 
16008  if(0) SWIG_fail;
16009 
16010 fail:
16011  lua_error(L);
16012  return SWIG_arg;
16013 }
16014 
16015 
16016 static int _wrap_uiWindow_is_starlayout(lua_State* L) {
16017  int SWIG_arg = 0;
16018  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16019  bool result;
16020 
16021  SWIG_check_num_args("uiWindowNode_t::is_starlayout",1,1)
16022  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_starlayout",1,"uiWindowNode_t *");
16023 
16024  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16025  SWIG_fail_ptr("uiWindow_is_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16026  }
16027 
16028  result = (bool)uiWindowNode_t_is_starlayout(arg1);
16029  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16030  return SWIG_arg;
16031 
16032  if(0) SWIG_fail;
16033 
16034 fail:
16035  lua_error(L);
16036  return SWIG_arg;
16037 }
16038 
16039 
16040 static int _wrap_uiWindow_close(lua_State* L) {
16041  int SWIG_arg = 0;
16042  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16043 
16044  SWIG_check_num_args("uiWindowNode_t::close",1,1)
16045  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::close",1,"uiWindowNode_t *");
16046 
16047  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16048  SWIG_fail_ptr("uiWindow_close",1,SWIGTYPE_p_uiWindowNode_t);
16049  }
16050 
16051  uiWindowNode_t_close(arg1);
16052 
16053  return SWIG_arg;
16054 
16055  if(0) SWIG_fail;
16056 
16057 fail:
16058  lua_error(L);
16059  return SWIG_arg;
16060 }
16061 
16062 
16063 static int _wrap_uiWindow_open(lua_State* L) {
16064  int SWIG_arg = 0;
16065  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16066 
16067  SWIG_check_num_args("uiWindowNode_t::open",1,1)
16068  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::open",1,"uiWindowNode_t *");
16069 
16070  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16071  SWIG_fail_ptr("uiWindow_open",1,SWIGTYPE_p_uiWindowNode_t);
16072  }
16073 
16074  uiWindowNode_t_open(arg1);
16075 
16076  return SWIG_arg;
16077 
16078  if(0) SWIG_fail;
16079 
16080 fail:
16081  lua_error(L);
16082  return SWIG_arg;
16083 }
16084 
16085 
16086 static int _wrap_uiWindow_set_background(lua_State* L) {
16087  int SWIG_arg = 0;
16088  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16089  char *arg2 = (char *) 0 ;
16090 
16091  SWIG_check_num_args("uiWindowNode_t::set_background",2,2)
16092  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_background",1,"uiWindowNode_t *");
16093  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiWindowNode_t::set_background",2,"char const *");
16094 
16095  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16096  SWIG_fail_ptr("uiWindow_set_background",1,SWIGTYPE_p_uiWindowNode_t);
16097  }
16098 
16099  arg2 = (char *)lua_tostring(L, 2);
16100  uiWindowNode_t_set_background(arg1,(char const *)arg2);
16101 
16102  return SWIG_arg;
16103 
16104  if(0) SWIG_fail;
16105 
16106 fail:
16107  lua_error(L);
16108  return SWIG_arg;
16109 }
16110 
16111 
16112 static int _wrap_uiWindow_set_fullscreen(lua_State* L) {
16113  int SWIG_arg = 0;
16114  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16115  bool arg2 ;
16116 
16117  SWIG_check_num_args("uiWindowNode_t::set_fullscreen",2,2)
16118  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",1,"uiWindowNode_t *");
16119  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",2,"bool");
16120 
16121  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16122  SWIG_fail_ptr("uiWindow_set_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
16123  }
16124 
16125  arg2 = (lua_toboolean(L, 2)!=0);
16126  uiWindowNode_t_set_fullscreen(arg1,arg2);
16127 
16128  return SWIG_arg;
16129 
16130  if(0) SWIG_fail;
16131 
16132 fail:
16133  lua_error(L);
16134  return SWIG_arg;
16135 }
16136 
16137 
16138 static int _wrap_uiWindow_set_modal(lua_State* L) {
16139  int SWIG_arg = 0;
16140  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16141  bool arg2 ;
16142 
16143  SWIG_check_num_args("uiWindowNode_t::set_modal",2,2)
16144  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_modal",1,"uiWindowNode_t *");
16145  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_modal",2,"bool");
16146 
16147  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16148  SWIG_fail_ptr("uiWindow_set_modal",1,SWIGTYPE_p_uiWindowNode_t);
16149  }
16150 
16151  arg2 = (lua_toboolean(L, 2)!=0);
16152  uiWindowNode_t_set_modal(arg1,arg2);
16153 
16154  return SWIG_arg;
16155 
16156  if(0) SWIG_fail;
16157 
16158 fail:
16159  lua_error(L);
16160  return SWIG_arg;
16161 }
16162 
16163 
16164 static int _wrap_uiWindow_set_fill(lua_State* L) {
16165  int SWIG_arg = 0;
16166  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16167  bool arg2 ;
16168 
16169  SWIG_check_num_args("uiWindowNode_t::set_fill",2,2)
16170  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fill",1,"uiWindowNode_t *");
16171  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fill",2,"bool");
16172 
16173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16174  SWIG_fail_ptr("uiWindow_set_fill",1,SWIGTYPE_p_uiWindowNode_t);
16175  }
16176 
16177  arg2 = (lua_toboolean(L, 2)!=0);
16178  uiWindowNode_t_set_fill(arg1,arg2);
16179 
16180  return SWIG_arg;
16181 
16182  if(0) SWIG_fail;
16183 
16184 fail:
16185  lua_error(L);
16186  return SWIG_arg;
16187 }
16188 
16189 
16190 static int _wrap_uiWindow_set_dragbutton(lua_State* L) {
16191  int SWIG_arg = 0;
16192  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16193  bool arg2 ;
16194 
16195  SWIG_check_num_args("uiWindowNode_t::set_dragbutton",2,2)
16196  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",1,"uiWindowNode_t *");
16197  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",2,"bool");
16198 
16199  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16200  SWIG_fail_ptr("uiWindow_set_dragbutton",1,SWIGTYPE_p_uiWindowNode_t);
16201  }
16202 
16203  arg2 = (lua_toboolean(L, 2)!=0);
16204  uiWindowNode_t_set_dragbutton(arg1,arg2);
16205 
16206  return SWIG_arg;
16207 
16208  if(0) SWIG_fail;
16209 
16210 fail:
16211  lua_error(L);
16212  return SWIG_arg;
16213 }
16214 
16215 
16216 static int _wrap_uiWindow_set_closebutton(lua_State* L) {
16217  int SWIG_arg = 0;
16218  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16219  bool arg2 ;
16220 
16221  SWIG_check_num_args("uiWindowNode_t::set_closebutton",2,2)
16222  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",1,"uiWindowNode_t *");
16223  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",2,"bool");
16224 
16225  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16226  SWIG_fail_ptr("uiWindow_set_closebutton",1,SWIGTYPE_p_uiWindowNode_t);
16227  }
16228 
16229  arg2 = (lua_toboolean(L, 2)!=0);
16230  uiWindowNode_t_set_closebutton(arg1,arg2);
16231 
16232  return SWIG_arg;
16233 
16234  if(0) SWIG_fail;
16235 
16236 fail:
16237  lua_error(L);
16238  return SWIG_arg;
16239 }
16240 
16241 
16242 static int _wrap_uiWindow_set_starlayout(lua_State* L) {
16243  int SWIG_arg = 0;
16244  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16245  bool arg2 ;
16246 
16247  SWIG_check_num_args("uiWindowNode_t::set_starlayout",2,2)
16248  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",1,"uiWindowNode_t *");
16249  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",2,"bool");
16250 
16251  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16252  SWIG_fail_ptr("uiWindow_set_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16253  }
16254 
16255  arg2 = (lua_toboolean(L, 2)!=0);
16256  uiWindowNode_t_set_starlayout(arg1,arg2);
16257 
16258  return SWIG_arg;
16259 
16260  if(0) SWIG_fail;
16261 
16262 fail:
16263  lua_error(L);
16264  return SWIG_arg;
16265 }
16266 
16267 
16268 static int _wrap_uiWindow_set_preventtypingescape(lua_State* L) {
16269  int SWIG_arg = 0;
16270  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16271  bool arg2 ;
16272 
16273  SWIG_check_num_args("uiWindowNode_t::set_preventtypingescape",2,2)
16274  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",1,"uiWindowNode_t *");
16275  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",2,"bool");
16276 
16277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16278  SWIG_fail_ptr("uiWindow_set_preventtypingescape",1,SWIGTYPE_p_uiWindowNode_t);
16279  }
16280 
16281  arg2 = (lua_toboolean(L, 2)!=0);
16283 
16284  return SWIG_arg;
16285 
16286  if(0) SWIG_fail;
16287 
16288 fail:
16289  lua_error(L);
16290  return SWIG_arg;
16291 }
16292 
16293 
16294 static int _wrap_uiWindow_set_noticepos(lua_State* L) {
16295  int SWIG_arg = 0;
16296  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16297  float arg2 ;
16298  float arg3 ;
16299 
16300  SWIG_check_num_args("uiWindowNode_t::set_noticepos",3,3)
16301  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",1,"uiWindowNode_t *");
16302  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",2,"float");
16303  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",3,"float");
16304 
16305  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16306  SWIG_fail_ptr("uiWindow_set_noticepos",1,SWIGTYPE_p_uiWindowNode_t);
16307  }
16308 
16309  arg2 = (float)lua_tonumber(L, 2);
16310  arg3 = (float)lua_tonumber(L, 3);
16311  uiWindowNode_t_set_noticepos(arg1,arg2,arg3);
16312 
16313  return SWIG_arg;
16314 
16315  if(0) SWIG_fail;
16316 
16317 fail:
16318  lua_error(L);
16319  return SWIG_arg;
16320 }
16321 
16322 
16323 static int _wrap_uiWindow_set_dropdown(lua_State* L) {
16324  int SWIG_arg = 0;
16325  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16326  bool arg2 ;
16327 
16328  SWIG_check_num_args("uiWindowNode_t::set_dropdown",2,2)
16329  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",1,"uiWindowNode_t *");
16330  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",2,"bool");
16331 
16332  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16333  SWIG_fail_ptr("uiWindow_set_dropdown",1,SWIGTYPE_p_uiWindowNode_t);
16334  }
16335 
16336  arg2 = (lua_toboolean(L, 2)!=0);
16337  uiWindowNode_t_set_dropdown(arg1,arg2);
16338 
16339  return SWIG_arg;
16340 
16341  if(0) SWIG_fail;
16342 
16343 fail:
16344  lua_error(L);
16345  return SWIG_arg;
16346 }
16347 
16348 
16349 static int _wrap_uiWindow_on_windowopened_set(lua_State* L) {
16350  int SWIG_arg = 0;
16351  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16352  LUA_EVENT arg2 ;
16353 
16354  SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",2,2)
16355  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16356 
16357  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16358  SWIG_fail_ptr("uiWindow_on_windowopened_set",1,SWIGTYPE_p_uiWindowNode_t);
16359  }
16360 
16361  {
16362  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16363  }
16365 
16366  return SWIG_arg;
16367 
16368  if(0) SWIG_fail;
16369 
16370 fail:
16371  lua_error(L);
16372  return SWIG_arg;
16373 }
16374 
16375 
16376 static int _wrap_uiWindow_on_windowopened_get(lua_State* L) {
16377  int SWIG_arg = 0;
16378  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16379  LUA_EVENT result;
16380 
16381  SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",1,1)
16382  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16383 
16384  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16385  SWIG_fail_ptr("uiWindow_on_windowopened_get",1,SWIGTYPE_p_uiWindowNode_t);
16386  }
16387 
16389  {
16390  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16391  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16392  }
16393  return SWIG_arg;
16394 
16395  if(0) SWIG_fail;
16396 
16397 fail:
16398  lua_error(L);
16399  return SWIG_arg;
16400 }
16401 
16402 
16403 static int _wrap_uiWindow_on_windowactivate_set(lua_State* L) {
16404  int SWIG_arg = 0;
16405  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16406  LUA_EVENT arg2 ;
16407 
16408  SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",2,2)
16409  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16410 
16411  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16412  SWIG_fail_ptr("uiWindow_on_windowactivate_set",1,SWIGTYPE_p_uiWindowNode_t);
16413  }
16414 
16415  {
16416  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16417  }
16419 
16420  return SWIG_arg;
16421 
16422  if(0) SWIG_fail;
16423 
16424 fail:
16425  lua_error(L);
16426  return SWIG_arg;
16427 }
16428 
16429 
16430 static int _wrap_uiWindow_on_windowactivate_get(lua_State* L) {
16431  int SWIG_arg = 0;
16432  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16433  LUA_EVENT result;
16434 
16435  SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",1,1)
16436  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16437 
16438  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16439  SWIG_fail_ptr("uiWindow_on_windowactivate_get",1,SWIGTYPE_p_uiWindowNode_t);
16440  }
16441 
16443  {
16444  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16445  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16446  }
16447  return SWIG_arg;
16448 
16449  if(0) SWIG_fail;
16450 
16451 fail:
16452  lua_error(L);
16453  return SWIG_arg;
16454 }
16455 
16456 
16457 static int _wrap_uiWindow_on_windowclosed_set(lua_State* L) {
16458  int SWIG_arg = 0;
16459  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16460  LUA_EVENT arg2 ;
16461 
16462  SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",2,2)
16463  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16464 
16465  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16466  SWIG_fail_ptr("uiWindow_on_windowclosed_set",1,SWIGTYPE_p_uiWindowNode_t);
16467  }
16468 
16469  {
16470  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16471  }
16473 
16474  return SWIG_arg;
16475 
16476  if(0) SWIG_fail;
16477 
16478 fail:
16479  lua_error(L);
16480  return SWIG_arg;
16481 }
16482 
16483 
16484 static int _wrap_uiWindow_on_windowclosed_get(lua_State* L) {
16485  int SWIG_arg = 0;
16486  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16487  LUA_EVENT result;
16488 
16489  SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",1,1)
16490  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16491 
16492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16493  SWIG_fail_ptr("uiWindow_on_windowclosed_get",1,SWIGTYPE_p_uiWindowNode_t);
16494  }
16495 
16497  {
16498  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16499  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16500  }
16501  return SWIG_arg;
16502 
16503  if(0) SWIG_fail;
16504 
16505 fail:
16506  lua_error(L);
16507  return SWIG_arg;
16508 }
16509 
16510 
16511 static int _wrap_new_uiWindow(lua_State* L) {
16512  int SWIG_arg = 0;
16513  uiWindowNode_t *result = 0 ;
16514 
16515  SWIG_check_num_args("uiWindowNode_t::uiWindowNode_t",0,0)
16516  result = (uiWindowNode_t *)new uiWindowNode_t();
16517  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,1); SWIG_arg++;
16518  return SWIG_arg;
16519 
16520  if(0) SWIG_fail;
16521 
16522 fail:
16523  lua_error(L);
16524  return SWIG_arg;
16525 }
16526 
16527 
16528 static void swig_delete_uiWindow(void *obj) {
16529 uiWindowNode_t *arg1 = (uiWindowNode_t *) obj;
16530 delete arg1;
16531 }
16532 static int _proxy__wrap_new_uiWindow(lua_State *L) {
16533  assert(lua_istable(L,1));
16534  lua_pushcfunction(L,_wrap_new_uiWindow);
16535  assert(!lua_isnil(L,-1));
16536  lua_replace(L,1); /* replace our table with real constructor */
16537  lua_call(L,lua_gettop(L)-1,1);
16538  return 1;
16539 }
16544  {0,0,0}
16545 };
16547  { "is_fullscreen", _wrap_uiWindow_is_fullscreen},
16548  { "is_modal", _wrap_uiWindow_is_modal},
16549  { "is_starlayout", _wrap_uiWindow_is_starlayout},
16550  { "close", _wrap_uiWindow_close},
16551  { "open", _wrap_uiWindow_open},
16552  { "set_background", _wrap_uiWindow_set_background},
16553  { "set_fullscreen", _wrap_uiWindow_set_fullscreen},
16554  { "set_modal", _wrap_uiWindow_set_modal},
16555  { "set_fill", _wrap_uiWindow_set_fill},
16556  { "set_dragbutton", _wrap_uiWindow_set_dragbutton},
16557  { "set_closebutton", _wrap_uiWindow_set_closebutton},
16558  { "set_starlayout", _wrap_uiWindow_set_starlayout},
16559  { "set_preventtypingescape", _wrap_uiWindow_set_preventtypingescape},
16560  { "set_noticepos", _wrap_uiWindow_set_noticepos},
16561  { "set_dropdown", _wrap_uiWindow_set_dropdown},
16562  {0,0}
16563 };
16565  {0,0}
16566 };
16567 
16569  {0,0,0}
16570 };
16572  {0,0,0,0,0,0}
16573 };
16575  {0,0}
16576 };
16578  0
16579 };
16580 
16582  "uiWindow",
16587  0
16588 };
16590 static const char *swig_uiWindow_base_names[] = {"uiNode_t *",0};
16592 
16593 static int _wrap_uiZone_is_repeat(lua_State* L) {
16594  int SWIG_arg = 0;
16595  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16596  bool result;
16597 
16598  SWIG_check_num_args("uiZoneNode_t::is_repeat",1,1)
16599  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::is_repeat",1,"uiZoneNode_t *");
16600 
16601  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16602  SWIG_fail_ptr("uiZone_is_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16603  }
16604 
16605  result = (bool)uiZoneNode_t_is_repeat(arg1);
16606  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16607  return SWIG_arg;
16608 
16609  if(0) SWIG_fail;
16610 
16611 fail:
16612  lua_error(L);
16613  return SWIG_arg;
16614 }
16615 
16616 
16617 static int _wrap_uiZone_clickdelay(lua_State* L) {
16618  int SWIG_arg = 0;
16619  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16620  int result;
16621 
16622  SWIG_check_num_args("uiZoneNode_t::clickdelay",1,1)
16623  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::clickdelay",1,"uiZoneNode_t *");
16624 
16625  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16626  SWIG_fail_ptr("uiZone_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16627  }
16628 
16629  result = (int)uiZoneNode_t_clickdelay(arg1);
16630  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16631  return SWIG_arg;
16632 
16633  if(0) SWIG_fail;
16634 
16635 fail:
16636  lua_error(L);
16637  return SWIG_arg;
16638 }
16639 
16640 
16641 static int _wrap_uiZone_set_repeat(lua_State* L) {
16642  int SWIG_arg = 0;
16643  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16644  bool arg2 ;
16645 
16646  SWIG_check_num_args("uiZoneNode_t::set_repeat",2,2)
16647  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_repeat",1,"uiZoneNode_t *");
16648  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiZoneNode_t::set_repeat",2,"bool");
16649 
16650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16651  SWIG_fail_ptr("uiZone_set_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16652  }
16653 
16654  arg2 = (lua_toboolean(L, 2)!=0);
16655  uiZoneNode_t_set_repeat(arg1,arg2);
16656 
16657  return SWIG_arg;
16658 
16659  if(0) SWIG_fail;
16660 
16661 fail:
16662  lua_error(L);
16663  return SWIG_arg;
16664 }
16665 
16666 
16667 static int _wrap_uiZone_set_clickdelay(lua_State* L) {
16668  int SWIG_arg = 0;
16669  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16670  int arg2 ;
16671 
16672  SWIG_check_num_args("uiZoneNode_t::set_clickdelay",2,2)
16673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",1,"uiZoneNode_t *");
16674  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",2,"int");
16675 
16676  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16677  SWIG_fail_ptr("uiZone_set_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16678  }
16679 
16680  arg2 = (int)lua_tonumber(L, 2);
16681  uiZoneNode_t_set_clickdelay(arg1,arg2);
16682 
16683  return SWIG_arg;
16684 
16685  if(0) SWIG_fail;
16686 
16687 fail:
16688  lua_error(L);
16689  return SWIG_arg;
16690 }
16691 
16692 
16693 static int _wrap_new_uiZone(lua_State* L) {
16694  int SWIG_arg = 0;
16695  uiZoneNode_t *result = 0 ;
16696 
16697  SWIG_check_num_args("uiZoneNode_t::uiZoneNode_t",0,0)
16698  result = (uiZoneNode_t *)new uiZoneNode_t();
16699  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,1); SWIG_arg++;
16700  return SWIG_arg;
16701 
16702  if(0) SWIG_fail;
16703 
16704 fail:
16705  lua_error(L);
16706  return SWIG_arg;
16707 }
16708 
16709 
16710 static void swig_delete_uiZone(void *obj) {
16711 uiZoneNode_t *arg1 = (uiZoneNode_t *) obj;
16712 delete arg1;
16713 }
16714 static int _proxy__wrap_new_uiZone(lua_State *L) {
16715  assert(lua_istable(L,1));
16716  lua_pushcfunction(L,_wrap_new_uiZone);
16717  assert(!lua_isnil(L,-1));
16718  lua_replace(L,1); /* replace our table with real constructor */
16719  lua_call(L,lua_gettop(L)-1,1);
16720  return 1;
16721 }
16723  {0,0,0}
16724 };
16726  { "is_repeat", _wrap_uiZone_is_repeat},
16727  { "clickdelay", _wrap_uiZone_clickdelay},
16728  { "set_repeat", _wrap_uiZone_set_repeat},
16729  { "set_clickdelay", _wrap_uiZone_set_clickdelay},
16730  {0,0}
16731 };
16733  {0,0}
16734 };
16735 
16737  {0,0,0}
16738 };
16740  {0,0,0,0,0,0}
16741 };
16743  {0,0}
16744 };
16746  0
16747 };
16748 
16750  "uiZone",
16755  0
16756 };
16758 static const char *swig_uiZone_base_names[] = {"uiNode_t *",0};
16760 
16761 static int _wrap_create_control(lua_State* L) {
16762  int SWIG_arg = 0;
16763  uiNode_t *arg1 = (uiNode_t *) 0 ;
16764  char *arg2 = (char *) 0 ;
16765  char *arg3 = (char *) 0 ;
16766  char *arg4 = (char *) 0 ;
16767  uiNode_t *result = 0 ;
16768 
16769  SWIG_check_num_args("UI_CreateControl",4,4)
16770  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateControl",1,"uiNode_t *");
16771  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateControl",2,"char const *");
16772  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateControl",3,"char const *");
16773  if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("UI_CreateControl",4,"char const *");
16774 
16775  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16776  SWIG_fail_ptr("create_control",1,SWIGTYPE_p_uiNode_t);
16777  }
16778 
16779  arg2 = (char *)lua_tostring(L, 2);
16780  arg3 = (char *)lua_tostring(L, 3);
16781  arg4 = (char *)lua_tostring(L, 4);
16782  result = (uiNode_t *)UI_CreateControl(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
16783  {
16784  if (result) {
16786  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
16787  } else {
16788  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
16789  }
16790  }
16791  return SWIG_arg;
16792 
16793  if(0) SWIG_fail;
16794 
16795 fail:
16796  lua_error(L);
16797  return SWIG_arg;
16798 }
16799 
16800 
16801 static int _wrap_UI_CreateBar(lua_State* L) {
16802  int SWIG_arg = 0;
16803  uiNode_t *arg1 = (uiNode_t *) 0 ;
16804  char *arg2 = (char *) 0 ;
16805  char *arg3 = (char *) 0 ;
16806  uiBarNode_t *result = 0 ;
16807 
16808  SWIG_check_num_args("UI_CreateBar",3,3)
16809  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
16810  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
16811  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
16812 
16813  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16814  SWIG_fail_ptr("UI_CreateBar",1,SWIGTYPE_p_uiNode_t);
16815  }
16816 
16817  arg2 = (char *)lua_tostring(L, 2);
16818  arg3 = (char *)lua_tostring(L, 3);
16819  result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
16820  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
16821  return SWIG_arg;
16822 
16823  if(0) SWIG_fail;
16824 
16825 fail:
16826  lua_error(L);
16827  return SWIG_arg;
16828 }
16829 
16830 
16831 static int _wrap_UI_CreateBaseLayout(lua_State* L) {
16832  int SWIG_arg = 0;
16833  uiNode_t *arg1 = (uiNode_t *) 0 ;
16834  char *arg2 = (char *) 0 ;
16835  char *arg3 = (char *) 0 ;
16836  uiBaseLayoutNode_t *result = 0 ;
16837 
16838  SWIG_check_num_args("UI_CreateBaseLayout",3,3)
16839  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
16840  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
16841  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
16842 
16843  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16844  SWIG_fail_ptr("UI_CreateBaseLayout",1,SWIGTYPE_p_uiNode_t);
16845  }
16846 
16847  arg2 = (char *)lua_tostring(L, 2);
16848  arg3 = (char *)lua_tostring(L, 3);
16849  result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
16850  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
16851  return SWIG_arg;
16852 
16853  if(0) SWIG_fail;
16854 
16855 fail:
16856  lua_error(L);
16857  return SWIG_arg;
16858 }
16859 
16860 
16861 static int _wrap_UI_CreateBaseInventory(lua_State* L) {
16862  int SWIG_arg = 0;
16863  uiNode_t *arg1 = (uiNode_t *) 0 ;
16864  char *arg2 = (char *) 0 ;
16865  char *arg3 = (char *) 0 ;
16866  uiBaseInventoryNode_t *result = 0 ;
16867 
16868  SWIG_check_num_args("UI_CreateBaseInventory",3,3)
16869  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
16870  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
16871  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
16872 
16873  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16874  SWIG_fail_ptr("UI_CreateBaseInventory",1,SWIGTYPE_p_uiNode_t);
16875  }
16876 
16877  arg2 = (char *)lua_tostring(L, 2);
16878  arg3 = (char *)lua_tostring(L, 3);
16879  result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
16880  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,0); SWIG_arg++;
16881  return SWIG_arg;
16882 
16883  if(0) SWIG_fail;
16884 
16885 fail:
16886  lua_error(L);
16887  return SWIG_arg;
16888 }
16889 
16890 
16891 static int _wrap_UI_CreateButton(lua_State* L) {
16892  int SWIG_arg = 0;
16893  uiNode_t *arg1 = (uiNode_t *) 0 ;
16894  char *arg2 = (char *) 0 ;
16895  char *arg3 = (char *) 0 ;
16896  uiButtonNode_t *result = 0 ;
16897 
16898  SWIG_check_num_args("UI_CreateButton",3,3)
16899  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
16900  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
16901  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
16902 
16903  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16904  SWIG_fail_ptr("UI_CreateButton",1,SWIGTYPE_p_uiNode_t);
16905  }
16906 
16907  arg2 = (char *)lua_tostring(L, 2);
16908  arg3 = (char *)lua_tostring(L, 3);
16909  result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
16910  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
16911  return SWIG_arg;
16912 
16913  if(0) SWIG_fail;
16914 
16915 fail:
16916  lua_error(L);
16917  return SWIG_arg;
16918 }
16919 
16920 
16921 static int _wrap_UI_CreateCheckBox(lua_State* L) {
16922  int SWIG_arg = 0;
16923  uiNode_t *arg1 = (uiNode_t *) 0 ;
16924  char *arg2 = (char *) 0 ;
16925  char *arg3 = (char *) 0 ;
16926  uiCheckBoxNode_t *result = 0 ;
16927 
16928  SWIG_check_num_args("UI_CreateCheckBox",3,3)
16929  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
16930  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
16931  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
16932 
16933  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16934  SWIG_fail_ptr("UI_CreateCheckBox",1,SWIGTYPE_p_uiNode_t);
16935  }
16936 
16937  arg2 = (char *)lua_tostring(L, 2);
16938  arg3 = (char *)lua_tostring(L, 3);
16939  result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
16940  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
16941  return SWIG_arg;
16942 
16943  if(0) SWIG_fail;
16944 
16945 fail:
16946  lua_error(L);
16947  return SWIG_arg;
16948 }
16949 
16950 
16951 static int _wrap_UI_CreateConFunc(lua_State* L) {
16952  int SWIG_arg = 0;
16953  uiNode_t *arg1 = (uiNode_t *) 0 ;
16954  char *arg2 = (char *) 0 ;
16955  char *arg3 = (char *) 0 ;
16956  uiConFuncNode_t *result = 0 ;
16957 
16958  SWIG_check_num_args("UI_CreateConFunc",3,3)
16959  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
16960  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
16961  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
16962 
16963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16964  SWIG_fail_ptr("UI_CreateConFunc",1,SWIGTYPE_p_uiNode_t);
16965  }
16966 
16967  arg2 = (char *)lua_tostring(L, 2);
16968  arg3 = (char *)lua_tostring(L, 3);
16969  result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
16970  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
16971  return SWIG_arg;
16972 
16973  if(0) SWIG_fail;
16974 
16975 fail:
16976  lua_error(L);
16977  return SWIG_arg;
16978 }
16979 
16980 
16981 static int _wrap_UI_CreateContainer(lua_State* L) {
16982  int SWIG_arg = 0;
16983  uiNode_t *arg1 = (uiNode_t *) 0 ;
16984  char *arg2 = (char *) 0 ;
16985  char *arg3 = (char *) 0 ;
16986  uiContainerNode_t *result = 0 ;
16987 
16988  SWIG_check_num_args("UI_CreateContainer",3,3)
16989  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
16990  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
16991  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
16992 
16993  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16994  SWIG_fail_ptr("UI_CreateContainer",1,SWIGTYPE_p_uiNode_t);
16995  }
16996 
16997  arg2 = (char *)lua_tostring(L, 2);
16998  arg3 = (char *)lua_tostring(L, 3);
16999  result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
17000  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
17001  return SWIG_arg;
17002 
17003  if(0) SWIG_fail;
17004 
17005 fail:
17006  lua_error(L);
17007  return SWIG_arg;
17008 }
17009 
17010 
17011 static int _wrap_UI_CreateData(lua_State* L) {
17012  int SWIG_arg = 0;
17013  uiNode_t *arg1 = (uiNode_t *) 0 ;
17014  char *arg2 = (char *) 0 ;
17015  char *arg3 = (char *) 0 ;
17016  uiDataNode_t *result = 0 ;
17017 
17018  SWIG_check_num_args("UI_CreateData",3,3)
17019  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
17020  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
17021  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
17022 
17023  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17024  SWIG_fail_ptr("UI_CreateData",1,SWIGTYPE_p_uiNode_t);
17025  }
17026 
17027  arg2 = (char *)lua_tostring(L, 2);
17028  arg3 = (char *)lua_tostring(L, 3);
17029  result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
17030  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
17031  return SWIG_arg;
17032 
17033  if(0) SWIG_fail;
17034 
17035 fail:
17036  lua_error(L);
17037  return SWIG_arg;
17038 }
17039 
17040 
17041 static int _wrap_UI_CreateGeoscape(lua_State* L) {
17042  int SWIG_arg = 0;
17043  uiNode_t *arg1 = (uiNode_t *) 0 ;
17044  char *arg2 = (char *) 0 ;
17045  char *arg3 = (char *) 0 ;
17046  uiGeoscapeNode_t *result = 0 ;
17047 
17048  SWIG_check_num_args("UI_CreateGeoscape",3,3)
17049  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
17050  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
17051  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
17052 
17053  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17054  SWIG_fail_ptr("UI_CreateGeoscape",1,SWIGTYPE_p_uiNode_t);
17055  }
17056 
17057  arg2 = (char *)lua_tostring(L, 2);
17058  arg3 = (char *)lua_tostring(L, 3);
17059  result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
17060  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
17061  return SWIG_arg;
17062 
17063  if(0) SWIG_fail;
17064 
17065 fail:
17066  lua_error(L);
17067  return SWIG_arg;
17068 }
17069 
17070 
17071 static int _wrap_UI_CreateImage(lua_State* L) {
17072  int SWIG_arg = 0;
17073  uiNode_t *arg1 = (uiNode_t *) 0 ;
17074  char *arg2 = (char *) 0 ;
17075  char *arg3 = (char *) 0 ;
17076  uiImageNode_t *result = 0 ;
17077 
17078  SWIG_check_num_args("UI_CreateImage",3,3)
17079  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
17080  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
17081  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
17082 
17083  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17084  SWIG_fail_ptr("UI_CreateImage",1,SWIGTYPE_p_uiNode_t);
17085  }
17086 
17087  arg2 = (char *)lua_tostring(L, 2);
17088  arg3 = (char *)lua_tostring(L, 3);
17089  result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
17090  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
17091  return SWIG_arg;
17092 
17093  if(0) SWIG_fail;
17094 
17095 fail:
17096  lua_error(L);
17097  return SWIG_arg;
17098 }
17099 
17100 
17101 static int _wrap_UI_CreateItem(lua_State* L) {
17102  int SWIG_arg = 0;
17103  uiNode_t *arg1 = (uiNode_t *) 0 ;
17104  char *arg2 = (char *) 0 ;
17105  char *arg3 = (char *) 0 ;
17106  uiItemNode_t *result = 0 ;
17107 
17108  SWIG_check_num_args("UI_CreateItem",3,3)
17109  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
17110  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
17111  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
17112 
17113  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17114  SWIG_fail_ptr("UI_CreateItem",1,SWIGTYPE_p_uiNode_t);
17115  }
17116 
17117  arg2 = (char *)lua_tostring(L, 2);
17118  arg3 = (char *)lua_tostring(L, 3);
17119  result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
17120  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
17121  return SWIG_arg;
17122 
17123  if(0) SWIG_fail;
17124 
17125 fail:
17126  lua_error(L);
17127  return SWIG_arg;
17128 }
17129 
17130 
17131 static int _wrap_UI_CreateLineChart(lua_State* L) {
17132  int SWIG_arg = 0;
17133  uiNode_t *arg1 = (uiNode_t *) 0 ;
17134  char *arg2 = (char *) 0 ;
17135  char *arg3 = (char *) 0 ;
17136  uiLineChartNode_t *result = 0 ;
17137 
17138  SWIG_check_num_args("UI_CreateLineChart",3,3)
17139  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
17140  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
17141  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
17142 
17143  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17144  SWIG_fail_ptr("UI_CreateLineChart",1,SWIGTYPE_p_uiNode_t);
17145  }
17146 
17147  arg2 = (char *)lua_tostring(L, 2);
17148  arg3 = (char *)lua_tostring(L, 3);
17149  result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
17150  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
17151  return SWIG_arg;
17152 
17153  if(0) SWIG_fail;
17154 
17155 fail:
17156  lua_error(L);
17157  return SWIG_arg;
17158 }
17159 
17160 
17161 static int _wrap_UI_CreateMessageList(lua_State* L) {
17162  int SWIG_arg = 0;
17163  uiNode_t *arg1 = (uiNode_t *) 0 ;
17164  char *arg2 = (char *) 0 ;
17165  char *arg3 = (char *) 0 ;
17166  uiMessageListNode_t *result = 0 ;
17167 
17168  SWIG_check_num_args("UI_CreateMessageList",3,3)
17169  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
17170  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
17171  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
17172 
17173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17174  SWIG_fail_ptr("UI_CreateMessageList",1,SWIGTYPE_p_uiNode_t);
17175  }
17176 
17177  arg2 = (char *)lua_tostring(L, 2);
17178  arg3 = (char *)lua_tostring(L, 3);
17179  result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
17180  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
17181  return SWIG_arg;
17182 
17183  if(0) SWIG_fail;
17184 
17185 fail:
17186  lua_error(L);
17187  return SWIG_arg;
17188 }
17189 
17190 
17191 static int _wrap_UI_CreateModel(lua_State* L) {
17192  int SWIG_arg = 0;
17193  uiNode_t *arg1 = (uiNode_t *) 0 ;
17194  char *arg2 = (char *) 0 ;
17195  char *arg3 = (char *) 0 ;
17196  uiModelNode_t *result = 0 ;
17197 
17198  SWIG_check_num_args("UI_CreateModel",3,3)
17199  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
17200  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
17201  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
17202 
17203  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17204  SWIG_fail_ptr("UI_CreateModel",1,SWIGTYPE_p_uiNode_t);
17205  }
17206 
17207  arg2 = (char *)lua_tostring(L, 2);
17208  arg3 = (char *)lua_tostring(L, 3);
17209  result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
17210  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
17211  return SWIG_arg;
17212 
17213  if(0) SWIG_fail;
17214 
17215 fail:
17216  lua_error(L);
17217  return SWIG_arg;
17218 }
17219 
17220 
17221 static int _wrap_UI_CreateOption(lua_State* L) {
17222  int SWIG_arg = 0;
17223  uiNode_t *arg1 = (uiNode_t *) 0 ;
17224  char *arg2 = (char *) 0 ;
17225  char *arg3 = (char *) 0 ;
17226  uiOptionNode_t *result = 0 ;
17227 
17228  SWIG_check_num_args("UI_CreateOption",3,3)
17229  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
17230  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
17231  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
17232 
17233  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17234  SWIG_fail_ptr("UI_CreateOption",1,SWIGTYPE_p_uiNode_t);
17235  }
17236 
17237  arg2 = (char *)lua_tostring(L, 2);
17238  arg3 = (char *)lua_tostring(L, 3);
17239  result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
17240  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
17241  return SWIG_arg;
17242 
17243  if(0) SWIG_fail;
17244 
17245 fail:
17246  lua_error(L);
17247  return SWIG_arg;
17248 }
17249 
17250 
17251 static int _wrap_UI_CreateOptionList(lua_State* L) {
17252  int SWIG_arg = 0;
17253  uiNode_t *arg1 = (uiNode_t *) 0 ;
17254  char *arg2 = (char *) 0 ;
17255  char *arg3 = (char *) 0 ;
17256  uiOptionListNode_t *result = 0 ;
17257 
17258  SWIG_check_num_args("UI_CreateOptionList",3,3)
17259  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
17260  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
17261  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
17262 
17263  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17264  SWIG_fail_ptr("UI_CreateOptionList",1,SWIGTYPE_p_uiNode_t);
17265  }
17266 
17267  arg2 = (char *)lua_tostring(L, 2);
17268  arg3 = (char *)lua_tostring(L, 3);
17269  result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
17270  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
17271  return SWIG_arg;
17272 
17273  if(0) SWIG_fail;
17274 
17275 fail:
17276  lua_error(L);
17277  return SWIG_arg;
17278 }
17279 
17280 
17281 static int _wrap_UI_CreateOptionTree(lua_State* L) {
17282  int SWIG_arg = 0;
17283  uiNode_t *arg1 = (uiNode_t *) 0 ;
17284  char *arg2 = (char *) 0 ;
17285  char *arg3 = (char *) 0 ;
17286  uiOptionTreeNode_t *result = 0 ;
17287 
17288  SWIG_check_num_args("UI_CreateOptionTree",3,3)
17289  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
17290  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
17291  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
17292 
17293  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17294  SWIG_fail_ptr("UI_CreateOptionTree",1,SWIGTYPE_p_uiNode_t);
17295  }
17296 
17297  arg2 = (char *)lua_tostring(L, 2);
17298  arg3 = (char *)lua_tostring(L, 3);
17299  result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
17300  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
17301  return SWIG_arg;
17302 
17303  if(0) SWIG_fail;
17304 
17305 fail:
17306  lua_error(L);
17307  return SWIG_arg;
17308 }
17309 
17310 
17311 static int _wrap_UI_CreatePanel(lua_State* L) {
17312  int SWIG_arg = 0;
17313  uiNode_t *arg1 = (uiNode_t *) 0 ;
17314  char *arg2 = (char *) 0 ;
17315  char *arg3 = (char *) 0 ;
17316  uiPanelNode_t *result = 0 ;
17317 
17318  SWIG_check_num_args("UI_CreatePanel",3,3)
17319  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
17320  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
17321  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
17322 
17323  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17324  SWIG_fail_ptr("UI_CreatePanel",1,SWIGTYPE_p_uiNode_t);
17325  }
17326 
17327  arg2 = (char *)lua_tostring(L, 2);
17328  arg3 = (char *)lua_tostring(L, 3);
17329  result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
17330  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
17331  return SWIG_arg;
17332 
17333  if(0) SWIG_fail;
17334 
17335 fail:
17336  lua_error(L);
17337  return SWIG_arg;
17338 }
17339 
17340 
17341 static int _wrap_UI_CreateRadar(lua_State* L) {
17342  int SWIG_arg = 0;
17343  uiNode_t *arg1 = (uiNode_t *) 0 ;
17344  char *arg2 = (char *) 0 ;
17345  char *arg3 = (char *) 0 ;
17346  uiRadarNode_t *result = 0 ;
17347 
17348  SWIG_check_num_args("UI_CreateRadar",3,3)
17349  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
17350  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
17351  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
17352 
17353  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17354  SWIG_fail_ptr("UI_CreateRadar",1,SWIGTYPE_p_uiNode_t);
17355  }
17356 
17357  arg2 = (char *)lua_tostring(L, 2);
17358  arg3 = (char *)lua_tostring(L, 3);
17359  result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
17360  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
17361  return SWIG_arg;
17362 
17363  if(0) SWIG_fail;
17364 
17365 fail:
17366  lua_error(L);
17367  return SWIG_arg;
17368 }
17369 
17370 
17371 static int _wrap_UI_CreateRadioButton(lua_State* L) {
17372  int SWIG_arg = 0;
17373  uiNode_t *arg1 = (uiNode_t *) 0 ;
17374  char *arg2 = (char *) 0 ;
17375  char *arg3 = (char *) 0 ;
17376  uiRadioButtonNode_t *result = 0 ;
17377 
17378  SWIG_check_num_args("UI_CreateRadioButton",3,3)
17379  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
17380  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
17381  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
17382 
17383  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17384  SWIG_fail_ptr("UI_CreateRadioButton",1,SWIGTYPE_p_uiNode_t);
17385  }
17386 
17387  arg2 = (char *)lua_tostring(L, 2);
17388  arg3 = (char *)lua_tostring(L, 3);
17389  result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
17390  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
17391  return SWIG_arg;
17392 
17393  if(0) SWIG_fail;
17394 
17395 fail:
17396  lua_error(L);
17397  return SWIG_arg;
17398 }
17399 
17400 
17401 static int _wrap_UI_CreateRows(lua_State* L) {
17402  int SWIG_arg = 0;
17403  uiNode_t *arg1 = (uiNode_t *) 0 ;
17404  char *arg2 = (char *) 0 ;
17405  char *arg3 = (char *) 0 ;
17406  uiRowsNode_t *result = 0 ;
17407 
17408  SWIG_check_num_args("UI_CreateRows",3,3)
17409  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
17410  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
17411  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
17412 
17413  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17414  SWIG_fail_ptr("UI_CreateRows",1,SWIGTYPE_p_uiNode_t);
17415  }
17416 
17417  arg2 = (char *)lua_tostring(L, 2);
17418  arg3 = (char *)lua_tostring(L, 3);
17419  result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
17420  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
17421  return SWIG_arg;
17422 
17423  if(0) SWIG_fail;
17424 
17425 fail:
17426  lua_error(L);
17427  return SWIG_arg;
17428 }
17429 
17430 
17431 static int _wrap_UI_CreateSelectBox(lua_State* L) {
17432  int SWIG_arg = 0;
17433  uiNode_t *arg1 = (uiNode_t *) 0 ;
17434  char *arg2 = (char *) 0 ;
17435  char *arg3 = (char *) 0 ;
17436  uiSelectBoxNode_t *result = 0 ;
17437 
17438  SWIG_check_num_args("UI_CreateSelectBox",3,3)
17439  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
17440  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
17441  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
17442 
17443  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17444  SWIG_fail_ptr("UI_CreateSelectBox",1,SWIGTYPE_p_uiNode_t);
17445  }
17446 
17447  arg2 = (char *)lua_tostring(L, 2);
17448  arg3 = (char *)lua_tostring(L, 3);
17449  result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
17450  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
17451  return SWIG_arg;
17452 
17453  if(0) SWIG_fail;
17454 
17455 fail:
17456  lua_error(L);
17457  return SWIG_arg;
17458 }
17459 
17460 
17461 static int _wrap_UI_CreateSequence(lua_State* L) {
17462  int SWIG_arg = 0;
17463  uiNode_t *arg1 = (uiNode_t *) 0 ;
17464  char *arg2 = (char *) 0 ;
17465  char *arg3 = (char *) 0 ;
17466  uiSequenceNode_t *result = 0 ;
17467 
17468  SWIG_check_num_args("UI_CreateSequence",3,3)
17469  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
17470  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
17471  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
17472 
17473  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17474  SWIG_fail_ptr("UI_CreateSequence",1,SWIGTYPE_p_uiNode_t);
17475  }
17476 
17477  arg2 = (char *)lua_tostring(L, 2);
17478  arg3 = (char *)lua_tostring(L, 3);
17479  result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
17480  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
17481  return SWIG_arg;
17482 
17483  if(0) SWIG_fail;
17484 
17485 fail:
17486  lua_error(L);
17487  return SWIG_arg;
17488 }
17489 
17490 
17491 static int _wrap_UI_CreateSpinner(lua_State* L) {
17492  int SWIG_arg = 0;
17493  uiNode_t *arg1 = (uiNode_t *) 0 ;
17494  char *arg2 = (char *) 0 ;
17495  char *arg3 = (char *) 0 ;
17496  uiSpinnerNode_t *result = 0 ;
17497 
17498  SWIG_check_num_args("UI_CreateSpinner",3,3)
17499  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
17500  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
17501  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
17502 
17503  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17504  SWIG_fail_ptr("UI_CreateSpinner",1,SWIGTYPE_p_uiNode_t);
17505  }
17506 
17507  arg2 = (char *)lua_tostring(L, 2);
17508  arg3 = (char *)lua_tostring(L, 3);
17509  result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
17510  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
17511  return SWIG_arg;
17512 
17513  if(0) SWIG_fail;
17514 
17515 fail:
17516  lua_error(L);
17517  return SWIG_arg;
17518 }
17519 
17520 
17521 static int _wrap_UI_CreateString(lua_State* L) {
17522  int SWIG_arg = 0;
17523  uiNode_t *arg1 = (uiNode_t *) 0 ;
17524  char *arg2 = (char *) 0 ;
17525  char *arg3 = (char *) 0 ;
17526  uiStringNode_t *result = 0 ;
17527 
17528  SWIG_check_num_args("UI_CreateString",3,3)
17529  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
17530  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
17531  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
17532 
17533  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17534  SWIG_fail_ptr("UI_CreateString",1,SWIGTYPE_p_uiNode_t);
17535  }
17536 
17537  arg2 = (char *)lua_tostring(L, 2);
17538  arg3 = (char *)lua_tostring(L, 3);
17539  result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
17540  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
17541  return SWIG_arg;
17542 
17543  if(0) SWIG_fail;
17544 
17545 fail:
17546  lua_error(L);
17547  return SWIG_arg;
17548 }
17549 
17550 
17551 static int _wrap_UI_CreateTab(lua_State* L) {
17552  int SWIG_arg = 0;
17553  uiNode_t *arg1 = (uiNode_t *) 0 ;
17554  char *arg2 = (char *) 0 ;
17555  char *arg3 = (char *) 0 ;
17556  uiTabNode_t *result = 0 ;
17557 
17558  SWIG_check_num_args("UI_CreateTab",3,3)
17559  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
17560  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
17561  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
17562 
17563  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17564  SWIG_fail_ptr("UI_CreateTab",1,SWIGTYPE_p_uiNode_t);
17565  }
17566 
17567  arg2 = (char *)lua_tostring(L, 2);
17568  arg3 = (char *)lua_tostring(L, 3);
17569  result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
17570  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
17571  return SWIG_arg;
17572 
17573  if(0) SWIG_fail;
17574 
17575 fail:
17576  lua_error(L);
17577  return SWIG_arg;
17578 }
17579 
17580 
17581 static int _wrap_UI_CreateTBar(lua_State* L) {
17582  int SWIG_arg = 0;
17583  uiNode_t *arg1 = (uiNode_t *) 0 ;
17584  char *arg2 = (char *) 0 ;
17585  char *arg3 = (char *) 0 ;
17586  uiTBarNode_t *result = 0 ;
17587 
17588  SWIG_check_num_args("UI_CreateTBar",3,3)
17589  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
17590  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
17591  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
17592 
17593  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17594  SWIG_fail_ptr("UI_CreateTBar",1,SWIGTYPE_p_uiNode_t);
17595  }
17596 
17597  arg2 = (char *)lua_tostring(L, 2);
17598  arg3 = (char *)lua_tostring(L, 3);
17599  result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
17600  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
17601  return SWIG_arg;
17602 
17603  if(0) SWIG_fail;
17604 
17605 fail:
17606  lua_error(L);
17607  return SWIG_arg;
17608 }
17609 
17610 
17611 static int _wrap_UI_CreateText(lua_State* L) {
17612  int SWIG_arg = 0;
17613  uiNode_t *arg1 = (uiNode_t *) 0 ;
17614  char *arg2 = (char *) 0 ;
17615  char *arg3 = (char *) 0 ;
17616  uiTextNode_t *result = 0 ;
17617 
17618  SWIG_check_num_args("UI_CreateText",3,3)
17619  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
17620  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
17621  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
17622 
17623  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17624  SWIG_fail_ptr("UI_CreateText",1,SWIGTYPE_p_uiNode_t);
17625  }
17626 
17627  arg2 = (char *)lua_tostring(L, 2);
17628  arg3 = (char *)lua_tostring(L, 3);
17629  result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
17630  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
17631  return SWIG_arg;
17632 
17633  if(0) SWIG_fail;
17634 
17635 fail:
17636  lua_error(L);
17637  return SWIG_arg;
17638 }
17639 
17640 
17641 static int _wrap_UI_CreateText2(lua_State* L) {
17642  int SWIG_arg = 0;
17643  uiNode_t *arg1 = (uiNode_t *) 0 ;
17644  char *arg2 = (char *) 0 ;
17645  char *arg3 = (char *) 0 ;
17646  uiText2Node_t *result = 0 ;
17647 
17648  SWIG_check_num_args("UI_CreateText2",3,3)
17649  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
17650  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
17651  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
17652 
17653  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17654  SWIG_fail_ptr("UI_CreateText2",1,SWIGTYPE_p_uiNode_t);
17655  }
17656 
17657  arg2 = (char *)lua_tostring(L, 2);
17658  arg3 = (char *)lua_tostring(L, 3);
17659  result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
17660  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
17661  return SWIG_arg;
17662 
17663  if(0) SWIG_fail;
17664 
17665 fail:
17666  lua_error(L);
17667  return SWIG_arg;
17668 }
17669 
17670 
17671 static int _wrap_UI_CreateTextEntry(lua_State* L) {
17672  int SWIG_arg = 0;
17673  uiNode_t *arg1 = (uiNode_t *) 0 ;
17674  char *arg2 = (char *) 0 ;
17675  char *arg3 = (char *) 0 ;
17676  uiTextEntryNode_t *result = 0 ;
17677 
17678  SWIG_check_num_args("UI_CreateTextEntry",3,3)
17679  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
17680  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
17681  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
17682 
17683  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17684  SWIG_fail_ptr("UI_CreateTextEntry",1,SWIGTYPE_p_uiNode_t);
17685  }
17686 
17687  arg2 = (char *)lua_tostring(L, 2);
17688  arg3 = (char *)lua_tostring(L, 3);
17689  result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
17690  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
17691  return SWIG_arg;
17692 
17693  if(0) SWIG_fail;
17694 
17695 fail:
17696  lua_error(L);
17697  return SWIG_arg;
17698 }
17699 
17700 
17701 static int _wrap_UI_CreateTextList(lua_State* L) {
17702  int SWIG_arg = 0;
17703  uiNode_t *arg1 = (uiNode_t *) 0 ;
17704  char *arg2 = (char *) 0 ;
17705  char *arg3 = (char *) 0 ;
17706  uiTextListNode_t *result = 0 ;
17707 
17708  SWIG_check_num_args("UI_CreateTextList",3,3)
17709  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
17710  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
17711  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
17712 
17713  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17714  SWIG_fail_ptr("UI_CreateTextList",1,SWIGTYPE_p_uiNode_t);
17715  }
17716 
17717  arg2 = (char *)lua_tostring(L, 2);
17718  arg3 = (char *)lua_tostring(L, 3);
17719  result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
17720  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
17721  return SWIG_arg;
17722 
17723  if(0) SWIG_fail;
17724 
17725 fail:
17726  lua_error(L);
17727  return SWIG_arg;
17728 }
17729 
17730 
17731 static int _wrap_UI_CreateTexture(lua_State* L) {
17732  int SWIG_arg = 0;
17733  uiNode_t *arg1 = (uiNode_t *) 0 ;
17734  char *arg2 = (char *) 0 ;
17735  char *arg3 = (char *) 0 ;
17736  uiTextureNode_t *result = 0 ;
17737 
17738  SWIG_check_num_args("UI_CreateTexture",3,3)
17739  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
17740  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
17741  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
17742 
17743  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17744  SWIG_fail_ptr("UI_CreateTexture",1,SWIGTYPE_p_uiNode_t);
17745  }
17746 
17747  arg2 = (char *)lua_tostring(L, 2);
17748  arg3 = (char *)lua_tostring(L, 3);
17749  result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
17750  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
17751  return SWIG_arg;
17752 
17753  if(0) SWIG_fail;
17754 
17755 fail:
17756  lua_error(L);
17757  return SWIG_arg;
17758 }
17759 
17760 
17761 static int _wrap_UI_CreateTimer(lua_State* L) {
17762  int SWIG_arg = 0;
17763  uiNode_t *arg1 = (uiNode_t *) 0 ;
17764  char *arg2 = (char *) 0 ;
17765  char *arg3 = (char *) 0 ;
17766  uiTimerNode_t *result = 0 ;
17767 
17768  SWIG_check_num_args("UI_CreateTimer",3,3)
17769  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
17770  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
17771  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
17772 
17773  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17774  SWIG_fail_ptr("UI_CreateTimer",1,SWIGTYPE_p_uiNode_t);
17775  }
17776 
17777  arg2 = (char *)lua_tostring(L, 2);
17778  arg3 = (char *)lua_tostring(L, 3);
17779  result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
17780  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
17781  return SWIG_arg;
17782 
17783  if(0) SWIG_fail;
17784 
17785 fail:
17786  lua_error(L);
17787  return SWIG_arg;
17788 }
17789 
17790 
17791 static int _wrap_UI_CreateVideo(lua_State* L) {
17792  int SWIG_arg = 0;
17793  uiNode_t *arg1 = (uiNode_t *) 0 ;
17794  char *arg2 = (char *) 0 ;
17795  char *arg3 = (char *) 0 ;
17796  uiVideoNode_t *result = 0 ;
17797 
17798  SWIG_check_num_args("UI_CreateVideo",3,3)
17799  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
17800  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
17801  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
17802 
17803  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17804  SWIG_fail_ptr("UI_CreateVideo",1,SWIGTYPE_p_uiNode_t);
17805  }
17806 
17807  arg2 = (char *)lua_tostring(L, 2);
17808  arg3 = (char *)lua_tostring(L, 3);
17809  result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
17810  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
17811  return SWIG_arg;
17812 
17813  if(0) SWIG_fail;
17814 
17815 fail:
17816  lua_error(L);
17817  return SWIG_arg;
17818 }
17819 
17820 
17821 static int _wrap_UI_CreateVScrollbar(lua_State* L) {
17822  int SWIG_arg = 0;
17823  uiNode_t *arg1 = (uiNode_t *) 0 ;
17824  char *arg2 = (char *) 0 ;
17825  char *arg3 = (char *) 0 ;
17826  uiVScrollBarNode_t *result = 0 ;
17827 
17828  SWIG_check_num_args("UI_CreateVScrollbar",3,3)
17829  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
17830  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
17831  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
17832 
17833  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17834  SWIG_fail_ptr("UI_CreateVScrollbar",1,SWIGTYPE_p_uiNode_t);
17835  }
17836 
17837  arg2 = (char *)lua_tostring(L, 2);
17838  arg3 = (char *)lua_tostring(L, 3);
17839  result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
17840  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
17841  return SWIG_arg;
17842 
17843  if(0) SWIG_fail;
17844 
17845 fail:
17846  lua_error(L);
17847  return SWIG_arg;
17848 }
17849 
17850 
17851 static int _wrap_UI_CreateWidget(lua_State* L) {
17852  int SWIG_arg = 0;
17853  uiNode_t *arg1 = (uiNode_t *) 0 ;
17854  char *arg2 = (char *) 0 ;
17855  char *arg3 = (char *) 0 ;
17856  uiWidgetNode_t *result = 0 ;
17857 
17858  SWIG_check_num_args("UI_CreateWidget",3,3)
17859  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
17860  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
17861  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
17862 
17863  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17864  SWIG_fail_ptr("UI_CreateWidget",1,SWIGTYPE_p_uiNode_t);
17865  }
17866 
17867  arg2 = (char *)lua_tostring(L, 2);
17868  arg3 = (char *)lua_tostring(L, 3);
17869  result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
17870  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
17871  return SWIG_arg;
17872 
17873  if(0) SWIG_fail;
17874 
17875 fail:
17876  lua_error(L);
17877  return SWIG_arg;
17878 }
17879 
17880 
17881 static int _wrap_UI_CreateWindow(lua_State* L) {
17882  int SWIG_arg = 0;
17883  char *arg1 = (char *) 0 ;
17884  char *arg2 = (char *) 0 ;
17885  uiWindowNode_t *result = 0 ;
17886 
17887  SWIG_check_num_args("UI_CreateWindow",2,2)
17888  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
17889  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
17890  arg1 = (char *)lua_tostring(L, 1);
17891  arg2 = (char *)lua_tostring(L, 2);
17892  result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
17893  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
17894  return SWIG_arg;
17895 
17896  if(0) SWIG_fail;
17897 
17898 fail:
17899  lua_error(L);
17900  return SWIG_arg;
17901 }
17902 
17903 
17904 static int _wrap_UI_CreateZone(lua_State* L) {
17905  int SWIG_arg = 0;
17906  uiNode_t *arg1 = (uiNode_t *) 0 ;
17907  char *arg2 = (char *) 0 ;
17908  char *arg3 = (char *) 0 ;
17909  uiZoneNode_t *result = 0 ;
17910 
17911  SWIG_check_num_args("UI_CreateZone",3,3)
17912  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
17913  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
17914  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
17915 
17916  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17917  SWIG_fail_ptr("UI_CreateZone",1,SWIGTYPE_p_uiNode_t);
17918  }
17919 
17920  arg2 = (char *)lua_tostring(L, 2);
17921  arg3 = (char *)lua_tostring(L, 3);
17922  result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
17923  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
17924  return SWIG_arg;
17925 
17926  if(0) SWIG_fail;
17927 
17928 fail:
17929  lua_error(L);
17930  return SWIG_arg;
17931 }
17932 
17933 
17934 static int _wrap_create_bar(lua_State* L) {
17935  int SWIG_arg = 0;
17936  uiNode_t *arg1 = (uiNode_t *) 0 ;
17937  char *arg2 = (char *) 0 ;
17938  char *arg3 = (char *) 0 ;
17939  uiBarNode_t *result = 0 ;
17940 
17941  SWIG_check_num_args("UI_CreateBar",3,3)
17942  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
17943  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
17944  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
17945 
17946  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17947  SWIG_fail_ptr("create_bar",1,SWIGTYPE_p_uiNode_t);
17948  }
17949 
17950  arg2 = (char *)lua_tostring(L, 2);
17951  arg3 = (char *)lua_tostring(L, 3);
17952  result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
17953  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
17954  return SWIG_arg;
17955 
17956  if(0) SWIG_fail;
17957 
17958 fail:
17959  lua_error(L);
17960  return SWIG_arg;
17961 }
17962 
17963 
17964 static int _wrap_create_button(lua_State* L) {
17965  int SWIG_arg = 0;
17966  uiNode_t *arg1 = (uiNode_t *) 0 ;
17967  char *arg2 = (char *) 0 ;
17968  char *arg3 = (char *) 0 ;
17969  uiButtonNode_t *result = 0 ;
17970 
17971  SWIG_check_num_args("UI_CreateButton",3,3)
17972  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
17973  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
17974  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
17975 
17976  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17977  SWIG_fail_ptr("create_button",1,SWIGTYPE_p_uiNode_t);
17978  }
17979 
17980  arg2 = (char *)lua_tostring(L, 2);
17981  arg3 = (char *)lua_tostring(L, 3);
17982  result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
17983  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
17984  return SWIG_arg;
17985 
17986  if(0) SWIG_fail;
17987 
17988 fail:
17989  lua_error(L);
17990  return SWIG_arg;
17991 }
17992 
17993 
17994 static int _wrap_create_baselayout(lua_State* L) {
17995  int SWIG_arg = 0;
17996  uiNode_t *arg1 = (uiNode_t *) 0 ;
17997  char *arg2 = (char *) 0 ;
17998  char *arg3 = (char *) 0 ;
17999  uiBaseLayoutNode_t *result = 0 ;
18000 
18001  SWIG_check_num_args("UI_CreateBaseLayout",3,3)
18002  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
18003  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
18004  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
18005 
18006  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18007  SWIG_fail_ptr("create_baselayout",1,SWIGTYPE_p_uiNode_t);
18008  }
18009 
18010  arg2 = (char *)lua_tostring(L, 2);
18011  arg3 = (char *)lua_tostring(L, 3);
18012  result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
18013  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
18014  return SWIG_arg;
18015 
18016  if(0) SWIG_fail;
18017 
18018 fail:
18019  lua_error(L);
18020  return SWIG_arg;
18021 }
18022 
18023 
18024 static int _wrap_create_baseinventory(lua_State* L) {
18025  int SWIG_arg = 0;
18026  uiNode_t *arg1 = (uiNode_t *) 0 ;
18027  char *arg2 = (char *) 0 ;
18028  char *arg3 = (char *) 0 ;
18029  uiBaseInventoryNode_t *result = 0 ;
18030 
18031  SWIG_check_num_args("UI_CreateBaseInventory",3,3)
18032  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
18033  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
18034  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
18035 
18036  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18037  SWIG_fail_ptr("create_baseinventory",1,SWIGTYPE_p_uiNode_t);
18038  }
18039 
18040  arg2 = (char *)lua_tostring(L, 2);
18041  arg3 = (char *)lua_tostring(L, 3);
18042  result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
18043  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,0); SWIG_arg++;
18044  return SWIG_arg;
18045 
18046  if(0) SWIG_fail;
18047 
18048 fail:
18049  lua_error(L);
18050  return SWIG_arg;
18051 }
18052 
18053 
18054 static int _wrap_create_checkbox(lua_State* L) {
18055  int SWIG_arg = 0;
18056  uiNode_t *arg1 = (uiNode_t *) 0 ;
18057  char *arg2 = (char *) 0 ;
18058  char *arg3 = (char *) 0 ;
18059  uiCheckBoxNode_t *result = 0 ;
18060 
18061  SWIG_check_num_args("UI_CreateCheckBox",3,3)
18062  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
18063  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
18064  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
18065 
18066  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18067  SWIG_fail_ptr("create_checkbox",1,SWIGTYPE_p_uiNode_t);
18068  }
18069 
18070  arg2 = (char *)lua_tostring(L, 2);
18071  arg3 = (char *)lua_tostring(L, 3);
18072  result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
18073  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
18074  return SWIG_arg;
18075 
18076  if(0) SWIG_fail;
18077 
18078 fail:
18079  lua_error(L);
18080  return SWIG_arg;
18081 }
18082 
18083 
18084 static int _wrap_create_confunc(lua_State* L) {
18085  int SWIG_arg = 0;
18086  uiNode_t *arg1 = (uiNode_t *) 0 ;
18087  char *arg2 = (char *) 0 ;
18088  char *arg3 = (char *) 0 ;
18089  uiConFuncNode_t *result = 0 ;
18090 
18091  SWIG_check_num_args("UI_CreateConFunc",3,3)
18092  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
18093  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
18094  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
18095 
18096  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18097  SWIG_fail_ptr("create_confunc",1,SWIGTYPE_p_uiNode_t);
18098  }
18099 
18100  arg2 = (char *)lua_tostring(L, 2);
18101  arg3 = (char *)lua_tostring(L, 3);
18102  result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
18103  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
18104  return SWIG_arg;
18105 
18106  if(0) SWIG_fail;
18107 
18108 fail:
18109  lua_error(L);
18110  return SWIG_arg;
18111 }
18112 
18113 
18114 static int _wrap_create_container(lua_State* L) {
18115  int SWIG_arg = 0;
18116  uiNode_t *arg1 = (uiNode_t *) 0 ;
18117  char *arg2 = (char *) 0 ;
18118  char *arg3 = (char *) 0 ;
18119  uiContainerNode_t *result = 0 ;
18120 
18121  SWIG_check_num_args("UI_CreateContainer",3,3)
18122  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
18123  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
18124  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
18125 
18126  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18127  SWIG_fail_ptr("create_container",1,SWIGTYPE_p_uiNode_t);
18128  }
18129 
18130  arg2 = (char *)lua_tostring(L, 2);
18131  arg3 = (char *)lua_tostring(L, 3);
18132  result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
18133  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
18134  return SWIG_arg;
18135 
18136  if(0) SWIG_fail;
18137 
18138 fail:
18139  lua_error(L);
18140  return SWIG_arg;
18141 }
18142 
18143 
18144 static int _wrap_create_data(lua_State* L) {
18145  int SWIG_arg = 0;
18146  uiNode_t *arg1 = (uiNode_t *) 0 ;
18147  char *arg2 = (char *) 0 ;
18148  char *arg3 = (char *) 0 ;
18149  uiDataNode_t *result = 0 ;
18150 
18151  SWIG_check_num_args("UI_CreateData",3,3)
18152  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
18153  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
18154  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
18155 
18156  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18157  SWIG_fail_ptr("create_data",1,SWIGTYPE_p_uiNode_t);
18158  }
18159 
18160  arg2 = (char *)lua_tostring(L, 2);
18161  arg3 = (char *)lua_tostring(L, 3);
18162  result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
18163  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
18164  return SWIG_arg;
18165 
18166  if(0) SWIG_fail;
18167 
18168 fail:
18169  lua_error(L);
18170  return SWIG_arg;
18171 }
18172 
18173 
18174 static int _wrap_create_geoscape(lua_State* L) {
18175  int SWIG_arg = 0;
18176  uiNode_t *arg1 = (uiNode_t *) 0 ;
18177  char *arg2 = (char *) 0 ;
18178  char *arg3 = (char *) 0 ;
18179  uiGeoscapeNode_t *result = 0 ;
18180 
18181  SWIG_check_num_args("UI_CreateGeoscape",3,3)
18182  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
18183  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
18184  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
18185 
18186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18187  SWIG_fail_ptr("create_geoscape",1,SWIGTYPE_p_uiNode_t);
18188  }
18189 
18190  arg2 = (char *)lua_tostring(L, 2);
18191  arg3 = (char *)lua_tostring(L, 3);
18192  result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
18193  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
18194  return SWIG_arg;
18195 
18196  if(0) SWIG_fail;
18197 
18198 fail:
18199  lua_error(L);
18200  return SWIG_arg;
18201 }
18202 
18203 
18204 static int _wrap_create_image(lua_State* L) {
18205  int SWIG_arg = 0;
18206  uiNode_t *arg1 = (uiNode_t *) 0 ;
18207  char *arg2 = (char *) 0 ;
18208  char *arg3 = (char *) 0 ;
18209  uiImageNode_t *result = 0 ;
18210 
18211  SWIG_check_num_args("UI_CreateImage",3,3)
18212  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
18213  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
18214  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
18215 
18216  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18217  SWIG_fail_ptr("create_image",1,SWIGTYPE_p_uiNode_t);
18218  }
18219 
18220  arg2 = (char *)lua_tostring(L, 2);
18221  arg3 = (char *)lua_tostring(L, 3);
18222  result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
18223  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
18224  return SWIG_arg;
18225 
18226  if(0) SWIG_fail;
18227 
18228 fail:
18229  lua_error(L);
18230  return SWIG_arg;
18231 }
18232 
18233 
18234 static int _wrap_create_item(lua_State* L) {
18235  int SWIG_arg = 0;
18236  uiNode_t *arg1 = (uiNode_t *) 0 ;
18237  char *arg2 = (char *) 0 ;
18238  char *arg3 = (char *) 0 ;
18239  uiItemNode_t *result = 0 ;
18240 
18241  SWIG_check_num_args("UI_CreateItem",3,3)
18242  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
18243  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
18244  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
18245 
18246  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18247  SWIG_fail_ptr("create_item",1,SWIGTYPE_p_uiNode_t);
18248  }
18249 
18250  arg2 = (char *)lua_tostring(L, 2);
18251  arg3 = (char *)lua_tostring(L, 3);
18252  result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
18253  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
18254  return SWIG_arg;
18255 
18256  if(0) SWIG_fail;
18257 
18258 fail:
18259  lua_error(L);
18260  return SWIG_arg;
18261 }
18262 
18263 
18264 static int _wrap_create_linechart(lua_State* L) {
18265  int SWIG_arg = 0;
18266  uiNode_t *arg1 = (uiNode_t *) 0 ;
18267  char *arg2 = (char *) 0 ;
18268  char *arg3 = (char *) 0 ;
18269  uiLineChartNode_t *result = 0 ;
18270 
18271  SWIG_check_num_args("UI_CreateLineChart",3,3)
18272  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
18273  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
18274  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
18275 
18276  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18277  SWIG_fail_ptr("create_linechart",1,SWIGTYPE_p_uiNode_t);
18278  }
18279 
18280  arg2 = (char *)lua_tostring(L, 2);
18281  arg3 = (char *)lua_tostring(L, 3);
18282  result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
18283  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
18284  return SWIG_arg;
18285 
18286  if(0) SWIG_fail;
18287 
18288 fail:
18289  lua_error(L);
18290  return SWIG_arg;
18291 }
18292 
18293 
18294 static int _wrap_create_messagelist(lua_State* L) {
18295  int SWIG_arg = 0;
18296  uiNode_t *arg1 = (uiNode_t *) 0 ;
18297  char *arg2 = (char *) 0 ;
18298  char *arg3 = (char *) 0 ;
18299  uiMessageListNode_t *result = 0 ;
18300 
18301  SWIG_check_num_args("UI_CreateMessageList",3,3)
18302  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
18303  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
18304  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
18305 
18306  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18307  SWIG_fail_ptr("create_messagelist",1,SWIGTYPE_p_uiNode_t);
18308  }
18309 
18310  arg2 = (char *)lua_tostring(L, 2);
18311  arg3 = (char *)lua_tostring(L, 3);
18312  result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
18313  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
18314  return SWIG_arg;
18315 
18316  if(0) SWIG_fail;
18317 
18318 fail:
18319  lua_error(L);
18320  return SWIG_arg;
18321 }
18322 
18323 
18324 static int _wrap_create_model(lua_State* L) {
18325  int SWIG_arg = 0;
18326  uiNode_t *arg1 = (uiNode_t *) 0 ;
18327  char *arg2 = (char *) 0 ;
18328  char *arg3 = (char *) 0 ;
18329  uiModelNode_t *result = 0 ;
18330 
18331  SWIG_check_num_args("UI_CreateModel",3,3)
18332  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
18333  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
18334  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
18335 
18336  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18337  SWIG_fail_ptr("create_model",1,SWIGTYPE_p_uiNode_t);
18338  }
18339 
18340  arg2 = (char *)lua_tostring(L, 2);
18341  arg3 = (char *)lua_tostring(L, 3);
18342  result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
18343  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
18344  return SWIG_arg;
18345 
18346  if(0) SWIG_fail;
18347 
18348 fail:
18349  lua_error(L);
18350  return SWIG_arg;
18351 }
18352 
18353 
18354 static int _wrap_create_option(lua_State* L) {
18355  int SWIG_arg = 0;
18356  uiNode_t *arg1 = (uiNode_t *) 0 ;
18357  char *arg2 = (char *) 0 ;
18358  char *arg3 = (char *) 0 ;
18359  uiOptionNode_t *result = 0 ;
18360 
18361  SWIG_check_num_args("UI_CreateOption",3,3)
18362  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
18363  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
18364  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
18365 
18366  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18367  SWIG_fail_ptr("create_option",1,SWIGTYPE_p_uiNode_t);
18368  }
18369 
18370  arg2 = (char *)lua_tostring(L, 2);
18371  arg3 = (char *)lua_tostring(L, 3);
18372  result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
18373  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
18374  return SWIG_arg;
18375 
18376  if(0) SWIG_fail;
18377 
18378 fail:
18379  lua_error(L);
18380  return SWIG_arg;
18381 }
18382 
18383 
18384 static int _wrap_create_optionlist(lua_State* L) {
18385  int SWIG_arg = 0;
18386  uiNode_t *arg1 = (uiNode_t *) 0 ;
18387  char *arg2 = (char *) 0 ;
18388  char *arg3 = (char *) 0 ;
18389  uiOptionListNode_t *result = 0 ;
18390 
18391  SWIG_check_num_args("UI_CreateOptionList",3,3)
18392  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
18393  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
18394  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
18395 
18396  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18397  SWIG_fail_ptr("create_optionlist",1,SWIGTYPE_p_uiNode_t);
18398  }
18399 
18400  arg2 = (char *)lua_tostring(L, 2);
18401  arg3 = (char *)lua_tostring(L, 3);
18402  result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
18403  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
18404  return SWIG_arg;
18405 
18406  if(0) SWIG_fail;
18407 
18408 fail:
18409  lua_error(L);
18410  return SWIG_arg;
18411 }
18412 
18413 
18414 static int _wrap_create_optiontree(lua_State* L) {
18415  int SWIG_arg = 0;
18416  uiNode_t *arg1 = (uiNode_t *) 0 ;
18417  char *arg2 = (char *) 0 ;
18418  char *arg3 = (char *) 0 ;
18419  uiOptionTreeNode_t *result = 0 ;
18420 
18421  SWIG_check_num_args("UI_CreateOptionTree",3,3)
18422  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
18423  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
18424  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
18425 
18426  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18427  SWIG_fail_ptr("create_optiontree",1,SWIGTYPE_p_uiNode_t);
18428  }
18429 
18430  arg2 = (char *)lua_tostring(L, 2);
18431  arg3 = (char *)lua_tostring(L, 3);
18432  result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
18433  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
18434  return SWIG_arg;
18435 
18436  if(0) SWIG_fail;
18437 
18438 fail:
18439  lua_error(L);
18440  return SWIG_arg;
18441 }
18442 
18443 
18444 static int _wrap_create_panel(lua_State* L) {
18445  int SWIG_arg = 0;
18446  uiNode_t *arg1 = (uiNode_t *) 0 ;
18447  char *arg2 = (char *) 0 ;
18448  char *arg3 = (char *) 0 ;
18449  uiPanelNode_t *result = 0 ;
18450 
18451  SWIG_check_num_args("UI_CreatePanel",3,3)
18452  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
18453  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
18454  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
18455 
18456  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18457  SWIG_fail_ptr("create_panel",1,SWIGTYPE_p_uiNode_t);
18458  }
18459 
18460  arg2 = (char *)lua_tostring(L, 2);
18461  arg3 = (char *)lua_tostring(L, 3);
18462  result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
18463  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
18464  return SWIG_arg;
18465 
18466  if(0) SWIG_fail;
18467 
18468 fail:
18469  lua_error(L);
18470  return SWIG_arg;
18471 }
18472 
18473 
18474 static int _wrap_create_radar(lua_State* L) {
18475  int SWIG_arg = 0;
18476  uiNode_t *arg1 = (uiNode_t *) 0 ;
18477  char *arg2 = (char *) 0 ;
18478  char *arg3 = (char *) 0 ;
18479  uiRadarNode_t *result = 0 ;
18480 
18481  SWIG_check_num_args("UI_CreateRadar",3,3)
18482  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
18483  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
18484  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
18485 
18486  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18487  SWIG_fail_ptr("create_radar",1,SWIGTYPE_p_uiNode_t);
18488  }
18489 
18490  arg2 = (char *)lua_tostring(L, 2);
18491  arg3 = (char *)lua_tostring(L, 3);
18492  result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
18493  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
18494  return SWIG_arg;
18495 
18496  if(0) SWIG_fail;
18497 
18498 fail:
18499  lua_error(L);
18500  return SWIG_arg;
18501 }
18502 
18503 
18504 static int _wrap_create_radiobutton(lua_State* L) {
18505  int SWIG_arg = 0;
18506  uiNode_t *arg1 = (uiNode_t *) 0 ;
18507  char *arg2 = (char *) 0 ;
18508  char *arg3 = (char *) 0 ;
18509  uiRadioButtonNode_t *result = 0 ;
18510 
18511  SWIG_check_num_args("UI_CreateRadioButton",3,3)
18512  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
18513  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
18514  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
18515 
18516  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18517  SWIG_fail_ptr("create_radiobutton",1,SWIGTYPE_p_uiNode_t);
18518  }
18519 
18520  arg2 = (char *)lua_tostring(L, 2);
18521  arg3 = (char *)lua_tostring(L, 3);
18522  result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
18523  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
18524  return SWIG_arg;
18525 
18526  if(0) SWIG_fail;
18527 
18528 fail:
18529  lua_error(L);
18530  return SWIG_arg;
18531 }
18532 
18533 
18534 static int _wrap_create_rows(lua_State* L) {
18535  int SWIG_arg = 0;
18536  uiNode_t *arg1 = (uiNode_t *) 0 ;
18537  char *arg2 = (char *) 0 ;
18538  char *arg3 = (char *) 0 ;
18539  uiRowsNode_t *result = 0 ;
18540 
18541  SWIG_check_num_args("UI_CreateRows",3,3)
18542  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
18543  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
18544  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
18545 
18546  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18547  SWIG_fail_ptr("create_rows",1,SWIGTYPE_p_uiNode_t);
18548  }
18549 
18550  arg2 = (char *)lua_tostring(L, 2);
18551  arg3 = (char *)lua_tostring(L, 3);
18552  result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
18553  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
18554  return SWIG_arg;
18555 
18556  if(0) SWIG_fail;
18557 
18558 fail:
18559  lua_error(L);
18560  return SWIG_arg;
18561 }
18562 
18563 
18564 static int _wrap_create_selectbox(lua_State* L) {
18565  int SWIG_arg = 0;
18566  uiNode_t *arg1 = (uiNode_t *) 0 ;
18567  char *arg2 = (char *) 0 ;
18568  char *arg3 = (char *) 0 ;
18569  uiSelectBoxNode_t *result = 0 ;
18570 
18571  SWIG_check_num_args("UI_CreateSelectBox",3,3)
18572  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
18573  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
18574  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
18575 
18576  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18577  SWIG_fail_ptr("create_selectbox",1,SWIGTYPE_p_uiNode_t);
18578  }
18579 
18580  arg2 = (char *)lua_tostring(L, 2);
18581  arg3 = (char *)lua_tostring(L, 3);
18582  result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
18583  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
18584  return SWIG_arg;
18585 
18586  if(0) SWIG_fail;
18587 
18588 fail:
18589  lua_error(L);
18590  return SWIG_arg;
18591 }
18592 
18593 
18594 static int _wrap_create_sequence(lua_State* L) {
18595  int SWIG_arg = 0;
18596  uiNode_t *arg1 = (uiNode_t *) 0 ;
18597  char *arg2 = (char *) 0 ;
18598  char *arg3 = (char *) 0 ;
18599  uiSequenceNode_t *result = 0 ;
18600 
18601  SWIG_check_num_args("UI_CreateSequence",3,3)
18602  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
18603  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
18604  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
18605 
18606  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18607  SWIG_fail_ptr("create_sequence",1,SWIGTYPE_p_uiNode_t);
18608  }
18609 
18610  arg2 = (char *)lua_tostring(L, 2);
18611  arg3 = (char *)lua_tostring(L, 3);
18612  result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
18613  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
18614  return SWIG_arg;
18615 
18616  if(0) SWIG_fail;
18617 
18618 fail:
18619  lua_error(L);
18620  return SWIG_arg;
18621 }
18622 
18623 
18624 static int _wrap_create_spinner(lua_State* L) {
18625  int SWIG_arg = 0;
18626  uiNode_t *arg1 = (uiNode_t *) 0 ;
18627  char *arg2 = (char *) 0 ;
18628  char *arg3 = (char *) 0 ;
18629  uiSpinnerNode_t *result = 0 ;
18630 
18631  SWIG_check_num_args("UI_CreateSpinner",3,3)
18632  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
18633  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
18634  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
18635 
18636  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18637  SWIG_fail_ptr("create_spinner",1,SWIGTYPE_p_uiNode_t);
18638  }
18639 
18640  arg2 = (char *)lua_tostring(L, 2);
18641  arg3 = (char *)lua_tostring(L, 3);
18642  result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
18643  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
18644  return SWIG_arg;
18645 
18646  if(0) SWIG_fail;
18647 
18648 fail:
18649  lua_error(L);
18650  return SWIG_arg;
18651 }
18652 
18653 
18654 static int _wrap_create_string(lua_State* L) {
18655  int SWIG_arg = 0;
18656  uiNode_t *arg1 = (uiNode_t *) 0 ;
18657  char *arg2 = (char *) 0 ;
18658  char *arg3 = (char *) 0 ;
18659  uiStringNode_t *result = 0 ;
18660 
18661  SWIG_check_num_args("UI_CreateString",3,3)
18662  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
18663  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
18664  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
18665 
18666  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18667  SWIG_fail_ptr("create_string",1,SWIGTYPE_p_uiNode_t);
18668  }
18669 
18670  arg2 = (char *)lua_tostring(L, 2);
18671  arg3 = (char *)lua_tostring(L, 3);
18672  result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
18673  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
18674  return SWIG_arg;
18675 
18676  if(0) SWIG_fail;
18677 
18678 fail:
18679  lua_error(L);
18680  return SWIG_arg;
18681 }
18682 
18683 
18684 static int _wrap_create_tab(lua_State* L) {
18685  int SWIG_arg = 0;
18686  uiNode_t *arg1 = (uiNode_t *) 0 ;
18687  char *arg2 = (char *) 0 ;
18688  char *arg3 = (char *) 0 ;
18689  uiTabNode_t *result = 0 ;
18690 
18691  SWIG_check_num_args("UI_CreateTab",3,3)
18692  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
18693  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
18694  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
18695 
18696  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18697  SWIG_fail_ptr("create_tab",1,SWIGTYPE_p_uiNode_t);
18698  }
18699 
18700  arg2 = (char *)lua_tostring(L, 2);
18701  arg3 = (char *)lua_tostring(L, 3);
18702  result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
18703  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
18704  return SWIG_arg;
18705 
18706  if(0) SWIG_fail;
18707 
18708 fail:
18709  lua_error(L);
18710  return SWIG_arg;
18711 }
18712 
18713 
18714 static int _wrap_create_tbar(lua_State* L) {
18715  int SWIG_arg = 0;
18716  uiNode_t *arg1 = (uiNode_t *) 0 ;
18717  char *arg2 = (char *) 0 ;
18718  char *arg3 = (char *) 0 ;
18719  uiTBarNode_t *result = 0 ;
18720 
18721  SWIG_check_num_args("UI_CreateTBar",3,3)
18722  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
18723  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
18724  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
18725 
18726  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18727  SWIG_fail_ptr("create_tbar",1,SWIGTYPE_p_uiNode_t);
18728  }
18729 
18730  arg2 = (char *)lua_tostring(L, 2);
18731  arg3 = (char *)lua_tostring(L, 3);
18732  result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
18733  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
18734  return SWIG_arg;
18735 
18736  if(0) SWIG_fail;
18737 
18738 fail:
18739  lua_error(L);
18740  return SWIG_arg;
18741 }
18742 
18743 
18744 static int _wrap_create_text(lua_State* L) {
18745  int SWIG_arg = 0;
18746  uiNode_t *arg1 = (uiNode_t *) 0 ;
18747  char *arg2 = (char *) 0 ;
18748  char *arg3 = (char *) 0 ;
18749  uiTextNode_t *result = 0 ;
18750 
18751  SWIG_check_num_args("UI_CreateText",3,3)
18752  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
18753  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
18754  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
18755 
18756  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18757  SWIG_fail_ptr("create_text",1,SWIGTYPE_p_uiNode_t);
18758  }
18759 
18760  arg2 = (char *)lua_tostring(L, 2);
18761  arg3 = (char *)lua_tostring(L, 3);
18762  result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
18763  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
18764  return SWIG_arg;
18765 
18766  if(0) SWIG_fail;
18767 
18768 fail:
18769  lua_error(L);
18770  return SWIG_arg;
18771 }
18772 
18773 
18774 static int _wrap_create_text2(lua_State* L) {
18775  int SWIG_arg = 0;
18776  uiNode_t *arg1 = (uiNode_t *) 0 ;
18777  char *arg2 = (char *) 0 ;
18778  char *arg3 = (char *) 0 ;
18779  uiText2Node_t *result = 0 ;
18780 
18781  SWIG_check_num_args("UI_CreateText2",3,3)
18782  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
18783  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
18784  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
18785 
18786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18787  SWIG_fail_ptr("create_text2",1,SWIGTYPE_p_uiNode_t);
18788  }
18789 
18790  arg2 = (char *)lua_tostring(L, 2);
18791  arg3 = (char *)lua_tostring(L, 3);
18792  result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
18793  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
18794  return SWIG_arg;
18795 
18796  if(0) SWIG_fail;
18797 
18798 fail:
18799  lua_error(L);
18800  return SWIG_arg;
18801 }
18802 
18803 
18804 static int _wrap_create_textentry(lua_State* L) {
18805  int SWIG_arg = 0;
18806  uiNode_t *arg1 = (uiNode_t *) 0 ;
18807  char *arg2 = (char *) 0 ;
18808  char *arg3 = (char *) 0 ;
18809  uiTextEntryNode_t *result = 0 ;
18810 
18811  SWIG_check_num_args("UI_CreateTextEntry",3,3)
18812  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
18813  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
18814  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
18815 
18816  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18817  SWIG_fail_ptr("create_textentry",1,SWIGTYPE_p_uiNode_t);
18818  }
18819 
18820  arg2 = (char *)lua_tostring(L, 2);
18821  arg3 = (char *)lua_tostring(L, 3);
18822  result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
18823  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
18824  return SWIG_arg;
18825 
18826  if(0) SWIG_fail;
18827 
18828 fail:
18829  lua_error(L);
18830  return SWIG_arg;
18831 }
18832 
18833 
18834 static int _wrap_create_textlist(lua_State* L) {
18835  int SWIG_arg = 0;
18836  uiNode_t *arg1 = (uiNode_t *) 0 ;
18837  char *arg2 = (char *) 0 ;
18838  char *arg3 = (char *) 0 ;
18839  uiTextListNode_t *result = 0 ;
18840 
18841  SWIG_check_num_args("UI_CreateTextList",3,3)
18842  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
18843  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
18844  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
18845 
18846  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18847  SWIG_fail_ptr("create_textlist",1,SWIGTYPE_p_uiNode_t);
18848  }
18849 
18850  arg2 = (char *)lua_tostring(L, 2);
18851  arg3 = (char *)lua_tostring(L, 3);
18852  result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
18853  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
18854  return SWIG_arg;
18855 
18856  if(0) SWIG_fail;
18857 
18858 fail:
18859  lua_error(L);
18860  return SWIG_arg;
18861 }
18862 
18863 
18864 static int _wrap_create_texture(lua_State* L) {
18865  int SWIG_arg = 0;
18866  uiNode_t *arg1 = (uiNode_t *) 0 ;
18867  char *arg2 = (char *) 0 ;
18868  char *arg3 = (char *) 0 ;
18869  uiTextureNode_t *result = 0 ;
18870 
18871  SWIG_check_num_args("UI_CreateTexture",3,3)
18872  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
18873  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
18874  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
18875 
18876  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18877  SWIG_fail_ptr("create_texture",1,SWIGTYPE_p_uiNode_t);
18878  }
18879 
18880  arg2 = (char *)lua_tostring(L, 2);
18881  arg3 = (char *)lua_tostring(L, 3);
18882  result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
18883  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
18884  return SWIG_arg;
18885 
18886  if(0) SWIG_fail;
18887 
18888 fail:
18889  lua_error(L);
18890  return SWIG_arg;
18891 }
18892 
18893 
18894 static int _wrap_create_timer(lua_State* L) {
18895  int SWIG_arg = 0;
18896  uiNode_t *arg1 = (uiNode_t *) 0 ;
18897  char *arg2 = (char *) 0 ;
18898  char *arg3 = (char *) 0 ;
18899  uiTimerNode_t *result = 0 ;
18900 
18901  SWIG_check_num_args("UI_CreateTimer",3,3)
18902  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
18903  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
18904  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
18905 
18906  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18907  SWIG_fail_ptr("create_timer",1,SWIGTYPE_p_uiNode_t);
18908  }
18909 
18910  arg2 = (char *)lua_tostring(L, 2);
18911  arg3 = (char *)lua_tostring(L, 3);
18912  result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
18913  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
18914  return SWIG_arg;
18915 
18916  if(0) SWIG_fail;
18917 
18918 fail:
18919  lua_error(L);
18920  return SWIG_arg;
18921 }
18922 
18923 
18924 static int _wrap_create_video(lua_State* L) {
18925  int SWIG_arg = 0;
18926  uiNode_t *arg1 = (uiNode_t *) 0 ;
18927  char *arg2 = (char *) 0 ;
18928  char *arg3 = (char *) 0 ;
18929  uiVideoNode_t *result = 0 ;
18930 
18931  SWIG_check_num_args("UI_CreateVideo",3,3)
18932  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
18933  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
18934  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
18935 
18936  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18937  SWIG_fail_ptr("create_video",1,SWIGTYPE_p_uiNode_t);
18938  }
18939 
18940  arg2 = (char *)lua_tostring(L, 2);
18941  arg3 = (char *)lua_tostring(L, 3);
18942  result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
18943  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
18944  return SWIG_arg;
18945 
18946  if(0) SWIG_fail;
18947 
18948 fail:
18949  lua_error(L);
18950  return SWIG_arg;
18951 }
18952 
18953 
18954 static int _wrap_create_vscrollbar(lua_State* L) {
18955  int SWIG_arg = 0;
18956  uiNode_t *arg1 = (uiNode_t *) 0 ;
18957  char *arg2 = (char *) 0 ;
18958  char *arg3 = (char *) 0 ;
18959  uiVScrollBarNode_t *result = 0 ;
18960 
18961  SWIG_check_num_args("UI_CreateVScrollbar",3,3)
18962  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
18963  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
18964  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
18965 
18966  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18967  SWIG_fail_ptr("create_vscrollbar",1,SWIGTYPE_p_uiNode_t);
18968  }
18969 
18970  arg2 = (char *)lua_tostring(L, 2);
18971  arg3 = (char *)lua_tostring(L, 3);
18972  result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
18973  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
18974  return SWIG_arg;
18975 
18976  if(0) SWIG_fail;
18977 
18978 fail:
18979  lua_error(L);
18980  return SWIG_arg;
18981 }
18982 
18983 
18984 static int _wrap_create_widget(lua_State* L) {
18985  int SWIG_arg = 0;
18986  uiNode_t *arg1 = (uiNode_t *) 0 ;
18987  char *arg2 = (char *) 0 ;
18988  char *arg3 = (char *) 0 ;
18989  uiWidgetNode_t *result = 0 ;
18990 
18991  SWIG_check_num_args("UI_CreateWidget",3,3)
18992  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
18993  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
18994  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
18995 
18996  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18997  SWIG_fail_ptr("create_widget",1,SWIGTYPE_p_uiNode_t);
18998  }
18999 
19000  arg2 = (char *)lua_tostring(L, 2);
19001  arg3 = (char *)lua_tostring(L, 3);
19002  result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
19003  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
19004  return SWIG_arg;
19005 
19006  if(0) SWIG_fail;
19007 
19008 fail:
19009  lua_error(L);
19010  return SWIG_arg;
19011 }
19012 
19013 
19014 static int _wrap_create_window(lua_State* L) {
19015  int SWIG_arg = 0;
19016  char *arg1 = (char *) 0 ;
19017  char *arg2 = (char *) 0 ;
19018  uiWindowNode_t *result = 0 ;
19019 
19020  SWIG_check_num_args("UI_CreateWindow",2,2)
19021  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
19022  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
19023  arg1 = (char *)lua_tostring(L, 1);
19024  arg2 = (char *)lua_tostring(L, 2);
19025  result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
19026  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
19027  return SWIG_arg;
19028 
19029  if(0) SWIG_fail;
19030 
19031 fail:
19032  lua_error(L);
19033  return SWIG_arg;
19034 }
19035 
19036 
19037 static int _wrap_create_zone(lua_State* L) {
19038  int SWIG_arg = 0;
19039  uiNode_t *arg1 = (uiNode_t *) 0 ;
19040  char *arg2 = (char *) 0 ;
19041  char *arg3 = (char *) 0 ;
19042  uiZoneNode_t *result = 0 ;
19043 
19044  SWIG_check_num_args("UI_CreateZone",3,3)
19045  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
19046  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
19047  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
19048 
19049  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19050  SWIG_fail_ptr("create_zone",1,SWIGTYPE_p_uiNode_t);
19051  }
19052 
19053  arg2 = (char *)lua_tostring(L, 2);
19054  arg3 = (char *)lua_tostring(L, 3);
19055  result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
19056  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
19057  return SWIG_arg;
19058 
19059  if(0) SWIG_fail;
19060 
19061 fail:
19062  lua_error(L);
19063  return SWIG_arg;
19064 }
19065 
19066 
19067 static int _wrap_create_component(lua_State* L) {
19068  int SWIG_arg = 0;
19069  char *arg1 = (char *) 0 ;
19070  char *arg2 = (char *) 0 ;
19071  char *arg3 = (char *) 0 ;
19072  uiNode_t *result = 0 ;
19073 
19074  SWIG_check_num_args("UI_CreateComponent",3,3)
19075  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateComponent",1,"char const *");
19076  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateComponent",2,"char const *");
19077  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateComponent",3,"char const *");
19078  arg1 = (char *)lua_tostring(L, 1);
19079  arg2 = (char *)lua_tostring(L, 2);
19080  arg3 = (char *)lua_tostring(L, 3);
19081  result = (uiNode_t *)UI_CreateComponent((char const *)arg1,(char const *)arg2,(char const *)arg3);
19082  {
19083  if (result) {
19085  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19086  } else {
19087  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19088  }
19089  }
19090  return SWIG_arg;
19091 
19092  if(0) SWIG_fail;
19093 
19094 fail:
19095  lua_error(L);
19096  return SWIG_arg;
19097 }
19098 
19099 
19100 static int _wrap_pop_window(lua_State* L) {
19101  int SWIG_arg = 0;
19102  bool arg1 ;
19103 
19104  SWIG_check_num_args("UI_PopWindow",1,1)
19105  if(!lua_isboolean(L,1)) SWIG_fail_arg("UI_PopWindow",1,"bool");
19106  arg1 = (lua_toboolean(L, 1)!=0);
19107  UI_PopWindow(arg1);
19108 
19109  return SWIG_arg;
19110 
19111  if(0) SWIG_fail;
19112 
19113 fail:
19114  lua_error(L);
19115  return SWIG_arg;
19116 }
19117 
19118 
19119 static int _wrap_push_window(lua_State* L) {
19120  int SWIG_arg = 0;
19121  char *arg1 = (char *) 0 ;
19122  char *arg2 = (char *) 0 ;
19123  linkedList_t *arg3 = (linkedList_t *) 0 ;
19124  uiNode_t *result = 0 ;
19125 
19126  SWIG_check_num_args("UI_PushWindow",3,3)
19127  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_PushWindow",1,"char const *");
19128  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_PushWindow",2,"char const *");
19129  if(!Com_LuaIsNilOrTable(L,3)) SWIG_fail_arg("UI_PushWindow",3,"linkedList_t *");
19130  arg1 = (char *)lua_tostring(L, 1);
19131  arg2 = (char *)lua_tostring(L, 2);
19132  {
19133  arg3 = Com_LuaTableToStringList(L, 3);
19134  }
19135  result = (uiNode_t *)UI_PushWindow((char const *)arg1,(char const *)arg2,arg3);
19136  {
19137  if (result) {
19139  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19140  } else {
19141  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19142  }
19143  }
19144  {
19145  LIST_Delete(&arg3);
19146  }
19147  return SWIG_arg;
19148 
19149  if(0) SWIG_fail;
19150 
19151 fail:
19152  {
19153  LIST_Delete(&arg3);
19154  }
19155  lua_error(L);
19156  return SWIG_arg;
19157 }
19158 
19159 
19160 static int _wrap_get_window(lua_State* L) {
19161  int SWIG_arg = 0;
19162  char *arg1 = (char *) 0 ;
19163  uiNode_t *result = 0 ;
19164 
19165  SWIG_check_num_args("UI_GetWindow",1,1)
19166  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_GetWindow",1,"char const *");
19167  arg1 = (char *)lua_tostring(L, 1);
19168  result = (uiNode_t *)UI_GetWindow((char const *)arg1);
19169  {
19170  if (result) {
19172  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19173  } else {
19174  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19175  }
19176  }
19177  return SWIG_arg;
19178 
19179  if(0) SWIG_fail;
19180 
19181 fail:
19182  lua_error(L);
19183  return SWIG_arg;
19184 }
19185 
19186 
19187 static int _wrap_delete_node(lua_State* L) {
19188  int SWIG_arg = 0;
19189  uiNode_t *arg1 = (uiNode_t *) 0 ;
19190 
19191  SWIG_check_num_args("UI_DeleteNode",1,1)
19192  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_DeleteNode",1,"uiNode_t *");
19193 
19194  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19195  SWIG_fail_ptr("delete_node",1,SWIGTYPE_p_uiNode_t);
19196  }
19197 
19198  UI_DeleteNode(arg1);
19199 
19200  return SWIG_arg;
19201 
19202  if(0) SWIG_fail;
19203 
19204 fail:
19205  lua_error(L);
19206  return SWIG_arg;
19207 }
19208 
19209 
19210 static int _wrap_cmd(lua_State* L) {
19211  int SWIG_arg = 0;
19212  char *arg1 = (char *) 0 ;
19213 
19214  SWIG_check_num_args("Cbuf_AddText",1,1)
19215  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cbuf_AddText",1,"char const *");
19216  arg1 = (char *)lua_tostring(L, 1);
19217  Cbuf_AddText((char const *)arg1);
19218 
19219  return SWIG_arg;
19220 
19221  if(0) SWIG_fail;
19222 
19223 fail:
19224  lua_error(L);
19225  return SWIG_arg;
19226 }
19227 
19228 
19229 static int _wrap_print(lua_State* L) {
19230  int SWIG_arg = 0;
19231  char *arg1 = (char *) 0 ;
19232 
19233  SWIG_check_num_args("Com_Printf",1,1)
19234  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Com_Printf",1,"char const *");
19235  arg1 = (char *)lua_tostring(L, 1);
19236  Com_Printf((char const *)arg1);
19237 
19238  return SWIG_arg;
19239 
19240  if(0) SWIG_fail;
19241 
19242 fail:
19243  lua_error(L);
19244  return SWIG_arg;
19245 }
19246 
19247 
19248 static int _wrap_dprint(lua_State* L) {
19249  int SWIG_arg = 0;
19250  int arg1 ;
19251  char *arg2 = (char *) 0 ;
19252 
19253  SWIG_check_num_args("Com_DPrintf",2,2)
19254  if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_DPrintf",1,"int");
19255  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_DPrintf",2,"char const *");
19256  arg1 = (int)lua_tonumber(L, 1);
19257  arg2 = (char *)lua_tostring(L, 2);
19258  Com_DPrintf(arg1,(char const *)arg2);
19259 
19260  return SWIG_arg;
19261 
19262  if(0) SWIG_fail;
19263 
19264 fail:
19265  lua_error(L);
19266  return SWIG_arg;
19267 }
19268 
19269 
19270 static int _wrap_error(lua_State* L) {
19271  int SWIG_arg = 0;
19272  int arg1 ;
19273  char *arg2 = (char *) 0 ;
19274 
19275  SWIG_check_num_args("Com_Error",2,2)
19276  if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_Error",1,"int");
19277  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_Error",2,"char const *");
19278  arg1 = (int)lua_tonumber(L, 1);
19279  arg2 = (char *)lua_tostring(L, 2);
19280  Com_Error(arg1,(char const *)arg2);
19281 
19282  return SWIG_arg;
19283 
19284  if(0) SWIG_fail;
19285 
19286 fail:
19287  lua_error(L);
19288  return SWIG_arg;
19289 }
19290 
19291 
19292 static int _wrap_nodetree(lua_State* L) {
19293  int SWIG_arg = 0;
19294  uiNode_t *arg1 = (uiNode_t *) 0 ;
19295 
19296  SWIG_check_num_args("UI_PrintNodeTree",1,1)
19297  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_PrintNodeTree",1,"uiNode_t *");
19298 
19299  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19300  SWIG_fail_ptr("nodetree",1,SWIGTYPE_p_uiNode_t);
19301  }
19302 
19303  UI_PrintNodeTree(arg1);
19304 
19305  return SWIG_arg;
19306 
19307  if(0) SWIG_fail;
19308 
19309 fail:
19310  lua_error(L);
19311  return SWIG_arg;
19312 }
19313 
19314 
19315 static int _wrap_nodepath(lua_State* L) {
19316  int SWIG_arg = 0;
19317  uiNode_t *arg1 = (uiNode_t *) 0 ;
19318  char *result = 0 ;
19319 
19320  SWIG_check_num_args("UI_GetPath",1,1)
19321  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_GetPath",1,"uiNode_t const *");
19322 
19323  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19324  SWIG_fail_ptr("nodepath",1,SWIGTYPE_p_uiNode_t);
19325  }
19326 
19327  result = (char *)UI_GetPath((uiNode_t const *)arg1);
19328  lua_pushstring(L,(const char *)result); SWIG_arg++;
19329  return SWIG_arg;
19330 
19331  if(0) SWIG_fail;
19332 
19333 fail:
19334  lua_error(L);
19335  return SWIG_arg;
19336 }
19337 
19338 
19339 static int _wrap_register_onload(lua_State* L) {
19340  int SWIG_arg = 0;
19341  LUA_FUNCTION arg1 ;
19342 
19343  SWIG_check_num_args("UI_RegisterHandler_OnLoad",1,1)
19344  {
19345  arg1 = (LUA_FUNCTION)luaL_ref (L, LUA_REGISTRYINDEX);
19346  }
19348 
19349  return SWIG_arg;
19350 
19351  if(0) SWIG_fail;
19352 
19353 fail:
19354  lua_error(L);
19355  return SWIG_arg;
19356 }
19357 
19358 
19360  {0,0,0}
19361 };
19363  {SWIG_LUA_CONSTTAB_INT("TEXT_NULL", TEXT_NULL)},
19364  {SWIG_LUA_CONSTTAB_INT("TEXT_STANDARD", TEXT_STANDARD)},
19365  {SWIG_LUA_CONSTTAB_INT("TEXT_LIST", TEXT_LIST)},
19366  {SWIG_LUA_CONSTTAB_INT("TEXT_LIST2", TEXT_LIST2)},
19367  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA", TEXT_UFOPEDIA)},
19368  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_REQUIREMENT", TEXT_UFOPEDIA_REQUIREMENT)},
19369  {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDINGS", TEXT_BUILDINGS)},
19370  {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDING_INFO", TEXT_BUILDING_INFO)},
19371  {SWIG_LUA_CONSTTAB_INT("TEXT_RESEARCH", TEXT_RESEARCH)},
19372  {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP", TEXT_POPUP)},
19373  {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP_INFO", TEXT_POPUP_INFO)},
19374  {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_LIST", TEXT_AIRCRAFT_LIST)},
19375  {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_INFO", TEXT_AIRCRAFT_INFO)},
19376  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_LIST", TEXT_PRODUCTION_LIST)},
19377  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_AMOUNT", TEXT_PRODUCTION_AMOUNT)},
19378  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_INFO", TEXT_PRODUCTION_INFO)},
19379  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_RIGHT", TEXT_MOUSECURSOR_RIGHT)},
19380  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_QUEUED", TEXT_PRODUCTION_QUEUED)},
19381  {SWIG_LUA_CONSTTAB_INT("TEXT_BASE_LIST", TEXT_BASE_LIST)},
19382  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_PLAYERNAMES", TEXT_MOUSECURSOR_PLAYERNAMES)},
19383  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAILHEADER", TEXT_UFOPEDIA_MAILHEADER)},
19384  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAIL", TEXT_UFOPEDIA_MAIL)},
19385  {SWIG_LUA_CONSTTAB_INT("TEXT_CHAT_WINDOW", TEXT_CHAT_WINDOW)},
19386  {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_1", TEXT_AIREQUIP_1)},
19387  {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_2", TEXT_AIREQUIP_2)},
19388  {SWIG_LUA_CONSTTAB_INT("TEXT_BASEDEFENCE_LIST", TEXT_BASEDEFENCE_LIST)},
19389  {SWIG_LUA_CONSTTAB_INT("TEXT_TIPOFTHEDAY", TEXT_TIPOFTHEDAY)},
19390  {SWIG_LUA_CONSTTAB_INT("TEXT_GENERIC", TEXT_GENERIC)},
19391  {SWIG_LUA_CONSTTAB_INT("TEXT_XVI", TEXT_XVI)},
19392  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_TOP", TEXT_MOUSECURSOR_TOP)},
19393  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_BOTTOM", TEXT_MOUSECURSOR_BOTTOM)},
19394  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_LEFT", TEXT_MOUSECURSOR_LEFT)},
19395  {SWIG_LUA_CONSTTAB_INT("TEXT_MESSAGEOPTIONS", TEXT_MESSAGEOPTIONS)},
19396  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_NATIONS", TEXT_UFORECOVERY_NATIONS)},
19397  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_UFOYARDS", TEXT_UFORECOVERY_UFOYARDS)},
19398  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_CAPACITIES", TEXT_UFORECOVERY_CAPACITIES)},
19399  {SWIG_LUA_CONSTTAB_INT("TEXT_MATERIAL_STAGES", TEXT_MATERIAL_STAGES)},
19400  {SWIG_LUA_CONSTTAB_INT("TEXT_IRCCONTENT", TEXT_IRCCONTENT)},
19401  {SWIG_LUA_CONSTTAB_INT("TEXT_IRCUSERS", TEXT_IRCUSERS)},
19402  {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERLIST", TEXT_MULTIPLAYER_USERLIST)},
19403  {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERTEAM", TEXT_MULTIPLAYER_USERTEAM)},
19404  {SWIG_LUA_CONSTTAB_INT("TEXT_ITEMDESCRIPTION", TEXT_ITEMDESCRIPTION)},
19405  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING", TEXT_MISSIONBRIEFING)},
19406  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_TITLE", TEXT_MISSIONBRIEFING_TITLE)},
19407  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS", TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS)},
19408  {SWIG_LUA_CONSTTAB_INT("OPTION_LANGUAGES", OPTION_LANGUAGES)},
19409  {SWIG_LUA_CONSTTAB_INT("OPTION_JOYSTICKS", OPTION_JOYSTICKS)},
19410  {SWIG_LUA_CONSTTAB_INT("OPTION_VIDEO_RESOLUTIONS", OPTION_VIDEO_RESOLUTIONS)},
19411  {SWIG_LUA_CONSTTAB_INT("OPTION_SINGLEPLAYER_SKINS", OPTION_SINGLEPLAYER_SKINS)},
19412  {SWIG_LUA_CONSTTAB_INT("OPTION_MULTIPLAYER_SKINS", OPTION_MULTIPLAYER_SKINS)},
19413  {SWIG_LUA_CONSTTAB_INT("OPTION_UFOPEDIA", OPTION_UFOPEDIA)},
19414  {SWIG_LUA_CONSTTAB_INT("OPTION_UFOS", OPTION_UFOS)},
19415  {SWIG_LUA_CONSTTAB_INT("OPTION_DROPSHIPS", OPTION_DROPSHIPS)},
19416  {SWIG_LUA_CONSTTAB_INT("OPTION_BASELIST", OPTION_BASELIST)},
19417  {SWIG_LUA_CONSTTAB_INT("OPTION_TEAMDEFS", OPTION_TEAMDEFS)},
19418  {SWIG_LUA_CONSTTAB_INT("OPTION_PRODUCTION_REQUIREMENTS", OPTION_PRODUCTION_REQUIREMENTS)},
19419  {SWIG_LUA_CONSTTAB_INT("UI_MAX_DATAID", UI_MAX_DATAID)},
19420  {SWIG_LUA_CONSTTAB_INT("LONGLINES_WRAP", LONGLINES_WRAP)},
19421  {SWIG_LUA_CONSTTAB_INT("LONGLINES_CHOP", LONGLINES_CHOP)},
19422  {SWIG_LUA_CONSTTAB_INT("LONGLINES_PRETTYCHOP", LONGLINES_PRETTYCHOP)},
19423  {SWIG_LUA_CONSTTAB_INT("LONGLINES_LAST", LONGLINES_LAST)},
19424  {SWIG_LUA_CONSTTAB_INT("ALIGN_UL", ALIGN_UL)},
19425  {SWIG_LUA_CONSTTAB_INT("ALIGN_UC", ALIGN_UC)},
19426  {SWIG_LUA_CONSTTAB_INT("ALIGN_UR", ALIGN_UR)},
19427  {SWIG_LUA_CONSTTAB_INT("ALIGN_CL", ALIGN_CL)},
19428  {SWIG_LUA_CONSTTAB_INT("ALIGN_CC", ALIGN_CC)},
19429  {SWIG_LUA_CONSTTAB_INT("ALIGN_CR", ALIGN_CR)},
19430  {SWIG_LUA_CONSTTAB_INT("ALIGN_LL", ALIGN_LL)},
19431  {SWIG_LUA_CONSTTAB_INT("ALIGN_LC", ALIGN_LC)},
19432  {SWIG_LUA_CONSTTAB_INT("ALIGN_LR", ALIGN_LR)},
19433  {SWIG_LUA_CONSTTAB_INT("ALIGN_UL_RSL", ALIGN_UL_RSL)},
19434  {SWIG_LUA_CONSTTAB_INT("ALIGN_UC_RSL", ALIGN_UC_RSL)},
19435  {SWIG_LUA_CONSTTAB_INT("ALIGN_UR_RSL", ALIGN_UR_RSL)},
19436  {SWIG_LUA_CONSTTAB_INT("ALIGN_CL_RSL", ALIGN_CL_RSL)},
19437  {SWIG_LUA_CONSTTAB_INT("ALIGN_CC_RSL", ALIGN_CC_RSL)},
19438  {SWIG_LUA_CONSTTAB_INT("ALIGN_CR_RSL", ALIGN_CR_RSL)},
19439  {SWIG_LUA_CONSTTAB_INT("ALIGN_LL_RSL", ALIGN_LL_RSL)},
19440  {SWIG_LUA_CONSTTAB_INT("ALIGN_LC_RSL", ALIGN_LC_RSL)},
19441  {SWIG_LUA_CONSTTAB_INT("ALIGN_LR_RSL", ALIGN_LR_RSL)},
19442  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_NONE", LAYOUTALIGN_NONE)},
19443  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MASK", LAYOUTALIGN_H_MASK)},
19444  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_LEFT", LAYOUTALIGN_H_LEFT)},
19445  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MIDDLE", LAYOUTALIGN_H_MIDDLE)},
19446  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_RIGHT", LAYOUTALIGN_H_RIGHT)},
19447  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MASK", LAYOUTALIGN_V_MASK)},
19448  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_TOP", LAYOUTALIGN_V_TOP)},
19449  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MIDDLE", LAYOUTALIGN_V_MIDDLE)},
19450  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_BOTTOM", LAYOUTALIGN_V_BOTTOM)},
19451  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPLEFT", LAYOUTALIGN_TOPLEFT)},
19452  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOP", LAYOUTALIGN_TOP)},
19453  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPRIGHT", LAYOUTALIGN_TOPRIGHT)},
19454  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_LEFT", LAYOUTALIGN_LEFT)},
19455  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MIDDLE", LAYOUTALIGN_MIDDLE)},
19456  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_RIGHT", LAYOUTALIGN_RIGHT)},
19457  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMLEFT", LAYOUTALIGN_BOTTOMLEFT)},
19458  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOM", LAYOUTALIGN_BOTTOM)},
19459  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMRIGHT", LAYOUTALIGN_BOTTOMRIGHT)},
19460  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_SPECIAL", LAYOUTALIGN_SPECIAL)},
19461  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_FILL", LAYOUTALIGN_FILL)},
19462  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MAX", LAYOUTALIGN_MAX)},
19463  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_ENSURE_32BIT", LAYOUTALIGN_ENSURE_32BIT)},
19464  {SWIG_LUA_CONSTTAB_INT("LAYOUT_NONE", LAYOUT_NONE)},
19465  {SWIG_LUA_CONSTTAB_INT("LAYOUT_TOP_DOWN_FLOW", LAYOUT_TOP_DOWN_FLOW)},
19466  {SWIG_LUA_CONSTTAB_INT("LAYOUT_LEFT_RIGHT_FLOW", LAYOUT_LEFT_RIGHT_FLOW)},
19467  {SWIG_LUA_CONSTTAB_INT("LAYOUT_BORDER", LAYOUT_BORDER)},
19468  {SWIG_LUA_CONSTTAB_INT("LAYOUT_PACK", LAYOUT_PACK)},
19469  {SWIG_LUA_CONSTTAB_INT("LAYOUT_STAR", LAYOUT_STAR)},
19470  {SWIG_LUA_CONSTTAB_INT("LAYOUT_CLIENT", LAYOUT_CLIENT)},
19471  {SWIG_LUA_CONSTTAB_INT("LAYOUT_COLUMN", LAYOUT_COLUMN)},
19472  {SWIG_LUA_CONSTTAB_INT("LAYOUT_MAX", LAYOUT_MAX)},
19473  {SWIG_LUA_CONSTTAB_INT("LAYOUT_ENSURE_32BIT", LAYOUT_ENSURE_32BIT)},
19474  {SWIG_LUA_CONSTTAB_INT("SPINNER_NORMAL", SPINNER_NORMAL)},
19475  {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_INCREASE", SPINNER_ONLY_INCREASE)},
19476  {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_DECREASE", SPINNER_ONLY_DECREASE)},
19477  {SWIG_LUA_CONSTTAB_INT("FILTER_S_PRIMARY", FILTER_S_PRIMARY)},
19478  {SWIG_LUA_CONSTTAB_INT("FILTER_S_SECONDARY", FILTER_S_SECONDARY)},
19479  {SWIG_LUA_CONSTTAB_INT("FILTER_S_HEAVY", FILTER_S_HEAVY)},
19480  {SWIG_LUA_CONSTTAB_INT("FILTER_S_MISC", FILTER_S_MISC)},
19481  {SWIG_LUA_CONSTTAB_INT("FILTER_S_ARMOUR", FILTER_S_ARMOUR)},
19482  {SWIG_LUA_CONSTTAB_INT("FILTER_S_IMPLANT", FILTER_S_IMPLANT)},
19483  {SWIG_LUA_CONSTTAB_INT("MAX_SOLDIER_FILTERTYPES", MAX_SOLDIER_FILTERTYPES)},
19484  {SWIG_LUA_CONSTTAB_INT("FILTER_CRAFTITEM", FILTER_CRAFTITEM)},
19485  {SWIG_LUA_CONSTTAB_INT("FILTER_UGVITEM", FILTER_UGVITEM)},
19486  {SWIG_LUA_CONSTTAB_INT("FILTER_AIRCRAFT", FILTER_AIRCRAFT)},
19487  {SWIG_LUA_CONSTTAB_INT("FILTER_DUMMY", FILTER_DUMMY)},
19488  {SWIG_LUA_CONSTTAB_INT("FILTER_DISASSEMBLY", FILTER_DISASSEMBLY)},
19489  {SWIG_LUA_CONSTTAB_INT("MAX_FILTERTYPES", MAX_FILTERTYPES)},
19490  {SWIG_LUA_CONSTTAB_INT("FILTER_ENSURE_32BIT", FILTER_ENSURE_32BIT)},
19491  {0,0,0,0,0,0}
19492 };
19494  { "findvar", _wrap_findvar},
19495  { "getvar", _wrap_getvar},
19496  { "delvar", _wrap_delvar},
19497  { "create_control", _wrap_create_control},
19498  { "UI_CreateBar", _wrap_UI_CreateBar},
19499  { "UI_CreateBaseLayout", _wrap_UI_CreateBaseLayout},
19500  { "UI_CreateBaseInventory", _wrap_UI_CreateBaseInventory},
19501  { "UI_CreateButton", _wrap_UI_CreateButton},
19502  { "UI_CreateCheckBox", _wrap_UI_CreateCheckBox},
19503  { "UI_CreateConFunc", _wrap_UI_CreateConFunc},
19504  { "UI_CreateContainer", _wrap_UI_CreateContainer},
19505  { "UI_CreateData", _wrap_UI_CreateData},
19506  { "UI_CreateGeoscape", _wrap_UI_CreateGeoscape},
19507  { "UI_CreateImage", _wrap_UI_CreateImage},
19508  { "UI_CreateItem", _wrap_UI_CreateItem},
19509  { "UI_CreateLineChart", _wrap_UI_CreateLineChart},
19510  { "UI_CreateMessageList", _wrap_UI_CreateMessageList},
19511  { "UI_CreateModel", _wrap_UI_CreateModel},
19512  { "UI_CreateOption", _wrap_UI_CreateOption},
19513  { "UI_CreateOptionList", _wrap_UI_CreateOptionList},
19514  { "UI_CreateOptionTree", _wrap_UI_CreateOptionTree},
19515  { "UI_CreatePanel", _wrap_UI_CreatePanel},
19516  { "UI_CreateRadar", _wrap_UI_CreateRadar},
19517  { "UI_CreateRadioButton", _wrap_UI_CreateRadioButton},
19518  { "UI_CreateRows", _wrap_UI_CreateRows},
19519  { "UI_CreateSelectBox", _wrap_UI_CreateSelectBox},
19520  { "UI_CreateSequence", _wrap_UI_CreateSequence},
19521  { "UI_CreateSpinner", _wrap_UI_CreateSpinner},
19522  { "UI_CreateString", _wrap_UI_CreateString},
19523  { "UI_CreateTab", _wrap_UI_CreateTab},
19524  { "UI_CreateTBar", _wrap_UI_CreateTBar},
19525  { "UI_CreateText", _wrap_UI_CreateText},
19526  { "UI_CreateText2", _wrap_UI_CreateText2},
19527  { "UI_CreateTextEntry", _wrap_UI_CreateTextEntry},
19528  { "UI_CreateTextList", _wrap_UI_CreateTextList},
19529  { "UI_CreateTexture", _wrap_UI_CreateTexture},
19530  { "UI_CreateTimer", _wrap_UI_CreateTimer},
19531  { "UI_CreateVideo", _wrap_UI_CreateVideo},
19532  { "UI_CreateVScrollbar", _wrap_UI_CreateVScrollbar},
19533  { "UI_CreateWidget", _wrap_UI_CreateWidget},
19534  { "UI_CreateWindow", _wrap_UI_CreateWindow},
19535  { "UI_CreateZone", _wrap_UI_CreateZone},
19536  { "create_bar", _wrap_create_bar},
19537  { "create_button", _wrap_create_button},
19538  { "create_baselayout", _wrap_create_baselayout},
19539  { "create_baseinventory", _wrap_create_baseinventory},
19540  { "create_checkbox", _wrap_create_checkbox},
19541  { "create_confunc", _wrap_create_confunc},
19542  { "create_container", _wrap_create_container},
19543  { "create_data", _wrap_create_data},
19544  { "create_geoscape", _wrap_create_geoscape},
19545  { "create_image", _wrap_create_image},
19546  { "create_item", _wrap_create_item},
19547  { "create_linechart", _wrap_create_linechart},
19548  { "create_messagelist", _wrap_create_messagelist},
19549  { "create_model", _wrap_create_model},
19550  { "create_option", _wrap_create_option},
19551  { "create_optionlist", _wrap_create_optionlist},
19552  { "create_optiontree", _wrap_create_optiontree},
19553  { "create_panel", _wrap_create_panel},
19554  { "create_radar", _wrap_create_radar},
19555  { "create_radiobutton", _wrap_create_radiobutton},
19556  { "create_rows", _wrap_create_rows},
19557  { "create_selectbox", _wrap_create_selectbox},
19558  { "create_sequence", _wrap_create_sequence},
19559  { "create_spinner", _wrap_create_spinner},
19560  { "create_string", _wrap_create_string},
19561  { "create_tab", _wrap_create_tab},
19562  { "create_tbar", _wrap_create_tbar},
19563  { "create_text", _wrap_create_text},
19564  { "create_text2", _wrap_create_text2},
19565  { "create_textentry", _wrap_create_textentry},
19566  { "create_textlist", _wrap_create_textlist},
19567  { "create_texture", _wrap_create_texture},
19568  { "create_timer", _wrap_create_timer},
19569  { "create_video", _wrap_create_video},
19570  { "create_vscrollbar", _wrap_create_vscrollbar},
19571  { "create_widget", _wrap_create_widget},
19572  { "create_window", _wrap_create_window},
19573  { "create_zone", _wrap_create_zone},
19574  { "create_component", _wrap_create_component},
19575  { "pop_window", _wrap_pop_window},
19576  { "push_window", _wrap_push_window},
19577  { "get_window", _wrap_get_window},
19578  { "delete_node", _wrap_delete_node},
19579  { "cmd", _wrap_cmd},
19580  { "print", _wrap_print},
19581  { "dprint", _wrap_dprint},
19582  { "error", _wrap_error},
19583  { "nodetree", _wrap_nodetree},
19584  { "nodepath", _wrap_nodepath},
19585  { "register_onload", _wrap_register_onload},
19586  {0,0}
19587 };
19634  0
19635 };
19637  0
19638 };
19639 
19641  "ufo",
19647 };
19648 #ifdef __cplusplus
19649 }
19650 #endif
19651 
19652 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19653 
19654 static void *_p_uiBaseInventoryNode_tTo_p_uiContainerNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19655  return (void *)((uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19656 }
19657 static void *_p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19658  return (void *)((uiModelNode_t *) ((uiItemNode_t *) x));
19659 }
19661  return (void *)((uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19662 }
19663 static void *_p_uiSelectBoxNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19664  return (void *)((uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19665 }
19666 static void *_p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19667  return (void *)((uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19668 }
19670  return (void *)((uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19671 }
19672 static void *_p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19673  return (void *)((uiTextNode_t *) ((uiText2Node_t *) x));
19674 }
19675 static void *_p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19676  return (void *)((uiTextNode_t *) ((uiTextListNode_t *) x));
19677 }
19679  return (void *)((uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19680 }
19681 static void *_p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19682  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiText2Node_t *) x));
19683 }
19684 static void *_p_uiTextNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19685  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19686 }
19687 static void *_p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19688  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19689 }
19690 static void *_p_uiTabNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19691  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19692 }
19693 static void *_p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19694  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19695 }
19696 static void *_p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19697  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19698 }
19699 static void *_p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19700  return (void *)((uiNode_t *) ((uiRadioButtonNode_t *) x));
19701 }
19702 static void *_p_uiRadarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19703  return (void *)((uiNode_t *) ((uiRadarNode_t *) x));
19704 }
19705 static void *_p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19706  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19707 }
19708 static void *_p_uiOptionListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19709  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19710 }
19711 static void *_p_uiOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19712  return (void *)((uiNode_t *) ((uiOptionNode_t *) x));
19713 }
19714 static void *_p_uiModelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19715  return (void *)((uiNode_t *) ((uiModelNode_t *) x));
19716 }
19717 static void *_p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19718  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19719 }
19720 static void *_p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19721  return (void *)((uiNode_t *) ((uiLineChartNode_t *) x));
19722 }
19723 static void *_p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19724  return (void *)((uiNode_t *) ((uiAbstractOptionNode_t *) x));
19725 }
19726 static void *_p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19727  return (void *)((uiNode_t *) ((uiAbstractScrollbarNode_t *) x));
19728 }
19729 static void *_p_uiBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19730  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19731 }
19732 static void *_p_uiBaseLayoutNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19733  return (void *)((uiNode_t *) ((uiBaseLayoutNode_t *) x));
19734 }
19735 static void *_p_uiButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19736  return (void *)((uiNode_t *) ((uiButtonNode_t *) x));
19737 }
19738 static void *_p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19739  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19740 }
19741 static void *_p_uiContainerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19742  return (void *)((uiNode_t *) ((uiContainerNode_t *) x));
19743 }
19744 static void *_p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19745  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiTextListNode_t *) x));
19746 }
19747 static void *_p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19748  return (void *)((uiNode_t *) ((uiTimerNode_t *) x));
19749 }
19750 static void *_p_uiVScrollBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19751  return (void *)((uiNode_t *) (uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19752 }
19753 static void *_p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19754  return (void *)((uiNode_t *) (uiImageNode_t *) ((uiWidgetNode_t *) x));
19755 }
19756 static void *_p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19757  return (void *)((uiNode_t *) ((uiTextEntryNode_t *) x));
19758 }
19759 static void *_p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19760  return (void *)((uiNode_t *) ((uiStringNode_t *) x));
19761 }
19762 static void *_p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19763  return (void *)((uiNode_t *) ((uiSequenceNode_t *) x));
19764 }
19765 static void *_p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19766  return (void *)((uiNode_t *) ((uiRowsNode_t *) x));
19767 }
19768 static void *_p_uiOptionTreeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19769  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19770 }
19771 static void *_p_uiItemNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19772  return (void *)((uiNode_t *) (uiModelNode_t *) ((uiItemNode_t *) x));
19773 }
19774 static void *_p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19775  return (void *)((uiNode_t *) ((uiAbstractScrollableNode_t *) x));
19776 }
19777 static void *_p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19778  return (void *)((uiNode_t *) ((uiAbstractValueNode_t *) x));
19779 }
19780 static void *_p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19781  return (void *)((uiNode_t *) ((uiConFuncNode_t *) x));
19782 }
19783 static void *_p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19784  return (void *)((uiNode_t *) (uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19785 }
19786 static void *_p_uiDataNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19787  return (void *)((uiNode_t *) ((uiDataNode_t *) x));
19788 }
19789 static void *_p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19790  return (void *)((uiNode_t *) ((uiGeoscapeNode_t *) x));
19791 }
19792 static void *_p_uiImageNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19793  return (void *)((uiNode_t *) ((uiImageNode_t *) x));
19794 }
19795 static void *_p_uiTextureNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19796  return (void *)((uiNode_t *) ((uiTextureNode_t *) x));
19797 }
19798 static void *_p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19799  return (void *)((uiNode_t *) ((uiVideoNode_t *) x));
19800 }
19801 static void *_p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19802  return (void *)((uiNode_t *) ((uiWindowNode_t *) x));
19803 }
19804 static void *_p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19805  return (void *)((uiNode_t *) ((uiZoneNode_t *) x));
19806 }
19807 static void *_p_uiBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19808  return (void *)((uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19809 }
19810 static void *_p_uiCheckBoxNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19811  return (void *)((uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19812 }
19813 static void *_p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19814  return (void *)((uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19815 }
19816 static void *_p_uiTBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19817  return (void *)((uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19818 }
19820  return (void *)((uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19821 }
19822 static void *_p_uiPanelNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19823  return (void *)((uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19824 }
19825 static void *_p_uiTextNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19826  return (void *)((uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19827 }
19828 static void *_p_uiText2Node_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19829  return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiText2Node_t *) x));
19830 }
19832  return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiTextListNode_t *) x));
19833 }
19834 static void *_p_uiWidgetNode_tTo_p_uiImageNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19835  return (void *)((uiImageNode_t *) ((uiWidgetNode_t *) x));
19836 }
19837 static swig_type_info _swigt__p_LUA_EVENT = {"_p_LUA_EVENT", "LUA_EVENT *", 0, 0, (void*)0, 0};
19838 static swig_type_info _swigt__p_LUA_FUNCTION = {"_p_LUA_FUNCTION", "LUA_FUNCTION *", 0, 0, (void*)0, 0};
19839 static swig_type_info _swigt__p_LUA_METHOD = {"_p_LUA_METHOD", "LUA_METHOD *", 0, 0, (void*)0, 0};
19840 static swig_type_info _swigt__p_align_t = {"_p_align_t", "enum align_t *|align_t *", 0, 0, (void*)0, 0};
19841 static swig_type_info _swigt__p_cvar_t = {"_p_cvar_t", "cvar_t *", 0, 0, (void*)&_wrap_class_cvar, 0};
19842 static swig_type_info _swigt__p_invDef_t = {"_p_invDef_t", "invDef_t *", 0, 0, (void*)&_wrap_class_invDef, 0};
19843 static swig_type_info _swigt__p_itemFilterTypes_t = {"_p_itemFilterTypes_t", "enum itemFilterTypes_t *|itemFilterTypes_t *", 0, 0, (void*)0, 0};
19844 static swig_type_info _swigt__p_layoutAlign_t = {"_p_layoutAlign_t", "enum layoutAlign_t *|layoutAlign_t *", 0, 0, (void*)0, 0};
19845 static swig_type_info _swigt__p_linkedList_t = {"_p_linkedList_t", "linkedList_t *", 0, 0, (void*)0, 0};
19846 static swig_type_info _swigt__p_longlines_t = {"_p_longlines_t", "enum longlines_t *|longlines_t *", 0, 0, (void*)0, 0};
19847 static swig_type_info _swigt__p_panelLayout_t = {"_p_panelLayout_t", "enum panelLayout_t *|panelLayout_t *", 0, 0, (void*)0, 0};
19848 static swig_type_info _swigt__p_uiAbstractOptionNode_t = {"_p_uiAbstractOptionNode_t", "uiAbstractOptionNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractOptionNode, 0};
19849 static swig_type_info _swigt__p_uiAbstractScrollableNode_t = {"_p_uiAbstractScrollableNode_t", "uiAbstractScrollableNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollableNode, 0};
19850 static swig_type_info _swigt__p_uiAbstractScrollbarNode_t = {"_p_uiAbstractScrollbarNode_t", "uiAbstractScrollbarNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollbarNode, 0};
19851 static swig_type_info _swigt__p_uiAbstractValueNode_t = {"_p_uiAbstractValueNode_t", "uiAbstractValueNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractValueNode, 0};
19852 static swig_type_info _swigt__p_uiBarNode_t = {"_p_uiBarNode_t", "uiBarNode_t *", 0, 0, (void*)&_wrap_class_uiBar, 0};
19853 static swig_type_info _swigt__p_uiBaseInventoryNode_t = {"_p_uiBaseInventoryNode_t", "uiBaseInventoryNode_t *", 0, 0, (void*)&_wrap_class_uiBaseInventory, 0};
19854 static swig_type_info _swigt__p_uiBaseLayoutNode_t = {"_p_uiBaseLayoutNode_t", "uiBaseLayoutNode_t *", 0, 0, (void*)&_wrap_class_uiBaseLayout, 0};
19855 static swig_type_info _swigt__p_uiButtonNode_t = {"_p_uiButtonNode_t", "uiButtonNode_t *", 0, 0, (void*)&_wrap_class_uiButton, 0};
19856 static swig_type_info _swigt__p_uiCheckBoxNode_t = {"_p_uiCheckBoxNode_t", "uiCheckBoxNode_t *", 0, 0, (void*)&_wrap_class_uiCheckBox, 0};
19857 static swig_type_info _swigt__p_uiConFuncNode_t = {"_p_uiConFuncNode_t", "uiConFuncNode_t *", 0, 0, (void*)&_wrap_class_uiConFunc, 0};
19858 static swig_type_info _swigt__p_uiContainerNode_t = {"_p_uiContainerNode_t", "uiContainerNode_t *", 0, 0, (void*)&_wrap_class_uiContainer, 0};
19859 static swig_type_info _swigt__p_uiDataNode_t = {"_p_uiDataNode_t", "uiDataNode_t *", 0, 0, (void*)&_wrap_class_uiData, 0};
19860 static swig_type_info _swigt__p_uiGeoscapeNode_t = {"_p_uiGeoscapeNode_t", "uiGeoscapeNode_t *", 0, 0, (void*)&_wrap_class_uiGeoscape, 0};
19861 static swig_type_info _swigt__p_uiImageNode_t = {"_p_uiImageNode_t", "uiImageNode_t *", 0, 0, (void*)&_wrap_class_uiImage, 0};
19862 static swig_type_info _swigt__p_uiItemNode_t = {"_p_uiItemNode_t", "uiItemNode_t *", 0, 0, (void*)&_wrap_class_uiItem, 0};
19863 static swig_type_info _swigt__p_uiLineChartNode_t = {"_p_uiLineChartNode_t", "uiLineChartNode_t *", 0, 0, (void*)&_wrap_class_uiLineChart, 0};
19864 static swig_type_info _swigt__p_uiMessageListNode_t = {"_p_uiMessageListNode_t", "uiMessageListNode_t *", 0, 0, (void*)&_wrap_class_uiMessageList, 0};
19865 static swig_type_info _swigt__p_uiModelNode_t = {"_p_uiModelNode_t", "uiModelNode_t *", 0, 0, (void*)&_wrap_class_uiModel, 0};
19866 static swig_type_info _swigt__p_uiNode_t = {"_p_uiNode_t", "uiNode_t *", 0, 0, (void*)&_wrap_class_uiNode, 0};
19867 static swig_type_info _swigt__p_uiOptionListNode_t = {"_p_uiOptionListNode_t", "uiOptionListNode_t *", 0, 0, (void*)&_wrap_class_uiOptionList, 0};
19868 static swig_type_info _swigt__p_uiOptionNode_t = {"_p_uiOptionNode_t", "uiOptionNode_t *", 0, 0, (void*)&_wrap_class_uiOption, 0};
19869 static swig_type_info _swigt__p_uiOptionTreeNode_t = {"_p_uiOptionTreeNode_t", "uiOptionTreeNode_t *", 0, 0, (void*)&_wrap_class_uiOptionTree, 0};
19870 static swig_type_info _swigt__p_uiPanelNode_t = {"_p_uiPanelNode_t", "uiPanelNode_t *", 0, 0, (void*)&_wrap_class_uiPanel, 0};
19871 static swig_type_info _swigt__p_uiRadarNode_t = {"_p_uiRadarNode_t", "uiRadarNode_t *", 0, 0, (void*)&_wrap_class_uiRadar, 0};
19872 static swig_type_info _swigt__p_uiRadioButtonNode_t = {"_p_uiRadioButtonNode_t", "uiRadioButtonNode_t *", 0, 0, (void*)&_wrap_class_uiRadioButton, 0};
19873 static swig_type_info _swigt__p_uiRowsNode_t = {"_p_uiRowsNode_t", "uiRowsNode_t *", 0, 0, (void*)&_wrap_class_uiRows, 0};
19874 static swig_type_info _swigt__p_uiSelectBoxNode_t = {"_p_uiSelectBoxNode_t", "uiSelectBoxNode_t *", 0, 0, (void*)&_wrap_class_uiSelectBox, 0};
19875 static swig_type_info _swigt__p_uiSequenceNode_t = {"_p_uiSequenceNode_t", "uiSequenceNode_t *", 0, 0, (void*)&_wrap_class_uiSequence, 0};
19876 static swig_type_info _swigt__p_uiSpinnerNode_t = {"_p_uiSpinnerNode_t", "uiSpinnerNode_t *", 0, 0, (void*)&_wrap_class_uiSpinner, 0};
19877 static swig_type_info _swigt__p_uiStringNode_t = {"_p_uiStringNode_t", "uiStringNode_t *", 0, 0, (void*)&_wrap_class_uiString, 0};
19878 static swig_type_info _swigt__p_uiTBarNode_t = {"_p_uiTBarNode_t", "uiTBarNode_t *", 0, 0, (void*)&_wrap_class_uiTBar, 0};
19879 static swig_type_info _swigt__p_uiTabNode_t = {"_p_uiTabNode_t", "uiTabNode_t *", 0, 0, (void*)&_wrap_class_uiTab, 0};
19880 static swig_type_info _swigt__p_uiText2Node_t = {"_p_uiText2Node_t", "uiText2Node_t *", 0, 0, (void*)&_wrap_class_uiText2, 0};
19881 static swig_type_info _swigt__p_uiTextEntryNode_t = {"_p_uiTextEntryNode_t", "uiTextEntryNode_t *", 0, 0, (void*)&_wrap_class_uiTextEntry, 0};
19882 static swig_type_info _swigt__p_uiTextListNode_t = {"_p_uiTextListNode_t", "uiTextListNode_t *", 0, 0, (void*)&_wrap_class_uiTextList, 0};
19883 static swig_type_info _swigt__p_uiTextNode_t = {"_p_uiTextNode_t", "uiTextNode_t *", 0, 0, (void*)&_wrap_class_uiText, 0};
19884 static swig_type_info _swigt__p_uiTextureNode_t = {"_p_uiTextureNode_t", "uiTextureNode_t *", 0, 0, (void*)&_wrap_class_uiTexture, 0};
19885 static swig_type_info _swigt__p_uiTimerNode_t = {"_p_uiTimerNode_t", "uiTimerNode_t *", 0, 0, (void*)&_wrap_class_uiTimer, 0};
19886 static swig_type_info _swigt__p_uiVScrollBarNode_t = {"_p_uiVScrollBarNode_t", "uiVScrollBarNode_t *", 0, 0, (void*)&_wrap_class_uiVScrollbar, 0};
19887 static swig_type_info _swigt__p_uiVideoNode_t = {"_p_uiVideoNode_t", "uiVideoNode_t *", 0, 0, (void*)&_wrap_class_uiVideo, 0};
19888 static swig_type_info _swigt__p_uiWidgetNode_t = {"_p_uiWidgetNode_t", "uiWidgetNode_t *", 0, 0, (void*)&_wrap_class_uiWidget, 0};
19889 static swig_type_info _swigt__p_uiWindowNode_t = {"_p_uiWindowNode_t", "uiWindowNode_t *", 0, 0, (void*)&_wrap_class_uiWindow, 0};
19890 static swig_type_info _swigt__p_uiZoneNode_t = {"_p_uiZoneNode_t", "uiZoneNode_t *", 0, 0, (void*)&_wrap_class_uiZone, 0};
19891 static swig_type_info _swigt__p_vec2_struct_t = {"_p_vec2_struct_t", "vec2_struct_t *", 0, 0, (void*)0, 0};
19892 static swig_type_info _swigt__p_vec3_struct_t = {"_p_vec3_struct_t", "vec3_struct_t *", 0, 0, (void*)0, 0};
19893 
19951 };
19952 
19953 static swig_cast_info _swigc__p_LUA_EVENT[] = { {&_swigt__p_LUA_EVENT, 0, 0, 0},{0, 0, 0, 0}};
19954 static swig_cast_info _swigc__p_LUA_FUNCTION[] = { {&_swigt__p_LUA_FUNCTION, 0, 0, 0},{0, 0, 0, 0}};
19955 static swig_cast_info _swigc__p_LUA_METHOD[] = { {&_swigt__p_LUA_METHOD, 0, 0, 0},{0, 0, 0, 0}};
19956 static swig_cast_info _swigc__p_align_t[] = { {&_swigt__p_align_t, 0, 0, 0},{0, 0, 0, 0}};
19957 static swig_cast_info _swigc__p_cvar_t[] = { {&_swigt__p_cvar_t, 0, 0, 0},{0, 0, 0, 0}};
19958 static swig_cast_info _swigc__p_invDef_t[] = { {&_swigt__p_invDef_t, 0, 0, 0},{0, 0, 0, 0}};
19960 static swig_cast_info _swigc__p_layoutAlign_t[] = { {&_swigt__p_layoutAlign_t, 0, 0, 0},{0, 0, 0, 0}};
19961 static swig_cast_info _swigc__p_linkedList_t[] = { {&_swigt__p_linkedList_t, 0, 0, 0},{0, 0, 0, 0}};
19962 static swig_cast_info _swigc__p_longlines_t[] = { {&_swigt__p_longlines_t, 0, 0, 0},{0, 0, 0, 0}};
19963 static swig_cast_info _swigc__p_panelLayout_t[] = { {&_swigt__p_panelLayout_t, 0, 0, 0},{0, 0, 0, 0}};
19968 static swig_cast_info _swigc__p_uiBarNode_t[] = { {&_swigt__p_uiBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19975 static swig_cast_info _swigc__p_uiDataNode_t[] = { {&_swigt__p_uiDataNode_t, 0, 0, 0},{0, 0, 0, 0}};
19978 static swig_cast_info _swigc__p_uiItemNode_t[] = { {&_swigt__p_uiItemNode_t, 0, 0, 0},{0, 0, 0, 0}};
19982 static swig_cast_info _swigc__p_uiNode_t[] = { {&_swigt__p_uiMessageListNode_t, _p_uiMessageListNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiModelNode_t, _p_uiModelNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiOptionNode_t, _p_uiOptionNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiPanelNode_t, _p_uiPanelNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiRadarNode_t, _p_uiRadarNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiRadioButtonNode_t, _p_uiRadioButtonNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiSpinnerNode_t, _p_uiSpinnerNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTBarNode_t, _p_uiTBarNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTextNode_t, _p_uiTextNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiText2Node_t, _p_uiText2Node_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiLineChartNode_t, _p_uiLineChartNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTabNode_t, _p_uiTabNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiSelectBoxNode_t, _p_uiSelectBoxNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiWidgetNode_t, _p_uiWidgetNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiVScrollBarNode_t, _p_uiVScrollBarNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTimerNode_t, _p_uiTimerNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTextListNode_t, _p_uiTextListNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiContainerNode_t, _p_uiContainerNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiCheckBoxNode_t, _p_uiCheckBoxNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiButtonNode_t, _p_uiButtonNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiBaseLayoutNode_t, _p_uiBaseLayoutNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiBarNode_t, _p_uiBarNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiAbstractScrollbarNode_t, _p_uiAbstractScrollbarNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiAbstractOptionNode_t, _p_uiAbstractOptionNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiOptionListNode_t, _p_uiOptionListNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiStringNode_t, _p_uiStringNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiSequenceNode_t, _p_uiSequenceNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiRowsNode_t, _p_uiRowsNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiAbstractScrollableNode_t, _p_uiAbstractScrollableNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiAbstractValueNode_t, _p_uiAbstractValueNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiItemNode_t, _p_uiItemNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiOptionTreeNode_t, _p_uiOptionTreeNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiNode_t, 0, 0, 0}, {&_swigt__p_uiBaseInventoryNode_t, _p_uiBaseInventoryNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTextEntryNode_t, _p_uiTextEntryNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiConFuncNode_t, _p_uiConFuncNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiDataNode_t, _p_uiDataNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiGeoscapeNode_t, _p_uiGeoscapeNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiImageNode_t, _p_uiImageNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiTextureNode_t, _p_uiTextureNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiVideoNode_t, _p_uiVideoNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiWindowNode_t, _p_uiWindowNode_tTo_p_uiNode_t, 0, 0}, {&_swigt__p_uiZoneNode_t, _p_uiZoneNode_tTo_p_uiNode_t, 0, 0},{0, 0, 0, 0}};
19986 static swig_cast_info _swigc__p_uiPanelNode_t[] = { {&_swigt__p_uiPanelNode_t, 0, 0, 0},{0, 0, 0, 0}};
19987 static swig_cast_info _swigc__p_uiRadarNode_t[] = { {&_swigt__p_uiRadarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19989 static swig_cast_info _swigc__p_uiRowsNode_t[] = { {&_swigt__p_uiRowsNode_t, 0, 0, 0},{0, 0, 0, 0}};
19994 static swig_cast_info _swigc__p_uiTBarNode_t[] = { {&_swigt__p_uiTBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19995 static swig_cast_info _swigc__p_uiTabNode_t[] = { {&_swigt__p_uiTabNode_t, 0, 0, 0},{0, 0, 0, 0}};
19996 static swig_cast_info _swigc__p_uiText2Node_t[] = { {&_swigt__p_uiText2Node_t, 0, 0, 0},{0, 0, 0, 0}};
20001 static swig_cast_info _swigc__p_uiTimerNode_t[] = { {&_swigt__p_uiTimerNode_t, 0, 0, 0},{0, 0, 0, 0}};
20003 static swig_cast_info _swigc__p_uiVideoNode_t[] = { {&_swigt__p_uiVideoNode_t, 0, 0, 0},{0, 0, 0, 0}};
20006 static swig_cast_info _swigc__p_uiZoneNode_t[] = { {&_swigt__p_uiZoneNode_t, 0, 0, 0},{0, 0, 0, 0}};
20007 static swig_cast_info _swigc__p_vec2_struct_t[] = { {&_swigt__p_vec2_struct_t, 0, 0, 0},{0, 0, 0, 0}};
20008 static swig_cast_info _swigc__p_vec3_struct_t[] = { {&_swigt__p_vec3_struct_t, 0, 0, 0},{0, 0, 0, 0}};
20009 
20067 };
20068 
20069 
20070 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20071 
20072 /* -----------------------------------------------------------------------------
20073  * Type initialization:
20074  * This problem is tough by the requirement that no dynamic
20075  * memory is used. Also, since swig_type_info structures store pointers to
20076  * swig_cast_info structures and swig_cast_info structures store pointers back
20077  * to swig_type_info structures, we need some lookup code at initialization.
20078  * The idea is that swig generates all the structures that are needed.
20079  * The runtime then collects these partially filled structures.
20080  * The SWIG_InitializeModule function takes these initial arrays out of
20081  * swig_module, and does all the lookup, filling in the swig_module.types
20082  * array with the correct data and linking the correct swig_cast_info
20083  * structures together.
20084  *
20085  * The generated swig_type_info structures are assigned statically to an initial
20086  * array. We just loop through that array, and handle each type individually.
20087  * First we lookup if this type has been already loaded, and if so, use the
20088  * loaded structure instead of the generated one. Then we have to fill in the
20089  * cast linked list. The cast data is initially stored in something like a
20090  * two-dimensional array. Each row corresponds to a type (there are the same
20091  * number of rows as there are in the swig_type_initial array). Each entry in
20092  * a column is one of the swig_cast_info structures for that type.
20093  * The cast_initial array is actually an array of arrays, because each row has
20094  * a variable number of columns. So to actually build the cast linked list,
20095  * we find the array of casts associated with the type, and loop through it
20096  * adding the casts to the list. The one last trick we need to do is making
20097  * sure the type pointer in the swig_cast_info struct is correct.
20098  *
20099  * First off, we lookup the cast->type name to see if it is already loaded.
20100  * There are three cases to handle:
20101  * 1) If the cast->type has already been loaded AND the type we are adding
20102  * casting info to has not been loaded (it is in this module), THEN we
20103  * replace the cast->type pointer with the type pointer that has already
20104  * been loaded.
20105  * 2) If BOTH types (the one we are adding casting info to, and the
20106  * cast->type) are loaded, THEN the cast info has already been loaded by
20107  * the previous module so we just ignore it.
20108  * 3) Finally, if cast->type has not already been loaded, then we add that
20109  * swig_cast_info to the linked list (because the cast->type) pointer will
20110  * be correct.
20111  * ----------------------------------------------------------------------------- */
20112 
20113 #ifdef __cplusplus
20114 extern "C" {
20115 #if 0
20116 } /* c-mode */
20117 #endif
20118 #endif
20119 
20120 #if 0
20121 #define SWIGRUNTIME_DEBUG
20122 #endif
20123 
20124 
20125 SWIGRUNTIME void
20126 SWIG_InitializeModule(void *clientdata) {
20127  size_t i;
20128  swig_module_info *module_head, *iter;
20129  int init;
20130 
20131  /* check to see if the circular list has been setup, if not, set it up */
20132  if (swig_module.next==0) {
20133  /* Initialize the swig_module */
20137  init = 1;
20138  } else {
20139  init = 0;
20140  }
20141 
20142  /* Try and load any already created modules */
20143  module_head = SWIG_GetModule(clientdata);
20144  if (!module_head) {
20145  /* This is the first module loaded for this interpreter */
20146  /* so set the swig module into the interpreter */
20147  SWIG_SetModule(clientdata, &swig_module);
20148  } else {
20149  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
20150  iter=module_head;
20151  do {
20152  if (iter==&swig_module) {
20153  /* Our module is already in the list, so there's nothing more to do. */
20154  return;
20155  }
20156  iter=iter->next;
20157  } while (iter!= module_head);
20158 
20159  /* otherwise we must add our module into the list */
20160  swig_module.next = module_head->next;
20161  module_head->next = &swig_module;
20162  }
20163 
20164  /* When multiple interpreters are used, a module could have already been initialized in
20165  a different interpreter, but not yet have a pointer in this interpreter.
20166  In this case, we do not want to continue adding types... everything should be
20167  set up already */
20168  if (init == 0) return;
20169 
20170  /* Now work on filling in swig_module.types */
20171 #ifdef SWIGRUNTIME_DEBUG
20172  printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
20173 #endif
20174  for (i = 0; i < swig_module.size; ++i) {
20175  swig_type_info *type = 0;
20176  swig_type_info *ret;
20177  swig_cast_info *cast;
20178 
20179 #ifdef SWIGRUNTIME_DEBUG
20180  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
20181 #endif
20182 
20183  /* if there is another module already loaded */
20184  if (swig_module.next != &swig_module) {
20186  }
20187  if (type) {
20188  /* Overwrite clientdata field */
20189 #ifdef SWIGRUNTIME_DEBUG
20190  printf("SWIG_InitializeModule: found type %s\n", type->name);
20191 #endif
20193  type->clientdata = swig_module.type_initial[i]->clientdata;
20194 #ifdef SWIGRUNTIME_DEBUG
20195  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20196 #endif
20197  }
20198  } else {
20200  }
20201 
20202  /* Insert casting types */
20203  cast = swig_module.cast_initial[i];
20204  while (cast->type) {
20205 
20206  /* Don't need to add information already in the list */
20207  ret = 0;
20208 #ifdef SWIGRUNTIME_DEBUG
20209  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20210 #endif
20211  if (swig_module.next != &swig_module) {
20213 #ifdef SWIGRUNTIME_DEBUG
20214  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20215 #endif
20216  }
20217  if (ret) {
20218  if (type == swig_module.type_initial[i]) {
20219 #ifdef SWIGRUNTIME_DEBUG
20220  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20221 #endif
20222  cast->type = ret;
20223  ret = 0;
20224  } else {
20225  /* Check for casting already in the list */
20226  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20227 #ifdef SWIGRUNTIME_DEBUG
20228  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20229 #endif
20230  if (!ocast) ret = 0;
20231  }
20232  }
20233 
20234  if (!ret) {
20235 #ifdef SWIGRUNTIME_DEBUG
20236  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20237 #endif
20238  if (type->cast) {
20239  type->cast->prev = cast;
20240  cast->next = type->cast;
20241  }
20242  type->cast = cast;
20243  }
20244  cast++;
20245  }
20246  /* Set entry in modules->types array equal to the type */
20247  swig_module.types[i] = type;
20248  }
20249  swig_module.types[i] = 0;
20250 
20251 #ifdef SWIGRUNTIME_DEBUG
20252  printf("**** SWIG_InitializeModule: Cast List ******\n");
20253  for (i = 0; i < swig_module.size; ++i) {
20254  int j = 0;
20256  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
20257  while (cast->type) {
20258  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20259  cast++;
20260  ++j;
20261  }
20262  printf("---- Total casts: %d\n",j);
20263  }
20264  printf("**** SWIG_InitializeModule: Cast List ******\n");
20265 #endif
20266 }
20267 
20268 /* This function will propagate the clientdata field of type to
20269 * any new swig_type_info structures that have been added into the list
20270 * of equivalent types. It is like calling
20271 * SWIG_TypeClientData(type, clientdata) a second time.
20272 */
20273 SWIGRUNTIME void
20275  size_t i;
20276  swig_cast_info *equiv;
20277  static int init_run = 0;
20278 
20279  if (init_run) return;
20280  init_run = 1;
20281 
20282  for (i = 0; i < swig_module.size; i++) {
20283  if (swig_module.types[i]->clientdata) {
20284  equiv = swig_module.types[i]->cast;
20285  while (equiv) {
20286  if (!equiv->converter) {
20287  if (equiv->type && !equiv->type->clientdata)
20289  }
20290  equiv = equiv->next;
20291  }
20292  }
20293  }
20294 }
20295 
20296 #ifdef __cplusplus
20297 #if 0
20298 { /* c-mode */
20299 #endif
20300 }
20301 #endif
20302 
20303 
20304 
20305 /* Forward declaration of where the user's %init{} gets inserted */
20306 void SWIG_init_user(lua_State* L );
20307 
20308 #ifdef __cplusplus
20309 extern "C" {
20310 #endif
20311 /* this is the initialization function
20312  added at the very end of the code
20313  the function is always called SWIG_init, but an earlier #define will rename it
20314 */
20315 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
20316 LUALIB_API int SWIG_init(lua_State* L)
20317 #else
20318 SWIGEXPORT int SWIG_init(lua_State* L) /* default Lua action */
20319 #endif
20320 {
20321 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) /* valid for both Lua and eLua */
20322  int i;
20323  int globalRegister = 0;
20324  /* start with global table */
20325  lua_pushglobaltable (L);
20326  /* SWIG's internal initialisation */
20327  SWIG_InitializeModule((void*)L);
20329 #endif
20330 
20331 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)) || defined(SWIG_LUA_ELUA_EMULATE)
20332  /* add a global fn */
20333  SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
20335 #endif
20336 
20337 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20338  /* set up base class pointers (the hierarchy) */
20339  for (i = 0; swig_types[i]; i++){
20340  if (swig_types[i]->clientdata){
20342  }
20343  }
20344 #ifdef SWIG_LUA_MODULE_GLOBAL
20345  globalRegister = 1;
20346 #endif
20347 
20348 
20349 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
20350  SWIG_Lua_namespace_register(L,&swig_SwigModule, globalRegister);
20351 #endif
20352 
20353 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
20354  for (i = 0; swig_types[i]; i++){
20355  if (swig_types[i]->clientdata){
20356  SWIG_Lua_elua_class_register_instance(L,(swig_lua_class*)(swig_types[i]->clientdata));
20357  }
20358  }
20359 #endif
20360 
20361 #if defined(SWIG_LUA_ELUA_EMULATE)
20362  lua_newtable(L);
20363  SWIG_Lua_elua_emulate_register(L,swig_SwigModule.ns_methods);
20364  SWIG_Lua_elua_emulate_register_clear(L);
20365  if(globalRegister) {
20366  lua_pushstring(L,swig_SwigModule.name);
20367  lua_pushvalue(L,-2);
20368  lua_rawset(L,-4);
20369  }
20370 #endif
20371 
20372 #endif
20373 
20374 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20375  /* invoke user-specific initialization */
20376  SWIG_init_user(L);
20377  /* end module */
20378  /* Note: We do not clean up the stack here (Lua will do this for us). At this
20379  point, we have the globals table and out module table on the stack. Returning
20380  one value makes the module table the result of the require command. */
20381  return 1;
20382 #else
20383  return 0;
20384 #endif
20385 }
20386 
20387 #ifdef __cplusplus
20388 }
20389 #endif
20390 
20391 
20392 const char* SWIG_LUACODE=
20393  "";
20394 
20395 void SWIG_init_user(lua_State* L)
20396 {
20397  /* exec Lua code if applicable */
20399 }
static swig_lua_attribute swig_uiModel_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiConFunc_Sf_SwigStatic_classes[]
SWIGINTERN float uiAbstractValueNode_t_lastdiff(uiAbstractValueNode_t *self)
static swig_lua_class * swig_uiModel_bases[]
static swig_lua_class * swig_uiAbstractValueNode_Sf_SwigStatic_classes[]
static int _wrap_uiZone_clickdelay(lua_State *L)
static int _wrap_uiTextEntry_is_clickoutabort(lua_State *L)
static int _wrap_dprint(lua_State *L)
static int _wrap_uiNode_on_keyreleased_get(lua_State *L)
static int _wrap_uiNode_bordersize(lua_State *L)
static const char * swig_uiTexture_base_names[]
SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self, float v1, float v2)
static swig_lua_class * swig_uiSelectBox_Sf_SwigStatic_classes[]
void UI_Button_SetBackgroundByName(uiNode_t *node, const char *name)
static int _wrap_delvar(lua_State *L)
static swig_type_info _swigt__p_uiOptionTreeNode_t
#define SWIGTYPE_p_uiSequenceNode_t
static swig_lua_const_info swig_uiGeoscape_Sf_SwigStatic_constants[]
static int _proxy__wrap_new_uiCheckBox(lua_State *L)
static void swig_delete_uiText(void *obj)
static int _wrap_uiNode_on_focuslost_set(lua_State *L)
static swig_lua_method swig_uiTextEntry_meta[]
SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self, char const *text)
static int _wrap_uiWindow_set_noticepos(lua_State *L)
static swig_lua_namespace swig_uiSelectBox_Sf_SwigStatic
static int _wrap_uiNode_remove_children(lua_State *L)
static void uiWindowNode_t_lua_onWindowOpened_set(uiWindowNode_t *node, LUA_EVENT fn)
static int _proxy__wrap_new_uiButton(lua_State *L)
SWIGINTERN bool uiSpinnerNode_t_is_horizontal(uiSpinnerNode_t *self)
SWIGINTERN void uiTextNode_t_set_lineselected(uiTextNode_t *self, int line)
static int _proxy__wrap_new_uiGeoscape(lua_State *L)
SWIGINTERN bool uiNode_t_is_invisible(uiNode_t *self)
static swig_lua_attribute swig_uiMessageList_Sf_SwigStatic_attributes[]
static swig_lua_class _wrap_class_uiZone
SWIGINTERN void uiWindowNode_t_set_background(uiWindowNode_t *self, char const *name)
static swig_lua_method swig_uiAbstractOptionNode_Sf_SwigStatic_methods[]
static swig_lua_const_info swig_uiTextEntry_Sf_SwigStatic_constants[]
float UI_AbstractValue_GetMax(uiNode_t *node)
static swig_lua_class * swig_uiOptionList_Sf_SwigStatic_classes[]
SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L, void *ptr, size_t size, swig_type_info *type)
static int _wrap_uiWindow_on_windowopened_set(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailable(uiBaseInventoryNode_t *self, bool value)
static void * _p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiItemNode_t_is_containerlike(uiItemNode_t *self)
static int _wrap_uiAbstractScrollbarNode_set_autoshowscroll(lua_State *L)
static uiOptionListNode_t * UI_CreateOptionList(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiAbstractOptionNode_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiLineChart_Sf_SwigStatic_methods[]
static swig_lua_class * swig_cvar_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiOption_Sf_SwigStatic_classes[]
static int _wrap_uiNode_find(lua_State *L)
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
static int _wrap_uiNode_on_keypressed_get(lua_State *L)
static swig_lua_class * swig_uiTextList_bases[]
static swig_lua_class * swig_uiTexture_bases[]
static int _wrap_new_uiData(lua_State *L)
SWIGINTERN char * uiDataNode_t_as_string(uiDataNode_t *self)
static swig_lua_attribute swig_uiModel_attributes[]
static swig_lua_class * swig_uiWidget_bases[]
static swig_cast_info _swigc__p_longlines_t[]
static uiTabNode_t * UI_CreateTab(uiNode_t *parent, const char *name, const char *super)
#define SWIGINTERNINLINE
SWIGINTERN void uiTextEntryNode_t_set_background(uiTextEntryNode_t *self, char const *name)
SWIGINTERN float uiNode_t_top(uiNode_t *self)
static int _wrap_uiText_set_dataid(lua_State *L)
static int _wrap_uiModel_set_omega(lua_State *L)
static void swig_delete_uiGeoscape(void *obj)
SWIGINTERN int uiBaseInventoryNode_t_filtertype(uiBaseInventoryNode_t *self)
static uiSequenceNode_t * UI_CreateSequence(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiTBar_set_texh(lua_State *L)
#define SWIGTYPE_p_uiMessageListNode_t
SWIGINTERN void uiModelNode_t_set_model(uiModelNode_t *self, char const *name)
static uiItemNode_t * UI_CreateItem(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiSelectBoxNode_t
static int _wrap_uiNode_set_bordercolor(lua_State *L)
static swig_lua_const_info swig_uiLineChart_Sf_SwigStatic_constants[]
static swig_lua_namespace swig_uiVScrollbar_Sf_SwigStatic
static swig_lua_attribute swig_uiGeoscape_Sf_SwigStatic_attributes[]
SWIGINTERN void uiAbstractScrollableNode_t_moveend(uiAbstractScrollableNode_t *self)
static int _wrap_uiNode_add_classmethod(lua_State *L)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
static swig_lua_attribute swig_uiTextEntry_attributes[]
static int _proxy__wrap_new_uiSpinner(lua_State *L)
static int _wrap_UI_CreateBaseInventory(lua_State *L)
uiNode_t uiTabNode_t
static swig_lua_class * swig_uiText2_bases[]
static int _wrap_uiText_set_tabwidth(lua_State *L)
static swig_lua_class _wrap_class_cvar
static swig_lua_method swig_uiOptionTree_methods[]
static int _wrap_new_uiImage(lua_State *L)
#define SWIGTYPE_p_uiTextListNode_t
static int _wrap_uiNode_insert_node(lua_State *L)
static int _wrap_uiOption_set_icon(lua_State *L)
#define SWIG_LUA_INT
SWIGINTERN void uiWindowNode_t_set_starlayout(uiWindowNode_t *self, bool value)
static swig_lua_const_info swig_uiButton_Sf_SwigStatic_constants[]
static void swig_delete_uiOptionTree(void *obj)
static int _wrap_uiModel_set_animation(lua_State *L)
static swig_lua_class * swig_uiModel_Sf_SwigStatic_classes[]
static int _wrap_uiCheckBox_set_iconchecked(lua_State *L)
static swig_type_info _swigt__p_LUA_FUNCTION
static int _wrap_uiOption_is_flipicion(lua_State *L)
#define SWIG_LUA_BINARY
SWIGINTERN uiNode_t * uiNode_t_root(uiNode_t *self)
static uiZoneNode_t * UI_CreateZone(uiNode_t *parent, const char *name, const char *super)
static int _wrap_error(lua_State *L)
#define VectorSet(v, x, y, z)
Definition: vector.h:59
static int _wrap_create_text(lua_State *L)
static swig_lua_namespace swig_uiBaseLayout_Sf_SwigStatic
static uiImageNode_t * UI_CreateImage(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiAbstractValueNode_t
SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self, bool value)
void UI_AbstractScrollbarNodeSet(uiNode_t *node, int value)
Set the position of the scrollbar to a value.
static int _wrap_UI_CreateItem(lua_State *L)
SWIGINTERN char const * uiNode_t_font(uiNode_t *self)
static void * _p_uiTextNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN vec3_struct_t * uiModelNode_t_scale(uiModelNode_t *self)
static int _wrap_uiNode_on_wheeldown_get(lua_State *L)
static swig_lua_method swig_uiRadioButton_methods[]
#define lua_rawlen
uiNode_t uiConFuncNode_t
void UI_Sequence_SetSource(uiNode_t *node, const char *name)
static swig_lua_method swig_uiWidget_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractValueNode_delta(lua_State *L)
static swig_lua_class * swig_uiWindow_Sf_SwigStatic_classes[]
static int _wrap_new_uiOption(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayammo(uiBaseInventoryNode_t *self, bool value)
static uiTextEntryNode_t * UI_CreateTextEntry(uiNode_t *parent, const char *name, const char *super)
int UI_AbstractOption_GetDataId(uiNode_t *node)
static int _wrap_uiNode_root(lua_State *L)
float UI_AbstractValue_GetLastDiff(uiNode_t *node)
#define SWIGTYPE_p_uiTextEntryNode_t
uiNode_t * parent
Definition: ui_nodes.h:92
static int _wrap_uiModel_skin(lua_State *L)
static void * _p_uiOptionListNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiTextList_meta[]
SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx, int skip_check)
static int _wrap_uiVideo_set_nosound(lua_State *L)
static int _wrap_new_uiLineChart(lua_State *L)
static const char * swig_uiConFunc_base_names[]
static swig_type_info _swigt__p_cvar_t
static swig_lua_method swig_uiVideo_meta[]
static swig_lua_namespace swig_uiTexture_Sf_SwigStatic
static swig_lua_attribute swig_uiAbstractValueNode_attributes[]
static swig_type_info * swig_type_initial[]
SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self, bool value)
static int _wrap_uiWindow_is_modal(lua_State *L)
static int _wrap_uiAbstractValueNode_set_max__SWIG_1(lua_State *L)
static int _proxy__wrap_new_uiLineChart(lua_State *L)
static void * _p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_const_info swig_uiSpinner_Sf_SwigStatic_constants[]
SWIGINTERN float uiAbstractValueNode_t_min(uiAbstractValueNode_t *self)
SWIGINTERN int SWIG_Lua_iterate_bases(lua_State *L, swig_type_info *SWIGUNUSED swig_type, int first_arg, swig_lua_base_iterator_func func, int *const ret)
static const char * swig_uiBaseInventory_base_names[]
QGL_EXTERN GLint GLenum type
Definition: r_gl.h:94
static int _wrap_uiTextEntry_focus(lua_State *L)
static uiSelectBoxNode_t * UI_CreateSelectBox(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiNode_t_set_font(uiNode_t *self, char const *name)
static int _wrap_cvar_as_integer(lua_State *L)
static void swig_delete_uiTBar(void *obj)
static void * _p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static uiTimerNode_t * UI_CreateTimer(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiRadioButtonNode_t_set_cvar(uiRadioButtonNode_t *self, char const *name)
SWIGINTERN float uiAbstractValueNode_t_value(uiAbstractValueNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_set_iconunchecked(uiCheckBoxNode_t *self, char const *name)
static swig_type_info _swigt__p_uiTimerNode_t
SWIGINTERN void uiAbstractOptionNode_t_set_cvar(uiAbstractOptionNode_t *self, char const *name)
#define SWIG_TYPE_TABLE_NAME
static swig_lua_attribute swig_uiAbstractValueNode_Sf_SwigStatic_attributes[]
static LUA_EVENT uiContainerNode_t_lua_onSelect_get(uiContainerNode_t *node)
static int _wrap_uiWindow_close(lua_State *L)
static int _wrap_uiData_set_value(lua_State *L)
static int _wrap_uiAbstractValueNode_set_min__SWIG_0(lua_State *L)
static int _wrap_new_uiTab(lua_State *L)
static swig_cast_info _swigc__p_uiRadioButtonNode_t[]
static const char * swig_uiGeoscape_base_names[]
static swig_lua_const_info swig_uiText_Sf_SwigStatic_constants[]
static swig_lua_namespace swig_uiAbstractOptionNode_Sf_SwigStatic
static int _wrap_create_timer(lua_State *L)
static swig_lua_attribute swig_uiTexture_attributes[]
static int _proxy__wrap_new_uiBar(lua_State *L)
SWIGINTERN int uiTextNode_t_tabwidth(uiTextNode_t *self)
static int _wrap_uiTimer_timeout(lua_State *L)
static swig_lua_namespace swig_uiTimer_Sf_SwigStatic
static int _wrap_uiImage_texl(lua_State *L)
SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self, bool value)
static swig_lua_class * swig_uiTexture_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiRows_Sf_SwigStatic_methods[]
SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
static swig_lua_class _wrap_class_uiTBar
uiNode_t * next
Definition: ui_nodes.h:91
static int _proxy__wrap_new_uiRadar(lua_State *L)
SWIGINTERN void uiNode_t_set_padding(uiNode_t *self, int value)
static void * _p_uiText2Node_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace * swig_SwigModule_namespaces[]
static swig_lua_method swig_uiPanel_methods[]
#define SWIG_LUA_POINTER
static swig_lua_const_info swig_uiNode_Sf_SwigStatic_constants[]
static int _wrap_uiAbstractScrollableNode_viewsize(lua_State *L)
static swig_lua_attribute swig_uiSelectBox_attributes[]
static swig_type_info * swig_types[57]
static swig_lua_attribute swig_uiOption_Sf_SwigStatic_attributes[]
static int _wrap_create_string(lua_State *L)
static int _wrap_uiNode_on_wheeldown_set(lua_State *L)
SWIGINTERN int uiAbstractScrollbarNode_t_fullsize(uiAbstractScrollbarNode_t *self)
SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self, bool value)
static swig_type_info _swigt__p_uiTabNode_t
static void * _p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_const_info swig_uiText2_Sf_SwigStatic_constants[]
static int _wrap_UI_CreateRadar(lua_State *L)
static int _wrap_uiTextEntry_set_background(lua_State *L)
static swig_lua_namespace swig_uiLineChart_Sf_SwigStatic
static swig_lua_attribute swig_uiTimer_attributes[]
static void swig_delete_uiRadioButton(void *obj)
static int _wrap_new_cvar(lua_State *L)
static int _wrap_new_uiOptionList(lua_State *L)
static swig_lua_method swig_uiOption_methods[]
uiNode_t uiCheckBoxNode_t
SWIGINTERN vec2_struct_t * uiImageNode_t_texl(uiImageNode_t *self)
static int _wrap_UI_CreateButton(lua_State *L)
static LUA_EVENT uiBaseInventoryNode_t_lua_onViewChange_get(uiBaseInventoryNode_t *node)
uiNode_t uiAbstractValueNode_t
SWIGINTERN void uiOptionNode_t_set_truncated(uiOptionNode_t *self, bool value)
static swig_lua_class * swig_uiRadar_Sf_SwigStatic_classes[]
SWIGRUNTIME void SWIG_Lua_pushferrstring(lua_State *L, const char *fmt,...)
static swig_lua_attribute swig_uiConFunc_attributes[]
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
static int _wrap_uiNode_set_disabled(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_meta[]
static void * _p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void swig_delete_uiAbstractValueNode(void *obj)
static void swig_delete_uiText2(void *obj)
static swig_lua_namespace swig_uiAbstractScrollableNode_Sf_SwigStatic
static swig_cast_info _swigc__p_uiWindowNode_t[]
static swig_lua_const_info swig_uiWindow_Sf_SwigStatic_constants[]
#define SWIG_OK
static int _wrap_cvar_as_string(lua_State *L)
SWIGINTERN bool uiCheckBoxNode_t_as_boolean(uiCheckBoxNode_t *self)
extradata for the textentry, to custom draw and behaviour
SWIGINTERN vec2_struct_t * uiTBarNode_t_texh(uiTBarNode_t *self)
static void * _p_uiVScrollBarNode_tTo_p_uiAbstractScrollbarNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractValueNode_max(lua_State *L)
SWIGINTERN void uiDataNode_t_set_value__SWIG_0(uiDataNode_t *self, char const *value)
static int _wrap_uiAbstractValueNode_set_max__SWIG_0(lua_State *L)
static const char * swig_uiTab_base_names[]
uiNode_t uiVScrollBarNode_t
static swig_lua_method swig_uiSpinner_Sf_SwigStatic_methods[]
#define SWIGTYPE_p_uiGeoscapeNode_t
static int _wrap_getvar(lua_State *L)
static const char * swig_uiVideo_base_names[]
SWIGINTERN float uiRadioButtonNode_t_as_float(uiRadioButtonNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_0(uiAbstractValueNode_t *self, float min)
static int _wrap_uiPanel_layoutmargin(lua_State *L)
extradata for the panel node
Definition: ui_node_bar.h:43
static int _wrap_uiNode_padding(lua_State *L)
static int _wrap_uiButton_set_background(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayweaponammo(uiBaseInventoryNode_t *self, bool value)
static int _proxy__wrap_new_uiWindow(lua_State *L)
uiNode_t uiRadarNode_t
static uiConFuncNode_t * UI_CreateConFunc(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiSpinnerNode_t
static swig_lua_class * swig_uiOptionTree_Sf_SwigStatic_classes[]
static int _wrap_uiModel_set_mouserotate(lua_State *L)
static swig_lua_method swig_uiItem_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractOptionNode_on_viewchange_set(lua_State *L)
static int _wrap_new_uiSequence(lua_State *L)
static const vec3_t scale
static swig_lua_method swig_uiGeoscape_Sf_SwigStatic_methods[]
static swig_lua_class _wrap_class_uiAbstractScrollbarNode
static swig_lua_namespace swig_uiString_Sf_SwigStatic
SWIGINTERN void SWIG_Lua_class_register_static(lua_State *L, swig_lua_class *clss)
uiNode_t uiTextNode_t
static int _wrap_create_selectbox(lua_State *L)
bool UI_Node_IsInvisible(uiNode_t const *node)
Definition: ui_node.cpp:410
const char * UI_RadioButton_GetCvar(uiNode_t *node)
static swig_type_info _swigt__p_uiRowsNode_t
static swig_lua_namespace swig_uiButton_Sf_SwigStatic
static void * _p_uiImageNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiWindow_on_windowclosed_get(lua_State *L)
SWIGINTERN bool uiVideoNode_t_is_nosound(uiVideoNode_t *self)
SWIGINTERN void uiItemNode_t_set_containerlike(uiItemNode_t *self, bool value)
static int _wrap_uiNode_set_flashcolor(lua_State *L)
static swig_lua_class * swig_uiTimer_bases[]
static int _wrap_UI_CreateVScrollbar(lua_State *L)
static int _wrap_UI_CreateLineChart(lua_State *L)
static swig_lua_const_info swig_uiImage_Sf_SwigStatic_constants[]
static swig_lua_const_info swig_uiAbstractScrollbarNode_Sf_SwigStatic_constants[]
static swig_lua_class * swig_uiContainer_bases[]
SWIGINTERN void uiAbstractValueNode_t_set_shiftmultiplier(uiAbstractValueNode_t *self, float value)
SWIGINTERN void uiAbstractValueNode_t_set_delta(uiAbstractValueNode_t *self, float delta)
void UI_TextEntry_SetBackgroundByName(uiNode_t *node, const char *name)
set background sprite
static swig_lua_class * swig_uiBaseInventory_bases[]
#define SWIGUNUSEDPARM(p)
int UI_AbstractOption_Scroll_ViewSize(uiNode_t *node)
static swig_cast_info _swigc__p_uiConFuncNode_t[]
uiNode_t uiPanelNode_t
bool UI_Node_IsVirtual(uiNode_t const *node)
Definition: ui_node.cpp:42
static int _wrap_uiNode_set_box(lua_State *L)
void UI_Node_SetFont(uiNode_t *node, const char *name)
Definition: ui_node.cpp:387
static int _wrap_uiBaseLayout_set_baseid(lua_State *L)
static swig_lua_attribute swig_uiSpinner_attributes[]
QGL_EXTERN GLint GLenum GLboolean GLsizei const GLvoid * pointer
Definition: r_gl.h:94
static int _wrap_uiNode_next(lua_State *L)
static void swig_delete_uiVideo(void *obj)
static swig_lua_attribute swig_uiTab_Sf_SwigStatic_attributes[]
SWIGINTERN void uiAbstractOptionNode_t_set_lineheight(uiAbstractOptionNode_t *self, int value)
static int _wrap_print(lua_State *L)
SWIGINTERN void uiAbstractScrollableNode_t_moveup(uiAbstractScrollableNode_t *self)
#define SWIG_IsOK(r)
static swig_type_info _swigt__p_uiModelNode_t
#define SWIGTYPE_p_uiNode_t
static void * _p_uiTextNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiOption_set_label(lua_State *L)
static void uiAbstractScrollableNode_t_lua_onViewChange_set(uiAbstractScrollableNode_t *node, LUA_EVENT fn)
static void uiBaseInventoryNode_t_lua_onViewChange_set(uiBaseInventoryNode_t *node, LUA_EVENT fn)
SWIGINTERN void uiNode_t_add_nodemethod(uiNode_t *self, char const *name, LUA_METHOD fcn)
static swig_lua_namespace swig_uiZone_Sf_SwigStatic
static swig_lua_method swig_uiPanel_meta[]
static void * _p_uiTabNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_0(uiAbstractValueNode_t *self, float value)
#define SWIG_POINTER_NO_NULL
SWIGINTERN int uiAbstractOptionNode_t_viewsize(uiAbstractOptionNode_t *self)
static swig_lua_method swig_uiSequence_Sf_SwigStatic_methods[]
SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_1(uiAbstractValueNode_t *self, char const *max)
#define SWIGTYPE_p_vec2_struct_t
static int _wrap_uiAbstractOptionNode_count(lua_State *L)
static swig_lua_method swig_uiBar_Sf_SwigStatic_methods[]
static void swig_delete_uiAbstractScrollableNode(void *obj)
static int _wrap_uiAbstractOptionNode_on_viewchange_get(lua_State *L)
static swig_lua_attribute swig_uiItem_Sf_SwigStatic_attributes[]
static swig_cast_info _swigc__p_uiLineChartNode_t[]
SWIGINTERN void uiWindowNode_t_set_dragbutton(uiWindowNode_t *self, bool value)
static int _wrap_uiAbstractScrollbarNode_set_fullsize(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_fullsize(uiAbstractOptionNode_t *self, int size)
static const char * swig_uiWindow_base_names[]
static int _wrap_uiOption_is_collapsed(lua_State *L)
voidpf uLong int origin
Definition: ioapi.h:45
static swig_cast_info _swigc__p_uiModelNode_t[]
static int _proxy__wrap_new_uiMessageList(lua_State *L)
static int _wrap_uiNode_on_loaded_set(lua_State *L)
SWIGINTERN int SWIG_Lua_namespace_set(lua_State *L)
static int _wrap_uiWindow_on_windowactivate_get(lua_State *L)
SWIGINTERN int cvar_t_as_integer(cvar_t *self)
static int _wrap_uiTextEntry_on_textabort_get(lua_State *L)
uiNode_t uiRowsNode_t
static int _wrap_uiPanel_layoutcolumns(lua_State *L)
SWIGINTERN bool uiModelNode_t_is_autoscale(uiModelNode_t *self)
static swig_lua_class * swig_uiItem_Sf_SwigStatic_classes[]
static swig_lua_class _wrap_class_uiCheckBox
SWIGINTERN char * invDef_t_name(invDef_t *self)
static int _wrap_uiAbstractOptionNode_dataid(lua_State *L)
static int _wrap_uiPanel_set_layout(lua_State *L)
static swig_lua_method swig_uiModel_methods[]
static int _wrap_create_texture(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_1(uiRadioButtonNode_t *self, float value)
SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self, int value)
static swig_lua_class * swig_uiNode_bases[]
static uiWindowNode_t * UI_CreateWindow(const char *name, const char *super)
static int _wrap_uiNode_is_disabled(lua_State *L)
SWIGINTERN void SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg)
static swig_lua_const_info swig_uiBar_Sf_SwigStatic_constants[]
static int _wrap_uiZone_set_clickdelay(lua_State *L)
static swig_lua_attribute swig_uiWindow_Sf_SwigStatic_attributes[]
static int _wrap_uiAbstractValueNode_set_range__SWIG_1(lua_State *L)
static swig_lua_class * swig_uiLineChart_Sf_SwigStatic_classes[]
SWIGINTERN void uiBaseInventoryNode_t_set_displayimplant(uiBaseInventoryNode_t *self, bool value)
static int _proxy__wrap_new_uiTBar(lua_State *L)
static uiCheckBoxNode_t * UI_CreateCheckBox(uiNode_t *parent, const char *name, const char *super)
void UI_InsertNode(uiNode_t *const parent, uiNode_t *prevNode, uiNode_t *newNode)
Insert a node next another one into a node. If prevNode is nullptr add the node on the head of the wi...
Definition: ui_node.cpp:752
static swig_lua_class _wrap_class_uiModel
static swig_lua_attribute swig_uiCheckBox_attributes[]
int LUA_EVENT
holds a reference to a lua event handler
Definition: scripts_lua.h:49
static swig_lua_attribute swig_uiWindow_attributes[]
static int _proxy__wrap_new_uiPanel(lua_State *L)
static int _wrap_uiTimer_lua_onEvent_set(lua_State *L)
SWIGINTERN void uiNode_t___setitem(uiNode_t *self, char const *name, LUA_METHOD fcn)
static swig_cast_info _swigc__p_uiBaseInventoryNode_t[]
#define SWIG_AddCast(r)
static uiTextureNode_t * UI_CreateTexture(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiTimer_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiMessageList_bases[]
static int _wrap_uiNode_on_rightclick_set(lua_State *L)
#define SWIGTYPE_p_LUA_EVENT
static swig_lua_method swig_uiZone_Sf_SwigStatic_methods[]
static swig_lua_attribute swig_uiTextEntry_Sf_SwigStatic_attributes[]
#define SWIGTYPE_p_uiModelNode_t
static int _wrap_uiGeoscape_zoomin(lua_State *L)
SWIGINTERN int uiNode_t_bordersize(uiNode_t *self)
static int _wrap_uiImage_set_source(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_1(uiAbstractValueNode_t *self, char const *min, char const *max)
static swig_lua_method swig_uiWindow_methods[]
SWIGINTERN int uiBaseInventoryNode_t_viewpos(uiBaseInventoryNode_t *self)
static int _wrap_uiRadioButton_as_float(lua_State *L)
static int _wrap_uiTimer_lua_onEvent_get(lua_State *L)
static swig_lua_method swig_uiWidget_methods[]
SWIGINTERN void uiNode_t_set_text(uiNode_t *self, char const *text)
static int _wrap_uiWindow_set_preventtypingescape(lua_State *L)
static swig_lua_class _wrap_class_uiTexture
static swig_lua_class * swig_uiTextList_Sf_SwigStatic_classes[]
static int _wrap_uiNode_set_text(lua_State *L)
static int _wrap_uiNode_set_width(lua_State *L)
static void swig_delete_uiTab(void *obj)
static swig_lua_method swig_cvar_methods[]
static swig_lua_method swig_uiWidget_meta[]
static swig_cast_info _swigc__p_uiVScrollBarNode_t[]
static swig_lua_attribute swig_uiText2_attributes[]
SWIGINTERN int uiPanelNode_t_layoutcolumns(uiPanelNode_t *self)
static swig_lua_attribute swig_uiOption_attributes[]
static int _wrap_uiLineChart_set_showaxes(lua_State *L)
static int _wrap_uiNode_left(lua_State *L)
uiBehaviour_t * behaviour
Definition: ui_nodes.h:83
static const char * swig_uiContainer_base_names[]
static swig_lua_method swig_uiAbstractScrollableNode_Sf_SwigStatic_methods[]
static int _wrap_uiNode_on_keyreleased_set(lua_State *L)
static swig_lua_class * swig_uiText2_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiRadioButton_Sf_SwigStatic_classes[]
static swig_lua_namespace swig_uiImage_Sf_SwigStatic
static void uiContainerNode_t_lua_onSelect_set(uiContainerNode_t *node, LUA_EVENT fn)
#define SWIGTYPE_p_uiWidgetNode_t
static int _wrap_uiTexture_set_source(lua_State *L)
SWIGINTERN bool uiZoneNode_t_is_repeat(uiZoneNode_t *self)
SWIGINTERN void uiNode_t_set_pos(uiNode_t *self, float x, float y)
void Cbuf_AddText(const char *format,...)
Adds command text at the end of the buffer.
Definition: cmd.cpp:126
static int _wrap_uiNode_set_top(lua_State *L)
static int _wrap_uiAbstractOptionNode_set_dataid(lua_State *L)
static int _wrap_uiModel_model(lua_State *L)
static uiBaseLayoutNode_t * UI_CreateBaseLayout(uiNode_t *parent, const char *name, const char *super)
static swig_module_info swig_module
static swig_lua_class _wrap_class_uiTab
static int _wrap_uiNode_layoutalign(lua_State *L)
static swig_type_info _swigt__p_layoutAlign_t
static swig_lua_namespace swig_uiData_Sf_SwigStatic
swig_type_info * type
static int _wrap_uiNode_image(lua_State *L)
static uiSpinnerNode_t * UI_CreateSpinner(uiNode_t *parent, const char *name, const char *super)
static int _wrap_UI_CreateTimer(lua_State *L)
static int _wrap_uiNode_on_change_get(lua_State *L)
SWIGINTERN bool uiImageNode_t_is_mousefx(uiImageNode_t *self)
#define SWIG_CheckState(r)
SWIGINTERN int uiRowsNode_t_lineheight(uiRowsNode_t *self)
static int _wrap_create_optionlist(lua_State *L)
static swig_lua_attribute swig_uiRadioButton_attributes[]
static swig_lua_class * swig_uiCheckBox_bases[]
static int _wrap_uiCheckBox_set_iconunknown(lua_State *L)
static int _wrap_UI_CreateText(lua_State *L)
static int _wrap_uiNode_name(lua_State *L)
static swig_type_info _swigt__p_uiText2Node_t
static void swig_delete_uiAbstractOptionNode(void *obj)
static swig_cast_info _swigc__p_uiBaseLayoutNode_t[]
static int _wrap_UI_CreateMessageList(lua_State *L)
static void swig_delete_uiBaseInventory(void *obj)
static int _wrap_uiAbstractScrollableNode_on_viewchange_get(lua_State *L)
voidpf void uLong size
Definition: ioapi.h:42
SWIGINTERN void uiNode_t_set_width(uiNode_t *self, float value)
static const char * swig_uiOptionTree_base_names[]
static int _proxy__wrap_new_uiOptionTree(lua_State *L)
static uiRadarNode_t * UI_CreateRadar(uiNode_t *parent, const char *name, const char *super)
uiNode_t uiOptionListNode_t
static swig_cast_info _swigc__p_cvar_t[]
SWIGINTERN void uiModelNode_t_set_omega(uiModelNode_t *self, float a1, float a2, float a3)
static swig_lua_method swig_uiTBar_methods[]
static int _wrap_uiAbstractOptionNode_set_background(lua_State *L)
static void swig_delete_uiWindow(void *obj)
static const char * swig_uiOptionList_base_names[]
static swig_lua_method swig_uiData_meta[]
static int _wrap_uiNode_add_nodemethod(lua_State *L)
static int _wrap_uiTextEntry_on_textabort_set(lua_State *L)
luaL_Reg swig_lua_method
static int _wrap_uiBar_is_nohover(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_background(uiRadioButtonNode_t *self, char const *name)
SWIGINTERN void uiTBarNode_t_set_source(uiTBarNode_t *self, char const *name)
SWIGINTERN int uiAbstractScrollableNode_t_viewpos(uiAbstractScrollableNode_t *self)
SWIGINTERN void uiNode_t_set_disabledcolor(uiNode_t *self, float r, float g, float b, float a)
static int _proxy__wrap_new_uiTimer(lua_State *L)
#define SWIG_fail
static int _proxy__wrap_new_uiTexture(lua_State *L)
const char * UI_Node_GetText(uiNode_t *node)
Definition: ui_node.cpp:373
static LUA_EVENT uiTimerNode_t_lua_onEvent_get(uiTimerNode_t *node)
static void swig_delete_uiBaseLayout(void *obj)
static swig_type_info _swigt__p_uiBaseLayoutNode_t
static swig_lua_method swig_cvar_Sf_SwigStatic_methods[]
static swig_lua_namespace swig_uiNode_Sf_SwigStatic
static swig_lua_const_info swig_uiWidget_Sf_SwigStatic_constants[]
static int _wrap_uiOption_set_flipicion(lua_State *L)
swig_lua_method * methods
static int _wrap_new_uiSpinner(lua_State *L)
static int _wrap_uiNode_is_flashing(lua_State *L)
SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L)
static int _wrap_uiNode_set_backgroundcolor(lua_State *L)
static int _wrap_uiRadioButton_cvar(lua_State *L)
SWIGINTERN void uiLineChartNode_t_clear(uiLineChartNode_t *self)
static swig_cast_info _swigc__p_uiTextureNode_t[]
SWIGINTERN void uiBarNode_t_set_direction(uiBarNode_t *self, int value)
SWIGINTERN void uiNode_t_set_contentalign(uiNode_t *self, int value)
static swig_lua_class * swig_uiRadar_bases[]
static int _wrap_uiWindow_on_windowopened_get(lua_State *L)
static swig_lua_class * swig_uiConFunc_bases[]
static int _wrap_cvar_set_value(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_icon(uiRadioButtonNode_t *self, char const *name)
static int _wrap_uiNode___setitem(lua_State *L)
static int _wrap_uiOption_set_truncated(lua_State *L)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
static void * _p_uiContainerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiNode_first(lua_State *L)
swig_lua_method * ns_methods
static swig_type_info _swigt__p_uiBaseInventoryNode_t
QGL_EXTERN GLsizei const GLvoid * data
Definition: r_gl.h:89
static swig_lua_attribute swig_uiLineChart_Sf_SwigStatic_attributes[]
static swig_lua_namespace swig_uiWidget_Sf_SwigStatic
static int _wrap_new_uiCheckBox(lua_State *L)
static swig_lua_namespace swig_uiGeoscape_Sf_SwigStatic
SWIGINTERN uiNode_t * uiNode_t_find(uiNode_t *self, char const *name)
swig_type_info * type
static int _wrap_uiAbstractValueNode_set_range(lua_State *L)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
static swig_lua_class _wrap_class_uiText
static int _wrap_uiBaseInventory_set_displayimplant(lua_State *L)
static swig_lua_class * swig_uiCheckBox_Sf_SwigStatic_classes[]
static void * _p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _proxy__wrap_new_uiAbstractValueNode(lua_State *L)
static int _wrap_uiGeoscape_set_paddingright(lua_State *L)
static int _wrap_uiModel_is_autoscale(lua_State *L)
SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self, float r, float g, float b, float a)
static int _wrap_uiBaseInventory_set_viewsize(lua_State *L)
static uiModelNode_t * UI_CreateModel(uiNode_t *parent, const char *name, const char *super)
static int _wrap_new_uiVideo(lua_State *L)
static swig_lua_namespace swig_uiVideo_Sf_SwigStatic
static int _wrap_uiNode_on_wheelup_get(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_0(uiAbstractValueNode_t *self, float min, float max)
SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods(lua_State *L)
#define SWIGTYPE_p_uiWindowNode_t
static swig_lua_method swig_uiSequence_meta[]
static swig_lua_method swig_uiNode_methods[]
static int _wrap_UI_CreateWidget(lua_State *L)
static const char * swig_uiTextList_base_names[]
static swig_lua_method swig_uiBaseInventory_meta[]
SWIGINTERN void uiLineChartNode_t_set_showaxes(uiLineChartNode_t *self, bool value)
static int _wrap_uiRadioButton_set_value(lua_State *L)
static int _wrap_new_uiItem(lua_State *L)
static void * _p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiMessageList_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiWindow_meta[]
static int _wrap_uiBaseInventory_set_displayweaponammo(lua_State *L)
void UI_AddNodeMethod(uiNode_t *node, const char *name, LUA_METHOD fcn)
Adds a lua based method to the list of available node methods for calling.
Definition: ui_node.cpp:1082
static int _wrap_uiRows_set_lineheight(lua_State *L)
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
static int _wrap_uiBaseInventory_set_displayammo(lua_State *L)
void Com_Printf(const char *const fmt,...)
Definition: common.cpp:386
#define SWIGRUNTIMEINLINE
SWIGINTERN void uiWindowNode_t_set_modal(uiWindowNode_t *self, bool value)
SWIGINTERN int uiAbstractOptionNode_t_dataid(uiAbstractOptionNode_t *self)
static swig_lua_class _wrap_class_uiTextList
static swig_lua_class _wrap_class_uiSequence
static int _wrap_uiAbstractScrollbarNode_current(lua_State *L)
static void swig_delete_uiOptionList(void *obj)
static swig_lua_method swig_uiCheckBox_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractScrollableNode_pageup(lua_State *L)
static swig_cast_info _swigc__p_uiTextListNode_t[]
static const char * swig_uiZone_base_names[]
static int _proxy__wrap_new_uiText(lua_State *L)
void UI_CheckBox_Toggle(uiNode_t *node)
static swig_lua_method swig_uiTexture_meta[]
SWIGINTERN void uiNode_t_move_node(uiNode_t *self, uiNode_t *node, uiNode_t *prev)
static swig_lua_method swig_uiOption_Sf_SwigStatic_methods[]
static swig_lua_attribute swig_uiOptionList_attributes[]
void UI_CheckBox_SetIconUncheckedByName(uiNode_t *node, const char *name)
static int _wrap_uiNode_on_focuslost_get(lua_State *L)
static int _wrap_uiBaseInventory_set_displayweapon(lua_State *L)
void UI_AppendNode(uiNode_t *const parent, uiNode_t *newNode)
add a node at the end of the node child
Definition: ui_node.cpp:856
static int _wrap_uiTBar_set_source(lua_State *L)
static void uiWindowNode_t_lua_onWindowActivate_set(uiWindowNode_t *node, LUA_EVENT fn)
static swig_cast_info _swigc__p_vec2_struct_t[]
static swig_lua_const_info swig_uiCheckBox_Sf_SwigStatic_constants[]
static int _wrap_uiSpinner_set_topicon(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_parent(uiNode_t *self)
static int _wrap_uiCheckBox_set_background(lua_State *L)
#define SWIG_LUA_CONSTTAB_INT(B, C)
static int _wrap_cvar_as_float(lua_State *L)
static swig_lua_attribute swig_SwigModule_attributes[]
swig_lua_namespace * cls_static
static int _wrap_new_uiAbstractScrollableNode(lua_State *L)
int UI_CheckBox_ValueAsInteger(uiNode_t *node)
void UI_CheckBox_SetBackgroundByName(uiNode_t *node, const char *name)
static void swig_delete_uiTimer(void *obj)
static int _wrap_uiBar_set_direction(lua_State *L)
static swig_lua_namespace swig_uiAbstractScrollbarNode_Sf_SwigStatic
SWIGINTERN void SWIG_Lua_add_variable(lua_State *L, const char *name, lua_CFunction getFn, lua_CFunction setFn)
static int _wrap_uiNode_is_invisible(lua_State *L)
static swig_lua_class _wrap_class_uiMessageList
static const char * swig_uiWidget_base_names[]
void UI_Model_SetAnimationSource(uiNode_t *node, const char *animName)
static int _wrap_UI_CreateVideo(lua_State *L)
static swig_lua_class * swig_uiNode_Sf_SwigStatic_classes[]
QGL_EXTERN GLuint * id
Definition: r_gl.h:86
static int _wrap_new_uiRows(lua_State *L)
static int _wrap_uiWindow_set_closebutton(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static int _wrap_uiTimer_set_timeout(lua_State *L)
static swig_lua_namespace swig_uiRadioButton_Sf_SwigStatic
static int _proxy__wrap_new_uiString(lua_State *L)
SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self, char const *text)
uiNode_t uiTextEntryNode_t
static int _wrap_create_data(lua_State *L)
static void * _p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractOptionNode_fullsize(lua_State *L)
static int _wrap_uiButton_flipicon(lua_State *L)
SWIGINTERN int SWIG_Lua_class_disown(lua_State *L)
void UI_RadioButton_SetBackgroundByName(uiNode_t *node, const char *name)
SWIGINTERN float uiAbstractValueNode_t_delta(uiAbstractValueNode_t *self)
static swig_lua_class * swig_uiPanel_bases[]
SWIGINTERN void uiSequenceNode_t_set_source(uiSequenceNode_t *self, char const *name)
static int _wrap_UI_CreateBaseLayout(lua_State *L)
static swig_lua_method swig_uiOptionTree_meta[]
static swig_lua_method swig_uiBaseLayout_methods[]
static int _wrap_uiAbstractScrollableNode_set_fullsize(lua_State *L)
panelLayout_t
Definition: ui_node_panel.h:45
struct swig_lua_class ** ns_classes
SWIGINTERN void uiAbstractScrollbarNode_t_set_current(uiAbstractScrollbarNode_t *self, int pos)
static swig_lua_class _wrap_class_uiContainer
static int _wrap_uiNode_contentalign(lua_State *L)
void UI_Window_SetBackgroundByName(uiNode_t *node, const char *name)
set background sprite
uiNode_t uiSequenceNode_t
static int _wrap_uiData_set_value__SWIG_0(lua_State *L)
bool UI_Node_IsFlashing(uiNode_t const *node)
Definition: ui_node.cpp:418
void UI_DeleteNode(uiNode_t *node)
Definition: ui_nodes.cpp:618
static int _wrap_uiAbstractValueNode_set_range__SWIG_0(lua_State *L)
SWIGINTERN int SWIG_Lua_class_destruct(lua_State *L)
SWIGINTERN int SWIG_Lua_class_get(lua_State *L)
static swig_lua_attribute swig_uiPanel_Sf_SwigStatic_attributes[]
static swig_type_info _swigt__p_uiZoneNode_t
static void * _p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_RUNTIME_VERSION
void UI_Node_SetText(uiNode_t *node, const char *text)
Definition: ui_node.cpp:382
static int _wrap_uiModel_set_autoscale(lua_State *L)
static int _wrap_uiImage_set_mousefx(lua_State *L)
static int _wrap_uiNode_set_tooltip(lua_State *L)
static swig_lua_method swig_uiVideo_Sf_SwigStatic_methods[]
void LIST_Delete(linkedList_t **list)
Definition: list.cpp:195
SWIGINTERN void uiOptionNode_t_set_icon(uiOptionNode_t *self, char const *name)
static int _wrap_uiItem_set_containerlike(lua_State *L)
static int _wrap_uiOption_set_collapsed(lua_State *L)
static void uiTimerNode_t_lua_onEvent_set(uiTimerNode_t *node, LUA_EVENT fn)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayavailableontop(uiBaseInventoryNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_set_iconunknown(uiCheckBoxNode_t *self, char const *name)
uiNode_t uiButtonNode_t
static int _wrap_uiBaseInventory_filtertype(lua_State *L)
static int _wrap_uiZone_set_repeat(lua_State *L)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
#define SWIGTYPE_p_cvar_t
static int _wrap_uiBar_set_nohover(lua_State *L)
void UI_Option_SetIconByName(uiNode_t *node, const char *name)
static int _wrap_uiAbstractScrollbarNode_fullsize(lua_State *L)
static swig_lua_attribute swig_uiText2_Sf_SwigStatic_attributes[]
SWIGINTERN void uiGeoscapeNode_t_set_paddingright(uiGeoscapeNode_t *self, int value)
static swig_lua_method swig_uiGeoscape_meta[]
float UI_AbstractValue_GetValue(uiNode_t *node)
static swig_lua_namespace swig_uiRadar_Sf_SwigStatic
static swig_lua_attribute swig_uiRadioButton_Sf_SwigStatic_attributes[]
SWIGINTERN char * cvar_t_as_string(cvar_t *self)
static int _wrap_uiNode_on_mouseenter_set(lua_State *L)
SWIGINTERN int uiNode_t_layoutalign(uiNode_t *self)
static swig_lua_method swig_uiAbstractValueNode_meta[]
SWIGINTERN char const * uiRadioButtonNode_t_cvar(uiRadioButtonNode_t *self)
static int _wrap_uiGeoscape_zoomout(lua_State *L)
static swig_type_info _swigt__p_uiWindowNode_t
static int _wrap_uiNode_on_mouseleave_get(lua_State *L)
SWIGINTERN vec3_struct_t * uiModelNode_t_omega(uiModelNode_t *self)
SWIGINTERN void uiModelNode_t_set_origin(uiModelNode_t *self, float a1, float a2, float a3)
static swig_lua_method swig_uiBaseInventory_methods[]
int(* swig_lua_base_iterator_func)(lua_State *, swig_type_info *, int, int *ret)
static swig_lua_class _wrap_class_uiImage
uiNode_t uiItemNode_t
SWIGINTERN bool uiImageNode_t_is_keepratio(uiImageNode_t *self)
static swig_lua_method swig_uiItem_methods[]
static swig_lua_method swig_uiContainer_meta[]
static int _wrap_uiAbstractScrollbarNode_is_autoshowscroll(lua_State *L)
#define SWIG_check_num_args(func_name, a, b)
static int _wrap_uiBaseInventory_is_displayweaponammo(lua_State *L)
static swig_lua_attribute swig_uiLineChart_attributes[]
static int _wrap_uiVideo_lua_onEnd_set(lua_State *L)
static swig_lua_attribute swig_uiBaseLayout_Sf_SwigStatic_attributes[]
static const char * swig_uiNode_base_names[]
bool UI_AddLineChartLine(uiNode_t *node, const char *id, bool visible, const vec4_t color, bool dots, int numPoints)
Add a line to the chart.
static void swig_delete_uiButton(void *obj)
SWIGINTERN void SWIG_Lua_class_register_instance(lua_State *L, swig_lua_class *clss)
static int _wrap_new_uiMessageList(lua_State *L)
#define SWIG_NullReferenceError
SWIGINTERN void uiCheckBoxNode_t_set_iconchecked(uiCheckBoxNode_t *self, char const *name)
static void * _p_uiWidgetNode_tTo_p_uiImageNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_type_info _swigt__p_vec3_struct_t
static swig_lua_method swig_uiVScrollbar_Sf_SwigStatic_methods[]
SWIGINTERN int uiRowsNode_t_current(uiRowsNode_t *self)
static uiRowsNode_t * UI_CreateRows(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiAbstractValueNode_set_min__SWIG_1(lua_State *L)
static int _wrap_uiBaseInventory_is_displayavailableontop(lua_State *L)
static int _wrap_uiLineChart_add_line(lua_State *L)
const char * UI_SWIG_NodeTypeName(void *node)
This function returns the SWIG typename for the given node.
SWIGINTERN char * uiModelNode_t_model(uiModelNode_t *self)
swig_lua_attribute * ns_attributes
static swig_cast_info _swigc__p_uiOptionNode_t[]
static swig_lua_namespace swig_uiBar_Sf_SwigStatic
static swig_lua_class * swig_uiString_bases[]
void UI_NodeSetBox(uiNode_t *node, float x, float y, float w, float h)
Update the node size and height and fire callbacks.
Definition: ui_node.cpp:687
static swig_lua_method swig_uiOptionList_meta[]
static swig_lua_const_info swig_uiBaseInventory_Sf_SwigStatic_constants[]
SWIGINTERN void uiNode_t_set_bordercolor(uiNode_t *self, float r, float g, float b, float a)
SWIGINTERN int SWIG_Lua_set_immutable(lua_State *L)
static swig_lua_attribute swig_uiBaseLayout_attributes[]
SWIGINTERN void uiModelNode_t_set_scale(uiModelNode_t *self, float a1, float a2, float a3)
static void swig_delete_uiRows(void *obj)
static void * _p_uiBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiBaseLayout_Sf_SwigStatic_classes[]
static void swig_delete_uiSpinner(void *obj)
static int _wrap_uiAbstractOptionNode_set_fullsize(lua_State *L)
#define SWIG_fail_ptr(func_name, argnum, type)
static swig_lua_class * swig_uiItem_bases[]
static const char * swig_uiAbstractValueNode_base_names[]
static swig_lua_class _wrap_class_uiItem
static int _wrap_uiOption_label(lua_State *L)
lua_CFunction setmethod
#define SWIGTYPE_p_uiTextureNode_t
static int _wrap_uiPanel_set_layoutmargin(lua_State *L)
static swig_lua_class _wrap_class_uiRadioButton
static int _wrap_create_baseinventory(lua_State *L)
static swig_lua_class * swig_uiOptionTree_bases[]
static swig_lua_method swig_uiMessageList_methods[]
static swig_lua_namespace swig_uiTBar_Sf_SwigStatic
#define SWIG_LUA_STRING
static int _wrap_new_uiNode(lua_State *L)
static swig_lua_class * swig_uiBaseLayout_bases[]
SWIGINTERN int uiTextEntryNode_t_cursorposition(uiTextEntryNode_t *self)
static swig_lua_attribute swig_uiRadar_attributes[]
uiNode_t uiZoneNode_t
static swig_lua_method swig_uiTimer_methods[]
SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L, swig_lua_class *clss)
SWIGINTERN bool uiBarNode_t_is_nohover(uiBarNode_t *self)
uiNode_t uiAbstractScrollableNode_t
static int _wrap_UI_CreateTab(lua_State *L)
static swig_lua_attribute swig_uiBaseInventory_attributes[]
SWIGINTERN bool uiOptionNode_t_is_flipicion(uiOptionNode_t *self)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
#define SWIGTYPE_p_uiItemNode_t
#define SWIGTYPE_p_uiOptionTreeNode_t
static swig_lua_const_info swig_uiTextList_Sf_SwigStatic_constants[]
static swig_lua_namespace swig_SwigModule
#define SWIG_ConvertPtr(L, idx, ptr, type, flags)
void Com_Error(int code, const char *fmt,...)
Definition: common.cpp:417
#define SWIGTYPE_p_uiRadarNode_t
SWIGINTERN void uiNode_t_insert_node(uiNode_t *self, uiNode_t *node, uiNode_t *prev)
SWIGINTERN void uiNode_t_remove_children(uiNode_t *self)
static swig_type_info _swigt__p_uiImageNode_t
static int _wrap_uiText_textselected(lua_State *L)
static const char * swig_uiTimer_base_names[]
static swig_cast_info _swigc__p_uiItemNode_t[]
static swig_lua_class _wrap_class_uiBar
SWIGINTERN void uiSpinnerNode_t_set_background(uiSpinnerNode_t *self, char const *name)
static int _wrap_uiNode_height(lua_State *L)
static swig_lua_attribute swig_uiTextList_attributes[]
static swig_lua_namespace swig_uiWindow_Sf_SwigStatic
static void * _p_uiPanelNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN char * uiTextNode_t_textselected(uiTextNode_t *self)
static swig_lua_class * swig_uiImage_bases[]
static int _wrap_uiOption_count(lua_State *L)
const char * name
static int _wrap_uiNode_flashspeed(lua_State *L)
SWIGINTERN vec2_struct_t * uiTBarNode_t_texl(uiTBarNode_t *self)
static int _wrap_uiNode_on_activate_set(lua_State *L)
SWIGINTERN void SWIG_Lua_class_register(lua_State *L, swig_lua_class *clss)
const char * name
static swig_lua_class * swig_uiImage_Sf_SwigStatic_classes[]
lua_CFunction getmethod
static swig_lua_method swig_uiPanel_Sf_SwigStatic_methods[]
static swig_cast_info _swigc__p_uiWidgetNode_t[]
static swig_cast_info _swigc__p_uiBarNode_t[]
static int _wrap_uiBaseInventory_on_viewchange_get(lua_State *L)
static swig_type_info _swigt__p_itemFilterTypes_t
static const char * swig_uiVScrollbar_base_names[]
static int _wrap_uiNode_on_mouseenter_get(lua_State *L)
static swig_lua_class * swig_uiSelectBox_bases[]
static int _wrap_uiPanel_set_background(lua_State *L)
static int _proxy__wrap_new_uiOption(lua_State *L)
static swig_lua_method swig_uiRadar_methods[]
SWIGINTERN char * cvar_t_name(cvar_t *self)
uiNode_t uiSpinnerNode_t
static swig_lua_attribute swig_uiText_Sf_SwigStatic_attributes[]
static swig_lua_namespace swig_uiText_Sf_SwigStatic
static int _wrap_uiWindow_on_windowactivate_set(lua_State *L)
SWIGINTERN void SWIG_Lua_create_class_registry(lua_State *L)
static swig_lua_attribute swig_uiOptionList_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiZone_meta[]
static int _proxy__wrap_new_uiVScrollbar(lua_State *L)
static int _wrap_uiBar_is_readonly(lua_State *L)
static void * _p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiModel_scale(lua_State *L)
static void * _p_uiOptionTreeNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_getvar__SWIG_1(lua_State *L)
static swig_cast_info _swigc__p_uiRowsNode_t[]
static swig_type_info _swigt__p_longlines_t
static void * _p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiAbstractValueNode_bases[]
static int _wrap_uiString_longlines(lua_State *L)
static int _wrap_uiNode_last(lua_State *L)
static int _wrap_uiLineChart_add_point(lua_State *L)
static int _wrap_create_baselayout(lua_State *L)
static swig_cast_info _swigc__p_uiAbstractScrollbarNode_t[]
static int _wrap_create_checkbox(lua_State *L)
static int _wrap_uiCheckBox_as_integer(lua_State *L)
SWIGINTERN void uiRowsNode_t_set_lineheight(uiRowsNode_t *self, int value)
SWIGINTERN void uiImageNode_t_set_texh(uiImageNode_t *self, float v1, float v2)
static int _wrap_uiLineChart_is_showaxes(lua_State *L)
SWIGINTERN void uiLineChartNode_t_add_line(uiLineChartNode_t *self, char const *id, bool visible, float r, float g, float b, float a, bool dots, int num_points)
static swig_lua_attribute swig_uiRows_attributes[]
static int _wrap_cvar_set_value__SWIG_0(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_dec_value(uiAbstractValueNode_t *self)
SWIGINTERN void uiBaseLayoutNode_t_set_baseid(uiBaseLayoutNode_t *self, int value)
static void swig_delete_uiRadar(void *obj)
static swig_type_info _swigt__p_vec2_struct_t
static swig_lua_attribute swig_uiTextList_Sf_SwigStatic_attributes[]
SWIGINTERN bool uiPanelNode_t_is_wheelscrollable(uiPanelNode_t *self)
void UI_Spinner_SetBottomIconByName(uiNode_t *node, const char *name)
struct swig_cast_info * cast
SWIGINTERN char * uiOptionNode_t_value(uiOptionNode_t *self)
static swig_lua_method swig_uiText2_methods[]
SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self, bool value)
static swig_lua_method swig_invDef_Sf_SwigStatic_methods[]
static int _wrap_uiTBar_set_texl(lua_State *L)
static swig_lua_method swig_uiRadioButton_Sf_SwigStatic_methods[]
static int _wrap_uiNode_on_wheel_set(lua_State *L)
uiNode_t * root
Definition: ui_nodes.h:93
static int _wrap_uiTextEntry_unfocus(lua_State *L)
static int _wrap_uiNode_on_click_get(lua_State *L)
static swig_cast_info _swigc__p_uiText2Node_t[]
static int _wrap_create_tbar(lua_State *L)
void UI_AbstractValue_IncValue(uiNode_t *node)
SWIGINTERN int uiBaseInventoryNode_t_columns(uiBaseInventoryNode_t *self)
SWIGINTERN int uiAbstractScrollableNode_t_fullsize(uiAbstractScrollableNode_t *self)
static swig_lua_attribute swig_uiVideo_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_uiString_Sf_SwigStatic_attributes[]
static swig_lua_class _wrap_class_uiVideo
static int _proxy__wrap_new_uiItem(lua_State *L)
void UI_Window_SetCloseButton(uiNode_t *node, bool value)
Create/remove close button on window.
static swig_lua_attribute swig_uiZone_Sf_SwigStatic_attributes[]
float UI_AbstractValue_GetDelta(uiNode_t *node)
static swig_lua_class * swig_uiSpinner_Sf_SwigStatic_classes[]
void UI_AbstractValue_SetDelta(uiNode_t *node, float delta)
static swig_lua_attribute swig_uiData_attributes[]
static swig_lua_class * swig_invDef_Sf_SwigStatic_classes[]
static swig_lua_const_info swig_uiTexture_Sf_SwigStatic_constants[]
unsigned int key
Definition: cl_input.cpp:68
static swig_lua_const_info swig_SwigModule_constants[]
const char * fqname
SWIGINTERN bool uiOptionNode_t_is_truncated(uiOptionNode_t *self)
static const char * swig_uiSequence_base_names[]
static int _wrap_new_uiPanel(lua_State *L)
align_t
We need this here for checking the boundaries from script values.
Definition: scripts.h:89
static swig_lua_attribute swig_uiButton_Sf_SwigStatic_attributes[]
uiNode_t * UI_PushWindow(const char *name, const char *parentName, linkedList_t *params)
Push a window onto the window stack.
Definition: ui_windows.cpp:170
static swig_lua_method swig_uiBaseLayout_meta[]
static swig_lua_attribute swig_uiImage_attributes[]
swig_type_info ** ptype
void UI_MoveNode(uiNode_t *const parent, uiNode_t *prevNode, uiNode_t *node)
Moves a node in the tree.
Definition: ui_node.cpp:828
static int _wrap_uiRows_current(lua_State *L)
SWIGINTERN void uiTimerNode_t_set_timeout(uiTimerNode_t *self, int value)
static swig_lua_namespace swig_uiRows_Sf_SwigStatic
static swig_type_info _swigt__p_uiContainerNode_t
#define SWIG_LUACODE
SWIGINTERN void SWIG_Lua_add_class_static_details(lua_State *L, swig_lua_class *clss)
static void * _p_uiOptionTreeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiSpinner_meta[]
static swig_type_info _swigt__p_uiAbstractValueNode_t
static swig_lua_class * swig_uiText_Sf_SwigStatic_classes[]
static swig_lua_attribute swig_uiContainer_attributes[]
static int _wrap_uiNode_set_borderthickness(lua_State *L)
SWIGINTERN void uiPanelNode_t_set_layoutmargin(uiPanelNode_t *self, int value)
static swig_lua_attribute swig_uiData_Sf_SwigStatic_attributes[]
static int _wrap_create_widget(lua_State *L)
static void swig_delete_uiItem(void *obj)
static void * _p_uiMessageListNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_uiItem_base_names[]
static swig_lua_method swig_SwigModule_methods[]
static void * _p_uiOptionListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_invDef_meta[]
SWIGINTERN float uiAbstractValueNode_t_max(uiAbstractValueNode_t *self)
static int _wrap_uiWindow_set_background(lua_State *L)
static swig_lua_const_info swig_uiTab_Sf_SwigStatic_constants[]
SWIGRUNTIME const char * SWIG_Lua_typename(lua_State *L, int tp)
static swig_lua_attribute swig_uiVScrollbar_attributes[]
uiNode_t uiAbstractScrollbarNode_t
SWIGINTERN void uiModelNode_t_set_animation(uiModelNode_t *self, char const *name)
static swig_lua_method swig_uiButton_meta[]
static int _wrap_nodetree(lua_State *L)
static int _wrap_get_window(lua_State *L)
static swig_lua_class * swig_uiBar_bases[]
cvar_t * Cvar_Get(const char *var_name, const char *var_value, int flags, const char *desc)
Init or return a cvar.
Definition: cvar.cpp:342
static int _wrap_uiNode_set_invisible(lua_State *L)
static int _wrap_new_uiConFunc(lua_State *L)
static swig_lua_attribute swig_uiBaseInventory_Sf_SwigStatic_attributes[]
SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret)
SWIGINTERN void uiAbstractScrollableNode_t_pageup(uiAbstractScrollableNode_t *self)
static swig_lua_class _wrap_class_uiText2
SWIGINTERN char const * uiNode_t_image(uiNode_t *self)
static swig_lua_const_info swig_invDef_Sf_SwigStatic_constants[]
static swig_lua_const_info swig_uiOptionList_Sf_SwigStatic_constants[]
#define SWIG_GetModule(clientdata)
static swig_type_info _swigt__p_panelLayout_t
static void swig_delete_uiVScrollbar(void *obj)
static int _wrap_uiImage_texh(lua_State *L)
SWIGINTERN int uiPanelNode_t_layoutmargin(uiPanelNode_t *self)
static void * _p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
static swig_type_info _swigt__p_uiWidgetNode_t
static int _wrap_uiBaseLayout_baseid(lua_State *L)
SWIGINTERN bool uiWindowNode_t_is_fullscreen(uiWindowNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_toggle(uiCheckBoxNode_t *self)
static uiStringNode_t * UI_CreateString(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiNode_is_virtual(lua_State *L)
static int _wrap_uiAbstractScrollbarNode_set_current(lua_State *L)
static int _wrap_uiNode_set_font(lua_State *L)
SWIGINTERN void uiNode_t_set_size(uiNode_t *self, float w, float h)
static swig_lua_attribute swig_uiText_attributes[]
uiNode_t * lastChild
Definition: ui_nodes.h:90
SWIGINTERN int uiSpinnerNode_t_mode(uiSpinnerNode_t *self)
static void * _p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIGEXPORT
static int _wrap_uiNode_type(lua_State *L)
static swig_type_info _swigt__p_uiConFuncNode_t
static swig_type_info _swigt__p_uiDataNode_t
static swig_lua_method swig_uiSelectBox_methods[]
static void swig_delete_uiTextEntry(void *obj)
static int _wrap_uiNode___getitem(lua_State *L)
static int _wrap_uiBar_set_readonly(lua_State *L)
static const char * swig_cvar_base_names[]
void UI_RadioButton_SetValue(uiNode_t *node, const char *value)
#define Vector4Set(v, r, g, b, a)
Definition: vector.h:62
static void swig_delete_uiTextList(void *obj)
static int _wrap_uiNode_on_focusgained_get(lua_State *L)
void UI_Node_SetImage(uiNode_t *node, const char *name)
Definition: ui_node.cpp:392
SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self, int value)
static swig_cast_info _swigc__p_uiMessageListNode_t[]
static swig_lua_const_info swig_uiData_Sf_SwigStatic_constants[]
SWIGINTERN void uiAbstractScrollableNode_t_set_viewsize(uiAbstractScrollableNode_t *self, int size)
static int _wrap_uiNode_move_node(lua_State *L)
SWIGINTERN void uiWindowNode_t_close(uiWindowNode_t *self)
static const char * swig_uiModel_base_names[]
static int _wrap_uiNode_on_wheelup_set(lua_State *L)
static swig_lua_class * swig_uiPanel_Sf_SwigStatic_classes[]
static swig_lua_namespace swig_uiContainer_Sf_SwigStatic
static int _wrap_uiAbstractValueNode_set_shiftmultiplier(lua_State *L)
static swig_lua_namespace swig_uiPanel_Sf_SwigStatic
static swig_lua_method swig_uiAbstractOptionNode_meta[]
#define SWIGTYPE_p_uiLineChartNode_t
static swig_lua_method swig_uiTab_Sf_SwigStatic_methods[]
#define Vector2Set(v, x, y)
Definition: vector.h:61
static int _wrap_create_text2(lua_State *L)
static swig_lua_class _wrap_class_uiSelectBox
static int _wrap_uiNode_on_middleclick_set(lua_State *L)
struct swig_module_info * next
static int _wrap_uiRadioButton_set_icon(lua_State *L)
static int _wrap_uiTBar_texh(lua_State *L)
static swig_lua_class _wrap_class_uiWidget
static int _wrap_new_uiContainer(lua_State *L)
static int _wrap_uiText_longlines(lua_State *L)
static swig_cast_info _swigc__p_uiAbstractValueNode_t[]
static swig_lua_method swig_uiVScrollbar_methods[]
SWIGINTERN bool uiButtonNode_t_flipicon(uiButtonNode_t *self)
#define SWIGTYPE_p_uiZoneNode_t
static swig_lua_method swig_uiTextList_methods[]
static swig_lua_attribute swig_uiOptionTree_attributes[]
static int _wrap_uiAbstractValueNode_dec_value(lua_State *L)
static int _wrap_uiAbstractScrollableNode_fullsize(lua_State *L)
static int _wrap_register_onload(lua_State *L)
static void * _p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_NewPointerObj(L, ptr, type, owner)
SWIGINTERN void uiAbstractScrollbarNode_t_set_fullsize(uiAbstractScrollbarNode_t *self, int size)
static int _wrap_uiAbstractValueNode_set_max(lua_State *L)
static swig_lua_class _wrap_class_uiData
static int _wrap_uiImage_is_mousefx(lua_State *L)
static int _proxy__wrap_new_uiText2(lua_State *L)
void UI_DeleteAllChild(uiNode_t *node)
Remove all child from a node (only remove dynamic memory allocation nodes)
Definition: ui_nodes.cpp:596
static int _wrap_UI_CreateConFunc(lua_State *L)
static swig_lua_method swig_uiVideo_methods[]
uiNode_t uiTBarNode_t
static void uiWindowNode_t_lua_onWindowClosed_set(uiWindowNode_t *node, LUA_EVENT fn)
static const char * swig_uiButton_base_names[]
float UI_AbstractValue_GetShiftIncreaseFactor(uiNode_t *node)
SWIGINTERN int SWIG_Lua_dostring(lua_State *L, const char *str)
static int _wrap_uiPanel_set_layoutcolumns(lua_State *L)
static uiDataNode_t * UI_CreateData(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiWindow_set_fill(lua_State *L)
static LUA_EVENT uiWindowNode_t_lua_onWindowActivate_get(uiWindowNode_t *node)
static swig_lua_namespace swig_invDef_Sf_SwigStatic
uiNode_t uiGeoscapeNode_t
static int _wrap_uiAbstractOptionNode_current(lua_State *L)
uiNode_t * UI_CreateComponent(const char *type, const char *name, const char *super)
Create a new component inherited from a given node class or other node.
Definition: ui_lua.cpp:544
static swig_cast_info _swigc__p_uiZoneNode_t[]
#define SWIGUNUSED
static const char * swig_uiSelectBox_base_names[]
static void uiTextEntryNode_t_lua_onTextEntryAbort_set(uiTextEntryNode_t *node, LUA_EVENT fn)
static swig_lua_method swig_uiConFunc_Sf_SwigStatic_methods[]
static int _wrap_new_uiRadar(lua_State *L)
SWIGINTERN void uiModelNode_t_set_angles(uiModelNode_t *self, float a1, float a2, float a3)
static int _wrap_uiAbstractValueNode_lastdiff(lua_State *L)
static int _wrap_uiContainer_on_select_set(lua_State *L)
SWIGINTERN void uiTextEntryNode_t_unfocus(uiTextEntryNode_t *self)
#define SWIGTYPE_p_uiCheckBoxNode_t
SWIGINTERN int uiAbstractOptionNode_t_lineheight(uiAbstractOptionNode_t *self)
static int _wrap_uiModel_set_tag(lua_State *L)
static int _wrap_create_messagelist(lua_State *L)
uiNode_t uiOptionNode_t
static int _wrap_uiModel_set_model(lua_State *L)
static swig_lua_method swig_uiSelectBox_meta[]
SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self, bool value)
static swig_cast_info _swigc__p_vec3_struct_t[]
static void swig_delete_cvar(void *obj)
swig_converter_func converter
#define SWIG_Lua_get_table(L, n)
static swig_lua_class _wrap_class_invDef
static swig_cast_info _swigc__p_align_t[]
static int _wrap_uiAbstractScrollableNode_on_viewchange_set(lua_State *L)
static swig_cast_info _swigc__p_uiImageNode_t[]
SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx)
static const char * swig_invDef_base_names[]
void UI_AbstractValue_DecValue(uiNode_t *node)
static swig_lua_attribute swig_uiAbstractScrollbarNode_Sf_SwigStatic_attributes[]
uiNode_t * UI_FindNode(const uiNode_t *node, const char *name)
Recursive searches for a child node by name in the entire subtree.
Definition: ui_node.cpp:733
static int _wrap_uiRows_lineheight(lua_State *L)
swig_dycast_func dcast
static swig_lua_class _wrap_class_uiRows
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static swig_cast_info _swigc__p_uiTBarNode_t[]
swig_lua_const_info * ns_constants
static const char * swig_uiOption_base_names[]
static void * _p_uiBaseInventoryNode_tTo_p_uiContainerNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiNode_on_focusgained_set(lua_State *L)
static const char * swig_uiTBar_base_names[]
static void * _p_uiTBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_new_uiVScrollbar(lua_State *L)
static int _wrap_uiNode_set_contentalign(lua_State *L)
static swig_lua_method swig_uiAbstractValueNode_methods[]
static swig_type_info _swigt__p_uiSpinnerNode_t
static int _proxy__wrap_new_uiZone(lua_State *L)
static int _wrap_uiAbstractOptionNode_set_lineheight(lua_State *L)
SWIGINTERN int uiAbstractScrollbarNode_t_current(uiAbstractScrollbarNode_t *self)
static void swig_delete_uiConFunc(void *obj)
uiNode_t uiSelectBoxNode_t
static swig_lua_attribute swig_uiString_attributes[]
static int _wrap_uiContainer_on_select_get(lua_State *L)
static uiTBarNode_t * UI_CreateTBar(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN LUA_METHOD uiNode_t___getitem(uiNode_t *self, char const *name)
SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State *L, swig_lua_namespace *ns)
void UI_CheckBox_SetIconUnknownByName(uiNode_t *node, const char *name)
#define SWIG_DOSTRING_FAIL(S)
static swig_lua_method swig_uiAbstractScrollbarNode_meta[]
static int _wrap_new_uiAbstractValueNode(lua_State *L)
static int _proxy__wrap_new_uiTextList(lua_State *L)
static swig_lua_method swig_uiData_methods[]
static swig_lua_class _wrap_class_uiAbstractValueNode
static int _wrap_uiBaseInventory_is_displayunavailable(lua_State *L)
static swig_lua_class _wrap_class_uiBaseLayout
SWIGINTERN int uiTimerNode_t_timeout(uiTimerNode_t *self)
#define lua_absindex(L, i)
SWIGINTERN void uiTBarNode_t_set_texh(uiTBarNode_t *self, float v1, float v2)
static int _wrap_uiAbstractScrollbarNode_viewsize(lua_State *L)
static LUA_EVENT uiAbstractOptionNode_t_lua_onViewChange_get(uiAbstractOptionNode_t *node)
static void swig_delete_uiContainer(void *obj)
SWIGINTERN void uiModelNode_t_set_autoscale(uiModelNode_t *self, bool value)
const char * UI_GetPath(const uiNode_t *node)
Return a path from a window to a node.
Definition: ui_nodes.cpp:174
static int _wrap_uiString_set_longlines(lua_State *L)
static swig_lua_class * swig_uiTBar_Sf_SwigStatic_classes[]
static swig_cast_info _swigc__p_uiContainerNode_t[]
void UI_Option_SetLabel(uiNode_t *node, const char *text)
uiNode_t uiVideoNode_t
static int _wrap_uiNode_set_selectcolor(lua_State *L)
#define SWIGTYPE_p_uiTimerNode_t
static int _wrap_uiRadioButton_set_cvar(lua_State *L)
static swig_lua_method swig_uiString_Sf_SwigStatic_methods[]
SWIGINTERN void uiAbstractScrollableNode_t_movedown(uiAbstractScrollableNode_t *self)
static void * _p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiConFunc
static int _wrap_UI_CreateSpinner(lua_State *L)
SWIGINTERN void uiModelNode_t_set_skin(uiModelNode_t *self, char const *name)
static int _wrap_uiAbstractValueNode_min(lua_State *L)
SWIGINTERN void uiOptionTreeNode_t_set_selectedvalue(uiOptionTreeNode_t *self, char const *value)
static int _wrap_UI_CreateOptionList(lua_State *L)
static int _wrap_uiVideo_set_source(lua_State *L)
static int _wrap_create_textlist(lua_State *L)
static swig_lua_class _wrap_class_uiOptionList
static void * _p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractOptionNode_cvar(lua_State *L)
static const char * swig_uiBaseLayout_base_names[]
static int _wrap_uiWindow_set_dragbutton(lua_State *L)
static swig_cast_info _swigc__p_uiSpinnerNode_t[]
static int _wrap_uiNode_width(lua_State *L)
void * lua_SWIG_typeinfo
Definition: ui_behaviour.h:57
static swig_lua_class * swig_uiButton_bases[]
static swig_type_info _swigt__p_uiNode_t
SWIGINTERN bool uiBaseInventoryNode_t_is_displayweapon(uiBaseInventoryNode_t *self)
static int _wrap_UI_CreateSelectBox(lua_State *L)
static swig_lua_method swig_uiZone_methods[]
static swig_cast_info _swigc__p_uiGeoscapeNode_t[]
void UI_Spinner_SetTopIconByName(uiNode_t *node, const char *name)
SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L, int index, void **ptr, swig_type_info *type, int flags)
static swig_lua_method swig_uiRadar_meta[]
static swig_lua_attribute swig_uiSequence_Sf_SwigStatic_attributes[]
uiNode_t uiBarNode_t
SWIGINTERN char * uiOptionNode_t_label(uiOptionNode_t *self)
swig_type_info ** types
SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self, bool value)
static const char * swig_uiBar_base_names[]
bool UI_Node_IsWindow(uiNode_t const *node)
Definition: ui_node.cpp:60
static swig_lua_attribute swig_uiCheckBox_Sf_SwigStatic_attributes[]
static int _wrap_create_radiobutton(lua_State *L)
static swig_lua_class * swig_uiGeoscape_Sf_SwigStatic_classes[]
static const char * swig_uiLineChart_base_names[]
static int _wrap_uiBaseInventory_set_displayunavailable(lua_State *L)
static swig_lua_method swig_uiNode_meta[]
static int _wrap_UI_CreateOptionTree(lua_State *L)
static int _wrap_uiNode_child(lua_State *L)
static swig_lua_class * swig_uiRadioButton_bases[]
SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self)
static swig_lua_method swig_uiGeoscape_methods[]
SWIGINTERN float uiNode_t_left(uiNode_t *self)
static int _wrap_uiModel_tag(lua_State *L)
static int _wrap_uiText_set_lineselected(lua_State *L)
static int _wrap_uiWindow_is_fullscreen(lua_State *L)
SWIGINTERN void uiCheckBoxNode_t_set_background(uiCheckBoxNode_t *self, char const *name)
SWIGINTERN int uiAbstractOptionNode_t_fullsize(uiAbstractOptionNode_t *self)
static void * _p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_add_classmethod(uiNode_t *self, char const *name, LUA_METHOD fcn)
static int _wrap_uiAbstractValueNode_set_value__SWIG_1(lua_State *L)
SWIGINTERN vec2_struct_t * uiImageNode_t_texh(uiImageNode_t *self)
static int _wrap_uiNode_set_flashspeed(lua_State *L)
static int _wrap_uiContainer_selectedid(lua_State *L)
static int _wrap_uiNode_set_size(lua_State *L)
#define UI_EXTRADATA(NODE, TYPE)
Definition: ui_nodes.h:185
static swig_lua_class * swig_uiTBar_bases[]
static int _wrap_new_uiBaseLayout(lua_State *L)
SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self, char const *text)
static int _wrap_uiVideo_lua_onEnd_get(lua_State *L)
SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self, int value)
SWIGINTERN void uiGeoscapeNode_t_zoomout(uiGeoscapeNode_t *self)
static uiLineChartNode_t * UI_CreateLineChart(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiButton_set_icon(lua_State *L)
static int _wrap_uiNode_on_loaded_get(lua_State *L)
static int _proxy__wrap_new_cvar(lua_State *L)
static swig_lua_attribute swig_invDef_attributes[]
SWIGINTERN void uiAbstractValueNode_t_inc_value(uiAbstractValueNode_t *self)
static int _wrap_UI_CreateTexture(lua_State *L)
static void swig_delete_uiCheckBox(void *obj)
void UI_Video_SetSource(uiNode_t *node, const char *name)
static swig_lua_namespace swig_uiMessageList_Sf_SwigStatic
SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self, float v1, float v2)
static swig_lua_class * swig_uiZone_Sf_SwigStatic_classes[]
SWIGINTERN void uiBaseInventoryNode_t_set_displayweapon(uiBaseInventoryNode_t *self, bool value)
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
Definition: common.cpp:398
SWIGINTERN void uiWindowNode_t_set_dropdown(uiWindowNode_t *self, bool value)
extradata for the window node
Definition: ui_node_timer.h:44
SWIGINTERN bool uiBaseInventoryNode_t_is_displayweaponammo(uiBaseInventoryNode_t *self)
static swig_cast_info _swigc__p_uiCheckBoxNode_t[]
static swig_lua_const_info swig_uiVScrollbar_Sf_SwigStatic_constants[]
static int _wrap_new_uiWindow(lua_State *L)
static int _wrap_uiBaseInventory_columns(lua_State *L)
static int _wrap_uiAbstractScrollableNode_movehome(lua_State *L)
static int _wrap_uiNode_is_window(lua_State *L)
static swig_lua_class * swig_uiBaseInventory_Sf_SwigStatic_classes[]
static swig_lua_class _wrap_class_uiButton
static int _proxy__wrap_new_uiAbstractScrollableNode(lua_State *L)
static swig_lua_attribute swig_uiRows_Sf_SwigStatic_attributes[]
void UI_OptionTree_SelectValue(uiNode_t *node, const char *value)
static swig_lua_method swig_uiRadioButton_meta[]
#define SWIGTYPE_p_uiText2Node_t
static swig_lua_method swig_uiTBar_meta[]
void UI_Window_SetDragButton(uiNode_t *node, bool value)
Create/remove drag button.
static int _wrap_uiZone_is_repeat(lua_State *L)
static void * _p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_cmd(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_methods[]
float UI_AbstractValue_GetMin(uiNode_t *node)
SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self, int value)
static int _wrap_uiData_as_float(lua_State *L)
SWIGINTERN bool uiSequenceNode_t_is_playing(uiSequenceNode_t *self)
static int _proxy__wrap_new_uiSequence(lua_State *L)
static swig_lua_namespace swig_uiCheckBox_Sf_SwigStatic
int LUA_METHOD
holds a reference to a lua event handler
Definition: scripts_lua.h:53
static int _proxy__wrap_new_uiConFunc(lua_State *L)
extradata for scrollbar widget
static swig_lua_method swig_uiRows_meta[]
swig_type_info ** type
static int _wrap_new_uiTextEntry(lua_State *L)
void UI_AbstractOption_Scroll_SetFullSize(uiNode_t *node, int size)
SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L, int index, void *ptr, size_t size, swig_type_info *type)
static int _wrap_new_uiButton(lua_State *L)
#define SWIGTYPE_p_uiContainerNode_t
void UI_Node_SetDisabled(uiNode_t *node, const bool value)
Definition: ui_node.cpp:422
static int _wrap_uiWindow_on_windowclosed_set(lua_State *L)
static swig_cast_info _swigc__p_uiTabNode_t[]
lua_CFunction constructor
static void * _p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiButtonNode_t_set_background(uiButtonNode_t *self, char const *name)
void UI_AbstractOption_SetBackgroundByName(uiNode_t *node, const char *name)
static int _wrap_uiText_dataid(lua_State *L)
static swig_cast_info _swigc__p_uiOptionListNode_t[]
static swig_lua_const_info swig_uiTBar_Sf_SwigStatic_constants[]
Atomic structure used to define most of the UI.
Definition: ui_nodes.h:80
static int _wrap_uiNode_set_layoutalign(lua_State *L)
static const char * swig_uiMessageList_base_names[]
static void * _p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace swig_cvar_Sf_SwigStatic
#define SWIG_TypeQuery(name)
static swig_lua_attribute swig_uiBar_attributes[]
#define lua_pushglobaltable(L)
SWIGINTERN void uiSpinnerNode_t_set_inverted(uiSpinnerNode_t *self, bool value)
void UI_AbstractOption_Scroll_SetCurrent(uiNode_t *node, int pos)
static swig_lua_method swig_uiString_meta[]
static int _wrap_uiSequence_set_source(lua_State *L)
inventory definition for our menus
Definition: inv_shared.h:371
static swig_lua_class * swig_uiRows_bases[]
#define SWIGRUNTIME
static swig_type_info _swigt__p_uiLineChartNode_t
static swig_type_info _swigt__p_uiTextureNode_t
static swig_type_info _swigt__p_uiCheckBoxNode_t
static int _wrap_uiModel_origin(lua_State *L)
static int _proxy__wrap_new_uiRows(lua_State *L)
static int _wrap_uiNode_set_flashing(lua_State *L)
SWIGINTERN void uiOptionNode_t_set_collapsed(uiOptionNode_t *self, bool value)
static int _wrap_uiImage_set_keepratio(lua_State *L)
static int _proxy__wrap_new_uiAbstractOptionNode(lua_State *L)
static swig_lua_attribute swig_uiNode_attributes[]
static swig_lua_class * swig_uiTimer_Sf_SwigStatic_classes[]
static swig_cast_info _swigc__p_LUA_METHOD[]
static int _wrap_getvar__SWIG_2(lua_State *L)
void * UI_SWIG_TypeQuery(const char *name)
This function queries the SWIG type table for a type information structure. It is used in combination...
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
static int _wrap_uiNode_on_click_set(lua_State *L)
void UI_AbstractValue_SetValue(uiNode_t *node, float value)
static swig_type_info _swigt__p_uiVideoNode_t
static int _wrap_create_panel(lua_State *L)
static swig_lua_namespace swig_uiText2_Sf_SwigStatic
SWIGINTERN void uiAbstractOptionNode_t_set_viewsize(uiAbstractOptionNode_t *self, int size)
static void * _p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiCheckBox_methods[]
static swig_lua_method swig_uiText2_meta[]
extradata for the linechart node
static int _wrap_uiText_lineheight(lua_State *L)
uiNode_t uiWindowNode_t
static swig_cast_info _swigc__p_linkedList_t[]
extradata for the window node
static int _wrap_uiNode_set_height(lua_State *L)
SWIGINTERN int uiBaseInventoryNode_t_fullsize(uiBaseInventoryNode_t *self)
static swig_lua_method swig_uiTab_meta[]
static int _wrap_create_rows(lua_State *L)
static int _proxy__wrap_new_uiBaseInventory(lua_State *L)
static const char * swig_uiAbstractScrollbarNode_base_names[]
static int _wrap_UI_CreateRadioButton(lua_State *L)
static swig_cast_info _swigc__p_layoutAlign_t[]
SWIGINTERN bool uiOptionNode_t_is_collapsed(uiOptionNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_1(uiAbstractValueNode_t *self, char const *name)
SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self, float value)
void UI_TextEntryNodeUnFocus(uiNode_t *node, const uiCallContext_t *context)
force exit the edit mode of a textentry node
static swig_lua_const_info swig_uiRadioButton_Sf_SwigStatic_constants[]
SWIGINTERN int uiAbstractOptionNode_t_count(uiAbstractOptionNode_t *self)
static int _wrap_uiNode_set_pos(lua_State *L)
static swig_type_info _swigt__p_uiRadioButtonNode_t
void *(* swig_converter_func)(void *, int *)
static void * _p_uiModelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define lua_rawgetp(L, index, ptr)
SWIGINTERN void uiBarNode_t_set_readonly(uiBarNode_t *self, bool value)
LUA_METHOD UI_Node_GetItem(uiNode_t *node, const char *name)
This functions queries a lua based method in the internal uiNode behaviour.
Definition: ui_node.cpp:1159
void UI_AbstractOption_Scroll_SetViewSize(uiNode_t *node, int size)
static swig_lua_attribute swig_uiWidget_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_cvar_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiButton_Sf_SwigStatic_classes[]
SWIGINTERN void uiAbstractScrollableNode_t_pagedown(uiAbstractScrollableNode_t *self)
SWIGINTERN vec3_struct_t * uiModelNode_t_angles(uiModelNode_t *self)
SWIGINTERN void uiButtonNode_t_set_flipicon(uiButtonNode_t *self, bool value)
bool Cvar_Delete(const char *varName)
Function to remove the cvar and free the space.
Definition: cvar.cpp:279
Option definition.
void UI_AbstractValue_SetMin(uiNode_t *node, float min)
SWIGINTERN void uiTextNode_t_set_dataid(uiTextNode_t *self, int id)
static int _wrap_uiAbstractScrollableNode_set_viewpos(lua_State *L)
static int _wrap_delete_node(lua_State *L)
static swig_lua_const_info swig_uiTimer_Sf_SwigStatic_constants[]
static swig_lua_const_info swig_uiSelectBox_Sf_SwigStatic_constants[]
QGL_EXTERN GLuint index
Definition: r_gl.h:110
static int _wrap_new_uiString(lua_State *L)
QGL_EXTERN void(APIENTRY *qglActiveTexture)(GLenum texture)
static swig_lua_method swig_uiMessageList_Sf_SwigStatic_methods[]
static int _wrap_getvar__SWIG_3(lua_State *L)
void UI_RadioButton_SetCvar(uiNode_t *node, const char *name)
static int _wrap_create_textentry(lua_State *L)
SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self, bool value)
static int _wrap_uiNode_set_color(lua_State *L)
SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L)
static void swig_delete_uiSelectBox(void *obj)
static int _wrap_uiAbstractScrollbarNode_set_viewsize(lua_State *L)
static swig_type_info _swigt__p_invDef_t
extradata for container widget
static swig_lua_method swig_uiCheckBox_meta[]
static swig_lua_attribute swig_uiTBar_Sf_SwigStatic_attributes[]
SWIGINTERN float cvar_t_as_float(cvar_t *self)
static swig_lua_attribute swig_uiItem_attributes[]
static int _wrap_uiBaseInventory_viewpos(lua_State *L)
static swig_lua_attribute swig_uiImage_Sf_SwigStatic_attributes[]
uiNode_t uiStringNode_t
SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L, void *ptr, swig_type_info *type, int own)
void UI_PrintNodeTree(uiNode_t *node, int level)
Definition: ui_lua.cpp:513
static swig_lua_const_info swig_uiBaseLayout_Sf_SwigStatic_constants[]
SWIGINTERN void SWIG_Lua_add_namespace_classes(lua_State *L, swig_lua_namespace *ns)
static uiTextNode_t * UI_CreateText(uiNode_t *parent, const char *name, const char *super)
static uiButtonNode_t * UI_CreateButton(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiAbstractValueNode_set_min(lua_State *L)
static int _wrap_uiNode_top(lua_State *L)
static swig_lua_class _wrap_class_uiAbstractOptionNode
SWIGINTERN void uiWindowNode_t_set_preventtypingescape(uiWindowNode_t *self, bool value)
static swig_type_info _swigt__p_LUA_EVENT
SWIGINTERN bool uiNode_t_is_window(uiNode_t *self)
static int _wrap_uiNode_on_keypressed_set(lua_State *L)
static int _wrap_uiCheckBox_toggle(lua_State *L)
static void * _p_uiButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiBar_Sf_SwigStatic_classes[]
static int _wrap_create_window(lua_State *L)
static swig_lua_class _wrap_class_uiString
#define SWIGTYPE_p_uiBaseInventoryNode_t
void UI_AbstractValue_SetRange(uiNode_t *node, float min, float max)
static void * _p_uiVScrollBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int uiBaseLayoutNode_t_baseid(uiBaseLayoutNode_t *self)
static int _wrap_uiNode_on_visiblewhen_get(lua_State *L)
void UI_RadioButton_SetIconByName(uiNode_t *node, const char *name)
static swig_lua_method swig_uiBaseLayout_Sf_SwigStatic_methods[]
static int _wrap_uiSpinner_is_inverted(lua_State *L)
static int _wrap_create_component(lua_State *L)
static int _wrap_pop_window(lua_State *L)
static int _wrap_uiOptionTree_set_selectedvalue(lua_State *L)
uiNode_t * UI_GetWindow(const char *name)
Searches all windows for the specified one.
Definition: ui_windows.cpp:567
static int _wrap_uiAbstractOptionNode_viewsize(lua_State *L)
SWIGINTERN void uiDataNode_t_set_value__SWIG_1(uiDataNode_t *self, int value)
static swig_lua_const_info swig_uiRows_Sf_SwigStatic_constants[]
SWIGINTERN int SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
static int _wrap_uiItem_is_containerlike(lua_State *L)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
static int _wrap_uiBaseInventory_set_displayunavailableammo(lua_State *L)
static int _wrap_uiNode_on_rightclick_get(lua_State *L)
SWIGINTERN int SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
bool UI_Node_IsDisabled(uiNode_t const *node)
Definition: ui_node.cpp:406
static swig_lua_attribute swig_uiButton_attributes[]
SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailableammo(uiBaseInventoryNode_t *self, bool value)
uiNode_t uiOptionTreeNode_t
static swig_lua_namespace swig_uiConFunc_Sf_SwigStatic
#define SWIG_isptrtype(L, I)
static int _wrap_uiNode_append_node(lua_State *L)
SWIGINTERN int uiContainerNode_t_selectedid(uiContainerNode_t *self)
SWIGINTERN void uiTextureNode_t_set_source(uiTextureNode_t *self, char const *name)
uiNode_t uiWidgetNode_t
static int _wrap_create_spinner(lua_State *L)
static swig_lua_method swig_uiButton_Sf_SwigStatic_methods[]
SWIGINTERN char * uiModelNode_t_tag(uiModelNode_t *self)
static int _wrap_uiModel_set_scale(lua_State *L)
static void * _p_uiRadarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiSpinner
static int _wrap_uiSpinner_mode(lua_State *L)
static int _proxy__wrap_new_uiTab(lua_State *L)
#define SWIG_NewMemberObj(L, ptr, sz, type)
SWIGINTERN void uiNode_t_set_flashing(uiNode_t *self, bool value)
static void swig_delete_uiImage(void *obj)
static swig_lua_method swig_uiImage_methods[]
static int _wrap_uiBaseInventory_set_fullsize(lua_State *L)
static swig_lua_class * swig_uiTab_bases[]
SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_0(uiAbstractValueNode_t *self, float max)
static LUA_EVENT uiWindowNode_t_lua_onWindowClosed_get(uiWindowNode_t *node)
static int _wrap_new_uiBaseInventory(lua_State *L)
void UI_AbstractValue_SetRangeCvar(uiNode_t *node, const char *min, const char *max)
static int _wrap_new_uiRadioButton(lua_State *L)
#define SWIGTYPE_p_uiRadioButtonNode_t
static swig_lua_method swig_uiVScrollbar_meta[]
static swig_type_info _swigt__p_uiSelectBoxNode_t
static int _wrap_uiAbstractOptionNode_lineheight(lua_State *L)
static swig_lua_const_info swig_uiItem_Sf_SwigStatic_constants[]
bool UI_Node_IsAbstract(uiNode_t const *node)
Definition: ui_node.cpp:72
SWIGINTERN int uiDataNode_t_as_integer(uiDataNode_t *self)
SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L, const char *cname)
static swig_lua_method swig_uiConFunc_meta[]
static int _wrap_uiNode_delete_node(lua_State *L)
int UI_AbstractOption_Scroll_Current(uiNode_t *node)
static LUA_EVENT uiAbstractScrollableNode_t_lua_onViewChange_get(uiAbstractScrollableNode_t *node)
static int _wrap_create_item(lua_State *L)
static int _wrap_uiSpinner_set_inverted(lua_State *L)
static int _wrap_create_confunc(lua_State *L)
static swig_lua_class * swig_uiLineChart_bases[]
static swig_lua_class * swig_uiTab_Sf_SwigStatic_classes[]
static int _wrap_uiModel_set_origin(lua_State *L)
SWIGINTERN char const * uiNode_t_text(uiNode_t *self)
static swig_lua_attribute swig_uiVideo_attributes[]
static int _wrap_UI_CreateBar(lua_State *L)
SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[])
static int _wrap_UI_CreateTextList(lua_State *L)
static int _wrap_UI_CreateGeoscape(lua_State *L)
static void uiAbstractOptionNode_t_lua_onViewChange_set(uiAbstractOptionNode_t *node, LUA_EVENT fn)
static void uiSequenceNode_t_lua_onEnd_set(uiSequenceNode_t *node, LUA_EVENT fn)
void UI_CheckBox_SetIconCheckedByName(uiNode_t *node, const char *name)
static const char * swig_uiText2_base_names[]
static int _wrap_uiText_tabwidth(lua_State *L)
static swig_lua_method swig_uiText_Sf_SwigStatic_methods[]
static swig_cast_info _swigc__p_uiButtonNode_t[]
static void swig_delete_uiAbstractScrollbarNode(void *obj)
static swig_lua_class * swig_uiWindow_bases[]
static swig_lua_method swig_uiAbstractScrollbarNode_Sf_SwigStatic_methods[]
static int _wrap_uiWindow_set_fullscreen(lua_State *L)
static int _wrap_uiAbstractValueNode_set_value(lua_State *L)
static int _wrap_uiTextEntry_is_password(lua_State *L)
SWIGINTERN int uiCheckBoxNode_t_as_integer(uiCheckBoxNode_t *self)
static int _proxy__wrap_new_uiImage(lua_State *L)
static swig_lua_attribute swig_uiAbstractScrollbarNode_attributes[]
#define SWIGTYPE_p_uiStringNode_t
static int _wrap_uiAbstractScrollableNode_moveup(lua_State *L)
static swig_lua_method swig_uiString_methods[]
static swig_lua_method swig_uiData_Sf_SwigStatic_methods[]
SWIGINTERN uiNode_t * uiNode_t_next(uiNode_t *self)
SWIGINTERN void uiVideoNode_t_set_source(uiVideoNode_t *self, char const *name)
SWIGINTERN int uiGeoscapeNode_t_paddingright(uiGeoscapeNode_t *self)
static void swig_delete_uiWidget(void *obj)
static swig_lua_attribute swig_invDef_Sf_SwigStatic_attributes[]
uiNode_t uiText2Node_t
#define SWIGTYPE_p_uiRowsNode_t
static swig_lua_method swig_uiTexture_methods[]
SWIGINTERN void uiNode_t_set_borderthickness(uiNode_t *self, int value)
static swig_lua_class * swig_uiTextEntry_Sf_SwigStatic_classes[]
uiNode_t uiBaseInventoryNode_t
static swig_type_info _swigt__p_uiMessageListNode_t
static swig_lua_class * swig_uiData_Sf_SwigStatic_classes[]
SWIGRUNTIME void SWIG_PropagateClientData(void)
SWIGINTERN void uiNode_t_set_flashspeed(uiNode_t *self, float value)
static int _wrap_uiRadioButton_set_value__SWIG_1(lua_State *L)
static swig_lua_method swig_uiTimer_meta[]
static int _wrap_uiImage_set_texh(lua_State *L)
static int _wrap_uiNode_on_mouseleave_set(lua_State *L)
static int _wrap_uiAbstractOptionNode_set_current(lua_State *L)
static swig_lua_attribute swig_uiTab_attributes[]
static int _wrap_uiTextEntry_set_password(lua_State *L)
static int _wrap_create_geoscape(lua_State *L)
void UI_NodeSetPos(uiNode_t *node, vec2_t pos)
Update the node size and fire the pos callback.
Definition: ui_node.cpp:646
#define SWIGTYPE_p_uiVideoNode_t
static void swig_delete_uiData(void *obj)
static swig_lua_method swig_uiTBar_Sf_SwigStatic_methods[]
static int _wrap_uiRadioButton_as_string(lua_State *L)
int UI_AbstractOption_GetCount(uiNode_t *node)
static int _proxy__wrap_new_uiTextEntry(lua_State *L)
#define SWIGTYPE_p_uiConFuncNode_t
static swig_type_info _swigt__p_uiRadarNode_t
static swig_lua_method swig_uiImage_meta[]
void UI_Node_SetItem(uiNode_t *node, const char *name, LUA_METHOD fcn)
This functions adds a lua based method to the internal uiNode behaviour.
Definition: ui_node.cpp:1147
static swig_lua_class * swig_uiGeoscape_bases[]
static int _wrap_new_uiTexture(lua_State *L)
static uiWidgetNode_t * UI_CreateWidget(uiNode_t *parent, const char *name, const char *super)
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
static swig_lua_namespace swig_uiSequence_Sf_SwigStatic
SWIGINTERN bool uiNode_t_is_flashing(uiNode_t *self)
uiNode_t * UI_CreateControl(uiNode_t *parent, const char *type, const char *name, const char *super)
Create a new control inherited from a given node class or other node.
Definition: ui_lua.cpp:428
static swig_lua_attribute swig_uiConFunc_Sf_SwigStatic_attributes[]
SWIGINTERN int uiTextNode_t_longlines(uiTextNode_t *self)
QGL_EXTERN GLint i
Definition: r_gl.h:113
static void * _p_uiBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
const char * str
swig_lua_method * metatable
static swig_lua_class _wrap_class_uiGeoscape
static swig_cast_info _swigc__p_LUA_EVENT[]
static int _proxy__wrap_new_uiData(lua_State *L)
static swig_lua_method swig_uiOption_meta[]
static swig_type_info _swigt__p_align_t
static int _wrap_new_uiOptionTree(lua_State *L)
static swig_lua_const_info swig_uiPanel_Sf_SwigStatic_constants[]
static swig_lua_class _wrap_class_uiVScrollbar
SWIGINTERN void uiNode_t_set_layoutalign(uiNode_t *self, int value)
SWIGINTERN void uiAbstractOptionNode_t_set_current(uiAbstractOptionNode_t *self, int pos)
void UI_Model_SetSkinSource(uiNode_t *node, const char *skinName)
static int _wrap_uiRadioButton_set_flipicon(lua_State *L)
static swig_type_info _swigt__p_LUA_METHOD
static int _wrap_uiWindow_is_starlayout(lua_State *L)
static swig_lua_class _wrap_class_uiBaseInventory
static swig_type_info _swigt__p_uiStringNode_t
static swig_type_info _swigt__p_uiTextEntryNode_t
static int _wrap_uiWindow_open(lua_State *L)
SWIGINTERN void uiNode_t_append_node(uiNode_t *self, uiNode_t *node)
static uiGeoscapeNode_t * UI_CreateGeoscape(uiNode_t *parent, const char *name, const char *super)
static int _wrap_UI_CreateString(lua_State *L)
static swig_lua_class _wrap_class_uiOption
static int _wrap_uiGeoscape_paddingright(lua_State *L)
static int _wrap_create_tab(lua_State *L)
static swig_lua_const_info swig_uiConFunc_Sf_SwigStatic_constants[]
static int _wrap_uiNode_parent(lua_State *L)
static int _wrap_uiData_set_value__SWIG_1(lua_State *L)
static int _wrap_uiNode_on_middleclick_get(lua_State *L)
static swig_lua_attribute swig_cvar_attributes[]
static swig_cast_info _swigc__p_uiPanelNode_t[]
static swig_lua_class * swig_uiData_bases[]
SWIGINTERN void uiAbstractOptionNode_t_set_dataid(uiAbstractOptionNode_t *self, int id)
static swig_lua_const_info swig_uiContainer_Sf_SwigStatic_constants[]
static void * _p_uiDataNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
uiNode_t * UI_GetNode(const uiNode_t *node, const char *name)
Search a child node by given name.
Definition: ui_node.cpp:702
static int _wrap_UI_CreateData(lua_State *L)
static void swig_delete_uiBar(void *obj)
void UI_Button_SetIconByName(uiNode_t *node, const char *name)
static swig_type_info _swigt__p_uiOptionListNode_t
SWIGINTERN void uiImageNode_t_set_keepratio(uiImageNode_t *self, bool value)
static swig_lua_class * swig_uiSequence_bases[]
SWIGINTERN char * uiRadioButtonNode_t_as_string(uiRadioButtonNode_t *self)
static int _wrap_UI_CreateTextEntry(lua_State *L)
static swig_lua_const_info swig_uiModel_Sf_SwigStatic_constants[]
#define lua_rawsetp(L, index, ptr)
#define SWIG_fail_arg(func_name, argnum, type)
static swig_lua_method swig_cvar_meta[]
static swig_cast_info _swigc__p_LUA_FUNCTION[]
SWIGRUNTIME void SWIG_Lua_SetModule(lua_State *L, swig_module_info *module)
static swig_lua_attribute swig_uiSelectBox_Sf_SwigStatic_attributes[]
SWIGINTERN float uiNode_t_height(uiNode_t *self)
static int _wrap_uiOption_is_truncated(lua_State *L)
uiNode_t uiRadioButtonNode_t
SWIGINTERN bool uiNode_t_is_abstract(uiNode_t *self)
SWIGINTERN void uiSpinnerNode_t_set_topicon(uiSpinnerNode_t *self, char const *name)
static uiText2Node_t * UI_CreateText2(uiNode_t *parent, const char *name, const char *super)
static swig_lua_namespace swig_uiModel_Sf_SwigStatic
SWIGINTERN bool uiNode_t_is_function(uiNode_t *self)
#define SWIGTYPE_p_uiOptionListNode_t
void UI_RegisterHandler_OnLoad(LUA_FUNCTION fcn)
Register global lua callback function called after loading the module.
Definition: ui_lua.cpp:363
SWIGINTERN int uiTextNode_t_lineheight(uiTextNode_t *self)
static swig_lua_namespace swig_uiBaseInventory_Sf_SwigStatic
#define SWIG_ERROR
SWIGINTERN bool uiNode_t_is_ghost(uiNode_t *self)
#define SWIGTYPE_p_uiBaseLayoutNode_t
static int _wrap_uiModel_set_skin(lua_State *L)
static int _wrap_uiAbstractScrollableNode_moveend(lua_State *L)
static swig_lua_method swig_uiModel_meta[]
#define SWIGTYPE_p_uiTextNode_t
static uiOptionTreeNode_t * UI_CreateOptionTree(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiNode_t_set_bordersize(uiNode_t *self, int size)
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition: r_gl.h:110
static swig_type_info _swigt__p_uiBarNode_t
static swig_type_info _swigt__p_uiTBarNode_t
static int _wrap_uiWindow_set_starlayout(lua_State *L)
static int _wrap_uiBaseInventory_is_displayimplant(lua_State *L)
SWIGRUNTIME void SWIG_Lua_pusherrstring(lua_State *L, const char *str)
SWIGINTERN bool uiModelNode_t_is_mouserotate(uiModelNode_t *self)
static uiRadioButtonNode_t * UI_CreateRadioButton(uiNode_t *parent, const char *name, const char *super)
static int _wrap_UI_CreateRows(lua_State *L)
static const char * swig_uiData_base_names[]
static int _wrap_uiImage_set_texl(lua_State *L)
void UI_Option_SetValue(uiNode_t *node, const char *text)
static void * _p_uiBaseLayoutNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_invDef_methods[]
static swig_lua_class * swig_invDef_bases[]
static swig_lua_attribute swig_uiBar_Sf_SwigStatic_attributes[]
static int _wrap_new_uiBar(lua_State *L)
static uiVideoNode_t * UI_CreateVideo(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN int uiBaseInventoryNode_t_viewsize(uiBaseInventoryNode_t *self)
static int _proxy__wrap_new_uiBaseLayout(lua_State *L)
void UI_TBar_SetImage(uiNode_t *node, const char *name)
static swig_cast_info _swigc__p_uiDataNode_t[]
#define SWIG_LUA_CHAR
static swig_lua_const_info swig_uiOptionTree_Sf_SwigStatic_constants[]
SWIGINTERN void uiZoneNode_t_set_clickdelay(uiZoneNode_t *self, int value)
static swig_cast_info _swigc__p_panelLayout_t[]
static int _wrap_uiTextEntry_set_clickoutabort(lua_State *L)
SWIGINTERN float uiNode_t_width(uiNode_t *self)
SWIGINTERN void uiVideoNode_t_set_nosound(uiVideoNode_t *self, bool value)
static LUA_EVENT uiSequenceNode_t_lua_onEnd_get(uiSequenceNode_t *node)
static swig_cast_info _swigc__p_uiRadarNode_t[]
static swig_lua_attribute swig_uiTexture_Sf_SwigStatic_attributes[]
SWIGINTERN void uiAbstractScrollbarNode_t_set_viewsize(uiAbstractScrollbarNode_t *self, int size)
static swig_lua_method swig_uiText_meta[]
static int _wrap_UI_CreateModel(lua_State *L)
static int _wrap_uiAbstractValueNode_set_value__SWIG_0(lua_State *L)
static swig_lua_method swig_uiContainer_Sf_SwigStatic_methods[]
static void swig_delete_uiModel(void *obj)
static int _wrap_uiNode_set_ghost(lua_State *L)
static int _wrap_uiSpinner_set_background(lua_State *L)
static int _wrap_create_zone(lua_State *L)
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
static int _wrap_uiAbstractScrollableNode_movedown(lua_State *L)
SWIGINTERN void uiOptionNode_t_set_flipicion(uiOptionNode_t *self, bool value)
static void * _p_uiTextureNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_uiRadioButton_base_names[]
static void * _p_uiOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiOptionTree
static int _wrap_uiNode_on_visiblewhen_set(lua_State *L)
static int _wrap_uiNode_on_change_set(lua_State *L)
static swig_lua_method swig_uiOptionTree_Sf_SwigStatic_methods[]
SWIGINTERN void uiAbstractScrollableNode_t_set_fullsize(uiAbstractScrollableNode_t *self, int size)
static int _wrap_uiRows_set_current(lua_State *L)
static const char * swig_uiCheckBox_base_names[]
void UI_AddBehaviourMethod(uiBehaviour_t *behaviour, const char *name, LUA_METHOD fcn)
Adds a lua based method to the list of available behaviour methods for calling.
static int _wrap_create_optiontree(lua_State *L)
const char int mode
Definition: ioapi.h:41
SWIGINTERN char * uiModelNode_t_skin(uiModelNode_t *self)
struct swig_cast_info * next
static int _wrap_uiAbstractOptionNode_set_cvar(lua_State *L)
static int _wrap_uiNode_set_left(lua_State *L)
static const char * swig_uiSpinner_base_names[]
SWIGINTERN void uiWindowNode_t_set_closebutton(uiWindowNode_t *self, bool value)
SWIGINTERN float uiDataNode_t_as_float(uiDataNode_t *self)
#define SWIGTYPE_p_uiAbstractScrollbarNode_t
SWIGINTERN bool uiSpinnerNode_t_is_inverted(uiSpinnerNode_t *self)
static int _wrap_uiCheckBox_as_boolean(lua_State *L)
static int _wrap_uiImage_is_keepratio(lua_State *L)
static int _wrap_uiBaseInventory_fullsize(lua_State *L)
static swig_cast_info _swigc__p_uiAbstractOptionNode_t[]
static swig_lua_attribute swig_uiVScrollbar_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiAbstractOptionNode_methods[]
void UI_Model_SetModelSource(uiNode_t *node, const char *modelName)
static swig_lua_method swig_uiImage_Sf_SwigStatic_methods[]
static const char * swig_uiText_base_names[]
uiNode_t uiTextListNode_t
static uiTextListNode_t * UI_CreateTextList(uiNode_t *parent, const char *name, const char *super)
static swig_lua_class * swig_uiAbstractScrollableNode_Sf_SwigStatic_classes[]
static swig_cast_info _swigc__p_uiTimerNode_t[]
static int _wrap_nodepath(lua_State *L)
static swig_type_info _swigt__p_uiAbstractScrollableNode_t
bool UI_Node_IsGhost(uiNode_t const *node)
Definition: ui_node.cpp:414
static swig_lua_class * swig_uiAbstractScrollbarNode_Sf_SwigStatic_classes[]
static int _wrap_uiNode_text(lua_State *L)
SWIGINTERN void uiAbstractScrollableNode_t_movehome(uiAbstractScrollableNode_t *self)
static int _wrap_uiModel_angles(lua_State *L)
const char ** base_names
static int _wrap_uiPanel_is_wheelscrollable(lua_State *L)
SWIGRUNTIME swig_module_info * SWIG_Lua_GetModule(lua_State *L)
SWIGINTERN int uiPanelNode_t_layout(uiPanelNode_t *self)
static swig_lua_attribute swig_uiSequence_attributes[]
SWIGINTERN int uiTextNode_t_lineselected(uiTextNode_t *self)
static swig_lua_const_info swig_uiOption_Sf_SwigStatic_constants[]
#define SWIGTYPE_p_uiAbstractScrollableNode_t
void UI_PopWindow(bool all)
Pops a window from the window stack.
Definition: ui_windows.cpp:452
static int _wrap_uiRadioButton_set_value__SWIG_0(lua_State *L)
static int _proxy__wrap_new_uiOptionList(lua_State *L)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
#define SWIGTYPE_p_uiDataNode_t
static int _wrap_uiNode_is_abstract(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_viewsize(uiBaseInventoryNode_t *self, int size)
static swig_lua_method swig_uiLineChart_meta[]
SWIGINTERN void uiNode_t_delete_node(uiNode_t *self)
static swig_lua_attribute swig_uiPanel_attributes[]
static int _wrap_uiText_set_lineheight(lua_State *L)
uiNode_t uiLineChartNode_t
static int _wrap_uiText_set_longlines(lua_State *L)
static uiMessageListNode_t * UI_CreateMessageList(uiNode_t *parent, const char *name, const char *super)
static swig_lua_method swig_uiTimer_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiAbstractValueNode_Sf_SwigStatic_methods[]
#define SWIG_POINTER_DISOWN
static swig_lua_class * swig_uiVScrollbar_bases[]
static int _wrap_uiData_as_integer(lua_State *L)
static void swig_delete_invDef(void *obj)
void UI_AbstractValue_SetMax(uiNode_t *node, float max)
static swig_lua_const_info swig_uiAbstractValueNode_Sf_SwigStatic_constants[]
static int _wrap_uiRadioButton_set_background(lua_State *L)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty)
SWIGINTERN void uiNode_t_set_left(uiNode_t *self, float value)
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
static void * _p_uiItemNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiImageNode_t_set_source(uiImageNode_t *self, char const *name)
static swig_lua_method swig_uiSpinner_methods[]
static int _wrap_uiBaseInventory_set_displayavailableontop(lua_State *L)
SWIGINTERN float uiNode_t_flashspeed(uiNode_t *self)
bool UI_ClearLineChart(uiNode_t *node)
Clears all drawings froma lineChart.
#define SWIGTYPE_p_uiPanelNode_t
static int _wrap_create_model(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_viewpos(uiBaseInventoryNode_t *self, int pos)
SWIGINTERN char * uiModelNode_t_animation(uiModelNode_t *self)
SWIGINTERN void uiNode_t_set_color(uiNode_t *self, float r, float g, float b, float a)
static swig_lua_method swig_uiSequence_methods[]
SWIGINTERN void uiModelNode_t_set_mouserotate(uiModelNode_t *self, bool value)
static swig_cast_info _swigc__p_itemFilterTypes_t[]
static swig_lua_method swig_uiTextEntry_Sf_SwigStatic_methods[]
static swig_lua_namespace swig_uiItem_Sf_SwigStatic
swig_type_info * type
SWIGINTERN bool uiNode_t_is_disabled(uiNode_t *self)
SWIGINTERN void uiSpinnerNode_t_set_bottomicon(uiSpinnerNode_t *self, char const *name)
static int _wrap_UI_CreatePanel(lua_State *L)
static swig_lua_method swig_uiItem_meta[]
static int _wrap_uiSpinner_set_mode(lua_State *L)
int LUA_FUNCTION
callback signatures for functions defined in Lua
Definition: scripts_lua.h:45
static int _wrap_UI_CreateCheckBox(lua_State *L)
static int _wrap_uiAbstractValueNode_inc_value(lua_State *L)
static swig_lua_class * swig_SwigModule_classes[]
static swig_cast_info _swigc__p_uiAbstractScrollableNode_t[]
static int _proxy__wrap_new_uiAbstractScrollbarNode(lua_State *L)
SWIGINTERN int uiOptionNode_t_count(uiOptionNode_t *self)
static int _wrap_new_uiTextList(lua_State *L)
static swig_lua_const_info swig_uiAbstractScrollableNode_Sf_SwigStatic_constants[]
static swig_lua_const_info swig_uiZone_Sf_SwigStatic_constants[]
static swig_lua_method swig_uiText2_Sf_SwigStatic_methods[]
static int _wrap_invDef_name(lua_State *L)
static swig_lua_class * swig_uiVideo_Sf_SwigStatic_classes[]
static uiPanelNode_t * UI_CreatePanel(uiNode_t *parent, const char *name, const char *super)
static swig_type_info _swigt__p_uiButtonNode_t
SWIGINTERN void uiImageNode_t_set_mousefx(uiImageNode_t *self, bool value)
const char * UI_AbstractOption_GetCvar(uiNode_t *node)
static int _wrap_uiBaseInventory_is_displayammo(lua_State *L)
SWIGRUNTIME int SWIG_Lua_type(lua_State *L)
static const char * swig_uiTextEntry_base_names[]
static swig_lua_method swig_uiSelectBox_Sf_SwigStatic_methods[]
static uiBaseInventoryNode_t * UI_CreateBaseInventory(uiNode_t *parent, const char *name, const char *super)
uiNode_t uiImageNode_t
static swig_lua_attribute swig_uiOptionTree_Sf_SwigStatic_attributes[]
static int _wrap_new_uiModel(lua_State *L)
void UI_AbstractValue_SetMinCvar(uiNode_t *node, const char *min)
SWIGINTERN bool uiLineChartNode_t_is_showaxes(uiLineChartNode_t *self)
struct swig_lua_namespace ** ns_namespaces
#define SWIGTYPE_p_uiAbstractOptionNode_t
static swig_lua_namespace swig_uiTab_Sf_SwigStatic
static int _wrap_uiRadioButton_is_flipicon(lua_State *L)
static int _wrap_uiData_set_valuef(lua_State *L)
#define SWIG_init
uiNode_t uiAbstractOptionNode_t
static LUA_EVENT uiWindowNode_t_lua_onWindowOpened_get(uiWindowNode_t *node)
static int _wrap_uiAbstractScrollableNode_viewpos(lua_State *L)
bool UI_AddLineChartCoord(uiNode_t *node, const char *id, int x, int y)
Add a data point to a line chart.
SWIGINTERN int uiAbstractScrollableNode_t_viewsize(uiAbstractScrollableNode_t *self)
static int _proxy__wrap_new_uiRadioButton(lua_State *L)
static int _wrap_uiBaseInventory_on_viewchange_set(lua_State *L)
static swig_lua_class _wrap_class_uiTimer
static int _wrap_uiNode_is_function(lua_State *L)
static int _wrap_create_vscrollbar(lua_State *L)
static swig_lua_method swig_uiBar_methods[]
static swig_lua_class * swig_uiAbstractScrollableNode_bases[]
static int _wrap_uiNode_set_bordersize(lua_State *L)
static swig_lua_const_info swig_uiVideo_Sf_SwigStatic_constants[]
static swig_cast_info _swigc__p_invDef_t[]
#define SWIGTYPE_p_vec3_struct_t
static void swig_delete_uiPanel(void *obj)
static swig_lua_method swig_uiOptionList_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiLineChart_methods[]
static swig_lua_const_info swig_uiSequence_Sf_SwigStatic_constants[]
int UI_AbstractOption_Scroll_FullSize(uiNode_t *node)
static void * _p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiBaseInventory_Sf_SwigStatic_methods[]
static int _wrap_create_image(lua_State *L)
static int _wrap_uiNode_on_wheel_get(lua_State *L)
uiNode_t * firstChild
Definition: ui_nodes.h:89
SWIGINTERN bool uiNode_t_is_virtual(uiNode_t *self)
struct swig_cast_info * prev
struct swig_lua_class ** bases
static int _wrap_uiSpinner_set_horizontal(lua_State *L)
static swig_lua_class * swig_uiZone_bases[]
static swig_lua_const_info swig_uiRadar_Sf_SwigStatic_constants[]
static swig_lua_class _wrap_class_uiNode
static swig_lua_attribute swig_uiAbstractOptionNode_attributes[]
static swig_lua_method swig_uiContainer_methods[]
static void swig_delete_uiTexture(void *obj)
static swig_lua_attribute swig_uiTBar_attributes[]
SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self, bool value)
SWIGINTERN void uiTextEntryNode_t_focus(uiTextEntryNode_t *self)
static swig_lua_namespace swig_uiTextEntry_Sf_SwigStatic
static uiContainerNode_t * UI_CreateContainer(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiText_lineselected(lua_State *L)
static int _wrap_UI_CreateZone(lua_State *L)
static swig_lua_method swig_uiRadar_Sf_SwigStatic_methods[]
static swig_lua_class _wrap_class_uiLineChart
static int _wrap_uiSequence_lua_onEnd_set(lua_State *L)
static void * _p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_new_uiTBar(lua_State *L)
static int _wrap_uiNode_set_image(lua_State *L)
uiNode_t uiContainerNode_t
static swig_lua_class * swig_uiContainer_Sf_SwigStatic_classes[]
static void * _p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiText_bases[]
static swig_lua_class * swig_uiSequence_Sf_SwigStatic_classes[]
swig_cast_info ** cast_initial
static int _wrap_new_uiText(lua_State *L)
static int _wrap_new_uiGeoscape(lua_State *L)
static void swig_delete_uiNode(void *obj)
SWIGINTERN void uiRadioButtonNode_t_set_flipicon(uiRadioButtonNode_t *self, bool value)
void UI_AbstractOption_SetDataId(uiNode_t *node, int id)
static swig_cast_info _swigc__p_uiSelectBoxNode_t[]
cvar_t * Cvar_Set(const char *varName, const char *value,...)
Sets a cvar value.
Definition: cvar.cpp:615
SWIGRUNTIME void * SWIG_Lua_MustGetPtr(lua_State *L, int index, swig_type_info *type, int flags, int argnum, const char *func_name)
linkedList_t * Com_LuaTableToStringList(lua_State *L, int index)
Convert a lua table to a linkedList of character strings.
Definition: scripts_lua.cpp:36
#define SWIG_SetModule(clientdata, pointer)
static void swig_delete_uiOption(void *obj)
SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self, float r, float g, float b, float a)
static int _proxy__wrap_new_uiWidget(lua_State *L)
static int _wrap_uiWindow_set_modal(lua_State *L)
SWIGINTERN void uiNode_t_set_box(uiNode_t *self, float left, float top, float width, float height)
SWIGINTERN void uiButtonNode_t_set_icon(uiButtonNode_t *self, char const *name)
SWIGINTERN void uiLineChartNode_t_set_axescolor(uiLineChartNode_t *self, float r, float g, float b, float a)
static swig_cast_info _swigc__p_uiTextNode_t[]
SWIGINTERN void SWIG_Lua_AddMetatable(lua_State *L, swig_type_info *type)
static swig_type_info _swigt__p_uiTextNode_t
static int _wrap_uiLineChart_set_axescolor(lua_State *L)
static int _wrap_uiModel_animation(lua_State *L)
void(* destructor)(void *)
static swig_lua_namespace swig_uiTextList_Sf_SwigStatic
uiNode_t uiBaseLayoutNode_t
static void swig_delete_uiLineChart(void *obj)
static swig_lua_method swig_uiConFunc_methods[]
static int _wrap_UI_CreateSequence(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_first(uiNode_t *self)
static int _wrap_create_sequence(lua_State *L)
static int _wrap_uiTBar_texl(lua_State *L)
static int _wrap_uiNode_set_padding(lua_State *L)
static int _wrap_uiModel_is_mouserotate(lua_State *L)
static int _wrap_push_window(lua_State *L)
void UI_Model_SetTagSource(uiNode_t *node, const char *tagName)
SWIGINTERN char const * uiNode_t_name(uiNode_t *self)
static int _wrap_uiNode_is_ghost(lua_State *L)
static void * _p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_uiOptionTreeNode_t[]
static void * _p_uiTextListNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self, char const *text)
SWIGINTERN int uiNode_t_contentalign(uiNode_t *self)
static int _wrap_new_invDef(lua_State *L)
static swig_lua_method swig_uiTexture_Sf_SwigStatic_methods[]
SWIGINTERN int uiAbstractScrollbarNode_t_viewsize(uiAbstractScrollbarNode_t *self)
static swig_lua_attribute swig_uiRadar_Sf_SwigStatic_attributes[]
static int _wrap_uiSequence_is_playing(lua_State *L)
static int _proxy__wrap_new_uiVideo(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayavailableontop(uiBaseInventoryNode_t *self, bool value)
static int _wrap_uiAbstractScrollableNode_pagedown(lua_State *L)
static void * _p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiWindowNode_t_is_starlayout(uiWindowNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_1(uiAbstractValueNode_t *self, char const *min)
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN void uiSpinnerNode_t_set_mode(uiSpinnerNode_t *self, int mode)
bool UI_Node_IsFunction(uiNode_t const *node)
Definition: ui_node.cpp:85
static swig_lua_const_info swig_cvar_Sf_SwigStatic_constants[]
static int _wrap_getvar__SWIG_0(lua_State *L)
SWIGINTERN char const * uiAbstractOptionNode_t_cvar(uiAbstractOptionNode_t *self)
static int _wrap_uiSpinner_set_bottomicon(lua_State *L)
SWIGINTERN int uiTextNode_t_dataid(uiTextNode_t *self)
static swig_lua_const_info swig_uiString_Sf_SwigStatic_constants[]
static swig_lua_method swig_uiModel_Sf_SwigStatic_methods[]
static int _wrap_uiBaseInventory_is_displayunavailableammo(lua_State *L)
swig_type_info ** type_initial
static swig_lua_class * swig_uiAbstractOptionNode_Sf_SwigStatic_classes[]
static swig_type_info _swigt__p_uiVScrollBarNode_t
static int _wrap_create_button(lua_State *L)
SWIGINTERN int uiAbstractOptionNode_t_current(uiAbstractOptionNode_t *self)
static swig_type_info _swigt__p_uiSequenceNode_t
SWIGINTERN vec3_struct_t * uiModelNode_t_origin(uiModelNode_t *self)
static const char * swig_uiAbstractOptionNode_base_names[]
static LUA_EVENT uiTextEntryNode_t_lua_onTextEntryAbort_get(uiTextEntryNode_t *node)
static int _wrap_UI_CreateOption(lua_State *L)
static swig_lua_class * swig_uiOptionList_bases[]
SWIGINTERN void uiStringNode_t_set_longlines(uiStringNode_t *self, int value)
#define SWIG_init_user
static swig_lua_class * swig_uiAbstractScrollbarNode_bases[]
static swig_lua_class * swig_uiString_Sf_SwigStatic_classes[]
static int _wrap_findvar(lua_State *L)
static int _wrap_cvar_set_value__SWIG_1(lua_State *L)
static int _wrap_create_control(lua_State *L)
static swig_cast_info _swigc__p_uiNode_t[]
#define SWIGTYPE_p_uiVScrollBarNode_t
static int _wrap_create_bar(lua_State *L)
static int _wrap_create_option(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_background(uiAbstractOptionNode_t *self, char const *name)
static swig_lua_class * swig_uiTextEntry_bases[]
static swig_lua_method swig_uiButton_methods[]
SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self, bool value)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayammo(uiBaseInventoryNode_t *self)
SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self, char const *id, int x, int y)
static int _wrap_uiOption_set_value(lua_State *L)
uiNode_t uiModelNode_t
static swig_cast_info _swigc__p_uiTextEntryNode_t[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailable(uiBaseInventoryNode_t *self)
extradata for the model node
Definition: ui_node_model.h:63
static swig_cast_info * swig_cast_initial[]
static int _wrap_uiWindow_set_dropdown(lua_State *L)
static swig_lua_attribute swig_uiAbstractScrollableNode_Sf_SwigStatic_attributes[]
static int _wrap_new_uiAbstractOptionNode(lua_State *L)
SWIGRUNTIME int SWIG_Lua_class_equal(lua_State *L)
SWIGINTERN void SWIG_Lua_get_inheritable_metamethods(lua_State *L)
static int _wrap_uiSpinner_is_horizontal(lua_State *L)
static int _wrap_uiAbstractValueNode_value(lua_State *L)
void Cvar_SetValue(const char *varName, float value)
Expands value to a string and calls Cvar_Set.
Definition: cvar.cpp:671
SWIGINTERN bool uiTextEntryNode_t_is_clickoutabort(uiTextEntryNode_t *self)
SWIGINTERN void uiPanelNode_t_set_layoutcolumns(uiPanelNode_t *self, int value)
static int _wrap_new_uiZone(lua_State *L)
static swig_lua_attribute swig_uiContainer_Sf_SwigStatic_attributes[]
SWIGINTERN bool uiRadioButtonNode_t_is_flipicon(uiRadioButtonNode_t *self)
static int _wrap_uiOption_value(lua_State *L)
uiNode_t uiMessageListNode_t
static void * _p_uiSelectBoxNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
void UI_Node_SetTooltip(uiNode_t *node, const char *tooltip)
Definition: ui_node.cpp:401
static int _wrap_uiBaseInventory_viewsize(lua_State *L)
static swig_lua_class _wrap_class_uiWindow
static int _wrap_uiNode_font(lua_State *L)
SWIGINTERN void uiNode_t_set_height(uiNode_t *self, float value)
static void swig_delete_uiZone(void *obj)
static swig_lua_class _wrap_class_uiPanel
static int _proxy__wrap_new_uiContainer(lua_State *L)
static swig_lua_const_info swig_uiMessageList_Sf_SwigStatic_constants[]
SWIGINTERN bool uiBarNode_t_is_readonly(uiBarNode_t *self)
static int _wrap_uiPanel_layout(lua_State *L)
static int _wrap_new_uiSelectBox(lua_State *L)
static swig_type_info _swigt__p_linkedList_t
static int _wrap_uiNode_set_disabledcolor(lua_State *L)
static int _wrap_new_uiAbstractScrollbarNode(lua_State *L)
static uiVScrollBarNode_t * UI_CreateVScrollbar(uiNode_t *parent, const char *name, const char *super)
static swig_cast_info _swigc__p_uiStringNode_t[]
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
Definition: cvar.h:71
static void swig_delete_uiMessageList(void *obj)
cvar_t * Cvar_FindVar(const char *varName)
Searches for a cvar given by parameter.
Definition: cvar.cpp:106
static swig_lua_class * swig_uiVScrollbar_Sf_SwigStatic_classes[]
static int _wrap_UI_CreateWindow(lua_State *L)
SWIGINTERN float uiAbstractValueNode_t_shiftmultiplier(uiAbstractValueNode_t *self)
SWIGINTERN uiNode_t * uiNode_t_child(uiNode_t *self, char const *name)
static swig_lua_attribute swig_uiMessageList_attributes[]
#define SWIGTYPE_p_uiBarNode_t
SWIGINTERN void uiWindowNode_t_set_noticepos(uiWindowNode_t *self, float x, float y)
SWIGINTERN void uiPanelNode_t_set_background(uiPanelNode_t *self, char const *name)
static int _proxy__wrap_new_uiModel(lua_State *L)
static int _proxy__wrap_new_invDef(lua_State *L)
static swig_type_info _swigt__p_uiAbstractScrollbarNode_t
#define SWIGTYPE_p_invDef_t
static swig_type_info _swigt__p_uiItemNode_t
static int _wrap_uiModel_omega(lua_State *L)
static int _wrap_uiPanel_set_wheelscrollable(lua_State *L)
static swig_lua_method swig_uiOptionList_methods[]
static swig_lua_class _wrap_class_uiAbstractScrollableNode
uiNode_t uiDataNode_t
static int _wrap_uiAbstractOptionNode_set_viewsize(lua_State *L)
SWIGINTERN void SWIG_Lua_add_class_instance_details(lua_State *L, swig_lua_class *clss)
static int _wrap_uiCheckBox_set_iconunchecked(lua_State *L)
static swig_lua_class _wrap_class_uiRadar
#define SWIG_LUA_FLOAT
SWIGINTERN void uiAbstractScrollbarNode_t_set_autoshowscroll(uiAbstractScrollbarNode_t *self, bool value)
static void * _p_uiCheckBoxNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiAbstractScrollbarNode_t_is_autoshowscroll(uiAbstractScrollbarNode_t *self)
SWIGINTERN bool uiWindowNode_t_is_modal(uiWindowNode_t *self)
static swig_lua_class * swig_uiOption_bases[]
static int _wrap_uiAbstractValueNode_shiftmultiplier(lua_State *L)
static int _wrap_create_container(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_0(uiRadioButtonNode_t *self, char const *value)
static swig_cast_info _swigc__p_uiVideoNode_t[]
static swig_cast_info _swigc__p_uiSequenceNode_t[]
static swig_lua_attribute swig_uiWidget_attributes[]
void UI_TextNodeSelectLine(uiNode_t *node, int num)
Change the selected line.
static int _wrap_UI_CreateContainer(lua_State *L)
static void swig_delete_uiString(void *obj)
void UI_NodeSetSize(uiNode_t *node, vec2_t size)
Update the node size and fire the size callback.
Definition: ui_node.cpp:666
static const char * swig_uiPanel_base_names[]
static swig_lua_attribute swig_uiAbstractScrollableNode_attributes[]
static swig_lua_namespace swig_uiAbstractValueNode_Sf_SwigStatic
static int _wrap_uiButton_set_flipicon(lua_State *L)
void UI_Panel_SetBackgroundByName(uiNode_t *node, const char *name)
static int _wrap_uiTextEntry_cursorposition(lua_State *L)
bool UI_CheckBox_ValueAsBoolean(uiNode_t *node)
#define SWIGTYPE_p_uiTabNode_t
void UI_AbstractValue_SetShiftIncreaseFactor(uiNode_t *node, float factor)
static swig_type_info _swigt__p_uiOptionNode_t
SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss)
SWIGINTERN void uiModelNode_t_set_tag(uiModelNode_t *self, char const *name)
static swig_lua_class _wrap_class_uiTextEntry
static int _wrap_cvar_name(lua_State *L)
static swig_type_info _swigt__p_uiGeoscapeNode_t
static swig_type_info _swigt__p_uiAbstractOptionNode_t
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
static int _wrap_uiNode_on_activate_get(lua_State *L)
SWIGINTERN char const * uiNode_t_type(uiNode_t *self)
static swig_lua_method swig_uiWindow_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiNode_Sf_SwigStatic_methods[]
SWIGINTERN void uiSpinnerNode_t_set_horizontal(uiSpinnerNode_t *self, bool value)
SWIGINTERN int uiZoneNode_t_clickdelay(uiZoneNode_t *self)
static swig_lua_namespace swig_uiOptionTree_Sf_SwigStatic
static int _wrap_UI_CreateText2(lua_State *L)
static const char * swig_uiRows_base_names[]
SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self)
static swig_lua_namespace swig_uiSpinner_Sf_SwigStatic
swig_lua_attribute * attributes
static swig_lua_class * swig_cvar_bases[]
#define SWIG_Lua_add_boolean(L, n, b)
SWIGINTERN int SWIG_Lua_namespace_get(lua_State *L)
static swig_lua_class * swig_uiAbstractOptionNode_bases[]
#define SWIG_Lua_add_function(L, n, f)
static int _wrap_uiModel_set_angles(lua_State *L)
SWIGINTERN int uiStringNode_t_longlines(uiStringNode_t *self)
static swig_lua_attribute swig_uiNode_Sf_SwigStatic_attributes[]
SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self, float number)
static int _wrap_uiSequence_lua_onEnd_get(lua_State *L)
static int _wrap_uiBaseInventory_set_viewpos(lua_State *L)
void UI_AbstractValue_SetValueCvar(uiNode_t *node, const char *value)
SWIGINTERN void uiNode_t_set_image(uiNode_t *self, char const *name)
static void swig_delete_uiSequence(void *obj)
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
static uiOptionNode_t * UI_CreateOption(uiNode_t *parent, const char *name, const char *super)
static int _wrap_create_linechart(lua_State *L)
static swig_lua_method swig_uiTab_methods[]
SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L)
static swig_lua_method swig_uiTextList_Sf_SwigStatic_methods[]
static const char * swig_uiString_base_names[]
void UI_AbstractOption_SetCvar(uiNode_t *node, const char *name)
SWIGINTERN bool uiTextEntryNode_t_is_password(uiTextEntryNode_t *self)
static const char * swig_uiImage_base_names[]
SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self, float r, float g, float b, float a)
static swig_lua_method swig_uiText_methods[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayimplant(uiBaseInventoryNode_t *self)
static swig_type_info _swigt__p_uiPanelNode_t
static int _wrap_uiBar_direction(lua_State *L)
static int _wrap_new_uiTimer(lua_State *L)
static void * _p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiSpinner_bases[]
void UI_TextEntryNodeFocus(uiNode_t *node, const uiCallContext_t *context)
force edition of a textentry node
static int _wrap_uiVideo_is_nosound(lua_State *L)
static swig_lua_class * swig_uiVideo_bases[]
#define SWIGTYPE_p_uiTBarNode_t
#define SWIGTYPE_p_uiButtonNode_t
static swig_lua_const_info swig_uiAbstractOptionNode_Sf_SwigStatic_constants[]
static int _wrap_uiData_as_string(lua_State *L)
static swig_lua_class * swig_uiRows_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiAbstractScrollbarNode_methods[]
static LUA_EVENT uiVideoNode_t_lua_onEnd_get(uiVideoNode_t *node)
SWIGINTERN void uiPanelNode_t_set_layout(uiPanelNode_t *self, int value)
SWIGINTERN int SWIG_Lua_class_set(lua_State *L)
static int _proxy__wrap_new_uiSelectBox(lua_State *L)
int Com_LuaIsNilOrTable(lua_State *L, int index)
Definition: scripts_lua.cpp:29
static swig_lua_method swig_uiRows_methods[]
SWIGINTERN void uiNode_t_set_top(uiNode_t *self, float value)
SWIGINTERN void uiAbstractScrollableNode_t_set_viewpos(uiAbstractScrollableNode_t *self, int pos)
extradata for the panel node
static void * _p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_create_video(lua_State *L)
static const char * swig_uiRadar_base_names[]
static swig_type_info _swigt__p_uiTextListNode_t
static int _wrap_UI_CreateTBar(lua_State *L)
static void uiVideoNode_t_lua_onEnd_set(uiVideoNode_t *node, LUA_EVENT fn)
static int _wrap_UI_CreateImage(lua_State *L)
static swig_lua_method swig_uiMessageList_meta[]
static int _wrap_uiAbstractScrollableNode_set_viewsize(lua_State *L)
static int _proxy__wrap_new_uiNode(lua_State *L)
#define SWIGINTERN
static swig_lua_namespace swig_uiOption_Sf_SwigStatic
static swig_lua_class * swig_uiWidget_Sf_SwigStatic_classes[]
uiNode_t uiTextureNode_t
static int _wrap_new_uiText2(lua_State *L)
static int _wrap_create_radar(lua_State *L)
uiNode_t uiTimerNode_t
void UI_Spinner_SetBackgroundByName(uiNode_t *node, const char *name)
SWIGINTERN uiNode_t * uiNode_t_last(uiNode_t *self)
static swig_lua_namespace swig_uiOptionList_Sf_SwigStatic
static int _wrap_new_uiWidget(lua_State *L)
#define SWIGTYPE_p_uiImageNode_t
static swig_lua_method swig_uiTextEntry_methods[]
static swig_lua_method swig_uiBar_meta[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailableammo(uiBaseInventoryNode_t *self)
static int _wrap_uiLineChart_clear(lua_State *L)
#define SWIGTYPE_p_uiOptionNode_t
static int _wrap_uiAbstractValueNode_set_delta(lua_State *L)
static int _wrap_uiBaseInventory_is_displayweapon(lua_State *L)
static void * _p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_uiAbstractScrollableNode_base_names[]
SWIGINTERN int uiNode_t_padding(uiNode_t *self)
static swig_lua_attribute swig_uiSpinner_Sf_SwigStatic_attributes[]
void UI_AbstractValue_SetMaxCvar(uiNode_t *node, const char *max)
SWIGINTERN void uiBaseInventoryNode_t_set_fullsize(uiBaseInventoryNode_t *self, int size)
SWIGINTERN int uiBarNode_t_direction(uiBarNode_t *self)
static uiBarNode_t * UI_CreateBar(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiGeoscape_attributes[]
static swig_lua_attribute swig_uiZone_attributes[]