UFO: Alien Invasion
Doxygen documentation generating
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 /* Control GCC warnings (this is generated code) */
2775 #pragma GCC diagnostic ignored "-Wcast-qual"
2776 #pragma GCC diagnostic ignored "-Wformat-security"
2777 
2778 /* common client stuff */
2779 #include "../../../shared/shared.h"
2780 #include "../../../shared/vector.h"
2781 #include "../../../shared/ufotypes.h"
2782 #include "../../../common/cvar.h"
2783 #include "../../../common/scripts.h"
2784 #include "../../../common/scripts_lua.h"
2785 
2786 #include "../../cl_renderer.h"
2787 #include "../../cl_inventory.h"
2788 
2789 /* ui specific stuff */
2790 #include "../ui_behaviour.h"
2791 #include "../ui_data.h"
2792 #include "../ui_dataids.h"
2793 #include "../ui_node.h"
2794 #include "../ui_nodes.h"
2795 #include "../ui_main.h"
2796 #include "../ui_sprite.h"
2797 
2798 #include "../node/ui_node_abstractnode.h"
2799 #include "../node/ui_node_abstractoption.h"
2800 #include "../node/ui_node_abstractscrollable.h"
2801 #include "../node/ui_node_abstractscrollbar.h"
2802 #include "../node/ui_node_abstractvalue.h"
2803 
2804 #include "../node/ui_node_bar.h"
2805 #include "../node/ui_node_base.h"
2806 #include "../node/ui_node_baseinventory.h"
2807 #include "../node/ui_node_battlescape.h"
2808 #include "../node/ui_node_button.h"
2809 #include "../node/ui_node_checkbox.h"
2810 #include "../node/ui_node_container.h"
2811 #include "../node/ui_node_controls.h"
2812 #include "../node/ui_node_data.h"
2813 #include "../node/ui_node_geoscape.h"
2814 #include "../node/ui_node_image.h"
2815 #include "../node/ui_node_item.h"
2816 #include "../node/ui_node_linechart.h"
2817 #include "../node/ui_node_messagelist.h"
2818 #include "../node/ui_node_model.h"
2819 #include "../node/ui_node_option.h"
2820 #include "../node/ui_node_optionlist.h"
2821 #include "../node/ui_node_optiontree.h"
2822 #include "../node/ui_node_panel.h"
2823 #include "../node/ui_node_radar.h"
2824 #include "../node/ui_node_radiobutton.h"
2825 #include "../node/ui_node_rows.h"
2826 #include "../node/ui_node_selectbox.h"
2827 #include "../node/ui_node_sequence.h"
2828 #include "../node/ui_node_special.h"
2829 #include "../node/ui_node_spinner.h"
2830 #include "../node/ui_node_string.h"
2831 #include "../node/ui_node_tab.h"
2832 #include "../node/ui_node_tbar.h"
2833 #include "../node/ui_node_text.h"
2834 #include "../node/ui_node_text2.h"
2835 #include "../node/ui_node_textentry.h"
2836 #include "../node/ui_node_textlist.h"
2837 #include "../node/ui_node_texture.h"
2838 #include "../node/ui_node_timer.h"
2839 #include "../node/ui_node_video.h"
2840 #include "../node/ui_node_vscrollbar.h"
2841 #include "../node/ui_node_window.h"
2842 #include "../node/ui_node_zone.h"
2843 
2844 #include "../ui_lua.h"
2845 
2846 /* other game stuff */
2847 #include "../../../game/inv_shared.h"
2848 
2857 
2893 typedef uiNode_t uiWidgetNode_t; /* note: ufo class = "controls" */
2896 
2897 // skipped: uiFuncNode, uiNullNode
2898 
2903 void* UI_SWIG_TypeQuery (const char* name)
2904 {
2906  if (!info) {
2907  info = SWIG_TypeQuery("uiNode_t *");
2908  }
2909  return info;
2910 }
2911 
2915 const char* UI_SWIG_NodeTypeName (void* node)
2916 {
2917  swig_type_info* info = (swig_type_info*)((uiNode_t*)node)->behaviour->lua_SWIG_typeinfo;
2918  return info->str;
2919 }
2920 
2921 
2922 SWIGINTERN char *cvar_t_name(cvar_t *self){ return self->name; }
2923 SWIGINTERN char *cvar_t_as_string(cvar_t *self){ return self->string; }
2924 SWIGINTERN float cvar_t_as_float(cvar_t *self){ return self->value; }
2925 SWIGINTERN int cvar_t_as_integer(cvar_t *self){ return self->integer; }
2926 SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self,float number){ Cvar_SetValue(self->name, number); }
2927 
2928 SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) {
2929  int ret = lua_isstring(L, idx);
2930  if (!ret)
2931  ret = lua_isnil(L, idx);
2932  return ret;
2933 }
2934 
2935 SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self,char const *text){ Cvar_Set(self->name, "%s", text); }
2936 SWIGINTERN char *invDef_t_name(invDef_t *self){ return self->name; }
2945 SWIGINTERN float uiNode_t_left(uiNode_t *self){ return self->box.pos[0]; }
2946 SWIGINTERN float uiNode_t_top(uiNode_t *self){ return self->box.pos[1]; }
2947 SWIGINTERN float uiNode_t_width(uiNode_t *self){ return self->box.size[0]; }
2948 SWIGINTERN float uiNode_t_height(uiNode_t *self){ return self->box.size[1]; }
2949 SWIGINTERN int uiNode_t_bordersize(uiNode_t *self){ return self->border; }
2950 SWIGINTERN char const *uiNode_t_name(uiNode_t *self){ return self->name; }
2951 SWIGINTERN char const *uiNode_t_type(uiNode_t *self){ return self->behaviour->name; }
2952 SWIGINTERN char const *uiNode_t_text(uiNode_t *self){ return UI_Node_GetText(self); }
2953 SWIGINTERN char const *uiNode_t_font(uiNode_t *self){ return self->font; }
2954 SWIGINTERN char const *uiNode_t_image(uiNode_t *self){ return self->image; }
2955 SWIGINTERN int uiNode_t_contentalign(uiNode_t *self){ return self->contentAlign; }
2956 SWIGINTERN int uiNode_t_layoutalign(uiNode_t *self){ return self->align; }
2957 SWIGINTERN float uiNode_t_flashspeed(uiNode_t *self){ return self->flashSpeed; }
2958 SWIGINTERN int uiNode_t_padding(uiNode_t *self){ return self->padding; }
2964 SWIGINTERN uiNode_t *uiNode_t_child(uiNode_t *self,char const *name){ return UI_GetNode(self, name); }
2965 SWIGINTERN uiNode_t *uiNode_t_find(uiNode_t *self,char const *name){ return UI_FindNode(self, name); }
2967 SWIGINTERN void uiNode_t_insert_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_InsertNode(self, prev, node); }
2968 SWIGINTERN void uiNode_t_move_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_MoveNode(self, prev, node); }
2971 SWIGINTERN void uiNode_t_set_left(uiNode_t *self,float value){ UI_NodeSetBox(self, value, -1, -1, -1); }
2972 SWIGINTERN void uiNode_t_set_top(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, value, -1, -1); }
2973 SWIGINTERN void uiNode_t_set_width(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, value, -1); }
2974 SWIGINTERN void uiNode_t_set_height(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, -1, value); }
2975 SWIGINTERN void uiNode_t_set_box(uiNode_t *self,float left,float top,float width,float height){ UI_NodeSetBox(self, left, top, width, height); }
2976 SWIGINTERN void uiNode_t_set_flashing(uiNode_t *self,bool value){ self->flash = value; }
2977 SWIGINTERN void uiNode_t_set_flashspeed(uiNode_t *self,float value){ self->flashSpeed = value; }
2978 SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self,bool value){ self->invis = value; }
2979 SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self,bool value){ self->ghost = value; }
2980 SWIGINTERN void uiNode_t_set_pos(uiNode_t *self,float x,float y){ UI_NodeSetPos(self, x, y); }
2981 SWIGINTERN void uiNode_t_set_size(uiNode_t *self,float w,float h){ UI_NodeSetSize(self, w, h); }
2982 SWIGINTERN void uiNode_t_set_color(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->color, r, g, b, a); }
2983 SWIGINTERN void uiNode_t_set_disabledcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->disabledColor, r, g, b, a); }
2984 SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->flashColor, r, g, b, a); }
2985 SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->selectedColor, r, g, b, a); }
2986 SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bgcolor, r, g, b, a); }
2987 SWIGINTERN void uiNode_t_set_bordersize(uiNode_t *self,int size){ self->border = size; }
2988 SWIGINTERN void uiNode_t_set_bordercolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bordercolor, r, g, b, a); }
2989 SWIGINTERN void uiNode_t_set_text(uiNode_t *self,char const *text){ UI_Node_SetText(self, text); }
2990 SWIGINTERN void uiNode_t_set_font(uiNode_t *self,char const *name){ UI_Node_SetFont(self, name); }
2992 SWIGINTERN void uiNode_t_set_contentalign(uiNode_t *self,int value){ self->contentAlign = value; }
2993 SWIGINTERN void uiNode_t_set_layoutalign(uiNode_t *self,int value){ self->align = value; }
2994 SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self,char const *text){ UI_Node_SetTooltip(self, text); }
2995 SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self,bool value){ UI_Node_SetDisabled(self, value); }
2996 SWIGINTERN void uiNode_t_set_borderthickness(uiNode_t *self,int value){ self->border = value; }
2997 SWIGINTERN void uiNode_t_set_padding(uiNode_t *self,int value){ self->padding = value; }
2998 SWIGINTERN void uiNode_t___setitem(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_Node_SetItem(self, name, fcn); }
2999 SWIGINTERN LUA_METHOD uiNode_t___getitem(uiNode_t *self,char const *name){ LUA_METHOD fcn = UI_Node_GetItem(self, name); return fcn; }
3000 SWIGINTERN void uiNode_t_add_classmethod(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_AddBehaviourMethod(self->behaviour, name, fcn); }
3016 
3018  return UI_EXTRADATA(node, abstractOptionExtraData_t).lua_onViewChange;
3019 }
3021  UI_EXTRADATA(node, abstractOptionExtraData_t).lua_onViewChange = fn;
3022 }
3023 
3027 SWIGINTERN void uiAbstractScrollableNode_t_pageup(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->pageUp(self); }
3028 SWIGINTERN void uiAbstractScrollableNode_t_pagedown(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->pageDown(self); }
3029 SWIGINTERN void uiAbstractScrollableNode_t_moveup(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveUp(self); }
3030 SWIGINTERN void uiAbstractScrollableNode_t_movedown(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveDown(self); }
3031 SWIGINTERN void uiAbstractScrollableNode_t_movehome(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveHome(self); }
3032 SWIGINTERN void uiAbstractScrollableNode_t_moveend(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveEnd(self); }
3033 SWIGINTERN void uiAbstractScrollableNode_t_set_viewpos(uiAbstractScrollableNode_t *self,int pos){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, pos, -1, -1); }
3034 SWIGINTERN void uiAbstractScrollableNode_t_set_viewsize(uiAbstractScrollableNode_t *self,int size){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, -1, size, -1); }
3035 SWIGINTERN void uiAbstractScrollableNode_t_set_fullsize(uiAbstractScrollableNode_t *self,int size){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, -1, -1, size); }
3036 
3038  return UI_EXTRADATA(node, abstractScrollableExtraData_t).lua_onViewChange;
3039 }
3041  UI_EXTRADATA(node, abstractScrollableExtraData_t).lua_onViewChange = fn;
3042 }
3043 
3073 SWIGINTERN void uiBarNode_t_set_direction(uiBarNode_t *self,int value){ UI_EXTRADATA(self, barExtraData_t).orientation = (align_t)value; }
3074 SWIGINTERN void uiBarNode_t_set_readonly(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).readOnly = value; }
3075 SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).noHover = value; }
3079 SWIGINTERN void uiButtonNode_t_set_flipicon(uiButtonNode_t *self,bool value){ UI_EXTRADATA(self, buttonExtraData_t).flipIcon = value; }
3090 
3092  return UI_EXTRADATA(node, containerExtraData_t).lua_onSelect;
3093 }
3095  UI_EXTRADATA(node, containerExtraData_t).lua_onSelect = fn;
3096 }
3097 
3120 
3122 {
3123  return UI_EXTRADATA(node, baseInventoryExtraData_t).lua_onViewChange;
3124 }
3125 
3127 {
3128  UI_EXTRADATA(node, baseInventoryExtraData_t).lua_onViewChange = fn;
3129 }
3130 
3131 SWIGINTERN char *uiDataNode_t_as_string(uiDataNode_t *self){ return const_cast<char*>(UI_Node_GetText(self)); }
3134 SWIGINTERN void uiDataNode_t_set_value__SWIG_0(uiDataNode_t *self,char const *value){ UI_Node_SetText(self, value); }
3136 SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self,float value){ UI_EXTRADATA(self, dataExtraData_t).number = value; }
3138 SWIGINTERN void uiGeoscapeNode_t_set_paddingright(uiGeoscapeNode_t *self,int value){ UI_EXTRADATA(self, mapExtraData_t).paddingRight = value; }
3139 SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, false); }
3140 SWIGINTERN void uiGeoscapeNode_t_zoomout(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, true); }
3145 SWIGINTERN void uiImageNode_t_set_keepratio(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).preventRatio = value; }
3146 SWIGINTERN void uiImageNode_t_set_mousefx(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).mousefx = value; }
3148 SWIGINTERN void uiImageNode_t_set_texh(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texh, v1, v2); }
3149 SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texl, v1, v2); }
3152 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); }
3154 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){
3155  float color[] = {r, g, b, a};
3156  UI_AddLineChartLine(self, id, visible, color, dots, num_points);
3157  }
3158 SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self,char const *id,int x,int y){ UI_AddLineChartCoord(self, id, x, y); }
3165 SWIGINTERN char *uiModelNode_t_model(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).model); }
3166 SWIGINTERN char *uiModelNode_t_skin(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).skin); }
3167 SWIGINTERN char *uiModelNode_t_animation(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).animation); }
3168 SWIGINTERN char *uiModelNode_t_tag(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).tag); }
3169 SWIGINTERN void uiModelNode_t_set_autoscale(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).autoscale = value; }
3170 SWIGINTERN void uiModelNode_t_set_mouserotate(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).rotateWithMouse = value; }
3171 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); }
3172 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); }
3173 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); }
3174 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); }
3180 SWIGINTERN void uiItemNode_t_set_containerlike(uiItemNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).containerLike = value; }
3187 SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self,char const *text){ UI_Option_SetLabel (self, text); }
3188 SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self,char const *text){ UI_Option_SetValue (self, text); }
3189 SWIGINTERN void uiOptionNode_t_set_collapsed(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).collapsed = value; }
3191 SWIGINTERN void uiOptionNode_t_set_truncated(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).truncated = value; }
3199 SWIGINTERN void uiPanelNode_t_set_layoutmargin(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutMargin = value; }
3200 SWIGINTERN void uiPanelNode_t_set_layoutcolumns(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutColumns = value; }
3201 SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self,bool value){ UI_EXTRADATA(self, panelExtraData_t).wheelScrollable = value; }
3215 SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).current = value; }
3216 SWIGINTERN void uiRowsNode_t_set_lineheight(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).lineHeight = value; }
3219 
3221 {
3222  return UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd;
3223 }
3224 
3226 {
3227  UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd = fn;
3228 }
3229 
3244 SWIGINTERN void uiTBarNode_t_set_texh(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texh, v1, v2); }
3245 SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texl, v1, v2); }
3250 SWIGINTERN char *uiTextNode_t_textselected(uiTextNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, textExtraData_t).textSelected); }
3253 SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).longlines = value; }
3254 SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).lineHeight = value; }
3256 SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).tabWidth = value; }
3258 SWIGINTERN bool uiTextEntryNode_t_is_clickoutabort(uiTextEntryNode_t *self){return UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort; }
3259 SWIGINTERN int uiTextEntryNode_t_cursorposition(uiTextEntryNode_t *self){ return UI_EXTRADATA(self, textEntryExtraData_s).cursorPosition; }
3260 SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).isPassword = value; }
3261 SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort = value; }
3265 
3267 {
3268  return UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort;
3269 }
3270 
3272 {
3273  UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort = fn;
3274 }
3275 
3278 SWIGINTERN void uiTimerNode_t_set_timeout(uiTimerNode_t *self,int value){ UI_EXTRADATA(self, timerExtraData_t).timeOut = value; }
3279 
3281 {
3282  return UI_EXTRADATA(node, timerExtraData_t).lua_onEvent;
3283 }
3284 
3286 {
3287  UI_EXTRADATA(node, timerExtraData_t).lua_onEvent = fn;
3288 }
3289 
3291 SWIGINTERN void uiVideoNode_t_set_nosound(uiVideoNode_t *self,bool value){ UI_EXTRADATA(self, videoExtraData_t).nosound = value; }
3293 
3295 {
3296  return UI_EXTRADATA(node, videoExtraData_t).lua_onEnd;
3297 }
3298 
3300 {
3301  UI_EXTRADATA(node, videoExtraData_t).lua_onEnd = fn;
3302 }
3303 
3308 SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self){ UI_PushWindow(self->name, nullptr, nullptr); }
3310 SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).isFullScreen = value; }
3312 SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self,bool value){ dynamic_cast<uiWindowNode*>(self->behaviour->manager.get())->setFill(self, value); }
3315 SWIGINTERN void uiWindowNode_t_set_starlayout(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).starLayout = value; }
3316 SWIGINTERN void uiWindowNode_t_set_preventtypingescape(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).preventTypingEscape = value; }
3318 SWIGINTERN void uiWindowNode_t_set_dropdown(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).dropdown = value; }
3319 
3321  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened;
3322 }
3324  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened = fn;
3325 }
3327  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate;
3328 }
3330  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate = fn;
3331 }
3333  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed;
3334 }
3336  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed = fn;
3337 }
3338 
3341 SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self,bool value){ UI_EXTRADATA(self, zoneExtraData_t).repeat = value; }
3342 SWIGINTERN void uiZoneNode_t_set_clickdelay(uiZoneNode_t *self,int value){ UI_EXTRADATA(self, zoneExtraData_t).clickDelay = value; }
3343 
3344 static uiBarNode_t* UI_CreateBar (uiNode_t* parent, const char* name, const char* super) {
3345  return UI_CreateControl (parent, "bar", name, super);
3346 }
3347 static uiBaseLayoutNode_t* UI_CreateBaseLayout (uiNode_t* parent, const char* name, const char* super) {
3348  return UI_CreateControl (parent, "baselayout", name, super);
3349 }
3350 static uiBaseInventoryNode_t* UI_CreateBaseInventory (uiNode_t* parent, const char* name, const char* super) {
3351  return UI_CreateControl (parent, "baseinventory", name, super);
3352 }
3353 static uiButtonNode_t* UI_CreateButton (uiNode_t* parent, const char* name, const char* super) {
3354  return UI_CreateControl (parent, "button", name, super);
3355 }
3356 static uiCheckBoxNode_t* UI_CreateCheckBox (uiNode_t* parent, const char* name, const char* super) {
3357  return UI_CreateControl (parent, "checkbox", name, super);
3358 }
3359 static uiConFuncNode_t* UI_CreateConFunc (uiNode_t* parent, const char* name, const char* super) {
3360  return UI_CreateControl (parent, "confunc", name, super);
3361 }
3362 static uiContainerNode_t* UI_CreateContainer (uiNode_t* parent, const char* name, const char* super) {
3363  return UI_CreateControl (parent, "container", name, super);
3364 }
3365 static uiDataNode_t* UI_CreateData (uiNode_t* parent, const char* name, const char* super) {
3366  return UI_CreateControl (parent, "data", name, super);
3367 }
3368 static uiGeoscapeNode_t* UI_CreateGeoscape (uiNode_t* parent, const char* name, const char* super) {
3369  return UI_CreateControl (parent, "geoscape", name, super);
3370 }
3371 static uiImageNode_t* UI_CreateImage (uiNode_t* parent, const char* name, const char* super) {
3372  return UI_CreateControl (parent, "image", name, super);
3373 }
3374 static uiItemNode_t* UI_CreateItem (uiNode_t* parent, const char* name, const char* super) {
3375  return UI_CreateControl (parent, "item", name, super);
3376 }
3377 static uiLineChartNode_t* UI_CreateLineChart(uiNode_t* parent, const char* name, const char* super) {
3378  return UI_CreateControl (parent, "linechart", name, super);
3379 }
3380 static uiMessageListNode_t* UI_CreateMessageList (uiNode_t* parent, const char* name, const char* super) {
3381  return UI_CreateControl (parent, "messagelist", name, super);
3382 }
3383 static uiModelNode_t* UI_CreateModel (uiNode_t* parent, const char* name, const char* super) {
3384  return UI_CreateControl (parent, "model", name, super);
3385 }
3386 static uiOptionNode_t* UI_CreateOption (uiNode_t* parent, const char* name, const char* super) {
3387  return UI_CreateControl (parent, "option", name, super);
3388 }
3389 static uiOptionListNode_t* UI_CreateOptionList (uiNode_t* parent, const char* name, const char* super) {
3390  return UI_CreateControl (parent, "optionlist", name, super);
3391 }
3392 static uiOptionTreeNode_t* UI_CreateOptionTree (uiNode_t* parent, const char* name, const char* super) {
3393  return UI_CreateControl (parent, "optiontree", name, super);
3394 }
3395 static uiPanelNode_t* UI_CreatePanel (uiNode_t* parent, const char* name, const char* super) {
3396  return UI_CreateControl (parent, "panel", name, super);
3397 }
3398 static uiRadarNode_t* UI_CreateRadar (uiNode_t* parent, const char* name, const char* super) {
3399  return UI_CreateControl (parent, "radar", name, super);
3400 }
3401 static uiRadioButtonNode_t* UI_CreateRadioButton (uiNode_t* parent, const char* name, const char* super) {
3402  return UI_CreateControl (parent, "radiobutton", name, super);
3403 }
3404 static uiRowsNode_t* UI_CreateRows (uiNode_t* parent, const char* name, const char* super) {
3405  return UI_CreateControl (parent, "rows", name, super);
3406 }
3407 static uiSelectBoxNode_t* UI_CreateSelectBox (uiNode_t* parent, const char* name, const char* super) {
3408  return UI_CreateControl (parent, "selectbox", name, super);
3409 }
3410 static uiSequenceNode_t* UI_CreateSequence (uiNode_t* parent, const char* name, const char* super) {
3411  return UI_CreateControl (parent, "sequence", name, super);
3412 }
3413 static uiSpinnerNode_t* UI_CreateSpinner (uiNode_t* parent, const char* name, const char* super) {
3414  return UI_CreateControl (parent, "spinner", name, super);
3415 }
3416 static uiStringNode_t* UI_CreateString (uiNode_t* parent, const char* name, const char* super) {
3417  return UI_CreateControl (parent, "string", name, super);
3418 }
3419 static uiTabNode_t* UI_CreateTab (uiNode_t* parent, const char* name, const char* super) {
3420  return UI_CreateControl (parent, "tab", name, super);
3421 }
3422 static uiTBarNode_t* UI_CreateTBar (uiNode_t* parent, const char* name, const char* super) {
3423  return UI_CreateControl (parent, "tbar", name, super);
3424 }
3425 static uiTextNode_t* UI_CreateText (uiNode_t* parent, const char* name, const char* super) {
3426  return UI_CreateControl (parent, "text", name, super);
3427 }
3428 static uiText2Node_t* UI_CreateText2 (uiNode_t* parent, const char* name, const char* super) {
3429  return UI_CreateControl (parent, "text2", name, super);
3430 }
3431 static uiTextEntryNode_t* UI_CreateTextEntry (uiNode_t* parent, const char* name, const char* super) {
3432  return UI_CreateControl (parent, "textentry", name, super);
3433 }
3434 static uiTextListNode_t* UI_CreateTextList (uiNode_t* parent, const char* name, const char* super) {
3435  return UI_CreateControl (parent, "textlist", name, super);
3436 }
3437 static uiTextureNode_t* UI_CreateTexture (uiNode_t* parent, const char* name, const char* super) {
3438  return UI_CreateControl (parent, "texture", name, super);
3439 }
3440 static uiTimerNode_t* UI_CreateTimer (uiNode_t* parent, const char* name, const char* super) {
3441  return UI_CreateControl (parent, "timer", name, super);
3442 }
3443 static uiVideoNode_t* UI_CreateVideo (uiNode_t* parent, const char* name, const char* super) {
3444  return UI_CreateControl (parent, "video", name, super);
3445 }
3446 static uiVScrollBarNode_t* UI_CreateVScrollbar (uiNode_t* parent, const char* name, const char* super) {
3447  return UI_CreateControl (parent, "vscrollbar", name, super);
3448 }
3449 static uiWidgetNode_t* UI_CreateWidget (uiNode_t* parent, const char* name, const char* super) {
3450  return UI_CreateControl (parent, "controls", name, super);
3451 }
3452 static uiWindowNode_t* UI_CreateWindow (const char* name, const char* super) {
3453  return UI_CreateWindow("window", name, super);
3454 }
3455 static uiZoneNode_t* UI_CreateZone (uiNode_t* parent, const char* name, const char* super) {
3456  return UI_CreateControl (parent, "zone", name, super);
3457 }
3458 
3459 #ifdef __cplusplus
3460 extern "C" {
3461 #endif
3462 static int _wrap_cvar_name(lua_State* L) {
3463  int SWIG_arg = 0;
3464  cvar_t *arg1 = (cvar_t *) 0 ;
3465  char *result = 0 ;
3466 
3467  SWIG_check_num_args("cvar_t::name",1,1)
3468  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::name",1,"cvar_t *");
3469 
3470  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3471  SWIG_fail_ptr("cvar_name",1,SWIGTYPE_p_cvar_t);
3472  }
3473 
3474  result = (char *)cvar_t_name(arg1);
3475  lua_pushstring(L,(const char *)result); SWIG_arg++;
3476  return SWIG_arg;
3477 
3478  if(0) SWIG_fail;
3479 
3480 fail:
3481  lua_error(L);
3482  return SWIG_arg;
3483 }
3484 
3485 
3486 static int _wrap_cvar_as_string(lua_State* L) {
3487  int SWIG_arg = 0;
3488  cvar_t *arg1 = (cvar_t *) 0 ;
3489  char *result = 0 ;
3490 
3491  SWIG_check_num_args("cvar_t::as_string",1,1)
3492  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_string",1,"cvar_t *");
3493 
3494  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3495  SWIG_fail_ptr("cvar_as_string",1,SWIGTYPE_p_cvar_t);
3496  }
3497 
3498  result = (char *)cvar_t_as_string(arg1);
3499  lua_pushstring(L,(const char *)result); SWIG_arg++;
3500  return SWIG_arg;
3501 
3502  if(0) SWIG_fail;
3503 
3504 fail:
3505  lua_error(L);
3506  return SWIG_arg;
3507 }
3508 
3509 
3510 static int _wrap_cvar_as_float(lua_State* L) {
3511  int SWIG_arg = 0;
3512  cvar_t *arg1 = (cvar_t *) 0 ;
3513  float result;
3514 
3515  SWIG_check_num_args("cvar_t::as_float",1,1)
3516  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_float",1,"cvar_t *");
3517 
3518  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3519  SWIG_fail_ptr("cvar_as_float",1,SWIGTYPE_p_cvar_t);
3520  }
3521 
3522  result = (float)cvar_t_as_float(arg1);
3523  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3524  return SWIG_arg;
3525 
3526  if(0) SWIG_fail;
3527 
3528 fail:
3529  lua_error(L);
3530  return SWIG_arg;
3531 }
3532 
3533 
3534 static int _wrap_cvar_as_integer(lua_State* L) {
3535  int SWIG_arg = 0;
3536  cvar_t *arg1 = (cvar_t *) 0 ;
3537  int result;
3538 
3539  SWIG_check_num_args("cvar_t::as_integer",1,1)
3540  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_integer",1,"cvar_t *");
3541 
3542  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3543  SWIG_fail_ptr("cvar_as_integer",1,SWIGTYPE_p_cvar_t);
3544  }
3545 
3546  result = (int)cvar_t_as_integer(arg1);
3547  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3548  return SWIG_arg;
3549 
3550  if(0) SWIG_fail;
3551 
3552 fail:
3553  lua_error(L);
3554  return SWIG_arg;
3555 }
3556 
3557 
3558 static int _wrap_cvar_set_value__SWIG_0(lua_State* L) {
3559  int SWIG_arg = 0;
3560  cvar_t *arg1 = (cvar_t *) 0 ;
3561  float arg2 ;
3562 
3563  SWIG_check_num_args("cvar_t::set_value",2,2)
3564  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3565  if(!lua_isnumber(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"float");
3566 
3567  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3568  SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3569  }
3570 
3571  arg2 = (float)lua_tonumber(L, 2);
3572  cvar_t_set_value__SWIG_0(arg1,arg2);
3573 
3574  return SWIG_arg;
3575 
3576  if(0) SWIG_fail;
3577 
3578 fail:
3579  lua_error(L);
3580  return SWIG_arg;
3581 }
3582 
3583 
3584 static int _wrap_cvar_set_value__SWIG_1(lua_State* L) {
3585  int SWIG_arg = 0;
3586  cvar_t *arg1 = (cvar_t *) 0 ;
3587  char *arg2 = (char *) 0 ;
3588 
3589  SWIG_check_num_args("cvar_t::set_value",2,2)
3590  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3591  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"char const *");
3592 
3593  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3594  SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3595  }
3596 
3597  arg2 = (char *)lua_tostring(L, 2);
3598  cvar_t_set_value__SWIG_1(arg1,(char const *)arg2);
3599 
3600  return SWIG_arg;
3601 
3602  if(0) SWIG_fail;
3603 
3604 fail:
3605  lua_error(L);
3606  return SWIG_arg;
3607 }
3608 
3609 
3610 static int _wrap_cvar_set_value(lua_State* L) {
3611  int argc;
3612  int argv[3]={
3613  1,2,3
3614  };
3615 
3616  argc = lua_gettop(L);
3617  if (argc == 2) {
3618  int _v;
3619  {
3620  void *ptr;
3621  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3622  _v = 0;
3623  } else {
3624  _v = 1;
3625  }
3626  }
3627  if (_v) {
3628  {
3629  _v = lua_isnumber(L,argv[1]);
3630  }
3631  if (_v) {
3632  return _wrap_cvar_set_value__SWIG_0(L);
3633  }
3634  }
3635  }
3636  if (argc == 2) {
3637  int _v;
3638  {
3639  void *ptr;
3640  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3641  _v = 0;
3642  } else {
3643  _v = 1;
3644  }
3645  }
3646  if (_v) {
3647  {
3648  _v = SWIG_lua_isnilstring(L,argv[1]);
3649  }
3650  if (_v) {
3651  return _wrap_cvar_set_value__SWIG_1(L);
3652  }
3653  }
3654  }
3655 
3656  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'cvar_set_value'\n"
3657  " Possible C/C++ prototypes are:\n"
3658  " cvar_t::set_value(float)\n"
3659  " cvar_t::set_value(char const *)\n");
3660  lua_error(L);return 0;
3661 }
3662 
3663 
3664 static int _wrap_new_cvar(lua_State* L) {
3665  int SWIG_arg = 0;
3666  cvar_t *result = 0 ;
3667 
3668  SWIG_check_num_args("cvar_t::cvar_t",0,0)
3669  result = (cvar_t *)new cvar_t();
3670  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,1); SWIG_arg++;
3671  return SWIG_arg;
3672 
3673  if(0) SWIG_fail;
3674 
3675 fail:
3676  lua_error(L);
3677  return SWIG_arg;
3678 }
3679 
3680 
3681 static void swig_delete_cvar(void *obj) {
3682 cvar_t *arg1 = (cvar_t *) obj;
3683 delete arg1;
3684 }
3685 static int _proxy__wrap_new_cvar(lua_State *L) {
3686  assert(lua_istable(L,1));
3687  lua_pushcfunction(L,_wrap_new_cvar);
3688  assert(!lua_isnil(L,-1));
3689  lua_replace(L,1); /* replace our table with real constructor */
3690  lua_call(L,lua_gettop(L)-1,1);
3691  return 1;
3692 }
3694  {0,0,0}
3695 };
3697  { "name", _wrap_cvar_name},
3698  { "as_string", _wrap_cvar_as_string},
3699  { "as_float", _wrap_cvar_as_float},
3700  { "as_integer", _wrap_cvar_as_integer},
3701  { "set_value", _wrap_cvar_set_value},
3702  {0,0}
3703 };
3705  {0,0}
3706 };
3707 
3709  {0,0,0}
3710 };
3712  {0,0,0,0,0,0}
3713 };
3715  {0,0}
3716 };
3718  0
3719 };
3720 
3722  "cvar",
3727  0
3728 };
3730 static const char *swig_cvar_base_names[] = {0};
3732 
3733 static int _wrap_findvar(lua_State* L) {
3734  int SWIG_arg = 0;
3735  char *arg1 = (char *) 0 ;
3736  cvar_t *result = 0 ;
3737 
3738  SWIG_check_num_args("Cvar_FindVar",1,1)
3739  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_FindVar",1,"char const *");
3740  arg1 = (char *)lua_tostring(L, 1);
3741  result = (cvar_t *)Cvar_FindVar((char const *)arg1);
3742  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3743  return SWIG_arg;
3744 
3745  if(0) SWIG_fail;
3746 
3747 fail:
3748  lua_error(L);
3749  return SWIG_arg;
3750 }
3751 
3752 
3753 static int _wrap_getvar__SWIG_0(lua_State* L) {
3754  int SWIG_arg = 0;
3755  char *arg1 = (char *) 0 ;
3756  char *arg2 = (char *) 0 ;
3757  int arg3 ;
3758  char *arg4 = (char *) 0 ;
3759  cvar_t *result = 0 ;
3760 
3761  SWIG_check_num_args("Cvar_Get",4,4)
3762  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3763  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3764  if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3765  if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("Cvar_Get",4,"char const *");
3766  arg1 = (char *)lua_tostring(L, 1);
3767  arg2 = (char *)lua_tostring(L, 2);
3768  arg3 = (int)lua_tonumber(L, 3);
3769  arg4 = (char *)lua_tostring(L, 4);
3770  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
3771  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3772  return SWIG_arg;
3773 
3774  if(0) SWIG_fail;
3775 
3776 fail:
3777  lua_error(L);
3778  return SWIG_arg;
3779 }
3780 
3781 
3782 static int _wrap_getvar__SWIG_1(lua_State* L) {
3783  int SWIG_arg = 0;
3784  char *arg1 = (char *) 0 ;
3785  char *arg2 = (char *) 0 ;
3786  int arg3 ;
3787  cvar_t *result = 0 ;
3788 
3789  SWIG_check_num_args("Cvar_Get",3,3)
3790  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3791  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3792  if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3793  arg1 = (char *)lua_tostring(L, 1);
3794  arg2 = (char *)lua_tostring(L, 2);
3795  arg3 = (int)lua_tonumber(L, 3);
3796  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3);
3797  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3798  return SWIG_arg;
3799 
3800  if(0) SWIG_fail;
3801 
3802 fail:
3803  lua_error(L);
3804  return SWIG_arg;
3805 }
3806 
3807 
3808 static int _wrap_getvar__SWIG_2(lua_State* L) {
3809  int SWIG_arg = 0;
3810  char *arg1 = (char *) 0 ;
3811  char *arg2 = (char *) 0 ;
3812  cvar_t *result = 0 ;
3813 
3814  SWIG_check_num_args("Cvar_Get",2,2)
3815  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3816  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3817  arg1 = (char *)lua_tostring(L, 1);
3818  arg2 = (char *)lua_tostring(L, 2);
3819  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2);
3820  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3821  return SWIG_arg;
3822 
3823  if(0) SWIG_fail;
3824 
3825 fail:
3826  lua_error(L);
3827  return SWIG_arg;
3828 }
3829 
3830 
3831 static int _wrap_getvar__SWIG_3(lua_State* L) {
3832  int SWIG_arg = 0;
3833  char *arg1 = (char *) 0 ;
3834  cvar_t *result = 0 ;
3835 
3836  SWIG_check_num_args("Cvar_Get",1,1)
3837  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3838  arg1 = (char *)lua_tostring(L, 1);
3839  result = (cvar_t *)Cvar_Get((char const *)arg1);
3840  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3841  return SWIG_arg;
3842 
3843  if(0) SWIG_fail;
3844 
3845 fail:
3846  lua_error(L);
3847  return SWIG_arg;
3848 }
3849 
3850 
3851 static int _wrap_getvar(lua_State* L) {
3852  int argc;
3853  int argv[5]={
3854  1,2,3,4,5
3855  };
3856 
3857  argc = lua_gettop(L);
3858  if (argc == 1) {
3859  int _v;
3860  {
3861  _v = SWIG_lua_isnilstring(L,argv[0]);
3862  }
3863  if (_v) {
3864  return _wrap_getvar__SWIG_3(L);
3865  }
3866  }
3867  if (argc == 2) {
3868  int _v;
3869  {
3870  _v = SWIG_lua_isnilstring(L,argv[0]);
3871  }
3872  if (_v) {
3873  {
3874  _v = SWIG_lua_isnilstring(L,argv[1]);
3875  }
3876  if (_v) {
3877  return _wrap_getvar__SWIG_2(L);
3878  }
3879  }
3880  }
3881  if (argc == 3) {
3882  int _v;
3883  {
3884  _v = SWIG_lua_isnilstring(L,argv[0]);
3885  }
3886  if (_v) {
3887  {
3888  _v = SWIG_lua_isnilstring(L,argv[1]);
3889  }
3890  if (_v) {
3891  {
3892  _v = lua_isnumber(L,argv[2]);
3893  }
3894  if (_v) {
3895  return _wrap_getvar__SWIG_1(L);
3896  }
3897  }
3898  }
3899  }
3900  if (argc == 4) {
3901  int _v;
3902  {
3903  _v = SWIG_lua_isnilstring(L,argv[0]);
3904  }
3905  if (_v) {
3906  {
3907  _v = SWIG_lua_isnilstring(L,argv[1]);
3908  }
3909  if (_v) {
3910  {
3911  _v = lua_isnumber(L,argv[2]);
3912  }
3913  if (_v) {
3914  {
3915  _v = SWIG_lua_isnilstring(L,argv[3]);
3916  }
3917  if (_v) {
3918  return _wrap_getvar__SWIG_0(L);
3919  }
3920  }
3921  }
3922  }
3923  }
3924 
3925  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'getvar'\n"
3926  " Possible C/C++ prototypes are:\n"
3927  " Cvar_Get(char const *,char const *,int,char const *)\n"
3928  " Cvar_Get(char const *,char const *,int)\n"
3929  " Cvar_Get(char const *,char const *)\n"
3930  " Cvar_Get(char const *)\n");
3931  lua_error(L);return 0;
3932 }
3933 
3934 
3935 static int _wrap_delvar(lua_State* L) {
3936  int SWIG_arg = 0;
3937  char *arg1 = (char *) 0 ;
3938  bool result;
3939 
3940  SWIG_check_num_args("Cvar_Delete",1,1)
3941  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Delete",1,"char const *");
3942  arg1 = (char *)lua_tostring(L, 1);
3943  result = (bool)Cvar_Delete((char const *)arg1);
3944  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
3945  return SWIG_arg;
3946 
3947  if(0) SWIG_fail;
3948 
3949 fail:
3950  lua_error(L);
3951  return SWIG_arg;
3952 }
3953 
3954 
3955 static int _wrap_invDef_name(lua_State* L) {
3956  int SWIG_arg = 0;
3957  invDef_t *arg1 = (invDef_t *) 0 ;
3958  char *result = 0 ;
3959 
3960  SWIG_check_num_args("invDef_t::name",1,1)
3961  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("invDef_t::name",1,"invDef_t *");
3962 
3963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_invDef_t,0))){
3964  SWIG_fail_ptr("invDef_name",1,SWIGTYPE_p_invDef_t);
3965  }
3966 
3967  result = (char *)invDef_t_name(arg1);
3968  lua_pushstring(L,(const char *)result); SWIG_arg++;
3969  return SWIG_arg;
3970 
3971  if(0) SWIG_fail;
3972 
3973 fail:
3974  lua_error(L);
3975  return SWIG_arg;
3976 }
3977 
3978 
3979 static int _wrap_new_invDef(lua_State* L) {
3980  int SWIG_arg = 0;
3981  invDef_t *result = 0 ;
3982 
3983  SWIG_check_num_args("invDef_t::invDef_t",0,0)
3984  result = (invDef_t *)new invDef_t();
3985  SWIG_NewPointerObj(L,result,SWIGTYPE_p_invDef_t,1); SWIG_arg++;
3986  return SWIG_arg;
3987 
3988  if(0) SWIG_fail;
3989 
3990 fail:
3991  lua_error(L);
3992  return SWIG_arg;
3993 }
3994 
3995 
3996 static void swig_delete_invDef(void *obj) {
3997 invDef_t *arg1 = (invDef_t *) obj;
3998 delete arg1;
3999 }
4000 static int _proxy__wrap_new_invDef(lua_State *L) {
4001  assert(lua_istable(L,1));
4002  lua_pushcfunction(L,_wrap_new_invDef);
4003  assert(!lua_isnil(L,-1));
4004  lua_replace(L,1); /* replace our table with real constructor */
4005  lua_call(L,lua_gettop(L)-1,1);
4006  return 1;
4007 }
4009  {0,0,0}
4010 };
4012  { "name", _wrap_invDef_name},
4013  {0,0}
4014 };
4016  {0,0}
4017 };
4018 
4020  {0,0,0}
4021 };
4023  {0,0,0,0,0,0}
4024 };
4026  {0,0}
4027 };
4029  0
4030 };
4031 
4033  "invDef",
4038  0
4039 };
4041 static const char *swig_invDef_base_names[] = {0};
4043 
4044 static int _wrap_uiNode_on_click_set(lua_State* L) {
4045  int SWIG_arg = 0;
4046  uiNode_t *arg1 = (uiNode_t *) 0 ;
4047  LUA_EVENT arg2 ;
4048 
4049  SWIG_check_num_args("uiNode_t::lua_onClick",2,2)
4050  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4051 
4052  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4053  SWIG_fail_ptr("uiNode_on_click_set",1,SWIGTYPE_p_uiNode_t);
4054  }
4055 
4056  {
4057  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4058  }
4059  if (arg1) (arg1)->lua_onClick = arg2;
4060 
4061  return SWIG_arg;
4062 
4063  if(0) SWIG_fail;
4064 
4065 fail:
4066  lua_error(L);
4067  return SWIG_arg;
4068 }
4069 
4070 
4071 static int _wrap_uiNode_on_click_get(lua_State* L) {
4072  int SWIG_arg = 0;
4073  uiNode_t *arg1 = (uiNode_t *) 0 ;
4074  LUA_EVENT result;
4075 
4076  SWIG_check_num_args("uiNode_t::lua_onClick",1,1)
4077  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4078 
4079  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4080  SWIG_fail_ptr("uiNode_on_click_get",1,SWIGTYPE_p_uiNode_t);
4081  }
4082 
4083  result = ((arg1)->lua_onClick);
4084  {
4085  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4086  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4087  }
4088  return SWIG_arg;
4089 
4090  if(0) SWIG_fail;
4091 
4092 fail:
4093  lua_error(L);
4094  return SWIG_arg;
4095 }
4096 
4097 
4098 static int _wrap_uiNode_on_rightclick_set(lua_State* L) {
4099  int SWIG_arg = 0;
4100  uiNode_t *arg1 = (uiNode_t *) 0 ;
4101  LUA_EVENT arg2 ;
4102 
4103  SWIG_check_num_args("uiNode_t::lua_onRightClick",2,2)
4104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4105 
4106  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4107  SWIG_fail_ptr("uiNode_on_rightclick_set",1,SWIGTYPE_p_uiNode_t);
4108  }
4109 
4110  {
4111  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4112  }
4113  if (arg1) (arg1)->lua_onRightClick = arg2;
4114 
4115  return SWIG_arg;
4116 
4117  if(0) SWIG_fail;
4118 
4119 fail:
4120  lua_error(L);
4121  return SWIG_arg;
4122 }
4123 
4124 
4125 static int _wrap_uiNode_on_rightclick_get(lua_State* L) {
4126  int SWIG_arg = 0;
4127  uiNode_t *arg1 = (uiNode_t *) 0 ;
4128  LUA_EVENT result;
4129 
4130  SWIG_check_num_args("uiNode_t::lua_onRightClick",1,1)
4131  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4132 
4133  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4134  SWIG_fail_ptr("uiNode_on_rightclick_get",1,SWIGTYPE_p_uiNode_t);
4135  }
4136 
4137  result = ((arg1)->lua_onRightClick);
4138  {
4139  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4140  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4141  }
4142  return SWIG_arg;
4143 
4144  if(0) SWIG_fail;
4145 
4146 fail:
4147  lua_error(L);
4148  return SWIG_arg;
4149 }
4150 
4151 
4152 static int _wrap_uiNode_on_middleclick_set(lua_State* L) {
4153  int SWIG_arg = 0;
4154  uiNode_t *arg1 = (uiNode_t *) 0 ;
4155  LUA_EVENT arg2 ;
4156 
4157  SWIG_check_num_args("uiNode_t::lua_onMiddleClick",2,2)
4158  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4159 
4160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4161  SWIG_fail_ptr("uiNode_on_middleclick_set",1,SWIGTYPE_p_uiNode_t);
4162  }
4163 
4164  {
4165  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4166  }
4167  if (arg1) (arg1)->lua_onMiddleClick = arg2;
4168 
4169  return SWIG_arg;
4170 
4171  if(0) SWIG_fail;
4172 
4173 fail:
4174  lua_error(L);
4175  return SWIG_arg;
4176 }
4177 
4178 
4179 static int _wrap_uiNode_on_middleclick_get(lua_State* L) {
4180  int SWIG_arg = 0;
4181  uiNode_t *arg1 = (uiNode_t *) 0 ;
4182  LUA_EVENT result;
4183 
4184  SWIG_check_num_args("uiNode_t::lua_onMiddleClick",1,1)
4185  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4186 
4187  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4188  SWIG_fail_ptr("uiNode_on_middleclick_get",1,SWIGTYPE_p_uiNode_t);
4189  }
4190 
4191  result = ((arg1)->lua_onMiddleClick);
4192  {
4193  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4194  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4195  }
4196  return SWIG_arg;
4197 
4198  if(0) SWIG_fail;
4199 
4200 fail:
4201  lua_error(L);
4202  return SWIG_arg;
4203 }
4204 
4205 
4206 static int _wrap_uiNode_on_wheelup_set(lua_State* L) {
4207  int SWIG_arg = 0;
4208  uiNode_t *arg1 = (uiNode_t *) 0 ;
4209  LUA_EVENT arg2 ;
4210 
4211  SWIG_check_num_args("uiNode_t::lua_onWheelUp",2,2)
4212  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4213 
4214  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4215  SWIG_fail_ptr("uiNode_on_wheelup_set",1,SWIGTYPE_p_uiNode_t);
4216  }
4217 
4218  {
4219  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4220  }
4221  if (arg1) (arg1)->lua_onWheelUp = arg2;
4222 
4223  return SWIG_arg;
4224 
4225  if(0) SWIG_fail;
4226 
4227 fail:
4228  lua_error(L);
4229  return SWIG_arg;
4230 }
4231 
4232 
4233 static int _wrap_uiNode_on_wheelup_get(lua_State* L) {
4234  int SWIG_arg = 0;
4235  uiNode_t *arg1 = (uiNode_t *) 0 ;
4236  LUA_EVENT result;
4237 
4238  SWIG_check_num_args("uiNode_t::lua_onWheelUp",1,1)
4239  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4240 
4241  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4242  SWIG_fail_ptr("uiNode_on_wheelup_get",1,SWIGTYPE_p_uiNode_t);
4243  }
4244 
4245  result = ((arg1)->lua_onWheelUp);
4246  {
4247  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4248  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4249  }
4250  return SWIG_arg;
4251 
4252  if(0) SWIG_fail;
4253 
4254 fail:
4255  lua_error(L);
4256  return SWIG_arg;
4257 }
4258 
4259 
4260 static int _wrap_uiNode_on_wheeldown_set(lua_State* L) {
4261  int SWIG_arg = 0;
4262  uiNode_t *arg1 = (uiNode_t *) 0 ;
4263  LUA_EVENT arg2 ;
4264 
4265  SWIG_check_num_args("uiNode_t::lua_onWheelDown",2,2)
4266  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4267 
4268  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4269  SWIG_fail_ptr("uiNode_on_wheeldown_set",1,SWIGTYPE_p_uiNode_t);
4270  }
4271 
4272  {
4273  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4274  }
4275  if (arg1) (arg1)->lua_onWheelDown = arg2;
4276 
4277  return SWIG_arg;
4278 
4279  if(0) SWIG_fail;
4280 
4281 fail:
4282  lua_error(L);
4283  return SWIG_arg;
4284 }
4285 
4286 
4287 static int _wrap_uiNode_on_wheeldown_get(lua_State* L) {
4288  int SWIG_arg = 0;
4289  uiNode_t *arg1 = (uiNode_t *) 0 ;
4290  LUA_EVENT result;
4291 
4292  SWIG_check_num_args("uiNode_t::lua_onWheelDown",1,1)
4293  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4294 
4295  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4296  SWIG_fail_ptr("uiNode_on_wheeldown_get",1,SWIGTYPE_p_uiNode_t);
4297  }
4298 
4299  result = ((arg1)->lua_onWheelDown);
4300  {
4301  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4302  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4303  }
4304  return SWIG_arg;
4305 
4306  if(0) SWIG_fail;
4307 
4308 fail:
4309  lua_error(L);
4310  return SWIG_arg;
4311 }
4312 
4313 
4314 static int _wrap_uiNode_on_wheel_set(lua_State* L) {
4315  int SWIG_arg = 0;
4316  uiNode_t *arg1 = (uiNode_t *) 0 ;
4317  LUA_EVENT arg2 ;
4318 
4319  SWIG_check_num_args("uiNode_t::lua_onWheel",2,2)
4320  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4321 
4322  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4323  SWIG_fail_ptr("uiNode_on_wheel_set",1,SWIGTYPE_p_uiNode_t);
4324  }
4325 
4326  {
4327  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4328  }
4329  if (arg1) (arg1)->lua_onWheel = arg2;
4330 
4331  return SWIG_arg;
4332 
4333  if(0) SWIG_fail;
4334 
4335 fail:
4336  lua_error(L);
4337  return SWIG_arg;
4338 }
4339 
4340 
4341 static int _wrap_uiNode_on_wheel_get(lua_State* L) {
4342  int SWIG_arg = 0;
4343  uiNode_t *arg1 = (uiNode_t *) 0 ;
4344  LUA_EVENT result;
4345 
4346  SWIG_check_num_args("uiNode_t::lua_onWheel",1,1)
4347  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4348 
4349  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4350  SWIG_fail_ptr("uiNode_on_wheel_get",1,SWIGTYPE_p_uiNode_t);
4351  }
4352 
4353  result = ((arg1)->lua_onWheel);
4354  {
4355  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4356  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4357  }
4358  return SWIG_arg;
4359 
4360  if(0) SWIG_fail;
4361 
4362 fail:
4363  lua_error(L);
4364  return SWIG_arg;
4365 }
4366 
4367 
4368 static int _wrap_uiNode_on_focusgained_set(lua_State* L) {
4369  int SWIG_arg = 0;
4370  uiNode_t *arg1 = (uiNode_t *) 0 ;
4371  LUA_EVENT arg2 ;
4372 
4373  SWIG_check_num_args("uiNode_t::lua_onFocusGained",2,2)
4374  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4375 
4376  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4377  SWIG_fail_ptr("uiNode_on_focusgained_set",1,SWIGTYPE_p_uiNode_t);
4378  }
4379 
4380  {
4381  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4382  }
4383  if (arg1) (arg1)->lua_onFocusGained = arg2;
4384 
4385  return SWIG_arg;
4386 
4387  if(0) SWIG_fail;
4388 
4389 fail:
4390  lua_error(L);
4391  return SWIG_arg;
4392 }
4393 
4394 
4395 static int _wrap_uiNode_on_focusgained_get(lua_State* L) {
4396  int SWIG_arg = 0;
4397  uiNode_t *arg1 = (uiNode_t *) 0 ;
4398  LUA_EVENT result;
4399 
4400  SWIG_check_num_args("uiNode_t::lua_onFocusGained",1,1)
4401  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4402 
4403  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4404  SWIG_fail_ptr("uiNode_on_focusgained_get",1,SWIGTYPE_p_uiNode_t);
4405  }
4406 
4407  result = ((arg1)->lua_onFocusGained);
4408  {
4409  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4410  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4411  }
4412  return SWIG_arg;
4413 
4414  if(0) SWIG_fail;
4415 
4416 fail:
4417  lua_error(L);
4418  return SWIG_arg;
4419 }
4420 
4421 
4422 static int _wrap_uiNode_on_focuslost_set(lua_State* L) {
4423  int SWIG_arg = 0;
4424  uiNode_t *arg1 = (uiNode_t *) 0 ;
4425  LUA_EVENT arg2 ;
4426 
4427  SWIG_check_num_args("uiNode_t::lua_onFocusLost",2,2)
4428  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4429 
4430  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4431  SWIG_fail_ptr("uiNode_on_focuslost_set",1,SWIGTYPE_p_uiNode_t);
4432  }
4433 
4434  {
4435  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4436  }
4437  if (arg1) (arg1)->lua_onFocusLost = arg2;
4438 
4439  return SWIG_arg;
4440 
4441  if(0) SWIG_fail;
4442 
4443 fail:
4444  lua_error(L);
4445  return SWIG_arg;
4446 }
4447 
4448 
4449 static int _wrap_uiNode_on_focuslost_get(lua_State* L) {
4450  int SWIG_arg = 0;
4451  uiNode_t *arg1 = (uiNode_t *) 0 ;
4452  LUA_EVENT result;
4453 
4454  SWIG_check_num_args("uiNode_t::lua_onFocusLost",1,1)
4455  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4456 
4457  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4458  SWIG_fail_ptr("uiNode_on_focuslost_get",1,SWIGTYPE_p_uiNode_t);
4459  }
4460 
4461  result = ((arg1)->lua_onFocusLost);
4462  {
4463  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4464  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4465  }
4466  return SWIG_arg;
4467 
4468  if(0) SWIG_fail;
4469 
4470 fail:
4471  lua_error(L);
4472  return SWIG_arg;
4473 }
4474 
4475 
4476 static int _wrap_uiNode_on_keypressed_set(lua_State* L) {
4477  int SWIG_arg = 0;
4478  uiNode_t *arg1 = (uiNode_t *) 0 ;
4479  LUA_EVENT arg2 ;
4480 
4481  SWIG_check_num_args("uiNode_t::lua_onKeyPressed",2,2)
4482  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4483 
4484  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4485  SWIG_fail_ptr("uiNode_on_keypressed_set",1,SWIGTYPE_p_uiNode_t);
4486  }
4487 
4488  {
4489  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4490  }
4491  if (arg1) (arg1)->lua_onKeyPressed = arg2;
4492 
4493  return SWIG_arg;
4494 
4495  if(0) SWIG_fail;
4496 
4497 fail:
4498  lua_error(L);
4499  return SWIG_arg;
4500 }
4501 
4502 
4503 static int _wrap_uiNode_on_keypressed_get(lua_State* L) {
4504  int SWIG_arg = 0;
4505  uiNode_t *arg1 = (uiNode_t *) 0 ;
4506  LUA_EVENT result;
4507 
4508  SWIG_check_num_args("uiNode_t::lua_onKeyPressed",1,1)
4509  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4510 
4511  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4512  SWIG_fail_ptr("uiNode_on_keypressed_get",1,SWIGTYPE_p_uiNode_t);
4513  }
4514 
4515  result = ((arg1)->lua_onKeyPressed);
4516  {
4517  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4518  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4519  }
4520  return SWIG_arg;
4521 
4522  if(0) SWIG_fail;
4523 
4524 fail:
4525  lua_error(L);
4526  return SWIG_arg;
4527 }
4528 
4529 
4530 static int _wrap_uiNode_on_keyreleased_set(lua_State* L) {
4531  int SWIG_arg = 0;
4532  uiNode_t *arg1 = (uiNode_t *) 0 ;
4533  LUA_EVENT arg2 ;
4534 
4535  SWIG_check_num_args("uiNode_t::lua_onKeyReleased",2,2)
4536  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4537 
4538  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4539  SWIG_fail_ptr("uiNode_on_keyreleased_set",1,SWIGTYPE_p_uiNode_t);
4540  }
4541 
4542  {
4543  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4544  }
4545  if (arg1) (arg1)->lua_onKeyReleased = arg2;
4546 
4547  return SWIG_arg;
4548 
4549  if(0) SWIG_fail;
4550 
4551 fail:
4552  lua_error(L);
4553  return SWIG_arg;
4554 }
4555 
4556 
4557 static int _wrap_uiNode_on_keyreleased_get(lua_State* L) {
4558  int SWIG_arg = 0;
4559  uiNode_t *arg1 = (uiNode_t *) 0 ;
4560  LUA_EVENT result;
4561 
4562  SWIG_check_num_args("uiNode_t::lua_onKeyReleased",1,1)
4563  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4564 
4565  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4566  SWIG_fail_ptr("uiNode_on_keyreleased_get",1,SWIGTYPE_p_uiNode_t);
4567  }
4568 
4569  result = ((arg1)->lua_onKeyReleased);
4570  {
4571  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4572  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4573  }
4574  return SWIG_arg;
4575 
4576  if(0) SWIG_fail;
4577 
4578 fail:
4579  lua_error(L);
4580  return SWIG_arg;
4581 }
4582 
4583 
4584 static int _wrap_uiNode_on_loaded_set(lua_State* L) {
4585  int SWIG_arg = 0;
4586  uiNode_t *arg1 = (uiNode_t *) 0 ;
4587  LUA_EVENT arg2 ;
4588 
4589  SWIG_check_num_args("uiNode_t::lua_onLoaded",2,2)
4590  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4591 
4592  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4593  SWIG_fail_ptr("uiNode_on_loaded_set",1,SWIGTYPE_p_uiNode_t);
4594  }
4595 
4596  {
4597  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4598  }
4599  if (arg1) (arg1)->lua_onLoaded = arg2;
4600 
4601  return SWIG_arg;
4602 
4603  if(0) SWIG_fail;
4604 
4605 fail:
4606  lua_error(L);
4607  return SWIG_arg;
4608 }
4609 
4610 
4611 static int _wrap_uiNode_on_loaded_get(lua_State* L) {
4612  int SWIG_arg = 0;
4613  uiNode_t *arg1 = (uiNode_t *) 0 ;
4614  LUA_EVENT result;
4615 
4616  SWIG_check_num_args("uiNode_t::lua_onLoaded",1,1)
4617  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4618 
4619  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4620  SWIG_fail_ptr("uiNode_on_loaded_get",1,SWIGTYPE_p_uiNode_t);
4621  }
4622 
4623  result = ((arg1)->lua_onLoaded);
4624  {
4625  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4626  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4627  }
4628  return SWIG_arg;
4629 
4630  if(0) SWIG_fail;
4631 
4632 fail:
4633  lua_error(L);
4634  return SWIG_arg;
4635 }
4636 
4637 
4638 static int _wrap_uiNode_on_activate_set(lua_State* L) {
4639  int SWIG_arg = 0;
4640  uiNode_t *arg1 = (uiNode_t *) 0 ;
4641  LUA_EVENT arg2 ;
4642 
4643  SWIG_check_num_args("uiNode_t::lua_onActivate",2,2)
4644  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4645 
4646  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4647  SWIG_fail_ptr("uiNode_on_activate_set",1,SWIGTYPE_p_uiNode_t);
4648  }
4649 
4650  {
4651  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4652  }
4653  if (arg1) (arg1)->lua_onActivate = arg2;
4654 
4655  return SWIG_arg;
4656 
4657  if(0) SWIG_fail;
4658 
4659 fail:
4660  lua_error(L);
4661  return SWIG_arg;
4662 }
4663 
4664 
4665 static int _wrap_uiNode_on_activate_get(lua_State* L) {
4666  int SWIG_arg = 0;
4667  uiNode_t *arg1 = (uiNode_t *) 0 ;
4668  LUA_EVENT result;
4669 
4670  SWIG_check_num_args("uiNode_t::lua_onActivate",1,1)
4671  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4672 
4673  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4674  SWIG_fail_ptr("uiNode_on_activate_get",1,SWIGTYPE_p_uiNode_t);
4675  }
4676 
4677  result = ((arg1)->lua_onActivate);
4678  {
4679  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4680  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4681  }
4682  return SWIG_arg;
4683 
4684  if(0) SWIG_fail;
4685 
4686 fail:
4687  lua_error(L);
4688  return SWIG_arg;
4689 }
4690 
4691 
4692 static int _wrap_uiNode_on_mouseenter_set(lua_State* L) {
4693  int SWIG_arg = 0;
4694  uiNode_t *arg1 = (uiNode_t *) 0 ;
4695  LUA_EVENT arg2 ;
4696 
4697  SWIG_check_num_args("uiNode_t::lua_onMouseEnter",2,2)
4698  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4699 
4700  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4701  SWIG_fail_ptr("uiNode_on_mouseenter_set",1,SWIGTYPE_p_uiNode_t);
4702  }
4703 
4704  {
4705  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4706  }
4707  if (arg1) (arg1)->lua_onMouseEnter = arg2;
4708 
4709  return SWIG_arg;
4710 
4711  if(0) SWIG_fail;
4712 
4713 fail:
4714  lua_error(L);
4715  return SWIG_arg;
4716 }
4717 
4718 
4719 static int _wrap_uiNode_on_mouseenter_get(lua_State* L) {
4720  int SWIG_arg = 0;
4721  uiNode_t *arg1 = (uiNode_t *) 0 ;
4722  LUA_EVENT result;
4723 
4724  SWIG_check_num_args("uiNode_t::lua_onMouseEnter",1,1)
4725  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4726 
4727  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4728  SWIG_fail_ptr("uiNode_on_mouseenter_get",1,SWIGTYPE_p_uiNode_t);
4729  }
4730 
4731  result = ((arg1)->lua_onMouseEnter);
4732  {
4733  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4734  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4735  }
4736  return SWIG_arg;
4737 
4738  if(0) SWIG_fail;
4739 
4740 fail:
4741  lua_error(L);
4742  return SWIG_arg;
4743 }
4744 
4745 
4746 static int _wrap_uiNode_on_mouseleave_set(lua_State* L) {
4747  int SWIG_arg = 0;
4748  uiNode_t *arg1 = (uiNode_t *) 0 ;
4749  LUA_EVENT arg2 ;
4750 
4751  SWIG_check_num_args("uiNode_t::lua_onMouseLeave",2,2)
4752  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4753 
4754  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4755  SWIG_fail_ptr("uiNode_on_mouseleave_set",1,SWIGTYPE_p_uiNode_t);
4756  }
4757 
4758  {
4759  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4760  }
4761  if (arg1) (arg1)->lua_onMouseLeave = arg2;
4762 
4763  return SWIG_arg;
4764 
4765  if(0) SWIG_fail;
4766 
4767 fail:
4768  lua_error(L);
4769  return SWIG_arg;
4770 }
4771 
4772 
4773 static int _wrap_uiNode_on_mouseleave_get(lua_State* L) {
4774  int SWIG_arg = 0;
4775  uiNode_t *arg1 = (uiNode_t *) 0 ;
4776  LUA_EVENT result;
4777 
4778  SWIG_check_num_args("uiNode_t::lua_onMouseLeave",1,1)
4779  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4780 
4781  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4782  SWIG_fail_ptr("uiNode_on_mouseleave_get",1,SWIGTYPE_p_uiNode_t);
4783  }
4784 
4785  result = ((arg1)->lua_onMouseLeave);
4786  {
4787  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4788  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4789  }
4790  return SWIG_arg;
4791 
4792  if(0) SWIG_fail;
4793 
4794 fail:
4795  lua_error(L);
4796  return SWIG_arg;
4797 }
4798 
4799 
4800 static int _wrap_uiNode_on_change_set(lua_State* L) {
4801  int SWIG_arg = 0;
4802  uiNode_t *arg1 = (uiNode_t *) 0 ;
4803  LUA_EVENT arg2 ;
4804 
4805  SWIG_check_num_args("uiNode_t::lua_onChange",2,2)
4806  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4807 
4808  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4809  SWIG_fail_ptr("uiNode_on_change_set",1,SWIGTYPE_p_uiNode_t);
4810  }
4811 
4812  {
4813  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4814  }
4815  if (arg1) (arg1)->lua_onChange = arg2;
4816 
4817  return SWIG_arg;
4818 
4819  if(0) SWIG_fail;
4820 
4821 fail:
4822  lua_error(L);
4823  return SWIG_arg;
4824 }
4825 
4826 
4827 static int _wrap_uiNode_on_change_get(lua_State* L) {
4828  int SWIG_arg = 0;
4829  uiNode_t *arg1 = (uiNode_t *) 0 ;
4830  LUA_EVENT result;
4831 
4832  SWIG_check_num_args("uiNode_t::lua_onChange",1,1)
4833  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4834 
4835  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4836  SWIG_fail_ptr("uiNode_on_change_get",1,SWIGTYPE_p_uiNode_t);
4837  }
4838 
4839  result = ((arg1)->lua_onChange);
4840  {
4841  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4842  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4843  }
4844  return SWIG_arg;
4845 
4846  if(0) SWIG_fail;
4847 
4848 fail:
4849  lua_error(L);
4850  return SWIG_arg;
4851 }
4852 
4853 
4854 static int _wrap_uiNode_on_visiblewhen_set(lua_State* L) {
4855  int SWIG_arg = 0;
4856  uiNode_t *arg1 = (uiNode_t *) 0 ;
4857  LUA_EVENT arg2 ;
4858 
4859  SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",2,2)
4860  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4861 
4862  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4863  SWIG_fail_ptr("uiNode_on_visiblewhen_set",1,SWIGTYPE_p_uiNode_t);
4864  }
4865 
4866  {
4867  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4868  }
4869  if (arg1) (arg1)->lua_onVisibleWhen = arg2;
4870 
4871  return SWIG_arg;
4872 
4873  if(0) SWIG_fail;
4874 
4875 fail:
4876  lua_error(L);
4877  return SWIG_arg;
4878 }
4879 
4880 
4881 static int _wrap_uiNode_on_visiblewhen_get(lua_State* L) {
4882  int SWIG_arg = 0;
4883  uiNode_t *arg1 = (uiNode_t *) 0 ;
4884  LUA_EVENT result;
4885 
4886  SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",1,1)
4887  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4888 
4889  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4890  SWIG_fail_ptr("uiNode_on_visiblewhen_get",1,SWIGTYPE_p_uiNode_t);
4891  }
4892 
4893  result = ((arg1)->lua_onVisibleWhen);
4894  {
4895  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4896  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4897  }
4898  return SWIG_arg;
4899 
4900  if(0) SWIG_fail;
4901 
4902 fail:
4903  lua_error(L);
4904  return SWIG_arg;
4905 }
4906 
4907 
4908 static int _wrap_uiNode_is_window(lua_State* L) {
4909  int SWIG_arg = 0;
4910  uiNode_t *arg1 = (uiNode_t *) 0 ;
4911  bool result;
4912 
4913  SWIG_check_num_args("uiNode_t::is_window",1,1)
4914  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_window",1,"uiNode_t *");
4915 
4916  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4917  SWIG_fail_ptr("uiNode_is_window",1,SWIGTYPE_p_uiNode_t);
4918  }
4919 
4920  result = (bool)uiNode_t_is_window(arg1);
4921  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4922  return SWIG_arg;
4923 
4924  if(0) SWIG_fail;
4925 
4926 fail:
4927  lua_error(L);
4928  return SWIG_arg;
4929 }
4930 
4931 
4932 static int _wrap_uiNode_is_disabled(lua_State* L) {
4933  int SWIG_arg = 0;
4934  uiNode_t *arg1 = (uiNode_t *) 0 ;
4935  bool result;
4936 
4937  SWIG_check_num_args("uiNode_t::is_disabled",1,1)
4938  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_disabled",1,"uiNode_t *");
4939 
4940  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4941  SWIG_fail_ptr("uiNode_is_disabled",1,SWIGTYPE_p_uiNode_t);
4942  }
4943 
4944  result = (bool)uiNode_t_is_disabled(arg1);
4945  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4946  return SWIG_arg;
4947 
4948  if(0) SWIG_fail;
4949 
4950 fail:
4951  lua_error(L);
4952  return SWIG_arg;
4953 }
4954 
4955 
4956 static int _wrap_uiNode_is_invisible(lua_State* L) {
4957  int SWIG_arg = 0;
4958  uiNode_t *arg1 = (uiNode_t *) 0 ;
4959  bool result;
4960 
4961  SWIG_check_num_args("uiNode_t::is_invisible",1,1)
4962  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_invisible",1,"uiNode_t *");
4963 
4964  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4965  SWIG_fail_ptr("uiNode_is_invisible",1,SWIGTYPE_p_uiNode_t);
4966  }
4967 
4968  result = (bool)uiNode_t_is_invisible(arg1);
4969  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4970  return SWIG_arg;
4971 
4972  if(0) SWIG_fail;
4973 
4974 fail:
4975  lua_error(L);
4976  return SWIG_arg;
4977 }
4978 
4979 
4980 static int _wrap_uiNode_is_ghost(lua_State* L) {
4981  int SWIG_arg = 0;
4982  uiNode_t *arg1 = (uiNode_t *) 0 ;
4983  bool result;
4984 
4985  SWIG_check_num_args("uiNode_t::is_ghost",1,1)
4986  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_ghost",1,"uiNode_t *");
4987 
4988  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4989  SWIG_fail_ptr("uiNode_is_ghost",1,SWIGTYPE_p_uiNode_t);
4990  }
4991 
4992  result = (bool)uiNode_t_is_ghost(arg1);
4993  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4994  return SWIG_arg;
4995 
4996  if(0) SWIG_fail;
4997 
4998 fail:
4999  lua_error(L);
5000  return SWIG_arg;
5001 }
5002 
5003 
5004 static int _wrap_uiNode_is_flashing(lua_State* L) {
5005  int SWIG_arg = 0;
5006  uiNode_t *arg1 = (uiNode_t *) 0 ;
5007  bool result;
5008 
5009  SWIG_check_num_args("uiNode_t::is_flashing",1,1)
5010  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_flashing",1,"uiNode_t *");
5011 
5012  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5013  SWIG_fail_ptr("uiNode_is_flashing",1,SWIGTYPE_p_uiNode_t);
5014  }
5015 
5016  result = (bool)uiNode_t_is_flashing(arg1);
5017  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5018  return SWIG_arg;
5019 
5020  if(0) SWIG_fail;
5021 
5022 fail:
5023  lua_error(L);
5024  return SWIG_arg;
5025 }
5026 
5027 
5028 static int _wrap_uiNode_is_function(lua_State* L) {
5029  int SWIG_arg = 0;
5030  uiNode_t *arg1 = (uiNode_t *) 0 ;
5031  bool result;
5032 
5033  SWIG_check_num_args("uiNode_t::is_function",1,1)
5034  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_function",1,"uiNode_t *");
5035 
5036  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5037  SWIG_fail_ptr("uiNode_is_function",1,SWIGTYPE_p_uiNode_t);
5038  }
5039 
5040  result = (bool)uiNode_t_is_function(arg1);
5041  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5042  return SWIG_arg;
5043 
5044  if(0) SWIG_fail;
5045 
5046 fail:
5047  lua_error(L);
5048  return SWIG_arg;
5049 }
5050 
5051 
5052 static int _wrap_uiNode_is_virtual(lua_State* L) {
5053  int SWIG_arg = 0;
5054  uiNode_t *arg1 = (uiNode_t *) 0 ;
5055  bool result;
5056 
5057  SWIG_check_num_args("uiNode_t::is_virtual",1,1)
5058  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_virtual",1,"uiNode_t *");
5059 
5060  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5061  SWIG_fail_ptr("uiNode_is_virtual",1,SWIGTYPE_p_uiNode_t);
5062  }
5063 
5064  result = (bool)uiNode_t_is_virtual(arg1);
5065  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5066  return SWIG_arg;
5067 
5068  if(0) SWIG_fail;
5069 
5070 fail:
5071  lua_error(L);
5072  return SWIG_arg;
5073 }
5074 
5075 
5076 static int _wrap_uiNode_is_abstract(lua_State* L) {
5077  int SWIG_arg = 0;
5078  uiNode_t *arg1 = (uiNode_t *) 0 ;
5079  bool result;
5080 
5081  SWIG_check_num_args("uiNode_t::is_abstract",1,1)
5082  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_abstract",1,"uiNode_t *");
5083 
5084  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5085  SWIG_fail_ptr("uiNode_is_abstract",1,SWIGTYPE_p_uiNode_t);
5086  }
5087 
5088  result = (bool)uiNode_t_is_abstract(arg1);
5089  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5090  return SWIG_arg;
5091 
5092  if(0) SWIG_fail;
5093 
5094 fail:
5095  lua_error(L);
5096  return SWIG_arg;
5097 }
5098 
5099 
5100 static int _wrap_uiNode_left(lua_State* L) {
5101  int SWIG_arg = 0;
5102  uiNode_t *arg1 = (uiNode_t *) 0 ;
5103  float result;
5104 
5105  SWIG_check_num_args("uiNode_t::left",1,1)
5106  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::left",1,"uiNode_t *");
5107 
5108  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5109  SWIG_fail_ptr("uiNode_left",1,SWIGTYPE_p_uiNode_t);
5110  }
5111 
5112  result = (float)uiNode_t_left(arg1);
5113  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5114  return SWIG_arg;
5115 
5116  if(0) SWIG_fail;
5117 
5118 fail:
5119  lua_error(L);
5120  return SWIG_arg;
5121 }
5122 
5123 
5124 static int _wrap_uiNode_top(lua_State* L) {
5125  int SWIG_arg = 0;
5126  uiNode_t *arg1 = (uiNode_t *) 0 ;
5127  float result;
5128 
5129  SWIG_check_num_args("uiNode_t::top",1,1)
5130  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::top",1,"uiNode_t *");
5131 
5132  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5133  SWIG_fail_ptr("uiNode_top",1,SWIGTYPE_p_uiNode_t);
5134  }
5135 
5136  result = (float)uiNode_t_top(arg1);
5137  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5138  return SWIG_arg;
5139 
5140  if(0) SWIG_fail;
5141 
5142 fail:
5143  lua_error(L);
5144  return SWIG_arg;
5145 }
5146 
5147 
5148 static int _wrap_uiNode_width(lua_State* L) {
5149  int SWIG_arg = 0;
5150  uiNode_t *arg1 = (uiNode_t *) 0 ;
5151  float result;
5152 
5153  SWIG_check_num_args("uiNode_t::width",1,1)
5154  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::width",1,"uiNode_t *");
5155 
5156  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5157  SWIG_fail_ptr("uiNode_width",1,SWIGTYPE_p_uiNode_t);
5158  }
5159 
5160  result = (float)uiNode_t_width(arg1);
5161  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5162  return SWIG_arg;
5163 
5164  if(0) SWIG_fail;
5165 
5166 fail:
5167  lua_error(L);
5168  return SWIG_arg;
5169 }
5170 
5171 
5172 static int _wrap_uiNode_height(lua_State* L) {
5173  int SWIG_arg = 0;
5174  uiNode_t *arg1 = (uiNode_t *) 0 ;
5175  float result;
5176 
5177  SWIG_check_num_args("uiNode_t::height",1,1)
5178  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::height",1,"uiNode_t *");
5179 
5180  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5181  SWIG_fail_ptr("uiNode_height",1,SWIGTYPE_p_uiNode_t);
5182  }
5183 
5184  result = (float)uiNode_t_height(arg1);
5185  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5186  return SWIG_arg;
5187 
5188  if(0) SWIG_fail;
5189 
5190 fail:
5191  lua_error(L);
5192  return SWIG_arg;
5193 }
5194 
5195 
5196 static int _wrap_uiNode_bordersize(lua_State* L) {
5197  int SWIG_arg = 0;
5198  uiNode_t *arg1 = (uiNode_t *) 0 ;
5199  int result;
5200 
5201  SWIG_check_num_args("uiNode_t::bordersize",1,1)
5202  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::bordersize",1,"uiNode_t *");
5203 
5204  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5205  SWIG_fail_ptr("uiNode_bordersize",1,SWIGTYPE_p_uiNode_t);
5206  }
5207 
5208  result = (int)uiNode_t_bordersize(arg1);
5209  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5210  return SWIG_arg;
5211 
5212  if(0) SWIG_fail;
5213 
5214 fail:
5215  lua_error(L);
5216  return SWIG_arg;
5217 }
5218 
5219 
5220 static int _wrap_uiNode_name(lua_State* L) {
5221  int SWIG_arg = 0;
5222  uiNode_t *arg1 = (uiNode_t *) 0 ;
5223  char *result = 0 ;
5224 
5225  SWIG_check_num_args("uiNode_t::name",1,1)
5226  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::name",1,"uiNode_t *");
5227 
5228  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5229  SWIG_fail_ptr("uiNode_name",1,SWIGTYPE_p_uiNode_t);
5230  }
5231 
5232  result = (char *)uiNode_t_name(arg1);
5233  lua_pushstring(L,(const char *)result); SWIG_arg++;
5234  return SWIG_arg;
5235 
5236  if(0) SWIG_fail;
5237 
5238 fail:
5239  lua_error(L);
5240  return SWIG_arg;
5241 }
5242 
5243 
5244 static int _wrap_uiNode_type(lua_State* L) {
5245  int SWIG_arg = 0;
5246  uiNode_t *arg1 = (uiNode_t *) 0 ;
5247  char *result = 0 ;
5248 
5249  SWIG_check_num_args("uiNode_t::type",1,1)
5250  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::type",1,"uiNode_t *");
5251 
5252  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5253  SWIG_fail_ptr("uiNode_type",1,SWIGTYPE_p_uiNode_t);
5254  }
5255 
5256  result = (char *)uiNode_t_type(arg1);
5257  lua_pushstring(L,(const char *)result); SWIG_arg++;
5258  return SWIG_arg;
5259 
5260  if(0) SWIG_fail;
5261 
5262 fail:
5263  lua_error(L);
5264  return SWIG_arg;
5265 }
5266 
5267 
5268 static int _wrap_uiNode_text(lua_State* L) {
5269  int SWIG_arg = 0;
5270  uiNode_t *arg1 = (uiNode_t *) 0 ;
5271  char *result = 0 ;
5272 
5273  SWIG_check_num_args("uiNode_t::text",1,1)
5274  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::text",1,"uiNode_t *");
5275 
5276  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5277  SWIG_fail_ptr("uiNode_text",1,SWIGTYPE_p_uiNode_t);
5278  }
5279 
5280  result = (char *)uiNode_t_text(arg1);
5281  lua_pushstring(L,(const char *)result); SWIG_arg++;
5282  return SWIG_arg;
5283 
5284  if(0) SWIG_fail;
5285 
5286 fail:
5287  lua_error(L);
5288  return SWIG_arg;
5289 }
5290 
5291 
5292 static int _wrap_uiNode_font(lua_State* L) {
5293  int SWIG_arg = 0;
5294  uiNode_t *arg1 = (uiNode_t *) 0 ;
5295  char *result = 0 ;
5296 
5297  SWIG_check_num_args("uiNode_t::font",1,1)
5298  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::font",1,"uiNode_t *");
5299 
5300  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5301  SWIG_fail_ptr("uiNode_font",1,SWIGTYPE_p_uiNode_t);
5302  }
5303 
5304  result = (char *)uiNode_t_font(arg1);
5305  lua_pushstring(L,(const char *)result); SWIG_arg++;
5306  return SWIG_arg;
5307 
5308  if(0) SWIG_fail;
5309 
5310 fail:
5311  lua_error(L);
5312  return SWIG_arg;
5313 }
5314 
5315 
5316 static int _wrap_uiNode_image(lua_State* L) {
5317  int SWIG_arg = 0;
5318  uiNode_t *arg1 = (uiNode_t *) 0 ;
5319  char *result = 0 ;
5320 
5321  SWIG_check_num_args("uiNode_t::image",1,1)
5322  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::image",1,"uiNode_t *");
5323 
5324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5325  SWIG_fail_ptr("uiNode_image",1,SWIGTYPE_p_uiNode_t);
5326  }
5327 
5328  result = (char *)uiNode_t_image(arg1);
5329  lua_pushstring(L,(const char *)result); SWIG_arg++;
5330  return SWIG_arg;
5331 
5332  if(0) SWIG_fail;
5333 
5334 fail:
5335  lua_error(L);
5336  return SWIG_arg;
5337 }
5338 
5339 
5340 static int _wrap_uiNode_contentalign(lua_State* L) {
5341  int SWIG_arg = 0;
5342  uiNode_t *arg1 = (uiNode_t *) 0 ;
5343  int result;
5344 
5345  SWIG_check_num_args("uiNode_t::contentalign",1,1)
5346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::contentalign",1,"uiNode_t *");
5347 
5348  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5349  SWIG_fail_ptr("uiNode_contentalign",1,SWIGTYPE_p_uiNode_t);
5350  }
5351 
5352  result = (int)uiNode_t_contentalign(arg1);
5353  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5354  return SWIG_arg;
5355 
5356  if(0) SWIG_fail;
5357 
5358 fail:
5359  lua_error(L);
5360  return SWIG_arg;
5361 }
5362 
5363 
5364 static int _wrap_uiNode_layoutalign(lua_State* L) {
5365  int SWIG_arg = 0;
5366  uiNode_t *arg1 = (uiNode_t *) 0 ;
5367  int result;
5368 
5369  SWIG_check_num_args("uiNode_t::layoutalign",1,1)
5370  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::layoutalign",1,"uiNode_t *");
5371 
5372  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5373  SWIG_fail_ptr("uiNode_layoutalign",1,SWIGTYPE_p_uiNode_t);
5374  }
5375 
5376  result = (int)uiNode_t_layoutalign(arg1);
5377  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5378  return SWIG_arg;
5379 
5380  if(0) SWIG_fail;
5381 
5382 fail:
5383  lua_error(L);
5384  return SWIG_arg;
5385 }
5386 
5387 
5388 static int _wrap_uiNode_flashspeed(lua_State* L) {
5389  int SWIG_arg = 0;
5390  uiNode_t *arg1 = (uiNode_t *) 0 ;
5391  float result;
5392 
5393  SWIG_check_num_args("uiNode_t::flashspeed",1,1)
5394  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::flashspeed",1,"uiNode_t *");
5395 
5396  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5397  SWIG_fail_ptr("uiNode_flashspeed",1,SWIGTYPE_p_uiNode_t);
5398  }
5399 
5400  result = (float)uiNode_t_flashspeed(arg1);
5401  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5402  return SWIG_arg;
5403 
5404  if(0) SWIG_fail;
5405 
5406 fail:
5407  lua_error(L);
5408  return SWIG_arg;
5409 }
5410 
5411 
5412 static int _wrap_uiNode_padding(lua_State* L) {
5413  int SWIG_arg = 0;
5414  uiNode_t *arg1 = (uiNode_t *) 0 ;
5415  int result;
5416 
5417  SWIG_check_num_args("uiNode_t::padding",1,1)
5418  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::padding",1,"uiNode_t *");
5419 
5420  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5421  SWIG_fail_ptr("uiNode_padding",1,SWIGTYPE_p_uiNode_t);
5422  }
5423 
5424  result = (int)uiNode_t_padding(arg1);
5425  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5426  return SWIG_arg;
5427 
5428  if(0) SWIG_fail;
5429 
5430 fail:
5431  lua_error(L);
5432  return SWIG_arg;
5433 }
5434 
5435 
5436 static int _wrap_uiNode_first(lua_State* L) {
5437  int SWIG_arg = 0;
5438  uiNode_t *arg1 = (uiNode_t *) 0 ;
5439  uiNode_t *result = 0 ;
5440 
5441  SWIG_check_num_args("uiNode_t::first",1,1)
5442  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::first",1,"uiNode_t *");
5443 
5444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5445  SWIG_fail_ptr("uiNode_first",1,SWIGTYPE_p_uiNode_t);
5446  }
5447 
5448  result = (uiNode_t *)uiNode_t_first(arg1);
5449  {
5450  if (result) {
5452  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5453  } else {
5454  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5455  }
5456  }
5457  return SWIG_arg;
5458 
5459  if(0) SWIG_fail;
5460 
5461 fail:
5462  lua_error(L);
5463  return SWIG_arg;
5464 }
5465 
5466 
5467 static int _wrap_uiNode_last(lua_State* L) {
5468  int SWIG_arg = 0;
5469  uiNode_t *arg1 = (uiNode_t *) 0 ;
5470  uiNode_t *result = 0 ;
5471 
5472  SWIG_check_num_args("uiNode_t::last",1,1)
5473  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::last",1,"uiNode_t *");
5474 
5475  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5476  SWIG_fail_ptr("uiNode_last",1,SWIGTYPE_p_uiNode_t);
5477  }
5478 
5479  result = (uiNode_t *)uiNode_t_last(arg1);
5480  {
5481  if (result) {
5483  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5484  } else {
5485  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5486  }
5487  }
5488  return SWIG_arg;
5489 
5490  if(0) SWIG_fail;
5491 
5492 fail:
5493  lua_error(L);
5494  return SWIG_arg;
5495 }
5496 
5497 
5498 static int _wrap_uiNode_next(lua_State* L) {
5499  int SWIG_arg = 0;
5500  uiNode_t *arg1 = (uiNode_t *) 0 ;
5501  uiNode_t *result = 0 ;
5502 
5503  SWIG_check_num_args("uiNode_t::next",1,1)
5504  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::next",1,"uiNode_t *");
5505 
5506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5507  SWIG_fail_ptr("uiNode_next",1,SWIGTYPE_p_uiNode_t);
5508  }
5509 
5510  result = (uiNode_t *)uiNode_t_next(arg1);
5511  {
5512  if (result) {
5514  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5515  } else {
5516  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5517  }
5518  }
5519  return SWIG_arg;
5520 
5521  if(0) SWIG_fail;
5522 
5523 fail:
5524  lua_error(L);
5525  return SWIG_arg;
5526 }
5527 
5528 
5529 static int _wrap_uiNode_parent(lua_State* L) {
5530  int SWIG_arg = 0;
5531  uiNode_t *arg1 = (uiNode_t *) 0 ;
5532  uiNode_t *result = 0 ;
5533 
5534  SWIG_check_num_args("uiNode_t::parent",1,1)
5535  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::parent",1,"uiNode_t *");
5536 
5537  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5538  SWIG_fail_ptr("uiNode_parent",1,SWIGTYPE_p_uiNode_t);
5539  }
5540 
5541  result = (uiNode_t *)uiNode_t_parent(arg1);
5542  {
5543  if (result) {
5545  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5546  } else {
5547  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5548  }
5549  }
5550  return SWIG_arg;
5551 
5552  if(0) SWIG_fail;
5553 
5554 fail:
5555  lua_error(L);
5556  return SWIG_arg;
5557 }
5558 
5559 
5560 static int _wrap_uiNode_root(lua_State* L) {
5561  int SWIG_arg = 0;
5562  uiNode_t *arg1 = (uiNode_t *) 0 ;
5563  uiNode_t *result = 0 ;
5564 
5565  SWIG_check_num_args("uiNode_t::root",1,1)
5566  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::root",1,"uiNode_t *");
5567 
5568  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5569  SWIG_fail_ptr("uiNode_root",1,SWIGTYPE_p_uiNode_t);
5570  }
5571 
5572  result = (uiNode_t *)uiNode_t_root(arg1);
5573  {
5574  if (result) {
5576  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5577  } else {
5578  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5579  }
5580  }
5581  return SWIG_arg;
5582 
5583  if(0) SWIG_fail;
5584 
5585 fail:
5586  lua_error(L);
5587  return SWIG_arg;
5588 }
5589 
5590 
5591 static int _wrap_uiNode_child(lua_State* L) {
5592  int SWIG_arg = 0;
5593  uiNode_t *arg1 = (uiNode_t *) 0 ;
5594  char *arg2 = (char *) 0 ;
5595  uiNode_t *result = 0 ;
5596 
5597  SWIG_check_num_args("uiNode_t::child",2,2)
5598  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::child",1,"uiNode_t *");
5599  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::child",2,"char const *");
5600 
5601  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5602  SWIG_fail_ptr("uiNode_child",1,SWIGTYPE_p_uiNode_t);
5603  }
5604 
5605  arg2 = (char *)lua_tostring(L, 2);
5606  result = (uiNode_t *)uiNode_t_child(arg1,(char const *)arg2);
5607  {
5608  if (result) {
5610  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5611  } else {
5612  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5613  }
5614  }
5615  return SWIG_arg;
5616 
5617  if(0) SWIG_fail;
5618 
5619 fail:
5620  lua_error(L);
5621  return SWIG_arg;
5622 }
5623 
5624 
5625 static int _wrap_uiNode_find(lua_State* L) {
5626  int SWIG_arg = 0;
5627  uiNode_t *arg1 = (uiNode_t *) 0 ;
5628  char *arg2 = (char *) 0 ;
5629  uiNode_t *result = 0 ;
5630 
5631  SWIG_check_num_args("uiNode_t::find",2,2)
5632  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::find",1,"uiNode_t *");
5633  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::find",2,"char const *");
5634 
5635  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5636  SWIG_fail_ptr("uiNode_find",1,SWIGTYPE_p_uiNode_t);
5637  }
5638 
5639  arg2 = (char *)lua_tostring(L, 2);
5640  result = (uiNode_t *)uiNode_t_find(arg1,(char const *)arg2);
5641  {
5642  if (result) {
5644  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5645  } else {
5646  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5647  }
5648  }
5649  return SWIG_arg;
5650 
5651  if(0) SWIG_fail;
5652 
5653 fail:
5654  lua_error(L);
5655  return SWIG_arg;
5656 }
5657 
5658 
5659 static int _wrap_uiNode_append_node(lua_State* L) {
5660  int SWIG_arg = 0;
5661  uiNode_t *arg1 = (uiNode_t *) 0 ;
5662  uiNode_t *arg2 = (uiNode_t *) 0 ;
5663 
5664  SWIG_check_num_args("uiNode_t::append_node",2,2)
5665  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::append_node",1,"uiNode_t *");
5666  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::append_node",2,"uiNode_t *");
5667 
5668  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5669  SWIG_fail_ptr("uiNode_append_node",1,SWIGTYPE_p_uiNode_t);
5670  }
5671 
5672 
5673  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5674  SWIG_fail_ptr("uiNode_append_node",2,SWIGTYPE_p_uiNode_t);
5675  }
5676 
5677  uiNode_t_append_node(arg1,arg2);
5678 
5679  return SWIG_arg;
5680 
5681  if(0) SWIG_fail;
5682 
5683 fail:
5684  lua_error(L);
5685  return SWIG_arg;
5686 }
5687 
5688 
5689 static int _wrap_uiNode_insert_node(lua_State* L) {
5690  int SWIG_arg = 0;
5691  uiNode_t *arg1 = (uiNode_t *) 0 ;
5692  uiNode_t *arg2 = (uiNode_t *) 0 ;
5693  uiNode_t *arg3 = (uiNode_t *) 0 ;
5694 
5695  SWIG_check_num_args("uiNode_t::insert_node",3,3)
5696  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::insert_node",1,"uiNode_t *");
5697  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::insert_node",2,"uiNode_t *");
5698  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::insert_node",3,"uiNode_t *");
5699 
5700  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5701  SWIG_fail_ptr("uiNode_insert_node",1,SWIGTYPE_p_uiNode_t);
5702  }
5703 
5704 
5705  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5706  SWIG_fail_ptr("uiNode_insert_node",2,SWIGTYPE_p_uiNode_t);
5707  }
5708 
5709 
5710  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5711  SWIG_fail_ptr("uiNode_insert_node",3,SWIGTYPE_p_uiNode_t);
5712  }
5713 
5714  uiNode_t_insert_node(arg1,arg2,arg3);
5715 
5716  return SWIG_arg;
5717 
5718  if(0) SWIG_fail;
5719 
5720 fail:
5721  lua_error(L);
5722  return SWIG_arg;
5723 }
5724 
5725 
5726 static int _wrap_uiNode_move_node(lua_State* L) {
5727  int SWIG_arg = 0;
5728  uiNode_t *arg1 = (uiNode_t *) 0 ;
5729  uiNode_t *arg2 = (uiNode_t *) 0 ;
5730  uiNode_t *arg3 = (uiNode_t *) 0 ;
5731 
5732  SWIG_check_num_args("uiNode_t::move_node",3,3)
5733  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::move_node",1,"uiNode_t *");
5734  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::move_node",2,"uiNode_t *");
5735  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::move_node",3,"uiNode_t *");
5736 
5737  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5738  SWIG_fail_ptr("uiNode_move_node",1,SWIGTYPE_p_uiNode_t);
5739  }
5740 
5741 
5742  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5743  SWIG_fail_ptr("uiNode_move_node",2,SWIGTYPE_p_uiNode_t);
5744  }
5745 
5746 
5747  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5748  SWIG_fail_ptr("uiNode_move_node",3,SWIGTYPE_p_uiNode_t);
5749  }
5750 
5751  uiNode_t_move_node(arg1,arg2,arg3);
5752 
5753  return SWIG_arg;
5754 
5755  if(0) SWIG_fail;
5756 
5757 fail:
5758  lua_error(L);
5759  return SWIG_arg;
5760 }
5761 
5762 
5763 static int _wrap_uiNode_delete_node(lua_State* L) {
5764  int SWIG_arg = 0;
5765  uiNode_t *arg1 = (uiNode_t *) 0 ;
5766 
5767  SWIG_check_num_args("uiNode_t::delete_node",1,1)
5768  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::delete_node",1,"uiNode_t *");
5769 
5770  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5771  SWIG_fail_ptr("uiNode_delete_node",1,SWIGTYPE_p_uiNode_t);
5772  }
5773 
5774  uiNode_t_delete_node(arg1);
5775 
5776  return SWIG_arg;
5777 
5778  if(0) SWIG_fail;
5779 
5780 fail:
5781  lua_error(L);
5782  return SWIG_arg;
5783 }
5784 
5785 
5786 static int _wrap_uiNode_remove_children(lua_State* L) {
5787  int SWIG_arg = 0;
5788  uiNode_t *arg1 = (uiNode_t *) 0 ;
5789 
5790  SWIG_check_num_args("uiNode_t::remove_children",1,1)
5791  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::remove_children",1,"uiNode_t *");
5792 
5793  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5794  SWIG_fail_ptr("uiNode_remove_children",1,SWIGTYPE_p_uiNode_t);
5795  }
5796 
5798 
5799  return SWIG_arg;
5800 
5801  if(0) SWIG_fail;
5802 
5803 fail:
5804  lua_error(L);
5805  return SWIG_arg;
5806 }
5807 
5808 
5809 static int _wrap_uiNode_set_left(lua_State* L) {
5810  int SWIG_arg = 0;
5811  uiNode_t *arg1 = (uiNode_t *) 0 ;
5812  float arg2 ;
5813 
5814  SWIG_check_num_args("uiNode_t::set_left",2,2)
5815  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_left",1,"uiNode_t *");
5816  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_left",2,"float");
5817 
5818  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5819  SWIG_fail_ptr("uiNode_set_left",1,SWIGTYPE_p_uiNode_t);
5820  }
5821 
5822  arg2 = (float)lua_tonumber(L, 2);
5823  uiNode_t_set_left(arg1,arg2);
5824 
5825  return SWIG_arg;
5826 
5827  if(0) SWIG_fail;
5828 
5829 fail:
5830  lua_error(L);
5831  return SWIG_arg;
5832 }
5833 
5834 
5835 static int _wrap_uiNode_set_top(lua_State* L) {
5836  int SWIG_arg = 0;
5837  uiNode_t *arg1 = (uiNode_t *) 0 ;
5838  float arg2 ;
5839 
5840  SWIG_check_num_args("uiNode_t::set_top",2,2)
5841  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_top",1,"uiNode_t *");
5842  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_top",2,"float");
5843 
5844  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5845  SWIG_fail_ptr("uiNode_set_top",1,SWIGTYPE_p_uiNode_t);
5846  }
5847 
5848  arg2 = (float)lua_tonumber(L, 2);
5849  uiNode_t_set_top(arg1,arg2);
5850 
5851  return SWIG_arg;
5852 
5853  if(0) SWIG_fail;
5854 
5855 fail:
5856  lua_error(L);
5857  return SWIG_arg;
5858 }
5859 
5860 
5861 static int _wrap_uiNode_set_width(lua_State* L) {
5862  int SWIG_arg = 0;
5863  uiNode_t *arg1 = (uiNode_t *) 0 ;
5864  float arg2 ;
5865 
5866  SWIG_check_num_args("uiNode_t::set_width",2,2)
5867  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_width",1,"uiNode_t *");
5868  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_width",2,"float");
5869 
5870  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5871  SWIG_fail_ptr("uiNode_set_width",1,SWIGTYPE_p_uiNode_t);
5872  }
5873 
5874  arg2 = (float)lua_tonumber(L, 2);
5875  uiNode_t_set_width(arg1,arg2);
5876 
5877  return SWIG_arg;
5878 
5879  if(0) SWIG_fail;
5880 
5881 fail:
5882  lua_error(L);
5883  return SWIG_arg;
5884 }
5885 
5886 
5887 static int _wrap_uiNode_set_height(lua_State* L) {
5888  int SWIG_arg = 0;
5889  uiNode_t *arg1 = (uiNode_t *) 0 ;
5890  float arg2 ;
5891 
5892  SWIG_check_num_args("uiNode_t::set_height",2,2)
5893  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_height",1,"uiNode_t *");
5894  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_height",2,"float");
5895 
5896  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5897  SWIG_fail_ptr("uiNode_set_height",1,SWIGTYPE_p_uiNode_t);
5898  }
5899 
5900  arg2 = (float)lua_tonumber(L, 2);
5901  uiNode_t_set_height(arg1,arg2);
5902 
5903  return SWIG_arg;
5904 
5905  if(0) SWIG_fail;
5906 
5907 fail:
5908  lua_error(L);
5909  return SWIG_arg;
5910 }
5911 
5912 
5913 static int _wrap_uiNode_set_box(lua_State* L) {
5914  int SWIG_arg = 0;
5915  uiNode_t *arg1 = (uiNode_t *) 0 ;
5916  float arg2 ;
5917  float arg3 ;
5918  float arg4 ;
5919  float arg5 ;
5920 
5921  SWIG_check_num_args("uiNode_t::set_box",5,5)
5922  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_box",1,"uiNode_t *");
5923  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_box",2,"float");
5924  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_box",3,"float");
5925  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_box",4,"float");
5926  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_box",5,"float");
5927 
5928  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5929  SWIG_fail_ptr("uiNode_set_box",1,SWIGTYPE_p_uiNode_t);
5930  }
5931 
5932  arg2 = (float)lua_tonumber(L, 2);
5933  arg3 = (float)lua_tonumber(L, 3);
5934  arg4 = (float)lua_tonumber(L, 4);
5935  arg5 = (float)lua_tonumber(L, 5);
5936  uiNode_t_set_box(arg1,arg2,arg3,arg4,arg5);
5937 
5938  return SWIG_arg;
5939 
5940  if(0) SWIG_fail;
5941 
5942 fail:
5943  lua_error(L);
5944  return SWIG_arg;
5945 }
5946 
5947 
5948 static int _wrap_uiNode_set_flashing(lua_State* L) {
5949  int SWIG_arg = 0;
5950  uiNode_t *arg1 = (uiNode_t *) 0 ;
5951  bool arg2 ;
5952 
5953  SWIG_check_num_args("uiNode_t::set_flashing",2,2)
5954  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashing",1,"uiNode_t *");
5955  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_flashing",2,"bool");
5956 
5957  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5958  SWIG_fail_ptr("uiNode_set_flashing",1,SWIGTYPE_p_uiNode_t);
5959  }
5960 
5961  arg2 = (lua_toboolean(L, 2)!=0);
5962  uiNode_t_set_flashing(arg1,arg2);
5963 
5964  return SWIG_arg;
5965 
5966  if(0) SWIG_fail;
5967 
5968 fail:
5969  lua_error(L);
5970  return SWIG_arg;
5971 }
5972 
5973 
5974 static int _wrap_uiNode_set_flashspeed(lua_State* L) {
5975  int SWIG_arg = 0;
5976  uiNode_t *arg1 = (uiNode_t *) 0 ;
5977  float arg2 ;
5978 
5979  SWIG_check_num_args("uiNode_t::set_flashspeed",2,2)
5980  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashspeed",1,"uiNode_t *");
5981  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashspeed",2,"float");
5982 
5983  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5984  SWIG_fail_ptr("uiNode_set_flashspeed",1,SWIGTYPE_p_uiNode_t);
5985  }
5986 
5987  arg2 = (float)lua_tonumber(L, 2);
5988  uiNode_t_set_flashspeed(arg1,arg2);
5989 
5990  return SWIG_arg;
5991 
5992  if(0) SWIG_fail;
5993 
5994 fail:
5995  lua_error(L);
5996  return SWIG_arg;
5997 }
5998 
5999 
6000 static int _wrap_uiNode_set_invisible(lua_State* L) {
6001  int SWIG_arg = 0;
6002  uiNode_t *arg1 = (uiNode_t *) 0 ;
6003  bool arg2 ;
6004 
6005  SWIG_check_num_args("uiNode_t::set_invisible",2,2)
6006  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_invisible",1,"uiNode_t *");
6007  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_invisible",2,"bool");
6008 
6009  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6010  SWIG_fail_ptr("uiNode_set_invisible",1,SWIGTYPE_p_uiNode_t);
6011  }
6012 
6013  arg2 = (lua_toboolean(L, 2)!=0);
6014  uiNode_t_set_invisible(arg1,arg2);
6015 
6016  return SWIG_arg;
6017 
6018  if(0) SWIG_fail;
6019 
6020 fail:
6021  lua_error(L);
6022  return SWIG_arg;
6023 }
6024 
6025 
6026 static int _wrap_uiNode_set_ghost(lua_State* L) {
6027  int SWIG_arg = 0;
6028  uiNode_t *arg1 = (uiNode_t *) 0 ;
6029  bool arg2 ;
6030 
6031  SWIG_check_num_args("uiNode_t::set_ghost",2,2)
6032  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_ghost",1,"uiNode_t *");
6033  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_ghost",2,"bool");
6034 
6035  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6036  SWIG_fail_ptr("uiNode_set_ghost",1,SWIGTYPE_p_uiNode_t);
6037  }
6038 
6039  arg2 = (lua_toboolean(L, 2)!=0);
6040  uiNode_t_set_ghost(arg1,arg2);
6041 
6042  return SWIG_arg;
6043 
6044  if(0) SWIG_fail;
6045 
6046 fail:
6047  lua_error(L);
6048  return SWIG_arg;
6049 }
6050 
6051 
6052 static int _wrap_uiNode_set_pos(lua_State* L) {
6053  int SWIG_arg = 0;
6054  uiNode_t *arg1 = (uiNode_t *) 0 ;
6055  float arg2 ;
6056  float arg3 ;
6057 
6058  SWIG_check_num_args("uiNode_t::set_pos",3,3)
6059  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_pos",1,"uiNode_t *");
6060  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_pos",2,"float");
6061  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_pos",3,"float");
6062 
6063  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6064  SWIG_fail_ptr("uiNode_set_pos",1,SWIGTYPE_p_uiNode_t);
6065  }
6066 
6067  arg2 = (float)lua_tonumber(L, 2);
6068  arg3 = (float)lua_tonumber(L, 3);
6069  uiNode_t_set_pos(arg1,arg2,arg3);
6070 
6071  return SWIG_arg;
6072 
6073  if(0) SWIG_fail;
6074 
6075 fail:
6076  lua_error(L);
6077  return SWIG_arg;
6078 }
6079 
6080 
6081 static int _wrap_uiNode_set_size(lua_State* L) {
6082  int SWIG_arg = 0;
6083  uiNode_t *arg1 = (uiNode_t *) 0 ;
6084  float arg2 ;
6085  float arg3 ;
6086 
6087  SWIG_check_num_args("uiNode_t::set_size",3,3)
6088  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_size",1,"uiNode_t *");
6089  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_size",2,"float");
6090  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_size",3,"float");
6091 
6092  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6093  SWIG_fail_ptr("uiNode_set_size",1,SWIGTYPE_p_uiNode_t);
6094  }
6095 
6096  arg2 = (float)lua_tonumber(L, 2);
6097  arg3 = (float)lua_tonumber(L, 3);
6098  uiNode_t_set_size(arg1,arg2,arg3);
6099 
6100  return SWIG_arg;
6101 
6102  if(0) SWIG_fail;
6103 
6104 fail:
6105  lua_error(L);
6106  return SWIG_arg;
6107 }
6108 
6109 
6110 static int _wrap_uiNode_set_color(lua_State* L) {
6111  int SWIG_arg = 0;
6112  uiNode_t *arg1 = (uiNode_t *) 0 ;
6113  float arg2 ;
6114  float arg3 ;
6115  float arg4 ;
6116  float arg5 ;
6117 
6118  SWIG_check_num_args("uiNode_t::set_color",5,5)
6119  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_color",1,"uiNode_t *");
6120  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_color",2,"float");
6121  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_color",3,"float");
6122  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_color",4,"float");
6123  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_color",5,"float");
6124 
6125  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6126  SWIG_fail_ptr("uiNode_set_color",1,SWIGTYPE_p_uiNode_t);
6127  }
6128 
6129  arg2 = (float)lua_tonumber(L, 2);
6130  arg3 = (float)lua_tonumber(L, 3);
6131  arg4 = (float)lua_tonumber(L, 4);
6132  arg5 = (float)lua_tonumber(L, 5);
6133  uiNode_t_set_color(arg1,arg2,arg3,arg4,arg5);
6134 
6135  return SWIG_arg;
6136 
6137  if(0) SWIG_fail;
6138 
6139 fail:
6140  lua_error(L);
6141  return SWIG_arg;
6142 }
6143 
6144 
6145 static int _wrap_uiNode_set_disabledcolor(lua_State* L) {
6146  int SWIG_arg = 0;
6147  uiNode_t *arg1 = (uiNode_t *) 0 ;
6148  float arg2 ;
6149  float arg3 ;
6150  float arg4 ;
6151  float arg5 ;
6152 
6153  SWIG_check_num_args("uiNode_t::set_disabledcolor",5,5)
6154  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabledcolor",1,"uiNode_t *");
6155  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_disabledcolor",2,"float");
6156  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_disabledcolor",3,"float");
6157  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_disabledcolor",4,"float");
6158  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_disabledcolor",5,"float");
6159 
6160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6161  SWIG_fail_ptr("uiNode_set_disabledcolor",1,SWIGTYPE_p_uiNode_t);
6162  }
6163 
6164  arg2 = (float)lua_tonumber(L, 2);
6165  arg3 = (float)lua_tonumber(L, 3);
6166  arg4 = (float)lua_tonumber(L, 4);
6167  arg5 = (float)lua_tonumber(L, 5);
6168  uiNode_t_set_disabledcolor(arg1,arg2,arg3,arg4,arg5);
6169 
6170  return SWIG_arg;
6171 
6172  if(0) SWIG_fail;
6173 
6174 fail:
6175  lua_error(L);
6176  return SWIG_arg;
6177 }
6178 
6179 
6180 static int _wrap_uiNode_set_flashcolor(lua_State* L) {
6181  int SWIG_arg = 0;
6182  uiNode_t *arg1 = (uiNode_t *) 0 ;
6183  float arg2 ;
6184  float arg3 ;
6185  float arg4 ;
6186  float arg5 ;
6187 
6188  SWIG_check_num_args("uiNode_t::set_flashcolor",5,5)
6189  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashcolor",1,"uiNode_t *");
6190  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashcolor",2,"float");
6191  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_flashcolor",3,"float");
6192  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_flashcolor",4,"float");
6193  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_flashcolor",5,"float");
6194 
6195  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6196  SWIG_fail_ptr("uiNode_set_flashcolor",1,SWIGTYPE_p_uiNode_t);
6197  }
6198 
6199  arg2 = (float)lua_tonumber(L, 2);
6200  arg3 = (float)lua_tonumber(L, 3);
6201  arg4 = (float)lua_tonumber(L, 4);
6202  arg5 = (float)lua_tonumber(L, 5);
6203  uiNode_t_set_flashcolor(arg1,arg2,arg3,arg4,arg5);
6204 
6205  return SWIG_arg;
6206 
6207  if(0) SWIG_fail;
6208 
6209 fail:
6210  lua_error(L);
6211  return SWIG_arg;
6212 }
6213 
6214 
6215 static int _wrap_uiNode_set_selectcolor(lua_State* L) {
6216  int SWIG_arg = 0;
6217  uiNode_t *arg1 = (uiNode_t *) 0 ;
6218  float arg2 ;
6219  float arg3 ;
6220  float arg4 ;
6221  float arg5 ;
6222 
6223  SWIG_check_num_args("uiNode_t::set_selectcolor",5,5)
6224  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_selectcolor",1,"uiNode_t *");
6225  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_selectcolor",2,"float");
6226  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_selectcolor",3,"float");
6227  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_selectcolor",4,"float");
6228  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_selectcolor",5,"float");
6229 
6230  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6231  SWIG_fail_ptr("uiNode_set_selectcolor",1,SWIGTYPE_p_uiNode_t);
6232  }
6233 
6234  arg2 = (float)lua_tonumber(L, 2);
6235  arg3 = (float)lua_tonumber(L, 3);
6236  arg4 = (float)lua_tonumber(L, 4);
6237  arg5 = (float)lua_tonumber(L, 5);
6238  uiNode_t_set_selectcolor(arg1,arg2,arg3,arg4,arg5);
6239 
6240  return SWIG_arg;
6241 
6242  if(0) SWIG_fail;
6243 
6244 fail:
6245  lua_error(L);
6246  return SWIG_arg;
6247 }
6248 
6249 
6250 static int _wrap_uiNode_set_backgroundcolor(lua_State* L) {
6251  int SWIG_arg = 0;
6252  uiNode_t *arg1 = (uiNode_t *) 0 ;
6253  float arg2 ;
6254  float arg3 ;
6255  float arg4 ;
6256  float arg5 ;
6257 
6258  SWIG_check_num_args("uiNode_t::set_backgroundcolor",5,5)
6259  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",1,"uiNode_t *");
6260  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",2,"float");
6261  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",3,"float");
6262  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",4,"float");
6263  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",5,"float");
6264 
6265  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6266  SWIG_fail_ptr("uiNode_set_backgroundcolor",1,SWIGTYPE_p_uiNode_t);
6267  }
6268 
6269  arg2 = (float)lua_tonumber(L, 2);
6270  arg3 = (float)lua_tonumber(L, 3);
6271  arg4 = (float)lua_tonumber(L, 4);
6272  arg5 = (float)lua_tonumber(L, 5);
6273  uiNode_t_set_backgroundcolor(arg1,arg2,arg3,arg4,arg5);
6274 
6275  return SWIG_arg;
6276 
6277  if(0) SWIG_fail;
6278 
6279 fail:
6280  lua_error(L);
6281  return SWIG_arg;
6282 }
6283 
6284 
6285 static int _wrap_uiNode_set_bordersize(lua_State* L) {
6286  int SWIG_arg = 0;
6287  uiNode_t *arg1 = (uiNode_t *) 0 ;
6288  int arg2 ;
6289 
6290  SWIG_check_num_args("uiNode_t::set_bordersize",2,2)
6291  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordersize",1,"uiNode_t *");
6292  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordersize",2,"int");
6293 
6294  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6295  SWIG_fail_ptr("uiNode_set_bordersize",1,SWIGTYPE_p_uiNode_t);
6296  }
6297 
6298  arg2 = (int)lua_tonumber(L, 2);
6299  uiNode_t_set_bordersize(arg1,arg2);
6300 
6301  return SWIG_arg;
6302 
6303  if(0) SWIG_fail;
6304 
6305 fail:
6306  lua_error(L);
6307  return SWIG_arg;
6308 }
6309 
6310 
6311 static int _wrap_uiNode_set_bordercolor(lua_State* L) {
6312  int SWIG_arg = 0;
6313  uiNode_t *arg1 = (uiNode_t *) 0 ;
6314  float arg2 ;
6315  float arg3 ;
6316  float arg4 ;
6317  float arg5 ;
6318 
6319  SWIG_check_num_args("uiNode_t::set_bordercolor",5,5)
6320  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordercolor",1,"uiNode_t *");
6321  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordercolor",2,"float");
6322  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_bordercolor",3,"float");
6323  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_bordercolor",4,"float");
6324  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_bordercolor",5,"float");
6325 
6326  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6327  SWIG_fail_ptr("uiNode_set_bordercolor",1,SWIGTYPE_p_uiNode_t);
6328  }
6329 
6330  arg2 = (float)lua_tonumber(L, 2);
6331  arg3 = (float)lua_tonumber(L, 3);
6332  arg4 = (float)lua_tonumber(L, 4);
6333  arg5 = (float)lua_tonumber(L, 5);
6334  uiNode_t_set_bordercolor(arg1,arg2,arg3,arg4,arg5);
6335 
6336  return SWIG_arg;
6337 
6338  if(0) SWIG_fail;
6339 
6340 fail:
6341  lua_error(L);
6342  return SWIG_arg;
6343 }
6344 
6345 
6346 static int _wrap_uiNode_set_text(lua_State* L) {
6347  int SWIG_arg = 0;
6348  uiNode_t *arg1 = (uiNode_t *) 0 ;
6349  char *arg2 = (char *) 0 ;
6350 
6351  SWIG_check_num_args("uiNode_t::set_text",2,2)
6352  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_text",1,"uiNode_t *");
6353  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_text",2,"char const *");
6354 
6355  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6356  SWIG_fail_ptr("uiNode_set_text",1,SWIGTYPE_p_uiNode_t);
6357  }
6358 
6359  arg2 = (char *)lua_tostring(L, 2);
6360  uiNode_t_set_text(arg1,(char const *)arg2);
6361 
6362  return SWIG_arg;
6363 
6364  if(0) SWIG_fail;
6365 
6366 fail:
6367  lua_error(L);
6368  return SWIG_arg;
6369 }
6370 
6371 
6372 static int _wrap_uiNode_set_font(lua_State* L) {
6373  int SWIG_arg = 0;
6374  uiNode_t *arg1 = (uiNode_t *) 0 ;
6375  char *arg2 = (char *) 0 ;
6376 
6377  SWIG_check_num_args("uiNode_t::set_font",2,2)
6378  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_font",1,"uiNode_t *");
6379  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_font",2,"char const *");
6380 
6381  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6382  SWIG_fail_ptr("uiNode_set_font",1,SWIGTYPE_p_uiNode_t);
6383  }
6384 
6385  arg2 = (char *)lua_tostring(L, 2);
6386  uiNode_t_set_font(arg1,(char const *)arg2);
6387 
6388  return SWIG_arg;
6389 
6390  if(0) SWIG_fail;
6391 
6392 fail:
6393  lua_error(L);
6394  return SWIG_arg;
6395 }
6396 
6397 
6398 static int _wrap_uiNode_set_image(lua_State* L) {
6399  int SWIG_arg = 0;
6400  uiNode_t *arg1 = (uiNode_t *) 0 ;
6401  char *arg2 = (char *) 0 ;
6402 
6403  SWIG_check_num_args("uiNode_t::set_image",2,2)
6404  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_image",1,"uiNode_t *");
6405  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_image",2,"char const *");
6406 
6407  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6408  SWIG_fail_ptr("uiNode_set_image",1,SWIGTYPE_p_uiNode_t);
6409  }
6410 
6411  arg2 = (char *)lua_tostring(L, 2);
6412  uiNode_t_set_image(arg1,(char const *)arg2);
6413 
6414  return SWIG_arg;
6415 
6416  if(0) SWIG_fail;
6417 
6418 fail:
6419  lua_error(L);
6420  return SWIG_arg;
6421 }
6422 
6423 
6424 static int _wrap_uiNode_set_contentalign(lua_State* L) {
6425  int SWIG_arg = 0;
6426  uiNode_t *arg1 = (uiNode_t *) 0 ;
6427  int arg2 ;
6428 
6429  SWIG_check_num_args("uiNode_t::set_contentalign",2,2)
6430  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_contentalign",1,"uiNode_t *");
6431  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_contentalign",2,"int");
6432 
6433  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6434  SWIG_fail_ptr("uiNode_set_contentalign",1,SWIGTYPE_p_uiNode_t);
6435  }
6436 
6437  arg2 = (int)lua_tonumber(L, 2);
6438  uiNode_t_set_contentalign(arg1,arg2);
6439 
6440  return SWIG_arg;
6441 
6442  if(0) SWIG_fail;
6443 
6444 fail:
6445  lua_error(L);
6446  return SWIG_arg;
6447 }
6448 
6449 
6450 static int _wrap_uiNode_set_layoutalign(lua_State* L) {
6451  int SWIG_arg = 0;
6452  uiNode_t *arg1 = (uiNode_t *) 0 ;
6453  int arg2 ;
6454 
6455  SWIG_check_num_args("uiNode_t::set_layoutalign",2,2)
6456  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_layoutalign",1,"uiNode_t *");
6457  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_layoutalign",2,"int");
6458 
6459  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6460  SWIG_fail_ptr("uiNode_set_layoutalign",1,SWIGTYPE_p_uiNode_t);
6461  }
6462 
6463  arg2 = (int)lua_tonumber(L, 2);
6464  uiNode_t_set_layoutalign(arg1,arg2);
6465 
6466  return SWIG_arg;
6467 
6468  if(0) SWIG_fail;
6469 
6470 fail:
6471  lua_error(L);
6472  return SWIG_arg;
6473 }
6474 
6475 
6476 static int _wrap_uiNode_set_tooltip(lua_State* L) {
6477  int SWIG_arg = 0;
6478  uiNode_t *arg1 = (uiNode_t *) 0 ;
6479  char *arg2 = (char *) 0 ;
6480 
6481  SWIG_check_num_args("uiNode_t::set_tooltip",2,2)
6482  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_tooltip",1,"uiNode_t *");
6483  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_tooltip",2,"char const *");
6484 
6485  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6486  SWIG_fail_ptr("uiNode_set_tooltip",1,SWIGTYPE_p_uiNode_t);
6487  }
6488 
6489  arg2 = (char *)lua_tostring(L, 2);
6490  uiNode_t_set_tooltip(arg1,(char const *)arg2);
6491 
6492  return SWIG_arg;
6493 
6494  if(0) SWIG_fail;
6495 
6496 fail:
6497  lua_error(L);
6498  return SWIG_arg;
6499 }
6500 
6501 
6502 static int _wrap_uiNode_set_disabled(lua_State* L) {
6503  int SWIG_arg = 0;
6504  uiNode_t *arg1 = (uiNode_t *) 0 ;
6505  bool arg2 ;
6506 
6507  SWIG_check_num_args("uiNode_t::set_disabled",2,2)
6508  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabled",1,"uiNode_t *");
6509  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_disabled",2,"bool");
6510 
6511  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6512  SWIG_fail_ptr("uiNode_set_disabled",1,SWIGTYPE_p_uiNode_t);
6513  }
6514 
6515  arg2 = (lua_toboolean(L, 2)!=0);
6516  uiNode_t_set_disabled(arg1,arg2);
6517 
6518  return SWIG_arg;
6519 
6520  if(0) SWIG_fail;
6521 
6522 fail:
6523  lua_error(L);
6524  return SWIG_arg;
6525 }
6526 
6527 
6528 static int _wrap_uiNode_set_borderthickness(lua_State* L) {
6529  int SWIG_arg = 0;
6530  uiNode_t *arg1 = (uiNode_t *) 0 ;
6531  int arg2 ;
6532 
6533  SWIG_check_num_args("uiNode_t::set_borderthickness",2,2)
6534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_borderthickness",1,"uiNode_t *");
6535  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_borderthickness",2,"int");
6536 
6537  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6538  SWIG_fail_ptr("uiNode_set_borderthickness",1,SWIGTYPE_p_uiNode_t);
6539  }
6540 
6541  arg2 = (int)lua_tonumber(L, 2);
6542  uiNode_t_set_borderthickness(arg1,arg2);
6543 
6544  return SWIG_arg;
6545 
6546  if(0) SWIG_fail;
6547 
6548 fail:
6549  lua_error(L);
6550  return SWIG_arg;
6551 }
6552 
6553 
6554 static int _wrap_uiNode_set_padding(lua_State* L) {
6555  int SWIG_arg = 0;
6556  uiNode_t *arg1 = (uiNode_t *) 0 ;
6557  int arg2 ;
6558 
6559  SWIG_check_num_args("uiNode_t::set_padding",2,2)
6560  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_padding",1,"uiNode_t *");
6561  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_padding",2,"int");
6562 
6563  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6564  SWIG_fail_ptr("uiNode_set_padding",1,SWIGTYPE_p_uiNode_t);
6565  }
6566 
6567  arg2 = (int)lua_tonumber(L, 2);
6568  uiNode_t_set_padding(arg1,arg2);
6569 
6570  return SWIG_arg;
6571 
6572  if(0) SWIG_fail;
6573 
6574 fail:
6575  lua_error(L);
6576  return SWIG_arg;
6577 }
6578 
6579 
6580 static int _wrap_uiNode___setitem(lua_State* L) {
6581  int SWIG_arg = 0;
6582  uiNode_t *arg1 = (uiNode_t *) 0 ;
6583  char *arg2 = (char *) 0 ;
6584  LUA_METHOD arg3 ;
6585 
6586  SWIG_check_num_args("uiNode_t::__setitem",3,3)
6587  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__setitem",1,"uiNode_t *");
6588  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__setitem",2,"char const *");
6589 
6590  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6591  SWIG_fail_ptr("uiNode___setitem",1,SWIGTYPE_p_uiNode_t);
6592  }
6593 
6594  arg2 = (char *)lua_tostring(L, 2);
6595  {
6596  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6597  }
6598  uiNode_t___setitem(arg1,(char const *)arg2,arg3);
6599 
6600  return SWIG_arg;
6601 
6602  if(0) SWIG_fail;
6603 
6604 fail:
6605  lua_error(L);
6606  return SWIG_arg;
6607 }
6608 
6609 
6610 static int _wrap_uiNode___getitem(lua_State* L) {
6611  int SWIG_arg = 0;
6612  uiNode_t *arg1 = (uiNode_t *) 0 ;
6613  char *arg2 = (char *) 0 ;
6614  LUA_METHOD result;
6615 
6616  SWIG_check_num_args("uiNode_t::__getitem",2,2)
6617  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__getitem",1,"uiNode_t *");
6618  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__getitem",2,"char const *");
6619 
6620  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6621  SWIG_fail_ptr("uiNode___getitem",1,SWIGTYPE_p_uiNode_t);
6622  }
6623 
6624  arg2 = (char *)lua_tostring(L, 2);
6625  result = uiNode_t___getitem(arg1,(char const *)arg2);
6626  {
6627  lua_rawgeti(L, LUA_REGISTRYINDEX, result); SWIG_arg++;
6628  }
6629  return SWIG_arg;
6630 
6631  if(0) SWIG_fail;
6632 
6633 fail:
6634  lua_error(L);
6635  return SWIG_arg;
6636 }
6637 
6638 
6639 static int _wrap_uiNode_add_classmethod(lua_State* L) {
6640  int SWIG_arg = 0;
6641  uiNode_t *arg1 = (uiNode_t *) 0 ;
6642  char *arg2 = (char *) 0 ;
6643  LUA_METHOD arg3 ;
6644 
6645  SWIG_check_num_args("uiNode_t::add_classmethod",3,3)
6646  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_classmethod",1,"uiNode_t *");
6647  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_classmethod",2,"char const *");
6648 
6649  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6650  SWIG_fail_ptr("uiNode_add_classmethod",1,SWIGTYPE_p_uiNode_t);
6651  }
6652 
6653  arg2 = (char *)lua_tostring(L, 2);
6654  {
6655  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6656  }
6657  uiNode_t_add_classmethod(arg1,(char const *)arg2,arg3);
6658 
6659  return SWIG_arg;
6660 
6661  if(0) SWIG_fail;
6662 
6663 fail:
6664  lua_error(L);
6665  return SWIG_arg;
6666 }
6667 
6668 
6669 static int _wrap_uiNode_add_nodemethod(lua_State* L) {
6670  int SWIG_arg = 0;
6671  uiNode_t *arg1 = (uiNode_t *) 0 ;
6672  char *arg2 = (char *) 0 ;
6673  LUA_METHOD arg3 ;
6674 
6675  SWIG_check_num_args("uiNode_t::add_nodemethod",3,3)
6676  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_nodemethod",1,"uiNode_t *");
6677  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_nodemethod",2,"char const *");
6678 
6679  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6680  SWIG_fail_ptr("uiNode_add_nodemethod",1,SWIGTYPE_p_uiNode_t);
6681  }
6682 
6683  arg2 = (char *)lua_tostring(L, 2);
6684  {
6685  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6686  }
6687  uiNode_t_add_nodemethod(arg1,(char const *)arg2,arg3);
6688 
6689  return SWIG_arg;
6690 
6691  if(0) SWIG_fail;
6692 
6693 fail:
6694  lua_error(L);
6695  return SWIG_arg;
6696 }
6697 
6698 
6699 static int _wrap_new_uiNode(lua_State* L) {
6700  int SWIG_arg = 0;
6701  uiNode_t *result = 0 ;
6702 
6703  SWIG_check_num_args("uiNode_t::uiNode_t",0,0)
6704  result = (uiNode_t *)new uiNode_t();
6705  {
6706  if (result) {
6708  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
6709  } else {
6710  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
6711  }
6712  }
6713  return SWIG_arg;
6714 
6715  if(0) SWIG_fail;
6716 
6717 fail:
6718  lua_error(L);
6719  return SWIG_arg;
6720 }
6721 
6722 
6723 static void swig_delete_uiNode(void *obj) {
6724 uiNode_t *arg1 = (uiNode_t *) obj;
6725 delete arg1;
6726 }
6727 static int _proxy__wrap_new_uiNode(lua_State *L) {
6728  assert(lua_istable(L,1));
6729  lua_pushcfunction(L,_wrap_new_uiNode);
6730  assert(!lua_isnil(L,-1));
6731  lua_replace(L,1); /* replace our table with real constructor */
6732  lua_call(L,lua_gettop(L)-1,1);
6733  return 1;
6734 }
6752  {0,0,0}
6753 };
6755  { "is_window", _wrap_uiNode_is_window},
6756  { "is_disabled", _wrap_uiNode_is_disabled},
6757  { "is_invisible", _wrap_uiNode_is_invisible},
6758  { "is_ghost", _wrap_uiNode_is_ghost},
6759  { "is_flashing", _wrap_uiNode_is_flashing},
6760  { "is_function", _wrap_uiNode_is_function},
6761  { "is_virtual", _wrap_uiNode_is_virtual},
6762  { "is_abstract", _wrap_uiNode_is_abstract},
6763  { "left", _wrap_uiNode_left},
6764  { "top", _wrap_uiNode_top},
6765  { "width", _wrap_uiNode_width},
6766  { "height", _wrap_uiNode_height},
6767  { "bordersize", _wrap_uiNode_bordersize},
6768  { "name", _wrap_uiNode_name},
6769  { "type", _wrap_uiNode_type},
6770  { "text", _wrap_uiNode_text},
6771  { "font", _wrap_uiNode_font},
6772  { "image", _wrap_uiNode_image},
6773  { "contentalign", _wrap_uiNode_contentalign},
6774  { "layoutalign", _wrap_uiNode_layoutalign},
6775  { "flashspeed", _wrap_uiNode_flashspeed},
6776  { "padding", _wrap_uiNode_padding},
6777  { "first", _wrap_uiNode_first},
6778  { "last", _wrap_uiNode_last},
6779  { "next", _wrap_uiNode_next},
6780  { "parent", _wrap_uiNode_parent},
6781  { "root", _wrap_uiNode_root},
6782  { "child", _wrap_uiNode_child},
6783  { "find", _wrap_uiNode_find},
6784  { "append_node", _wrap_uiNode_append_node},
6785  { "insert_node", _wrap_uiNode_insert_node},
6786  { "move_node", _wrap_uiNode_move_node},
6787  { "delete_node", _wrap_uiNode_delete_node},
6788  { "remove_children", _wrap_uiNode_remove_children},
6789  { "set_left", _wrap_uiNode_set_left},
6790  { "set_top", _wrap_uiNode_set_top},
6791  { "set_width", _wrap_uiNode_set_width},
6792  { "set_height", _wrap_uiNode_set_height},
6793  { "set_box", _wrap_uiNode_set_box},
6794  { "set_flashing", _wrap_uiNode_set_flashing},
6795  { "set_flashspeed", _wrap_uiNode_set_flashspeed},
6796  { "set_invisible", _wrap_uiNode_set_invisible},
6797  { "set_ghost", _wrap_uiNode_set_ghost},
6798  { "set_pos", _wrap_uiNode_set_pos},
6799  { "set_size", _wrap_uiNode_set_size},
6800  { "set_color", _wrap_uiNode_set_color},
6801  { "set_disabledcolor", _wrap_uiNode_set_disabledcolor},
6802  { "set_flashcolor", _wrap_uiNode_set_flashcolor},
6803  { "set_selectcolor", _wrap_uiNode_set_selectcolor},
6804  { "set_backgroundcolor", _wrap_uiNode_set_backgroundcolor},
6805  { "set_bordersize", _wrap_uiNode_set_bordersize},
6806  { "set_bordercolor", _wrap_uiNode_set_bordercolor},
6807  { "set_text", _wrap_uiNode_set_text},
6808  { "set_font", _wrap_uiNode_set_font},
6809  { "set_image", _wrap_uiNode_set_image},
6810  { "set_contentalign", _wrap_uiNode_set_contentalign},
6811  { "set_layoutalign", _wrap_uiNode_set_layoutalign},
6812  { "set_tooltip", _wrap_uiNode_set_tooltip},
6813  { "set_disabled", _wrap_uiNode_set_disabled},
6814  { "set_borderthickness", _wrap_uiNode_set_borderthickness},
6815  { "set_padding", _wrap_uiNode_set_padding},
6816  { "__setitem", _wrap_uiNode___setitem},
6817  { "__getitem", _wrap_uiNode___getitem},
6818  { "add_classmethod", _wrap_uiNode_add_classmethod},
6819  { "add_nodemethod", _wrap_uiNode_add_nodemethod},
6820  {0,0}
6821 };
6823  { "__setitem", _wrap_uiNode___setitem},
6824  { "__getitem", _wrap_uiNode___getitem},
6825  {0,0}
6826 };
6827 
6829  {0,0,0}
6830 };
6832  {0,0,0,0,0,0}
6833 };
6835  {0,0}
6836 };
6838  0
6839 };
6840 
6842  "uiNode",
6847  0
6848 };
6850 static const char *swig_uiNode_base_names[] = {0};
6852 
6853 static int _wrap_uiAbstractOptionNode_dataid(lua_State* L) {
6854  int SWIG_arg = 0;
6856  int result;
6857 
6858  SWIG_check_num_args("uiAbstractOptionNode_t::dataid",1,1)
6859  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::dataid",1,"uiAbstractOptionNode_t *");
6860 
6861  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6862  SWIG_fail_ptr("uiAbstractOptionNode_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6863  }
6864 
6865  result = (int)uiAbstractOptionNode_t_dataid(arg1);
6866  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6867  return SWIG_arg;
6868 
6869  if(0) SWIG_fail;
6870 
6871 fail:
6872  lua_error(L);
6873  return SWIG_arg;
6874 }
6875 
6876 
6877 static int _wrap_uiAbstractOptionNode_count(lua_State* L) {
6878  int SWIG_arg = 0;
6880  int result;
6881 
6882  SWIG_check_num_args("uiAbstractOptionNode_t::count",1,1)
6883  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::count",1,"uiAbstractOptionNode_t *");
6884 
6885  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6886  SWIG_fail_ptr("uiAbstractOptionNode_count",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6887  }
6888 
6889  result = (int)uiAbstractOptionNode_t_count(arg1);
6890  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6891  return SWIG_arg;
6892 
6893  if(0) SWIG_fail;
6894 
6895 fail:
6896  lua_error(L);
6897  return SWIG_arg;
6898 }
6899 
6900 
6901 static int _wrap_uiAbstractOptionNode_lineheight(lua_State* L) {
6902  int SWIG_arg = 0;
6904  int result;
6905 
6906  SWIG_check_num_args("uiAbstractOptionNode_t::lineheight",1,1)
6907  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lineheight",1,"uiAbstractOptionNode_t *");
6908 
6909  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6910  SWIG_fail_ptr("uiAbstractOptionNode_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6911  }
6912 
6913  result = (int)uiAbstractOptionNode_t_lineheight(arg1);
6914  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6915  return SWIG_arg;
6916 
6917  if(0) SWIG_fail;
6918 
6919 fail:
6920  lua_error(L);
6921  return SWIG_arg;
6922 }
6923 
6924 
6925 static int _wrap_uiAbstractOptionNode_cvar(lua_State* L) {
6926  int SWIG_arg = 0;
6928  char *result = 0 ;
6929 
6930  SWIG_check_num_args("uiAbstractOptionNode_t::cvar",1,1)
6931  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::cvar",1,"uiAbstractOptionNode_t *");
6932 
6933  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6934  SWIG_fail_ptr("uiAbstractOptionNode_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6935  }
6936 
6937  result = (char *)uiAbstractOptionNode_t_cvar(arg1);
6938  lua_pushstring(L,(const char *)result); SWIG_arg++;
6939  return SWIG_arg;
6940 
6941  if(0) SWIG_fail;
6942 
6943 fail:
6944  lua_error(L);
6945  return SWIG_arg;
6946 }
6947 
6948 
6949 static int _wrap_uiAbstractOptionNode_current(lua_State* L) {
6950  int SWIG_arg = 0;
6952  int result;
6953 
6954  SWIG_check_num_args("uiAbstractOptionNode_t::current",1,1)
6955  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::current",1,"uiAbstractOptionNode_t *");
6956 
6957  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6958  SWIG_fail_ptr("uiAbstractOptionNode_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6959  }
6960 
6961  result = (int)uiAbstractOptionNode_t_current(arg1);
6962  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6963  return SWIG_arg;
6964 
6965  if(0) SWIG_fail;
6966 
6967 fail:
6968  lua_error(L);
6969  return SWIG_arg;
6970 }
6971 
6972 
6973 static int _wrap_uiAbstractOptionNode_viewsize(lua_State* L) {
6974  int SWIG_arg = 0;
6976  int result;
6977 
6978  SWIG_check_num_args("uiAbstractOptionNode_t::viewsize",1,1)
6979  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::viewsize",1,"uiAbstractOptionNode_t *");
6980 
6981  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6982  SWIG_fail_ptr("uiAbstractOptionNode_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6983  }
6984 
6985  result = (int)uiAbstractOptionNode_t_viewsize(arg1);
6986  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6987  return SWIG_arg;
6988 
6989  if(0) SWIG_fail;
6990 
6991 fail:
6992  lua_error(L);
6993  return SWIG_arg;
6994 }
6995 
6996 
6997 static int _wrap_uiAbstractOptionNode_fullsize(lua_State* L) {
6998  int SWIG_arg = 0;
7000  int result;
7001 
7002  SWIG_check_num_args("uiAbstractOptionNode_t::fullsize",1,1)
7003  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::fullsize",1,"uiAbstractOptionNode_t *");
7004 
7005  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7006  SWIG_fail_ptr("uiAbstractOptionNode_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7007  }
7008 
7009  result = (int)uiAbstractOptionNode_t_fullsize(arg1);
7010  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7011  return SWIG_arg;
7012 
7013  if(0) SWIG_fail;
7014 
7015 fail:
7016  lua_error(L);
7017  return SWIG_arg;
7018 }
7019 
7020 
7021 static int _wrap_uiAbstractOptionNode_set_dataid(lua_State* L) {
7022  int SWIG_arg = 0;
7024  int arg2 ;
7025 
7026  SWIG_check_num_args("uiAbstractOptionNode_t::set_dataid",2,2)
7027  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",1,"uiAbstractOptionNode_t *");
7028  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",2,"int");
7029 
7030  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7031  SWIG_fail_ptr("uiAbstractOptionNode_set_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7032  }
7033 
7034  arg2 = (int)lua_tonumber(L, 2);
7036 
7037  return SWIG_arg;
7038 
7039  if(0) SWIG_fail;
7040 
7041 fail:
7042  lua_error(L);
7043  return SWIG_arg;
7044 }
7045 
7046 
7047 static int _wrap_uiAbstractOptionNode_set_cvar(lua_State* L) {
7048  int SWIG_arg = 0;
7050  char *arg2 = (char *) 0 ;
7051 
7052  SWIG_check_num_args("uiAbstractOptionNode_t::set_cvar",2,2)
7053  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",1,"uiAbstractOptionNode_t *");
7054  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",2,"char const *");
7055 
7056  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7057  SWIG_fail_ptr("uiAbstractOptionNode_set_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7058  }
7059 
7060  arg2 = (char *)lua_tostring(L, 2);
7061  uiAbstractOptionNode_t_set_cvar(arg1,(char const *)arg2);
7062 
7063  return SWIG_arg;
7064 
7065  if(0) SWIG_fail;
7066 
7067 fail:
7068  lua_error(L);
7069  return SWIG_arg;
7070 }
7071 
7072 
7074  int SWIG_arg = 0;
7076  int arg2 ;
7077 
7078  SWIG_check_num_args("uiAbstractOptionNode_t::set_lineheight",2,2)
7079  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",1,"uiAbstractOptionNode_t *");
7080  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",2,"int");
7081 
7082  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7083  SWIG_fail_ptr("uiAbstractOptionNode_set_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7084  }
7085 
7086  arg2 = (int)lua_tonumber(L, 2);
7088 
7089  return SWIG_arg;
7090 
7091  if(0) SWIG_fail;
7092 
7093 fail:
7094  lua_error(L);
7095  return SWIG_arg;
7096 }
7097 
7098 
7100  int SWIG_arg = 0;
7102  char *arg2 = (char *) 0 ;
7103 
7104  SWIG_check_num_args("uiAbstractOptionNode_t::set_background",2,2)
7105  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",1,"uiAbstractOptionNode_t *");
7106  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",2,"char const *");
7107 
7108  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7109  SWIG_fail_ptr("uiAbstractOptionNode_set_background",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7110  }
7111 
7112  arg2 = (char *)lua_tostring(L, 2);
7113  uiAbstractOptionNode_t_set_background(arg1,(char const *)arg2);
7114 
7115  return SWIG_arg;
7116 
7117  if(0) SWIG_fail;
7118 
7119 fail:
7120  lua_error(L);
7121  return SWIG_arg;
7122 }
7123 
7124 
7125 static int _wrap_uiAbstractOptionNode_set_current(lua_State* L) {
7126  int SWIG_arg = 0;
7128  int arg2 ;
7129 
7130  SWIG_check_num_args("uiAbstractOptionNode_t::set_current",2,2)
7131  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",1,"uiAbstractOptionNode_t *");
7132  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",2,"int");
7133 
7134  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7135  SWIG_fail_ptr("uiAbstractOptionNode_set_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7136  }
7137 
7138  arg2 = (int)lua_tonumber(L, 2);
7140 
7141  return SWIG_arg;
7142 
7143  if(0) SWIG_fail;
7144 
7145 fail:
7146  lua_error(L);
7147  return SWIG_arg;
7148 }
7149 
7150 
7152  int SWIG_arg = 0;
7154  int arg2 ;
7155 
7156  SWIG_check_num_args("uiAbstractOptionNode_t::set_viewsize",2,2)
7157  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",1,"uiAbstractOptionNode_t *");
7158  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",2,"int");
7159 
7160  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7161  SWIG_fail_ptr("uiAbstractOptionNode_set_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7162  }
7163 
7164  arg2 = (int)lua_tonumber(L, 2);
7166 
7167  return SWIG_arg;
7168 
7169  if(0) SWIG_fail;
7170 
7171 fail:
7172  lua_error(L);
7173  return SWIG_arg;
7174 }
7175 
7176 
7178  int SWIG_arg = 0;
7180  int arg2 ;
7181 
7182  SWIG_check_num_args("uiAbstractOptionNode_t::set_fullsize",2,2)
7183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",1,"uiAbstractOptionNode_t *");
7184  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",2,"int");
7185 
7186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7187  SWIG_fail_ptr("uiAbstractOptionNode_set_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7188  }
7189 
7190  arg2 = (int)lua_tonumber(L, 2);
7192 
7193  return SWIG_arg;
7194 
7195  if(0) SWIG_fail;
7196 
7197 fail:
7198  lua_error(L);
7199  return SWIG_arg;
7200 }
7201 
7202 
7204  int SWIG_arg = 0;
7206  LUA_EVENT arg2 ;
7207 
7208  SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",2,2)
7209  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7210 
7211  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7212  SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7213  }
7214 
7215  {
7216  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7217  }
7219 
7220  return SWIG_arg;
7221 
7222  if(0) SWIG_fail;
7223 
7224 fail:
7225  lua_error(L);
7226  return SWIG_arg;
7227 }
7228 
7229 
7231  int SWIG_arg = 0;
7233  LUA_EVENT result;
7234 
7235  SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",1,1)
7236  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7237 
7238  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7239  SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7240  }
7241 
7243  {
7244  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7245  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7246  }
7247  return SWIG_arg;
7248 
7249  if(0) SWIG_fail;
7250 
7251 fail:
7252  lua_error(L);
7253  return SWIG_arg;
7254 }
7255 
7256 
7257 static int _wrap_new_uiAbstractOptionNode(lua_State* L) {
7258  int SWIG_arg = 0;
7259  uiAbstractOptionNode_t *result = 0 ;
7260 
7261  SWIG_check_num_args("uiAbstractOptionNode_t::uiAbstractOptionNode_t",0,0)
7263  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiAbstractOptionNode_t,1); SWIG_arg++;
7264  return SWIG_arg;
7265 
7266  if(0) SWIG_fail;
7267 
7268 fail:
7269  lua_error(L);
7270  return SWIG_arg;
7271 }
7272 
7273 
7274 static void swig_delete_uiAbstractOptionNode(void *obj) {
7276 delete arg1;
7277 }
7278 static int _proxy__wrap_new_uiAbstractOptionNode(lua_State *L) {
7279  assert(lua_istable(L,1));
7280  lua_pushcfunction(L,_wrap_new_uiAbstractOptionNode);
7281  assert(!lua_isnil(L,-1));
7282  lua_replace(L,1); /* replace our table with real constructor */
7283  lua_call(L,lua_gettop(L)-1,1);
7284  return 1;
7285 }
7288  {0,0,0}
7289 };
7291  { "dataid", _wrap_uiAbstractOptionNode_dataid},
7293  { "lineheight", _wrap_uiAbstractOptionNode_lineheight},
7295  { "current", _wrap_uiAbstractOptionNode_current},
7296  { "viewsize", _wrap_uiAbstractOptionNode_viewsize},
7297  { "fullsize", _wrap_uiAbstractOptionNode_fullsize},
7298  { "set_dataid", _wrap_uiAbstractOptionNode_set_dataid},
7299  { "set_cvar", _wrap_uiAbstractOptionNode_set_cvar},
7300  { "set_lineheight", _wrap_uiAbstractOptionNode_set_lineheight},
7301  { "set_background", _wrap_uiAbstractOptionNode_set_background},
7302  { "set_current", _wrap_uiAbstractOptionNode_set_current},
7303  { "set_viewsize", _wrap_uiAbstractOptionNode_set_viewsize},
7304  { "set_fullsize", _wrap_uiAbstractOptionNode_set_fullsize},
7305  {0,0}
7306 };
7308  {0,0}
7309 };
7310 
7312  {0,0,0}
7313 };
7315  {0,0,0,0,0,0}
7316 };
7318  {0,0}
7319 };
7321  0
7322 };
7323 
7325  "uiAbstractOptionNode",
7330  0
7331 };
7333 static const char *swig_uiAbstractOptionNode_base_names[] = {"uiNode_t *",0};
7335 
7336 static int _wrap_uiAbstractScrollableNode_viewpos(lua_State* L) {
7337  int SWIG_arg = 0;
7339  int result;
7340 
7341  SWIG_check_num_args("uiAbstractScrollableNode_t::viewpos",1,1)
7342  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewpos",1,"uiAbstractScrollableNode_t *");
7343 
7345  SWIG_fail_ptr("uiAbstractScrollableNode_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7346  }
7347 
7348  result = (int)uiAbstractScrollableNode_t_viewpos(arg1);
7349  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7350  return SWIG_arg;
7351 
7352  if(0) SWIG_fail;
7353 
7354 fail:
7355  lua_error(L);
7356  return SWIG_arg;
7357 }
7358 
7359 
7361  int SWIG_arg = 0;
7363  int result;
7364 
7365  SWIG_check_num_args("uiAbstractScrollableNode_t::viewsize",1,1)
7366  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewsize",1,"uiAbstractScrollableNode_t *");
7367 
7369  SWIG_fail_ptr("uiAbstractScrollableNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7370  }
7371 
7372  result = (int)uiAbstractScrollableNode_t_viewsize(arg1);
7373  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7374  return SWIG_arg;
7375 
7376  if(0) SWIG_fail;
7377 
7378 fail:
7379  lua_error(L);
7380  return SWIG_arg;
7381 }
7382 
7383 
7385  int SWIG_arg = 0;
7387  int result;
7388 
7389  SWIG_check_num_args("uiAbstractScrollableNode_t::fullsize",1,1)
7390  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::fullsize",1,"uiAbstractScrollableNode_t *");
7391 
7393  SWIG_fail_ptr("uiAbstractScrollableNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7394  }
7395 
7396  result = (int)uiAbstractScrollableNode_t_fullsize(arg1);
7397  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7398  return SWIG_arg;
7399 
7400  if(0) SWIG_fail;
7401 
7402 fail:
7403  lua_error(L);
7404  return SWIG_arg;
7405 }
7406 
7407 
7408 static int _wrap_uiAbstractScrollableNode_pageup(lua_State* L) {
7409  int SWIG_arg = 0;
7411 
7412  SWIG_check_num_args("uiAbstractScrollableNode_t::pageup",1,1)
7413  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pageup",1,"uiAbstractScrollableNode_t *");
7414 
7416  SWIG_fail_ptr("uiAbstractScrollableNode_pageup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7417  }
7418 
7420 
7421  return SWIG_arg;
7422 
7423  if(0) SWIG_fail;
7424 
7425 fail:
7426  lua_error(L);
7427  return SWIG_arg;
7428 }
7429 
7430 
7432  int SWIG_arg = 0;
7434 
7435  SWIG_check_num_args("uiAbstractScrollableNode_t::pagedown",1,1)
7436  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pagedown",1,"uiAbstractScrollableNode_t *");
7437 
7439  SWIG_fail_ptr("uiAbstractScrollableNode_pagedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7440  }
7441 
7443 
7444  return SWIG_arg;
7445 
7446  if(0) SWIG_fail;
7447 
7448 fail:
7449  lua_error(L);
7450  return SWIG_arg;
7451 }
7452 
7453 
7454 static int _wrap_uiAbstractScrollableNode_moveup(lua_State* L) {
7455  int SWIG_arg = 0;
7457 
7458  SWIG_check_num_args("uiAbstractScrollableNode_t::moveup",1,1)
7459  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveup",1,"uiAbstractScrollableNode_t *");
7460 
7462  SWIG_fail_ptr("uiAbstractScrollableNode_moveup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7463  }
7464 
7466 
7467  return SWIG_arg;
7468 
7469  if(0) SWIG_fail;
7470 
7471 fail:
7472  lua_error(L);
7473  return SWIG_arg;
7474 }
7475 
7476 
7478  int SWIG_arg = 0;
7480 
7481  SWIG_check_num_args("uiAbstractScrollableNode_t::movedown",1,1)
7482  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movedown",1,"uiAbstractScrollableNode_t *");
7483 
7485  SWIG_fail_ptr("uiAbstractScrollableNode_movedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7486  }
7487 
7489 
7490  return SWIG_arg;
7491 
7492  if(0) SWIG_fail;
7493 
7494 fail:
7495  lua_error(L);
7496  return SWIG_arg;
7497 }
7498 
7499 
7501  int SWIG_arg = 0;
7503 
7504  SWIG_check_num_args("uiAbstractScrollableNode_t::movehome",1,1)
7505  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movehome",1,"uiAbstractScrollableNode_t *");
7506 
7508  SWIG_fail_ptr("uiAbstractScrollableNode_movehome",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7509  }
7510 
7512 
7513  return SWIG_arg;
7514 
7515  if(0) SWIG_fail;
7516 
7517 fail:
7518  lua_error(L);
7519  return SWIG_arg;
7520 }
7521 
7522 
7523 static int _wrap_uiAbstractScrollableNode_moveend(lua_State* L) {
7524  int SWIG_arg = 0;
7526 
7527  SWIG_check_num_args("uiAbstractScrollableNode_t::moveend",1,1)
7528  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveend",1,"uiAbstractScrollableNode_t *");
7529 
7531  SWIG_fail_ptr("uiAbstractScrollableNode_moveend",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7532  }
7533 
7535 
7536  return SWIG_arg;
7537 
7538  if(0) SWIG_fail;
7539 
7540 fail:
7541  lua_error(L);
7542  return SWIG_arg;
7543 }
7544 
7545 
7547  int SWIG_arg = 0;
7549  int arg2 ;
7550 
7551  SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewpos",2,2)
7552  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",1,"uiAbstractScrollableNode_t *");
7553  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",2,"int");
7554 
7556  SWIG_fail_ptr("uiAbstractScrollableNode_set_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7557  }
7558 
7559  arg2 = (int)lua_tonumber(L, 2);
7561 
7562  return SWIG_arg;
7563 
7564  if(0) SWIG_fail;
7565 
7566 fail:
7567  lua_error(L);
7568  return SWIG_arg;
7569 }
7570 
7571 
7573  int SWIG_arg = 0;
7575  int arg2 ;
7576 
7577  SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewsize",2,2)
7578  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",1,"uiAbstractScrollableNode_t *");
7579  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",2,"int");
7580 
7582  SWIG_fail_ptr("uiAbstractScrollableNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7583  }
7584 
7585  arg2 = (int)lua_tonumber(L, 2);
7587 
7588  return SWIG_arg;
7589 
7590  if(0) SWIG_fail;
7591 
7592 fail:
7593  lua_error(L);
7594  return SWIG_arg;
7595 }
7596 
7597 
7599  int SWIG_arg = 0;
7601  int arg2 ;
7602 
7603  SWIG_check_num_args("uiAbstractScrollableNode_t::set_fullsize",2,2)
7604  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",1,"uiAbstractScrollableNode_t *");
7605  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",2,"int");
7606 
7608  SWIG_fail_ptr("uiAbstractScrollableNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7609  }
7610 
7611  arg2 = (int)lua_tonumber(L, 2);
7613 
7614  return SWIG_arg;
7615 
7616  if(0) SWIG_fail;
7617 
7618 fail:
7619  lua_error(L);
7620  return SWIG_arg;
7621 }
7622 
7623 
7625  int SWIG_arg = 0;
7627  LUA_EVENT arg2 ;
7628 
7629  SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",2,2)
7630  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7631 
7633  SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7634  }
7635 
7636  {
7637  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7638  }
7640 
7641  return SWIG_arg;
7642 
7643  if(0) SWIG_fail;
7644 
7645 fail:
7646  lua_error(L);
7647  return SWIG_arg;
7648 }
7649 
7650 
7652  int SWIG_arg = 0;
7654  LUA_EVENT result;
7655 
7656  SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",1,1)
7657  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7658 
7660  SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7661  }
7662 
7664  {
7665  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7666  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7667  }
7668  return SWIG_arg;
7669 
7670  if(0) SWIG_fail;
7671 
7672 fail:
7673  lua_error(L);
7674  return SWIG_arg;
7675 }
7676 
7677 
7678 static int _wrap_new_uiAbstractScrollableNode(lua_State* L) {
7679  int SWIG_arg = 0;
7680  uiAbstractScrollableNode_t *result = 0 ;
7681 
7682  SWIG_check_num_args("uiAbstractScrollableNode_t::uiAbstractScrollableNode_t",0,0)
7685  return SWIG_arg;
7686 
7687  if(0) SWIG_fail;
7688 
7689 fail:
7690  lua_error(L);
7691  return SWIG_arg;
7692 }
7693 
7694 
7697 delete arg1;
7698 }
7700  assert(lua_istable(L,1));
7701  lua_pushcfunction(L,_wrap_new_uiAbstractScrollableNode);
7702  assert(!lua_isnil(L,-1));
7703  lua_replace(L,1); /* replace our table with real constructor */
7704  lua_call(L,lua_gettop(L)-1,1);
7705  return 1;
7706 }
7709  {0,0,0}
7710 };
7724  {0,0}
7725 };
7727  {0,0}
7728 };
7729 
7731  {0,0,0}
7732 };
7734  {0,0,0,0,0,0}
7735 };
7737  {0,0}
7738 };
7740  0
7741 };
7742 
7744  "uiAbstractScrollableNode",
7749  0
7750 };
7752 static const char *swig_uiAbstractScrollableNode_base_names[] = {"uiNode_t *",0};
7754 
7756  int SWIG_arg = 0;
7758  bool result;
7759 
7760  SWIG_check_num_args("uiAbstractScrollbarNode_t::is_autoshowscroll",1,1)
7761  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::is_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7762 
7764  SWIG_fail_ptr("uiAbstractScrollbarNode_is_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7765  }
7766 
7767  result = (bool)uiAbstractScrollbarNode_t_is_autoshowscroll(arg1);
7768  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7769  return SWIG_arg;
7770 
7771  if(0) SWIG_fail;
7772 
7773 fail:
7774  lua_error(L);
7775  return SWIG_arg;
7776 }
7777 
7778 
7779 static int _wrap_uiAbstractScrollbarNode_current(lua_State* L) {
7780  int SWIG_arg = 0;
7782  int result;
7783 
7784  SWIG_check_num_args("uiAbstractScrollbarNode_t::current",1,1)
7785  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::current",1,"uiAbstractScrollbarNode_t *");
7786 
7788  SWIG_fail_ptr("uiAbstractScrollbarNode_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7789  }
7790 
7791  result = (int)uiAbstractScrollbarNode_t_current(arg1);
7792  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7793  return SWIG_arg;
7794 
7795  if(0) SWIG_fail;
7796 
7797 fail:
7798  lua_error(L);
7799  return SWIG_arg;
7800 }
7801 
7802 
7803 static int _wrap_uiAbstractScrollbarNode_viewsize(lua_State* L) {
7804  int SWIG_arg = 0;
7806  int result;
7807 
7808  SWIG_check_num_args("uiAbstractScrollbarNode_t::viewsize",1,1)
7809  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::viewsize",1,"uiAbstractScrollbarNode_t *");
7810 
7812  SWIG_fail_ptr("uiAbstractScrollbarNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7813  }
7814 
7815  result = (int)uiAbstractScrollbarNode_t_viewsize(arg1);
7816  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7817  return SWIG_arg;
7818 
7819  if(0) SWIG_fail;
7820 
7821 fail:
7822  lua_error(L);
7823  return SWIG_arg;
7824 }
7825 
7826 
7827 static int _wrap_uiAbstractScrollbarNode_fullsize(lua_State* L) {
7828  int SWIG_arg = 0;
7830  int result;
7831 
7832  SWIG_check_num_args("uiAbstractScrollbarNode_t::fullsize",1,1)
7833  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::fullsize",1,"uiAbstractScrollbarNode_t *");
7834 
7836  SWIG_fail_ptr("uiAbstractScrollbarNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7837  }
7838 
7839  result = (int)uiAbstractScrollbarNode_t_fullsize(arg1);
7840  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7841  return SWIG_arg;
7842 
7843  if(0) SWIG_fail;
7844 
7845 fail:
7846  lua_error(L);
7847  return SWIG_arg;
7848 }
7849 
7850 
7852  int SWIG_arg = 0;
7854  bool arg2 ;
7855 
7856  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_autoshowscroll",2,2)
7857  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7858  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",2,"bool");
7859 
7861  SWIG_fail_ptr("uiAbstractScrollbarNode_set_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7862  }
7863 
7864  arg2 = (lua_toboolean(L, 2)!=0);
7866 
7867  return SWIG_arg;
7868 
7869  if(0) SWIG_fail;
7870 
7871 fail:
7872  lua_error(L);
7873  return SWIG_arg;
7874 }
7875 
7876 
7878  int SWIG_arg = 0;
7880  int arg2 ;
7881 
7882  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_current",2,2)
7883  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",1,"uiAbstractScrollbarNode_t *");
7884  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",2,"int");
7885 
7887  SWIG_fail_ptr("uiAbstractScrollbarNode_set_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7888  }
7889 
7890  arg2 = (int)lua_tonumber(L, 2);
7892 
7893  return SWIG_arg;
7894 
7895  if(0) SWIG_fail;
7896 
7897 fail:
7898  lua_error(L);
7899  return SWIG_arg;
7900 }
7901 
7902 
7904  int SWIG_arg = 0;
7906  int arg2 ;
7907 
7908  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_viewsize",2,2)
7909  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",1,"uiAbstractScrollbarNode_t *");
7910  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",2,"int");
7911 
7913  SWIG_fail_ptr("uiAbstractScrollbarNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7914  }
7915 
7916  arg2 = (int)lua_tonumber(L, 2);
7918 
7919  return SWIG_arg;
7920 
7921  if(0) SWIG_fail;
7922 
7923 fail:
7924  lua_error(L);
7925  return SWIG_arg;
7926 }
7927 
7928 
7930  int SWIG_arg = 0;
7932  int arg2 ;
7933 
7934  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_fullsize",2,2)
7935  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",1,"uiAbstractScrollbarNode_t *");
7936  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",2,"int");
7937 
7939  SWIG_fail_ptr("uiAbstractScrollbarNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7940  }
7941 
7942  arg2 = (int)lua_tonumber(L, 2);
7944 
7945  return SWIG_arg;
7946 
7947  if(0) SWIG_fail;
7948 
7949 fail:
7950  lua_error(L);
7951  return SWIG_arg;
7952 }
7953 
7954 
7955 static int _wrap_new_uiAbstractScrollbarNode(lua_State* L) {
7956  int SWIG_arg = 0;
7957  uiAbstractScrollbarNode_t *result = 0 ;
7958 
7959  SWIG_check_num_args("uiAbstractScrollbarNode_t::uiAbstractScrollbarNode_t",0,0)
7962  return SWIG_arg;
7963 
7964  if(0) SWIG_fail;
7965 
7966 fail:
7967  lua_error(L);
7968  return SWIG_arg;
7969 }
7970 
7971 
7972 static void swig_delete_uiAbstractScrollbarNode(void *obj) {
7974 delete arg1;
7975 }
7977  assert(lua_istable(L,1));
7978  lua_pushcfunction(L,_wrap_new_uiAbstractScrollbarNode);
7979  assert(!lua_isnil(L,-1));
7980  lua_replace(L,1); /* replace our table with real constructor */
7981  lua_call(L,lua_gettop(L)-1,1);
7982  return 1;
7983 }
7985  {0,0,0}
7986 };
7988  { "is_autoshowscroll", _wrap_uiAbstractScrollbarNode_is_autoshowscroll},
7992  { "set_autoshowscroll", _wrap_uiAbstractScrollbarNode_set_autoshowscroll},
7994  { "set_viewsize", _wrap_uiAbstractScrollbarNode_set_viewsize},
7995  { "set_fullsize", _wrap_uiAbstractScrollbarNode_set_fullsize},
7996  {0,0}
7997 };
7999  {0,0}
8000 };
8001 
8003  {0,0,0}
8004 };
8006  {0,0,0,0,0,0}
8007 };
8009  {0,0}
8010 };
8012  0
8013 };
8014 
8016  "uiAbstractScrollbarNode",
8021  0
8022 };
8024 static const char *swig_uiAbstractScrollbarNode_base_names[] = {"uiNode_t *",0};
8026 
8027 static int _wrap_uiAbstractValueNode_min(lua_State* L) {
8028  int SWIG_arg = 0;
8030  float result;
8031 
8032  SWIG_check_num_args("uiAbstractValueNode_t::min",1,1)
8033  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::min",1,"uiAbstractValueNode_t *");
8034 
8035  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8036  SWIG_fail_ptr("uiAbstractValueNode_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8037  }
8038 
8039  result = (float)uiAbstractValueNode_t_min(arg1);
8040  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8041  return SWIG_arg;
8042 
8043  if(0) SWIG_fail;
8044 
8045 fail:
8046  lua_error(L);
8047  return SWIG_arg;
8048 }
8049 
8050 
8051 static int _wrap_uiAbstractValueNode_max(lua_State* L) {
8052  int SWIG_arg = 0;
8054  float result;
8055 
8056  SWIG_check_num_args("uiAbstractValueNode_t::max",1,1)
8057  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::max",1,"uiAbstractValueNode_t *");
8058 
8059  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8060  SWIG_fail_ptr("uiAbstractValueNode_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8061  }
8062 
8063  result = (float)uiAbstractValueNode_t_max(arg1);
8064  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8065  return SWIG_arg;
8066 
8067  if(0) SWIG_fail;
8068 
8069 fail:
8070  lua_error(L);
8071  return SWIG_arg;
8072 }
8073 
8074 
8075 static int _wrap_uiAbstractValueNode_value(lua_State* L) {
8076  int SWIG_arg = 0;
8078  float result;
8079 
8080  SWIG_check_num_args("uiAbstractValueNode_t::value",1,1)
8081  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::value",1,"uiAbstractValueNode_t *");
8082 
8083  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8084  SWIG_fail_ptr("uiAbstractValueNode_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8085  }
8086 
8087  result = (float)uiAbstractValueNode_t_value(arg1);
8088  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8089  return SWIG_arg;
8090 
8091  if(0) SWIG_fail;
8092 
8093 fail:
8094  lua_error(L);
8095  return SWIG_arg;
8096 }
8097 
8098 
8099 static int _wrap_uiAbstractValueNode_delta(lua_State* L) {
8100  int SWIG_arg = 0;
8102  float result;
8103 
8104  SWIG_check_num_args("uiAbstractValueNode_t::delta",1,1)
8105  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::delta",1,"uiAbstractValueNode_t *");
8106 
8107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8108  SWIG_fail_ptr("uiAbstractValueNode_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8109  }
8110 
8111  result = (float)uiAbstractValueNode_t_delta(arg1);
8112  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8113  return SWIG_arg;
8114 
8115  if(0) SWIG_fail;
8116 
8117 fail:
8118  lua_error(L);
8119  return SWIG_arg;
8120 }
8121 
8122 
8123 static int _wrap_uiAbstractValueNode_lastdiff(lua_State* L) {
8124  int SWIG_arg = 0;
8126  float result;
8127 
8128  SWIG_check_num_args("uiAbstractValueNode_t::lastdiff",1,1)
8129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::lastdiff",1,"uiAbstractValueNode_t *");
8130 
8131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8132  SWIG_fail_ptr("uiAbstractValueNode_lastdiff",1,SWIGTYPE_p_uiAbstractValueNode_t);
8133  }
8134 
8135  result = (float)uiAbstractValueNode_t_lastdiff(arg1);
8136  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8137  return SWIG_arg;
8138 
8139  if(0) SWIG_fail;
8140 
8141 fail:
8142  lua_error(L);
8143  return SWIG_arg;
8144 }
8145 
8146 
8148  int SWIG_arg = 0;
8150  float result;
8151 
8152  SWIG_check_num_args("uiAbstractValueNode_t::shiftmultiplier",1,1)
8153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::shiftmultiplier",1,"uiAbstractValueNode_t *");
8154 
8155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8156  SWIG_fail_ptr("uiAbstractValueNode_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8157  }
8158 
8159  result = (float)uiAbstractValueNode_t_shiftmultiplier(arg1);
8160  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8161  return SWIG_arg;
8162 
8163  if(0) SWIG_fail;
8164 
8165 fail:
8166  lua_error(L);
8167  return SWIG_arg;
8168 }
8169 
8170 
8171 static int _wrap_uiAbstractValueNode_inc_value(lua_State* L) {
8172  int SWIG_arg = 0;
8174 
8175  SWIG_check_num_args("uiAbstractValueNode_t::inc_value",1,1)
8176  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::inc_value",1,"uiAbstractValueNode_t *");
8177 
8178  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8179  SWIG_fail_ptr("uiAbstractValueNode_inc_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8180  }
8181 
8183 
8184  return SWIG_arg;
8185 
8186  if(0) SWIG_fail;
8187 
8188 fail:
8189  lua_error(L);
8190  return SWIG_arg;
8191 }
8192 
8193 
8194 static int _wrap_uiAbstractValueNode_dec_value(lua_State* L) {
8195  int SWIG_arg = 0;
8197 
8198  SWIG_check_num_args("uiAbstractValueNode_t::dec_value",1,1)
8199  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::dec_value",1,"uiAbstractValueNode_t *");
8200 
8201  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8202  SWIG_fail_ptr("uiAbstractValueNode_dec_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8203  }
8204 
8206 
8207  return SWIG_arg;
8208 
8209  if(0) SWIG_fail;
8210 
8211 fail:
8212  lua_error(L);
8213  return SWIG_arg;
8214 }
8215 
8216 
8218  int SWIG_arg = 0;
8220  float arg2 ;
8221  float arg3 ;
8222 
8223  SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8224  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8225  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"float");
8226  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"float");
8227 
8228  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8229  SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8230  }
8231 
8232  arg2 = (float)lua_tonumber(L, 2);
8233  arg3 = (float)lua_tonumber(L, 3);
8235 
8236  return SWIG_arg;
8237 
8238  if(0) SWIG_fail;
8239 
8240 fail:
8241  lua_error(L);
8242  return SWIG_arg;
8243 }
8244 
8245 
8247  int SWIG_arg = 0;
8249  char *arg2 = (char *) 0 ;
8250  char *arg3 = (char *) 0 ;
8251 
8252  SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8253  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8254  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"char const *");
8255  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"char const *");
8256 
8257  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8258  SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8259  }
8260 
8261  arg2 = (char *)lua_tostring(L, 2);
8262  arg3 = (char *)lua_tostring(L, 3);
8263  uiAbstractValueNode_t_set_range__SWIG_1(arg1,(char const *)arg2,(char const *)arg3);
8264 
8265  return SWIG_arg;
8266 
8267  if(0) SWIG_fail;
8268 
8269 fail:
8270  lua_error(L);
8271  return SWIG_arg;
8272 }
8273 
8274 
8275 static int _wrap_uiAbstractValueNode_set_range(lua_State* L) {
8276  int argc;
8277  int argv[4]={
8278  1,2,3,4
8279  };
8280 
8281  argc = lua_gettop(L);
8282  if (argc == 3) {
8283  int _v;
8284  {
8285  void *ptr;
8286  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8287  _v = 0;
8288  } else {
8289  _v = 1;
8290  }
8291  }
8292  if (_v) {
8293  {
8294  _v = lua_isnumber(L,argv[1]);
8295  }
8296  if (_v) {
8297  {
8298  _v = lua_isnumber(L,argv[2]);
8299  }
8300  if (_v) {
8302  }
8303  }
8304  }
8305  }
8306  if (argc == 3) {
8307  int _v;
8308  {
8309  void *ptr;
8310  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8311  _v = 0;
8312  } else {
8313  _v = 1;
8314  }
8315  }
8316  if (_v) {
8317  {
8318  _v = SWIG_lua_isnilstring(L,argv[1]);
8319  }
8320  if (_v) {
8321  {
8322  _v = SWIG_lua_isnilstring(L,argv[2]);
8323  }
8324  if (_v) {
8326  }
8327  }
8328  }
8329  }
8330 
8331  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_range'\n"
8332  " Possible C/C++ prototypes are:\n"
8333  " uiAbstractValueNode_t::set_range(float,float)\n"
8334  " uiAbstractValueNode_t::set_range(char const *,char const *)\n");
8335  lua_error(L);return 0;
8336 }
8337 
8338 
8340  int SWIG_arg = 0;
8342  float arg2 ;
8343 
8344  SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8345  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8346  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"float");
8347 
8348  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8349  SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8350  }
8351 
8352  arg2 = (float)lua_tonumber(L, 2);
8354 
8355  return SWIG_arg;
8356 
8357  if(0) SWIG_fail;
8358 
8359 fail:
8360  lua_error(L);
8361  return SWIG_arg;
8362 }
8363 
8364 
8366  int SWIG_arg = 0;
8368  float arg2 ;
8369 
8370  SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8371  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8372  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"float");
8373 
8374  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8375  SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8376  }
8377 
8378  arg2 = (float)lua_tonumber(L, 2);
8380 
8381  return SWIG_arg;
8382 
8383  if(0) SWIG_fail;
8384 
8385 fail:
8386  lua_error(L);
8387  return SWIG_arg;
8388 }
8389 
8390 
8392  int SWIG_arg = 0;
8394  float arg2 ;
8395 
8396  SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8397  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8398  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"float");
8399 
8400  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8401  SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8402  }
8403 
8404  arg2 = (float)lua_tonumber(L, 2);
8406 
8407  return SWIG_arg;
8408 
8409  if(0) SWIG_fail;
8410 
8411 fail:
8412  lua_error(L);
8413  return SWIG_arg;
8414 }
8415 
8416 
8418  int SWIG_arg = 0;
8420  char *arg2 = (char *) 0 ;
8421 
8422  SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8423  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8424  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"char const *");
8425 
8426  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8427  SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8428  }
8429 
8430  arg2 = (char *)lua_tostring(L, 2);
8431  uiAbstractValueNode_t_set_min__SWIG_1(arg1,(char const *)arg2);
8432 
8433  return SWIG_arg;
8434 
8435  if(0) SWIG_fail;
8436 
8437 fail:
8438  lua_error(L);
8439  return SWIG_arg;
8440 }
8441 
8442 
8443 static int _wrap_uiAbstractValueNode_set_min(lua_State* L) {
8444  int argc;
8445  int argv[3]={
8446  1,2,3
8447  };
8448 
8449  argc = lua_gettop(L);
8450  if (argc == 2) {
8451  int _v;
8452  {
8453  void *ptr;
8454  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8455  _v = 0;
8456  } else {
8457  _v = 1;
8458  }
8459  }
8460  if (_v) {
8461  {
8462  _v = lua_isnumber(L,argv[1]);
8463  }
8464  if (_v) {
8466  }
8467  }
8468  }
8469  if (argc == 2) {
8470  int _v;
8471  {
8472  void *ptr;
8473  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8474  _v = 0;
8475  } else {
8476  _v = 1;
8477  }
8478  }
8479  if (_v) {
8480  {
8481  _v = SWIG_lua_isnilstring(L,argv[1]);
8482  }
8483  if (_v) {
8485  }
8486  }
8487  }
8488 
8489  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_min'\n"
8490  " Possible C/C++ prototypes are:\n"
8491  " uiAbstractValueNode_t::set_min(float)\n"
8492  " uiAbstractValueNode_t::set_min(char const *)\n");
8493  lua_error(L);return 0;
8494 }
8495 
8496 
8498  int SWIG_arg = 0;
8500  char *arg2 = (char *) 0 ;
8501 
8502  SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8503  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8504  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"char const *");
8505 
8506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8507  SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8508  }
8509 
8510  arg2 = (char *)lua_tostring(L, 2);
8511  uiAbstractValueNode_t_set_max__SWIG_1(arg1,(char const *)arg2);
8512 
8513  return SWIG_arg;
8514 
8515  if(0) SWIG_fail;
8516 
8517 fail:
8518  lua_error(L);
8519  return SWIG_arg;
8520 }
8521 
8522 
8523 static int _wrap_uiAbstractValueNode_set_max(lua_State* L) {
8524  int argc;
8525  int argv[3]={
8526  1,2,3
8527  };
8528 
8529  argc = lua_gettop(L);
8530  if (argc == 2) {
8531  int _v;
8532  {
8533  void *ptr;
8534  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8535  _v = 0;
8536  } else {
8537  _v = 1;
8538  }
8539  }
8540  if (_v) {
8541  {
8542  _v = lua_isnumber(L,argv[1]);
8543  }
8544  if (_v) {
8546  }
8547  }
8548  }
8549  if (argc == 2) {
8550  int _v;
8551  {
8552  void *ptr;
8553  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8554  _v = 0;
8555  } else {
8556  _v = 1;
8557  }
8558  }
8559  if (_v) {
8560  {
8561  _v = SWIG_lua_isnilstring(L,argv[1]);
8562  }
8563  if (_v) {
8565  }
8566  }
8567  }
8568 
8569  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_max'\n"
8570  " Possible C/C++ prototypes are:\n"
8571  " uiAbstractValueNode_t::set_max(float)\n"
8572  " uiAbstractValueNode_t::set_max(char const *)\n");
8573  lua_error(L);return 0;
8574 }
8575 
8576 
8578  int SWIG_arg = 0;
8580  char *arg2 = (char *) 0 ;
8581 
8582  SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8583  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8584  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"char const *");
8585 
8586  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8587  SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8588  }
8589 
8590  arg2 = (char *)lua_tostring(L, 2);
8591  uiAbstractValueNode_t_set_value__SWIG_1(arg1,(char const *)arg2);
8592 
8593  return SWIG_arg;
8594 
8595  if(0) SWIG_fail;
8596 
8597 fail:
8598  lua_error(L);
8599  return SWIG_arg;
8600 }
8601 
8602 
8603 static int _wrap_uiAbstractValueNode_set_value(lua_State* L) {
8604  int argc;
8605  int argv[3]={
8606  1,2,3
8607  };
8608 
8609  argc = lua_gettop(L);
8610  if (argc == 2) {
8611  int _v;
8612  {
8613  void *ptr;
8614  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8615  _v = 0;
8616  } else {
8617  _v = 1;
8618  }
8619  }
8620  if (_v) {
8621  {
8622  _v = lua_isnumber(L,argv[1]);
8623  }
8624  if (_v) {
8626  }
8627  }
8628  }
8629  if (argc == 2) {
8630  int _v;
8631  {
8632  void *ptr;
8633  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8634  _v = 0;
8635  } else {
8636  _v = 1;
8637  }
8638  }
8639  if (_v) {
8640  {
8641  _v = SWIG_lua_isnilstring(L,argv[1]);
8642  }
8643  if (_v) {
8645  }
8646  }
8647  }
8648 
8649  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_value'\n"
8650  " Possible C/C++ prototypes are:\n"
8651  " uiAbstractValueNode_t::set_value(float)\n"
8652  " uiAbstractValueNode_t::set_value(char const *)\n");
8653  lua_error(L);return 0;
8654 }
8655 
8656 
8657 static int _wrap_uiAbstractValueNode_set_delta(lua_State* L) {
8658  int SWIG_arg = 0;
8660  float arg2 ;
8661 
8662  SWIG_check_num_args("uiAbstractValueNode_t::set_delta",2,2)
8663  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",1,"uiAbstractValueNode_t *");
8664  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",2,"float");
8665 
8666  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8667  SWIG_fail_ptr("uiAbstractValueNode_set_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8668  }
8669 
8670  arg2 = (float)lua_tonumber(L, 2);
8672 
8673  return SWIG_arg;
8674 
8675  if(0) SWIG_fail;
8676 
8677 fail:
8678  lua_error(L);
8679  return SWIG_arg;
8680 }
8681 
8682 
8684  int SWIG_arg = 0;
8686  float arg2 ;
8687 
8688  SWIG_check_num_args("uiAbstractValueNode_t::set_shiftmultiplier",2,2)
8689  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",1,"uiAbstractValueNode_t *");
8690  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",2,"float");
8691 
8692  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8693  SWIG_fail_ptr("uiAbstractValueNode_set_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8694  }
8695 
8696  arg2 = (float)lua_tonumber(L, 2);
8698 
8699  return SWIG_arg;
8700 
8701  if(0) SWIG_fail;
8702 
8703 fail:
8704  lua_error(L);
8705  return SWIG_arg;
8706 }
8707 
8708 
8709 static int _wrap_new_uiAbstractValueNode(lua_State* L) {
8710  int SWIG_arg = 0;
8711  uiAbstractValueNode_t *result = 0 ;
8712 
8713  SWIG_check_num_args("uiAbstractValueNode_t::uiAbstractValueNode_t",0,0)
8714  result = (uiAbstractValueNode_t *)new uiAbstractValueNode_t();
8715  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiAbstractValueNode_t,1); SWIG_arg++;
8716  return SWIG_arg;
8717 
8718  if(0) SWIG_fail;
8719 
8720 fail:
8721  lua_error(L);
8722  return SWIG_arg;
8723 }
8724 
8725 
8726 static void swig_delete_uiAbstractValueNode(void *obj) {
8728 delete arg1;
8729 }
8730 static int _proxy__wrap_new_uiAbstractValueNode(lua_State *L) {
8731  assert(lua_istable(L,1));
8732  lua_pushcfunction(L,_wrap_new_uiAbstractValueNode);
8733  assert(!lua_isnil(L,-1));
8734  lua_replace(L,1); /* replace our table with real constructor */
8735  lua_call(L,lua_gettop(L)-1,1);
8736  return 1;
8737 }
8739  {0,0,0}
8740 };
8744  { "value", _wrap_uiAbstractValueNode_value},
8745  { "delta", _wrap_uiAbstractValueNode_delta},
8746  { "lastdiff", _wrap_uiAbstractValueNode_lastdiff},
8747  { "shiftmultiplier", _wrap_uiAbstractValueNode_shiftmultiplier},
8748  { "inc_value", _wrap_uiAbstractValueNode_inc_value},
8749  { "dec_value", _wrap_uiAbstractValueNode_dec_value},
8750  { "set_range", _wrap_uiAbstractValueNode_set_range},
8751  { "set_min", _wrap_uiAbstractValueNode_set_min},
8752  { "set_max", _wrap_uiAbstractValueNode_set_max},
8753  { "set_value", _wrap_uiAbstractValueNode_set_value},
8754  { "set_delta", _wrap_uiAbstractValueNode_set_delta},
8755  { "set_shiftmultiplier", _wrap_uiAbstractValueNode_set_shiftmultiplier},
8756  {0,0}
8757 };
8759  {0,0}
8760 };
8761 
8763  {0,0,0}
8764 };
8766  {0,0,0,0,0,0}
8767 };
8769  {0,0}
8770 };
8772  0
8773 };
8774 
8776  "uiAbstractValueNode",
8781  0
8782 };
8784 static const char *swig_uiAbstractValueNode_base_names[] = {"uiNode_t *",0};
8786 
8787 static int _wrap_uiBar_is_readonly(lua_State* L) {
8788  int SWIG_arg = 0;
8789  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8790  bool result;
8791 
8792  SWIG_check_num_args("uiBarNode_t::is_readonly",1,1)
8793  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_readonly",1,"uiBarNode_t *");
8794 
8795  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8796  SWIG_fail_ptr("uiBar_is_readonly",1,SWIGTYPE_p_uiBarNode_t);
8797  }
8798 
8799  result = (bool)uiBarNode_t_is_readonly(arg1);
8800  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8801  return SWIG_arg;
8802 
8803  if(0) SWIG_fail;
8804 
8805 fail:
8806  lua_error(L);
8807  return SWIG_arg;
8808 }
8809 
8810 
8811 static int _wrap_uiBar_is_nohover(lua_State* L) {
8812  int SWIG_arg = 0;
8813  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8814  bool result;
8815 
8816  SWIG_check_num_args("uiBarNode_t::is_nohover",1,1)
8817  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_nohover",1,"uiBarNode_t *");
8818 
8819  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8820  SWIG_fail_ptr("uiBar_is_nohover",1,SWIGTYPE_p_uiBarNode_t);
8821  }
8822 
8823  result = (bool)uiBarNode_t_is_nohover(arg1);
8824  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8825  return SWIG_arg;
8826 
8827  if(0) SWIG_fail;
8828 
8829 fail:
8830  lua_error(L);
8831  return SWIG_arg;
8832 }
8833 
8834 
8835 static int _wrap_uiBar_direction(lua_State* L) {
8836  int SWIG_arg = 0;
8837  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8838  int result;
8839 
8840  SWIG_check_num_args("uiBarNode_t::direction",1,1)
8841  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::direction",1,"uiBarNode_t *");
8842 
8843  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8844  SWIG_fail_ptr("uiBar_direction",1,SWIGTYPE_p_uiBarNode_t);
8845  }
8846 
8847  result = (int)uiBarNode_t_direction(arg1);
8848  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8849  return SWIG_arg;
8850 
8851  if(0) SWIG_fail;
8852 
8853 fail:
8854  lua_error(L);
8855  return SWIG_arg;
8856 }
8857 
8858 
8859 static int _wrap_uiBar_set_direction(lua_State* L) {
8860  int SWIG_arg = 0;
8861  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8862  int arg2 ;
8863 
8864  SWIG_check_num_args("uiBarNode_t::set_direction",2,2)
8865  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_direction",1,"uiBarNode_t *");
8866  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBarNode_t::set_direction",2,"int");
8867 
8868  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8869  SWIG_fail_ptr("uiBar_set_direction",1,SWIGTYPE_p_uiBarNode_t);
8870  }
8871 
8872  arg2 = (int)lua_tonumber(L, 2);
8873  uiBarNode_t_set_direction(arg1,arg2);
8874 
8875  return SWIG_arg;
8876 
8877  if(0) SWIG_fail;
8878 
8879 fail:
8880  lua_error(L);
8881  return SWIG_arg;
8882 }
8883 
8884 
8885 static int _wrap_uiBar_set_readonly(lua_State* L) {
8886  int SWIG_arg = 0;
8887  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8888  bool arg2 ;
8889 
8890  SWIG_check_num_args("uiBarNode_t::set_readonly",2,2)
8891  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_readonly",1,"uiBarNode_t *");
8892  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_readonly",2,"bool");
8893 
8894  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8895  SWIG_fail_ptr("uiBar_set_readonly",1,SWIGTYPE_p_uiBarNode_t);
8896  }
8897 
8898  arg2 = (lua_toboolean(L, 2)!=0);
8899  uiBarNode_t_set_readonly(arg1,arg2);
8900 
8901  return SWIG_arg;
8902 
8903  if(0) SWIG_fail;
8904 
8905 fail:
8906  lua_error(L);
8907  return SWIG_arg;
8908 }
8909 
8910 
8911 static int _wrap_uiBar_set_nohover(lua_State* L) {
8912  int SWIG_arg = 0;
8913  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8914  bool arg2 ;
8915 
8916  SWIG_check_num_args("uiBarNode_t::set_nohover",2,2)
8917  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_nohover",1,"uiBarNode_t *");
8918  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_nohover",2,"bool");
8919 
8920  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8921  SWIG_fail_ptr("uiBar_set_nohover",1,SWIGTYPE_p_uiBarNode_t);
8922  }
8923 
8924  arg2 = (lua_toboolean(L, 2)!=0);
8925  uiBarNode_t_set_nohover(arg1,arg2);
8926 
8927  return SWIG_arg;
8928 
8929  if(0) SWIG_fail;
8930 
8931 fail:
8932  lua_error(L);
8933  return SWIG_arg;
8934 }
8935 
8936 
8937 static int _wrap_new_uiBar(lua_State* L) {
8938  int SWIG_arg = 0;
8939  uiBarNode_t *result = 0 ;
8940 
8941  SWIG_check_num_args("uiBarNode_t::uiBarNode_t",0,0)
8942  result = (uiBarNode_t *)new uiBarNode_t();
8943  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,1); SWIG_arg++;
8944  return SWIG_arg;
8945 
8946  if(0) SWIG_fail;
8947 
8948 fail:
8949  lua_error(L);
8950  return SWIG_arg;
8951 }
8952 
8953 
8954 static void swig_delete_uiBar(void *obj) {
8955 uiBarNode_t *arg1 = (uiBarNode_t *) obj;
8956 delete arg1;
8957 }
8958 static int _proxy__wrap_new_uiBar(lua_State *L) {
8959  assert(lua_istable(L,1));
8960  lua_pushcfunction(L,_wrap_new_uiBar);
8961  assert(!lua_isnil(L,-1));
8962  lua_replace(L,1); /* replace our table with real constructor */
8963  lua_call(L,lua_gettop(L)-1,1);
8964  return 1;
8965 }
8967  {0,0,0}
8968 };
8970  { "is_readonly", _wrap_uiBar_is_readonly},
8971  { "is_nohover", _wrap_uiBar_is_nohover},
8972  { "direction", _wrap_uiBar_direction},
8973  { "set_direction", _wrap_uiBar_set_direction},
8974  { "set_readonly", _wrap_uiBar_set_readonly},
8975  { "set_nohover", _wrap_uiBar_set_nohover},
8976  {0,0}
8977 };
8979  {0,0}
8980 };
8981 
8983  {0,0,0}
8984 };
8986  {0,0,0,0,0,0}
8987 };
8989  {0,0}
8990 };
8992  0
8993 };
8994 
8996  "uiBar",
9001  0
9002 };
9004 static const char *swig_uiBar_base_names[] = {"uiAbstractValueNode_t *",0};
9006 
9007 static int _wrap_uiBaseLayout_baseid(lua_State* L) {
9008  int SWIG_arg = 0;
9009  uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) 0 ;
9010  int result;
9011 
9012  SWIG_check_num_args("uiBaseLayoutNode_t::baseid",1,1)
9013  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::baseid",1,"uiBaseLayoutNode_t *");
9014 
9015  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9016  SWIG_fail_ptr("uiBaseLayout_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9017  }
9018 
9019  result = (int)uiBaseLayoutNode_t_baseid(arg1);
9020  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9021  return SWIG_arg;
9022 
9023  if(0) SWIG_fail;
9024 
9025 fail:
9026  lua_error(L);
9027  return SWIG_arg;
9028 }
9029 
9030 
9031 static int _wrap_uiBaseLayout_set_baseid(lua_State* L) {
9032  int SWIG_arg = 0;
9033  uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) 0 ;
9034  int arg2 ;
9035 
9036  SWIG_check_num_args("uiBaseLayoutNode_t::set_baseid",2,2)
9037  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",1,"uiBaseLayoutNode_t *");
9038  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",2,"int");
9039 
9040  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9041  SWIG_fail_ptr("uiBaseLayout_set_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9042  }
9043 
9044  arg2 = (int)lua_tonumber(L, 2);
9045  uiBaseLayoutNode_t_set_baseid(arg1,arg2);
9046 
9047  return SWIG_arg;
9048 
9049  if(0) SWIG_fail;
9050 
9051 fail:
9052  lua_error(L);
9053  return SWIG_arg;
9054 }
9055 
9056 
9057 static int _wrap_new_uiBaseLayout(lua_State* L) {
9058  int SWIG_arg = 0;
9059  uiBaseLayoutNode_t *result = 0 ;
9060 
9061  SWIG_check_num_args("uiBaseLayoutNode_t::uiBaseLayoutNode_t",0,0)
9062  result = (uiBaseLayoutNode_t *)new uiBaseLayoutNode_t();
9063  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,1); SWIG_arg++;
9064  return SWIG_arg;
9065 
9066  if(0) SWIG_fail;
9067 
9068 fail:
9069  lua_error(L);
9070  return SWIG_arg;
9071 }
9072 
9073 
9074 static void swig_delete_uiBaseLayout(void *obj) {
9075 uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) obj;
9076 delete arg1;
9077 }
9078 static int _proxy__wrap_new_uiBaseLayout(lua_State *L) {
9079  assert(lua_istable(L,1));
9080  lua_pushcfunction(L,_wrap_new_uiBaseLayout);
9081  assert(!lua_isnil(L,-1));
9082  lua_replace(L,1); /* replace our table with real constructor */
9083  lua_call(L,lua_gettop(L)-1,1);
9084  return 1;
9085 }
9087  {0,0,0}
9088 };
9090  { "baseid", _wrap_uiBaseLayout_baseid},
9091  { "set_baseid", _wrap_uiBaseLayout_set_baseid},
9092  {0,0}
9093 };
9095  {0,0}
9096 };
9097 
9099  {0,0,0}
9100 };
9102  {0,0,0,0,0,0}
9103 };
9105  {0,0}
9106 };
9108  0
9109 };
9110 
9112  "uiBaseLayout",
9117  0
9118 };
9120 static const char *swig_uiBaseLayout_base_names[] = {"uiNode_t *",0};
9122 
9123 static int _wrap_uiButton_flipicon(lua_State* L) {
9124  int SWIG_arg = 0;
9125  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9126  bool result;
9127 
9128  SWIG_check_num_args("uiButtonNode_t::flipicon",1,1)
9129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::flipicon",1,"uiButtonNode_t *");
9130 
9131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9132  SWIG_fail_ptr("uiButton_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9133  }
9134 
9135  result = (bool)uiButtonNode_t_flipicon(arg1);
9136  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9137  return SWIG_arg;
9138 
9139  if(0) SWIG_fail;
9140 
9141 fail:
9142  lua_error(L);
9143  return SWIG_arg;
9144 }
9145 
9146 
9147 static int _wrap_uiButton_set_flipicon(lua_State* L) {
9148  int SWIG_arg = 0;
9149  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9150  bool arg2 ;
9151 
9152  SWIG_check_num_args("uiButtonNode_t::set_flipicon",2,2)
9153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",1,"uiButtonNode_t *");
9154  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",2,"bool");
9155 
9156  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9157  SWIG_fail_ptr("uiButton_set_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9158  }
9159 
9160  arg2 = (lua_toboolean(L, 2)!=0);
9161  uiButtonNode_t_set_flipicon(arg1,arg2);
9162 
9163  return SWIG_arg;
9164 
9165  if(0) SWIG_fail;
9166 
9167 fail:
9168  lua_error(L);
9169  return SWIG_arg;
9170 }
9171 
9172 
9173 static int _wrap_uiButton_set_background(lua_State* L) {
9174  int SWIG_arg = 0;
9175  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9176  char *arg2 = (char *) 0 ;
9177 
9178  SWIG_check_num_args("uiButtonNode_t::set_background",2,2)
9179  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_background",1,"uiButtonNode_t *");
9180  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_background",2,"char const *");
9181 
9182  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9183  SWIG_fail_ptr("uiButton_set_background",1,SWIGTYPE_p_uiButtonNode_t);
9184  }
9185 
9186  arg2 = (char *)lua_tostring(L, 2);
9187  uiButtonNode_t_set_background(arg1,(char const *)arg2);
9188 
9189  return SWIG_arg;
9190 
9191  if(0) SWIG_fail;
9192 
9193 fail:
9194  lua_error(L);
9195  return SWIG_arg;
9196 }
9197 
9198 
9199 static int _wrap_uiButton_set_icon(lua_State* L) {
9200  int SWIG_arg = 0;
9201  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9202  char *arg2 = (char *) 0 ;
9203 
9204  SWIG_check_num_args("uiButtonNode_t::set_icon",2,2)
9205  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_icon",1,"uiButtonNode_t *");
9206  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_icon",2,"char const *");
9207 
9208  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9209  SWIG_fail_ptr("uiButton_set_icon",1,SWIGTYPE_p_uiButtonNode_t);
9210  }
9211 
9212  arg2 = (char *)lua_tostring(L, 2);
9213  uiButtonNode_t_set_icon(arg1,(char const *)arg2);
9214 
9215  return SWIG_arg;
9216 
9217  if(0) SWIG_fail;
9218 
9219 fail:
9220  lua_error(L);
9221  return SWIG_arg;
9222 }
9223 
9224 
9225 static int _wrap_new_uiButton(lua_State* L) {
9226  int SWIG_arg = 0;
9227  uiButtonNode_t *result = 0 ;
9228 
9229  SWIG_check_num_args("uiButtonNode_t::uiButtonNode_t",0,0)
9230  result = (uiButtonNode_t *)new uiButtonNode_t();
9231  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,1); SWIG_arg++;
9232  return SWIG_arg;
9233 
9234  if(0) SWIG_fail;
9235 
9236 fail:
9237  lua_error(L);
9238  return SWIG_arg;
9239 }
9240 
9241 
9242 static void swig_delete_uiButton(void *obj) {
9243 uiButtonNode_t *arg1 = (uiButtonNode_t *) obj;
9244 delete arg1;
9245 }
9246 static int _proxy__wrap_new_uiButton(lua_State *L) {
9247  assert(lua_istable(L,1));
9248  lua_pushcfunction(L,_wrap_new_uiButton);
9249  assert(!lua_isnil(L,-1));
9250  lua_replace(L,1); /* replace our table with real constructor */
9251  lua_call(L,lua_gettop(L)-1,1);
9252  return 1;
9253 }
9255  {0,0,0}
9256 };
9258  { "flipicon", _wrap_uiButton_flipicon},
9259  { "set_flipicon", _wrap_uiButton_set_flipicon},
9260  { "set_background", _wrap_uiButton_set_background},
9261  { "set_icon", _wrap_uiButton_set_icon},
9262  {0,0}
9263 };
9265  {0,0}
9266 };
9267 
9269  {0,0,0}
9270 };
9272  {0,0,0,0,0,0}
9273 };
9275  {0,0}
9276 };
9278  0
9279 };
9280 
9282  "uiButton",
9287  0
9288 };
9290 static const char *swig_uiButton_base_names[] = {"uiNode_t *",0};
9292 
9293 static int _wrap_uiCheckBox_as_boolean(lua_State* L) {
9294  int SWIG_arg = 0;
9295  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9296  bool result;
9297 
9298  SWIG_check_num_args("uiCheckBoxNode_t::as_boolean",1,1)
9299  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_boolean",1,"uiCheckBoxNode_t *");
9300 
9301  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9302  SWIG_fail_ptr("uiCheckBox_as_boolean",1,SWIGTYPE_p_uiCheckBoxNode_t);
9303  }
9304 
9305  result = (bool)uiCheckBoxNode_t_as_boolean(arg1);
9306  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9307  return SWIG_arg;
9308 
9309  if(0) SWIG_fail;
9310 
9311 fail:
9312  lua_error(L);
9313  return SWIG_arg;
9314 }
9315 
9316 
9317 static int _wrap_uiCheckBox_as_integer(lua_State* L) {
9318  int SWIG_arg = 0;
9319  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9320  int result;
9321 
9322  SWIG_check_num_args("uiCheckBoxNode_t::as_integer",1,1)
9323  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_integer",1,"uiCheckBoxNode_t *");
9324 
9325  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9326  SWIG_fail_ptr("uiCheckBox_as_integer",1,SWIGTYPE_p_uiCheckBoxNode_t);
9327  }
9328 
9329  result = (int)uiCheckBoxNode_t_as_integer(arg1);
9330  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9331  return SWIG_arg;
9332 
9333  if(0) SWIG_fail;
9334 
9335 fail:
9336  lua_error(L);
9337  return SWIG_arg;
9338 }
9339 
9340 
9341 static int _wrap_uiCheckBox_set_background(lua_State* L) {
9342  int SWIG_arg = 0;
9343  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9344  char *arg2 = (char *) 0 ;
9345 
9346  SWIG_check_num_args("uiCheckBoxNode_t::set_background",2,2)
9347  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",1,"uiCheckBoxNode_t *");
9348  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",2,"char const *");
9349 
9350  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9351  SWIG_fail_ptr("uiCheckBox_set_background",1,SWIGTYPE_p_uiCheckBoxNode_t);
9352  }
9353 
9354  arg2 = (char *)lua_tostring(L, 2);
9355  uiCheckBoxNode_t_set_background(arg1,(char const *)arg2);
9356 
9357  return SWIG_arg;
9358 
9359  if(0) SWIG_fail;
9360 
9361 fail:
9362  lua_error(L);
9363  return SWIG_arg;
9364 }
9365 
9366 
9367 static int _wrap_uiCheckBox_set_iconchecked(lua_State* L) {
9368  int SWIG_arg = 0;
9369  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9370  char *arg2 = (char *) 0 ;
9371 
9372  SWIG_check_num_args("uiCheckBoxNode_t::set_iconchecked",2,2)
9373  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",1,"uiCheckBoxNode_t *");
9374  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",2,"char const *");
9375 
9376  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9377  SWIG_fail_ptr("uiCheckBox_set_iconchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9378  }
9379 
9380  arg2 = (char *)lua_tostring(L, 2);
9381  uiCheckBoxNode_t_set_iconchecked(arg1,(char const *)arg2);
9382 
9383  return SWIG_arg;
9384 
9385  if(0) SWIG_fail;
9386 
9387 fail:
9388  lua_error(L);
9389  return SWIG_arg;
9390 }
9391 
9392 
9393 static int _wrap_uiCheckBox_set_iconunchecked(lua_State* L) {
9394  int SWIG_arg = 0;
9395  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9396  char *arg2 = (char *) 0 ;
9397 
9398  SWIG_check_num_args("uiCheckBoxNode_t::set_iconunchecked",2,2)
9399  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",1,"uiCheckBoxNode_t *");
9400  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",2,"char const *");
9401 
9402  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9403  SWIG_fail_ptr("uiCheckBox_set_iconunchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9404  }
9405 
9406  arg2 = (char *)lua_tostring(L, 2);
9407  uiCheckBoxNode_t_set_iconunchecked(arg1,(char const *)arg2);
9408 
9409  return SWIG_arg;
9410 
9411  if(0) SWIG_fail;
9412 
9413 fail:
9414  lua_error(L);
9415  return SWIG_arg;
9416 }
9417 
9418 
9419 static int _wrap_uiCheckBox_set_iconunknown(lua_State* L) {
9420  int SWIG_arg = 0;
9421  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9422  char *arg2 = (char *) 0 ;
9423 
9424  SWIG_check_num_args("uiCheckBoxNode_t::set_iconunknown",2,2)
9425  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",1,"uiCheckBoxNode_t *");
9426  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",2,"char const *");
9427 
9428  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9429  SWIG_fail_ptr("uiCheckBox_set_iconunknown",1,SWIGTYPE_p_uiCheckBoxNode_t);
9430  }
9431 
9432  arg2 = (char *)lua_tostring(L, 2);
9433  uiCheckBoxNode_t_set_iconunknown(arg1,(char const *)arg2);
9434 
9435  return SWIG_arg;
9436 
9437  if(0) SWIG_fail;
9438 
9439 fail:
9440  lua_error(L);
9441  return SWIG_arg;
9442 }
9443 
9444 
9445 static int _wrap_uiCheckBox_toggle(lua_State* L) {
9446  int SWIG_arg = 0;
9447  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9448 
9449  SWIG_check_num_args("uiCheckBoxNode_t::toggle",1,1)
9450  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::toggle",1,"uiCheckBoxNode_t *");
9451 
9452  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9453  SWIG_fail_ptr("uiCheckBox_toggle",1,SWIGTYPE_p_uiCheckBoxNode_t);
9454  }
9455 
9457 
9458  return SWIG_arg;
9459 
9460  if(0) SWIG_fail;
9461 
9462 fail:
9463  lua_error(L);
9464  return SWIG_arg;
9465 }
9466 
9467 
9468 static int _wrap_new_uiCheckBox(lua_State* L) {
9469  int SWIG_arg = 0;
9470  uiCheckBoxNode_t *result = 0 ;
9471 
9472  SWIG_check_num_args("uiCheckBoxNode_t::uiCheckBoxNode_t",0,0)
9473  result = (uiCheckBoxNode_t *)new uiCheckBoxNode_t();
9474  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,1); SWIG_arg++;
9475  return SWIG_arg;
9476 
9477  if(0) SWIG_fail;
9478 
9479 fail:
9480  lua_error(L);
9481  return SWIG_arg;
9482 }
9483 
9484 
9485 static void swig_delete_uiCheckBox(void *obj) {
9486 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) obj;
9487 delete arg1;
9488 }
9489 static int _proxy__wrap_new_uiCheckBox(lua_State *L) {
9490  assert(lua_istable(L,1));
9491  lua_pushcfunction(L,_wrap_new_uiCheckBox);
9492  assert(!lua_isnil(L,-1));
9493  lua_replace(L,1); /* replace our table with real constructor */
9494  lua_call(L,lua_gettop(L)-1,1);
9495  return 1;
9496 }
9498  {0,0,0}
9499 };
9501  { "as_boolean", _wrap_uiCheckBox_as_boolean},
9502  { "as_integer", _wrap_uiCheckBox_as_integer},
9503  { "set_background", _wrap_uiCheckBox_set_background},
9504  { "set_iconchecked", _wrap_uiCheckBox_set_iconchecked},
9505  { "set_iconunchecked", _wrap_uiCheckBox_set_iconunchecked},
9506  { "set_iconunknown", _wrap_uiCheckBox_set_iconunknown},
9507  { "toggle", _wrap_uiCheckBox_toggle},
9508  {0,0}
9509 };
9511  {0,0}
9512 };
9513 
9515  {0,0,0}
9516 };
9518  {0,0,0,0,0,0}
9519 };
9521  {0,0}
9522 };
9524  0
9525 };
9526 
9528  "uiCheckBox",
9533  0
9534 };
9536 static const char *swig_uiCheckBox_base_names[] = {"uiAbstractValueNode_t *",0};
9538 
9539 static int _wrap_new_uiConFunc(lua_State* L) {
9540  int SWIG_arg = 0;
9541  uiConFuncNode_t *result = 0 ;
9542 
9543  SWIG_check_num_args("uiConFuncNode_t::uiConFuncNode_t",0,0)
9544  result = (uiConFuncNode_t *)new uiConFuncNode_t();
9545  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,1); SWIG_arg++;
9546  return SWIG_arg;
9547 
9548  if(0) SWIG_fail;
9549 
9550 fail:
9551  lua_error(L);
9552  return SWIG_arg;
9553 }
9554 
9555 
9556 static void swig_delete_uiConFunc(void *obj) {
9557 uiConFuncNode_t *arg1 = (uiConFuncNode_t *) obj;
9558 delete arg1;
9559 }
9560 static int _proxy__wrap_new_uiConFunc(lua_State *L) {
9561  assert(lua_istable(L,1));
9562  lua_pushcfunction(L,_wrap_new_uiConFunc);
9563  assert(!lua_isnil(L,-1));
9564  lua_replace(L,1); /* replace our table with real constructor */
9565  lua_call(L,lua_gettop(L)-1,1);
9566  return 1;
9567 }
9569  {0,0,0}
9570 };
9572  {0,0}
9573 };
9575  {0,0}
9576 };
9577 
9579  {0,0,0}
9580 };
9582  {0,0,0,0,0,0}
9583 };
9585  {0,0}
9586 };
9588  0
9589 };
9590 
9592  "uiConFunc",
9597  0
9598 };
9600 static const char *swig_uiConFunc_base_names[] = {"uiNode_t *",0};
9602 
9603 static int _wrap_uiContainer_selectedid(lua_State* L) {
9604  int SWIG_arg = 0;
9605  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9606  int result;
9607 
9608  SWIG_check_num_args("uiContainerNode_t::selectedid",1,1)
9609  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::selectedid",1,"uiContainerNode_t *");
9610 
9611  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9612  SWIG_fail_ptr("uiContainer_selectedid",1,SWIGTYPE_p_uiContainerNode_t);
9613  }
9614 
9615  result = (int)uiContainerNode_t_selectedid(arg1);
9616  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9617  return SWIG_arg;
9618 
9619  if(0) SWIG_fail;
9620 
9621 fail:
9622  lua_error(L);
9623  return SWIG_arg;
9624 }
9625 
9626 
9627 static int _wrap_uiContainer_on_select_set(lua_State* L) {
9628  int SWIG_arg = 0;
9629  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9630  LUA_EVENT arg2 ;
9631 
9632  SWIG_check_num_args("uiContainerNode_t::lua_onSelect",2,2)
9633  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9634 
9635  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9636  SWIG_fail_ptr("uiContainer_on_select_set",1,SWIGTYPE_p_uiContainerNode_t);
9637  }
9638 
9639  {
9640  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
9641  }
9643 
9644  return SWIG_arg;
9645 
9646  if(0) SWIG_fail;
9647 
9648 fail:
9649  lua_error(L);
9650  return SWIG_arg;
9651 }
9652 
9653 
9654 static int _wrap_uiContainer_on_select_get(lua_State* L) {
9655  int SWIG_arg = 0;
9656  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9657  LUA_EVENT result;
9658 
9659  SWIG_check_num_args("uiContainerNode_t::lua_onSelect",1,1)
9660  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9661 
9662  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9663  SWIG_fail_ptr("uiContainer_on_select_get",1,SWIGTYPE_p_uiContainerNode_t);
9664  }
9665 
9666  result = uiContainerNode_t_lua_onSelect_get(arg1);
9667  {
9668  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
9669  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
9670  }
9671  return SWIG_arg;
9672 
9673  if(0) SWIG_fail;
9674 
9675 fail:
9676  lua_error(L);
9677  return SWIG_arg;
9678 }
9679 
9680 
9681 static int _wrap_new_uiContainer(lua_State* L) {
9682  int SWIG_arg = 0;
9683  uiContainerNode_t *result = 0 ;
9684 
9685  SWIG_check_num_args("uiContainerNode_t::uiContainerNode_t",0,0)
9686  result = (uiContainerNode_t *)new uiContainerNode_t();
9687  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,1); SWIG_arg++;
9688  return SWIG_arg;
9689 
9690  if(0) SWIG_fail;
9691 
9692 fail:
9693  lua_error(L);
9694  return SWIG_arg;
9695 }
9696 
9697 
9698 static void swig_delete_uiContainer(void *obj) {
9699 uiContainerNode_t *arg1 = (uiContainerNode_t *) obj;
9700 delete arg1;
9701 }
9702 static int _proxy__wrap_new_uiContainer(lua_State *L) {
9703  assert(lua_istable(L,1));
9704  lua_pushcfunction(L,_wrap_new_uiContainer);
9705  assert(!lua_isnil(L,-1));
9706  lua_replace(L,1); /* replace our table with real constructor */
9707  lua_call(L,lua_gettop(L)-1,1);
9708  return 1;
9709 }
9712  {0,0,0}
9713 };
9715  { "selectedid", _wrap_uiContainer_selectedid},
9716  {0,0}
9717 };
9719  {0,0}
9720 };
9721 
9723  {0,0,0}
9724 };
9726  {0,0,0,0,0,0}
9727 };
9729  {0,0}
9730 };
9732  0
9733 };
9734 
9736  "uiContainer",
9741  0
9742 };
9744 static const char *swig_uiContainer_base_names[] = {"uiNode_t *",0};
9746 
9747 static int _wrap_uiBaseInventory_filtertype(lua_State* L) {
9748  int SWIG_arg = 0;
9750  int result;
9751 
9752  SWIG_check_num_args("uiBaseInventoryNode_t::filtertype",1,1)
9753  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::filtertype",1,"uiBaseInventoryNode_t *");
9754 
9755  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9756  SWIG_fail_ptr("uiBaseInventory_filtertype",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9757  }
9758 
9759  result = (int)uiBaseInventoryNode_t_filtertype(arg1);
9760  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9761  return SWIG_arg;
9762 
9763  if(0) SWIG_fail;
9764 
9765 fail:
9766  lua_error(L);
9767  return SWIG_arg;
9768 }
9769 
9770 
9771 static int _wrap_uiBaseInventory_columns(lua_State* L) {
9772  int SWIG_arg = 0;
9774  int result;
9775 
9776  SWIG_check_num_args("uiBaseInventoryNode_t::columns",1,1)
9777  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::columns",1,"uiBaseInventoryNode_t *");
9778 
9779  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9780  SWIG_fail_ptr("uiBaseInventory_columns",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9781  }
9782 
9783  result = (int)uiBaseInventoryNode_t_columns(arg1);
9784  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9785  return SWIG_arg;
9786 
9787  if(0) SWIG_fail;
9788 
9789 fail:
9790  lua_error(L);
9791  return SWIG_arg;
9792 }
9793 
9794 
9795 static int _wrap_uiBaseInventory_is_displayweapon(lua_State* L) {
9796  int SWIG_arg = 0;
9798  bool result;
9799 
9800  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweapon",1,1)
9801  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweapon",1,"uiBaseInventoryNode_t *");
9802 
9803  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9804  SWIG_fail_ptr("uiBaseInventory_is_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9805  }
9806 
9807  result = (bool)uiBaseInventoryNode_t_is_displayweapon(arg1);
9808  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9809  return SWIG_arg;
9810 
9811  if(0) SWIG_fail;
9812 
9813 fail:
9814  lua_error(L);
9815  return SWIG_arg;
9816 }
9817 
9818 
9820  int SWIG_arg = 0;
9822  bool result;
9823 
9824  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweaponammo",1,1)
9825  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweaponammo",1,"uiBaseInventoryNode_t *");
9826 
9827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9828  SWIG_fail_ptr("uiBaseInventory_is_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9829  }
9830 
9831  result = (bool)uiBaseInventoryNode_t_is_displayweaponammo(arg1);
9832  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9833  return SWIG_arg;
9834 
9835  if(0) SWIG_fail;
9836 
9837 fail:
9838  lua_error(L);
9839  return SWIG_arg;
9840 }
9841 
9842 
9843 static int _wrap_uiBaseInventory_is_displayammo(lua_State* L) {
9844  int SWIG_arg = 0;
9846  bool result;
9847 
9848  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayammo",1,1)
9849  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayammo",1,"uiBaseInventoryNode_t *");
9850 
9851  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9852  SWIG_fail_ptr("uiBaseInventory_is_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9853  }
9854 
9855  result = (bool)uiBaseInventoryNode_t_is_displayammo(arg1);
9856  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9857  return SWIG_arg;
9858 
9859  if(0) SWIG_fail;
9860 
9861 fail:
9862  lua_error(L);
9863  return SWIG_arg;
9864 }
9865 
9866 
9868  int SWIG_arg = 0;
9870  bool result;
9871 
9872  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayimplant",1,1)
9873  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayimplant",1,"uiBaseInventoryNode_t *");
9874 
9875  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9876  SWIG_fail_ptr("uiBaseInventory_is_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9877  }
9878 
9879  result = (bool)uiBaseInventoryNode_t_is_displayimplant(arg1);
9880  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9881  return SWIG_arg;
9882 
9883  if(0) SWIG_fail;
9884 
9885 fail:
9886  lua_error(L);
9887  return SWIG_arg;
9888 }
9889 
9890 
9892  int SWIG_arg = 0;
9894  bool result;
9895 
9896  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailable",1,1)
9897  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailable",1,"uiBaseInventoryNode_t *");
9898 
9899  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9900  SWIG_fail_ptr("uiBaseInventory_is_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9901  }
9902 
9903  result = (bool)uiBaseInventoryNode_t_is_displayunavailable(arg1);
9904  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9905  return SWIG_arg;
9906 
9907  if(0) SWIG_fail;
9908 
9909 fail:
9910  lua_error(L);
9911  return SWIG_arg;
9912 }
9913 
9914 
9916  int SWIG_arg = 0;
9918  bool result;
9919 
9920  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailableammo",1,1)
9921  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailableammo",1,"uiBaseInventoryNode_t *");
9922 
9923  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9924  SWIG_fail_ptr("uiBaseInventory_is_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9925  }
9926 
9928  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9929  return SWIG_arg;
9930 
9931  if(0) SWIG_fail;
9932 
9933 fail:
9934  lua_error(L);
9935  return SWIG_arg;
9936 }
9937 
9938 
9940  int SWIG_arg = 0;
9942  bool result;
9943 
9944  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayavailableontop",1,1)
9945  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayavailableontop",1,"uiBaseInventoryNode_t *");
9946 
9947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9948  SWIG_fail_ptr("uiBaseInventory_is_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9949  }
9950 
9952  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9953  return SWIG_arg;
9954 
9955  if(0) SWIG_fail;
9956 
9957 fail:
9958  lua_error(L);
9959  return SWIG_arg;
9960 }
9961 
9962 
9964  int SWIG_arg = 0;
9966  bool arg2 ;
9967 
9968  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweapon",2,2)
9969  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",1,"uiBaseInventoryNode_t *");
9970  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",2,"bool");
9971 
9972  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9973  SWIG_fail_ptr("uiBaseInventory_set_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9974  }
9975 
9976  arg2 = (lua_toboolean(L, 2)!=0);
9978 
9979  return SWIG_arg;
9980 
9981  if(0) SWIG_fail;
9982 
9983 fail:
9984  lua_error(L);
9985  return SWIG_arg;
9986 }
9987 
9988 
9990  int SWIG_arg = 0;
9992  bool arg2 ;
9993 
9994  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweaponammo",2,2)
9995  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",1,"uiBaseInventoryNode_t *");
9996  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",2,"bool");
9997 
9998  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9999  SWIG_fail_ptr("uiBaseInventory_set_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10000  }
10001 
10002  arg2 = (lua_toboolean(L, 2)!=0);
10004 
10005  return SWIG_arg;
10006 
10007  if(0) SWIG_fail;
10008 
10009 fail:
10010  lua_error(L);
10011  return SWIG_arg;
10012 }
10013 
10014 
10015 static int _wrap_uiBaseInventory_set_displayammo(lua_State* L) {
10016  int SWIG_arg = 0;
10018  bool arg2 ;
10019 
10020  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayammo",2,2)
10021  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",1,"uiBaseInventoryNode_t *");
10022  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",2,"bool");
10023 
10024  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10025  SWIG_fail_ptr("uiBaseInventory_set_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10026  }
10027 
10028  arg2 = (lua_toboolean(L, 2)!=0);
10030 
10031  return SWIG_arg;
10032 
10033  if(0) SWIG_fail;
10034 
10035 fail:
10036  lua_error(L);
10037  return SWIG_arg;
10038 }
10039 
10040 
10042  int SWIG_arg = 0;
10044  bool arg2 ;
10045 
10046  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayimplant",2,2)
10047  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",1,"uiBaseInventoryNode_t *");
10048  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",2,"bool");
10049 
10050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10051  SWIG_fail_ptr("uiBaseInventory_set_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10052  }
10053 
10054  arg2 = (lua_toboolean(L, 2)!=0);
10056 
10057  return SWIG_arg;
10058 
10059  if(0) SWIG_fail;
10060 
10061 fail:
10062  lua_error(L);
10063  return SWIG_arg;
10064 }
10065 
10066 
10068  int SWIG_arg = 0;
10070  bool arg2 ;
10071 
10072  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailable",2,2)
10073  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",1,"uiBaseInventoryNode_t *");
10074  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",2,"bool");
10075 
10076  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10077  SWIG_fail_ptr("uiBaseInventory_set_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10078  }
10079 
10080  arg2 = (lua_toboolean(L, 2)!=0);
10082 
10083  return SWIG_arg;
10084 
10085  if(0) SWIG_fail;
10086 
10087 fail:
10088  lua_error(L);
10089  return SWIG_arg;
10090 }
10091 
10092 
10094  int SWIG_arg = 0;
10096  bool arg2 ;
10097 
10098  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailableammo",2,2)
10099  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",1,"uiBaseInventoryNode_t *");
10100  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",2,"bool");
10101 
10102  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10103  SWIG_fail_ptr("uiBaseInventory_set_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10104  }
10105 
10106  arg2 = (lua_toboolean(L, 2)!=0);
10108 
10109  return SWIG_arg;
10110 
10111  if(0) SWIG_fail;
10112 
10113 fail:
10114  lua_error(L);
10115  return SWIG_arg;
10116 }
10117 
10118 
10120  int SWIG_arg = 0;
10122  bool arg2 ;
10123 
10124  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayavailableontop",2,2)
10125  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",1,"uiBaseInventoryNode_t *");
10126  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",2,"bool");
10127 
10128  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10129  SWIG_fail_ptr("uiBaseInventory_set_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10130  }
10131 
10132  arg2 = (lua_toboolean(L, 2)!=0);
10134 
10135  return SWIG_arg;
10136 
10137  if(0) SWIG_fail;
10138 
10139 fail:
10140  lua_error(L);
10141  return SWIG_arg;
10142 }
10143 
10144 
10145 static int _wrap_uiBaseInventory_viewpos(lua_State* L) {
10146  int SWIG_arg = 0;
10148  int result;
10149 
10150  SWIG_check_num_args("uiBaseInventoryNode_t::viewpos",1,1)
10151  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewpos",1,"uiBaseInventoryNode_t *");
10152 
10153  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10154  SWIG_fail_ptr("uiBaseInventory_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10155  }
10156 
10157  result = (int)uiBaseInventoryNode_t_viewpos(arg1);
10158  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10159  return SWIG_arg;
10160 
10161  if(0) SWIG_fail;
10162 
10163 fail:
10164  lua_error(L);
10165  return SWIG_arg;
10166 }
10167 
10168 
10169 static int _wrap_uiBaseInventory_viewsize(lua_State* L) {
10170  int SWIG_arg = 0;
10172  int result;
10173 
10174  SWIG_check_num_args("uiBaseInventoryNode_t::viewsize",1,1)
10175  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewsize",1,"uiBaseInventoryNode_t *");
10176 
10177  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10178  SWIG_fail_ptr("uiBaseInventory_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10179  }
10180 
10181  result = (int)uiBaseInventoryNode_t_viewsize(arg1);
10182  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10183  return SWIG_arg;
10184 
10185  if(0) SWIG_fail;
10186 
10187 fail:
10188  lua_error(L);
10189  return SWIG_arg;
10190 }
10191 
10192 
10193 static int _wrap_uiBaseInventory_fullsize(lua_State* L) {
10194  int SWIG_arg = 0;
10196  int result;
10197 
10198  SWIG_check_num_args("uiBaseInventoryNode_t::fullsize",1,1)
10199  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::fullsize",1,"uiBaseInventoryNode_t *");
10200 
10201  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10202  SWIG_fail_ptr("uiBaseInventory_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10203  }
10204 
10205  result = (int)uiBaseInventoryNode_t_fullsize(arg1);
10206  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10207  return SWIG_arg;
10208 
10209  if(0) SWIG_fail;
10210 
10211 fail:
10212  lua_error(L);
10213  return SWIG_arg;
10214 }
10215 
10216 
10217 static int _wrap_uiBaseInventory_set_viewpos(lua_State* L) {
10218  int SWIG_arg = 0;
10220  int arg2 ;
10221 
10222  SWIG_check_num_args("uiBaseInventoryNode_t::set_viewpos",2,2)
10223  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",1,"uiBaseInventoryNode_t *");
10224  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",2,"int");
10225 
10226  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10227  SWIG_fail_ptr("uiBaseInventory_set_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10228  }
10229 
10230  arg2 = (int)lua_tonumber(L, 2);
10232 
10233  return SWIG_arg;
10234 
10235  if(0) SWIG_fail;
10236 
10237 fail:
10238  lua_error(L);
10239  return SWIG_arg;
10240 }
10241 
10242 
10243 static int _wrap_uiBaseInventory_set_viewsize(lua_State* L) {
10244  int SWIG_arg = 0;
10246  int arg2 ;
10247 
10248  SWIG_check_num_args("uiBaseInventoryNode_t::set_viewsize",2,2)
10249  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",1,"uiBaseInventoryNode_t *");
10250  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",2,"int");
10251 
10252  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10253  SWIG_fail_ptr("uiBaseInventory_set_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10254  }
10255 
10256  arg2 = (int)lua_tonumber(L, 2);
10258 
10259  return SWIG_arg;
10260 
10261  if(0) SWIG_fail;
10262 
10263 fail:
10264  lua_error(L);
10265  return SWIG_arg;
10266 }
10267 
10268 
10269 static int _wrap_uiBaseInventory_set_fullsize(lua_State* L) {
10270  int SWIG_arg = 0;
10272  int arg2 ;
10273 
10274  SWIG_check_num_args("uiBaseInventoryNode_t::set_fullsize",2,2)
10275  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",1,"uiBaseInventoryNode_t *");
10276  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",2,"int");
10277 
10278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10279  SWIG_fail_ptr("uiBaseInventory_set_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10280  }
10281 
10282  arg2 = (int)lua_tonumber(L, 2);
10284 
10285  return SWIG_arg;
10286 
10287  if(0) SWIG_fail;
10288 
10289 fail:
10290  lua_error(L);
10291  return SWIG_arg;
10292 }
10293 
10294 
10296  int SWIG_arg = 0;
10298  LUA_EVENT arg2 ;
10299 
10300  SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",2,2)
10301  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10302 
10303  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10304  SWIG_fail_ptr("uiBaseInventory_on_viewchange_set",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10305  }
10306 
10307  {
10308  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
10309  }
10311 
10312  return SWIG_arg;
10313 
10314  if(0) SWIG_fail;
10315 
10316 fail:
10317  lua_error(L);
10318  return SWIG_arg;
10319 }
10320 
10321 
10323  int SWIG_arg = 0;
10325  LUA_EVENT result;
10326 
10327  SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",1,1)
10328  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10329 
10330  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10331  SWIG_fail_ptr("uiBaseInventory_on_viewchange_get",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10332  }
10333 
10335  {
10336  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
10337  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
10338  }
10339  return SWIG_arg;
10340 
10341  if(0) SWIG_fail;
10342 
10343 fail:
10344  lua_error(L);
10345  return SWIG_arg;
10346 }
10347 
10348 
10349 static int _wrap_new_uiBaseInventory(lua_State* L) {
10350  int SWIG_arg = 0;
10351  uiBaseInventoryNode_t *result = 0 ;
10352 
10353  SWIG_check_num_args("uiBaseInventoryNode_t::uiBaseInventoryNode_t",0,0)
10354  result = (uiBaseInventoryNode_t *)new uiBaseInventoryNode_t();
10355  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,1); SWIG_arg++;
10356  return SWIG_arg;
10357 
10358  if(0) SWIG_fail;
10359 
10360 fail:
10361  lua_error(L);
10362  return SWIG_arg;
10363 }
10364 
10365 
10366 static void swig_delete_uiBaseInventory(void *obj) {
10368 delete arg1;
10369 }
10370 static int _proxy__wrap_new_uiBaseInventory(lua_State *L) {
10371  assert(lua_istable(L,1));
10372  lua_pushcfunction(L,_wrap_new_uiBaseInventory);
10373  assert(!lua_isnil(L,-1));
10374  lua_replace(L,1); /* replace our table with real constructor */
10375  lua_call(L,lua_gettop(L)-1,1);
10376  return 1;
10377 }
10380  {0,0,0}
10381 };
10383  { "filtertype", _wrap_uiBaseInventory_filtertype},
10384  { "columns", _wrap_uiBaseInventory_columns},
10385  { "is_displayweapon", _wrap_uiBaseInventory_is_displayweapon},
10386  { "is_displayweaponammo", _wrap_uiBaseInventory_is_displayweaponammo},
10387  { "is_displayammo", _wrap_uiBaseInventory_is_displayammo},
10388  { "is_displayimplant", _wrap_uiBaseInventory_is_displayimplant},
10389  { "is_displayunavailable", _wrap_uiBaseInventory_is_displayunavailable},
10390  { "is_displayunavailableammo", _wrap_uiBaseInventory_is_displayunavailableammo},
10391  { "is_displayavailableontop", _wrap_uiBaseInventory_is_displayavailableontop},
10392  { "set_displayweapon", _wrap_uiBaseInventory_set_displayweapon},
10393  { "set_displayweaponammo", _wrap_uiBaseInventory_set_displayweaponammo},
10394  { "set_displayammo", _wrap_uiBaseInventory_set_displayammo},
10395  { "set_displayimplant", _wrap_uiBaseInventory_set_displayimplant},
10396  { "set_displayunavailable", _wrap_uiBaseInventory_set_displayunavailable},
10397  { "set_displayunavailableammo", _wrap_uiBaseInventory_set_displayunavailableammo},
10398  { "set_displayavailableontop", _wrap_uiBaseInventory_set_displayavailableontop},
10399  { "viewpos", _wrap_uiBaseInventory_viewpos},
10400  { "viewsize", _wrap_uiBaseInventory_viewsize},
10401  { "fullsize", _wrap_uiBaseInventory_fullsize},
10402  { "set_viewpos", _wrap_uiBaseInventory_set_viewpos},
10403  { "set_viewsize", _wrap_uiBaseInventory_set_viewsize},
10404  { "set_fullsize", _wrap_uiBaseInventory_set_fullsize},
10405  {0,0}
10406 };
10408  {0,0}
10409 };
10410 
10412  {0,0,0}
10413 };
10415  {0,0,0,0,0,0}
10416 };
10418  {0,0}
10419 };
10421  0
10422 };
10423 
10425  "uiBaseInventory",
10430  0
10431 };
10433 static const char *swig_uiBaseInventory_base_names[] = {"uiContainerNode_t *",0};
10435 
10436 static int _wrap_uiData_as_string(lua_State* L) {
10437  int SWIG_arg = 0;
10438  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10439  char *result = 0 ;
10440 
10441  SWIG_check_num_args("uiDataNode_t::as_string",1,1)
10442  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_string",1,"uiDataNode_t *");
10443 
10444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10445  SWIG_fail_ptr("uiData_as_string",1,SWIGTYPE_p_uiDataNode_t);
10446  }
10447 
10448  result = (char *)uiDataNode_t_as_string(arg1);
10449  lua_pushstring(L,(const char *)result); SWIG_arg++;
10450  return SWIG_arg;
10451 
10452  if(0) SWIG_fail;
10453 
10454 fail:
10455  lua_error(L);
10456  return SWIG_arg;
10457 }
10458 
10459 
10460 static int _wrap_uiData_as_integer(lua_State* L) {
10461  int SWIG_arg = 0;
10462  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10463  int result;
10464 
10465  SWIG_check_num_args("uiDataNode_t::as_integer",1,1)
10466  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_integer",1,"uiDataNode_t *");
10467 
10468  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10469  SWIG_fail_ptr("uiData_as_integer",1,SWIGTYPE_p_uiDataNode_t);
10470  }
10471 
10472  result = (int)uiDataNode_t_as_integer(arg1);
10473  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10474  return SWIG_arg;
10475 
10476  if(0) SWIG_fail;
10477 
10478 fail:
10479  lua_error(L);
10480  return SWIG_arg;
10481 }
10482 
10483 
10484 static int _wrap_uiData_as_float(lua_State* L) {
10485  int SWIG_arg = 0;
10486  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10487  float result;
10488 
10489  SWIG_check_num_args("uiDataNode_t::as_float",1,1)
10490  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_float",1,"uiDataNode_t *");
10491 
10492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10493  SWIG_fail_ptr("uiData_as_float",1,SWIGTYPE_p_uiDataNode_t);
10494  }
10495 
10496  result = (float)uiDataNode_t_as_float(arg1);
10497  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10498  return SWIG_arg;
10499 
10500  if(0) SWIG_fail;
10501 
10502 fail:
10503  lua_error(L);
10504  return SWIG_arg;
10505 }
10506 
10507 
10508 static int _wrap_uiData_set_value__SWIG_0(lua_State* L) {
10509  int SWIG_arg = 0;
10510  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10511  char *arg2 = (char *) 0 ;
10512 
10513  SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10514  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10515  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"char const *");
10516 
10517  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10518  SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10519  }
10520 
10521  arg2 = (char *)lua_tostring(L, 2);
10522  uiDataNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
10523 
10524  return SWIG_arg;
10525 
10526  if(0) SWIG_fail;
10527 
10528 fail:
10529  lua_error(L);
10530  return SWIG_arg;
10531 }
10532 
10533 
10534 static int _wrap_uiData_set_value__SWIG_1(lua_State* L) {
10535  int SWIG_arg = 0;
10536  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10537  int arg2 ;
10538 
10539  SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10540  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10541  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"int");
10542 
10543  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10544  SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10545  }
10546 
10547  arg2 = (int)lua_tonumber(L, 2);
10548  uiDataNode_t_set_value__SWIG_1(arg1,arg2);
10549 
10550  return SWIG_arg;
10551 
10552  if(0) SWIG_fail;
10553 
10554 fail:
10555  lua_error(L);
10556  return SWIG_arg;
10557 }
10558 
10559 
10560 static int _wrap_uiData_set_value(lua_State* L) {
10561  int argc;
10562  int argv[3]={
10563  1,2,3
10564  };
10565 
10566  argc = lua_gettop(L);
10567  if (argc == 2) {
10568  int _v;
10569  {
10570  void *ptr;
10571  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10572  _v = 0;
10573  } else {
10574  _v = 1;
10575  }
10576  }
10577  if (_v) {
10578  {
10579  _v = lua_isnumber(L,argv[1]);
10580  }
10581  if (_v) {
10583  }
10584  }
10585  }
10586  if (argc == 2) {
10587  int _v;
10588  {
10589  void *ptr;
10590  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10591  _v = 0;
10592  } else {
10593  _v = 1;
10594  }
10595  }
10596  if (_v) {
10597  {
10598  _v = SWIG_lua_isnilstring(L,argv[1]);
10599  }
10600  if (_v) {
10602  }
10603  }
10604  }
10605 
10606  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiData_set_value'\n"
10607  " Possible C/C++ prototypes are:\n"
10608  " uiDataNode_t::set_value(char const *)\n"
10609  " uiDataNode_t::set_value(int)\n");
10610  lua_error(L);return 0;
10611 }
10612 
10613 
10614 static int _wrap_uiData_set_valuef(lua_State* L) {
10615  int SWIG_arg = 0;
10616  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10617  float arg2 ;
10618 
10619  SWIG_check_num_args("uiDataNode_t::set_valuef",2,2)
10620  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_valuef",1,"uiDataNode_t *");
10621  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_valuef",2,"float");
10622 
10623  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10624  SWIG_fail_ptr("uiData_set_valuef",1,SWIGTYPE_p_uiDataNode_t);
10625  }
10626 
10627  arg2 = (float)lua_tonumber(L, 2);
10628  uiDataNode_t_set_valuef(arg1,arg2);
10629 
10630  return SWIG_arg;
10631 
10632  if(0) SWIG_fail;
10633 
10634 fail:
10635  lua_error(L);
10636  return SWIG_arg;
10637 }
10638 
10639 
10640 static int _wrap_new_uiData(lua_State* L) {
10641  int SWIG_arg = 0;
10642  uiDataNode_t *result = 0 ;
10643 
10644  SWIG_check_num_args("uiDataNode_t::uiDataNode_t",0,0)
10645  result = (uiDataNode_t *)new uiDataNode_t();
10646  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,1); SWIG_arg++;
10647  return SWIG_arg;
10648 
10649  if(0) SWIG_fail;
10650 
10651 fail:
10652  lua_error(L);
10653  return SWIG_arg;
10654 }
10655 
10656 
10657 static void swig_delete_uiData(void *obj) {
10658 uiDataNode_t *arg1 = (uiDataNode_t *) obj;
10659 delete arg1;
10660 }
10661 static int _proxy__wrap_new_uiData(lua_State *L) {
10662  assert(lua_istable(L,1));
10663  lua_pushcfunction(L,_wrap_new_uiData);
10664  assert(!lua_isnil(L,-1));
10665  lua_replace(L,1); /* replace our table with real constructor */
10666  lua_call(L,lua_gettop(L)-1,1);
10667  return 1;
10668 }
10670  {0,0,0}
10671 };
10673  { "as_string", _wrap_uiData_as_string},
10674  { "as_integer", _wrap_uiData_as_integer},
10675  { "as_float", _wrap_uiData_as_float},
10676  { "set_value", _wrap_uiData_set_value},
10677  { "set_valuef", _wrap_uiData_set_valuef},
10678  {0,0}
10679 };
10681  {0,0}
10682 };
10683 
10685  {0,0,0}
10686 };
10688  {0,0,0,0,0,0}
10689 };
10691  {0,0}
10692 };
10694  0
10695 };
10696 
10698  "uiData",
10703  0
10704 };
10706 static const char *swig_uiData_base_names[] = {"uiNode_t *",0};
10708 
10709 static int _wrap_uiGeoscape_paddingright(lua_State* L) {
10710  int SWIG_arg = 0;
10711  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10712  int result;
10713 
10714  SWIG_check_num_args("uiGeoscapeNode_t::paddingright",1,1)
10715  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::paddingright",1,"uiGeoscapeNode_t *");
10716 
10717  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10718  SWIG_fail_ptr("uiGeoscape_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10719  }
10720 
10721  result = (int)uiGeoscapeNode_t_paddingright(arg1);
10722  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10723  return SWIG_arg;
10724 
10725  if(0) SWIG_fail;
10726 
10727 fail:
10728  lua_error(L);
10729  return SWIG_arg;
10730 }
10731 
10732 
10733 static int _wrap_uiGeoscape_set_paddingright(lua_State* L) {
10734  int SWIG_arg = 0;
10735  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10736  int arg2 ;
10737 
10738  SWIG_check_num_args("uiGeoscapeNode_t::set_paddingright",2,2)
10739  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",1,"uiGeoscapeNode_t *");
10740  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",2,"int");
10741 
10742  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10743  SWIG_fail_ptr("uiGeoscape_set_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10744  }
10745 
10746  arg2 = (int)lua_tonumber(L, 2);
10748 
10749  return SWIG_arg;
10750 
10751  if(0) SWIG_fail;
10752 
10753 fail:
10754  lua_error(L);
10755  return SWIG_arg;
10756 }
10757 
10758 
10759 static int _wrap_uiGeoscape_zoomin(lua_State* L) {
10760  int SWIG_arg = 0;
10761  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10762 
10763  SWIG_check_num_args("uiGeoscapeNode_t::zoomin",1,1)
10764  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomin",1,"uiGeoscapeNode_t *");
10765 
10766  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10767  SWIG_fail_ptr("uiGeoscape_zoomin",1,SWIGTYPE_p_uiGeoscapeNode_t);
10768  }
10769 
10771 
10772  return SWIG_arg;
10773 
10774  if(0) SWIG_fail;
10775 
10776 fail:
10777  lua_error(L);
10778  return SWIG_arg;
10779 }
10780 
10781 
10782 static int _wrap_uiGeoscape_zoomout(lua_State* L) {
10783  int SWIG_arg = 0;
10784  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10785 
10786  SWIG_check_num_args("uiGeoscapeNode_t::zoomout",1,1)
10787  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomout",1,"uiGeoscapeNode_t *");
10788 
10789  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10790  SWIG_fail_ptr("uiGeoscape_zoomout",1,SWIGTYPE_p_uiGeoscapeNode_t);
10791  }
10792 
10794 
10795  return SWIG_arg;
10796 
10797  if(0) SWIG_fail;
10798 
10799 fail:
10800  lua_error(L);
10801  return SWIG_arg;
10802 }
10803 
10804 
10805 static int _wrap_new_uiGeoscape(lua_State* L) {
10806  int SWIG_arg = 0;
10807  uiGeoscapeNode_t *result = 0 ;
10808 
10809  SWIG_check_num_args("uiGeoscapeNode_t::uiGeoscapeNode_t",0,0)
10810  result = (uiGeoscapeNode_t *)new uiGeoscapeNode_t();
10811  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,1); SWIG_arg++;
10812  return SWIG_arg;
10813 
10814  if(0) SWIG_fail;
10815 
10816 fail:
10817  lua_error(L);
10818  return SWIG_arg;
10819 }
10820 
10821 
10822 static void swig_delete_uiGeoscape(void *obj) {
10823 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) obj;
10824 delete arg1;
10825 }
10826 static int _proxy__wrap_new_uiGeoscape(lua_State *L) {
10827  assert(lua_istable(L,1));
10828  lua_pushcfunction(L,_wrap_new_uiGeoscape);
10829  assert(!lua_isnil(L,-1));
10830  lua_replace(L,1); /* replace our table with real constructor */
10831  lua_call(L,lua_gettop(L)-1,1);
10832  return 1;
10833 }
10835  {0,0,0}
10836 };
10838  { "paddingright", _wrap_uiGeoscape_paddingright},
10839  { "set_paddingright", _wrap_uiGeoscape_set_paddingright},
10840  { "zoomin", _wrap_uiGeoscape_zoomin},
10841  { "zoomout", _wrap_uiGeoscape_zoomout},
10842  {0,0}
10843 };
10845  {0,0}
10846 };
10847 
10849  {0,0,0}
10850 };
10852  {0,0,0,0,0,0}
10853 };
10855  {0,0}
10856 };
10858  0
10859 };
10860 
10862  "uiGeoscape",
10867  0
10868 };
10870 static const char *swig_uiGeoscape_base_names[] = {"uiNode_t *",0};
10872 
10873 static int _wrap_uiImage_is_keepratio(lua_State* L) {
10874  int SWIG_arg = 0;
10875  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10876  bool result;
10877 
10878  SWIG_check_num_args("uiImageNode_t::is_keepratio",1,1)
10879  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_keepratio",1,"uiImageNode_t *");
10880 
10881  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10882  SWIG_fail_ptr("uiImage_is_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10883  }
10884 
10885  result = (bool)uiImageNode_t_is_keepratio(arg1);
10886  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10887  return SWIG_arg;
10888 
10889  if(0) SWIG_fail;
10890 
10891 fail:
10892  lua_error(L);
10893  return SWIG_arg;
10894 }
10895 
10896 
10897 static int _wrap_uiImage_is_mousefx(lua_State* L) {
10898  int SWIG_arg = 0;
10899  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10900  bool result;
10901 
10902  SWIG_check_num_args("uiImageNode_t::is_mousefx",1,1)
10903  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_mousefx",1,"uiImageNode_t *");
10904 
10905  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10906  SWIG_fail_ptr("uiImage_is_mousefx",1,SWIGTYPE_p_uiImageNode_t);
10907  }
10908 
10909  result = (bool)uiImageNode_t_is_mousefx(arg1);
10910  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10911  return SWIG_arg;
10912 
10913  if(0) SWIG_fail;
10914 
10915 fail:
10916  lua_error(L);
10917  return SWIG_arg;
10918 }
10919 
10920 
10921 static int _wrap_uiImage_texh(lua_State* L) {
10922  int SWIG_arg = 0;
10923  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10924  vec2_struct_t *result = 0 ;
10925 
10926  SWIG_check_num_args("uiImageNode_t::texh",1,1)
10927  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texh",1,"uiImageNode_t *");
10928 
10929  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10930  SWIG_fail_ptr("uiImage_texh",1,SWIGTYPE_p_uiImageNode_t);
10931  }
10932 
10933  result = (vec2_struct_t *)uiImageNode_t_texh(arg1);
10934  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10935  return SWIG_arg;
10936 
10937  if(0) SWIG_fail;
10938 
10939 fail:
10940  lua_error(L);
10941  return SWIG_arg;
10942 }
10943 
10944 
10945 static int _wrap_uiImage_texl(lua_State* L) {
10946  int SWIG_arg = 0;
10947  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10948  vec2_struct_t *result = 0 ;
10949 
10950  SWIG_check_num_args("uiImageNode_t::texl",1,1)
10951  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texl",1,"uiImageNode_t *");
10952 
10953  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10954  SWIG_fail_ptr("uiImage_texl",1,SWIGTYPE_p_uiImageNode_t);
10955  }
10956 
10957  result = (vec2_struct_t *)uiImageNode_t_texl(arg1);
10958  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10959  return SWIG_arg;
10960 
10961  if(0) SWIG_fail;
10962 
10963 fail:
10964  lua_error(L);
10965  return SWIG_arg;
10966 }
10967 
10968 
10969 static int _wrap_uiImage_set_keepratio(lua_State* L) {
10970  int SWIG_arg = 0;
10971  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10972  bool arg2 ;
10973 
10974  SWIG_check_num_args("uiImageNode_t::set_keepratio",2,2)
10975  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_keepratio",1,"uiImageNode_t *");
10976  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_keepratio",2,"bool");
10977 
10978  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10979  SWIG_fail_ptr("uiImage_set_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10980  }
10981 
10982  arg2 = (lua_toboolean(L, 2)!=0);
10983  uiImageNode_t_set_keepratio(arg1,arg2);
10984 
10985  return SWIG_arg;
10986 
10987  if(0) SWIG_fail;
10988 
10989 fail:
10990  lua_error(L);
10991  return SWIG_arg;
10992 }
10993 
10994 
10995 static int _wrap_uiImage_set_mousefx(lua_State* L) {
10996  int SWIG_arg = 0;
10997  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10998  bool arg2 ;
10999 
11000  SWIG_check_num_args("uiImageNode_t::set_mousefx",2,2)
11001  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_mousefx",1,"uiImageNode_t *");
11002  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_mousefx",2,"bool");
11003 
11004  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11005  SWIG_fail_ptr("uiImage_set_mousefx",1,SWIGTYPE_p_uiImageNode_t);
11006  }
11007 
11008  arg2 = (lua_toboolean(L, 2)!=0);
11009  uiImageNode_t_set_mousefx(arg1,arg2);
11010 
11011  return SWIG_arg;
11012 
11013  if(0) SWIG_fail;
11014 
11015 fail:
11016  lua_error(L);
11017  return SWIG_arg;
11018 }
11019 
11020 
11021 static int _wrap_uiImage_set_source(lua_State* L) {
11022  int SWIG_arg = 0;
11023  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11024  char *arg2 = (char *) 0 ;
11025 
11026  SWIG_check_num_args("uiImageNode_t::set_source",2,2)
11027  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_source",1,"uiImageNode_t *");
11028  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiImageNode_t::set_source",2,"char const *");
11029 
11030  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11031  SWIG_fail_ptr("uiImage_set_source",1,SWIGTYPE_p_uiImageNode_t);
11032  }
11033 
11034  arg2 = (char *)lua_tostring(L, 2);
11035  uiImageNode_t_set_source(arg1,(char const *)arg2);
11036 
11037  return SWIG_arg;
11038 
11039  if(0) SWIG_fail;
11040 
11041 fail:
11042  lua_error(L);
11043  return SWIG_arg;
11044 }
11045 
11046 
11047 static int _wrap_uiImage_set_texh(lua_State* L) {
11048  int SWIG_arg = 0;
11049  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11050  float arg2 ;
11051  float arg3 ;
11052 
11053  SWIG_check_num_args("uiImageNode_t::set_texh",3,3)
11054  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texh",1,"uiImageNode_t *");
11055  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texh",2,"float");
11056  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texh",3,"float");
11057 
11058  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11059  SWIG_fail_ptr("uiImage_set_texh",1,SWIGTYPE_p_uiImageNode_t);
11060  }
11061 
11062  arg2 = (float)lua_tonumber(L, 2);
11063  arg3 = (float)lua_tonumber(L, 3);
11064  uiImageNode_t_set_texh(arg1,arg2,arg3);
11065 
11066  return SWIG_arg;
11067 
11068  if(0) SWIG_fail;
11069 
11070 fail:
11071  lua_error(L);
11072  return SWIG_arg;
11073 }
11074 
11075 
11076 static int _wrap_uiImage_set_texl(lua_State* L) {
11077  int SWIG_arg = 0;
11078  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11079  float arg2 ;
11080  float arg3 ;
11081 
11082  SWIG_check_num_args("uiImageNode_t::set_texl",3,3)
11083  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texl",1,"uiImageNode_t *");
11084  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texl",2,"float");
11085  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texl",3,"float");
11086 
11087  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11088  SWIG_fail_ptr("uiImage_set_texl",1,SWIGTYPE_p_uiImageNode_t);
11089  }
11090 
11091  arg2 = (float)lua_tonumber(L, 2);
11092  arg3 = (float)lua_tonumber(L, 3);
11093  uiImageNode_t_set_texl(arg1,arg2,arg3);
11094 
11095  return SWIG_arg;
11096 
11097  if(0) SWIG_fail;
11098 
11099 fail:
11100  lua_error(L);
11101  return SWIG_arg;
11102 }
11103 
11104 
11105 static int _wrap_new_uiImage(lua_State* L) {
11106  int SWIG_arg = 0;
11107  uiImageNode_t *result = 0 ;
11108 
11109  SWIG_check_num_args("uiImageNode_t::uiImageNode_t",0,0)
11110  result = (uiImageNode_t *)new uiImageNode_t();
11111  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,1); SWIG_arg++;
11112  return SWIG_arg;
11113 
11114  if(0) SWIG_fail;
11115 
11116 fail:
11117  lua_error(L);
11118  return SWIG_arg;
11119 }
11120 
11121 
11122 static void swig_delete_uiImage(void *obj) {
11123 uiImageNode_t *arg1 = (uiImageNode_t *) obj;
11124 delete arg1;
11125 }
11126 static int _proxy__wrap_new_uiImage(lua_State *L) {
11127  assert(lua_istable(L,1));
11128  lua_pushcfunction(L,_wrap_new_uiImage);
11129  assert(!lua_isnil(L,-1));
11130  lua_replace(L,1); /* replace our table with real constructor */
11131  lua_call(L,lua_gettop(L)-1,1);
11132  return 1;
11133 }
11135  {0,0,0}
11136 };
11138  { "is_keepratio", _wrap_uiImage_is_keepratio},
11139  { "is_mousefx", _wrap_uiImage_is_mousefx},
11140  { "texh", _wrap_uiImage_texh},
11141  { "texl", _wrap_uiImage_texl},
11142  { "set_keepratio", _wrap_uiImage_set_keepratio},
11143  { "set_mousefx", _wrap_uiImage_set_mousefx},
11144  { "set_source", _wrap_uiImage_set_source},
11145  { "set_texh", _wrap_uiImage_set_texh},
11146  { "set_texl", _wrap_uiImage_set_texl},
11147  {0,0}
11148 };
11150  {0,0}
11151 };
11152 
11154  {0,0,0}
11155 };
11157  {0,0,0,0,0,0}
11158 };
11160  {0,0}
11161 };
11163  0
11164 };
11165 
11167  "uiImage",
11172  0
11173 };
11175 static const char *swig_uiImage_base_names[] = {"uiNode_t *",0};
11177 
11178 static int _wrap_uiLineChart_is_showaxes(lua_State* L) {
11179  int SWIG_arg = 0;
11180  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11181  bool result;
11182 
11183  SWIG_check_num_args("uiLineChartNode_t::is_showaxes",1,1)
11184  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::is_showaxes",1,"uiLineChartNode_t *");
11185 
11186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11187  SWIG_fail_ptr("uiLineChart_is_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11188  }
11189 
11190  result = (bool)uiLineChartNode_t_is_showaxes(arg1);
11191  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11192  return SWIG_arg;
11193 
11194  if(0) SWIG_fail;
11195 
11196 fail:
11197  lua_error(L);
11198  return SWIG_arg;
11199 }
11200 
11201 
11202 static int _wrap_uiLineChart_set_showaxes(lua_State* L) {
11203  int SWIG_arg = 0;
11204  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11205  bool arg2 ;
11206 
11207  SWIG_check_num_args("uiLineChartNode_t::set_showaxes",2,2)
11208  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",1,"uiLineChartNode_t *");
11209  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",2,"bool");
11210 
11211  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11212  SWIG_fail_ptr("uiLineChart_set_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11213  }
11214 
11215  arg2 = (lua_toboolean(L, 2)!=0);
11216  uiLineChartNode_t_set_showaxes(arg1,arg2);
11217 
11218  return SWIG_arg;
11219 
11220  if(0) SWIG_fail;
11221 
11222 fail:
11223  lua_error(L);
11224  return SWIG_arg;
11225 }
11226 
11227 
11228 static int _wrap_uiLineChart_set_axescolor(lua_State* L) {
11229  int SWIG_arg = 0;
11230  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11231  float arg2 ;
11232  float arg3 ;
11233  float arg4 ;
11234  float arg5 ;
11235 
11236  SWIG_check_num_args("uiLineChartNode_t::set_axescolor",5,5)
11237  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",1,"uiLineChartNode_t *");
11238  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",2,"float");
11239  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",3,"float");
11240  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",4,"float");
11241  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",5,"float");
11242 
11243  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11244  SWIG_fail_ptr("uiLineChart_set_axescolor",1,SWIGTYPE_p_uiLineChartNode_t);
11245  }
11246 
11247  arg2 = (float)lua_tonumber(L, 2);
11248  arg3 = (float)lua_tonumber(L, 3);
11249  arg4 = (float)lua_tonumber(L, 4);
11250  arg5 = (float)lua_tonumber(L, 5);
11251  uiLineChartNode_t_set_axescolor(arg1,arg2,arg3,arg4,arg5);
11252 
11253  return SWIG_arg;
11254 
11255  if(0) SWIG_fail;
11256 
11257 fail:
11258  lua_error(L);
11259  return SWIG_arg;
11260 }
11261 
11262 
11263 static int _wrap_uiLineChart_clear(lua_State* L) {
11264  int SWIG_arg = 0;
11265  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11266 
11267  SWIG_check_num_args("uiLineChartNode_t::clear",1,1)
11268  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::clear",1,"uiLineChartNode_t *");
11269 
11270  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11271  SWIG_fail_ptr("uiLineChart_clear",1,SWIGTYPE_p_uiLineChartNode_t);
11272  }
11273 
11275 
11276  return SWIG_arg;
11277 
11278  if(0) SWIG_fail;
11279 
11280 fail:
11281  lua_error(L);
11282  return SWIG_arg;
11283 }
11284 
11285 
11286 static int _wrap_uiLineChart_add_line(lua_State* L) {
11287  int SWIG_arg = 0;
11288  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11289  char *arg2 = (char *) 0 ;
11290  bool arg3 ;
11291  float arg4 ;
11292  float arg5 ;
11293  float arg6 ;
11294  float arg7 ;
11295  bool arg8 ;
11296  int arg9 ;
11297 
11298  SWIG_check_num_args("uiLineChartNode_t::add_line",9,9)
11299  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_line",1,"uiLineChartNode_t *");
11300  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_line",2,"char const *");
11301  if(!lua_isboolean(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_line",3,"bool");
11302  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_line",4,"float");
11303  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::add_line",5,"float");
11304  if(!lua_isnumber(L,6)) SWIG_fail_arg("uiLineChartNode_t::add_line",6,"float");
11305  if(!lua_isnumber(L,7)) SWIG_fail_arg("uiLineChartNode_t::add_line",7,"float");
11306  if(!lua_isboolean(L,8)) SWIG_fail_arg("uiLineChartNode_t::add_line",8,"bool");
11307  if(!lua_isnumber(L,9)) SWIG_fail_arg("uiLineChartNode_t::add_line",9,"int");
11308 
11309  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11310  SWIG_fail_ptr("uiLineChart_add_line",1,SWIGTYPE_p_uiLineChartNode_t);
11311  }
11312 
11313  arg2 = (char *)lua_tostring(L, 2);
11314  arg3 = (lua_toboolean(L, 3)!=0);
11315  arg4 = (float)lua_tonumber(L, 4);
11316  arg5 = (float)lua_tonumber(L, 5);
11317  arg6 = (float)lua_tonumber(L, 6);
11318  arg7 = (float)lua_tonumber(L, 7);
11319  arg8 = (lua_toboolean(L, 8)!=0);
11320  arg9 = (int)lua_tonumber(L, 9);
11321  uiLineChartNode_t_add_line(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
11322 
11323  return SWIG_arg;
11324 
11325  if(0) SWIG_fail;
11326 
11327 fail:
11328  lua_error(L);
11329  return SWIG_arg;
11330 }
11331 
11332 
11333 static int _wrap_uiLineChart_add_point(lua_State* L) {
11334  int SWIG_arg = 0;
11335  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11336  char *arg2 = (char *) 0 ;
11337  int arg3 ;
11338  int arg4 ;
11339 
11340  SWIG_check_num_args("uiLineChartNode_t::add_point",4,4)
11341  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_point",1,"uiLineChartNode_t *");
11342  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_point",2,"char const *");
11343  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_point",3,"int");
11344  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_point",4,"int");
11345 
11346  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11347  SWIG_fail_ptr("uiLineChart_add_point",1,SWIGTYPE_p_uiLineChartNode_t);
11348  }
11349 
11350  arg2 = (char *)lua_tostring(L, 2);
11351  arg3 = (int)lua_tonumber(L, 3);
11352  arg4 = (int)lua_tonumber(L, 4);
11353  uiLineChartNode_t_add_point(arg1,(char const *)arg2,arg3,arg4);
11354 
11355  return SWIG_arg;
11356 
11357  if(0) SWIG_fail;
11358 
11359 fail:
11360  lua_error(L);
11361  return SWIG_arg;
11362 }
11363 
11364 
11365 static int _wrap_new_uiLineChart(lua_State* L) {
11366  int SWIG_arg = 0;
11367  uiLineChartNode_t *result = 0 ;
11368 
11369  SWIG_check_num_args("uiLineChartNode_t::uiLineChartNode_t",0,0)
11370  result = (uiLineChartNode_t *)new uiLineChartNode_t();
11371  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,1); SWIG_arg++;
11372  return SWIG_arg;
11373 
11374  if(0) SWIG_fail;
11375 
11376 fail:
11377  lua_error(L);
11378  return SWIG_arg;
11379 }
11380 
11381 
11382 static void swig_delete_uiLineChart(void *obj) {
11383 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) obj;
11384 delete arg1;
11385 }
11386 static int _proxy__wrap_new_uiLineChart(lua_State *L) {
11387  assert(lua_istable(L,1));
11388  lua_pushcfunction(L,_wrap_new_uiLineChart);
11389  assert(!lua_isnil(L,-1));
11390  lua_replace(L,1); /* replace our table with real constructor */
11391  lua_call(L,lua_gettop(L)-1,1);
11392  return 1;
11393 }
11395  {0,0,0}
11396 };
11398  { "is_showaxes", _wrap_uiLineChart_is_showaxes},
11399  { "set_showaxes", _wrap_uiLineChart_set_showaxes},
11400  { "set_axescolor", _wrap_uiLineChart_set_axescolor},
11401  { "clear", _wrap_uiLineChart_clear},
11402  { "add_line", _wrap_uiLineChart_add_line},
11403  { "add_point", _wrap_uiLineChart_add_point},
11404  {0,0}
11405 };
11407  {0,0}
11408 };
11409 
11411  {0,0,0}
11412 };
11414  {0,0,0,0,0,0}
11415 };
11417  {0,0}
11418 };
11420  0
11421 };
11422 
11424  "uiLineChart",
11429  0
11430 };
11432 static const char *swig_uiLineChart_base_names[] = {"uiNode_t *",0};
11434 
11435 static int _wrap_new_uiMessageList(lua_State* L) {
11436  int SWIG_arg = 0;
11437  uiMessageListNode_t *result = 0 ;
11438 
11439  SWIG_check_num_args("uiMessageListNode_t::uiMessageListNode_t",0,0)
11440  result = (uiMessageListNode_t *)new uiMessageListNode_t();
11441  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,1); SWIG_arg++;
11442  return SWIG_arg;
11443 
11444  if(0) SWIG_fail;
11445 
11446 fail:
11447  lua_error(L);
11448  return SWIG_arg;
11449 }
11450 
11451 
11452 static void swig_delete_uiMessageList(void *obj) {
11454 delete arg1;
11455 }
11456 static int _proxy__wrap_new_uiMessageList(lua_State *L) {
11457  assert(lua_istable(L,1));
11458  lua_pushcfunction(L,_wrap_new_uiMessageList);
11459  assert(!lua_isnil(L,-1));
11460  lua_replace(L,1); /* replace our table with real constructor */
11461  lua_call(L,lua_gettop(L)-1,1);
11462  return 1;
11463 }
11465  {0,0,0}
11466 };
11468  {0,0}
11469 };
11471  {0,0}
11472 };
11473 
11475  {0,0,0}
11476 };
11478  {0,0,0,0,0,0}
11479 };
11481  {0,0}
11482 };
11484  0
11485 };
11486 
11488  "uiMessageList",
11493  0
11494 };
11496 static const char *swig_uiMessageList_base_names[] = {"uiAbstractScrollableNode_t *",0};
11498 
11499 static int _wrap_uiModel_is_autoscale(lua_State* L) {
11500  int SWIG_arg = 0;
11501  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11502  bool result;
11503 
11504  SWIG_check_num_args("uiModelNode_t::is_autoscale",1,1)
11505  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_autoscale",1,"uiModelNode_t *");
11506 
11507  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11508  SWIG_fail_ptr("uiModel_is_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11509  }
11510 
11511  result = (bool)uiModelNode_t_is_autoscale(arg1);
11512  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11513  return SWIG_arg;
11514 
11515  if(0) SWIG_fail;
11516 
11517 fail:
11518  lua_error(L);
11519  return SWIG_arg;
11520 }
11521 
11522 
11523 static int _wrap_uiModel_is_mouserotate(lua_State* L) {
11524  int SWIG_arg = 0;
11525  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11526  bool result;
11527 
11528  SWIG_check_num_args("uiModelNode_t::is_mouserotate",1,1)
11529  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_mouserotate",1,"uiModelNode_t *");
11530 
11531  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11532  SWIG_fail_ptr("uiModel_is_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11533  }
11534 
11535  result = (bool)uiModelNode_t_is_mouserotate(arg1);
11536  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11537  return SWIG_arg;
11538 
11539  if(0) SWIG_fail;
11540 
11541 fail:
11542  lua_error(L);
11543  return SWIG_arg;
11544 }
11545 
11546 
11547 static int _wrap_uiModel_angles(lua_State* L) {
11548  int SWIG_arg = 0;
11549  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11550  vec3_struct_t *result = 0 ;
11551 
11552  SWIG_check_num_args("uiModelNode_t::angles",1,1)
11553  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::angles",1,"uiModelNode_t *");
11554 
11555  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11556  SWIG_fail_ptr("uiModel_angles",1,SWIGTYPE_p_uiModelNode_t);
11557  }
11558 
11559  result = (vec3_struct_t *)uiModelNode_t_angles(arg1);
11560  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11561  return SWIG_arg;
11562 
11563  if(0) SWIG_fail;
11564 
11565 fail:
11566  lua_error(L);
11567  return SWIG_arg;
11568 }
11569 
11570 
11571 static int _wrap_uiModel_origin(lua_State* L) {
11572  int SWIG_arg = 0;
11573  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11574  vec3_struct_t *result = 0 ;
11575 
11576  SWIG_check_num_args("uiModelNode_t::origin",1,1)
11577  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::origin",1,"uiModelNode_t *");
11578 
11579  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11580  SWIG_fail_ptr("uiModel_origin",1,SWIGTYPE_p_uiModelNode_t);
11581  }
11582 
11583  result = (vec3_struct_t *)uiModelNode_t_origin(arg1);
11584  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11585  return SWIG_arg;
11586 
11587  if(0) SWIG_fail;
11588 
11589 fail:
11590  lua_error(L);
11591  return SWIG_arg;
11592 }
11593 
11594 
11595 static int _wrap_uiModel_omega(lua_State* L) {
11596  int SWIG_arg = 0;
11597  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11598  vec3_struct_t *result = 0 ;
11599 
11600  SWIG_check_num_args("uiModelNode_t::omega",1,1)
11601  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::omega",1,"uiModelNode_t *");
11602 
11603  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11604  SWIG_fail_ptr("uiModel_omega",1,SWIGTYPE_p_uiModelNode_t);
11605  }
11606 
11607  result = (vec3_struct_t *)uiModelNode_t_omega(arg1);
11608  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11609  return SWIG_arg;
11610 
11611  if(0) SWIG_fail;
11612 
11613 fail:
11614  lua_error(L);
11615  return SWIG_arg;
11616 }
11617 
11618 
11619 static int _wrap_uiModel_scale(lua_State* L) {
11620  int SWIG_arg = 0;
11621  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11622  vec3_struct_t *result = 0 ;
11623 
11624  SWIG_check_num_args("uiModelNode_t::scale",1,1)
11625  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::scale",1,"uiModelNode_t *");
11626 
11627  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11628  SWIG_fail_ptr("uiModel_scale",1,SWIGTYPE_p_uiModelNode_t);
11629  }
11630 
11631  result = (vec3_struct_t *)uiModelNode_t_scale(arg1);
11632  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11633  return SWIG_arg;
11634 
11635  if(0) SWIG_fail;
11636 
11637 fail:
11638  lua_error(L);
11639  return SWIG_arg;
11640 }
11641 
11642 
11643 static int _wrap_uiModel_model(lua_State* L) {
11644  int SWIG_arg = 0;
11645  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11646  char *result = 0 ;
11647 
11648  SWIG_check_num_args("uiModelNode_t::model",1,1)
11649  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::model",1,"uiModelNode_t *");
11650 
11651  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11652  SWIG_fail_ptr("uiModel_model",1,SWIGTYPE_p_uiModelNode_t);
11653  }
11654 
11655  result = (char *)uiModelNode_t_model(arg1);
11656  lua_pushstring(L,(const char *)result); SWIG_arg++;
11657  return SWIG_arg;
11658 
11659  if(0) SWIG_fail;
11660 
11661 fail:
11662  lua_error(L);
11663  return SWIG_arg;
11664 }
11665 
11666 
11667 static int _wrap_uiModel_skin(lua_State* L) {
11668  int SWIG_arg = 0;
11669  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11670  char *result = 0 ;
11671 
11672  SWIG_check_num_args("uiModelNode_t::skin",1,1)
11673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::skin",1,"uiModelNode_t *");
11674 
11675  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11676  SWIG_fail_ptr("uiModel_skin",1,SWIGTYPE_p_uiModelNode_t);
11677  }
11678 
11679  result = (char *)uiModelNode_t_skin(arg1);
11680  lua_pushstring(L,(const char *)result); SWIG_arg++;
11681  return SWIG_arg;
11682 
11683  if(0) SWIG_fail;
11684 
11685 fail:
11686  lua_error(L);
11687  return SWIG_arg;
11688 }
11689 
11690 
11691 static int _wrap_uiModel_animation(lua_State* L) {
11692  int SWIG_arg = 0;
11693  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11694  char *result = 0 ;
11695 
11696  SWIG_check_num_args("uiModelNode_t::animation",1,1)
11697  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::animation",1,"uiModelNode_t *");
11698 
11699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11700  SWIG_fail_ptr("uiModel_animation",1,SWIGTYPE_p_uiModelNode_t);
11701  }
11702 
11703  result = (char *)uiModelNode_t_animation(arg1);
11704  lua_pushstring(L,(const char *)result); SWIG_arg++;
11705  return SWIG_arg;
11706 
11707  if(0) SWIG_fail;
11708 
11709 fail:
11710  lua_error(L);
11711  return SWIG_arg;
11712 }
11713 
11714 
11715 static int _wrap_uiModel_tag(lua_State* L) {
11716  int SWIG_arg = 0;
11717  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11718  char *result = 0 ;
11719 
11720  SWIG_check_num_args("uiModelNode_t::tag",1,1)
11721  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::tag",1,"uiModelNode_t *");
11722 
11723  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11724  SWIG_fail_ptr("uiModel_tag",1,SWIGTYPE_p_uiModelNode_t);
11725  }
11726 
11727  result = (char *)uiModelNode_t_tag(arg1);
11728  lua_pushstring(L,(const char *)result); SWIG_arg++;
11729  return SWIG_arg;
11730 
11731  if(0) SWIG_fail;
11732 
11733 fail:
11734  lua_error(L);
11735  return SWIG_arg;
11736 }
11737 
11738 
11739 static int _wrap_uiModel_set_autoscale(lua_State* L) {
11740  int SWIG_arg = 0;
11741  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11742  bool arg2 ;
11743 
11744  SWIG_check_num_args("uiModelNode_t::set_autoscale",2,2)
11745  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_autoscale",1,"uiModelNode_t *");
11746  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_autoscale",2,"bool");
11747 
11748  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11749  SWIG_fail_ptr("uiModel_set_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11750  }
11751 
11752  arg2 = (lua_toboolean(L, 2)!=0);
11753  uiModelNode_t_set_autoscale(arg1,arg2);
11754 
11755  return SWIG_arg;
11756 
11757  if(0) SWIG_fail;
11758 
11759 fail:
11760  lua_error(L);
11761  return SWIG_arg;
11762 }
11763 
11764 
11765 static int _wrap_uiModel_set_mouserotate(lua_State* L) {
11766  int SWIG_arg = 0;
11767  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11768  bool arg2 ;
11769 
11770  SWIG_check_num_args("uiModelNode_t::set_mouserotate",2,2)
11771  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",1,"uiModelNode_t *");
11772  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",2,"bool");
11773 
11774  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11775  SWIG_fail_ptr("uiModel_set_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11776  }
11777 
11778  arg2 = (lua_toboolean(L, 2)!=0);
11779  uiModelNode_t_set_mouserotate(arg1,arg2);
11780 
11781  return SWIG_arg;
11782 
11783  if(0) SWIG_fail;
11784 
11785 fail:
11786  lua_error(L);
11787  return SWIG_arg;
11788 }
11789 
11790 
11791 static int _wrap_uiModel_set_angles(lua_State* L) {
11792  int SWIG_arg = 0;
11793  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11794  float arg2 ;
11795  float arg3 ;
11796  float arg4 ;
11797 
11798  SWIG_check_num_args("uiModelNode_t::set_angles",4,4)
11799  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_angles",1,"uiModelNode_t *");
11800  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_angles",2,"float");
11801  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_angles",3,"float");
11802  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_angles",4,"float");
11803 
11804  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11805  SWIG_fail_ptr("uiModel_set_angles",1,SWIGTYPE_p_uiModelNode_t);
11806  }
11807 
11808  arg2 = (float)lua_tonumber(L, 2);
11809  arg3 = (float)lua_tonumber(L, 3);
11810  arg4 = (float)lua_tonumber(L, 4);
11811  uiModelNode_t_set_angles(arg1,arg2,arg3,arg4);
11812 
11813  return SWIG_arg;
11814 
11815  if(0) SWIG_fail;
11816 
11817 fail:
11818  lua_error(L);
11819  return SWIG_arg;
11820 }
11821 
11822 
11823 static int _wrap_uiModel_set_origin(lua_State* L) {
11824  int SWIG_arg = 0;
11825  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11826  float arg2 ;
11827  float arg3 ;
11828  float arg4 ;
11829 
11830  SWIG_check_num_args("uiModelNode_t::set_origin",4,4)
11831  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_origin",1,"uiModelNode_t *");
11832  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_origin",2,"float");
11833  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_origin",3,"float");
11834  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_origin",4,"float");
11835 
11836  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11837  SWIG_fail_ptr("uiModel_set_origin",1,SWIGTYPE_p_uiModelNode_t);
11838  }
11839 
11840  arg2 = (float)lua_tonumber(L, 2);
11841  arg3 = (float)lua_tonumber(L, 3);
11842  arg4 = (float)lua_tonumber(L, 4);
11843  uiModelNode_t_set_origin(arg1,arg2,arg3,arg4);
11844 
11845  return SWIG_arg;
11846 
11847  if(0) SWIG_fail;
11848 
11849 fail:
11850  lua_error(L);
11851  return SWIG_arg;
11852 }
11853 
11854 
11855 static int _wrap_uiModel_set_omega(lua_State* L) {
11856  int SWIG_arg = 0;
11857  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11858  float arg2 ;
11859  float arg3 ;
11860  float arg4 ;
11861 
11862  SWIG_check_num_args("uiModelNode_t::set_omega",4,4)
11863  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_omega",1,"uiModelNode_t *");
11864  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_omega",2,"float");
11865  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_omega",3,"float");
11866  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_omega",4,"float");
11867 
11868  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11869  SWIG_fail_ptr("uiModel_set_omega",1,SWIGTYPE_p_uiModelNode_t);
11870  }
11871 
11872  arg2 = (float)lua_tonumber(L, 2);
11873  arg3 = (float)lua_tonumber(L, 3);
11874  arg4 = (float)lua_tonumber(L, 4);
11875  uiModelNode_t_set_omega(arg1,arg2,arg3,arg4);
11876 
11877  return SWIG_arg;
11878 
11879  if(0) SWIG_fail;
11880 
11881 fail:
11882  lua_error(L);
11883  return SWIG_arg;
11884 }
11885 
11886 
11887 static int _wrap_uiModel_set_scale(lua_State* L) {
11888  int SWIG_arg = 0;
11889  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11890  float arg2 ;
11891  float arg3 ;
11892  float arg4 ;
11893 
11894  SWIG_check_num_args("uiModelNode_t::set_scale",4,4)
11895  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_scale",1,"uiModelNode_t *");
11896  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_scale",2,"float");
11897  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_scale",3,"float");
11898  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_scale",4,"float");
11899 
11900  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11901  SWIG_fail_ptr("uiModel_set_scale",1,SWIGTYPE_p_uiModelNode_t);
11902  }
11903 
11904  arg2 = (float)lua_tonumber(L, 2);
11905  arg3 = (float)lua_tonumber(L, 3);
11906  arg4 = (float)lua_tonumber(L, 4);
11907  uiModelNode_t_set_scale(arg1,arg2,arg3,arg4);
11908 
11909  return SWIG_arg;
11910 
11911  if(0) SWIG_fail;
11912 
11913 fail:
11914  lua_error(L);
11915  return SWIG_arg;
11916 }
11917 
11918 
11919 static int _wrap_uiModel_set_model(lua_State* L) {
11920  int SWIG_arg = 0;
11921  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11922  char *arg2 = (char *) 0 ;
11923 
11924  SWIG_check_num_args("uiModelNode_t::set_model",2,2)
11925  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_model",1,"uiModelNode_t *");
11926  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_model",2,"char const *");
11927 
11928  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11929  SWIG_fail_ptr("uiModel_set_model",1,SWIGTYPE_p_uiModelNode_t);
11930  }
11931 
11932  arg2 = (char *)lua_tostring(L, 2);
11933  uiModelNode_t_set_model(arg1,(char const *)arg2);
11934 
11935  return SWIG_arg;
11936 
11937  if(0) SWIG_fail;
11938 
11939 fail:
11940  lua_error(L);
11941  return SWIG_arg;
11942 }
11943 
11944 
11945 static int _wrap_uiModel_set_skin(lua_State* L) {
11946  int SWIG_arg = 0;
11947  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11948  char *arg2 = (char *) 0 ;
11949 
11950  SWIG_check_num_args("uiModelNode_t::set_skin",2,2)
11951  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_skin",1,"uiModelNode_t *");
11952  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_skin",2,"char const *");
11953 
11954  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11955  SWIG_fail_ptr("uiModel_set_skin",1,SWIGTYPE_p_uiModelNode_t);
11956  }
11957 
11958  arg2 = (char *)lua_tostring(L, 2);
11959  uiModelNode_t_set_skin(arg1,(char const *)arg2);
11960 
11961  return SWIG_arg;
11962 
11963  if(0) SWIG_fail;
11964 
11965 fail:
11966  lua_error(L);
11967  return SWIG_arg;
11968 }
11969 
11970 
11971 static int _wrap_uiModel_set_animation(lua_State* L) {
11972  int SWIG_arg = 0;
11973  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11974  char *arg2 = (char *) 0 ;
11975 
11976  SWIG_check_num_args("uiModelNode_t::set_animation",2,2)
11977  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_animation",1,"uiModelNode_t *");
11978  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_animation",2,"char const *");
11979 
11980  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11981  SWIG_fail_ptr("uiModel_set_animation",1,SWIGTYPE_p_uiModelNode_t);
11982  }
11983 
11984  arg2 = (char *)lua_tostring(L, 2);
11985  uiModelNode_t_set_animation(arg1,(char const *)arg2);
11986 
11987  return SWIG_arg;
11988 
11989  if(0) SWIG_fail;
11990 
11991 fail:
11992  lua_error(L);
11993  return SWIG_arg;
11994 }
11995 
11996 
11997 static int _wrap_uiModel_set_tag(lua_State* L) {
11998  int SWIG_arg = 0;
11999  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
12000  char *arg2 = (char *) 0 ;
12001 
12002  SWIG_check_num_args("uiModelNode_t::set_tag",2,2)
12003  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_tag",1,"uiModelNode_t *");
12004  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_tag",2,"char const *");
12005 
12006  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
12007  SWIG_fail_ptr("uiModel_set_tag",1,SWIGTYPE_p_uiModelNode_t);
12008  }
12009 
12010  arg2 = (char *)lua_tostring(L, 2);
12011  uiModelNode_t_set_tag(arg1,(char const *)arg2);
12012 
12013  return SWIG_arg;
12014 
12015  if(0) SWIG_fail;
12016 
12017 fail:
12018  lua_error(L);
12019  return SWIG_arg;
12020 }
12021 
12022 
12023 static int _wrap_new_uiModel(lua_State* L) {
12024  int SWIG_arg = 0;
12025  uiModelNode_t *result = 0 ;
12026 
12027  SWIG_check_num_args("uiModelNode_t::uiModelNode_t",0,0)
12028  result = (uiModelNode_t *)new uiModelNode_t();
12029  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,1); SWIG_arg++;
12030  return SWIG_arg;
12031 
12032  if(0) SWIG_fail;
12033 
12034 fail:
12035  lua_error(L);
12036  return SWIG_arg;
12037 }
12038 
12039 
12040 static void swig_delete_uiModel(void *obj) {
12041 uiModelNode_t *arg1 = (uiModelNode_t *) obj;
12042 delete arg1;
12043 }
12044 static int _proxy__wrap_new_uiModel(lua_State *L) {
12045  assert(lua_istable(L,1));
12046  lua_pushcfunction(L,_wrap_new_uiModel);
12047  assert(!lua_isnil(L,-1));
12048  lua_replace(L,1); /* replace our table with real constructor */
12049  lua_call(L,lua_gettop(L)-1,1);
12050  return 1;
12051 }
12053  {0,0,0}
12054 };
12056  { "is_autoscale", _wrap_uiModel_is_autoscale},
12057  { "is_mouserotate", _wrap_uiModel_is_mouserotate},
12058  { "angles", _wrap_uiModel_angles},
12059  { "origin", _wrap_uiModel_origin},
12060  { "omega", _wrap_uiModel_omega},
12061  { "scale", _wrap_uiModel_scale},
12062  { "model", _wrap_uiModel_model},
12063  { "skin", _wrap_uiModel_skin},
12064  { "animation", _wrap_uiModel_animation},
12065  { "tag", _wrap_uiModel_tag},
12066  { "set_autoscale", _wrap_uiModel_set_autoscale},
12067  { "set_mouserotate", _wrap_uiModel_set_mouserotate},
12068  { "set_angles", _wrap_uiModel_set_angles},
12069  { "set_origin", _wrap_uiModel_set_origin},
12070  { "set_omega", _wrap_uiModel_set_omega},
12071  { "set_scale", _wrap_uiModel_set_scale},
12072  { "set_model", _wrap_uiModel_set_model},
12073  { "set_skin", _wrap_uiModel_set_skin},
12074  { "set_animation", _wrap_uiModel_set_animation},
12075  { "set_tag", _wrap_uiModel_set_tag},
12076  {0,0}
12077 };
12079  {0,0}
12080 };
12081 
12083  {0,0,0}
12084 };
12086  {0,0,0,0,0,0}
12087 };
12089  {0,0}
12090 };
12092  0
12093 };
12094 
12096  "uiModel",
12101  0
12102 };
12104 static const char *swig_uiModel_base_names[] = {"uiNode_t *",0};
12106 
12107 static int _wrap_uiItem_is_containerlike(lua_State* L) {
12108  int SWIG_arg = 0;
12109  uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12110  bool result;
12111 
12112  SWIG_check_num_args("uiItemNode_t::is_containerlike",1,1)
12113  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::is_containerlike",1,"uiItemNode_t *");
12114 
12115  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12116  SWIG_fail_ptr("uiItem_is_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12117  }
12118 
12119  result = (bool)uiItemNode_t_is_containerlike(arg1);
12120  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12121  return SWIG_arg;
12122 
12123  if(0) SWIG_fail;
12124 
12125 fail:
12126  lua_error(L);
12127  return SWIG_arg;
12128 }
12129 
12130 
12131 static int _wrap_uiItem_set_containerlike(lua_State* L) {
12132  int SWIG_arg = 0;
12133  uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12134  bool arg2 ;
12135 
12136  SWIG_check_num_args("uiItemNode_t::set_containerlike",2,2)
12137  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::set_containerlike",1,"uiItemNode_t *");
12138  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiItemNode_t::set_containerlike",2,"bool");
12139 
12140  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12141  SWIG_fail_ptr("uiItem_set_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12142  }
12143 
12144  arg2 = (lua_toboolean(L, 2)!=0);
12145  uiItemNode_t_set_containerlike(arg1,arg2);
12146 
12147  return SWIG_arg;
12148 
12149  if(0) SWIG_fail;
12150 
12151 fail:
12152  lua_error(L);
12153  return SWIG_arg;
12154 }
12155 
12156 
12157 static int _wrap_new_uiItem(lua_State* L) {
12158  int SWIG_arg = 0;
12159  uiItemNode_t *result = 0 ;
12160 
12161  SWIG_check_num_args("uiItemNode_t::uiItemNode_t",0,0)
12162  result = (uiItemNode_t *)new uiItemNode_t();
12163  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,1); SWIG_arg++;
12164  return SWIG_arg;
12165 
12166  if(0) SWIG_fail;
12167 
12168 fail:
12169  lua_error(L);
12170  return SWIG_arg;
12171 }
12172 
12173 
12174 static void swig_delete_uiItem(void *obj) {
12175 uiItemNode_t *arg1 = (uiItemNode_t *) obj;
12176 delete arg1;
12177 }
12178 static int _proxy__wrap_new_uiItem(lua_State *L) {
12179  assert(lua_istable(L,1));
12180  lua_pushcfunction(L,_wrap_new_uiItem);
12181  assert(!lua_isnil(L,-1));
12182  lua_replace(L,1); /* replace our table with real constructor */
12183  lua_call(L,lua_gettop(L)-1,1);
12184  return 1;
12185 }
12187  {0,0,0}
12188 };
12190  { "is_containerlike", _wrap_uiItem_is_containerlike},
12191  { "set_containerlike", _wrap_uiItem_set_containerlike},
12192  {0,0}
12193 };
12195  {0,0}
12196 };
12197 
12199  {0,0,0}
12200 };
12202  {0,0,0,0,0,0}
12203 };
12205  {0,0}
12206 };
12208  0
12209 };
12210 
12212  "uiItem",
12217  0
12218 };
12220 static const char *swig_uiItem_base_names[] = {"uiModelNode_t *",0};
12222 
12223 static int _wrap_uiOption_is_collapsed(lua_State* L) {
12224  int SWIG_arg = 0;
12225  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12226  bool result;
12227 
12228  SWIG_check_num_args("uiOptionNode_t::is_collapsed",1,1)
12229  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_collapsed",1,"uiOptionNode_t *");
12230 
12231  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12232  SWIG_fail_ptr("uiOption_is_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12233  }
12234 
12235  result = (bool)uiOptionNode_t_is_collapsed(arg1);
12236  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12237  return SWIG_arg;
12238 
12239  if(0) SWIG_fail;
12240 
12241 fail:
12242  lua_error(L);
12243  return SWIG_arg;
12244 }
12245 
12246 
12247 static int _wrap_uiOption_is_flipicion(lua_State* L) {
12248  int SWIG_arg = 0;
12249  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12250  bool result;
12251 
12252  SWIG_check_num_args("uiOptionNode_t::is_flipicion",1,1)
12253  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_flipicion",1,"uiOptionNode_t *");
12254 
12255  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12256  SWIG_fail_ptr("uiOption_is_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12257  }
12258 
12259  result = (bool)uiOptionNode_t_is_flipicion(arg1);
12260  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12261  return SWIG_arg;
12262 
12263  if(0) SWIG_fail;
12264 
12265 fail:
12266  lua_error(L);
12267  return SWIG_arg;
12268 }
12269 
12270 
12271 static int _wrap_uiOption_is_truncated(lua_State* L) {
12272  int SWIG_arg = 0;
12273  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12274  bool result;
12275 
12276  SWIG_check_num_args("uiOptionNode_t::is_truncated",1,1)
12277  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_truncated",1,"uiOptionNode_t *");
12278 
12279  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12280  SWIG_fail_ptr("uiOption_is_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12281  }
12282 
12283  result = (bool)uiOptionNode_t_is_truncated(arg1);
12284  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12285  return SWIG_arg;
12286 
12287  if(0) SWIG_fail;
12288 
12289 fail:
12290  lua_error(L);
12291  return SWIG_arg;
12292 }
12293 
12294 
12295 static int _wrap_uiOption_label(lua_State* L) {
12296  int SWIG_arg = 0;
12297  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12298  char *result = 0 ;
12299 
12300  SWIG_check_num_args("uiOptionNode_t::label",1,1)
12301  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::label",1,"uiOptionNode_t *");
12302 
12303  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12304  SWIG_fail_ptr("uiOption_label",1,SWIGTYPE_p_uiOptionNode_t);
12305  }
12306 
12307  result = (char *)uiOptionNode_t_label(arg1);
12308  lua_pushstring(L,(const char *)result); SWIG_arg++;
12309  return SWIG_arg;
12310 
12311  if(0) SWIG_fail;
12312 
12313 fail:
12314  lua_error(L);
12315  return SWIG_arg;
12316 }
12317 
12318 
12319 static int _wrap_uiOption_value(lua_State* L) {
12320  int SWIG_arg = 0;
12321  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12322  char *result = 0 ;
12323 
12324  SWIG_check_num_args("uiOptionNode_t::value",1,1)
12325  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::value",1,"uiOptionNode_t *");
12326 
12327  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12328  SWIG_fail_ptr("uiOption_value",1,SWIGTYPE_p_uiOptionNode_t);
12329  }
12330 
12331  result = (char *)uiOptionNode_t_value(arg1);
12332  lua_pushstring(L,(const char *)result); SWIG_arg++;
12333  return SWIG_arg;
12334 
12335  if(0) SWIG_fail;
12336 
12337 fail:
12338  lua_error(L);
12339  return SWIG_arg;
12340 }
12341 
12342 
12343 static int _wrap_uiOption_count(lua_State* L) {
12344  int SWIG_arg = 0;
12345  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12346  int result;
12347 
12348  SWIG_check_num_args("uiOptionNode_t::count",1,1)
12349  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::count",1,"uiOptionNode_t *");
12350 
12351  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12352  SWIG_fail_ptr("uiOption_count",1,SWIGTYPE_p_uiOptionNode_t);
12353  }
12354 
12355  result = (int)uiOptionNode_t_count(arg1);
12356  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12357  return SWIG_arg;
12358 
12359  if(0) SWIG_fail;
12360 
12361 fail:
12362  lua_error(L);
12363  return SWIG_arg;
12364 }
12365 
12366 
12367 static int _wrap_uiOption_set_label(lua_State* L) {
12368  int SWIG_arg = 0;
12369  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12370  char *arg2 = (char *) 0 ;
12371 
12372  SWIG_check_num_args("uiOptionNode_t::set_label",2,2)
12373  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_label",1,"uiOptionNode_t *");
12374  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_label",2,"char const *");
12375 
12376  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12377  SWIG_fail_ptr("uiOption_set_label",1,SWIGTYPE_p_uiOptionNode_t);
12378  }
12379 
12380  arg2 = (char *)lua_tostring(L, 2);
12381  uiOptionNode_t_set_label(arg1,(char const *)arg2);
12382 
12383  return SWIG_arg;
12384 
12385  if(0) SWIG_fail;
12386 
12387 fail:
12388  lua_error(L);
12389  return SWIG_arg;
12390 }
12391 
12392 
12393 static int _wrap_uiOption_set_value(lua_State* L) {
12394  int SWIG_arg = 0;
12395  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12396  char *arg2 = (char *) 0 ;
12397 
12398  SWIG_check_num_args("uiOptionNode_t::set_value",2,2)
12399  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_value",1,"uiOptionNode_t *");
12400  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_value",2,"char const *");
12401 
12402  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12403  SWIG_fail_ptr("uiOption_set_value",1,SWIGTYPE_p_uiOptionNode_t);
12404  }
12405 
12406  arg2 = (char *)lua_tostring(L, 2);
12407  uiOptionNode_t_set_value(arg1,(char const *)arg2);
12408 
12409  return SWIG_arg;
12410 
12411  if(0) SWIG_fail;
12412 
12413 fail:
12414  lua_error(L);
12415  return SWIG_arg;
12416 }
12417 
12418 
12419 static int _wrap_uiOption_set_collapsed(lua_State* L) {
12420  int SWIG_arg = 0;
12421  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12422  bool arg2 ;
12423 
12424  SWIG_check_num_args("uiOptionNode_t::set_collapsed",2,2)
12425  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",1,"uiOptionNode_t *");
12426  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",2,"bool");
12427 
12428  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12429  SWIG_fail_ptr("uiOption_set_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12430  }
12431 
12432  arg2 = (lua_toboolean(L, 2)!=0);
12433  uiOptionNode_t_set_collapsed(arg1,arg2);
12434 
12435  return SWIG_arg;
12436 
12437  if(0) SWIG_fail;
12438 
12439 fail:
12440  lua_error(L);
12441  return SWIG_arg;
12442 }
12443 
12444 
12445 static int _wrap_uiOption_set_flipicion(lua_State* L) {
12446  int SWIG_arg = 0;
12447  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12448  bool arg2 ;
12449 
12450  SWIG_check_num_args("uiOptionNode_t::set_flipicion",2,2)
12451  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",1,"uiOptionNode_t *");
12452  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",2,"bool");
12453 
12454  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12455  SWIG_fail_ptr("uiOption_set_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12456  }
12457 
12458  arg2 = (lua_toboolean(L, 2)!=0);
12459  uiOptionNode_t_set_flipicion(arg1,arg2);
12460 
12461  return SWIG_arg;
12462 
12463  if(0) SWIG_fail;
12464 
12465 fail:
12466  lua_error(L);
12467  return SWIG_arg;
12468 }
12469 
12470 
12471 static int _wrap_uiOption_set_truncated(lua_State* L) {
12472  int SWIG_arg = 0;
12473  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12474  bool arg2 ;
12475 
12476  SWIG_check_num_args("uiOptionNode_t::set_truncated",2,2)
12477  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_truncated",1,"uiOptionNode_t *");
12478  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_truncated",2,"bool");
12479 
12480  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12481  SWIG_fail_ptr("uiOption_set_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12482  }
12483 
12484  arg2 = (lua_toboolean(L, 2)!=0);
12485  uiOptionNode_t_set_truncated(arg1,arg2);
12486 
12487  return SWIG_arg;
12488 
12489  if(0) SWIG_fail;
12490 
12491 fail:
12492  lua_error(L);
12493  return SWIG_arg;
12494 }
12495 
12496 
12497 static int _wrap_uiOption_set_icon(lua_State* L) {
12498  int SWIG_arg = 0;
12499  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12500  char *arg2 = (char *) 0 ;
12501 
12502  SWIG_check_num_args("uiOptionNode_t::set_icon",2,2)
12503  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_icon",1,"uiOptionNode_t *");
12504  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_icon",2,"char const *");
12505 
12506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12507  SWIG_fail_ptr("uiOption_set_icon",1,SWIGTYPE_p_uiOptionNode_t);
12508  }
12509 
12510  arg2 = (char *)lua_tostring(L, 2);
12511  uiOptionNode_t_set_icon(arg1,(char const *)arg2);
12512 
12513  return SWIG_arg;
12514 
12515  if(0) SWIG_fail;
12516 
12517 fail:
12518  lua_error(L);
12519  return SWIG_arg;
12520 }
12521 
12522 
12523 static int _wrap_new_uiOption(lua_State* L) {
12524  int SWIG_arg = 0;
12525  uiOptionNode_t *result = 0 ;
12526 
12527  SWIG_check_num_args("uiOptionNode_t::uiOptionNode_t",0,0)
12528  result = (uiOptionNode_t *)new uiOptionNode_t();
12529  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,1); SWIG_arg++;
12530  return SWIG_arg;
12531 
12532  if(0) SWIG_fail;
12533 
12534 fail:
12535  lua_error(L);
12536  return SWIG_arg;
12537 }
12538 
12539 
12540 static void swig_delete_uiOption(void *obj) {
12541 uiOptionNode_t *arg1 = (uiOptionNode_t *) obj;
12542 delete arg1;
12543 }
12544 static int _proxy__wrap_new_uiOption(lua_State *L) {
12545  assert(lua_istable(L,1));
12546  lua_pushcfunction(L,_wrap_new_uiOption);
12547  assert(!lua_isnil(L,-1));
12548  lua_replace(L,1); /* replace our table with real constructor */
12549  lua_call(L,lua_gettop(L)-1,1);
12550  return 1;
12551 }
12553  {0,0,0}
12554 };
12556  { "is_collapsed", _wrap_uiOption_is_collapsed},
12557  { "is_flipicion", _wrap_uiOption_is_flipicion},
12558  { "is_truncated", _wrap_uiOption_is_truncated},
12559  { "label", _wrap_uiOption_label},
12560  { "value", _wrap_uiOption_value},
12561  { "count", _wrap_uiOption_count},
12562  { "set_label", _wrap_uiOption_set_label},
12563  { "set_value", _wrap_uiOption_set_value},
12564  { "set_collapsed", _wrap_uiOption_set_collapsed},
12565  { "set_flipicion", _wrap_uiOption_set_flipicion},
12566  { "set_truncated", _wrap_uiOption_set_truncated},
12567  { "set_icon", _wrap_uiOption_set_icon},
12568  {0,0}
12569 };
12571  {0,0}
12572 };
12573 
12575  {0,0,0}
12576 };
12578  {0,0,0,0,0,0}
12579 };
12581  {0,0}
12582 };
12584  0
12585 };
12586 
12588  "uiOption",
12593  0
12594 };
12596 static const char *swig_uiOption_base_names[] = {"uiNode_t *",0};
12598 
12599 static int _wrap_new_uiOptionList(lua_State* L) {
12600  int SWIG_arg = 0;
12601  uiOptionListNode_t *result = 0 ;
12602 
12603  SWIG_check_num_args("uiOptionListNode_t::uiOptionListNode_t",0,0)
12604  result = (uiOptionListNode_t *)new uiOptionListNode_t();
12605  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,1); SWIG_arg++;
12606  return SWIG_arg;
12607 
12608  if(0) SWIG_fail;
12609 
12610 fail:
12611  lua_error(L);
12612  return SWIG_arg;
12613 }
12614 
12615 
12616 static void swig_delete_uiOptionList(void *obj) {
12617 uiOptionListNode_t *arg1 = (uiOptionListNode_t *) obj;
12618 delete arg1;
12619 }
12620 static int _proxy__wrap_new_uiOptionList(lua_State *L) {
12621  assert(lua_istable(L,1));
12622  lua_pushcfunction(L,_wrap_new_uiOptionList);
12623  assert(!lua_isnil(L,-1));
12624  lua_replace(L,1); /* replace our table with real constructor */
12625  lua_call(L,lua_gettop(L)-1,1);
12626  return 1;
12627 }
12629  {0,0,0}
12630 };
12632  {0,0}
12633 };
12635  {0,0}
12636 };
12637 
12639  {0,0,0}
12640 };
12642  {0,0,0,0,0,0}
12643 };
12645  {0,0}
12646 };
12648  0
12649 };
12650 
12652  "uiOptionList",
12657  0
12658 };
12660 static const char *swig_uiOptionList_base_names[] = {"uiAbstractOptionNode_t *",0};
12662 
12663 static int _wrap_uiOptionTree_set_selectedvalue(lua_State* L) {
12664  int SWIG_arg = 0;
12665  uiOptionTreeNode_t *arg1 = (uiOptionTreeNode_t *) 0 ;
12666  char *arg2 = (char *) 0 ;
12667 
12668  SWIG_check_num_args("uiOptionTreeNode_t::set_selectedvalue",2,2)
12669  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",1,"uiOptionTreeNode_t *");
12670  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",2,"char const *");
12671 
12672  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionTreeNode_t,0))){
12673  SWIG_fail_ptr("uiOptionTree_set_selectedvalue",1,SWIGTYPE_p_uiOptionTreeNode_t);
12674  }
12675 
12676  arg2 = (char *)lua_tostring(L, 2);
12677  uiOptionTreeNode_t_set_selectedvalue(arg1,(char const *)arg2);
12678 
12679  return SWIG_arg;
12680 
12681  if(0) SWIG_fail;
12682 
12683 fail:
12684  lua_error(L);
12685  return SWIG_arg;
12686 }
12687 
12688 
12689 static int _wrap_new_uiOptionTree(lua_State* L) {
12690  int SWIG_arg = 0;
12691  uiOptionTreeNode_t *result = 0 ;
12692 
12693  SWIG_check_num_args("uiOptionTreeNode_t::uiOptionTreeNode_t",0,0)
12694  result = (uiOptionTreeNode_t *)new uiOptionTreeNode_t();
12695  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,1); SWIG_arg++;
12696  return SWIG_arg;
12697 
12698  if(0) SWIG_fail;
12699 
12700 fail:
12701  lua_error(L);
12702  return SWIG_arg;
12703 }
12704 
12705 
12706 static void swig_delete_uiOptionTree(void *obj) {
12707 uiOptionTreeNode_t *arg1 = (uiOptionTreeNode_t *) obj;
12708 delete arg1;
12709 }
12710 static int _proxy__wrap_new_uiOptionTree(lua_State *L) {
12711  assert(lua_istable(L,1));
12712  lua_pushcfunction(L,_wrap_new_uiOptionTree);
12713  assert(!lua_isnil(L,-1));
12714  lua_replace(L,1); /* replace our table with real constructor */
12715  lua_call(L,lua_gettop(L)-1,1);
12716  return 1;
12717 }
12719  {0,0,0}
12720 };
12722  { "set_selectedvalue", _wrap_uiOptionTree_set_selectedvalue},
12723  {0,0}
12724 };
12726  {0,0}
12727 };
12728 
12730  {0,0,0}
12731 };
12733  {0,0,0,0,0,0}
12734 };
12736  {0,0}
12737 };
12739  0
12740 };
12741 
12743  "uiOptionTree",
12748  0
12749 };
12751 static const char *swig_uiOptionTree_base_names[] = {"uiAbstractOptionNode_t *",0};
12753 
12754 static int _wrap_uiPanel_is_wheelscrollable(lua_State* L) {
12755  int SWIG_arg = 0;
12756  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12757  bool result;
12758 
12759  SWIG_check_num_args("uiPanelNode_t::is_wheelscrollable",1,1)
12760  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::is_wheelscrollable",1,"uiPanelNode_t *");
12761 
12762  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12763  SWIG_fail_ptr("uiPanel_is_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12764  }
12765 
12766  result = (bool)uiPanelNode_t_is_wheelscrollable(arg1);
12767  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12768  return SWIG_arg;
12769 
12770  if(0) SWIG_fail;
12771 
12772 fail:
12773  lua_error(L);
12774  return SWIG_arg;
12775 }
12776 
12777 
12778 static int _wrap_uiPanel_layout(lua_State* L) {
12779  int SWIG_arg = 0;
12780  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12781  int result;
12782 
12783  SWIG_check_num_args("uiPanelNode_t::layout",1,1)
12784  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layout",1,"uiPanelNode_t *");
12785 
12786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12787  SWIG_fail_ptr("uiPanel_layout",1,SWIGTYPE_p_uiPanelNode_t);
12788  }
12789 
12790  result = (int)uiPanelNode_t_layout(arg1);
12791  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12792  return SWIG_arg;
12793 
12794  if(0) SWIG_fail;
12795 
12796 fail:
12797  lua_error(L);
12798  return SWIG_arg;
12799 }
12800 
12801 
12802 static int _wrap_uiPanel_layoutmargin(lua_State* L) {
12803  int SWIG_arg = 0;
12804  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12805  int result;
12806 
12807  SWIG_check_num_args("uiPanelNode_t::layoutmargin",1,1)
12808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutmargin",1,"uiPanelNode_t *");
12809 
12810  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12811  SWIG_fail_ptr("uiPanel_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12812  }
12813 
12814  result = (int)uiPanelNode_t_layoutmargin(arg1);
12815  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12816  return SWIG_arg;
12817 
12818  if(0) SWIG_fail;
12819 
12820 fail:
12821  lua_error(L);
12822  return SWIG_arg;
12823 }
12824 
12825 
12826 static int _wrap_uiPanel_layoutcolumns(lua_State* L) {
12827  int SWIG_arg = 0;
12828  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12829  int result;
12830 
12831  SWIG_check_num_args("uiPanelNode_t::layoutcolumns",1,1)
12832  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutcolumns",1,"uiPanelNode_t *");
12833 
12834  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12835  SWIG_fail_ptr("uiPanel_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12836  }
12837 
12838  result = (int)uiPanelNode_t_layoutcolumns(arg1);
12839  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12840  return SWIG_arg;
12841 
12842  if(0) SWIG_fail;
12843 
12844 fail:
12845  lua_error(L);
12846  return SWIG_arg;
12847 }
12848 
12849 
12850 static int _wrap_uiPanel_set_layout(lua_State* L) {
12851  int SWIG_arg = 0;
12852  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12853  int arg2 ;
12854 
12855  SWIG_check_num_args("uiPanelNode_t::set_layout",2,2)
12856  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layout",1,"uiPanelNode_t *");
12857  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layout",2,"int");
12858 
12859  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12860  SWIG_fail_ptr("uiPanel_set_layout",1,SWIGTYPE_p_uiPanelNode_t);
12861  }
12862 
12863  arg2 = (int)lua_tonumber(L, 2);
12864  uiPanelNode_t_set_layout(arg1,arg2);
12865 
12866  return SWIG_arg;
12867 
12868  if(0) SWIG_fail;
12869 
12870 fail:
12871  lua_error(L);
12872  return SWIG_arg;
12873 }
12874 
12875 
12876 static int _wrap_uiPanel_set_layoutmargin(lua_State* L) {
12877  int SWIG_arg = 0;
12878  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12879  int arg2 ;
12880 
12881  SWIG_check_num_args("uiPanelNode_t::set_layoutmargin",2,2)
12882  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",1,"uiPanelNode_t *");
12883  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",2,"int");
12884 
12885  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12886  SWIG_fail_ptr("uiPanel_set_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12887  }
12888 
12889  arg2 = (int)lua_tonumber(L, 2);
12890  uiPanelNode_t_set_layoutmargin(arg1,arg2);
12891 
12892  return SWIG_arg;
12893 
12894  if(0) SWIG_fail;
12895 
12896 fail:
12897  lua_error(L);
12898  return SWIG_arg;
12899 }
12900 
12901 
12902 static int _wrap_uiPanel_set_layoutcolumns(lua_State* L) {
12903  int SWIG_arg = 0;
12904  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12905  int arg2 ;
12906 
12907  SWIG_check_num_args("uiPanelNode_t::set_layoutcolumns",2,2)
12908  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",1,"uiPanelNode_t *");
12909  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",2,"int");
12910 
12911  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12912  SWIG_fail_ptr("uiPanel_set_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12913  }
12914 
12915  arg2 = (int)lua_tonumber(L, 2);
12917 
12918  return SWIG_arg;
12919 
12920  if(0) SWIG_fail;
12921 
12922 fail:
12923  lua_error(L);
12924  return SWIG_arg;
12925 }
12926 
12927 
12928 static int _wrap_uiPanel_set_wheelscrollable(lua_State* L) {
12929  int SWIG_arg = 0;
12930  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12931  bool arg2 ;
12932 
12933  SWIG_check_num_args("uiPanelNode_t::set_wheelscrollable",2,2)
12934  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",1,"uiPanelNode_t *");
12935  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",2,"bool");
12936 
12937  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12938  SWIG_fail_ptr("uiPanel_set_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12939  }
12940 
12941  arg2 = (lua_toboolean(L, 2)!=0);
12943 
12944  return SWIG_arg;
12945 
12946  if(0) SWIG_fail;
12947 
12948 fail:
12949  lua_error(L);
12950  return SWIG_arg;
12951 }
12952 
12953 
12954 static int _wrap_uiPanel_set_background(lua_State* L) {
12955  int SWIG_arg = 0;
12956  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12957  char *arg2 = (char *) 0 ;
12958 
12959  SWIG_check_num_args("uiPanelNode_t::set_background",2,2)
12960  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_background",1,"uiPanelNode_t *");
12961  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiPanelNode_t::set_background",2,"char const *");
12962 
12963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12964  SWIG_fail_ptr("uiPanel_set_background",1,SWIGTYPE_p_uiPanelNode_t);
12965  }
12966 
12967  arg2 = (char *)lua_tostring(L, 2);
12968  uiPanelNode_t_set_background(arg1,(char const *)arg2);
12969 
12970  return SWIG_arg;
12971 
12972  if(0) SWIG_fail;
12973 
12974 fail:
12975  lua_error(L);
12976  return SWIG_arg;
12977 }
12978 
12979 
12980 static int _wrap_new_uiPanel(lua_State* L) {
12981  int SWIG_arg = 0;
12982  uiPanelNode_t *result = 0 ;
12983 
12984  SWIG_check_num_args("uiPanelNode_t::uiPanelNode_t",0,0)
12985  result = (uiPanelNode_t *)new uiPanelNode_t();
12986  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,1); SWIG_arg++;
12987  return SWIG_arg;
12988 
12989  if(0) SWIG_fail;
12990 
12991 fail:
12992  lua_error(L);
12993  return SWIG_arg;
12994 }
12995 
12996 
12997 static void swig_delete_uiPanel(void *obj) {
12998 uiPanelNode_t *arg1 = (uiPanelNode_t *) obj;
12999 delete arg1;
13000 }
13001 static int _proxy__wrap_new_uiPanel(lua_State *L) {
13002  assert(lua_istable(L,1));
13003  lua_pushcfunction(L,_wrap_new_uiPanel);
13004  assert(!lua_isnil(L,-1));
13005  lua_replace(L,1); /* replace our table with real constructor */
13006  lua_call(L,lua_gettop(L)-1,1);
13007  return 1;
13008 }
13010  {0,0,0}
13011 };
13013  { "is_wheelscrollable", _wrap_uiPanel_is_wheelscrollable},
13014  { "layout", _wrap_uiPanel_layout},
13015  { "layoutmargin", _wrap_uiPanel_layoutmargin},
13016  { "layoutcolumns", _wrap_uiPanel_layoutcolumns},
13017  { "set_layout", _wrap_uiPanel_set_layout},
13018  { "set_layoutmargin", _wrap_uiPanel_set_layoutmargin},
13019  { "set_layoutcolumns", _wrap_uiPanel_set_layoutcolumns},
13020  { "set_wheelscrollable", _wrap_uiPanel_set_wheelscrollable},
13021  { "set_background", _wrap_uiPanel_set_background},
13022  {0,0}
13023 };
13025  {0,0}
13026 };
13027 
13029  {0,0,0}
13030 };
13032  {0,0,0,0,0,0}
13033 };
13035  {0,0}
13036 };
13038  0
13039 };
13040 
13042  "uiPanel",
13047  0
13048 };
13050 static const char *swig_uiPanel_base_names[] = {"uiAbstractScrollableNode_t *",0};
13052 
13053 static int _wrap_new_uiRadar(lua_State* L) {
13054  int SWIG_arg = 0;
13055  uiRadarNode_t *result = 0 ;
13056 
13057  SWIG_check_num_args("uiRadarNode_t::uiRadarNode_t",0,0)
13058  result = (uiRadarNode_t *)new uiRadarNode_t();
13059  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,1); SWIG_arg++;
13060  return SWIG_arg;
13061 
13062  if(0) SWIG_fail;
13063 
13064 fail:
13065  lua_error(L);
13066  return SWIG_arg;
13067 }
13068 
13069 
13070 static void swig_delete_uiRadar(void *obj) {
13071 uiRadarNode_t *arg1 = (uiRadarNode_t *) obj;
13072 delete arg1;
13073 }
13074 static int _proxy__wrap_new_uiRadar(lua_State *L) {
13075  assert(lua_istable(L,1));
13076  lua_pushcfunction(L,_wrap_new_uiRadar);
13077  assert(!lua_isnil(L,-1));
13078  lua_replace(L,1); /* replace our table with real constructor */
13079  lua_call(L,lua_gettop(L)-1,1);
13080  return 1;
13081 }
13083  {0,0,0}
13084 };
13086  {0,0}
13087 };
13089  {0,0}
13090 };
13091 
13093  {0,0,0}
13094 };
13096  {0,0,0,0,0,0}
13097 };
13099  {0,0}
13100 };
13102  0
13103 };
13104 
13106  "uiRadar",
13111  0
13112 };
13114 static const char *swig_uiRadar_base_names[] = {"uiNode_t *",0};
13116 
13117 static int _wrap_uiRadioButton_is_flipicon(lua_State* L) {
13118  int SWIG_arg = 0;
13120  bool result;
13121 
13122  SWIG_check_num_args("uiRadioButtonNode_t::is_flipicon",1,1)
13123  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::is_flipicon",1,"uiRadioButtonNode_t *");
13124 
13125  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13126  SWIG_fail_ptr("uiRadioButton_is_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13127  }
13128 
13129  result = (bool)uiRadioButtonNode_t_is_flipicon(arg1);
13130  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13131  return SWIG_arg;
13132 
13133  if(0) SWIG_fail;
13134 
13135 fail:
13136  lua_error(L);
13137  return SWIG_arg;
13138 }
13139 
13140 
13141 static int _wrap_uiRadioButton_as_string(lua_State* L) {
13142  int SWIG_arg = 0;
13144  char *result = 0 ;
13145 
13146  SWIG_check_num_args("uiRadioButtonNode_t::as_string",1,1)
13147  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_string",1,"uiRadioButtonNode_t *");
13148 
13149  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13150  SWIG_fail_ptr("uiRadioButton_as_string",1,SWIGTYPE_p_uiRadioButtonNode_t);
13151  }
13152 
13153  result = (char *)uiRadioButtonNode_t_as_string(arg1);
13154  lua_pushstring(L,(const char *)result); SWIG_arg++;
13155  return SWIG_arg;
13156 
13157  if(0) SWIG_fail;
13158 
13159 fail:
13160  lua_error(L);
13161  return SWIG_arg;
13162 }
13163 
13164 
13165 static int _wrap_uiRadioButton_as_float(lua_State* L) {
13166  int SWIG_arg = 0;
13168  float result;
13169 
13170  SWIG_check_num_args("uiRadioButtonNode_t::as_float",1,1)
13171  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_float",1,"uiRadioButtonNode_t *");
13172 
13173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13174  SWIG_fail_ptr("uiRadioButton_as_float",1,SWIGTYPE_p_uiRadioButtonNode_t);
13175  }
13176 
13177  result = (float)uiRadioButtonNode_t_as_float(arg1);
13178  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13179  return SWIG_arg;
13180 
13181  if(0) SWIG_fail;
13182 
13183 fail:
13184  lua_error(L);
13185  return SWIG_arg;
13186 }
13187 
13188 
13189 static int _wrap_uiRadioButton_cvar(lua_State* L) {
13190  int SWIG_arg = 0;
13192  char *result = 0 ;
13193 
13194  SWIG_check_num_args("uiRadioButtonNode_t::cvar",1,1)
13195  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::cvar",1,"uiRadioButtonNode_t *");
13196 
13197  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13198  SWIG_fail_ptr("uiRadioButton_cvar",1,SWIGTYPE_p_uiRadioButtonNode_t);
13199  }
13200 
13201  result = (char *)uiRadioButtonNode_t_cvar(arg1);
13202  lua_pushstring(L,(const char *)result); SWIG_arg++;
13203  return SWIG_arg;
13204 
13205  if(0) SWIG_fail;
13206 
13207 fail:
13208  lua_error(L);
13209  return SWIG_arg;
13210 }
13211 
13212 
13213 static int _wrap_uiRadioButton_set_cvar(lua_State* L) {
13214  int SWIG_arg = 0;
13216  char *arg2 = (char *) 0 ;
13217 
13218  SWIG_check_num_args("uiRadioButtonNode_t::set_cvar",2,2)
13219  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_cvar",1,"uiRadioButtonNode_t *");
13220  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_cvar",2,"char const *");
13221 
13222  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13223  SWIG_fail_ptr("uiRadioButton_set_cvar",1,SWIGTYPE_p_uiRadioButtonNode_t);
13224  }
13225 
13226  arg2 = (char *)lua_tostring(L, 2);
13227  uiRadioButtonNode_t_set_cvar(arg1,(char const *)arg2);
13228 
13229  return SWIG_arg;
13230 
13231  if(0) SWIG_fail;
13232 
13233 fail:
13234  lua_error(L);
13235  return SWIG_arg;
13236 }
13237 
13238 
13239 static int _wrap_uiRadioButton_set_value__SWIG_0(lua_State* L) {
13240  int SWIG_arg = 0;
13242  char *arg2 = (char *) 0 ;
13243 
13244  SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13245  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13246  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"char const *");
13247 
13248  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13249  SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13250  }
13251 
13252  arg2 = (char *)lua_tostring(L, 2);
13253  uiRadioButtonNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
13254 
13255  return SWIG_arg;
13256 
13257  if(0) SWIG_fail;
13258 
13259 fail:
13260  lua_error(L);
13261  return SWIG_arg;
13262 }
13263 
13264 
13265 static int _wrap_uiRadioButton_set_value__SWIG_1(lua_State* L) {
13266  int SWIG_arg = 0;
13268  float arg2 ;
13269 
13270  SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13271  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13272  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"float");
13273 
13274  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13275  SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13276  }
13277 
13278  arg2 = (float)lua_tonumber(L, 2);
13280 
13281  return SWIG_arg;
13282 
13283  if(0) SWIG_fail;
13284 
13285 fail:
13286  lua_error(L);
13287  return SWIG_arg;
13288 }
13289 
13290 
13291 static int _wrap_uiRadioButton_set_value(lua_State* L) {
13292  int argc;
13293  int argv[3]={
13294  1,2,3
13295  };
13296 
13297  argc = lua_gettop(L);
13298  if (argc == 2) {
13299  int _v;
13300  {
13301  void *ptr;
13302  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13303  _v = 0;
13304  } else {
13305  _v = 1;
13306  }
13307  }
13308  if (_v) {
13309  {
13310  _v = lua_isnumber(L,argv[1]);
13311  }
13312  if (_v) {
13314  }
13315  }
13316  }
13317  if (argc == 2) {
13318  int _v;
13319  {
13320  void *ptr;
13321  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13322  _v = 0;
13323  } else {
13324  _v = 1;
13325  }
13326  }
13327  if (_v) {
13328  {
13329  _v = SWIG_lua_isnilstring(L,argv[1]);
13330  }
13331  if (_v) {
13333  }
13334  }
13335  }
13336 
13337  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiRadioButton_set_value'\n"
13338  " Possible C/C++ prototypes are:\n"
13339  " uiRadioButtonNode_t::set_value(char const *)\n"
13340  " uiRadioButtonNode_t::set_value(float)\n");
13341  lua_error(L);return 0;
13342 }
13343 
13344 
13345 static int _wrap_uiRadioButton_set_flipicon(lua_State* L) {
13346  int SWIG_arg = 0;
13348  bool arg2 ;
13349 
13350  SWIG_check_num_args("uiRadioButtonNode_t::set_flipicon",2,2)
13351  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",1,"uiRadioButtonNode_t *");
13352  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",2,"bool");
13353 
13354  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13355  SWIG_fail_ptr("uiRadioButton_set_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13356  }
13357 
13358  arg2 = (lua_toboolean(L, 2)!=0);
13360 
13361  return SWIG_arg;
13362 
13363  if(0) SWIG_fail;
13364 
13365 fail:
13366  lua_error(L);
13367  return SWIG_arg;
13368 }
13369 
13370 
13371 static int _wrap_uiRadioButton_set_background(lua_State* L) {
13372  int SWIG_arg = 0;
13374  char *arg2 = (char *) 0 ;
13375 
13376  SWIG_check_num_args("uiRadioButtonNode_t::set_background",2,2)
13377  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",1,"uiRadioButtonNode_t *");
13378  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",2,"char const *");
13379 
13380  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13381  SWIG_fail_ptr("uiRadioButton_set_background",1,SWIGTYPE_p_uiRadioButtonNode_t);
13382  }
13383 
13384  arg2 = (char *)lua_tostring(L, 2);
13385  uiRadioButtonNode_t_set_background(arg1,(char const *)arg2);
13386 
13387  return SWIG_arg;
13388 
13389  if(0) SWIG_fail;
13390 
13391 fail:
13392  lua_error(L);
13393  return SWIG_arg;
13394 }
13395 
13396 
13397 static int _wrap_uiRadioButton_set_icon(lua_State* L) {
13398  int SWIG_arg = 0;
13400  char *arg2 = (char *) 0 ;
13401 
13402  SWIG_check_num_args("uiRadioButtonNode_t::set_icon",2,2)
13403  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",1,"uiRadioButtonNode_t *");
13404  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",2,"char const *");
13405 
13406  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13407  SWIG_fail_ptr("uiRadioButton_set_icon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13408  }
13409 
13410  arg2 = (char *)lua_tostring(L, 2);
13411  uiRadioButtonNode_t_set_icon(arg1,(char const *)arg2);
13412 
13413  return SWIG_arg;
13414 
13415  if(0) SWIG_fail;
13416 
13417 fail:
13418  lua_error(L);
13419  return SWIG_arg;
13420 }
13421 
13422 
13423 static int _wrap_new_uiRadioButton(lua_State* L) {
13424  int SWIG_arg = 0;
13425  uiRadioButtonNode_t *result = 0 ;
13426 
13427  SWIG_check_num_args("uiRadioButtonNode_t::uiRadioButtonNode_t",0,0)
13428  result = (uiRadioButtonNode_t *)new uiRadioButtonNode_t();
13429  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,1); SWIG_arg++;
13430  return SWIG_arg;
13431 
13432  if(0) SWIG_fail;
13433 
13434 fail:
13435  lua_error(L);
13436  return SWIG_arg;
13437 }
13438 
13439 
13440 static void swig_delete_uiRadioButton(void *obj) {
13442 delete arg1;
13443 }
13444 static int _proxy__wrap_new_uiRadioButton(lua_State *L) {
13445  assert(lua_istable(L,1));
13446  lua_pushcfunction(L,_wrap_new_uiRadioButton);
13447  assert(!lua_isnil(L,-1));
13448  lua_replace(L,1); /* replace our table with real constructor */
13449  lua_call(L,lua_gettop(L)-1,1);
13450  return 1;
13451 }
13453  {0,0,0}
13454 };
13456  { "is_flipicon", _wrap_uiRadioButton_is_flipicon},
13457  { "as_string", _wrap_uiRadioButton_as_string},
13458  { "as_float", _wrap_uiRadioButton_as_float},
13459  { "cvar", _wrap_uiRadioButton_cvar},
13460  { "set_cvar", _wrap_uiRadioButton_set_cvar},
13461  { "set_value", _wrap_uiRadioButton_set_value},
13462  { "set_flipicon", _wrap_uiRadioButton_set_flipicon},
13463  { "set_background", _wrap_uiRadioButton_set_background},
13464  { "set_icon", _wrap_uiRadioButton_set_icon},
13465  {0,0}
13466 };
13468  {0,0}
13469 };
13470 
13472  {0,0,0}
13473 };
13475  {0,0,0,0,0,0}
13476 };
13478  {0,0}
13479 };
13481  0
13482 };
13483 
13485  "uiRadioButton",
13490  0
13491 };
13493 static const char *swig_uiRadioButton_base_names[] = {"uiNode_t *",0};
13495 
13496 static int _wrap_uiRows_current(lua_State* L) {
13497  int SWIG_arg = 0;
13498  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13499  int result;
13500 
13501  SWIG_check_num_args("uiRowsNode_t::current",1,1)
13502  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::current",1,"uiRowsNode_t *");
13503 
13504  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13505  SWIG_fail_ptr("uiRows_current",1,SWIGTYPE_p_uiRowsNode_t);
13506  }
13507 
13508  result = (int)uiRowsNode_t_current(arg1);
13509  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13510  return SWIG_arg;
13511 
13512  if(0) SWIG_fail;
13513 
13514 fail:
13515  lua_error(L);
13516  return SWIG_arg;
13517 }
13518 
13519 
13520 static int _wrap_uiRows_lineheight(lua_State* L) {
13521  int SWIG_arg = 0;
13522  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13523  int result;
13524 
13525  SWIG_check_num_args("uiRowsNode_t::lineheight",1,1)
13526  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::lineheight",1,"uiRowsNode_t *");
13527 
13528  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13529  SWIG_fail_ptr("uiRows_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13530  }
13531 
13532  result = (int)uiRowsNode_t_lineheight(arg1);
13533  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13534  return SWIG_arg;
13535 
13536  if(0) SWIG_fail;
13537 
13538 fail:
13539  lua_error(L);
13540  return SWIG_arg;
13541 }
13542 
13543 
13544 static int _wrap_uiRows_set_current(lua_State* L) {
13545  int SWIG_arg = 0;
13546  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13547  int arg2 ;
13548 
13549  SWIG_check_num_args("uiRowsNode_t::set_current",2,2)
13550  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_current",1,"uiRowsNode_t *");
13551  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_current",2,"int");
13552 
13553  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13554  SWIG_fail_ptr("uiRows_set_current",1,SWIGTYPE_p_uiRowsNode_t);
13555  }
13556 
13557  arg2 = (int)lua_tonumber(L, 2);
13558  uiRowsNode_t_set_current(arg1,arg2);
13559 
13560  return SWIG_arg;
13561 
13562  if(0) SWIG_fail;
13563 
13564 fail:
13565  lua_error(L);
13566  return SWIG_arg;
13567 }
13568 
13569 
13570 static int _wrap_uiRows_set_lineheight(lua_State* L) {
13571  int SWIG_arg = 0;
13572  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13573  int arg2 ;
13574 
13575  SWIG_check_num_args("uiRowsNode_t::set_lineheight",2,2)
13576  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",1,"uiRowsNode_t *");
13577  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",2,"int");
13578 
13579  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13580  SWIG_fail_ptr("uiRows_set_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13581  }
13582 
13583  arg2 = (int)lua_tonumber(L, 2);
13584  uiRowsNode_t_set_lineheight(arg1,arg2);
13585 
13586  return SWIG_arg;
13587 
13588  if(0) SWIG_fail;
13589 
13590 fail:
13591  lua_error(L);
13592  return SWIG_arg;
13593 }
13594 
13595 
13596 static int _wrap_new_uiRows(lua_State* L) {
13597  int SWIG_arg = 0;
13598  uiRowsNode_t *result = 0 ;
13599 
13600  SWIG_check_num_args("uiRowsNode_t::uiRowsNode_t",0,0)
13601  result = (uiRowsNode_t *)new uiRowsNode_t();
13602  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,1); SWIG_arg++;
13603  return SWIG_arg;
13604 
13605  if(0) SWIG_fail;
13606 
13607 fail:
13608  lua_error(L);
13609  return SWIG_arg;
13610 }
13611 
13612 
13613 static void swig_delete_uiRows(void *obj) {
13614 uiRowsNode_t *arg1 = (uiRowsNode_t *) obj;
13615 delete arg1;
13616 }
13617 static int _proxy__wrap_new_uiRows(lua_State *L) {
13618  assert(lua_istable(L,1));
13619  lua_pushcfunction(L,_wrap_new_uiRows);
13620  assert(!lua_isnil(L,-1));
13621  lua_replace(L,1); /* replace our table with real constructor */
13622  lua_call(L,lua_gettop(L)-1,1);
13623  return 1;
13624 }
13626  {0,0,0}
13627 };
13629  { "current", _wrap_uiRows_current},
13630  { "lineheight", _wrap_uiRows_lineheight},
13631  { "set_current", _wrap_uiRows_set_current},
13632  { "set_lineheight", _wrap_uiRows_set_lineheight},
13633  {0,0}
13634 };
13636  {0,0}
13637 };
13638 
13640  {0,0,0}
13641 };
13643  {0,0,0,0,0,0}
13644 };
13646  {0,0}
13647 };
13649  0
13650 };
13651 
13653  "uiRows",
13658  0
13659 };
13661 static const char *swig_uiRows_base_names[] = {"uiNode_t *",0};
13663 
13664 static int _wrap_new_uiSelectBox(lua_State* L) {
13665  int SWIG_arg = 0;
13666  uiSelectBoxNode_t *result = 0 ;
13667 
13668  SWIG_check_num_args("uiSelectBoxNode_t::uiSelectBoxNode_t",0,0)
13669  result = (uiSelectBoxNode_t *)new uiSelectBoxNode_t();
13670  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,1); SWIG_arg++;
13671  return SWIG_arg;
13672 
13673  if(0) SWIG_fail;
13674 
13675 fail:
13676  lua_error(L);
13677  return SWIG_arg;
13678 }
13679 
13680 
13681 static void swig_delete_uiSelectBox(void *obj) {
13682 uiSelectBoxNode_t *arg1 = (uiSelectBoxNode_t *) obj;
13683 delete arg1;
13684 }
13685 static int _proxy__wrap_new_uiSelectBox(lua_State *L) {
13686  assert(lua_istable(L,1));
13687  lua_pushcfunction(L,_wrap_new_uiSelectBox);
13688  assert(!lua_isnil(L,-1));
13689  lua_replace(L,1); /* replace our table with real constructor */
13690  lua_call(L,lua_gettop(L)-1,1);
13691  return 1;
13692 }
13694  {0,0,0}
13695 };
13697  {0,0}
13698 };
13700  {0,0}
13701 };
13702 
13704  {0,0,0}
13705 };
13707  {0,0,0,0,0,0}
13708 };
13710  {0,0}
13711 };
13713  0
13714 };
13715 
13717  "uiSelectBox",
13722  0
13723 };
13725 static const char *swig_uiSelectBox_base_names[] = {"uiAbstractOptionNode_t *",0};
13727 
13728 static int _wrap_uiSequence_is_playing(lua_State* L) {
13729  int SWIG_arg = 0;
13730  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13731  bool result;
13732 
13733  SWIG_check_num_args("uiSequenceNode_t::is_playing",1,1)
13734  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::is_playing",1,"uiSequenceNode_t *");
13735 
13736  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13737  SWIG_fail_ptr("uiSequence_is_playing",1,SWIGTYPE_p_uiSequenceNode_t);
13738  }
13739 
13740  result = (bool)uiSequenceNode_t_is_playing(arg1);
13741  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13742  return SWIG_arg;
13743 
13744  if(0) SWIG_fail;
13745 
13746 fail:
13747  lua_error(L);
13748  return SWIG_arg;
13749 }
13750 
13751 
13752 static int _wrap_uiSequence_set_source(lua_State* L) {
13753  int SWIG_arg = 0;
13754  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13755  char *arg2 = (char *) 0 ;
13756 
13757  SWIG_check_num_args("uiSequenceNode_t::set_source",2,2)
13758  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::set_source",1,"uiSequenceNode_t *");
13759  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSequenceNode_t::set_source",2,"char const *");
13760 
13761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13762  SWIG_fail_ptr("uiSequence_set_source",1,SWIGTYPE_p_uiSequenceNode_t);
13763  }
13764 
13765  arg2 = (char *)lua_tostring(L, 2);
13766  uiSequenceNode_t_set_source(arg1,(char const *)arg2);
13767 
13768  return SWIG_arg;
13769 
13770  if(0) SWIG_fail;
13771 
13772 fail:
13773  lua_error(L);
13774  return SWIG_arg;
13775 }
13776 
13777 
13778 static int _wrap_uiSequence_lua_onEnd_set(lua_State* L) {
13779  int SWIG_arg = 0;
13780  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13781  LUA_EVENT arg2 ;
13782 
13783  SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",2,2)
13784  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13785 
13786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13787  SWIG_fail_ptr("uiSequence_lua_onEnd_set",1,SWIGTYPE_p_uiSequenceNode_t);
13788  }
13789 
13790  {
13791  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
13792  }
13793  uiSequenceNode_t_lua_onEnd_set(arg1,arg2);
13794 
13795  return SWIG_arg;
13796 
13797  if(0) SWIG_fail;
13798 
13799 fail:
13800  lua_error(L);
13801  return SWIG_arg;
13802 }
13803 
13804 
13805 static int _wrap_uiSequence_lua_onEnd_get(lua_State* L) {
13806  int SWIG_arg = 0;
13807  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13808  LUA_EVENT result;
13809 
13810  SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",1,1)
13811  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13812 
13813  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13814  SWIG_fail_ptr("uiSequence_lua_onEnd_get",1,SWIGTYPE_p_uiSequenceNode_t);
13815  }
13816 
13817  result = uiSequenceNode_t_lua_onEnd_get(arg1);
13818  {
13819  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
13820  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
13821  }
13822  return SWIG_arg;
13823 
13824  if(0) SWIG_fail;
13825 
13826 fail:
13827  lua_error(L);
13828  return SWIG_arg;
13829 }
13830 
13831 
13832 static int _wrap_new_uiSequence(lua_State* L) {
13833  int SWIG_arg = 0;
13834  uiSequenceNode_t *result = 0 ;
13835 
13836  SWIG_check_num_args("uiSequenceNode_t::uiSequenceNode_t",0,0)
13837  result = (uiSequenceNode_t *)new uiSequenceNode_t();
13838  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,1); SWIG_arg++;
13839  return SWIG_arg;
13840 
13841  if(0) SWIG_fail;
13842 
13843 fail:
13844  lua_error(L);
13845  return SWIG_arg;
13846 }
13847 
13848 
13849 static void swig_delete_uiSequence(void *obj) {
13850 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) obj;
13851 delete arg1;
13852 }
13853 static int _proxy__wrap_new_uiSequence(lua_State *L) {
13854  assert(lua_istable(L,1));
13855  lua_pushcfunction(L,_wrap_new_uiSequence);
13856  assert(!lua_isnil(L,-1));
13857  lua_replace(L,1); /* replace our table with real constructor */
13858  lua_call(L,lua_gettop(L)-1,1);
13859  return 1;
13860 }
13863  {0,0,0}
13864 };
13866  { "is_playing", _wrap_uiSequence_is_playing},
13867  { "set_source", _wrap_uiSequence_set_source},
13868  {0,0}
13869 };
13871  {0,0}
13872 };
13873 
13875  {0,0,0}
13876 };
13878  {0,0,0,0,0,0}
13879 };
13881  {0,0}
13882 };
13884  0
13885 };
13886 
13888  "uiSequence",
13893  0
13894 };
13896 static const char *swig_uiSequence_base_names[] = {"uiNode_t *",0};
13898 
13899 static int _wrap_uiSpinner_is_horizontal(lua_State* L) {
13900  int SWIG_arg = 0;
13901  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13902  bool result;
13903 
13904  SWIG_check_num_args("uiSpinnerNode_t::is_horizontal",1,1)
13905  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_horizontal",1,"uiSpinnerNode_t *");
13906 
13907  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13908  SWIG_fail_ptr("uiSpinner_is_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
13909  }
13910 
13911  result = (bool)uiSpinnerNode_t_is_horizontal(arg1);
13912  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13913  return SWIG_arg;
13914 
13915  if(0) SWIG_fail;
13916 
13917 fail:
13918  lua_error(L);
13919  return SWIG_arg;
13920 }
13921 
13922 
13923 static int _wrap_uiSpinner_is_inverted(lua_State* L) {
13924  int SWIG_arg = 0;
13925  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13926  bool result;
13927 
13928  SWIG_check_num_args("uiSpinnerNode_t::is_inverted",1,1)
13929  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_inverted",1,"uiSpinnerNode_t *");
13930 
13931  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13932  SWIG_fail_ptr("uiSpinner_is_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
13933  }
13934 
13935  result = (bool)uiSpinnerNode_t_is_inverted(arg1);
13936  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13937  return SWIG_arg;
13938 
13939  if(0) SWIG_fail;
13940 
13941 fail:
13942  lua_error(L);
13943  return SWIG_arg;
13944 }
13945 
13946 
13947 static int _wrap_uiSpinner_mode(lua_State* L) {
13948  int SWIG_arg = 0;
13949  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13950  int result;
13951 
13952  SWIG_check_num_args("uiSpinnerNode_t::mode",1,1)
13953  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::mode",1,"uiSpinnerNode_t *");
13954 
13955  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13956  SWIG_fail_ptr("uiSpinner_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
13957  }
13958 
13959  result = (int)uiSpinnerNode_t_mode(arg1);
13960  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13961  return SWIG_arg;
13962 
13963  if(0) SWIG_fail;
13964 
13965 fail:
13966  lua_error(L);
13967  return SWIG_arg;
13968 }
13969 
13970 
13971 static int _wrap_uiSpinner_set_background(lua_State* L) {
13972  int SWIG_arg = 0;
13973  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13974  char *arg2 = (char *) 0 ;
13975 
13976  SWIG_check_num_args("uiSpinnerNode_t::set_background",2,2)
13977  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_background",1,"uiSpinnerNode_t *");
13978  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_background",2,"char const *");
13979 
13980  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13981  SWIG_fail_ptr("uiSpinner_set_background",1,SWIGTYPE_p_uiSpinnerNode_t);
13982  }
13983 
13984  arg2 = (char *)lua_tostring(L, 2);
13985  uiSpinnerNode_t_set_background(arg1,(char const *)arg2);
13986 
13987  return SWIG_arg;
13988 
13989  if(0) SWIG_fail;
13990 
13991 fail:
13992  lua_error(L);
13993  return SWIG_arg;
13994 }
13995 
13996 
13997 static int _wrap_uiSpinner_set_topicon(lua_State* L) {
13998  int SWIG_arg = 0;
13999  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14000  char *arg2 = (char *) 0 ;
14001 
14002  SWIG_check_num_args("uiSpinnerNode_t::set_topicon",2,2)
14003  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",1,"uiSpinnerNode_t *");
14004  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",2,"char const *");
14005 
14006  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14007  SWIG_fail_ptr("uiSpinner_set_topicon",1,SWIGTYPE_p_uiSpinnerNode_t);
14008  }
14009 
14010  arg2 = (char *)lua_tostring(L, 2);
14011  uiSpinnerNode_t_set_topicon(arg1,(char const *)arg2);
14012 
14013  return SWIG_arg;
14014 
14015  if(0) SWIG_fail;
14016 
14017 fail:
14018  lua_error(L);
14019  return SWIG_arg;
14020 }
14021 
14022 
14023 static int _wrap_uiSpinner_set_bottomicon(lua_State* L) {
14024  int SWIG_arg = 0;
14025  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14026  char *arg2 = (char *) 0 ;
14027 
14028  SWIG_check_num_args("uiSpinnerNode_t::set_bottomicon",2,2)
14029  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",1,"uiSpinnerNode_t *");
14030  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",2,"char const *");
14031 
14032  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14033  SWIG_fail_ptr("uiSpinner_set_bottomicon",1,SWIGTYPE_p_uiSpinnerNode_t);
14034  }
14035 
14036  arg2 = (char *)lua_tostring(L, 2);
14037  uiSpinnerNode_t_set_bottomicon(arg1,(char const *)arg2);
14038 
14039  return SWIG_arg;
14040 
14041  if(0) SWIG_fail;
14042 
14043 fail:
14044  lua_error(L);
14045  return SWIG_arg;
14046 }
14047 
14048 
14049 static int _wrap_uiSpinner_set_mode(lua_State* L) {
14050  int SWIG_arg = 0;
14051  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14052  int arg2 ;
14053 
14054  SWIG_check_num_args("uiSpinnerNode_t::set_mode",2,2)
14055  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",1,"uiSpinnerNode_t *");
14056  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",2,"int");
14057 
14058  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14059  SWIG_fail_ptr("uiSpinner_set_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
14060  }
14061 
14062  arg2 = (int)lua_tonumber(L, 2);
14063  uiSpinnerNode_t_set_mode(arg1,arg2);
14064 
14065  return SWIG_arg;
14066 
14067  if(0) SWIG_fail;
14068 
14069 fail:
14070  lua_error(L);
14071  return SWIG_arg;
14072 }
14073 
14074 
14075 static int _wrap_uiSpinner_set_horizontal(lua_State* L) {
14076  int SWIG_arg = 0;
14077  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14078  bool arg2 ;
14079 
14080  SWIG_check_num_args("uiSpinnerNode_t::set_horizontal",2,2)
14081  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",1,"uiSpinnerNode_t *");
14082  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",2,"bool");
14083 
14084  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14085  SWIG_fail_ptr("uiSpinner_set_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
14086  }
14087 
14088  arg2 = (lua_toboolean(L, 2)!=0);
14089  uiSpinnerNode_t_set_horizontal(arg1,arg2);
14090 
14091  return SWIG_arg;
14092 
14093  if(0) SWIG_fail;
14094 
14095 fail:
14096  lua_error(L);
14097  return SWIG_arg;
14098 }
14099 
14100 
14101 static int _wrap_uiSpinner_set_inverted(lua_State* L) {
14102  int SWIG_arg = 0;
14103  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14104  bool arg2 ;
14105 
14106  SWIG_check_num_args("uiSpinnerNode_t::set_inverted",2,2)
14107  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",1,"uiSpinnerNode_t *");
14108  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",2,"bool");
14109 
14110  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14111  SWIG_fail_ptr("uiSpinner_set_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
14112  }
14113 
14114  arg2 = (lua_toboolean(L, 2)!=0);
14115  uiSpinnerNode_t_set_inverted(arg1,arg2);
14116 
14117  return SWIG_arg;
14118 
14119  if(0) SWIG_fail;
14120 
14121 fail:
14122  lua_error(L);
14123  return SWIG_arg;
14124 }
14125 
14126 
14127 static int _wrap_new_uiSpinner(lua_State* L) {
14128  int SWIG_arg = 0;
14129  uiSpinnerNode_t *result = 0 ;
14130 
14131  SWIG_check_num_args("uiSpinnerNode_t::uiSpinnerNode_t",0,0)
14132  result = (uiSpinnerNode_t *)new uiSpinnerNode_t();
14133  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,1); SWIG_arg++;
14134  return SWIG_arg;
14135 
14136  if(0) SWIG_fail;
14137 
14138 fail:
14139  lua_error(L);
14140  return SWIG_arg;
14141 }
14142 
14143 
14144 static void swig_delete_uiSpinner(void *obj) {
14145 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) obj;
14146 delete arg1;
14147 }
14148 static int _proxy__wrap_new_uiSpinner(lua_State *L) {
14149  assert(lua_istable(L,1));
14150  lua_pushcfunction(L,_wrap_new_uiSpinner);
14151  assert(!lua_isnil(L,-1));
14152  lua_replace(L,1); /* replace our table with real constructor */
14153  lua_call(L,lua_gettop(L)-1,1);
14154  return 1;
14155 }
14157  {0,0,0}
14158 };
14160  { "is_horizontal", _wrap_uiSpinner_is_horizontal},
14161  { "is_inverted", _wrap_uiSpinner_is_inverted},
14162  { "mode", _wrap_uiSpinner_mode},
14163  { "set_background", _wrap_uiSpinner_set_background},
14164  { "set_topicon", _wrap_uiSpinner_set_topicon},
14165  { "set_bottomicon", _wrap_uiSpinner_set_bottomicon},
14166  { "set_mode", _wrap_uiSpinner_set_mode},
14167  { "set_horizontal", _wrap_uiSpinner_set_horizontal},
14168  { "set_inverted", _wrap_uiSpinner_set_inverted},
14169  {0,0}
14170 };
14172  {0,0}
14173 };
14174 
14176  {0,0,0}
14177 };
14179  {0,0,0,0,0,0}
14180 };
14182  {0,0}
14183 };
14185  0
14186 };
14187 
14189  "uiSpinner",
14194  0
14195 };
14197 static const char *swig_uiSpinner_base_names[] = {"uiAbstractValueNode_t *",0};
14199 
14200 static int _wrap_uiString_longlines(lua_State* L) {
14201  int SWIG_arg = 0;
14202  uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14203  int result;
14204 
14205  SWIG_check_num_args("uiStringNode_t::longlines",1,1)
14206  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::longlines",1,"uiStringNode_t *");
14207 
14208  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14209  SWIG_fail_ptr("uiString_longlines",1,SWIGTYPE_p_uiStringNode_t);
14210  }
14211 
14212  result = (int)uiStringNode_t_longlines(arg1);
14213  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14214  return SWIG_arg;
14215 
14216  if(0) SWIG_fail;
14217 
14218 fail:
14219  lua_error(L);
14220  return SWIG_arg;
14221 }
14222 
14223 
14224 static int _wrap_uiString_set_longlines(lua_State* L) {
14225  int SWIG_arg = 0;
14226  uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14227  int arg2 ;
14228 
14229  SWIG_check_num_args("uiStringNode_t::set_longlines",2,2)
14230  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::set_longlines",1,"uiStringNode_t *");
14231  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiStringNode_t::set_longlines",2,"int");
14232 
14233  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14234  SWIG_fail_ptr("uiString_set_longlines",1,SWIGTYPE_p_uiStringNode_t);
14235  }
14236 
14237  arg2 = (int)lua_tonumber(L, 2);
14238  uiStringNode_t_set_longlines(arg1,arg2);
14239 
14240  return SWIG_arg;
14241 
14242  if(0) SWIG_fail;
14243 
14244 fail:
14245  lua_error(L);
14246  return SWIG_arg;
14247 }
14248 
14249 
14250 static int _wrap_new_uiString(lua_State* L) {
14251  int SWIG_arg = 0;
14252  uiStringNode_t *result = 0 ;
14253 
14254  SWIG_check_num_args("uiStringNode_t::uiStringNode_t",0,0)
14255  result = (uiStringNode_t *)new uiStringNode_t();
14256  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,1); SWIG_arg++;
14257  return SWIG_arg;
14258 
14259  if(0) SWIG_fail;
14260 
14261 fail:
14262  lua_error(L);
14263  return SWIG_arg;
14264 }
14265 
14266 
14267 static void swig_delete_uiString(void *obj) {
14268 uiStringNode_t *arg1 = (uiStringNode_t *) obj;
14269 delete arg1;
14270 }
14271 static int _proxy__wrap_new_uiString(lua_State *L) {
14272  assert(lua_istable(L,1));
14273  lua_pushcfunction(L,_wrap_new_uiString);
14274  assert(!lua_isnil(L,-1));
14275  lua_replace(L,1); /* replace our table with real constructor */
14276  lua_call(L,lua_gettop(L)-1,1);
14277  return 1;
14278 }
14280  {0,0,0}
14281 };
14283  { "longlines", _wrap_uiString_longlines},
14284  { "set_longlines", _wrap_uiString_set_longlines},
14285  {0,0}
14286 };
14288  {0,0}
14289 };
14290 
14292  {0,0,0}
14293 };
14295  {0,0,0,0,0,0}
14296 };
14298  {0,0}
14299 };
14301  0
14302 };
14303 
14305  "uiString",
14310  0
14311 };
14313 static const char *swig_uiString_base_names[] = {"uiNode_t *",0};
14315 
14316 static int _wrap_new_uiTab(lua_State* L) {
14317  int SWIG_arg = 0;
14318  uiTabNode_t *result = 0 ;
14319 
14320  SWIG_check_num_args("uiTabNode_t::uiTabNode_t",0,0)
14321  result = (uiTabNode_t *)new uiTabNode_t();
14322  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,1); SWIG_arg++;
14323  return SWIG_arg;
14324 
14325  if(0) SWIG_fail;
14326 
14327 fail:
14328  lua_error(L);
14329  return SWIG_arg;
14330 }
14331 
14332 
14333 static void swig_delete_uiTab(void *obj) {
14334 uiTabNode_t *arg1 = (uiTabNode_t *) obj;
14335 delete arg1;
14336 }
14337 static int _proxy__wrap_new_uiTab(lua_State *L) {
14338  assert(lua_istable(L,1));
14339  lua_pushcfunction(L,_wrap_new_uiTab);
14340  assert(!lua_isnil(L,-1));
14341  lua_replace(L,1); /* replace our table with real constructor */
14342  lua_call(L,lua_gettop(L)-1,1);
14343  return 1;
14344 }
14346  {0,0,0}
14347 };
14349  {0,0}
14350 };
14352  {0,0}
14353 };
14354 
14356  {0,0,0}
14357 };
14359  {0,0,0,0,0,0}
14360 };
14362  {0,0}
14363 };
14365  0
14366 };
14367 
14369  "uiTab",
14374  0
14375 };
14377 static const char *swig_uiTab_base_names[] = {"uiAbstractOptionNode_t *",0};
14379 
14380 static int _wrap_uiTBar_texh(lua_State* L) {
14381  int SWIG_arg = 0;
14382  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14383  vec2_struct_t *result = 0 ;
14384 
14385  SWIG_check_num_args("uiTBarNode_t::texh",1,1)
14386  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texh",1,"uiTBarNode_t *");
14387 
14388  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14389  SWIG_fail_ptr("uiTBar_texh",1,SWIGTYPE_p_uiTBarNode_t);
14390  }
14391 
14392  result = (vec2_struct_t *)uiTBarNode_t_texh(arg1);
14393  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14394  return SWIG_arg;
14395 
14396  if(0) SWIG_fail;
14397 
14398 fail:
14399  lua_error(L);
14400  return SWIG_arg;
14401 }
14402 
14403 
14404 static int _wrap_uiTBar_texl(lua_State* L) {
14405  int SWIG_arg = 0;
14406  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14407  vec2_struct_t *result = 0 ;
14408 
14409  SWIG_check_num_args("uiTBarNode_t::texl",1,1)
14410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texl",1,"uiTBarNode_t *");
14411 
14412  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14413  SWIG_fail_ptr("uiTBar_texl",1,SWIGTYPE_p_uiTBarNode_t);
14414  }
14415 
14416  result = (vec2_struct_t *)uiTBarNode_t_texl(arg1);
14417  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14418  return SWIG_arg;
14419 
14420  if(0) SWIG_fail;
14421 
14422 fail:
14423  lua_error(L);
14424  return SWIG_arg;
14425 }
14426 
14427 
14428 static int _wrap_uiTBar_set_source(lua_State* L) {
14429  int SWIG_arg = 0;
14430  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14431  char *arg2 = (char *) 0 ;
14432 
14433  SWIG_check_num_args("uiTBarNode_t::set_source",2,2)
14434  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_source",1,"uiTBarNode_t *");
14435  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTBarNode_t::set_source",2,"char const *");
14436 
14437  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14438  SWIG_fail_ptr("uiTBar_set_source",1,SWIGTYPE_p_uiTBarNode_t);
14439  }
14440 
14441  arg2 = (char *)lua_tostring(L, 2);
14442  uiTBarNode_t_set_source(arg1,(char const *)arg2);
14443 
14444  return SWIG_arg;
14445 
14446  if(0) SWIG_fail;
14447 
14448 fail:
14449  lua_error(L);
14450  return SWIG_arg;
14451 }
14452 
14453 
14454 static int _wrap_uiTBar_set_texh(lua_State* L) {
14455  int SWIG_arg = 0;
14456  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14457  float arg2 ;
14458  float arg3 ;
14459 
14460  SWIG_check_num_args("uiTBarNode_t::set_texh",3,3)
14461  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texh",1,"uiTBarNode_t *");
14462  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texh",2,"float");
14463  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texh",3,"float");
14464 
14465  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14466  SWIG_fail_ptr("uiTBar_set_texh",1,SWIGTYPE_p_uiTBarNode_t);
14467  }
14468 
14469  arg2 = (float)lua_tonumber(L, 2);
14470  arg3 = (float)lua_tonumber(L, 3);
14471  uiTBarNode_t_set_texh(arg1,arg2,arg3);
14472 
14473  return SWIG_arg;
14474 
14475  if(0) SWIG_fail;
14476 
14477 fail:
14478  lua_error(L);
14479  return SWIG_arg;
14480 }
14481 
14482 
14483 static int _wrap_uiTBar_set_texl(lua_State* L) {
14484  int SWIG_arg = 0;
14485  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14486  float arg2 ;
14487  float arg3 ;
14488 
14489  SWIG_check_num_args("uiTBarNode_t::set_texl",3,3)
14490  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texl",1,"uiTBarNode_t *");
14491  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texl",2,"float");
14492  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texl",3,"float");
14493 
14494  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14495  SWIG_fail_ptr("uiTBar_set_texl",1,SWIGTYPE_p_uiTBarNode_t);
14496  }
14497 
14498  arg2 = (float)lua_tonumber(L, 2);
14499  arg3 = (float)lua_tonumber(L, 3);
14500  uiTBarNode_t_set_texl(arg1,arg2,arg3);
14501 
14502  return SWIG_arg;
14503 
14504  if(0) SWIG_fail;
14505 
14506 fail:
14507  lua_error(L);
14508  return SWIG_arg;
14509 }
14510 
14511 
14512 static int _wrap_new_uiTBar(lua_State* L) {
14513  int SWIG_arg = 0;
14514  uiTBarNode_t *result = 0 ;
14515 
14516  SWIG_check_num_args("uiTBarNode_t::uiTBarNode_t",0,0)
14517  result = (uiTBarNode_t *)new uiTBarNode_t();
14518  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,1); SWIG_arg++;
14519  return SWIG_arg;
14520 
14521  if(0) SWIG_fail;
14522 
14523 fail:
14524  lua_error(L);
14525  return SWIG_arg;
14526 }
14527 
14528 
14529 static void swig_delete_uiTBar(void *obj) {
14530 uiTBarNode_t *arg1 = (uiTBarNode_t *) obj;
14531 delete arg1;
14532 }
14533 static int _proxy__wrap_new_uiTBar(lua_State *L) {
14534  assert(lua_istable(L,1));
14535  lua_pushcfunction(L,_wrap_new_uiTBar);
14536  assert(!lua_isnil(L,-1));
14537  lua_replace(L,1); /* replace our table with real constructor */
14538  lua_call(L,lua_gettop(L)-1,1);
14539  return 1;
14540 }
14542  {0,0,0}
14543 };
14545  { "texh", _wrap_uiTBar_texh},
14546  { "texl", _wrap_uiTBar_texl},
14547  { "set_source", _wrap_uiTBar_set_source},
14548  { "set_texh", _wrap_uiTBar_set_texh},
14549  { "set_texl", _wrap_uiTBar_set_texl},
14550  {0,0}
14551 };
14553  {0,0}
14554 };
14555 
14557  {0,0,0}
14558 };
14560  {0,0,0,0,0,0}
14561 };
14563  {0,0}
14564 };
14566  0
14567 };
14568 
14570  "uiTBar",
14575  0
14576 };
14578 static const char *swig_uiTBar_base_names[] = {"uiAbstractValueNode_t *",0};
14580 
14581 static int _wrap_uiText_dataid(lua_State* L) {
14582  int SWIG_arg = 0;
14583  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14584  int result;
14585 
14586  SWIG_check_num_args("uiTextNode_t::dataid",1,1)
14587  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::dataid",1,"uiTextNode_t *");
14588 
14589  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14590  SWIG_fail_ptr("uiText_dataid",1,SWIGTYPE_p_uiTextNode_t);
14591  }
14592 
14593  result = (int)uiTextNode_t_dataid(arg1);
14594  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14595  return SWIG_arg;
14596 
14597  if(0) SWIG_fail;
14598 
14599 fail:
14600  lua_error(L);
14601  return SWIG_arg;
14602 }
14603 
14604 
14605 static int _wrap_uiText_lineheight(lua_State* L) {
14606  int SWIG_arg = 0;
14607  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14608  int result;
14609 
14610  SWIG_check_num_args("uiTextNode_t::lineheight",1,1)
14611  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineheight",1,"uiTextNode_t *");
14612 
14613  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14614  SWIG_fail_ptr("uiText_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14615  }
14616 
14617  result = (int)uiTextNode_t_lineheight(arg1);
14618  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14619  return SWIG_arg;
14620 
14621  if(0) SWIG_fail;
14622 
14623 fail:
14624  lua_error(L);
14625  return SWIG_arg;
14626 }
14627 
14628 
14629 static int _wrap_uiText_lineselected(lua_State* L) {
14630  int SWIG_arg = 0;
14631  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14632  int result;
14633 
14634  SWIG_check_num_args("uiTextNode_t::lineselected",1,1)
14635  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineselected",1,"uiTextNode_t *");
14636 
14637  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14638  SWIG_fail_ptr("uiText_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14639  }
14640 
14641  result = (int)uiTextNode_t_lineselected(arg1);
14642  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14643  return SWIG_arg;
14644 
14645  if(0) SWIG_fail;
14646 
14647 fail:
14648  lua_error(L);
14649  return SWIG_arg;
14650 }
14651 
14652 
14653 static int _wrap_uiText_longlines(lua_State* L) {
14654  int SWIG_arg = 0;
14655  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14656  int result;
14657 
14658  SWIG_check_num_args("uiTextNode_t::longlines",1,1)
14659  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::longlines",1,"uiTextNode_t *");
14660 
14661  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14662  SWIG_fail_ptr("uiText_longlines",1,SWIGTYPE_p_uiTextNode_t);
14663  }
14664 
14665  result = (int)uiTextNode_t_longlines(arg1);
14666  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14667  return SWIG_arg;
14668 
14669  if(0) SWIG_fail;
14670 
14671 fail:
14672  lua_error(L);
14673  return SWIG_arg;
14674 }
14675 
14676 
14677 static int _wrap_uiText_textselected(lua_State* L) {
14678  int SWIG_arg = 0;
14679  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14680  char *result = 0 ;
14681 
14682  SWIG_check_num_args("uiTextNode_t::textselected",1,1)
14683  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::textselected",1,"uiTextNode_t *");
14684 
14685  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14686  SWIG_fail_ptr("uiText_textselected",1,SWIGTYPE_p_uiTextNode_t);
14687  }
14688 
14689  result = (char *)uiTextNode_t_textselected(arg1);
14690  lua_pushstring(L,(const char *)result); SWIG_arg++;
14691  return SWIG_arg;
14692 
14693  if(0) SWIG_fail;
14694 
14695 fail:
14696  lua_error(L);
14697  return SWIG_arg;
14698 }
14699 
14700 
14701 static int _wrap_uiText_tabwidth(lua_State* L) {
14702  int SWIG_arg = 0;
14703  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14704  int result;
14705 
14706  SWIG_check_num_args("uiTextNode_t::tabwidth",1,1)
14707  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::tabwidth",1,"uiTextNode_t *");
14708 
14709  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14710  SWIG_fail_ptr("uiText_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14711  }
14712 
14713  result = (int)uiTextNode_t_tabwidth(arg1);
14714  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14715  return SWIG_arg;
14716 
14717  if(0) SWIG_fail;
14718 
14719 fail:
14720  lua_error(L);
14721  return SWIG_arg;
14722 }
14723 
14724 
14725 static int _wrap_uiText_set_dataid(lua_State* L) {
14726  int SWIG_arg = 0;
14727  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14728  int arg2 ;
14729 
14730  SWIG_check_num_args("uiTextNode_t::set_dataid",2,2)
14731  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_dataid",1,"uiTextNode_t *");
14732  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_dataid",2,"int");
14733 
14734  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14735  SWIG_fail_ptr("uiText_set_dataid",1,SWIGTYPE_p_uiTextNode_t);
14736  }
14737 
14738  arg2 = (int)lua_tonumber(L, 2);
14739  uiTextNode_t_set_dataid(arg1,arg2);
14740 
14741  return SWIG_arg;
14742 
14743  if(0) SWIG_fail;
14744 
14745 fail:
14746  lua_error(L);
14747  return SWIG_arg;
14748 }
14749 
14750 
14751 static int _wrap_uiText_set_longlines(lua_State* L) {
14752  int SWIG_arg = 0;
14753  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14754  int arg2 ;
14755 
14756  SWIG_check_num_args("uiTextNode_t::set_longlines",2,2)
14757  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_longlines",1,"uiTextNode_t *");
14758  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_longlines",2,"int");
14759 
14760  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14761  SWIG_fail_ptr("uiText_set_longlines",1,SWIGTYPE_p_uiTextNode_t);
14762  }
14763 
14764  arg2 = (int)lua_tonumber(L, 2);
14765  uiTextNode_t_set_longlines(arg1,arg2);
14766 
14767  return SWIG_arg;
14768 
14769  if(0) SWIG_fail;
14770 
14771 fail:
14772  lua_error(L);
14773  return SWIG_arg;
14774 }
14775 
14776 
14777 static int _wrap_uiText_set_lineheight(lua_State* L) {
14778  int SWIG_arg = 0;
14779  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14780  int arg2 ;
14781 
14782  SWIG_check_num_args("uiTextNode_t::set_lineheight",2,2)
14783  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineheight",1,"uiTextNode_t *");
14784  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineheight",2,"int");
14785 
14786  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14787  SWIG_fail_ptr("uiText_set_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14788  }
14789 
14790  arg2 = (int)lua_tonumber(L, 2);
14791  uiTextNode_t_set_lineheight(arg1,arg2);
14792 
14793  return SWIG_arg;
14794 
14795  if(0) SWIG_fail;
14796 
14797 fail:
14798  lua_error(L);
14799  return SWIG_arg;
14800 }
14801 
14802 
14803 static int _wrap_uiText_set_lineselected(lua_State* L) {
14804  int SWIG_arg = 0;
14805  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14806  int arg2 ;
14807 
14808  SWIG_check_num_args("uiTextNode_t::set_lineselected",2,2)
14809  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineselected",1,"uiTextNode_t *");
14810  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineselected",2,"int");
14811 
14812  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14813  SWIG_fail_ptr("uiText_set_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14814  }
14815 
14816  arg2 = (int)lua_tonumber(L, 2);
14817  uiTextNode_t_set_lineselected(arg1,arg2);
14818 
14819  return SWIG_arg;
14820 
14821  if(0) SWIG_fail;
14822 
14823 fail:
14824  lua_error(L);
14825  return SWIG_arg;
14826 }
14827 
14828 
14829 static int _wrap_uiText_set_tabwidth(lua_State* L) {
14830  int SWIG_arg = 0;
14831  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14832  int arg2 ;
14833 
14834  SWIG_check_num_args("uiTextNode_t::set_tabwidth",2,2)
14835  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",1,"uiTextNode_t *");
14836  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",2,"int");
14837 
14838  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14839  SWIG_fail_ptr("uiText_set_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14840  }
14841 
14842  arg2 = (int)lua_tonumber(L, 2);
14843  uiTextNode_t_set_tabwidth(arg1,arg2);
14844 
14845  return SWIG_arg;
14846 
14847  if(0) SWIG_fail;
14848 
14849 fail:
14850  lua_error(L);
14851  return SWIG_arg;
14852 }
14853 
14854 
14855 static int _wrap_new_uiText(lua_State* L) {
14856  int SWIG_arg = 0;
14857  uiTextNode_t *result = 0 ;
14858 
14859  SWIG_check_num_args("uiTextNode_t::uiTextNode_t",0,0)
14860  result = (uiTextNode_t *)new uiTextNode_t();
14861  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,1); SWIG_arg++;
14862  return SWIG_arg;
14863 
14864  if(0) SWIG_fail;
14865 
14866 fail:
14867  lua_error(L);
14868  return SWIG_arg;
14869 }
14870 
14871 
14872 static void swig_delete_uiText(void *obj) {
14873 uiTextNode_t *arg1 = (uiTextNode_t *) obj;
14874 delete arg1;
14875 }
14876 static int _proxy__wrap_new_uiText(lua_State *L) {
14877  assert(lua_istable(L,1));
14878  lua_pushcfunction(L,_wrap_new_uiText);
14879  assert(!lua_isnil(L,-1));
14880  lua_replace(L,1); /* replace our table with real constructor */
14881  lua_call(L,lua_gettop(L)-1,1);
14882  return 1;
14883 }
14885  {0,0,0}
14886 };
14888  { "dataid", _wrap_uiText_dataid},
14889  { "lineheight", _wrap_uiText_lineheight},
14890  { "lineselected", _wrap_uiText_lineselected},
14891  { "longlines", _wrap_uiText_longlines},
14892  { "textselected", _wrap_uiText_textselected},
14893  { "tabwidth", _wrap_uiText_tabwidth},
14894  { "set_dataid", _wrap_uiText_set_dataid},
14895  { "set_longlines", _wrap_uiText_set_longlines},
14896  { "set_lineheight", _wrap_uiText_set_lineheight},
14897  { "set_lineselected", _wrap_uiText_set_lineselected},
14898  { "set_tabwidth", _wrap_uiText_set_tabwidth},
14899  {0,0}
14900 };
14902  {0,0}
14903 };
14904 
14906  {0,0,0}
14907 };
14909  {0,0,0,0,0,0}
14910 };
14912  {0,0}
14913 };
14915  0
14916 };
14917 
14919  "uiText",
14924  0
14925 };
14927 static const char *swig_uiText_base_names[] = {"uiAbstractScrollableNode_t *",0};
14929 
14930 static int _wrap_new_uiText2(lua_State* L) {
14931  int SWIG_arg = 0;
14932  uiText2Node_t *result = 0 ;
14933 
14934  SWIG_check_num_args("uiText2Node_t::uiText2Node_t",0,0)
14935  result = (uiText2Node_t *)new uiText2Node_t();
14936  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,1); SWIG_arg++;
14937  return SWIG_arg;
14938 
14939  if(0) SWIG_fail;
14940 
14941 fail:
14942  lua_error(L);
14943  return SWIG_arg;
14944 }
14945 
14946 
14947 static void swig_delete_uiText2(void *obj) {
14948 uiText2Node_t *arg1 = (uiText2Node_t *) obj;
14949 delete arg1;
14950 }
14951 static int _proxy__wrap_new_uiText2(lua_State *L) {
14952  assert(lua_istable(L,1));
14953  lua_pushcfunction(L,_wrap_new_uiText2);
14954  assert(!lua_isnil(L,-1));
14955  lua_replace(L,1); /* replace our table with real constructor */
14956  lua_call(L,lua_gettop(L)-1,1);
14957  return 1;
14958 }
14960  {0,0,0}
14961 };
14963  {0,0}
14964 };
14966  {0,0}
14967 };
14968 
14970  {0,0,0}
14971 };
14973  {0,0,0,0,0,0}
14974 };
14976  {0,0}
14977 };
14979  0
14980 };
14981 
14983  "uiText2",
14988  0
14989 };
14991 static const char *swig_uiText2_base_names[] = {"uiTextNode_t *",0};
14993 
14994 static int _wrap_uiTextEntry_is_password(lua_State* L) {
14995  int SWIG_arg = 0;
14996  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14997  bool result;
14998 
14999  SWIG_check_num_args("uiTextEntryNode_t::is_password",1,1)
15000  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_password",1,"uiTextEntryNode_t *");
15001 
15002  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15003  SWIG_fail_ptr("uiTextEntry_is_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15004  }
15005 
15006  result = (bool)uiTextEntryNode_t_is_password(arg1);
15007  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15008  return SWIG_arg;
15009 
15010  if(0) SWIG_fail;
15011 
15012 fail:
15013  lua_error(L);
15014  return SWIG_arg;
15015 }
15016 
15017 
15018 static int _wrap_uiTextEntry_is_clickoutabort(lua_State* L) {
15019  int SWIG_arg = 0;
15020  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15021  bool result;
15022 
15023  SWIG_check_num_args("uiTextEntryNode_t::is_clickoutabort",1,1)
15024  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_clickoutabort",1,"uiTextEntryNode_t *");
15025 
15026  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15027  SWIG_fail_ptr("uiTextEntry_is_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15028  }
15029 
15030  result = (bool)uiTextEntryNode_t_is_clickoutabort(arg1);
15031  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15032  return SWIG_arg;
15033 
15034  if(0) SWIG_fail;
15035 
15036 fail:
15037  lua_error(L);
15038  return SWIG_arg;
15039 }
15040 
15041 
15042 static int _wrap_uiTextEntry_cursorposition(lua_State* L) {
15043  int SWIG_arg = 0;
15044  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15045  int result;
15046 
15047  SWIG_check_num_args("uiTextEntryNode_t::cursorposition",1,1)
15048  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::cursorposition",1,"uiTextEntryNode_t *");
15049 
15050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15051  SWIG_fail_ptr("uiTextEntry_cursorposition",1,SWIGTYPE_p_uiTextEntryNode_t);
15052  }
15053 
15054  result = (int)uiTextEntryNode_t_cursorposition(arg1);
15055  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15056  return SWIG_arg;
15057 
15058  if(0) SWIG_fail;
15059 
15060 fail:
15061  lua_error(L);
15062  return SWIG_arg;
15063 }
15064 
15065 
15066 static int _wrap_uiTextEntry_set_password(lua_State* L) {
15067  int SWIG_arg = 0;
15068  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15069  bool arg2 ;
15070 
15071  SWIG_check_num_args("uiTextEntryNode_t::set_password",2,2)
15072  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_password",1,"uiTextEntryNode_t *");
15073  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_password",2,"bool");
15074 
15075  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15076  SWIG_fail_ptr("uiTextEntry_set_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15077  }
15078 
15079  arg2 = (lua_toboolean(L, 2)!=0);
15080  uiTextEntryNode_t_set_password(arg1,arg2);
15081 
15082  return SWIG_arg;
15083 
15084  if(0) SWIG_fail;
15085 
15086 fail:
15087  lua_error(L);
15088  return SWIG_arg;
15089 }
15090 
15091 
15092 static int _wrap_uiTextEntry_set_clickoutabort(lua_State* L) {
15093  int SWIG_arg = 0;
15094  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15095  bool arg2 ;
15096 
15097  SWIG_check_num_args("uiTextEntryNode_t::set_clickoutabort",2,2)
15098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",1,"uiTextEntryNode_t *");
15099  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",2,"bool");
15100 
15101  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15102  SWIG_fail_ptr("uiTextEntry_set_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15103  }
15104 
15105  arg2 = (lua_toboolean(L, 2)!=0);
15107 
15108  return SWIG_arg;
15109 
15110  if(0) SWIG_fail;
15111 
15112 fail:
15113  lua_error(L);
15114  return SWIG_arg;
15115 }
15116 
15117 
15118 static int _wrap_uiTextEntry_set_background(lua_State* L) {
15119  int SWIG_arg = 0;
15120  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15121  char *arg2 = (char *) 0 ;
15122 
15123  SWIG_check_num_args("uiTextEntryNode_t::set_background",2,2)
15124  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_background",1,"uiTextEntryNode_t *");
15125  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_background",2,"char const *");
15126 
15127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15128  SWIG_fail_ptr("uiTextEntry_set_background",1,SWIGTYPE_p_uiTextEntryNode_t);
15129  }
15130 
15131  arg2 = (char *)lua_tostring(L, 2);
15132  uiTextEntryNode_t_set_background(arg1,(char const *)arg2);
15133 
15134  return SWIG_arg;
15135 
15136  if(0) SWIG_fail;
15137 
15138 fail:
15139  lua_error(L);
15140  return SWIG_arg;
15141 }
15142 
15143 
15144 static int _wrap_uiTextEntry_focus(lua_State* L) {
15145  int SWIG_arg = 0;
15146  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15147 
15148  SWIG_check_num_args("uiTextEntryNode_t::focus",1,1)
15149  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::focus",1,"uiTextEntryNode_t *");
15150 
15151  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15152  SWIG_fail_ptr("uiTextEntry_focus",1,SWIGTYPE_p_uiTextEntryNode_t);
15153  }
15154 
15156 
15157  return SWIG_arg;
15158 
15159  if(0) SWIG_fail;
15160 
15161 fail:
15162  lua_error(L);
15163  return SWIG_arg;
15164 }
15165 
15166 
15167 static int _wrap_uiTextEntry_unfocus(lua_State* L) {
15168  int SWIG_arg = 0;
15169  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15170 
15171  SWIG_check_num_args("uiTextEntryNode_t::unfocus",1,1)
15172  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::unfocus",1,"uiTextEntryNode_t *");
15173 
15174  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15175  SWIG_fail_ptr("uiTextEntry_unfocus",1,SWIGTYPE_p_uiTextEntryNode_t);
15176  }
15177 
15179 
15180  return SWIG_arg;
15181 
15182  if(0) SWIG_fail;
15183 
15184 fail:
15185  lua_error(L);
15186  return SWIG_arg;
15187 }
15188 
15189 
15190 static int _wrap_uiTextEntry_on_textabort_set(lua_State* L) {
15191  int SWIG_arg = 0;
15192  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15193  LUA_EVENT arg2 ;
15194 
15195  SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",2,2)
15196  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15197 
15198  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15199  SWIG_fail_ptr("uiTextEntry_on_textabort_set",1,SWIGTYPE_p_uiTextEntryNode_t);
15200  }
15201 
15202  {
15203  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15204  }
15206 
15207  return SWIG_arg;
15208 
15209  if(0) SWIG_fail;
15210 
15211 fail:
15212  lua_error(L);
15213  return SWIG_arg;
15214 }
15215 
15216 
15217 static int _wrap_uiTextEntry_on_textabort_get(lua_State* L) {
15218  int SWIG_arg = 0;
15219  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15220  LUA_EVENT result;
15221 
15222  SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",1,1)
15223  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15224 
15225  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15226  SWIG_fail_ptr("uiTextEntry_on_textabort_get",1,SWIGTYPE_p_uiTextEntryNode_t);
15227  }
15228 
15230  {
15231  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15232  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15233  }
15234  return SWIG_arg;
15235 
15236  if(0) SWIG_fail;
15237 
15238 fail:
15239  lua_error(L);
15240  return SWIG_arg;
15241 }
15242 
15243 
15244 static int _wrap_new_uiTextEntry(lua_State* L) {
15245  int SWIG_arg = 0;
15246  uiTextEntryNode_t *result = 0 ;
15247 
15248  SWIG_check_num_args("uiTextEntryNode_t::uiTextEntryNode_t",0,0)
15249  result = (uiTextEntryNode_t *)new uiTextEntryNode_t();
15250  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,1); SWIG_arg++;
15251  return SWIG_arg;
15252 
15253  if(0) SWIG_fail;
15254 
15255 fail:
15256  lua_error(L);
15257  return SWIG_arg;
15258 }
15259 
15260 
15261 static void swig_delete_uiTextEntry(void *obj) {
15262 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) obj;
15263 delete arg1;
15264 }
15265 static int _proxy__wrap_new_uiTextEntry(lua_State *L) {
15266  assert(lua_istable(L,1));
15267  lua_pushcfunction(L,_wrap_new_uiTextEntry);
15268  assert(!lua_isnil(L,-1));
15269  lua_replace(L,1); /* replace our table with real constructor */
15270  lua_call(L,lua_gettop(L)-1,1);
15271  return 1;
15272 }
15275  {0,0,0}
15276 };
15278  { "is_password", _wrap_uiTextEntry_is_password},
15279  { "is_clickoutabort", _wrap_uiTextEntry_is_clickoutabort},
15280  { "cursorposition", _wrap_uiTextEntry_cursorposition},
15281  { "set_password", _wrap_uiTextEntry_set_password},
15282  { "set_clickoutabort", _wrap_uiTextEntry_set_clickoutabort},
15283  { "set_background", _wrap_uiTextEntry_set_background},
15284  { "focus", _wrap_uiTextEntry_focus},
15285  { "unfocus", _wrap_uiTextEntry_unfocus},
15286  {0,0}
15287 };
15289  {0,0}
15290 };
15291 
15293  {0,0,0}
15294 };
15296  {0,0,0,0,0,0}
15297 };
15299  {0,0}
15300 };
15302  0
15303 };
15304 
15306  "uiTextEntry",
15311  0
15312 };
15314 static const char *swig_uiTextEntry_base_names[] = {"uiNode_t *",0};
15316 
15317 static int _wrap_new_uiTextList(lua_State* L) {
15318  int SWIG_arg = 0;
15319  uiTextListNode_t *result = 0 ;
15320 
15321  SWIG_check_num_args("uiTextListNode_t::uiTextListNode_t",0,0)
15322  result = (uiTextListNode_t *)new uiTextListNode_t();
15323  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,1); SWIG_arg++;
15324  return SWIG_arg;
15325 
15326  if(0) SWIG_fail;
15327 
15328 fail:
15329  lua_error(L);
15330  return SWIG_arg;
15331 }
15332 
15333 
15334 static void swig_delete_uiTextList(void *obj) {
15335 uiTextListNode_t *arg1 = (uiTextListNode_t *) obj;
15336 delete arg1;
15337 }
15338 static int _proxy__wrap_new_uiTextList(lua_State *L) {
15339  assert(lua_istable(L,1));
15340  lua_pushcfunction(L,_wrap_new_uiTextList);
15341  assert(!lua_isnil(L,-1));
15342  lua_replace(L,1); /* replace our table with real constructor */
15343  lua_call(L,lua_gettop(L)-1,1);
15344  return 1;
15345 }
15347  {0,0,0}
15348 };
15350  {0,0}
15351 };
15353  {0,0}
15354 };
15355 
15357  {0,0,0}
15358 };
15360  {0,0,0,0,0,0}
15361 };
15363  {0,0}
15364 };
15366  0
15367 };
15368 
15370  "uiTextList",
15375  0
15376 };
15378 static const char *swig_uiTextList_base_names[] = {"uiTextNode_t *",0};
15380 
15381 static int _wrap_uiTexture_set_source(lua_State* L) {
15382  int SWIG_arg = 0;
15383  uiTextureNode_t *arg1 = (uiTextureNode_t *) 0 ;
15384  char *arg2 = (char *) 0 ;
15385 
15386  SWIG_check_num_args("uiTextureNode_t::set_source",2,2)
15387  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextureNode_t::set_source",1,"uiTextureNode_t *");
15388  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextureNode_t::set_source",2,"char const *");
15389 
15390  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextureNode_t,0))){
15391  SWIG_fail_ptr("uiTexture_set_source",1,SWIGTYPE_p_uiTextureNode_t);
15392  }
15393 
15394  arg2 = (char *)lua_tostring(L, 2);
15395  uiTextureNode_t_set_source(arg1,(char const *)arg2);
15396 
15397  return SWIG_arg;
15398 
15399  if(0) SWIG_fail;
15400 
15401 fail:
15402  lua_error(L);
15403  return SWIG_arg;
15404 }
15405 
15406 
15407 static int _wrap_new_uiTexture(lua_State* L) {
15408  int SWIG_arg = 0;
15409  uiTextureNode_t *result = 0 ;
15410 
15411  SWIG_check_num_args("uiTextureNode_t::uiTextureNode_t",0,0)
15412  result = (uiTextureNode_t *)new uiTextureNode_t();
15413  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,1); SWIG_arg++;
15414  return SWIG_arg;
15415 
15416  if(0) SWIG_fail;
15417 
15418 fail:
15419  lua_error(L);
15420  return SWIG_arg;
15421 }
15422 
15423 
15424 static void swig_delete_uiTexture(void *obj) {
15425 uiTextureNode_t *arg1 = (uiTextureNode_t *) obj;
15426 delete arg1;
15427 }
15428 static int _proxy__wrap_new_uiTexture(lua_State *L) {
15429  assert(lua_istable(L,1));
15430  lua_pushcfunction(L,_wrap_new_uiTexture);
15431  assert(!lua_isnil(L,-1));
15432  lua_replace(L,1); /* replace our table with real constructor */
15433  lua_call(L,lua_gettop(L)-1,1);
15434  return 1;
15435 }
15437  {0,0,0}
15438 };
15440  { "set_source", _wrap_uiTexture_set_source},
15441  {0,0}
15442 };
15444  {0,0}
15445 };
15446 
15448  {0,0,0}
15449 };
15451  {0,0,0,0,0,0}
15452 };
15454  {0,0}
15455 };
15457  0
15458 };
15459 
15461  "uiTexture",
15466  0
15467 };
15469 static const char *swig_uiTexture_base_names[] = {"uiNode_t *",0};
15471 
15472 static int _wrap_uiTimer_timeout(lua_State* L) {
15473  int SWIG_arg = 0;
15474  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15475  int result;
15476 
15477  SWIG_check_num_args("uiTimerNode_t::timeout",1,1)
15478  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::timeout",1,"uiTimerNode_t *");
15479 
15480  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15481  SWIG_fail_ptr("uiTimer_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15482  }
15483 
15484  result = (int)uiTimerNode_t_timeout(arg1);
15485  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15486  return SWIG_arg;
15487 
15488  if(0) SWIG_fail;
15489 
15490 fail:
15491  lua_error(L);
15492  return SWIG_arg;
15493 }
15494 
15495 
15496 static int _wrap_uiTimer_set_timeout(lua_State* L) {
15497  int SWIG_arg = 0;
15498  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15499  int arg2 ;
15500 
15501  SWIG_check_num_args("uiTimerNode_t::set_timeout",2,2)
15502  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::set_timeout",1,"uiTimerNode_t *");
15503  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTimerNode_t::set_timeout",2,"int");
15504 
15505  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15506  SWIG_fail_ptr("uiTimer_set_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15507  }
15508 
15509  arg2 = (int)lua_tonumber(L, 2);
15510  uiTimerNode_t_set_timeout(arg1,arg2);
15511 
15512  return SWIG_arg;
15513 
15514  if(0) SWIG_fail;
15515 
15516 fail:
15517  lua_error(L);
15518  return SWIG_arg;
15519 }
15520 
15521 
15522 static int _wrap_uiTimer_lua_onEvent_set(lua_State* L) {
15523  int SWIG_arg = 0;
15524  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15525  LUA_EVENT arg2 ;
15526 
15527  SWIG_check_num_args("uiTimerNode_t::lua_onEvent",2,2)
15528  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15529 
15530  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15531  SWIG_fail_ptr("uiTimer_lua_onEvent_set",1,SWIGTYPE_p_uiTimerNode_t);
15532  }
15533 
15534  {
15535  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15536  }
15537  uiTimerNode_t_lua_onEvent_set(arg1,arg2);
15538 
15539  return SWIG_arg;
15540 
15541  if(0) SWIG_fail;
15542 
15543 fail:
15544  lua_error(L);
15545  return SWIG_arg;
15546 }
15547 
15548 
15549 static int _wrap_uiTimer_lua_onEvent_get(lua_State* L) {
15550  int SWIG_arg = 0;
15551  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15552  LUA_EVENT result;
15553 
15554  SWIG_check_num_args("uiTimerNode_t::lua_onEvent",1,1)
15555  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15556 
15557  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15558  SWIG_fail_ptr("uiTimer_lua_onEvent_get",1,SWIGTYPE_p_uiTimerNode_t);
15559  }
15560 
15561  result = uiTimerNode_t_lua_onEvent_get(arg1);
15562  {
15563  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15564  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15565  }
15566  return SWIG_arg;
15567 
15568  if(0) SWIG_fail;
15569 
15570 fail:
15571  lua_error(L);
15572  return SWIG_arg;
15573 }
15574 
15575 
15576 static int _wrap_new_uiTimer(lua_State* L) {
15577  int SWIG_arg = 0;
15578  uiTimerNode_t *result = 0 ;
15579 
15580  SWIG_check_num_args("uiTimerNode_t::uiTimerNode_t",0,0)
15581  result = (uiTimerNode_t *)new uiTimerNode_t();
15582  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,1); SWIG_arg++;
15583  return SWIG_arg;
15584 
15585  if(0) SWIG_fail;
15586 
15587 fail:
15588  lua_error(L);
15589  return SWIG_arg;
15590 }
15591 
15592 
15593 static void swig_delete_uiTimer(void *obj) {
15594 uiTimerNode_t *arg1 = (uiTimerNode_t *) obj;
15595 delete arg1;
15596 }
15597 static int _proxy__wrap_new_uiTimer(lua_State *L) {
15598  assert(lua_istable(L,1));
15599  lua_pushcfunction(L,_wrap_new_uiTimer);
15600  assert(!lua_isnil(L,-1));
15601  lua_replace(L,1); /* replace our table with real constructor */
15602  lua_call(L,lua_gettop(L)-1,1);
15603  return 1;
15604 }
15607  {0,0,0}
15608 };
15610  { "timeout", _wrap_uiTimer_timeout},
15611  { "set_timeout", _wrap_uiTimer_set_timeout},
15612  {0,0}
15613 };
15615  {0,0}
15616 };
15617 
15619  {0,0,0}
15620 };
15622  {0,0,0,0,0,0}
15623 };
15625  {0,0}
15626 };
15628  0
15629 };
15630 
15632  "uiTimer",
15637  0
15638 };
15640 static const char *swig_uiTimer_base_names[] = {"uiNode_t *",0};
15642 
15643 static int _wrap_uiVideo_is_nosound(lua_State* L) {
15644  int SWIG_arg = 0;
15645  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15646  bool result;
15647 
15648  SWIG_check_num_args("uiVideoNode_t::is_nosound",1,1)
15649  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::is_nosound",1,"uiVideoNode_t *");
15650 
15651  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15652  SWIG_fail_ptr("uiVideo_is_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15653  }
15654 
15655  result = (bool)uiVideoNode_t_is_nosound(arg1);
15656  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15657  return SWIG_arg;
15658 
15659  if(0) SWIG_fail;
15660 
15661 fail:
15662  lua_error(L);
15663  return SWIG_arg;
15664 }
15665 
15666 
15667 static int _wrap_uiVideo_set_nosound(lua_State* L) {
15668  int SWIG_arg = 0;
15669  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15670  bool arg2 ;
15671 
15672  SWIG_check_num_args("uiVideoNode_t::set_nosound",2,2)
15673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_nosound",1,"uiVideoNode_t *");
15674  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiVideoNode_t::set_nosound",2,"bool");
15675 
15676  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15677  SWIG_fail_ptr("uiVideo_set_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15678  }
15679 
15680  arg2 = (lua_toboolean(L, 2)!=0);
15681  uiVideoNode_t_set_nosound(arg1,arg2);
15682 
15683  return SWIG_arg;
15684 
15685  if(0) SWIG_fail;
15686 
15687 fail:
15688  lua_error(L);
15689  return SWIG_arg;
15690 }
15691 
15692 
15693 static int _wrap_uiVideo_set_source(lua_State* L) {
15694  int SWIG_arg = 0;
15695  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15696  char *arg2 = (char *) 0 ;
15697 
15698  SWIG_check_num_args("uiVideoNode_t::set_source",2,2)
15699  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_source",1,"uiVideoNode_t *");
15700  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiVideoNode_t::set_source",2,"char const *");
15701 
15702  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15703  SWIG_fail_ptr("uiVideo_set_source",1,SWIGTYPE_p_uiVideoNode_t);
15704  }
15705 
15706  arg2 = (char *)lua_tostring(L, 2);
15707  uiVideoNode_t_set_source(arg1,(char const *)arg2);
15708 
15709  return SWIG_arg;
15710 
15711  if(0) SWIG_fail;
15712 
15713 fail:
15714  lua_error(L);
15715  return SWIG_arg;
15716 }
15717 
15718 
15719 static int _wrap_uiVideo_lua_onEnd_set(lua_State* L) {
15720  int SWIG_arg = 0;
15721  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15722  LUA_EVENT arg2 ;
15723 
15724  SWIG_check_num_args("uiVideoNode_t::lua_onEnd",2,2)
15725  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15726 
15727  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15728  SWIG_fail_ptr("uiVideo_lua_onEnd_set",1,SWIGTYPE_p_uiVideoNode_t);
15729  }
15730 
15731  {
15732  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15733  }
15734  uiVideoNode_t_lua_onEnd_set(arg1,arg2);
15735 
15736  return SWIG_arg;
15737 
15738  if(0) SWIG_fail;
15739 
15740 fail:
15741  lua_error(L);
15742  return SWIG_arg;
15743 }
15744 
15745 
15746 static int _wrap_uiVideo_lua_onEnd_get(lua_State* L) {
15747  int SWIG_arg = 0;
15748  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15749  LUA_EVENT result;
15750 
15751  SWIG_check_num_args("uiVideoNode_t::lua_onEnd",1,1)
15752  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15753 
15754  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15755  SWIG_fail_ptr("uiVideo_lua_onEnd_get",1,SWIGTYPE_p_uiVideoNode_t);
15756  }
15757 
15758  result = uiVideoNode_t_lua_onEnd_get(arg1);
15759  {
15760  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15761  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15762  }
15763  return SWIG_arg;
15764 
15765  if(0) SWIG_fail;
15766 
15767 fail:
15768  lua_error(L);
15769  return SWIG_arg;
15770 }
15771 
15772 
15773 static int _wrap_new_uiVideo(lua_State* L) {
15774  int SWIG_arg = 0;
15775  uiVideoNode_t *result = 0 ;
15776 
15777  SWIG_check_num_args("uiVideoNode_t::uiVideoNode_t",0,0)
15778  result = (uiVideoNode_t *)new uiVideoNode_t();
15779  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,1); SWIG_arg++;
15780  return SWIG_arg;
15781 
15782  if(0) SWIG_fail;
15783 
15784 fail:
15785  lua_error(L);
15786  return SWIG_arg;
15787 }
15788 
15789 
15790 static void swig_delete_uiVideo(void *obj) {
15791 uiVideoNode_t *arg1 = (uiVideoNode_t *) obj;
15792 delete arg1;
15793 }
15794 static int _proxy__wrap_new_uiVideo(lua_State *L) {
15795  assert(lua_istable(L,1));
15796  lua_pushcfunction(L,_wrap_new_uiVideo);
15797  assert(!lua_isnil(L,-1));
15798  lua_replace(L,1); /* replace our table with real constructor */
15799  lua_call(L,lua_gettop(L)-1,1);
15800  return 1;
15801 }
15804  {0,0,0}
15805 };
15807  { "is_nosound", _wrap_uiVideo_is_nosound},
15808  { "set_nosound", _wrap_uiVideo_set_nosound},
15809  { "set_source", _wrap_uiVideo_set_source},
15810  {0,0}
15811 };
15813  {0,0}
15814 };
15815 
15817  {0,0,0}
15818 };
15820  {0,0,0,0,0,0}
15821 };
15823  {0,0}
15824 };
15826  0
15827 };
15828 
15830  "uiVideo",
15835  0
15836 };
15838 static const char *swig_uiVideo_base_names[] = {"uiNode_t *",0};
15840 
15841 static int _wrap_new_uiVScrollbar(lua_State* L) {
15842  int SWIG_arg = 0;
15843  uiVScrollBarNode_t *result = 0 ;
15844 
15845  SWIG_check_num_args("uiVScrollBarNode_t::uiVScrollBarNode_t",0,0)
15846  result = (uiVScrollBarNode_t *)new uiVScrollBarNode_t();
15847  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,1); SWIG_arg++;
15848  return SWIG_arg;
15849 
15850  if(0) SWIG_fail;
15851 
15852 fail:
15853  lua_error(L);
15854  return SWIG_arg;
15855 }
15856 
15857 
15858 static void swig_delete_uiVScrollbar(void *obj) {
15859 uiVScrollBarNode_t *arg1 = (uiVScrollBarNode_t *) obj;
15860 delete arg1;
15861 }
15862 static int _proxy__wrap_new_uiVScrollbar(lua_State *L) {
15863  assert(lua_istable(L,1));
15864  lua_pushcfunction(L,_wrap_new_uiVScrollbar);
15865  assert(!lua_isnil(L,-1));
15866  lua_replace(L,1); /* replace our table with real constructor */
15867  lua_call(L,lua_gettop(L)-1,1);
15868  return 1;
15869 }
15871  {0,0,0}
15872 };
15874  {0,0}
15875 };
15877  {0,0}
15878 };
15879 
15881  {0,0,0}
15882 };
15884  {0,0,0,0,0,0}
15885 };
15887  {0,0}
15888 };
15890  0
15891 };
15892 
15894  "uiVScrollbar",
15899  0
15900 };
15902 static const char *swig_uiVScrollbar_base_names[] = {"uiAbstractScrollbarNode_t *",0};
15904 
15905 static int _wrap_new_uiWidget(lua_State* L) {
15906  int SWIG_arg = 0;
15907  uiWidgetNode_t *result = 0 ;
15908 
15909  SWIG_check_num_args("uiWidgetNode_t::uiWidgetNode_t",0,0)
15910  result = (uiWidgetNode_t *)new uiWidgetNode_t();
15911  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,1); SWIG_arg++;
15912  return SWIG_arg;
15913 
15914  if(0) SWIG_fail;
15915 
15916 fail:
15917  lua_error(L);
15918  return SWIG_arg;
15919 }
15920 
15921 
15922 static void swig_delete_uiWidget(void *obj) {
15923 uiWidgetNode_t *arg1 = (uiWidgetNode_t *) obj;
15924 delete arg1;
15925 }
15926 static int _proxy__wrap_new_uiWidget(lua_State *L) {
15927  assert(lua_istable(L,1));
15928  lua_pushcfunction(L,_wrap_new_uiWidget);
15929  assert(!lua_isnil(L,-1));
15930  lua_replace(L,1); /* replace our table with real constructor */
15931  lua_call(L,lua_gettop(L)-1,1);
15932  return 1;
15933 }
15935  {0,0,0}
15936 };
15938  {0,0}
15939 };
15941  {0,0}
15942 };
15943 
15945  {0,0,0}
15946 };
15948  {0,0,0,0,0,0}
15949 };
15951  {0,0}
15952 };
15954  0
15955 };
15956 
15958  "uiWidget",
15963  0
15964 };
15966 static const char *swig_uiWidget_base_names[] = {"uiImageNode_t *",0};
15968 
15969 static int _wrap_uiWindow_is_fullscreen(lua_State* L) {
15970  int SWIG_arg = 0;
15971  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15972  bool result;
15973 
15974  SWIG_check_num_args("uiWindowNode_t::is_fullscreen",1,1)
15975  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_fullscreen",1,"uiWindowNode_t *");
15976 
15977  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15978  SWIG_fail_ptr("uiWindow_is_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
15979  }
15980 
15981  result = (bool)uiWindowNode_t_is_fullscreen(arg1);
15982  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15983  return SWIG_arg;
15984 
15985  if(0) SWIG_fail;
15986 
15987 fail:
15988  lua_error(L);
15989  return SWIG_arg;
15990 }
15991 
15992 
15993 static int _wrap_uiWindow_is_modal(lua_State* L) {
15994  int SWIG_arg = 0;
15995  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15996  bool result;
15997 
15998  SWIG_check_num_args("uiWindowNode_t::is_modal",1,1)
15999  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_modal",1,"uiWindowNode_t *");
16000 
16001  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16002  SWIG_fail_ptr("uiWindow_is_modal",1,SWIGTYPE_p_uiWindowNode_t);
16003  }
16004 
16005  result = (bool)uiWindowNode_t_is_modal(arg1);
16006  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16007  return SWIG_arg;
16008 
16009  if(0) SWIG_fail;
16010 
16011 fail:
16012  lua_error(L);
16013  return SWIG_arg;
16014 }
16015 
16016 
16017 static int _wrap_uiWindow_is_starlayout(lua_State* L) {
16018  int SWIG_arg = 0;
16019  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16020  bool result;
16021 
16022  SWIG_check_num_args("uiWindowNode_t::is_starlayout",1,1)
16023  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_starlayout",1,"uiWindowNode_t *");
16024 
16025  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16026  SWIG_fail_ptr("uiWindow_is_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16027  }
16028 
16029  result = (bool)uiWindowNode_t_is_starlayout(arg1);
16030  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16031  return SWIG_arg;
16032 
16033  if(0) SWIG_fail;
16034 
16035 fail:
16036  lua_error(L);
16037  return SWIG_arg;
16038 }
16039 
16040 
16041 static int _wrap_uiWindow_close(lua_State* L) {
16042  int SWIG_arg = 0;
16043  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16044 
16045  SWIG_check_num_args("uiWindowNode_t::close",1,1)
16046  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::close",1,"uiWindowNode_t *");
16047 
16048  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16049  SWIG_fail_ptr("uiWindow_close",1,SWIGTYPE_p_uiWindowNode_t);
16050  }
16051 
16052  uiWindowNode_t_close(arg1);
16053 
16054  return SWIG_arg;
16055 
16056  if(0) SWIG_fail;
16057 
16058 fail:
16059  lua_error(L);
16060  return SWIG_arg;
16061 }
16062 
16063 
16064 static int _wrap_uiWindow_open(lua_State* L) {
16065  int SWIG_arg = 0;
16066  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16067 
16068  SWIG_check_num_args("uiWindowNode_t::open",1,1)
16069  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::open",1,"uiWindowNode_t *");
16070 
16071  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16072  SWIG_fail_ptr("uiWindow_open",1,SWIGTYPE_p_uiWindowNode_t);
16073  }
16074 
16075  uiWindowNode_t_open(arg1);
16076 
16077  return SWIG_arg;
16078 
16079  if(0) SWIG_fail;
16080 
16081 fail:
16082  lua_error(L);
16083  return SWIG_arg;
16084 }
16085 
16086 
16087 static int _wrap_uiWindow_set_background(lua_State* L) {
16088  int SWIG_arg = 0;
16089  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16090  char *arg2 = (char *) 0 ;
16091 
16092  SWIG_check_num_args("uiWindowNode_t::set_background",2,2)
16093  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_background",1,"uiWindowNode_t *");
16094  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiWindowNode_t::set_background",2,"char const *");
16095 
16096  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16097  SWIG_fail_ptr("uiWindow_set_background",1,SWIGTYPE_p_uiWindowNode_t);
16098  }
16099 
16100  arg2 = (char *)lua_tostring(L, 2);
16101  uiWindowNode_t_set_background(arg1,(char const *)arg2);
16102 
16103  return SWIG_arg;
16104 
16105  if(0) SWIG_fail;
16106 
16107 fail:
16108  lua_error(L);
16109  return SWIG_arg;
16110 }
16111 
16112 
16113 static int _wrap_uiWindow_set_fullscreen(lua_State* L) {
16114  int SWIG_arg = 0;
16115  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16116  bool arg2 ;
16117 
16118  SWIG_check_num_args("uiWindowNode_t::set_fullscreen",2,2)
16119  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",1,"uiWindowNode_t *");
16120  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",2,"bool");
16121 
16122  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16123  SWIG_fail_ptr("uiWindow_set_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
16124  }
16125 
16126  arg2 = (lua_toboolean(L, 2)!=0);
16127  uiWindowNode_t_set_fullscreen(arg1,arg2);
16128 
16129  return SWIG_arg;
16130 
16131  if(0) SWIG_fail;
16132 
16133 fail:
16134  lua_error(L);
16135  return SWIG_arg;
16136 }
16137 
16138 
16139 static int _wrap_uiWindow_set_modal(lua_State* L) {
16140  int SWIG_arg = 0;
16141  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16142  bool arg2 ;
16143 
16144  SWIG_check_num_args("uiWindowNode_t::set_modal",2,2)
16145  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_modal",1,"uiWindowNode_t *");
16146  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_modal",2,"bool");
16147 
16148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16149  SWIG_fail_ptr("uiWindow_set_modal",1,SWIGTYPE_p_uiWindowNode_t);
16150  }
16151 
16152  arg2 = (lua_toboolean(L, 2)!=0);
16153  uiWindowNode_t_set_modal(arg1,arg2);
16154 
16155  return SWIG_arg;
16156 
16157  if(0) SWIG_fail;
16158 
16159 fail:
16160  lua_error(L);
16161  return SWIG_arg;
16162 }
16163 
16164 
16165 static int _wrap_uiWindow_set_fill(lua_State* L) {
16166  int SWIG_arg = 0;
16167  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16168  bool arg2 ;
16169 
16170  SWIG_check_num_args("uiWindowNode_t::set_fill",2,2)
16171  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fill",1,"uiWindowNode_t *");
16172  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fill",2,"bool");
16173 
16174  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16175  SWIG_fail_ptr("uiWindow_set_fill",1,SWIGTYPE_p_uiWindowNode_t);
16176  }
16177 
16178  arg2 = (lua_toboolean(L, 2)!=0);
16179  uiWindowNode_t_set_fill(arg1,arg2);
16180 
16181  return SWIG_arg;
16182 
16183  if(0) SWIG_fail;
16184 
16185 fail:
16186  lua_error(L);
16187  return SWIG_arg;
16188 }
16189 
16190 
16191 static int _wrap_uiWindow_set_dragbutton(lua_State* L) {
16192  int SWIG_arg = 0;
16193  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16194  bool arg2 ;
16195 
16196  SWIG_check_num_args("uiWindowNode_t::set_dragbutton",2,2)
16197  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",1,"uiWindowNode_t *");
16198  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",2,"bool");
16199 
16200  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16201  SWIG_fail_ptr("uiWindow_set_dragbutton",1,SWIGTYPE_p_uiWindowNode_t);
16202  }
16203 
16204  arg2 = (lua_toboolean(L, 2)!=0);
16205  uiWindowNode_t_set_dragbutton(arg1,arg2);
16206 
16207  return SWIG_arg;
16208 
16209  if(0) SWIG_fail;
16210 
16211 fail:
16212  lua_error(L);
16213  return SWIG_arg;
16214 }
16215 
16216 
16217 static int _wrap_uiWindow_set_closebutton(lua_State* L) {
16218  int SWIG_arg = 0;
16219  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16220  bool arg2 ;
16221 
16222  SWIG_check_num_args("uiWindowNode_t::set_closebutton",2,2)
16223  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",1,"uiWindowNode_t *");
16224  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",2,"bool");
16225 
16226  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16227  SWIG_fail_ptr("uiWindow_set_closebutton",1,SWIGTYPE_p_uiWindowNode_t);
16228  }
16229 
16230  arg2 = (lua_toboolean(L, 2)!=0);
16231  uiWindowNode_t_set_closebutton(arg1,arg2);
16232 
16233  return SWIG_arg;
16234 
16235  if(0) SWIG_fail;
16236 
16237 fail:
16238  lua_error(L);
16239  return SWIG_arg;
16240 }
16241 
16242 
16243 static int _wrap_uiWindow_set_starlayout(lua_State* L) {
16244  int SWIG_arg = 0;
16245  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16246  bool arg2 ;
16247 
16248  SWIG_check_num_args("uiWindowNode_t::set_starlayout",2,2)
16249  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",1,"uiWindowNode_t *");
16250  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",2,"bool");
16251 
16252  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16253  SWIG_fail_ptr("uiWindow_set_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16254  }
16255 
16256  arg2 = (lua_toboolean(L, 2)!=0);
16257  uiWindowNode_t_set_starlayout(arg1,arg2);
16258 
16259  return SWIG_arg;
16260 
16261  if(0) SWIG_fail;
16262 
16263 fail:
16264  lua_error(L);
16265  return SWIG_arg;
16266 }
16267 
16268 
16269 static int _wrap_uiWindow_set_preventtypingescape(lua_State* L) {
16270  int SWIG_arg = 0;
16271  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16272  bool arg2 ;
16273 
16274  SWIG_check_num_args("uiWindowNode_t::set_preventtypingescape",2,2)
16275  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",1,"uiWindowNode_t *");
16276  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",2,"bool");
16277 
16278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16279  SWIG_fail_ptr("uiWindow_set_preventtypingescape",1,SWIGTYPE_p_uiWindowNode_t);
16280  }
16281 
16282  arg2 = (lua_toboolean(L, 2)!=0);
16284 
16285  return SWIG_arg;
16286 
16287  if(0) SWIG_fail;
16288 
16289 fail:
16290  lua_error(L);
16291  return SWIG_arg;
16292 }
16293 
16294 
16295 static int _wrap_uiWindow_set_noticepos(lua_State* L) {
16296  int SWIG_arg = 0;
16297  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16298  float arg2 ;
16299  float arg3 ;
16300 
16301  SWIG_check_num_args("uiWindowNode_t::set_noticepos",3,3)
16302  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",1,"uiWindowNode_t *");
16303  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",2,"float");
16304  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",3,"float");
16305 
16306  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16307  SWIG_fail_ptr("uiWindow_set_noticepos",1,SWIGTYPE_p_uiWindowNode_t);
16308  }
16309 
16310  arg2 = (float)lua_tonumber(L, 2);
16311  arg3 = (float)lua_tonumber(L, 3);
16312  uiWindowNode_t_set_noticepos(arg1,arg2,arg3);
16313 
16314  return SWIG_arg;
16315 
16316  if(0) SWIG_fail;
16317 
16318 fail:
16319  lua_error(L);
16320  return SWIG_arg;
16321 }
16322 
16323 
16324 static int _wrap_uiWindow_set_dropdown(lua_State* L) {
16325  int SWIG_arg = 0;
16326  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16327  bool arg2 ;
16328 
16329  SWIG_check_num_args("uiWindowNode_t::set_dropdown",2,2)
16330  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",1,"uiWindowNode_t *");
16331  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",2,"bool");
16332 
16333  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16334  SWIG_fail_ptr("uiWindow_set_dropdown",1,SWIGTYPE_p_uiWindowNode_t);
16335  }
16336 
16337  arg2 = (lua_toboolean(L, 2)!=0);
16338  uiWindowNode_t_set_dropdown(arg1,arg2);
16339 
16340  return SWIG_arg;
16341 
16342  if(0) SWIG_fail;
16343 
16344 fail:
16345  lua_error(L);
16346  return SWIG_arg;
16347 }
16348 
16349 
16350 static int _wrap_uiWindow_on_windowopened_set(lua_State* L) {
16351  int SWIG_arg = 0;
16352  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16353  LUA_EVENT arg2 ;
16354 
16355  SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",2,2)
16356  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16357 
16358  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16359  SWIG_fail_ptr("uiWindow_on_windowopened_set",1,SWIGTYPE_p_uiWindowNode_t);
16360  }
16361 
16362  {
16363  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16364  }
16366 
16367  return SWIG_arg;
16368 
16369  if(0) SWIG_fail;
16370 
16371 fail:
16372  lua_error(L);
16373  return SWIG_arg;
16374 }
16375 
16376 
16377 static int _wrap_uiWindow_on_windowopened_get(lua_State* L) {
16378  int SWIG_arg = 0;
16379  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16380  LUA_EVENT result;
16381 
16382  SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",1,1)
16383  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16384 
16385  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16386  SWIG_fail_ptr("uiWindow_on_windowopened_get",1,SWIGTYPE_p_uiWindowNode_t);
16387  }
16388 
16390  {
16391  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16392  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16393  }
16394  return SWIG_arg;
16395 
16396  if(0) SWIG_fail;
16397 
16398 fail:
16399  lua_error(L);
16400  return SWIG_arg;
16401 }
16402 
16403 
16404 static int _wrap_uiWindow_on_windowactivate_set(lua_State* L) {
16405  int SWIG_arg = 0;
16406  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16407  LUA_EVENT arg2 ;
16408 
16409  SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",2,2)
16410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16411 
16412  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16413  SWIG_fail_ptr("uiWindow_on_windowactivate_set",1,SWIGTYPE_p_uiWindowNode_t);
16414  }
16415 
16416  {
16417  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16418  }
16420 
16421  return SWIG_arg;
16422 
16423  if(0) SWIG_fail;
16424 
16425 fail:
16426  lua_error(L);
16427  return SWIG_arg;
16428 }
16429 
16430 
16431 static int _wrap_uiWindow_on_windowactivate_get(lua_State* L) {
16432  int SWIG_arg = 0;
16433  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16434  LUA_EVENT result;
16435 
16436  SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",1,1)
16437  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16438 
16439  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16440  SWIG_fail_ptr("uiWindow_on_windowactivate_get",1,SWIGTYPE_p_uiWindowNode_t);
16441  }
16442 
16444  {
16445  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16446  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16447  }
16448  return SWIG_arg;
16449 
16450  if(0) SWIG_fail;
16451 
16452 fail:
16453  lua_error(L);
16454  return SWIG_arg;
16455 }
16456 
16457 
16458 static int _wrap_uiWindow_on_windowclosed_set(lua_State* L) {
16459  int SWIG_arg = 0;
16460  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16461  LUA_EVENT arg2 ;
16462 
16463  SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",2,2)
16464  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16465 
16466  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16467  SWIG_fail_ptr("uiWindow_on_windowclosed_set",1,SWIGTYPE_p_uiWindowNode_t);
16468  }
16469 
16470  {
16471  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16472  }
16474 
16475  return SWIG_arg;
16476 
16477  if(0) SWIG_fail;
16478 
16479 fail:
16480  lua_error(L);
16481  return SWIG_arg;
16482 }
16483 
16484 
16485 static int _wrap_uiWindow_on_windowclosed_get(lua_State* L) {
16486  int SWIG_arg = 0;
16487  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16488  LUA_EVENT result;
16489 
16490  SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",1,1)
16491  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16492 
16493  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16494  SWIG_fail_ptr("uiWindow_on_windowclosed_get",1,SWIGTYPE_p_uiWindowNode_t);
16495  }
16496 
16498  {
16499  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16500  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16501  }
16502  return SWIG_arg;
16503 
16504  if(0) SWIG_fail;
16505 
16506 fail:
16507  lua_error(L);
16508  return SWIG_arg;
16509 }
16510 
16511 
16512 static int _wrap_new_uiWindow(lua_State* L) {
16513  int SWIG_arg = 0;
16514  uiWindowNode_t *result = 0 ;
16515 
16516  SWIG_check_num_args("uiWindowNode_t::uiWindowNode_t",0,0)
16517  result = (uiWindowNode_t *)new uiWindowNode_t();
16518  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,1); SWIG_arg++;
16519  return SWIG_arg;
16520 
16521  if(0) SWIG_fail;
16522 
16523 fail:
16524  lua_error(L);
16525  return SWIG_arg;
16526 }
16527 
16528 
16529 static void swig_delete_uiWindow(void *obj) {
16530 uiWindowNode_t *arg1 = (uiWindowNode_t *) obj;
16531 delete arg1;
16532 }
16533 static int _proxy__wrap_new_uiWindow(lua_State *L) {
16534  assert(lua_istable(L,1));
16535  lua_pushcfunction(L,_wrap_new_uiWindow);
16536  assert(!lua_isnil(L,-1));
16537  lua_replace(L,1); /* replace our table with real constructor */
16538  lua_call(L,lua_gettop(L)-1,1);
16539  return 1;
16540 }
16545  {0,0,0}
16546 };
16548  { "is_fullscreen", _wrap_uiWindow_is_fullscreen},
16549  { "is_modal", _wrap_uiWindow_is_modal},
16550  { "is_starlayout", _wrap_uiWindow_is_starlayout},
16551  { "close", _wrap_uiWindow_close},
16552  { "open", _wrap_uiWindow_open},
16553  { "set_background", _wrap_uiWindow_set_background},
16554  { "set_fullscreen", _wrap_uiWindow_set_fullscreen},
16555  { "set_modal", _wrap_uiWindow_set_modal},
16556  { "set_fill", _wrap_uiWindow_set_fill},
16557  { "set_dragbutton", _wrap_uiWindow_set_dragbutton},
16558  { "set_closebutton", _wrap_uiWindow_set_closebutton},
16559  { "set_starlayout", _wrap_uiWindow_set_starlayout},
16560  { "set_preventtypingescape", _wrap_uiWindow_set_preventtypingescape},
16561  { "set_noticepos", _wrap_uiWindow_set_noticepos},
16562  { "set_dropdown", _wrap_uiWindow_set_dropdown},
16563  {0,0}
16564 };
16566  {0,0}
16567 };
16568 
16570  {0,0,0}
16571 };
16573  {0,0,0,0,0,0}
16574 };
16576  {0,0}
16577 };
16579  0
16580 };
16581 
16583  "uiWindow",
16588  0
16589 };
16591 static const char *swig_uiWindow_base_names[] = {"uiNode_t *",0};
16593 
16594 static int _wrap_uiZone_is_repeat(lua_State* L) {
16595  int SWIG_arg = 0;
16596  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16597  bool result;
16598 
16599  SWIG_check_num_args("uiZoneNode_t::is_repeat",1,1)
16600  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::is_repeat",1,"uiZoneNode_t *");
16601 
16602  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16603  SWIG_fail_ptr("uiZone_is_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16604  }
16605 
16606  result = (bool)uiZoneNode_t_is_repeat(arg1);
16607  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16608  return SWIG_arg;
16609 
16610  if(0) SWIG_fail;
16611 
16612 fail:
16613  lua_error(L);
16614  return SWIG_arg;
16615 }
16616 
16617 
16618 static int _wrap_uiZone_clickdelay(lua_State* L) {
16619  int SWIG_arg = 0;
16620  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16621  int result;
16622 
16623  SWIG_check_num_args("uiZoneNode_t::clickdelay",1,1)
16624  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::clickdelay",1,"uiZoneNode_t *");
16625 
16626  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16627  SWIG_fail_ptr("uiZone_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16628  }
16629 
16630  result = (int)uiZoneNode_t_clickdelay(arg1);
16631  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16632  return SWIG_arg;
16633 
16634  if(0) SWIG_fail;
16635 
16636 fail:
16637  lua_error(L);
16638  return SWIG_arg;
16639 }
16640 
16641 
16642 static int _wrap_uiZone_set_repeat(lua_State* L) {
16643  int SWIG_arg = 0;
16644  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16645  bool arg2 ;
16646 
16647  SWIG_check_num_args("uiZoneNode_t::set_repeat",2,2)
16648  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_repeat",1,"uiZoneNode_t *");
16649  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiZoneNode_t::set_repeat",2,"bool");
16650 
16651  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16652  SWIG_fail_ptr("uiZone_set_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16653  }
16654 
16655  arg2 = (lua_toboolean(L, 2)!=0);
16656  uiZoneNode_t_set_repeat(arg1,arg2);
16657 
16658  return SWIG_arg;
16659 
16660  if(0) SWIG_fail;
16661 
16662 fail:
16663  lua_error(L);
16664  return SWIG_arg;
16665 }
16666 
16667 
16668 static int _wrap_uiZone_set_clickdelay(lua_State* L) {
16669  int SWIG_arg = 0;
16670  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16671  int arg2 ;
16672 
16673  SWIG_check_num_args("uiZoneNode_t::set_clickdelay",2,2)
16674  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",1,"uiZoneNode_t *");
16675  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",2,"int");
16676 
16677  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16678  SWIG_fail_ptr("uiZone_set_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16679  }
16680 
16681  arg2 = (int)lua_tonumber(L, 2);
16682  uiZoneNode_t_set_clickdelay(arg1,arg2);
16683 
16684  return SWIG_arg;
16685 
16686  if(0) SWIG_fail;
16687 
16688 fail:
16689  lua_error(L);
16690  return SWIG_arg;
16691 }
16692 
16693 
16694 static int _wrap_new_uiZone(lua_State* L) {
16695  int SWIG_arg = 0;
16696  uiZoneNode_t *result = 0 ;
16697 
16698  SWIG_check_num_args("uiZoneNode_t::uiZoneNode_t",0,0)
16699  result = (uiZoneNode_t *)new uiZoneNode_t();
16700  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,1); SWIG_arg++;
16701  return SWIG_arg;
16702 
16703  if(0) SWIG_fail;
16704 
16705 fail:
16706  lua_error(L);
16707  return SWIG_arg;
16708 }
16709 
16710 
16711 static void swig_delete_uiZone(void *obj) {
16712 uiZoneNode_t *arg1 = (uiZoneNode_t *) obj;
16713 delete arg1;
16714 }
16715 static int _proxy__wrap_new_uiZone(lua_State *L) {
16716  assert(lua_istable(L,1));
16717  lua_pushcfunction(L,_wrap_new_uiZone);
16718  assert(!lua_isnil(L,-1));
16719  lua_replace(L,1); /* replace our table with real constructor */
16720  lua_call(L,lua_gettop(L)-1,1);
16721  return 1;
16722 }
16724  {0,0,0}
16725 };
16727  { "is_repeat", _wrap_uiZone_is_repeat},
16728  { "clickdelay", _wrap_uiZone_clickdelay},
16729  { "set_repeat", _wrap_uiZone_set_repeat},
16730  { "set_clickdelay", _wrap_uiZone_set_clickdelay},
16731  {0,0}
16732 };
16734  {0,0}
16735 };
16736 
16738  {0,0,0}
16739 };
16741  {0,0,0,0,0,0}
16742 };
16744  {0,0}
16745 };
16747  0
16748 };
16749 
16751  "uiZone",
16756  0
16757 };
16759 static const char *swig_uiZone_base_names[] = {"uiNode_t *",0};
16761 
16762 static int _wrap_create_control(lua_State* L) {
16763  int SWIG_arg = 0;
16764  uiNode_t *arg1 = (uiNode_t *) 0 ;
16765  char *arg2 = (char *) 0 ;
16766  char *arg3 = (char *) 0 ;
16767  char *arg4 = (char *) 0 ;
16768  uiNode_t *result = 0 ;
16769 
16770  SWIG_check_num_args("UI_CreateControl",4,4)
16771  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateControl",1,"uiNode_t *");
16772  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateControl",2,"char const *");
16773  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateControl",3,"char const *");
16774  if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("UI_CreateControl",4,"char const *");
16775 
16776  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16777  SWIG_fail_ptr("create_control",1,SWIGTYPE_p_uiNode_t);
16778  }
16779 
16780  arg2 = (char *)lua_tostring(L, 2);
16781  arg3 = (char *)lua_tostring(L, 3);
16782  arg4 = (char *)lua_tostring(L, 4);
16783  result = (uiNode_t *)UI_CreateControl(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
16784  {
16785  if (result) {
16787  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
16788  } else {
16789  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
16790  }
16791  }
16792  return SWIG_arg;
16793 
16794  if(0) SWIG_fail;
16795 
16796 fail:
16797  lua_error(L);
16798  return SWIG_arg;
16799 }
16800 
16801 
16802 static int _wrap_UI_CreateBar(lua_State* L) {
16803  int SWIG_arg = 0;
16804  uiNode_t *arg1 = (uiNode_t *) 0 ;
16805  char *arg2 = (char *) 0 ;
16806  char *arg3 = (char *) 0 ;
16807  uiBarNode_t *result = 0 ;
16808 
16809  SWIG_check_num_args("UI_CreateBar",3,3)
16810  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
16811  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
16812  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
16813 
16814  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16815  SWIG_fail_ptr("UI_CreateBar",1,SWIGTYPE_p_uiNode_t);
16816  }
16817 
16818  arg2 = (char *)lua_tostring(L, 2);
16819  arg3 = (char *)lua_tostring(L, 3);
16820  result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
16821  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
16822  return SWIG_arg;
16823 
16824  if(0) SWIG_fail;
16825 
16826 fail:
16827  lua_error(L);
16828  return SWIG_arg;
16829 }
16830 
16831 
16832 static int _wrap_UI_CreateBaseLayout(lua_State* L) {
16833  int SWIG_arg = 0;
16834  uiNode_t *arg1 = (uiNode_t *) 0 ;
16835  char *arg2 = (char *) 0 ;
16836  char *arg3 = (char *) 0 ;
16837  uiBaseLayoutNode_t *result = 0 ;
16838 
16839  SWIG_check_num_args("UI_CreateBaseLayout",3,3)
16840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
16841  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
16842  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
16843 
16844  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16845  SWIG_fail_ptr("UI_CreateBaseLayout",1,SWIGTYPE_p_uiNode_t);
16846  }
16847 
16848  arg2 = (char *)lua_tostring(L, 2);
16849  arg3 = (char *)lua_tostring(L, 3);
16850  result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
16851  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
16852  return SWIG_arg;
16853 
16854  if(0) SWIG_fail;
16855 
16856 fail:
16857  lua_error(L);
16858  return SWIG_arg;
16859 }
16860 
16861 
16862 static int _wrap_UI_CreateBaseInventory(lua_State* L) {
16863  int SWIG_arg = 0;
16864  uiNode_t *arg1 = (uiNode_t *) 0 ;
16865  char *arg2 = (char *) 0 ;
16866  char *arg3 = (char *) 0 ;
16867  uiBaseInventoryNode_t *result = 0 ;
16868 
16869  SWIG_check_num_args("UI_CreateBaseInventory",3,3)
16870  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
16871  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
16872  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
16873 
16874  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16875  SWIG_fail_ptr("UI_CreateBaseInventory",1,SWIGTYPE_p_uiNode_t);
16876  }
16877 
16878  arg2 = (char *)lua_tostring(L, 2);
16879  arg3 = (char *)lua_tostring(L, 3);
16880  result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
16881  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,0); SWIG_arg++;
16882  return SWIG_arg;
16883 
16884  if(0) SWIG_fail;
16885 
16886 fail:
16887  lua_error(L);
16888  return SWIG_arg;
16889 }
16890 
16891 
16892 static int _wrap_UI_CreateButton(lua_State* L) {
16893  int SWIG_arg = 0;
16894  uiNode_t *arg1 = (uiNode_t *) 0 ;
16895  char *arg2 = (char *) 0 ;
16896  char *arg3 = (char *) 0 ;
16897  uiButtonNode_t *result = 0 ;
16898 
16899  SWIG_check_num_args("UI_CreateButton",3,3)
16900  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
16901  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
16902  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
16903 
16904  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16905  SWIG_fail_ptr("UI_CreateButton",1,SWIGTYPE_p_uiNode_t);
16906  }
16907 
16908  arg2 = (char *)lua_tostring(L, 2);
16909  arg3 = (char *)lua_tostring(L, 3);
16910  result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
16911  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
16912  return SWIG_arg;
16913 
16914  if(0) SWIG_fail;
16915 
16916 fail:
16917  lua_error(L);
16918  return SWIG_arg;
16919 }
16920 
16921 
16922 static int _wrap_UI_CreateCheckBox(lua_State* L) {
16923  int SWIG_arg = 0;
16924  uiNode_t *arg1 = (uiNode_t *) 0 ;
16925  char *arg2 = (char *) 0 ;
16926  char *arg3 = (char *) 0 ;
16927  uiCheckBoxNode_t *result = 0 ;
16928 
16929  SWIG_check_num_args("UI_CreateCheckBox",3,3)
16930  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
16931  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
16932  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
16933 
16934  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16935  SWIG_fail_ptr("UI_CreateCheckBox",1,SWIGTYPE_p_uiNode_t);
16936  }
16937 
16938  arg2 = (char *)lua_tostring(L, 2);
16939  arg3 = (char *)lua_tostring(L, 3);
16940  result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
16941  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
16942  return SWIG_arg;
16943 
16944  if(0) SWIG_fail;
16945 
16946 fail:
16947  lua_error(L);
16948  return SWIG_arg;
16949 }
16950 
16951 
16952 static int _wrap_UI_CreateConFunc(lua_State* L) {
16953  int SWIG_arg = 0;
16954  uiNode_t *arg1 = (uiNode_t *) 0 ;
16955  char *arg2 = (char *) 0 ;
16956  char *arg3 = (char *) 0 ;
16957  uiConFuncNode_t *result = 0 ;
16958 
16959  SWIG_check_num_args("UI_CreateConFunc",3,3)
16960  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
16961  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
16962  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
16963 
16964  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16965  SWIG_fail_ptr("UI_CreateConFunc",1,SWIGTYPE_p_uiNode_t);
16966  }
16967 
16968  arg2 = (char *)lua_tostring(L, 2);
16969  arg3 = (char *)lua_tostring(L, 3);
16970  result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
16971  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
16972  return SWIG_arg;
16973 
16974  if(0) SWIG_fail;
16975 
16976 fail:
16977  lua_error(L);
16978  return SWIG_arg;
16979 }
16980 
16981 
16982 static int _wrap_UI_CreateContainer(lua_State* L) {
16983  int SWIG_arg = 0;
16984  uiNode_t *arg1 = (uiNode_t *) 0 ;
16985  char *arg2 = (char *) 0 ;
16986  char *arg3 = (char *) 0 ;
16987  uiContainerNode_t *result = 0 ;
16988 
16989  SWIG_check_num_args("UI_CreateContainer",3,3)
16990  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
16991  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
16992  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
16993 
16994  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16995  SWIG_fail_ptr("UI_CreateContainer",1,SWIGTYPE_p_uiNode_t);
16996  }
16997 
16998  arg2 = (char *)lua_tostring(L, 2);
16999  arg3 = (char *)lua_tostring(L, 3);
17000  result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
17001  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
17002  return SWIG_arg;
17003 
17004  if(0) SWIG_fail;
17005 
17006 fail:
17007  lua_error(L);
17008  return SWIG_arg;
17009 }
17010 
17011 
17012 static int _wrap_UI_CreateData(lua_State* L) {
17013  int SWIG_arg = 0;
17014  uiNode_t *arg1 = (uiNode_t *) 0 ;
17015  char *arg2 = (char *) 0 ;
17016  char *arg3 = (char *) 0 ;
17017  uiDataNode_t *result = 0 ;
17018 
17019  SWIG_check_num_args("UI_CreateData",3,3)
17020  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
17021  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
17022  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
17023 
17024  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17025  SWIG_fail_ptr("UI_CreateData",1,SWIGTYPE_p_uiNode_t);
17026  }
17027 
17028  arg2 = (char *)lua_tostring(L, 2);
17029  arg3 = (char *)lua_tostring(L, 3);
17030  result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
17031  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
17032  return SWIG_arg;
17033 
17034  if(0) SWIG_fail;
17035 
17036 fail:
17037  lua_error(L);
17038  return SWIG_arg;
17039 }
17040 
17041 
17042 static int _wrap_UI_CreateGeoscape(lua_State* L) {
17043  int SWIG_arg = 0;
17044  uiNode_t *arg1 = (uiNode_t *) 0 ;
17045  char *arg2 = (char *) 0 ;
17046  char *arg3 = (char *) 0 ;
17047  uiGeoscapeNode_t *result = 0 ;
17048 
17049  SWIG_check_num_args("UI_CreateGeoscape",3,3)
17050  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
17051  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
17052  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
17053 
17054  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17055  SWIG_fail_ptr("UI_CreateGeoscape",1,SWIGTYPE_p_uiNode_t);
17056  }
17057 
17058  arg2 = (char *)lua_tostring(L, 2);
17059  arg3 = (char *)lua_tostring(L, 3);
17060  result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
17061  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
17062  return SWIG_arg;
17063 
17064  if(0) SWIG_fail;
17065 
17066 fail:
17067  lua_error(L);
17068  return SWIG_arg;
17069 }
17070 
17071 
17072 static int _wrap_UI_CreateImage(lua_State* L) {
17073  int SWIG_arg = 0;
17074  uiNode_t *arg1 = (uiNode_t *) 0 ;
17075  char *arg2 = (char *) 0 ;
17076  char *arg3 = (char *) 0 ;
17077  uiImageNode_t *result = 0 ;
17078 
17079  SWIG_check_num_args("UI_CreateImage",3,3)
17080  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
17081  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
17082  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
17083 
17084  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17085  SWIG_fail_ptr("UI_CreateImage",1,SWIGTYPE_p_uiNode_t);
17086  }
17087 
17088  arg2 = (char *)lua_tostring(L, 2);
17089  arg3 = (char *)lua_tostring(L, 3);
17090  result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
17091  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
17092  return SWIG_arg;
17093 
17094  if(0) SWIG_fail;
17095 
17096 fail:
17097  lua_error(L);
17098  return SWIG_arg;
17099 }
17100 
17101 
17102 static int _wrap_UI_CreateItem(lua_State* L) {
17103  int SWIG_arg = 0;
17104  uiNode_t *arg1 = (uiNode_t *) 0 ;
17105  char *arg2 = (char *) 0 ;
17106  char *arg3 = (char *) 0 ;
17107  uiItemNode_t *result = 0 ;
17108 
17109  SWIG_check_num_args("UI_CreateItem",3,3)
17110  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
17111  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
17112  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
17113 
17114  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17115  SWIG_fail_ptr("UI_CreateItem",1,SWIGTYPE_p_uiNode_t);
17116  }
17117 
17118  arg2 = (char *)lua_tostring(L, 2);
17119  arg3 = (char *)lua_tostring(L, 3);
17120  result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
17121  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
17122  return SWIG_arg;
17123 
17124  if(0) SWIG_fail;
17125 
17126 fail:
17127  lua_error(L);
17128  return SWIG_arg;
17129 }
17130 
17131 
17132 static int _wrap_UI_CreateLineChart(lua_State* L) {
17133  int SWIG_arg = 0;
17134  uiNode_t *arg1 = (uiNode_t *) 0 ;
17135  char *arg2 = (char *) 0 ;
17136  char *arg3 = (char *) 0 ;
17137  uiLineChartNode_t *result = 0 ;
17138 
17139  SWIG_check_num_args("UI_CreateLineChart",3,3)
17140  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
17141  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
17142  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
17143 
17144  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17145  SWIG_fail_ptr("UI_CreateLineChart",1,SWIGTYPE_p_uiNode_t);
17146  }
17147 
17148  arg2 = (char *)lua_tostring(L, 2);
17149  arg3 = (char *)lua_tostring(L, 3);
17150  result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
17151  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
17152  return SWIG_arg;
17153 
17154  if(0) SWIG_fail;
17155 
17156 fail:
17157  lua_error(L);
17158  return SWIG_arg;
17159 }
17160 
17161 
17162 static int _wrap_UI_CreateMessageList(lua_State* L) {
17163  int SWIG_arg = 0;
17164  uiNode_t *arg1 = (uiNode_t *) 0 ;
17165  char *arg2 = (char *) 0 ;
17166  char *arg3 = (char *) 0 ;
17167  uiMessageListNode_t *result = 0 ;
17168 
17169  SWIG_check_num_args("UI_CreateMessageList",3,3)
17170  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
17171  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
17172  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
17173 
17174  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17175  SWIG_fail_ptr("UI_CreateMessageList",1,SWIGTYPE_p_uiNode_t);
17176  }
17177 
17178  arg2 = (char *)lua_tostring(L, 2);
17179  arg3 = (char *)lua_tostring(L, 3);
17180  result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
17181  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
17182  return SWIG_arg;
17183 
17184  if(0) SWIG_fail;
17185 
17186 fail:
17187  lua_error(L);
17188  return SWIG_arg;
17189 }
17190 
17191 
17192 static int _wrap_UI_CreateModel(lua_State* L) {
17193  int SWIG_arg = 0;
17194  uiNode_t *arg1 = (uiNode_t *) 0 ;
17195  char *arg2 = (char *) 0 ;
17196  char *arg3 = (char *) 0 ;
17197  uiModelNode_t *result = 0 ;
17198 
17199  SWIG_check_num_args("UI_CreateModel",3,3)
17200  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
17201  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
17202  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
17203 
17204  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17205  SWIG_fail_ptr("UI_CreateModel",1,SWIGTYPE_p_uiNode_t);
17206  }
17207 
17208  arg2 = (char *)lua_tostring(L, 2);
17209  arg3 = (char *)lua_tostring(L, 3);
17210  result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
17211  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
17212  return SWIG_arg;
17213 
17214  if(0) SWIG_fail;
17215 
17216 fail:
17217  lua_error(L);
17218  return SWIG_arg;
17219 }
17220 
17221 
17222 static int _wrap_UI_CreateOption(lua_State* L) {
17223  int SWIG_arg = 0;
17224  uiNode_t *arg1 = (uiNode_t *) 0 ;
17225  char *arg2 = (char *) 0 ;
17226  char *arg3 = (char *) 0 ;
17227  uiOptionNode_t *result = 0 ;
17228 
17229  SWIG_check_num_args("UI_CreateOption",3,3)
17230  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
17231  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
17232  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
17233 
17234  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17235  SWIG_fail_ptr("UI_CreateOption",1,SWIGTYPE_p_uiNode_t);
17236  }
17237 
17238  arg2 = (char *)lua_tostring(L, 2);
17239  arg3 = (char *)lua_tostring(L, 3);
17240  result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
17241  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
17242  return SWIG_arg;
17243 
17244  if(0) SWIG_fail;
17245 
17246 fail:
17247  lua_error(L);
17248  return SWIG_arg;
17249 }
17250 
17251 
17252 static int _wrap_UI_CreateOptionList(lua_State* L) {
17253  int SWIG_arg = 0;
17254  uiNode_t *arg1 = (uiNode_t *) 0 ;
17255  char *arg2 = (char *) 0 ;
17256  char *arg3 = (char *) 0 ;
17257  uiOptionListNode_t *result = 0 ;
17258 
17259  SWIG_check_num_args("UI_CreateOptionList",3,3)
17260  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
17261  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
17262  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
17263 
17264  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17265  SWIG_fail_ptr("UI_CreateOptionList",1,SWIGTYPE_p_uiNode_t);
17266  }
17267 
17268  arg2 = (char *)lua_tostring(L, 2);
17269  arg3 = (char *)lua_tostring(L, 3);
17270  result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
17271  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
17272  return SWIG_arg;
17273 
17274  if(0) SWIG_fail;
17275 
17276 fail:
17277  lua_error(L);
17278  return SWIG_arg;
17279 }
17280 
17281 
17282 static int _wrap_UI_CreateOptionTree(lua_State* L) {
17283  int SWIG_arg = 0;
17284  uiNode_t *arg1 = (uiNode_t *) 0 ;
17285  char *arg2 = (char *) 0 ;
17286  char *arg3 = (char *) 0 ;
17287  uiOptionTreeNode_t *result = 0 ;
17288 
17289  SWIG_check_num_args("UI_CreateOptionTree",3,3)
17290  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
17291  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
17292  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
17293 
17294  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17295  SWIG_fail_ptr("UI_CreateOptionTree",1,SWIGTYPE_p_uiNode_t);
17296  }
17297 
17298  arg2 = (char *)lua_tostring(L, 2);
17299  arg3 = (char *)lua_tostring(L, 3);
17300  result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
17301  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
17302  return SWIG_arg;
17303 
17304  if(0) SWIG_fail;
17305 
17306 fail:
17307  lua_error(L);
17308  return SWIG_arg;
17309 }
17310 
17311 
17312 static int _wrap_UI_CreatePanel(lua_State* L) {
17313  int SWIG_arg = 0;
17314  uiNode_t *arg1 = (uiNode_t *) 0 ;
17315  char *arg2 = (char *) 0 ;
17316  char *arg3 = (char *) 0 ;
17317  uiPanelNode_t *result = 0 ;
17318 
17319  SWIG_check_num_args("UI_CreatePanel",3,3)
17320  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
17321  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
17322  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
17323 
17324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17325  SWIG_fail_ptr("UI_CreatePanel",1,SWIGTYPE_p_uiNode_t);
17326  }
17327 
17328  arg2 = (char *)lua_tostring(L, 2);
17329  arg3 = (char *)lua_tostring(L, 3);
17330  result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
17331  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
17332  return SWIG_arg;
17333 
17334  if(0) SWIG_fail;
17335 
17336 fail:
17337  lua_error(L);
17338  return SWIG_arg;
17339 }
17340 
17341 
17342 static int _wrap_UI_CreateRadar(lua_State* L) {
17343  int SWIG_arg = 0;
17344  uiNode_t *arg1 = (uiNode_t *) 0 ;
17345  char *arg2 = (char *) 0 ;
17346  char *arg3 = (char *) 0 ;
17347  uiRadarNode_t *result = 0 ;
17348 
17349  SWIG_check_num_args("UI_CreateRadar",3,3)
17350  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
17351  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
17352  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
17353 
17354  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17355  SWIG_fail_ptr("UI_CreateRadar",1,SWIGTYPE_p_uiNode_t);
17356  }
17357 
17358  arg2 = (char *)lua_tostring(L, 2);
17359  arg3 = (char *)lua_tostring(L, 3);
17360  result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
17361  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
17362  return SWIG_arg;
17363 
17364  if(0) SWIG_fail;
17365 
17366 fail:
17367  lua_error(L);
17368  return SWIG_arg;
17369 }
17370 
17371 
17372 static int _wrap_UI_CreateRadioButton(lua_State* L) {
17373  int SWIG_arg = 0;
17374  uiNode_t *arg1 = (uiNode_t *) 0 ;
17375  char *arg2 = (char *) 0 ;
17376  char *arg3 = (char *) 0 ;
17377  uiRadioButtonNode_t *result = 0 ;
17378 
17379  SWIG_check_num_args("UI_CreateRadioButton",3,3)
17380  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
17381  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
17382  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
17383 
17384  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17385  SWIG_fail_ptr("UI_CreateRadioButton",1,SWIGTYPE_p_uiNode_t);
17386  }
17387 
17388  arg2 = (char *)lua_tostring(L, 2);
17389  arg3 = (char *)lua_tostring(L, 3);
17390  result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
17391  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
17392  return SWIG_arg;
17393 
17394  if(0) SWIG_fail;
17395 
17396 fail:
17397  lua_error(L);
17398  return SWIG_arg;
17399 }
17400 
17401 
17402 static int _wrap_UI_CreateRows(lua_State* L) {
17403  int SWIG_arg = 0;
17404  uiNode_t *arg1 = (uiNode_t *) 0 ;
17405  char *arg2 = (char *) 0 ;
17406  char *arg3 = (char *) 0 ;
17407  uiRowsNode_t *result = 0 ;
17408 
17409  SWIG_check_num_args("UI_CreateRows",3,3)
17410  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
17411  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
17412  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
17413 
17414  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17415  SWIG_fail_ptr("UI_CreateRows",1,SWIGTYPE_p_uiNode_t);
17416  }
17417 
17418  arg2 = (char *)lua_tostring(L, 2);
17419  arg3 = (char *)lua_tostring(L, 3);
17420  result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
17421  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
17422  return SWIG_arg;
17423 
17424  if(0) SWIG_fail;
17425 
17426 fail:
17427  lua_error(L);
17428  return SWIG_arg;
17429 }
17430 
17431 
17432 static int _wrap_UI_CreateSelectBox(lua_State* L) {
17433  int SWIG_arg = 0;
17434  uiNode_t *arg1 = (uiNode_t *) 0 ;
17435  char *arg2 = (char *) 0 ;
17436  char *arg3 = (char *) 0 ;
17437  uiSelectBoxNode_t *result = 0 ;
17438 
17439  SWIG_check_num_args("UI_CreateSelectBox",3,3)
17440  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
17441  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
17442  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
17443 
17444  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17445  SWIG_fail_ptr("UI_CreateSelectBox",1,SWIGTYPE_p_uiNode_t);
17446  }
17447 
17448  arg2 = (char *)lua_tostring(L, 2);
17449  arg3 = (char *)lua_tostring(L, 3);
17450  result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
17451  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
17452  return SWIG_arg;
17453 
17454  if(0) SWIG_fail;
17455 
17456 fail:
17457  lua_error(L);
17458  return SWIG_arg;
17459 }
17460 
17461 
17462 static int _wrap_UI_CreateSequence(lua_State* L) {
17463  int SWIG_arg = 0;
17464  uiNode_t *arg1 = (uiNode_t *) 0 ;
17465  char *arg2 = (char *) 0 ;
17466  char *arg3 = (char *) 0 ;
17467  uiSequenceNode_t *result = 0 ;
17468 
17469  SWIG_check_num_args("UI_CreateSequence",3,3)
17470  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
17471  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
17472  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
17473 
17474  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17475  SWIG_fail_ptr("UI_CreateSequence",1,SWIGTYPE_p_uiNode_t);
17476  }
17477 
17478  arg2 = (char *)lua_tostring(L, 2);
17479  arg3 = (char *)lua_tostring(L, 3);
17480  result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
17481  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
17482  return SWIG_arg;
17483 
17484  if(0) SWIG_fail;
17485 
17486 fail:
17487  lua_error(L);
17488  return SWIG_arg;
17489 }
17490 
17491 
17492 static int _wrap_UI_CreateSpinner(lua_State* L) {
17493  int SWIG_arg = 0;
17494  uiNode_t *arg1 = (uiNode_t *) 0 ;
17495  char *arg2 = (char *) 0 ;
17496  char *arg3 = (char *) 0 ;
17497  uiSpinnerNode_t *result = 0 ;
17498 
17499  SWIG_check_num_args("UI_CreateSpinner",3,3)
17500  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
17501  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
17502  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
17503 
17504  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17505  SWIG_fail_ptr("UI_CreateSpinner",1,SWIGTYPE_p_uiNode_t);
17506  }
17507 
17508  arg2 = (char *)lua_tostring(L, 2);
17509  arg3 = (char *)lua_tostring(L, 3);
17510  result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
17511  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
17512  return SWIG_arg;
17513 
17514  if(0) SWIG_fail;
17515 
17516 fail:
17517  lua_error(L);
17518  return SWIG_arg;
17519 }
17520 
17521 
17522 static int _wrap_UI_CreateString(lua_State* L) {
17523  int SWIG_arg = 0;
17524  uiNode_t *arg1 = (uiNode_t *) 0 ;
17525  char *arg2 = (char *) 0 ;
17526  char *arg3 = (char *) 0 ;
17527  uiStringNode_t *result = 0 ;
17528 
17529  SWIG_check_num_args("UI_CreateString",3,3)
17530  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
17531  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
17532  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
17533 
17534  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17535  SWIG_fail_ptr("UI_CreateString",1,SWIGTYPE_p_uiNode_t);
17536  }
17537 
17538  arg2 = (char *)lua_tostring(L, 2);
17539  arg3 = (char *)lua_tostring(L, 3);
17540  result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
17541  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
17542  return SWIG_arg;
17543 
17544  if(0) SWIG_fail;
17545 
17546 fail:
17547  lua_error(L);
17548  return SWIG_arg;
17549 }
17550 
17551 
17552 static int _wrap_UI_CreateTab(lua_State* L) {
17553  int SWIG_arg = 0;
17554  uiNode_t *arg1 = (uiNode_t *) 0 ;
17555  char *arg2 = (char *) 0 ;
17556  char *arg3 = (char *) 0 ;
17557  uiTabNode_t *result = 0 ;
17558 
17559  SWIG_check_num_args("UI_CreateTab",3,3)
17560  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
17561  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
17562  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
17563 
17564  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17565  SWIG_fail_ptr("UI_CreateTab",1,SWIGTYPE_p_uiNode_t);
17566  }
17567 
17568  arg2 = (char *)lua_tostring(L, 2);
17569  arg3 = (char *)lua_tostring(L, 3);
17570  result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
17571  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
17572  return SWIG_arg;
17573 
17574  if(0) SWIG_fail;
17575 
17576 fail:
17577  lua_error(L);
17578  return SWIG_arg;
17579 }
17580 
17581 
17582 static int _wrap_UI_CreateTBar(lua_State* L) {
17583  int SWIG_arg = 0;
17584  uiNode_t *arg1 = (uiNode_t *) 0 ;
17585  char *arg2 = (char *) 0 ;
17586  char *arg3 = (char *) 0 ;
17587  uiTBarNode_t *result = 0 ;
17588 
17589  SWIG_check_num_args("UI_CreateTBar",3,3)
17590  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
17591  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
17592  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
17593 
17594  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17595  SWIG_fail_ptr("UI_CreateTBar",1,SWIGTYPE_p_uiNode_t);
17596  }
17597 
17598  arg2 = (char *)lua_tostring(L, 2);
17599  arg3 = (char *)lua_tostring(L, 3);
17600  result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
17601  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
17602  return SWIG_arg;
17603 
17604  if(0) SWIG_fail;
17605 
17606 fail:
17607  lua_error(L);
17608  return SWIG_arg;
17609 }
17610 
17611 
17612 static int _wrap_UI_CreateText(lua_State* L) {
17613  int SWIG_arg = 0;
17614  uiNode_t *arg1 = (uiNode_t *) 0 ;
17615  char *arg2 = (char *) 0 ;
17616  char *arg3 = (char *) 0 ;
17617  uiTextNode_t *result = 0 ;
17618 
17619  SWIG_check_num_args("UI_CreateText",3,3)
17620  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
17621  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
17622  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
17623 
17624  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17625  SWIG_fail_ptr("UI_CreateText",1,SWIGTYPE_p_uiNode_t);
17626  }
17627 
17628  arg2 = (char *)lua_tostring(L, 2);
17629  arg3 = (char *)lua_tostring(L, 3);
17630  result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
17631  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
17632  return SWIG_arg;
17633 
17634  if(0) SWIG_fail;
17635 
17636 fail:
17637  lua_error(L);
17638  return SWIG_arg;
17639 }
17640 
17641 
17642 static int _wrap_UI_CreateText2(lua_State* L) {
17643  int SWIG_arg = 0;
17644  uiNode_t *arg1 = (uiNode_t *) 0 ;
17645  char *arg2 = (char *) 0 ;
17646  char *arg3 = (char *) 0 ;
17647  uiText2Node_t *result = 0 ;
17648 
17649  SWIG_check_num_args("UI_CreateText2",3,3)
17650  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
17651  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
17652  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
17653 
17654  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17655  SWIG_fail_ptr("UI_CreateText2",1,SWIGTYPE_p_uiNode_t);
17656  }
17657 
17658  arg2 = (char *)lua_tostring(L, 2);
17659  arg3 = (char *)lua_tostring(L, 3);
17660  result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
17661  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
17662  return SWIG_arg;
17663 
17664  if(0) SWIG_fail;
17665 
17666 fail:
17667  lua_error(L);
17668  return SWIG_arg;
17669 }
17670 
17671 
17672 static int _wrap_UI_CreateTextEntry(lua_State* L) {
17673  int SWIG_arg = 0;
17674  uiNode_t *arg1 = (uiNode_t *) 0 ;
17675  char *arg2 = (char *) 0 ;
17676  char *arg3 = (char *) 0 ;
17677  uiTextEntryNode_t *result = 0 ;
17678 
17679  SWIG_check_num_args("UI_CreateTextEntry",3,3)
17680  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
17681  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
17682  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
17683 
17684  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17685  SWIG_fail_ptr("UI_CreateTextEntry",1,SWIGTYPE_p_uiNode_t);
17686  }
17687 
17688  arg2 = (char *)lua_tostring(L, 2);
17689  arg3 = (char *)lua_tostring(L, 3);
17690  result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
17691  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
17692  return SWIG_arg;
17693 
17694  if(0) SWIG_fail;
17695 
17696 fail:
17697  lua_error(L);
17698  return SWIG_arg;
17699 }
17700 
17701 
17702 static int _wrap_UI_CreateTextList(lua_State* L) {
17703  int SWIG_arg = 0;
17704  uiNode_t *arg1 = (uiNode_t *) 0 ;
17705  char *arg2 = (char *) 0 ;
17706  char *arg3 = (char *) 0 ;
17707  uiTextListNode_t *result = 0 ;
17708 
17709  SWIG_check_num_args("UI_CreateTextList",3,3)
17710  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
17711  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
17712  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
17713 
17714  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17715  SWIG_fail_ptr("UI_CreateTextList",1,SWIGTYPE_p_uiNode_t);
17716  }
17717 
17718  arg2 = (char *)lua_tostring(L, 2);
17719  arg3 = (char *)lua_tostring(L, 3);
17720  result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
17721  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
17722  return SWIG_arg;
17723 
17724  if(0) SWIG_fail;
17725 
17726 fail:
17727  lua_error(L);
17728  return SWIG_arg;
17729 }
17730 
17731 
17732 static int _wrap_UI_CreateTexture(lua_State* L) {
17733  int SWIG_arg = 0;
17734  uiNode_t *arg1 = (uiNode_t *) 0 ;
17735  char *arg2 = (char *) 0 ;
17736  char *arg3 = (char *) 0 ;
17737  uiTextureNode_t *result = 0 ;
17738 
17739  SWIG_check_num_args("UI_CreateTexture",3,3)
17740  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
17741  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
17742  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
17743 
17744  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17745  SWIG_fail_ptr("UI_CreateTexture",1,SWIGTYPE_p_uiNode_t);
17746  }
17747 
17748  arg2 = (char *)lua_tostring(L, 2);
17749  arg3 = (char *)lua_tostring(L, 3);
17750  result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
17751  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
17752  return SWIG_arg;
17753 
17754  if(0) SWIG_fail;
17755 
17756 fail:
17757  lua_error(L);
17758  return SWIG_arg;
17759 }
17760 
17761 
17762 static int _wrap_UI_CreateTimer(lua_State* L) {
17763  int SWIG_arg = 0;
17764  uiNode_t *arg1 = (uiNode_t *) 0 ;
17765  char *arg2 = (char *) 0 ;
17766  char *arg3 = (char *) 0 ;
17767  uiTimerNode_t *result = 0 ;
17768 
17769  SWIG_check_num_args("UI_CreateTimer",3,3)
17770  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
17771  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
17772  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
17773 
17774  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17775  SWIG_fail_ptr("UI_CreateTimer",1,SWIGTYPE_p_uiNode_t);
17776  }
17777 
17778  arg2 = (char *)lua_tostring(L, 2);
17779  arg3 = (char *)lua_tostring(L, 3);
17780  result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
17781  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
17782  return SWIG_arg;
17783 
17784  if(0) SWIG_fail;
17785 
17786 fail:
17787  lua_error(L);
17788  return SWIG_arg;
17789 }
17790 
17791 
17792 static int _wrap_UI_CreateVideo(lua_State* L) {
17793  int SWIG_arg = 0;
17794  uiNode_t *arg1 = (uiNode_t *) 0 ;
17795  char *arg2 = (char *) 0 ;
17796  char *arg3 = (char *) 0 ;
17797  uiVideoNode_t *result = 0 ;
17798 
17799  SWIG_check_num_args("UI_CreateVideo",3,3)
17800  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
17801  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
17802  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
17803 
17804  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17805  SWIG_fail_ptr("UI_CreateVideo",1,SWIGTYPE_p_uiNode_t);
17806  }
17807 
17808  arg2 = (char *)lua_tostring(L, 2);
17809  arg3 = (char *)lua_tostring(L, 3);
17810  result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
17811  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
17812  return SWIG_arg;
17813 
17814  if(0) SWIG_fail;
17815 
17816 fail:
17817  lua_error(L);
17818  return SWIG_arg;
17819 }
17820 
17821 
17822 static int _wrap_UI_CreateVScrollbar(lua_State* L) {
17823  int SWIG_arg = 0;
17824  uiNode_t *arg1 = (uiNode_t *) 0 ;
17825  char *arg2 = (char *) 0 ;
17826  char *arg3 = (char *) 0 ;
17827  uiVScrollBarNode_t *result = 0 ;
17828 
17829  SWIG_check_num_args("UI_CreateVScrollbar",3,3)
17830  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
17831  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
17832  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
17833 
17834  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17835  SWIG_fail_ptr("UI_CreateVScrollbar",1,SWIGTYPE_p_uiNode_t);
17836  }
17837 
17838  arg2 = (char *)lua_tostring(L, 2);
17839  arg3 = (char *)lua_tostring(L, 3);
17840  result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
17841  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
17842  return SWIG_arg;
17843 
17844  if(0) SWIG_fail;
17845 
17846 fail:
17847  lua_error(L);
17848  return SWIG_arg;
17849 }
17850 
17851 
17852 static int _wrap_UI_CreateWidget(lua_State* L) {
17853  int SWIG_arg = 0;
17854  uiNode_t *arg1 = (uiNode_t *) 0 ;
17855  char *arg2 = (char *) 0 ;
17856  char *arg3 = (char *) 0 ;
17857  uiWidgetNode_t *result = 0 ;
17858 
17859  SWIG_check_num_args("UI_CreateWidget",3,3)
17860  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
17861  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
17862  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
17863 
17864  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17865  SWIG_fail_ptr("UI_CreateWidget",1,SWIGTYPE_p_uiNode_t);
17866  }
17867 
17868  arg2 = (char *)lua_tostring(L, 2);
17869  arg3 = (char *)lua_tostring(L, 3);
17870  result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
17871  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
17872  return SWIG_arg;
17873 
17874  if(0) SWIG_fail;
17875 
17876 fail:
17877  lua_error(L);
17878  return SWIG_arg;
17879 }
17880 
17881 
17882 static int _wrap_UI_CreateWindow(lua_State* L) {
17883  int SWIG_arg = 0;
17884  char *arg1 = (char *) 0 ;
17885  char *arg2 = (char *) 0 ;
17886  uiWindowNode_t *result = 0 ;
17887 
17888  SWIG_check_num_args("UI_CreateWindow",2,2)
17889  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
17890  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
17891  arg1 = (char *)lua_tostring(L, 1);
17892  arg2 = (char *)lua_tostring(L, 2);
17893  result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
17894  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
17895  return SWIG_arg;
17896 
17897  if(0) SWIG_fail;
17898 
17899 fail:
17900  lua_error(L);
17901  return SWIG_arg;
17902 }
17903 
17904 
17905 static int _wrap_UI_CreateZone(lua_State* L) {
17906  int SWIG_arg = 0;
17907  uiNode_t *arg1 = (uiNode_t *) 0 ;
17908  char *arg2 = (char *) 0 ;
17909  char *arg3 = (char *) 0 ;
17910  uiZoneNode_t *result = 0 ;
17911 
17912  SWIG_check_num_args("UI_CreateZone",3,3)
17913  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
17914  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
17915  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
17916 
17917  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17918  SWIG_fail_ptr("UI_CreateZone",1,SWIGTYPE_p_uiNode_t);
17919  }
17920 
17921  arg2 = (char *)lua_tostring(L, 2);
17922  arg3 = (char *)lua_tostring(L, 3);
17923  result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
17924  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
17925  return SWIG_arg;
17926 
17927  if(0) SWIG_fail;
17928 
17929 fail:
17930  lua_error(L);
17931  return SWIG_arg;
17932 }
17933 
17934 
17935 static int _wrap_create_bar(lua_State* L) {
17936  int SWIG_arg = 0;
17937  uiNode_t *arg1 = (uiNode_t *) 0 ;
17938  char *arg2 = (char *) 0 ;
17939  char *arg3 = (char *) 0 ;
17940  uiBarNode_t *result = 0 ;
17941 
17942  SWIG_check_num_args("UI_CreateBar",3,3)
17943  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
17944  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
17945  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
17946 
17947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17948  SWIG_fail_ptr("create_bar",1,SWIGTYPE_p_uiNode_t);
17949  }
17950 
17951  arg2 = (char *)lua_tostring(L, 2);
17952  arg3 = (char *)lua_tostring(L, 3);
17953  result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
17954  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
17955  return SWIG_arg;
17956 
17957  if(0) SWIG_fail;
17958 
17959 fail:
17960  lua_error(L);
17961  return SWIG_arg;
17962 }
17963 
17964 
17965 static int _wrap_create_button(lua_State* L) {
17966  int SWIG_arg = 0;
17967  uiNode_t *arg1 = (uiNode_t *) 0 ;
17968  char *arg2 = (char *) 0 ;
17969  char *arg3 = (char *) 0 ;
17970  uiButtonNode_t *result = 0 ;
17971 
17972  SWIG_check_num_args("UI_CreateButton",3,3)
17973  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
17974  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
17975  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
17976 
17977  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17978  SWIG_fail_ptr("create_button",1,SWIGTYPE_p_uiNode_t);
17979  }
17980 
17981  arg2 = (char *)lua_tostring(L, 2);
17982  arg3 = (char *)lua_tostring(L, 3);
17983  result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
17984  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
17985  return SWIG_arg;
17986 
17987  if(0) SWIG_fail;
17988 
17989 fail:
17990  lua_error(L);
17991  return SWIG_arg;
17992 }
17993 
17994 
17995 static int _wrap_create_baselayout(lua_State* L) {
17996  int SWIG_arg = 0;
17997  uiNode_t *arg1 = (uiNode_t *) 0 ;
17998  char *arg2 = (char *) 0 ;
17999  char *arg3 = (char *) 0 ;
18000  uiBaseLayoutNode_t *result = 0 ;
18001 
18002  SWIG_check_num_args("UI_CreateBaseLayout",3,3)
18003  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
18004  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
18005  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
18006 
18007  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18008  SWIG_fail_ptr("create_baselayout",1,SWIGTYPE_p_uiNode_t);
18009  }
18010 
18011  arg2 = (char *)lua_tostring(L, 2);
18012  arg3 = (char *)lua_tostring(L, 3);
18013  result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
18014  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
18015  return SWIG_arg;
18016 
18017  if(0) SWIG_fail;
18018 
18019 fail:
18020  lua_error(L);
18021  return SWIG_arg;
18022 }
18023 
18024 
18025 static int _wrap_create_baseinventory(lua_State* L) {
18026  int SWIG_arg = 0;
18027  uiNode_t *arg1 = (uiNode_t *) 0 ;
18028  char *arg2 = (char *) 0 ;
18029  char *arg3 = (char *) 0 ;
18030  uiBaseInventoryNode_t *result = 0 ;
18031 
18032  SWIG_check_num_args("UI_CreateBaseInventory",3,3)
18033  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
18034  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
18035  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
18036 
18037  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18038  SWIG_fail_ptr("create_baseinventory",1,SWIGTYPE_p_uiNode_t);
18039  }
18040 
18041  arg2 = (char *)lua_tostring(L, 2);
18042  arg3 = (char *)lua_tostring(L, 3);
18043  result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
18044  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,0); SWIG_arg++;
18045  return SWIG_arg;
18046 
18047  if(0) SWIG_fail;
18048 
18049 fail:
18050  lua_error(L);
18051  return SWIG_arg;
18052 }
18053 
18054 
18055 static int _wrap_create_checkbox(lua_State* L) {
18056  int SWIG_arg = 0;
18057  uiNode_t *arg1 = (uiNode_t *) 0 ;
18058  char *arg2 = (char *) 0 ;
18059  char *arg3 = (char *) 0 ;
18060  uiCheckBoxNode_t *result = 0 ;
18061 
18062  SWIG_check_num_args("UI_CreateCheckBox",3,3)
18063  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
18064  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
18065  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
18066 
18067  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18068  SWIG_fail_ptr("create_checkbox",1,SWIGTYPE_p_uiNode_t);
18069  }
18070 
18071  arg2 = (char *)lua_tostring(L, 2);
18072  arg3 = (char *)lua_tostring(L, 3);
18073  result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
18074  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
18075  return SWIG_arg;
18076 
18077  if(0) SWIG_fail;
18078 
18079 fail:
18080  lua_error(L);
18081  return SWIG_arg;
18082 }
18083 
18084 
18085 static int _wrap_create_confunc(lua_State* L) {
18086  int SWIG_arg = 0;
18087  uiNode_t *arg1 = (uiNode_t *) 0 ;
18088  char *arg2 = (char *) 0 ;
18089  char *arg3 = (char *) 0 ;
18090  uiConFuncNode_t *result = 0 ;
18091 
18092  SWIG_check_num_args("UI_CreateConFunc",3,3)
18093  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
18094  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
18095  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
18096 
18097  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18098  SWIG_fail_ptr("create_confunc",1,SWIGTYPE_p_uiNode_t);
18099  }
18100 
18101  arg2 = (char *)lua_tostring(L, 2);
18102  arg3 = (char *)lua_tostring(L, 3);
18103  result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
18104  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
18105  return SWIG_arg;
18106 
18107  if(0) SWIG_fail;
18108 
18109 fail:
18110  lua_error(L);
18111  return SWIG_arg;
18112 }
18113 
18114 
18115 static int _wrap_create_container(lua_State* L) {
18116  int SWIG_arg = 0;
18117  uiNode_t *arg1 = (uiNode_t *) 0 ;
18118  char *arg2 = (char *) 0 ;
18119  char *arg3 = (char *) 0 ;
18120  uiContainerNode_t *result = 0 ;
18121 
18122  SWIG_check_num_args("UI_CreateContainer",3,3)
18123  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
18124  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
18125  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
18126 
18127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18128  SWIG_fail_ptr("create_container",1,SWIGTYPE_p_uiNode_t);
18129  }
18130 
18131  arg2 = (char *)lua_tostring(L, 2);
18132  arg3 = (char *)lua_tostring(L, 3);
18133  result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
18134  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
18135  return SWIG_arg;
18136 
18137  if(0) SWIG_fail;
18138 
18139 fail:
18140  lua_error(L);
18141  return SWIG_arg;
18142 }
18143 
18144 
18145 static int _wrap_create_data(lua_State* L) {
18146  int SWIG_arg = 0;
18147  uiNode_t *arg1 = (uiNode_t *) 0 ;
18148  char *arg2 = (char *) 0 ;
18149  char *arg3 = (char *) 0 ;
18150  uiDataNode_t *result = 0 ;
18151 
18152  SWIG_check_num_args("UI_CreateData",3,3)
18153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
18154  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
18155  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
18156 
18157  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18158  SWIG_fail_ptr("create_data",1,SWIGTYPE_p_uiNode_t);
18159  }
18160 
18161  arg2 = (char *)lua_tostring(L, 2);
18162  arg3 = (char *)lua_tostring(L, 3);
18163  result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
18164  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
18165  return SWIG_arg;
18166 
18167  if(0) SWIG_fail;
18168 
18169 fail:
18170  lua_error(L);
18171  return SWIG_arg;
18172 }
18173 
18174 
18175 static int _wrap_create_geoscape(lua_State* L) {
18176  int SWIG_arg = 0;
18177  uiNode_t *arg1 = (uiNode_t *) 0 ;
18178  char *arg2 = (char *) 0 ;
18179  char *arg3 = (char *) 0 ;
18180  uiGeoscapeNode_t *result = 0 ;
18181 
18182  SWIG_check_num_args("UI_CreateGeoscape",3,3)
18183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
18184  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
18185  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
18186 
18187  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18188  SWIG_fail_ptr("create_geoscape",1,SWIGTYPE_p_uiNode_t);
18189  }
18190 
18191  arg2 = (char *)lua_tostring(L, 2);
18192  arg3 = (char *)lua_tostring(L, 3);
18193  result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
18194  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
18195  return SWIG_arg;
18196 
18197  if(0) SWIG_fail;
18198 
18199 fail:
18200  lua_error(L);
18201  return SWIG_arg;
18202 }
18203 
18204 
18205 static int _wrap_create_image(lua_State* L) {
18206  int SWIG_arg = 0;
18207  uiNode_t *arg1 = (uiNode_t *) 0 ;
18208  char *arg2 = (char *) 0 ;
18209  char *arg3 = (char *) 0 ;
18210  uiImageNode_t *result = 0 ;
18211 
18212  SWIG_check_num_args("UI_CreateImage",3,3)
18213  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
18214  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
18215  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
18216 
18217  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18218  SWIG_fail_ptr("create_image",1,SWIGTYPE_p_uiNode_t);
18219  }
18220 
18221  arg2 = (char *)lua_tostring(L, 2);
18222  arg3 = (char *)lua_tostring(L, 3);
18223  result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
18224  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
18225  return SWIG_arg;
18226 
18227  if(0) SWIG_fail;
18228 
18229 fail:
18230  lua_error(L);
18231  return SWIG_arg;
18232 }
18233 
18234 
18235 static int _wrap_create_item(lua_State* L) {
18236  int SWIG_arg = 0;
18237  uiNode_t *arg1 = (uiNode_t *) 0 ;
18238  char *arg2 = (char *) 0 ;
18239  char *arg3 = (char *) 0 ;
18240  uiItemNode_t *result = 0 ;
18241 
18242  SWIG_check_num_args("UI_CreateItem",3,3)
18243  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
18244  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
18245  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
18246 
18247  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18248  SWIG_fail_ptr("create_item",1,SWIGTYPE_p_uiNode_t);
18249  }
18250 
18251  arg2 = (char *)lua_tostring(L, 2);
18252  arg3 = (char *)lua_tostring(L, 3);
18253  result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
18254  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
18255  return SWIG_arg;
18256 
18257  if(0) SWIG_fail;
18258 
18259 fail:
18260  lua_error(L);
18261  return SWIG_arg;
18262 }
18263 
18264 
18265 static int _wrap_create_linechart(lua_State* L) {
18266  int SWIG_arg = 0;
18267  uiNode_t *arg1 = (uiNode_t *) 0 ;
18268  char *arg2 = (char *) 0 ;
18269  char *arg3 = (char *) 0 ;
18270  uiLineChartNode_t *result = 0 ;
18271 
18272  SWIG_check_num_args("UI_CreateLineChart",3,3)
18273  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
18274  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
18275  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
18276 
18277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18278  SWIG_fail_ptr("create_linechart",1,SWIGTYPE_p_uiNode_t);
18279  }
18280 
18281  arg2 = (char *)lua_tostring(L, 2);
18282  arg3 = (char *)lua_tostring(L, 3);
18283  result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
18284  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
18285  return SWIG_arg;
18286 
18287  if(0) SWIG_fail;
18288 
18289 fail:
18290  lua_error(L);
18291  return SWIG_arg;
18292 }
18293 
18294 
18295 static int _wrap_create_messagelist(lua_State* L) {
18296  int SWIG_arg = 0;
18297  uiNode_t *arg1 = (uiNode_t *) 0 ;
18298  char *arg2 = (char *) 0 ;
18299  char *arg3 = (char *) 0 ;
18300  uiMessageListNode_t *result = 0 ;
18301 
18302  SWIG_check_num_args("UI_CreateMessageList",3,3)
18303  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
18304  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
18305  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
18306 
18307  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18308  SWIG_fail_ptr("create_messagelist",1,SWIGTYPE_p_uiNode_t);
18309  }
18310 
18311  arg2 = (char *)lua_tostring(L, 2);
18312  arg3 = (char *)lua_tostring(L, 3);
18313  result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
18314  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
18315  return SWIG_arg;
18316 
18317  if(0) SWIG_fail;
18318 
18319 fail:
18320  lua_error(L);
18321  return SWIG_arg;
18322 }
18323 
18324 
18325 static int _wrap_create_model(lua_State* L) {
18326  int SWIG_arg = 0;
18327  uiNode_t *arg1 = (uiNode_t *) 0 ;
18328  char *arg2 = (char *) 0 ;
18329  char *arg3 = (char *) 0 ;
18330  uiModelNode_t *result = 0 ;
18331 
18332  SWIG_check_num_args("UI_CreateModel",3,3)
18333  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
18334  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
18335  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
18336 
18337  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18338  SWIG_fail_ptr("create_model",1,SWIGTYPE_p_uiNode_t);
18339  }
18340 
18341  arg2 = (char *)lua_tostring(L, 2);
18342  arg3 = (char *)lua_tostring(L, 3);
18343  result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
18344  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
18345  return SWIG_arg;
18346 
18347  if(0) SWIG_fail;
18348 
18349 fail:
18350  lua_error(L);
18351  return SWIG_arg;
18352 }
18353 
18354 
18355 static int _wrap_create_option(lua_State* L) {
18356  int SWIG_arg = 0;
18357  uiNode_t *arg1 = (uiNode_t *) 0 ;
18358  char *arg2 = (char *) 0 ;
18359  char *arg3 = (char *) 0 ;
18360  uiOptionNode_t *result = 0 ;
18361 
18362  SWIG_check_num_args("UI_CreateOption",3,3)
18363  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
18364  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
18365  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
18366 
18367  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18368  SWIG_fail_ptr("create_option",1,SWIGTYPE_p_uiNode_t);
18369  }
18370 
18371  arg2 = (char *)lua_tostring(L, 2);
18372  arg3 = (char *)lua_tostring(L, 3);
18373  result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
18374  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
18375  return SWIG_arg;
18376 
18377  if(0) SWIG_fail;
18378 
18379 fail:
18380  lua_error(L);
18381  return SWIG_arg;
18382 }
18383 
18384 
18385 static int _wrap_create_optionlist(lua_State* L) {
18386  int SWIG_arg = 0;
18387  uiNode_t *arg1 = (uiNode_t *) 0 ;
18388  char *arg2 = (char *) 0 ;
18389  char *arg3 = (char *) 0 ;
18390  uiOptionListNode_t *result = 0 ;
18391 
18392  SWIG_check_num_args("UI_CreateOptionList",3,3)
18393  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
18394  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
18395  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
18396 
18397  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18398  SWIG_fail_ptr("create_optionlist",1,SWIGTYPE_p_uiNode_t);
18399  }
18400 
18401  arg2 = (char *)lua_tostring(L, 2);
18402  arg3 = (char *)lua_tostring(L, 3);
18403  result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
18404  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
18405  return SWIG_arg;
18406 
18407  if(0) SWIG_fail;
18408 
18409 fail:
18410  lua_error(L);
18411  return SWIG_arg;
18412 }
18413 
18414 
18415 static int _wrap_create_optiontree(lua_State* L) {
18416  int SWIG_arg = 0;
18417  uiNode_t *arg1 = (uiNode_t *) 0 ;
18418  char *arg2 = (char *) 0 ;
18419  char *arg3 = (char *) 0 ;
18420  uiOptionTreeNode_t *result = 0 ;
18421 
18422  SWIG_check_num_args("UI_CreateOptionTree",3,3)
18423  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
18424  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
18425  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
18426 
18427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18428  SWIG_fail_ptr("create_optiontree",1,SWIGTYPE_p_uiNode_t);
18429  }
18430 
18431  arg2 = (char *)lua_tostring(L, 2);
18432  arg3 = (char *)lua_tostring(L, 3);
18433  result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
18434  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
18435  return SWIG_arg;
18436 
18437  if(0) SWIG_fail;
18438 
18439 fail:
18440  lua_error(L);
18441  return SWIG_arg;
18442 }
18443 
18444 
18445 static int _wrap_create_panel(lua_State* L) {
18446  int SWIG_arg = 0;
18447  uiNode_t *arg1 = (uiNode_t *) 0 ;
18448  char *arg2 = (char *) 0 ;
18449  char *arg3 = (char *) 0 ;
18450  uiPanelNode_t *result = 0 ;
18451 
18452  SWIG_check_num_args("UI_CreatePanel",3,3)
18453  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
18454  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
18455  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
18456 
18457  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18458  SWIG_fail_ptr("create_panel",1,SWIGTYPE_p_uiNode_t);
18459  }
18460 
18461  arg2 = (char *)lua_tostring(L, 2);
18462  arg3 = (char *)lua_tostring(L, 3);
18463  result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
18464  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
18465  return SWIG_arg;
18466 
18467  if(0) SWIG_fail;
18468 
18469 fail:
18470  lua_error(L);
18471  return SWIG_arg;
18472 }
18473 
18474 
18475 static int _wrap_create_radar(lua_State* L) {
18476  int SWIG_arg = 0;
18477  uiNode_t *arg1 = (uiNode_t *) 0 ;
18478  char *arg2 = (char *) 0 ;
18479  char *arg3 = (char *) 0 ;
18480  uiRadarNode_t *result = 0 ;
18481 
18482  SWIG_check_num_args("UI_CreateRadar",3,3)
18483  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
18484  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
18485  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
18486 
18487  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18488  SWIG_fail_ptr("create_radar",1,SWIGTYPE_p_uiNode_t);
18489  }
18490 
18491  arg2 = (char *)lua_tostring(L, 2);
18492  arg3 = (char *)lua_tostring(L, 3);
18493  result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
18494  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
18495  return SWIG_arg;
18496 
18497  if(0) SWIG_fail;
18498 
18499 fail:
18500  lua_error(L);
18501  return SWIG_arg;
18502 }
18503 
18504 
18505 static int _wrap_create_radiobutton(lua_State* L) {
18506  int SWIG_arg = 0;
18507  uiNode_t *arg1 = (uiNode_t *) 0 ;
18508  char *arg2 = (char *) 0 ;
18509  char *arg3 = (char *) 0 ;
18510  uiRadioButtonNode_t *result = 0 ;
18511 
18512  SWIG_check_num_args("UI_CreateRadioButton",3,3)
18513  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
18514  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
18515  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
18516 
18517  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18518  SWIG_fail_ptr("create_radiobutton",1,SWIGTYPE_p_uiNode_t);
18519  }
18520 
18521  arg2 = (char *)lua_tostring(L, 2);
18522  arg3 = (char *)lua_tostring(L, 3);
18523  result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
18524  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
18525  return SWIG_arg;
18526 
18527  if(0) SWIG_fail;
18528 
18529 fail:
18530  lua_error(L);
18531  return SWIG_arg;
18532 }
18533 
18534 
18535 static int _wrap_create_rows(lua_State* L) {
18536  int SWIG_arg = 0;
18537  uiNode_t *arg1 = (uiNode_t *) 0 ;
18538  char *arg2 = (char *) 0 ;
18539  char *arg3 = (char *) 0 ;
18540  uiRowsNode_t *result = 0 ;
18541 
18542  SWIG_check_num_args("UI_CreateRows",3,3)
18543  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
18544  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
18545  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
18546 
18547  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18548  SWIG_fail_ptr("create_rows",1,SWIGTYPE_p_uiNode_t);
18549  }
18550 
18551  arg2 = (char *)lua_tostring(L, 2);
18552  arg3 = (char *)lua_tostring(L, 3);
18553  result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
18554  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
18555  return SWIG_arg;
18556 
18557  if(0) SWIG_fail;
18558 
18559 fail:
18560  lua_error(L);
18561  return SWIG_arg;
18562 }
18563 
18564 
18565 static int _wrap_create_selectbox(lua_State* L) {
18566  int SWIG_arg = 0;
18567  uiNode_t *arg1 = (uiNode_t *) 0 ;
18568  char *arg2 = (char *) 0 ;
18569  char *arg3 = (char *) 0 ;
18570  uiSelectBoxNode_t *result = 0 ;
18571 
18572  SWIG_check_num_args("UI_CreateSelectBox",3,3)
18573  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
18574  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
18575  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
18576 
18577  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18578  SWIG_fail_ptr("create_selectbox",1,SWIGTYPE_p_uiNode_t);
18579  }
18580 
18581  arg2 = (char *)lua_tostring(L, 2);
18582  arg3 = (char *)lua_tostring(L, 3);
18583  result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
18584  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
18585  return SWIG_arg;
18586 
18587  if(0) SWIG_fail;
18588 
18589 fail:
18590  lua_error(L);
18591  return SWIG_arg;
18592 }
18593 
18594 
18595 static int _wrap_create_sequence(lua_State* L) {
18596  int SWIG_arg = 0;
18597  uiNode_t *arg1 = (uiNode_t *) 0 ;
18598  char *arg2 = (char *) 0 ;
18599  char *arg3 = (char *) 0 ;
18600  uiSequenceNode_t *result = 0 ;
18601 
18602  SWIG_check_num_args("UI_CreateSequence",3,3)
18603  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
18604  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
18605  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
18606 
18607  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18608  SWIG_fail_ptr("create_sequence",1,SWIGTYPE_p_uiNode_t);
18609  }
18610 
18611  arg2 = (char *)lua_tostring(L, 2);
18612  arg3 = (char *)lua_tostring(L, 3);
18613  result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
18614  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
18615  return SWIG_arg;
18616 
18617  if(0) SWIG_fail;
18618 
18619 fail:
18620  lua_error(L);
18621  return SWIG_arg;
18622 }
18623 
18624 
18625 static int _wrap_create_spinner(lua_State* L) {
18626  int SWIG_arg = 0;
18627  uiNode_t *arg1 = (uiNode_t *) 0 ;
18628  char *arg2 = (char *) 0 ;
18629  char *arg3 = (char *) 0 ;
18630  uiSpinnerNode_t *result = 0 ;
18631 
18632  SWIG_check_num_args("UI_CreateSpinner",3,3)
18633  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
18634  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
18635  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
18636 
18637  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18638  SWIG_fail_ptr("create_spinner",1,SWIGTYPE_p_uiNode_t);
18639  }
18640 
18641  arg2 = (char *)lua_tostring(L, 2);
18642  arg3 = (char *)lua_tostring(L, 3);
18643  result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
18644  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
18645  return SWIG_arg;
18646 
18647  if(0) SWIG_fail;
18648 
18649 fail:
18650  lua_error(L);
18651  return SWIG_arg;
18652 }
18653 
18654 
18655 static int _wrap_create_string(lua_State* L) {
18656  int SWIG_arg = 0;
18657  uiNode_t *arg1 = (uiNode_t *) 0 ;
18658  char *arg2 = (char *) 0 ;
18659  char *arg3 = (char *) 0 ;
18660  uiStringNode_t *result = 0 ;
18661 
18662  SWIG_check_num_args("UI_CreateString",3,3)
18663  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
18664  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
18665  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
18666 
18667  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18668  SWIG_fail_ptr("create_string",1,SWIGTYPE_p_uiNode_t);
18669  }
18670 
18671  arg2 = (char *)lua_tostring(L, 2);
18672  arg3 = (char *)lua_tostring(L, 3);
18673  result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
18674  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
18675  return SWIG_arg;
18676 
18677  if(0) SWIG_fail;
18678 
18679 fail:
18680  lua_error(L);
18681  return SWIG_arg;
18682 }
18683 
18684 
18685 static int _wrap_create_tab(lua_State* L) {
18686  int SWIG_arg = 0;
18687  uiNode_t *arg1 = (uiNode_t *) 0 ;
18688  char *arg2 = (char *) 0 ;
18689  char *arg3 = (char *) 0 ;
18690  uiTabNode_t *result = 0 ;
18691 
18692  SWIG_check_num_args("UI_CreateTab",3,3)
18693  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
18694  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
18695  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
18696 
18697  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18698  SWIG_fail_ptr("create_tab",1,SWIGTYPE_p_uiNode_t);
18699  }
18700 
18701  arg2 = (char *)lua_tostring(L, 2);
18702  arg3 = (char *)lua_tostring(L, 3);
18703  result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
18704  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
18705  return SWIG_arg;
18706 
18707  if(0) SWIG_fail;
18708 
18709 fail:
18710  lua_error(L);
18711  return SWIG_arg;
18712 }
18713 
18714 
18715 static int _wrap_create_tbar(lua_State* L) {
18716  int SWIG_arg = 0;
18717  uiNode_t *arg1 = (uiNode_t *) 0 ;
18718  char *arg2 = (char *) 0 ;
18719  char *arg3 = (char *) 0 ;
18720  uiTBarNode_t *result = 0 ;
18721 
18722  SWIG_check_num_args("UI_CreateTBar",3,3)
18723  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
18724  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
18725  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
18726 
18727  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18728  SWIG_fail_ptr("create_tbar",1,SWIGTYPE_p_uiNode_t);
18729  }
18730 
18731  arg2 = (char *)lua_tostring(L, 2);
18732  arg3 = (char *)lua_tostring(L, 3);
18733  result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
18734  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
18735  return SWIG_arg;
18736 
18737  if(0) SWIG_fail;
18738 
18739 fail:
18740  lua_error(L);
18741  return SWIG_arg;
18742 }
18743 
18744 
18745 static int _wrap_create_text(lua_State* L) {
18746  int SWIG_arg = 0;
18747  uiNode_t *arg1 = (uiNode_t *) 0 ;
18748  char *arg2 = (char *) 0 ;
18749  char *arg3 = (char *) 0 ;
18750  uiTextNode_t *result = 0 ;
18751 
18752  SWIG_check_num_args("UI_CreateText",3,3)
18753  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
18754  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
18755  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
18756 
18757  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18758  SWIG_fail_ptr("create_text",1,SWIGTYPE_p_uiNode_t);
18759  }
18760 
18761  arg2 = (char *)lua_tostring(L, 2);
18762  arg3 = (char *)lua_tostring(L, 3);
18763  result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
18764  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
18765  return SWIG_arg;
18766 
18767  if(0) SWIG_fail;
18768 
18769 fail:
18770  lua_error(L);
18771  return SWIG_arg;
18772 }
18773 
18774 
18775 static int _wrap_create_text2(lua_State* L) {
18776  int SWIG_arg = 0;
18777  uiNode_t *arg1 = (uiNode_t *) 0 ;
18778  char *arg2 = (char *) 0 ;
18779  char *arg3 = (char *) 0 ;
18780  uiText2Node_t *result = 0 ;
18781 
18782  SWIG_check_num_args("UI_CreateText2",3,3)
18783  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
18784  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
18785  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
18786 
18787  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18788  SWIG_fail_ptr("create_text2",1,SWIGTYPE_p_uiNode_t);
18789  }
18790 
18791  arg2 = (char *)lua_tostring(L, 2);
18792  arg3 = (char *)lua_tostring(L, 3);
18793  result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
18794  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
18795  return SWIG_arg;
18796 
18797  if(0) SWIG_fail;
18798 
18799 fail:
18800  lua_error(L);
18801  return SWIG_arg;
18802 }
18803 
18804 
18805 static int _wrap_create_textentry(lua_State* L) {
18806  int SWIG_arg = 0;
18807  uiNode_t *arg1 = (uiNode_t *) 0 ;
18808  char *arg2 = (char *) 0 ;
18809  char *arg3 = (char *) 0 ;
18810  uiTextEntryNode_t *result = 0 ;
18811 
18812  SWIG_check_num_args("UI_CreateTextEntry",3,3)
18813  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
18814  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
18815  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
18816 
18817  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18818  SWIG_fail_ptr("create_textentry",1,SWIGTYPE_p_uiNode_t);
18819  }
18820 
18821  arg2 = (char *)lua_tostring(L, 2);
18822  arg3 = (char *)lua_tostring(L, 3);
18823  result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
18824  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
18825  return SWIG_arg;
18826 
18827  if(0) SWIG_fail;
18828 
18829 fail:
18830  lua_error(L);
18831  return SWIG_arg;
18832 }
18833 
18834 
18835 static int _wrap_create_textlist(lua_State* L) {
18836  int SWIG_arg = 0;
18837  uiNode_t *arg1 = (uiNode_t *) 0 ;
18838  char *arg2 = (char *) 0 ;
18839  char *arg3 = (char *) 0 ;
18840  uiTextListNode_t *result = 0 ;
18841 
18842  SWIG_check_num_args("UI_CreateTextList",3,3)
18843  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
18844  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
18845  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
18846 
18847  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18848  SWIG_fail_ptr("create_textlist",1,SWIGTYPE_p_uiNode_t);
18849  }
18850 
18851  arg2 = (char *)lua_tostring(L, 2);
18852  arg3 = (char *)lua_tostring(L, 3);
18853  result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
18854  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
18855  return SWIG_arg;
18856 
18857  if(0) SWIG_fail;
18858 
18859 fail:
18860  lua_error(L);
18861  return SWIG_arg;
18862 }
18863 
18864 
18865 static int _wrap_create_texture(lua_State* L) {
18866  int SWIG_arg = 0;
18867  uiNode_t *arg1 = (uiNode_t *) 0 ;
18868  char *arg2 = (char *) 0 ;
18869  char *arg3 = (char *) 0 ;
18870  uiTextureNode_t *result = 0 ;
18871 
18872  SWIG_check_num_args("UI_CreateTexture",3,3)
18873  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
18874  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
18875  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
18876 
18877  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18878  SWIG_fail_ptr("create_texture",1,SWIGTYPE_p_uiNode_t);
18879  }
18880 
18881  arg2 = (char *)lua_tostring(L, 2);
18882  arg3 = (char *)lua_tostring(L, 3);
18883  result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
18884  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
18885  return SWIG_arg;
18886 
18887  if(0) SWIG_fail;
18888 
18889 fail:
18890  lua_error(L);
18891  return SWIG_arg;
18892 }
18893 
18894 
18895 static int _wrap_create_timer(lua_State* L) {
18896  int SWIG_arg = 0;
18897  uiNode_t *arg1 = (uiNode_t *) 0 ;
18898  char *arg2 = (char *) 0 ;
18899  char *arg3 = (char *) 0 ;
18900  uiTimerNode_t *result = 0 ;
18901 
18902  SWIG_check_num_args("UI_CreateTimer",3,3)
18903  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
18904  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
18905  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
18906 
18907  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18908  SWIG_fail_ptr("create_timer",1,SWIGTYPE_p_uiNode_t);
18909  }
18910 
18911  arg2 = (char *)lua_tostring(L, 2);
18912  arg3 = (char *)lua_tostring(L, 3);
18913  result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
18914  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
18915  return SWIG_arg;
18916 
18917  if(0) SWIG_fail;
18918 
18919 fail:
18920  lua_error(L);
18921  return SWIG_arg;
18922 }
18923 
18924 
18925 static int _wrap_create_video(lua_State* L) {
18926  int SWIG_arg = 0;
18927  uiNode_t *arg1 = (uiNode_t *) 0 ;
18928  char *arg2 = (char *) 0 ;
18929  char *arg3 = (char *) 0 ;
18930  uiVideoNode_t *result = 0 ;
18931 
18932  SWIG_check_num_args("UI_CreateVideo",3,3)
18933  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
18934  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
18935  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
18936 
18937  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18938  SWIG_fail_ptr("create_video",1,SWIGTYPE_p_uiNode_t);
18939  }
18940 
18941  arg2 = (char *)lua_tostring(L, 2);
18942  arg3 = (char *)lua_tostring(L, 3);
18943  result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
18944  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
18945  return SWIG_arg;
18946 
18947  if(0) SWIG_fail;
18948 
18949 fail:
18950  lua_error(L);
18951  return SWIG_arg;
18952 }
18953 
18954 
18955 static int _wrap_create_vscrollbar(lua_State* L) {
18956  int SWIG_arg = 0;
18957  uiNode_t *arg1 = (uiNode_t *) 0 ;
18958  char *arg2 = (char *) 0 ;
18959  char *arg3 = (char *) 0 ;
18960  uiVScrollBarNode_t *result = 0 ;
18961 
18962  SWIG_check_num_args("UI_CreateVScrollbar",3,3)
18963  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
18964  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
18965  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
18966 
18967  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18968  SWIG_fail_ptr("create_vscrollbar",1,SWIGTYPE_p_uiNode_t);
18969  }
18970 
18971  arg2 = (char *)lua_tostring(L, 2);
18972  arg3 = (char *)lua_tostring(L, 3);
18973  result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
18974  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
18975  return SWIG_arg;
18976 
18977  if(0) SWIG_fail;
18978 
18979 fail:
18980  lua_error(L);
18981  return SWIG_arg;
18982 }
18983 
18984 
18985 static int _wrap_create_widget(lua_State* L) {
18986  int SWIG_arg = 0;
18987  uiNode_t *arg1 = (uiNode_t *) 0 ;
18988  char *arg2 = (char *) 0 ;
18989  char *arg3 = (char *) 0 ;
18990  uiWidgetNode_t *result = 0 ;
18991 
18992  SWIG_check_num_args("UI_CreateWidget",3,3)
18993  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
18994  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
18995  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
18996 
18997  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18998  SWIG_fail_ptr("create_widget",1,SWIGTYPE_p_uiNode_t);
18999  }
19000 
19001  arg2 = (char *)lua_tostring(L, 2);
19002  arg3 = (char *)lua_tostring(L, 3);
19003  result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
19004  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
19005  return SWIG_arg;
19006 
19007  if(0) SWIG_fail;
19008 
19009 fail:
19010  lua_error(L);
19011  return SWIG_arg;
19012 }
19013 
19014 
19015 static int _wrap_create_window(lua_State* L) {
19016  int SWIG_arg = 0;
19017  char *arg1 = (char *) 0 ;
19018  char *arg2 = (char *) 0 ;
19019  uiWindowNode_t *result = 0 ;
19020 
19021  SWIG_check_num_args("UI_CreateWindow",2,2)
19022  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
19023  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
19024  arg1 = (char *)lua_tostring(L, 1);
19025  arg2 = (char *)lua_tostring(L, 2);
19026  result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
19027  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
19028  return SWIG_arg;
19029 
19030  if(0) SWIG_fail;
19031 
19032 fail:
19033  lua_error(L);
19034  return SWIG_arg;
19035 }
19036 
19037 
19038 static int _wrap_create_zone(lua_State* L) {
19039  int SWIG_arg = 0;
19040  uiNode_t *arg1 = (uiNode_t *) 0 ;
19041  char *arg2 = (char *) 0 ;
19042  char *arg3 = (char *) 0 ;
19043  uiZoneNode_t *result = 0 ;
19044 
19045  SWIG_check_num_args("UI_CreateZone",3,3)
19046  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
19047  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
19048  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
19049 
19050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19051  SWIG_fail_ptr("create_zone",1,SWIGTYPE_p_uiNode_t);
19052  }
19053 
19054  arg2 = (char *)lua_tostring(L, 2);
19055  arg3 = (char *)lua_tostring(L, 3);
19056  result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
19057  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
19058  return SWIG_arg;
19059 
19060  if(0) SWIG_fail;
19061 
19062 fail:
19063  lua_error(L);
19064  return SWIG_arg;
19065 }
19066 
19067 
19068 static int _wrap_create_component(lua_State* L) {
19069  int SWIG_arg = 0;
19070  char *arg1 = (char *) 0 ;
19071  char *arg2 = (char *) 0 ;
19072  char *arg3 = (char *) 0 ;
19073  uiNode_t *result = 0 ;
19074 
19075  SWIG_check_num_args("UI_CreateComponent",3,3)
19076  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateComponent",1,"char const *");
19077  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateComponent",2,"char const *");
19078  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateComponent",3,"char const *");
19079  arg1 = (char *)lua_tostring(L, 1);
19080  arg2 = (char *)lua_tostring(L, 2);
19081  arg3 = (char *)lua_tostring(L, 3);
19082  result = (uiNode_t *)UI_CreateComponent((char const *)arg1,(char const *)arg2,(char const *)arg3);
19083  {
19084  if (result) {
19086  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19087  } else {
19088  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19089  }
19090  }
19091  return SWIG_arg;
19092 
19093  if(0) SWIG_fail;
19094 
19095 fail:
19096  lua_error(L);
19097  return SWIG_arg;
19098 }
19099 
19100 
19101 static int _wrap_pop_window(lua_State* L) {
19102  int SWIG_arg = 0;
19103  bool arg1 ;
19104 
19105  SWIG_check_num_args("UI_PopWindow",1,1)
19106  if(!lua_isboolean(L,1)) SWIG_fail_arg("UI_PopWindow",1,"bool");
19107  arg1 = (lua_toboolean(L, 1)!=0);
19108  UI_PopWindow(arg1);
19109 
19110  return SWIG_arg;
19111 
19112  if(0) SWIG_fail;
19113 
19114 fail:
19115  lua_error(L);
19116  return SWIG_arg;
19117 }
19118 
19119 
19120 static int _wrap_push_window(lua_State* L) {
19121  int SWIG_arg = 0;
19122  char *arg1 = (char *) 0 ;
19123  char *arg2 = (char *) 0 ;
19124  linkedList_t *arg3 = (linkedList_t *) 0 ;
19125  uiNode_t *result = 0 ;
19126 
19127  SWIG_check_num_args("UI_PushWindow",3,3)
19128  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_PushWindow",1,"char const *");
19129  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_PushWindow",2,"char const *");
19130  if(!Com_LuaIsNilOrTable(L,3)) SWIG_fail_arg("UI_PushWindow",3,"linkedList_t *");
19131  arg1 = (char *)lua_tostring(L, 1);
19132  arg2 = (char *)lua_tostring(L, 2);
19133  {
19134  arg3 = Com_LuaTableToStringList(L, 3);
19135  }
19136  result = (uiNode_t *)UI_PushWindow((char const *)arg1,(char const *)arg2,arg3);
19137  {
19138  if (result) {
19140  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19141  } else {
19142  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19143  }
19144  }
19145  {
19146  LIST_Delete(&arg3);
19147  }
19148  return SWIG_arg;
19149 
19150  if(0) SWIG_fail;
19151 
19152 fail:
19153  {
19154  LIST_Delete(&arg3);
19155  }
19156  lua_error(L);
19157  return SWIG_arg;
19158 }
19159 
19160 
19161 static int _wrap_get_window(lua_State* L) {
19162  int SWIG_arg = 0;
19163  char *arg1 = (char *) 0 ;
19164  uiNode_t *result = 0 ;
19165 
19166  SWIG_check_num_args("UI_GetWindow",1,1)
19167  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_GetWindow",1,"char const *");
19168  arg1 = (char *)lua_tostring(L, 1);
19169  result = (uiNode_t *)UI_GetWindow((char const *)arg1);
19170  {
19171  if (result) {
19173  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19174  } else {
19175  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19176  }
19177  }
19178  return SWIG_arg;
19179 
19180  if(0) SWIG_fail;
19181 
19182 fail:
19183  lua_error(L);
19184  return SWIG_arg;
19185 }
19186 
19187 
19188 static int _wrap_delete_node(lua_State* L) {
19189  int SWIG_arg = 0;
19190  uiNode_t *arg1 = (uiNode_t *) 0 ;
19191 
19192  SWIG_check_num_args("UI_DeleteNode",1,1)
19193  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_DeleteNode",1,"uiNode_t *");
19194 
19195  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19196  SWIG_fail_ptr("delete_node",1,SWIGTYPE_p_uiNode_t);
19197  }
19198 
19199  UI_DeleteNode(arg1);
19200 
19201  return SWIG_arg;
19202 
19203  if(0) SWIG_fail;
19204 
19205 fail:
19206  lua_error(L);
19207  return SWIG_arg;
19208 }
19209 
19210 
19211 static int _wrap_cmd(lua_State* L) {
19212  int SWIG_arg = 0;
19213  char *arg1 = (char *) 0 ;
19214 
19215  SWIG_check_num_args("Cbuf_AddText",1,1)
19216  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cbuf_AddText",1,"char const *");
19217  arg1 = (char *)lua_tostring(L, 1);
19218  Cbuf_AddText((char const *)arg1);
19219 
19220  return SWIG_arg;
19221 
19222  if(0) SWIG_fail;
19223 
19224 fail:
19225  lua_error(L);
19226  return SWIG_arg;
19227 }
19228 
19229 
19230 static int _wrap_print(lua_State* L) {
19231  int SWIG_arg = 0;
19232  char *arg1 = (char *) 0 ;
19233 
19234  SWIG_check_num_args("Com_Printf",1,1)
19235  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Com_Printf",1,"char const *");
19236  arg1 = (char *)lua_tostring(L, 1);
19237  Com_Printf((char const *)arg1);
19238 
19239  return SWIG_arg;
19240 
19241  if(0) SWIG_fail;
19242 
19243 fail:
19244  lua_error(L);
19245  return SWIG_arg;
19246 }
19247 
19248 
19249 static int _wrap_dprint(lua_State* L) {
19250  int SWIG_arg = 0;
19251  int arg1 ;
19252  char *arg2 = (char *) 0 ;
19253 
19254  SWIG_check_num_args("Com_DPrintf",2,2)
19255  if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_DPrintf",1,"int");
19256  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_DPrintf",2,"char const *");
19257  arg1 = (int)lua_tonumber(L, 1);
19258  arg2 = (char *)lua_tostring(L, 2);
19259  Com_DPrintf(arg1,(char const *)arg2);
19260 
19261  return SWIG_arg;
19262 
19263  if(0) SWIG_fail;
19264 
19265 fail:
19266  lua_error(L);
19267  return SWIG_arg;
19268 }
19269 
19270 
19271 static int _wrap_error(lua_State* L) {
19272  int SWIG_arg = 0;
19273  int arg1 ;
19274  char *arg2 = (char *) 0 ;
19275 
19276  SWIG_check_num_args("Com_Error",2,2)
19277  if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_Error",1,"int");
19278  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_Error",2,"char const *");
19279  arg1 = (int)lua_tonumber(L, 1);
19280  arg2 = (char *)lua_tostring(L, 2);
19281  Com_Error(arg1,(char const *)arg2);
19282 
19283  return SWIG_arg;
19284 
19285  if(0) SWIG_fail;
19286 
19287 fail:
19288  lua_error(L);
19289  return SWIG_arg;
19290 }
19291 
19292 
19293 static int _wrap_nodetree(lua_State* L) {
19294  int SWIG_arg = 0;
19295  uiNode_t *arg1 = (uiNode_t *) 0 ;
19296 
19297  SWIG_check_num_args("UI_PrintNodeTree",1,1)
19298  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_PrintNodeTree",1,"uiNode_t *");
19299 
19300  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19301  SWIG_fail_ptr("nodetree",1,SWIGTYPE_p_uiNode_t);
19302  }
19303 
19304  UI_PrintNodeTree(arg1);
19305 
19306  return SWIG_arg;
19307 
19308  if(0) SWIG_fail;
19309 
19310 fail:
19311  lua_error(L);
19312  return SWIG_arg;
19313 }
19314 
19315 
19316 static int _wrap_nodepath(lua_State* L) {
19317  int SWIG_arg = 0;
19318  uiNode_t *arg1 = (uiNode_t *) 0 ;
19319  char *result = 0 ;
19320 
19321  SWIG_check_num_args("UI_GetPath",1,1)
19322  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_GetPath",1,"uiNode_t const *");
19323 
19324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19325  SWIG_fail_ptr("nodepath",1,SWIGTYPE_p_uiNode_t);
19326  }
19327 
19328  result = (char *)UI_GetPath((uiNode_t const *)arg1);
19329  lua_pushstring(L,(const char *)result); SWIG_arg++;
19330  return SWIG_arg;
19331 
19332  if(0) SWIG_fail;
19333 
19334 fail:
19335  lua_error(L);
19336  return SWIG_arg;
19337 }
19338 
19339 
19340 static int _wrap_register_onload(lua_State* L) {
19341  int SWIG_arg = 0;
19342  LUA_FUNCTION arg1 ;
19343 
19344  SWIG_check_num_args("UI_RegisterHandler_OnLoad",1,1)
19345  {
19346  arg1 = (LUA_FUNCTION)luaL_ref (L, LUA_REGISTRYINDEX);
19347  }
19349 
19350  return SWIG_arg;
19351 
19352  if(0) SWIG_fail;
19353 
19354 fail:
19355  lua_error(L);
19356  return SWIG_arg;
19357 }
19358 
19359 
19361  {0,0,0}
19362 };
19364  {SWIG_LUA_CONSTTAB_INT("TEXT_NULL", TEXT_NULL)},
19365  {SWIG_LUA_CONSTTAB_INT("TEXT_STANDARD", TEXT_STANDARD)},
19366  {SWIG_LUA_CONSTTAB_INT("TEXT_LIST", TEXT_LIST)},
19367  {SWIG_LUA_CONSTTAB_INT("TEXT_LIST2", TEXT_LIST2)},
19368  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA", TEXT_UFOPEDIA)},
19369  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_REQUIREMENT", TEXT_UFOPEDIA_REQUIREMENT)},
19370  {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDINGS", TEXT_BUILDINGS)},
19371  {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDING_INFO", TEXT_BUILDING_INFO)},
19372  {SWIG_LUA_CONSTTAB_INT("TEXT_RESEARCH", TEXT_RESEARCH)},
19373  {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP", TEXT_POPUP)},
19374  {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP_INFO", TEXT_POPUP_INFO)},
19375  {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_LIST", TEXT_AIRCRAFT_LIST)},
19376  {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_INFO", TEXT_AIRCRAFT_INFO)},
19377  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_LIST", TEXT_PRODUCTION_LIST)},
19378  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_AMOUNT", TEXT_PRODUCTION_AMOUNT)},
19379  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_INFO", TEXT_PRODUCTION_INFO)},
19380  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_RIGHT", TEXT_MOUSECURSOR_RIGHT)},
19381  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_QUEUED", TEXT_PRODUCTION_QUEUED)},
19382  {SWIG_LUA_CONSTTAB_INT("TEXT_BASE_LIST", TEXT_BASE_LIST)},
19383  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_PLAYERNAMES", TEXT_MOUSECURSOR_PLAYERNAMES)},
19384  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAILHEADER", TEXT_UFOPEDIA_MAILHEADER)},
19385  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAIL", TEXT_UFOPEDIA_MAIL)},
19386  {SWIG_LUA_CONSTTAB_INT("TEXT_CHAT_WINDOW", TEXT_CHAT_WINDOW)},
19387  {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_1", TEXT_AIREQUIP_1)},
19388  {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_2", TEXT_AIREQUIP_2)},
19389  {SWIG_LUA_CONSTTAB_INT("TEXT_BASEDEFENCE_LIST", TEXT_BASEDEFENCE_LIST)},
19390  {SWIG_LUA_CONSTTAB_INT("TEXT_TIPOFTHEDAY", TEXT_TIPOFTHEDAY)},
19391  {SWIG_LUA_CONSTTAB_INT("TEXT_GENERIC", TEXT_GENERIC)},
19392  {SWIG_LUA_CONSTTAB_INT("TEXT_XVI", TEXT_XVI)},
19393  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_TOP", TEXT_MOUSECURSOR_TOP)},
19394  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_BOTTOM", TEXT_MOUSECURSOR_BOTTOM)},
19395  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_LEFT", TEXT_MOUSECURSOR_LEFT)},
19396  {SWIG_LUA_CONSTTAB_INT("TEXT_MESSAGEOPTIONS", TEXT_MESSAGEOPTIONS)},
19397  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_NATIONS", TEXT_UFORECOVERY_NATIONS)},
19398  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_UFOYARDS", TEXT_UFORECOVERY_UFOYARDS)},
19399  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_CAPACITIES", TEXT_UFORECOVERY_CAPACITIES)},
19400  {SWIG_LUA_CONSTTAB_INT("TEXT_MATERIAL_STAGES", TEXT_MATERIAL_STAGES)},
19401  {SWIG_LUA_CONSTTAB_INT("TEXT_IRCCONTENT", TEXT_IRCCONTENT)},
19402  {SWIG_LUA_CONSTTAB_INT("TEXT_IRCUSERS", TEXT_IRCUSERS)},
19403  {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERLIST", TEXT_MULTIPLAYER_USERLIST)},
19404  {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERTEAM", TEXT_MULTIPLAYER_USERTEAM)},
19405  {SWIG_LUA_CONSTTAB_INT("TEXT_ITEMDESCRIPTION", TEXT_ITEMDESCRIPTION)},
19406  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING", TEXT_MISSIONBRIEFING)},
19407  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_TITLE", TEXT_MISSIONBRIEFING_TITLE)},
19408  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS", TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS)},
19409  {SWIG_LUA_CONSTTAB_INT("OPTION_LANGUAGES", OPTION_LANGUAGES)},
19410  {SWIG_LUA_CONSTTAB_INT("OPTION_JOYSTICKS", OPTION_JOYSTICKS)},
19411  {SWIG_LUA_CONSTTAB_INT("OPTION_VIDEO_RESOLUTIONS", OPTION_VIDEO_RESOLUTIONS)},
19412  {SWIG_LUA_CONSTTAB_INT("OPTION_SINGLEPLAYER_SKINS", OPTION_SINGLEPLAYER_SKINS)},
19413  {SWIG_LUA_CONSTTAB_INT("OPTION_MULTIPLAYER_SKINS", OPTION_MULTIPLAYER_SKINS)},
19414  {SWIG_LUA_CONSTTAB_INT("OPTION_UFOPEDIA", OPTION_UFOPEDIA)},
19415  {SWIG_LUA_CONSTTAB_INT("OPTION_UFOS", OPTION_UFOS)},
19416  {SWIG_LUA_CONSTTAB_INT("OPTION_DROPSHIPS", OPTION_DROPSHIPS)},
19417  {SWIG_LUA_CONSTTAB_INT("OPTION_BASELIST", OPTION_BASELIST)},
19418  {SWIG_LUA_CONSTTAB_INT("OPTION_TEAMDEFS", OPTION_TEAMDEFS)},
19419  {SWIG_LUA_CONSTTAB_INT("OPTION_PRODUCTION_REQUIREMENTS", OPTION_PRODUCTION_REQUIREMENTS)},
19420  {SWIG_LUA_CONSTTAB_INT("UI_MAX_DATAID", UI_MAX_DATAID)},
19421  {SWIG_LUA_CONSTTAB_INT("LONGLINES_WRAP", LONGLINES_WRAP)},
19422  {SWIG_LUA_CONSTTAB_INT("LONGLINES_CHOP", LONGLINES_CHOP)},
19423  {SWIG_LUA_CONSTTAB_INT("LONGLINES_PRETTYCHOP", LONGLINES_PRETTYCHOP)},
19424  {SWIG_LUA_CONSTTAB_INT("LONGLINES_LAST", LONGLINES_LAST)},
19425  {SWIG_LUA_CONSTTAB_INT("ALIGN_UL", ALIGN_UL)},
19426  {SWIG_LUA_CONSTTAB_INT("ALIGN_UC", ALIGN_UC)},
19427  {SWIG_LUA_CONSTTAB_INT("ALIGN_UR", ALIGN_UR)},
19428  {SWIG_LUA_CONSTTAB_INT("ALIGN_CL", ALIGN_CL)},
19429  {SWIG_LUA_CONSTTAB_INT("ALIGN_CC", ALIGN_CC)},
19430  {SWIG_LUA_CONSTTAB_INT("ALIGN_CR", ALIGN_CR)},
19431  {SWIG_LUA_CONSTTAB_INT("ALIGN_LL", ALIGN_LL)},
19432  {SWIG_LUA_CONSTTAB_INT("ALIGN_LC", ALIGN_LC)},
19433  {SWIG_LUA_CONSTTAB_INT("ALIGN_LR", ALIGN_LR)},
19434  {SWIG_LUA_CONSTTAB_INT("ALIGN_UL_RSL", ALIGN_UL_RSL)},
19435  {SWIG_LUA_CONSTTAB_INT("ALIGN_UC_RSL", ALIGN_UC_RSL)},
19436  {SWIG_LUA_CONSTTAB_INT("ALIGN_UR_RSL", ALIGN_UR_RSL)},
19437  {SWIG_LUA_CONSTTAB_INT("ALIGN_CL_RSL", ALIGN_CL_RSL)},
19438  {SWIG_LUA_CONSTTAB_INT("ALIGN_CC_RSL", ALIGN_CC_RSL)},
19439  {SWIG_LUA_CONSTTAB_INT("ALIGN_CR_RSL", ALIGN_CR_RSL)},
19440  {SWIG_LUA_CONSTTAB_INT("ALIGN_LL_RSL", ALIGN_LL_RSL)},
19441  {SWIG_LUA_CONSTTAB_INT("ALIGN_LC_RSL", ALIGN_LC_RSL)},
19442  {SWIG_LUA_CONSTTAB_INT("ALIGN_LR_RSL", ALIGN_LR_RSL)},
19443  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_NONE", LAYOUTALIGN_NONE)},
19444  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MASK", LAYOUTALIGN_H_MASK)},
19445  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_LEFT", LAYOUTALIGN_H_LEFT)},
19446  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MIDDLE", LAYOUTALIGN_H_MIDDLE)},
19447  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_RIGHT", LAYOUTALIGN_H_RIGHT)},
19448  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MASK", LAYOUTALIGN_V_MASK)},
19449  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_TOP", LAYOUTALIGN_V_TOP)},
19450  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MIDDLE", LAYOUTALIGN_V_MIDDLE)},
19451  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_BOTTOM", LAYOUTALIGN_V_BOTTOM)},
19452  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPLEFT", LAYOUTALIGN_TOPLEFT)},
19453  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOP", LAYOUTALIGN_TOP)},
19454  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPRIGHT", LAYOUTALIGN_TOPRIGHT)},
19455  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_LEFT", LAYOUTALIGN_LEFT)},
19456  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MIDDLE", LAYOUTALIGN_MIDDLE)},
19457  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_RIGHT", LAYOUTALIGN_RIGHT)},
19458  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMLEFT", LAYOUTALIGN_BOTTOMLEFT)},
19459  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOM", LAYOUTALIGN_BOTTOM)},
19460  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMRIGHT", LAYOUTALIGN_BOTTOMRIGHT)},
19461  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_SPECIAL", LAYOUTALIGN_SPECIAL)},
19462  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_FILL", LAYOUTALIGN_FILL)},
19463  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MAX", LAYOUTALIGN_MAX)},
19464  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_ENSURE_32BIT", LAYOUTALIGN_ENSURE_32BIT)},
19465  {SWIG_LUA_CONSTTAB_INT("LAYOUT_NONE", LAYOUT_NONE)},
19466  {SWIG_LUA_CONSTTAB_INT("LAYOUT_TOP_DOWN_FLOW", LAYOUT_TOP_DOWN_FLOW)},
19467  {SWIG_LUA_CONSTTAB_INT("LAYOUT_LEFT_RIGHT_FLOW", LAYOUT_LEFT_RIGHT_FLOW)},
19468  {SWIG_LUA_CONSTTAB_INT("LAYOUT_BORDER", LAYOUT_BORDER)},
19469  {SWIG_LUA_CONSTTAB_INT("LAYOUT_PACK", LAYOUT_PACK)},
19470  {SWIG_LUA_CONSTTAB_INT("LAYOUT_STAR", LAYOUT_STAR)},
19471  {SWIG_LUA_CONSTTAB_INT("LAYOUT_CLIENT", LAYOUT_CLIENT)},
19472  {SWIG_LUA_CONSTTAB_INT("LAYOUT_COLUMN", LAYOUT_COLUMN)},
19473  {SWIG_LUA_CONSTTAB_INT("LAYOUT_MAX", LAYOUT_MAX)},
19474  {SWIG_LUA_CONSTTAB_INT("LAYOUT_ENSURE_32BIT", LAYOUT_ENSURE_32BIT)},
19475  {SWIG_LUA_CONSTTAB_INT("SPINNER_NORMAL", SPINNER_NORMAL)},
19476  {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_INCREASE", SPINNER_ONLY_INCREASE)},
19477  {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_DECREASE", SPINNER_ONLY_DECREASE)},
19478  {SWIG_LUA_CONSTTAB_INT("FILTER_S_PRIMARY", FILTER_S_PRIMARY)},
19479  {SWIG_LUA_CONSTTAB_INT("FILTER_S_SECONDARY", FILTER_S_SECONDARY)},
19480  {SWIG_LUA_CONSTTAB_INT("FILTER_S_HEAVY", FILTER_S_HEAVY)},
19481  {SWIG_LUA_CONSTTAB_INT("FILTER_S_MISC", FILTER_S_MISC)},
19482  {SWIG_LUA_CONSTTAB_INT("FILTER_S_ARMOUR", FILTER_S_ARMOUR)},
19483  {SWIG_LUA_CONSTTAB_INT("FILTER_S_IMPLANT", FILTER_S_IMPLANT)},
19484  {SWIG_LUA_CONSTTAB_INT("MAX_SOLDIER_FILTERTYPES", MAX_SOLDIER_FILTERTYPES)},
19485  {SWIG_LUA_CONSTTAB_INT("FILTER_CRAFTITEM", FILTER_CRAFTITEM)},
19486  {SWIG_LUA_CONSTTAB_INT("FILTER_UGVITEM", FILTER_UGVITEM)},
19487  {SWIG_LUA_CONSTTAB_INT("FILTER_AIRCRAFT", FILTER_AIRCRAFT)},
19488  {SWIG_LUA_CONSTTAB_INT("FILTER_DUMMY", FILTER_DUMMY)},
19489  {SWIG_LUA_CONSTTAB_INT("FILTER_DISASSEMBLY", FILTER_DISASSEMBLY)},
19490  {SWIG_LUA_CONSTTAB_INT("MAX_FILTERTYPES", MAX_FILTERTYPES)},
19491  {SWIG_LUA_CONSTTAB_INT("FILTER_ENSURE_32BIT", FILTER_ENSURE_32BIT)},
19492  {0,0,0,0,0,0}
19493 };
19495  { "findvar", _wrap_findvar},
19496  { "getvar", _wrap_getvar},
19497  { "delvar", _wrap_delvar},
19498  { "create_control", _wrap_create_control},
19499  { "UI_CreateBar", _wrap_UI_CreateBar},
19500  { "UI_CreateBaseLayout", _wrap_UI_CreateBaseLayout},
19501  { "UI_CreateBaseInventory", _wrap_UI_CreateBaseInventory},
19502  { "UI_CreateButton", _wrap_UI_CreateButton},
19503  { "UI_CreateCheckBox", _wrap_UI_CreateCheckBox},
19504  { "UI_CreateConFunc", _wrap_UI_CreateConFunc},
19505  { "UI_CreateContainer", _wrap_UI_CreateContainer},
19506  { "UI_CreateData", _wrap_UI_CreateData},
19507  { "UI_CreateGeoscape", _wrap_UI_CreateGeoscape},
19508  { "UI_CreateImage", _wrap_UI_CreateImage},
19509  { "UI_CreateItem", _wrap_UI_CreateItem},
19510  { "UI_CreateLineChart", _wrap_UI_CreateLineChart},
19511  { "UI_CreateMessageList", _wrap_UI_CreateMessageList},
19512  { "UI_CreateModel", _wrap_UI_CreateModel},
19513  { "UI_CreateOption", _wrap_UI_CreateOption},
19514  { "UI_CreateOptionList", _wrap_UI_CreateOptionList},
19515  { "UI_CreateOptionTree", _wrap_UI_CreateOptionTree},
19516  { "UI_CreatePanel", _wrap_UI_CreatePanel},
19517  { "UI_CreateRadar", _wrap_UI_CreateRadar},
19518  { "UI_CreateRadioButton", _wrap_UI_CreateRadioButton},
19519  { "UI_CreateRows", _wrap_UI_CreateRows},
19520  { "UI_CreateSelectBox", _wrap_UI_CreateSelectBox},
19521  { "UI_CreateSequence", _wrap_UI_CreateSequence},
19522  { "UI_CreateSpinner", _wrap_UI_CreateSpinner},
19523  { "UI_CreateString", _wrap_UI_CreateString},
19524  { "UI_CreateTab", _wrap_UI_CreateTab},
19525  { "UI_CreateTBar", _wrap_UI_CreateTBar},
19526  { "UI_CreateText", _wrap_UI_CreateText},
19527  { "UI_CreateText2", _wrap_UI_CreateText2},
19528  { "UI_CreateTextEntry", _wrap_UI_CreateTextEntry},
19529  { "UI_CreateTextList", _wrap_UI_CreateTextList},
19530  { "UI_CreateTexture", _wrap_UI_CreateTexture},
19531  { "UI_CreateTimer", _wrap_UI_CreateTimer},
19532  { "UI_CreateVideo", _wrap_UI_CreateVideo},
19533  { "UI_CreateVScrollbar", _wrap_UI_CreateVScrollbar},
19534  { "UI_CreateWidget", _wrap_UI_CreateWidget},
19535  { "UI_CreateWindow", _wrap_UI_CreateWindow},
19536  { "UI_CreateZone", _wrap_UI_CreateZone},
19537  { "create_bar", _wrap_create_bar},
19538  { "create_button", _wrap_create_button},
19539  { "create_baselayout", _wrap_create_baselayout},
19540  { "create_baseinventory", _wrap_create_baseinventory},
19541  { "create_checkbox", _wrap_create_checkbox},
19542  { "create_confunc", _wrap_create_confunc},
19543  { "create_container", _wrap_create_container},
19544  { "create_data", _wrap_create_data},
19545  { "create_geoscape", _wrap_create_geoscape},
19546  { "create_image", _wrap_create_image},
19547  { "create_item", _wrap_create_item},
19548  { "create_linechart", _wrap_create_linechart},
19549  { "create_messagelist", _wrap_create_messagelist},
19550  { "create_model", _wrap_create_model},
19551  { "create_option", _wrap_create_option},
19552  { "create_optionlist", _wrap_create_optionlist},
19553  { "create_optiontree", _wrap_create_optiontree},
19554  { "create_panel", _wrap_create_panel},
19555  { "create_radar", _wrap_create_radar},
19556  { "create_radiobutton", _wrap_create_radiobutton},
19557  { "create_rows", _wrap_create_rows},
19558  { "create_selectbox", _wrap_create_selectbox},
19559  { "create_sequence", _wrap_create_sequence},
19560  { "create_spinner", _wrap_create_spinner},
19561  { "create_string", _wrap_create_string},
19562  { "create_tab", _wrap_create_tab},
19563  { "create_tbar", _wrap_create_tbar},
19564  { "create_text", _wrap_create_text},
19565  { "create_text2", _wrap_create_text2},
19566  { "create_textentry", _wrap_create_textentry},
19567  { "create_textlist", _wrap_create_textlist},
19568  { "create_texture", _wrap_create_texture},
19569  { "create_timer", _wrap_create_timer},
19570  { "create_video", _wrap_create_video},
19571  { "create_vscrollbar", _wrap_create_vscrollbar},
19572  { "create_widget", _wrap_create_widget},
19573  { "create_window", _wrap_create_window},
19574  { "create_zone", _wrap_create_zone},
19575  { "create_component", _wrap_create_component},
19576  { "pop_window", _wrap_pop_window},
19577  { "push_window", _wrap_push_window},
19578  { "get_window", _wrap_get_window},
19579  { "delete_node", _wrap_delete_node},
19580  { "cmd", _wrap_cmd},
19581  { "print", _wrap_print},
19582  { "dprint", _wrap_dprint},
19583  { "error", _wrap_error},
19584  { "nodetree", _wrap_nodetree},
19585  { "nodepath", _wrap_nodepath},
19586  { "register_onload", _wrap_register_onload},
19587  {0,0}
19588 };
19635  0
19636 };
19638  0
19639 };
19640 
19642  "ufo",
19648 };
19649 #ifdef __cplusplus
19650 }
19651 #endif
19652 
19653 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19654 
19655 static void *_p_uiBaseInventoryNode_tTo_p_uiContainerNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19656  return (void *)((uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19657 }
19658 static void *_p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19659  return (void *)((uiModelNode_t *) ((uiItemNode_t *) x));
19660 }
19662  return (void *)((uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19663 }
19664 static void *_p_uiSelectBoxNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19665  return (void *)((uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19666 }
19667 static void *_p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19668  return (void *)((uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19669 }
19671  return (void *)((uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19672 }
19673 static void *_p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19674  return (void *)((uiTextNode_t *) ((uiText2Node_t *) x));
19675 }
19676 static void *_p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19677  return (void *)((uiTextNode_t *) ((uiTextListNode_t *) x));
19678 }
19680  return (void *)((uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19681 }
19682 static void *_p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19683  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiText2Node_t *) x));
19684 }
19685 static void *_p_uiTextNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19686  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19687 }
19688 static void *_p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19689  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19690 }
19691 static void *_p_uiTabNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19692  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19693 }
19694 static void *_p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19695  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19696 }
19697 static void *_p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19698  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19699 }
19700 static void *_p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19701  return (void *)((uiNode_t *) ((uiRadioButtonNode_t *) x));
19702 }
19703 static void *_p_uiRadarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19704  return (void *)((uiNode_t *) ((uiRadarNode_t *) x));
19705 }
19706 static void *_p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19707  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19708 }
19709 static void *_p_uiOptionListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19710  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19711 }
19712 static void *_p_uiOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19713  return (void *)((uiNode_t *) ((uiOptionNode_t *) x));
19714 }
19715 static void *_p_uiModelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19716  return (void *)((uiNode_t *) ((uiModelNode_t *) x));
19717 }
19718 static void *_p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19719  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19720 }
19721 static void *_p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19722  return (void *)((uiNode_t *) ((uiLineChartNode_t *) x));
19723 }
19724 static void *_p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19725  return (void *)((uiNode_t *) ((uiAbstractOptionNode_t *) x));
19726 }
19727 static void *_p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19728  return (void *)((uiNode_t *) ((uiAbstractScrollbarNode_t *) x));
19729 }
19730 static void *_p_uiBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19731  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19732 }
19733 static void *_p_uiBaseLayoutNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19734  return (void *)((uiNode_t *) ((uiBaseLayoutNode_t *) x));
19735 }
19736 static void *_p_uiButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19737  return (void *)((uiNode_t *) ((uiButtonNode_t *) x));
19738 }
19739 static void *_p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19740  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19741 }
19742 static void *_p_uiContainerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19743  return (void *)((uiNode_t *) ((uiContainerNode_t *) x));
19744 }
19745 static void *_p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19746  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiTextListNode_t *) x));
19747 }
19748 static void *_p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19749  return (void *)((uiNode_t *) ((uiTimerNode_t *) x));
19750 }
19751 static void *_p_uiVScrollBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19752  return (void *)((uiNode_t *) (uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19753 }
19754 static void *_p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19755  return (void *)((uiNode_t *) (uiImageNode_t *) ((uiWidgetNode_t *) x));
19756 }
19757 static void *_p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19758  return (void *)((uiNode_t *) ((uiTextEntryNode_t *) x));
19759 }
19760 static void *_p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19761  return (void *)((uiNode_t *) ((uiStringNode_t *) x));
19762 }
19763 static void *_p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19764  return (void *)((uiNode_t *) ((uiSequenceNode_t *) x));
19765 }
19766 static void *_p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19767  return (void *)((uiNode_t *) ((uiRowsNode_t *) x));
19768 }
19769 static void *_p_uiOptionTreeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19770  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19771 }
19772 static void *_p_uiItemNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19773  return (void *)((uiNode_t *) (uiModelNode_t *) ((uiItemNode_t *) x));
19774 }
19775 static void *_p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19776  return (void *)((uiNode_t *) ((uiAbstractScrollableNode_t *) x));
19777 }
19778 static void *_p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19779  return (void *)((uiNode_t *) ((uiAbstractValueNode_t *) x));
19780 }
19781 static void *_p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19782  return (void *)((uiNode_t *) ((uiConFuncNode_t *) x));
19783 }
19784 static void *_p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19785  return (void *)((uiNode_t *) (uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19786 }
19787 static void *_p_uiDataNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19788  return (void *)((uiNode_t *) ((uiDataNode_t *) x));
19789 }
19790 static void *_p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19791  return (void *)((uiNode_t *) ((uiGeoscapeNode_t *) x));
19792 }
19793 static void *_p_uiImageNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19794  return (void *)((uiNode_t *) ((uiImageNode_t *) x));
19795 }
19796 static void *_p_uiTextureNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19797  return (void *)((uiNode_t *) ((uiTextureNode_t *) x));
19798 }
19799 static void *_p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19800  return (void *)((uiNode_t *) ((uiVideoNode_t *) x));
19801 }
19802 static void *_p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19803  return (void *)((uiNode_t *) ((uiWindowNode_t *) x));
19804 }
19805 static void *_p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19806  return (void *)((uiNode_t *) ((uiZoneNode_t *) x));
19807 }
19808 static void *_p_uiBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19809  return (void *)((uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19810 }
19811 static void *_p_uiCheckBoxNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19812  return (void *)((uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19813 }
19814 static void *_p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19815  return (void *)((uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19816 }
19817 static void *_p_uiTBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19818  return (void *)((uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19819 }
19821  return (void *)((uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19822 }
19823 static void *_p_uiPanelNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19824  return (void *)((uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19825 }
19826 static void *_p_uiTextNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19827  return (void *)((uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19828 }
19829 static void *_p_uiText2Node_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19830  return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiText2Node_t *) x));
19831 }
19833  return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiTextListNode_t *) x));
19834 }
19835 static void *_p_uiWidgetNode_tTo_p_uiImageNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19836  return (void *)((uiImageNode_t *) ((uiWidgetNode_t *) x));
19837 }
19838 static swig_type_info _swigt__p_LUA_EVENT = {"_p_LUA_EVENT", "LUA_EVENT *", 0, 0, (void*)0, 0};
19839 static swig_type_info _swigt__p_LUA_FUNCTION = {"_p_LUA_FUNCTION", "LUA_FUNCTION *", 0, 0, (void*)0, 0};
19840 static swig_type_info _swigt__p_LUA_METHOD = {"_p_LUA_METHOD", "LUA_METHOD *", 0, 0, (void*)0, 0};
19841 static swig_type_info _swigt__p_align_t = {"_p_align_t", "enum align_t *|align_t *", 0, 0, (void*)0, 0};
19842 static swig_type_info _swigt__p_cvar_t = {"_p_cvar_t", "cvar_t *", 0, 0, (void*)&_wrap_class_cvar, 0};
19843 static swig_type_info _swigt__p_invDef_t = {"_p_invDef_t", "invDef_t *", 0, 0, (void*)&_wrap_class_invDef, 0};
19844 static swig_type_info _swigt__p_itemFilterTypes_t = {"_p_itemFilterTypes_t", "enum itemFilterTypes_t *|itemFilterTypes_t *", 0, 0, (void*)0, 0};
19845 static swig_type_info _swigt__p_layoutAlign_t = {"_p_layoutAlign_t", "enum layoutAlign_t *|layoutAlign_t *", 0, 0, (void*)0, 0};
19846 static swig_type_info _swigt__p_linkedList_t = {"_p_linkedList_t", "linkedList_t *", 0, 0, (void*)0, 0};
19847 static swig_type_info _swigt__p_longlines_t = {"_p_longlines_t", "enum longlines_t *|longlines_t *", 0, 0, (void*)0, 0};
19848 static swig_type_info _swigt__p_panelLayout_t = {"_p_panelLayout_t", "enum panelLayout_t *|panelLayout_t *", 0, 0, (void*)0, 0};
19849 static swig_type_info _swigt__p_uiAbstractOptionNode_t = {"_p_uiAbstractOptionNode_t", "uiAbstractOptionNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractOptionNode, 0};
19850 static swig_type_info _swigt__p_uiAbstractScrollableNode_t = {"_p_uiAbstractScrollableNode_t", "uiAbstractScrollableNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollableNode, 0};
19851 static swig_type_info _swigt__p_uiAbstractScrollbarNode_t = {"_p_uiAbstractScrollbarNode_t", "uiAbstractScrollbarNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollbarNode, 0};
19852 static swig_type_info _swigt__p_uiAbstractValueNode_t = {"_p_uiAbstractValueNode_t", "uiAbstractValueNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractValueNode, 0};
19853 static swig_type_info _swigt__p_uiBarNode_t = {"_p_uiBarNode_t", "uiBarNode_t *", 0, 0, (void*)&_wrap_class_uiBar, 0};
19854 static swig_type_info _swigt__p_uiBaseInventoryNode_t = {"_p_uiBaseInventoryNode_t", "uiBaseInventoryNode_t *", 0, 0, (void*)&_wrap_class_uiBaseInventory, 0};
19855 static swig_type_info _swigt__p_uiBaseLayoutNode_t = {"_p_uiBaseLayoutNode_t", "uiBaseLayoutNode_t *", 0, 0, (void*)&_wrap_class_uiBaseLayout, 0};
19856 static swig_type_info _swigt__p_uiButtonNode_t = {"_p_uiButtonNode_t", "uiButtonNode_t *", 0, 0, (void*)&_wrap_class_uiButton, 0};
19857 static swig_type_info _swigt__p_uiCheckBoxNode_t = {"_p_uiCheckBoxNode_t", "uiCheckBoxNode_t *", 0, 0, (void*)&_wrap_class_uiCheckBox, 0};
19858 static swig_type_info _swigt__p_uiConFuncNode_t = {"_p_uiConFuncNode_t", "uiConFuncNode_t *", 0, 0, (void*)&_wrap_class_uiConFunc, 0};
19859 static swig_type_info _swigt__p_uiContainerNode_t = {"_p_uiContainerNode_t", "uiContainerNode_t *", 0, 0, (void*)&_wrap_class_uiContainer, 0};
19860 static swig_type_info _swigt__p_uiDataNode_t = {"_p_uiDataNode_t", "uiDataNode_t *", 0, 0, (void*)&_wrap_class_uiData, 0};
19861 static swig_type_info _swigt__p_uiGeoscapeNode_t = {"_p_uiGeoscapeNode_t", "uiGeoscapeNode_t *", 0, 0, (void*)&_wrap_class_uiGeoscape, 0};
19862 static swig_type_info _swigt__p_uiImageNode_t = {"_p_uiImageNode_t", "uiImageNode_t *", 0, 0, (void*)&_wrap_class_uiImage, 0};
19863 static swig_type_info _swigt__p_uiItemNode_t = {"_p_uiItemNode_t", "uiItemNode_t *", 0, 0, (void*)&_wrap_class_uiItem, 0};
19864 static swig_type_info _swigt__p_uiLineChartNode_t = {"_p_uiLineChartNode_t", "uiLineChartNode_t *", 0, 0, (void*)&_wrap_class_uiLineChart, 0};
19865 static swig_type_info _swigt__p_uiMessageListNode_t = {"_p_uiMessageListNode_t", "uiMessageListNode_t *", 0, 0, (void*)&_wrap_class_uiMessageList, 0};
19866 static swig_type_info _swigt__p_uiModelNode_t = {"_p_uiModelNode_t", "uiModelNode_t *", 0, 0, (void*)&_wrap_class_uiModel, 0};
19867 static swig_type_info _swigt__p_uiNode_t = {"_p_uiNode_t", "uiNode_t *", 0, 0, (void*)&_wrap_class_uiNode, 0};
19868 static swig_type_info _swigt__p_uiOptionListNode_t = {"_p_uiOptionListNode_t", "uiOptionListNode_t *", 0, 0, (void*)&_wrap_class_uiOptionList, 0};
19869 static swig_type_info _swigt__p_uiOptionNode_t = {"_p_uiOptionNode_t", "uiOptionNode_t *", 0, 0, (void*)&_wrap_class_uiOption, 0};
19870 static swig_type_info _swigt__p_uiOptionTreeNode_t = {"_p_uiOptionTreeNode_t", "uiOptionTreeNode_t *", 0, 0, (void*)&_wrap_class_uiOptionTree, 0};
19871 static swig_type_info _swigt__p_uiPanelNode_t = {"_p_uiPanelNode_t", "uiPanelNode_t *", 0, 0, (void*)&_wrap_class_uiPanel, 0};
19872 static swig_type_info _swigt__p_uiRadarNode_t = {"_p_uiRadarNode_t", "uiRadarNode_t *", 0, 0, (void*)&_wrap_class_uiRadar, 0};
19873 static swig_type_info _swigt__p_uiRadioButtonNode_t = {"_p_uiRadioButtonNode_t", "uiRadioButtonNode_t *", 0, 0, (void*)&_wrap_class_uiRadioButton, 0};
19874 static swig_type_info _swigt__p_uiRowsNode_t = {"_p_uiRowsNode_t", "uiRowsNode_t *", 0, 0, (void*)&_wrap_class_uiRows, 0};
19875 static swig_type_info _swigt__p_uiSelectBoxNode_t = {"_p_uiSelectBoxNode_t", "uiSelectBoxNode_t *", 0, 0, (void*)&_wrap_class_uiSelectBox, 0};
19876 static swig_type_info _swigt__p_uiSequenceNode_t = {"_p_uiSequenceNode_t", "uiSequenceNode_t *", 0, 0, (void*)&_wrap_class_uiSequence, 0};
19877 static swig_type_info _swigt__p_uiSpinnerNode_t = {"_p_uiSpinnerNode_t", "uiSpinnerNode_t *", 0, 0, (void*)&_wrap_class_uiSpinner, 0};
19878 static swig_type_info _swigt__p_uiStringNode_t = {"_p_uiStringNode_t", "uiStringNode_t *", 0, 0, (void*)&_wrap_class_uiString, 0};
19879 static swig_type_info _swigt__p_uiTBarNode_t = {"_p_uiTBarNode_t", "uiTBarNode_t *", 0, 0, (void*)&_wrap_class_uiTBar, 0};
19880 static swig_type_info _swigt__p_uiTabNode_t = {"_p_uiTabNode_t", "uiTabNode_t *", 0, 0, (void*)&_wrap_class_uiTab, 0};
19881 static swig_type_info _swigt__p_uiText2Node_t = {"_p_uiText2Node_t", "uiText2Node_t *", 0, 0, (void*)&_wrap_class_uiText2, 0};
19882 static swig_type_info _swigt__p_uiTextEntryNode_t = {"_p_uiTextEntryNode_t", "uiTextEntryNode_t *", 0, 0, (void*)&_wrap_class_uiTextEntry, 0};
19883 static swig_type_info _swigt__p_uiTextListNode_t = {"_p_uiTextListNode_t", "uiTextListNode_t *", 0, 0, (void*)&_wrap_class_uiTextList, 0};
19884 static swig_type_info _swigt__p_uiTextNode_t = {"_p_uiTextNode_t", "uiTextNode_t *", 0, 0, (void*)&_wrap_class_uiText, 0};
19885 static swig_type_info _swigt__p_uiTextureNode_t = {"_p_uiTextureNode_t", "uiTextureNode_t *", 0, 0, (void*)&_wrap_class_uiTexture, 0};
19886 static swig_type_info _swigt__p_uiTimerNode_t = {"_p_uiTimerNode_t", "uiTimerNode_t *", 0, 0, (void*)&_wrap_class_uiTimer, 0};
19887 static swig_type_info _swigt__p_uiVScrollBarNode_t = {"_p_uiVScrollBarNode_t", "uiVScrollBarNode_t *", 0, 0, (void*)&_wrap_class_uiVScrollbar, 0};
19888 static swig_type_info _swigt__p_uiVideoNode_t = {"_p_uiVideoNode_t", "uiVideoNode_t *", 0, 0, (void*)&_wrap_class_uiVideo, 0};
19889 static swig_type_info _swigt__p_uiWidgetNode_t = {"_p_uiWidgetNode_t", "uiWidgetNode_t *", 0, 0, (void*)&_wrap_class_uiWidget, 0};
19890 static swig_type_info _swigt__p_uiWindowNode_t = {"_p_uiWindowNode_t", "uiWindowNode_t *", 0, 0, (void*)&_wrap_class_uiWindow, 0};
19891 static swig_type_info _swigt__p_uiZoneNode_t = {"_p_uiZoneNode_t", "uiZoneNode_t *", 0, 0, (void*)&_wrap_class_uiZone, 0};
19892 static swig_type_info _swigt__p_vec2_struct_t = {"_p_vec2_struct_t", "vec2_struct_t *", 0, 0, (void*)0, 0};
19893 static swig_type_info _swigt__p_vec3_struct_t = {"_p_vec3_struct_t", "vec3_struct_t *", 0, 0, (void*)0, 0};
19894 
19952 };
19953 
19954 static swig_cast_info _swigc__p_LUA_EVENT[] = { {&_swigt__p_LUA_EVENT, 0, 0, 0},{0, 0, 0, 0}};
19955 static swig_cast_info _swigc__p_LUA_FUNCTION[] = { {&_swigt__p_LUA_FUNCTION, 0, 0, 0},{0, 0, 0, 0}};
19956 static swig_cast_info _swigc__p_LUA_METHOD[] = { {&_swigt__p_LUA_METHOD, 0, 0, 0},{0, 0, 0, 0}};
19957 static swig_cast_info _swigc__p_align_t[] = { {&_swigt__p_align_t, 0, 0, 0},{0, 0, 0, 0}};
19958 static swig_cast_info _swigc__p_cvar_t[] = { {&_swigt__p_cvar_t, 0, 0, 0},{0, 0, 0, 0}};
19959 static swig_cast_info _swigc__p_invDef_t[] = { {&_swigt__p_invDef_t, 0, 0, 0},{0, 0, 0, 0}};
19961 static swig_cast_info _swigc__p_layoutAlign_t[] = { {&_swigt__p_layoutAlign_t, 0, 0, 0},{0, 0, 0, 0}};
19962 static swig_cast_info _swigc__p_linkedList_t[] = { {&_swigt__p_linkedList_t, 0, 0, 0},{0, 0, 0, 0}};
19963 static swig_cast_info _swigc__p_longlines_t[] = { {&_swigt__p_longlines_t, 0, 0, 0},{0, 0, 0, 0}};
19964 static swig_cast_info _swigc__p_panelLayout_t[] = { {&_swigt__p_panelLayout_t, 0, 0, 0},{0, 0, 0, 0}};
19969 static swig_cast_info _swigc__p_uiBarNode_t[] = { {&_swigt__p_uiBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19976 static swig_cast_info _swigc__p_uiDataNode_t[] = { {&_swigt__p_uiDataNode_t, 0, 0, 0},{0, 0, 0, 0}};
19979 static swig_cast_info _swigc__p_uiItemNode_t[] = { {&_swigt__p_uiItemNode_t, 0, 0, 0},{0, 0, 0, 0}};
19983 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}};
19987 static swig_cast_info _swigc__p_uiPanelNode_t[] = { {&_swigt__p_uiPanelNode_t, 0, 0, 0},{0, 0, 0, 0}};
19988 static swig_cast_info _swigc__p_uiRadarNode_t[] = { {&_swigt__p_uiRadarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19990 static swig_cast_info _swigc__p_uiRowsNode_t[] = { {&_swigt__p_uiRowsNode_t, 0, 0, 0},{0, 0, 0, 0}};
19995 static swig_cast_info _swigc__p_uiTBarNode_t[] = { {&_swigt__p_uiTBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19996 static swig_cast_info _swigc__p_uiTabNode_t[] = { {&_swigt__p_uiTabNode_t, 0, 0, 0},{0, 0, 0, 0}};
19997 static swig_cast_info _swigc__p_uiText2Node_t[] = { {&_swigt__p_uiText2Node_t, 0, 0, 0},{0, 0, 0, 0}};
20002 static swig_cast_info _swigc__p_uiTimerNode_t[] = { {&_swigt__p_uiTimerNode_t, 0, 0, 0},{0, 0, 0, 0}};
20004 static swig_cast_info _swigc__p_uiVideoNode_t[] = { {&_swigt__p_uiVideoNode_t, 0, 0, 0},{0, 0, 0, 0}};
20007 static swig_cast_info _swigc__p_uiZoneNode_t[] = { {&_swigt__p_uiZoneNode_t, 0, 0, 0},{0, 0, 0, 0}};
20008 static swig_cast_info _swigc__p_vec2_struct_t[] = { {&_swigt__p_vec2_struct_t, 0, 0, 0},{0, 0, 0, 0}};
20009 static swig_cast_info _swigc__p_vec3_struct_t[] = { {&_swigt__p_vec3_struct_t, 0, 0, 0},{0, 0, 0, 0}};
20010 
20068 };
20069 
20070 
20071 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20072 
20073 /* -----------------------------------------------------------------------------
20074  * Type initialization:
20075  * This problem is tough by the requirement that no dynamic
20076  * memory is used. Also, since swig_type_info structures store pointers to
20077  * swig_cast_info structures and swig_cast_info structures store pointers back
20078  * to swig_type_info structures, we need some lookup code at initialization.
20079  * The idea is that swig generates all the structures that are needed.
20080  * The runtime then collects these partially filled structures.
20081  * The SWIG_InitializeModule function takes these initial arrays out of
20082  * swig_module, and does all the lookup, filling in the swig_module.types
20083  * array with the correct data and linking the correct swig_cast_info
20084  * structures together.
20085  *
20086  * The generated swig_type_info structures are assigned statically to an initial
20087  * array. We just loop through that array, and handle each type individually.
20088  * First we lookup if this type has been already loaded, and if so, use the
20089  * loaded structure instead of the generated one. Then we have to fill in the
20090  * cast linked list. The cast data is initially stored in something like a
20091  * two-dimensional array. Each row corresponds to a type (there are the same
20092  * number of rows as there are in the swig_type_initial array). Each entry in
20093  * a column is one of the swig_cast_info structures for that type.
20094  * The cast_initial array is actually an array of arrays, because each row has
20095  * a variable number of columns. So to actually build the cast linked list,
20096  * we find the array of casts associated with the type, and loop through it
20097  * adding the casts to the list. The one last trick we need to do is making
20098  * sure the type pointer in the swig_cast_info struct is correct.
20099  *
20100  * First off, we lookup the cast->type name to see if it is already loaded.
20101  * There are three cases to handle:
20102  * 1) If the cast->type has already been loaded AND the type we are adding
20103  * casting info to has not been loaded (it is in this module), THEN we
20104  * replace the cast->type pointer with the type pointer that has already
20105  * been loaded.
20106  * 2) If BOTH types (the one we are adding casting info to, and the
20107  * cast->type) are loaded, THEN the cast info has already been loaded by
20108  * the previous module so we just ignore it.
20109  * 3) Finally, if cast->type has not already been loaded, then we add that
20110  * swig_cast_info to the linked list (because the cast->type) pointer will
20111  * be correct.
20112  * ----------------------------------------------------------------------------- */
20113 
20114 #ifdef __cplusplus
20115 extern "C" {
20116 #if 0
20117 } /* c-mode */
20118 #endif
20119 #endif
20120 
20121 #if 0
20122 #define SWIGRUNTIME_DEBUG
20123 #endif
20124 
20125 
20126 SWIGRUNTIME void
20127 SWIG_InitializeModule(void *clientdata) {
20128  size_t i;
20129  swig_module_info *module_head, *iter;
20130  int init;
20131 
20132  /* check to see if the circular list has been setup, if not, set it up */
20133  if (swig_module.next==0) {
20134  /* Initialize the swig_module */
20138  init = 1;
20139  } else {
20140  init = 0;
20141  }
20142 
20143  /* Try and load any already created modules */
20144  module_head = SWIG_GetModule(clientdata);
20145  if (!module_head) {
20146  /* This is the first module loaded for this interpreter */
20147  /* so set the swig module into the interpreter */
20148  SWIG_SetModule(clientdata, &swig_module);
20149  } else {
20150  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
20151  iter=module_head;
20152  do {
20153  if (iter==&swig_module) {
20154  /* Our module is already in the list, so there's nothing more to do. */
20155  return;
20156  }
20157  iter=iter->next;
20158  } while (iter!= module_head);
20159 
20160  /* otherwise we must add our module into the list */
20161  swig_module.next = module_head->next;
20162  module_head->next = &swig_module;
20163  }
20164 
20165  /* When multiple interpreters are used, a module could have already been initialized in
20166  a different interpreter, but not yet have a pointer in this interpreter.
20167  In this case, we do not want to continue adding types... everything should be
20168  set up already */
20169  if (init == 0) return;
20170 
20171  /* Now work on filling in swig_module.types */
20172 #ifdef SWIGRUNTIME_DEBUG
20173  printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
20174 #endif
20175  for (i = 0; i < swig_module.size; ++i) {
20176  swig_type_info *type = 0;
20177  swig_type_info *ret;
20178  swig_cast_info *cast;
20179 
20180 #ifdef SWIGRUNTIME_DEBUG
20181  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
20182 #endif
20183 
20184  /* if there is another module already loaded */
20185  if (swig_module.next != &swig_module) {
20187  }
20188  if (type) {
20189  /* Overwrite clientdata field */
20190 #ifdef SWIGRUNTIME_DEBUG
20191  printf("SWIG_InitializeModule: found type %s\n", type->name);
20192 #endif
20194  type->clientdata = swig_module.type_initial[i]->clientdata;
20195 #ifdef SWIGRUNTIME_DEBUG
20196  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20197 #endif
20198  }
20199  } else {
20201  }
20202 
20203  /* Insert casting types */
20204  cast = swig_module.cast_initial[i];
20205  while (cast->type) {
20206 
20207  /* Don't need to add information already in the list */
20208  ret = 0;
20209 #ifdef SWIGRUNTIME_DEBUG
20210  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20211 #endif
20212  if (swig_module.next != &swig_module) {
20214 #ifdef SWIGRUNTIME_DEBUG
20215  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20216 #endif
20217  }
20218  if (ret) {
20219  if (type == swig_module.type_initial[i]) {
20220 #ifdef SWIGRUNTIME_DEBUG
20221  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20222 #endif
20223  cast->type = ret;
20224  ret = 0;
20225  } else {
20226  /* Check for casting already in the list */
20227  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20228 #ifdef SWIGRUNTIME_DEBUG
20229  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20230 #endif
20231  if (!ocast) ret = 0;
20232  }
20233  }
20234 
20235  if (!ret) {
20236 #ifdef SWIGRUNTIME_DEBUG
20237  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20238 #endif
20239  if (type->cast) {
20240  type->cast->prev = cast;
20241  cast->next = type->cast;
20242  }
20243  type->cast = cast;
20244  }
20245  cast++;
20246  }
20247  /* Set entry in modules->types array equal to the type */
20248  swig_module.types[i] = type;
20249  }
20250  swig_module.types[i] = 0;
20251 
20252 #ifdef SWIGRUNTIME_DEBUG
20253  printf("**** SWIG_InitializeModule: Cast List ******\n");
20254  for (i = 0; i < swig_module.size; ++i) {
20255  int j = 0;
20257  printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
20258  while (cast->type) {
20259  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20260  cast++;
20261  ++j;
20262  }
20263  printf("---- Total casts: %d\n",j);
20264  }
20265  printf("**** SWIG_InitializeModule: Cast List ******\n");
20266 #endif
20267 }
20268 
20269 /* This function will propagate the clientdata field of type to
20270 * any new swig_type_info structures that have been added into the list
20271 * of equivalent types. It is like calling
20272 * SWIG_TypeClientData(type, clientdata) a second time.
20273 */
20274 SWIGRUNTIME void
20276  size_t i;
20277  swig_cast_info *equiv;
20278  static int init_run = 0;
20279 
20280  if (init_run) return;
20281  init_run = 1;
20282 
20283  for (i = 0; i < swig_module.size; i++) {
20284  if (swig_module.types[i]->clientdata) {
20285  equiv = swig_module.types[i]->cast;
20286  while (equiv) {
20287  if (!equiv->converter) {
20288  if (equiv->type && !equiv->type->clientdata)
20290  }
20291  equiv = equiv->next;
20292  }
20293  }
20294  }
20295 }
20296 
20297 #ifdef __cplusplus
20298 #if 0
20299 { /* c-mode */
20300 #endif
20301 }
20302 #endif
20303 
20304 
20305 
20306 /* Forward declaration of where the user's %init{} gets inserted */
20307 void SWIG_init_user(lua_State* L );
20308 
20309 #ifdef __cplusplus
20310 extern "C" {
20311 #endif
20312 /* this is the initialization function
20313  added at the very end of the code
20314  the function is always called SWIG_init, but an earlier #define will rename it
20315 */
20316 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
20317 LUALIB_API int SWIG_init(lua_State* L)
20318 #else
20319 SWIGEXPORT int SWIG_init(lua_State* L) /* default Lua action */
20320 #endif
20321 {
20322 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) /* valid for both Lua and eLua */
20323  int i;
20324  int globalRegister = 0;
20325  /* start with global table */
20326  lua_pushglobaltable (L);
20327  /* SWIG's internal initialisation */
20328  SWIG_InitializeModule((void*)L);
20330 #endif
20331 
20332 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)) || defined(SWIG_LUA_ELUA_EMULATE)
20333  /* add a global fn */
20334  SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
20336 #endif
20337 
20338 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20339  /* set up base class pointers (the hierarchy) */
20340  for (i = 0; swig_types[i]; i++){
20341  if (swig_types[i]->clientdata){
20343  }
20344  }
20345 #ifdef SWIG_LUA_MODULE_GLOBAL
20346  globalRegister = 1;
20347 #endif
20348 
20349 
20350 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
20351  SWIG_Lua_namespace_register(L,&swig_SwigModule, globalRegister);
20352 #endif
20353 
20354 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
20355  for (i = 0; swig_types[i]; i++){
20356  if (swig_types[i]->clientdata){
20357  SWIG_Lua_elua_class_register_instance(L,(swig_lua_class*)(swig_types[i]->clientdata));
20358  }
20359  }
20360 #endif
20361 
20362 #if defined(SWIG_LUA_ELUA_EMULATE)
20363  lua_newtable(L);
20364  SWIG_Lua_elua_emulate_register(L,swig_SwigModule.ns_methods);
20365  SWIG_Lua_elua_emulate_register_clear(L);
20366  if(globalRegister) {
20367  lua_pushstring(L,swig_SwigModule.name);
20368  lua_pushvalue(L,-2);
20369  lua_rawset(L,-4);
20370  }
20371 #endif
20372 
20373 #endif
20374 
20375 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20376  /* invoke user-specific initialization */
20377  SWIG_init_user(L);
20378  /* end module */
20379  /* Note: We do not clean up the stack here (Lua will do this for us). At this
20380  point, we have the globals table and out module table on the stack. Returning
20381  one value makes the module table the result of the require command. */
20382  return 1;
20383 #else
20384  return 0;
20385 #endif
20386 }
20387 
20388 #ifdef __cplusplus
20389 }
20390 #endif
20391 
20392 
20393 const char* SWIG_LUACODE=
20394  "";
20395 
20396 void SWIG_init_user(lua_State* L)
20397 {
20398  /* exec Lua code if applicable */
20400 }
20401 
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)
extradata for the panel node
Definition: ui_node_bar.h:43
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
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)
extradata for the window node
Definition: ui_node_timer.h:44
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
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)
uiBehaviour_t * behaviour
Definition: ui_nodes.h:83
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)
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)
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)
extradata for the linechart node
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)
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)
extradata for scrollbar widget
#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[]
inventory definition for our menus
Definition: inv_shared.h:371
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)
Atomic structure used to define most of the UI.
Definition: ui_nodes.h:80
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)
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[]
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)
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)
uiNode_t * next
Definition: ui_nodes.h:91
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)
uiNode_t * parent
Definition: ui_nodes.h:92
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)
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)
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[]
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)
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
uiNode_t * root
Definition: ui_nodes.h:93
static int _wrap_uiModel_origin(lua_State *L)
static int _proxy__wrap_new_uiRows(lua_State *L)
extradata for the model node
Definition: ui_node_model.h:63
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[]
static int _wrap_uiText_lineheight(lua_State *L)
uiNode_t uiWindowNode_t
static swig_cast_info _swigc__p_linkedList_t[]
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
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
uiNode_t * firstChild
Definition: ui_nodes.h:89
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)
void * lua_SWIG_typeinfo
Definition: ui_behaviour.h:57
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)
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)
extradata for the panel node
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)
extradata for container widget
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 window node
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
uiNode_t * lastChild
Definition: ui_nodes.h:90
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
Option definition.
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)
extradata for the textentry, to custom draw and behaviour
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)
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[]