UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 3.0.12
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 
213 /* Flags for new pointer objects */
214 #define SWIG_POINTER_OWN 0x1
215 
216 
217 /*
218  Flags/methods for returning states.
219 
220  The SWIG conversion methods, as ConvertPtr, return an integer
221  that tells if the conversion was successful or not. And if not,
222  an error code can be returned (see swigerrors.swg for the codes).
223 
224  Use the following macros/flags to set or process the returning
225  states.
226 
227  In old versions of SWIG, code such as the following was usually written:
228 
229  if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
230  // success code
231  } else {
232  //fail code
233  }
234 
235  Now you can be more explicit:
236 
237  int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
238  if (SWIG_IsOK(res)) {
239  // success code
240  } else {
241  // fail code
242  }
243 
244  which is the same really, but now you can also do
245 
246  Type *ptr;
247  int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
248  if (SWIG_IsOK(res)) {
249  // success code
250  if (SWIG_IsNewObj(res) {
251  ...
252  delete *ptr;
253  } else {
254  ...
255  }
256  } else {
257  // fail code
258  }
259 
260  I.e., now SWIG_ConvertPtr can return new objects and you can
261  identify the case and take care of the deallocation. Of course that
262  also requires SWIG_ConvertPtr to return new result values, such as
263 
264  int SWIG_ConvertPtr(obj, ptr,...) {
265  if (<obj is ok>) {
266  if (<need new object>) {
267  *ptr = <ptr to new allocated object>;
268  return SWIG_NEWOBJ;
269  } else {
270  *ptr = <ptr to old object>;
271  return SWIG_OLDOBJ;
272  }
273  } else {
274  return SWIG_BADOBJ;
275  }
276  }
277 
278  Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
279  more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
280  SWIG errors code.
281 
282  Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
283  allows to return the 'cast rank', for example, if you have this
284 
285  int food(double)
286  int fooi(int);
287 
288  and you call
289 
290  food(1) // cast rank '1' (1 -> 1.0)
291  fooi(1) // cast rank '0'
292 
293  just use the SWIG_AddCast()/SWIG_CheckState()
294 */
295 
296 #define SWIG_OK (0)
297 #define SWIG_ERROR (-1)
298 #define SWIG_IsOK(r) (r >= 0)
299 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
300 
301 /* The CastRankLimit says how many bits are used for the cast rank */
302 #define SWIG_CASTRANKLIMIT (1 << 8)
303 /* The NewMask denotes the object was created (using new/malloc) */
304 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
305 /* The TmpMask is for in/out typemaps that use temporal objects */
306 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
307 /* Simple returning values */
308 #define SWIG_BADOBJ (SWIG_ERROR)
309 #define SWIG_OLDOBJ (SWIG_OK)
310 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
311 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
312 /* Check, add and del mask methods */
313 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
314 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
315 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
316 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
317 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
318 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
319 
320 /* Cast-Rank Mode */
321 #if defined(SWIG_CASTRANK_MODE)
322 # ifndef SWIG_TypeRank
323 # define SWIG_TypeRank unsigned long
324 # endif
325 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
326 # define SWIG_MAXCASTRANK (2)
327 # endif
328 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
329 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
330 SWIGINTERNINLINE int SWIG_AddCast(int r) {
331  return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
332 }
334  return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
335 }
336 #else /* no cast-rank mode */
337 # define SWIG_AddCast(r) (r)
338 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
339 #endif
340 
341 
342 #include <string.h>
343 
344 #ifdef __cplusplus
345 extern "C" {
346 #endif
347 
348 typedef void *(*swig_converter_func)(void *, int *);
349 typedef struct swig_type_info *(*swig_dycast_func)(void **);
350 
351 /* Structure to store information on one type */
352 typedef struct swig_type_info {
353  const char *name; /* mangled name of this type */
354  const char *str; /* human readable name of this type */
355  swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
356  struct swig_cast_info *cast; /* linked list of types that can cast into this type */
357  void *clientdata; /* language specific type data */
358  int owndata; /* flag if the structure owns the clientdata */
360 
361 /* Structure to store a type and conversion function used for casting */
362 typedef struct swig_cast_info {
363  swig_type_info *type; /* pointer to type that is equivalent to this type */
364  swig_converter_func converter; /* function to cast the void pointers */
365  struct swig_cast_info *next; /* pointer to next cast in linked list */
366  struct swig_cast_info *prev; /* pointer to the previous cast */
368 
369 /* Structure used to store module information
370  * Each module generates one structure like this, and the runtime collects
371  * all of these structures and stores them in a circularly linked list.*/
372 typedef struct swig_module_info {
373  swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
374  size_t size; /* Number of types in this module */
375  struct swig_module_info *next; /* Pointer to next element in circularly linked list */
376  swig_type_info **type_initial; /* Array of initially generated type structures */
377  swig_cast_info **cast_initial; /* Array of initially generated casting structures */
378  void *clientdata; /* Language specific module data */
380 
381 /*
382  Compare two type names skipping the space characters, therefore
383  "char*" == "char *" and "Class<int>" == "Class<int >", etc.
384 
385  Return 0 when the two name types are equivalent, as in
386  strncmp, but skipping ' '.
387 */
388 SWIGRUNTIME int
389 SWIG_TypeNameComp(const char *f1, const char *l1,
390  const char *f2, const char *l2) {
391  for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
392  while ((*f1 == ' ') && (f1 != l1)) ++f1;
393  while ((*f2 == ' ') && (f2 != l2)) ++f2;
394  if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
395  }
396  return (int)((l1 - f1) - (l2 - f2));
397 }
398 
399 /*
400  Check type equivalence in a name list like <name1>|<name2>|...
401  Return 0 if equal, -1 if nb < tb, 1 if nb > tb
402 */
403 SWIGRUNTIME int
404 SWIG_TypeCmp(const char *nb, const char *tb) {
405  int equiv = 1;
406  const char* te = tb + strlen(tb);
407  const char* ne = nb;
408  while (equiv != 0 && *ne) {
409  for (nb = ne; *ne; ++ne) {
410  if (*ne == '|') break;
411  }
412  equiv = SWIG_TypeNameComp(nb, ne, tb, te);
413  if (*ne) ++ne;
414  }
415  return equiv;
416 }
417 
418 /*
419  Check type equivalence in a name list like <name1>|<name2>|...
420  Return 0 if not equal, 1 if equal
421 */
422 SWIGRUNTIME int
423 SWIG_TypeEquiv(const char *nb, const char *tb) {
424  return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
425 }
426 
427 /*
428  Check the typename
429 */
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432  if (ty) {
433  swig_cast_info *iter = ty->cast;
434  while (iter) {
435  if (strcmp(iter->type->name, c) == 0) {
436  if (iter == ty->cast)
437  return iter;
438  /* Move iter to the top of the linked list */
439  iter->prev->next = iter->next;
440  if (iter->next)
441  iter->next->prev = iter->prev;
442  iter->next = ty->cast;
443  iter->prev = 0;
444  if (ty->cast) ty->cast->prev = iter;
445  ty->cast = iter;
446  return iter;
447  }
448  iter = iter->next;
449  }
450  }
451  return 0;
452 }
453 
454 /*
455  Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
456 */
459  if (ty) {
460  swig_cast_info *iter = ty->cast;
461  while (iter) {
462  if (iter->type == from) {
463  if (iter == ty->cast)
464  return iter;
465  /* Move iter to the top of the linked list */
466  iter->prev->next = iter->next;
467  if (iter->next)
468  iter->next->prev = iter->prev;
469  iter->next = ty->cast;
470  iter->prev = 0;
471  if (ty->cast) ty->cast->prev = iter;
472  ty->cast = iter;
473  return iter;
474  }
475  iter = iter->next;
476  }
477  }
478  return 0;
479 }
480 
481 /*
482  Cast a pointer up an inheritance hierarchy
483 */
484 SWIGRUNTIMEINLINE void *
485 SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
486  return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
487 }
488 
489 /*
490  Dynamic pointer casting. Down an inheritance hierarchy
491 */
494  swig_type_info *lastty = ty;
495  if (!ty || !ty->dcast) return ty;
496  while (ty && (ty->dcast)) {
497  ty = (*ty->dcast)(ptr);
498  if (ty) lastty = ty;
499  }
500  return lastty;
501 }
502 
503 /*
504  Return the name associated with this type
505 */
506 SWIGRUNTIMEINLINE const char *
508  return ty->name;
509 }
510 
511 /*
512  Return the pretty name associated with this type,
513  that is an unmangled type name in a form presentable to the user.
514 */
515 SWIGRUNTIME const char *
517  /* The "str" field contains the equivalent pretty names of the
518  type, separated by vertical-bar characters. We choose
519  to print the last name, as it is often (?) the most
520  specific. */
521  if (!type) return NULL;
522  if (type->str != NULL) {
523  const char *last_name = type->str;
524  const char *s;
525  for (s = type->str; *s; s++)
526  if (*s == '|') last_name = s+1;
527  return last_name;
528  }
529  else
530  return type->name;
531 }
532 
533 /*
534  Set the clientdata field for a type
535 */
536 SWIGRUNTIME void
538  swig_cast_info *cast = ti->cast;
539  /* if (ti->clientdata == clientdata) return; */
540  ti->clientdata = clientdata;
541 
542  while (cast) {
543  if (!cast->converter) {
544  swig_type_info *tc = cast->type;
545  if (!tc->clientdata) {
546  SWIG_TypeClientData(tc, clientdata);
547  }
548  }
549  cast = cast->next;
550  }
551 }
552 SWIGRUNTIME void
554  SWIG_TypeClientData(ti, clientdata);
555  ti->owndata = 1;
556 }
557 
558 /*
559  Search for a swig_type_info structure only by mangled name
560  Search is a O(log #types)
561 
562  We start searching at module start, and finish searching when start == end.
563  Note: if start == end at the beginning of the function, we go all the way around
564  the circular list.
565 */
568  swig_module_info *end,
569  const char *name) {
570  swig_module_info *iter = start;
571  do {
572  if (iter->size) {
573  size_t l = 0;
574  size_t r = iter->size - 1;
575  do {
576  /* since l+r >= 0, we can (>> 1) instead (/ 2) */
577  size_t i = (l + r) >> 1;
578  const char *iname = iter->types[i]->name;
579  if (iname) {
580  int compare = strcmp(name, iname);
581  if (compare == 0) {
582  return iter->types[i];
583  } else if (compare < 0) {
584  if (i) {
585  r = i - 1;
586  } else {
587  break;
588  }
589  } else if (compare > 0) {
590  l = i + 1;
591  }
592  } else {
593  break; /* should never happen */
594  }
595  } while (l <= r);
596  }
597  iter = iter->next;
598  } while (iter != end);
599  return 0;
600 }
601 
602 /*
603  Search for a swig_type_info structure for either a mangled name or a human readable name.
604  It first searches the mangled names of the types, which is a O(log #types)
605  If a type is not found it then searches the human readable names, which is O(#types).
606 
607  We start searching at module start, and finish searching when start == end.
608  Note: if start == end at the beginning of the function, we go all the way around
609  the circular list.
610 */
613  swig_module_info *end,
614  const char *name) {
615  /* STEP 1: Search the name field using binary search */
616  swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
617  if (ret) {
618  return ret;
619  } else {
620  /* STEP 2: If the type hasn't been found, do a complete search
621  of the str field (the human readable name) */
622  swig_module_info *iter = start;
623  do {
624  size_t i = 0;
625  for (; i < iter->size; ++i) {
626  if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
627  return iter->types[i];
628  }
629  iter = iter->next;
630  } while (iter != end);
631  }
632 
633  /* neither found a match */
634  return 0;
635 }
636 
637 /*
638  Pack binary data into a string
639 */
640 SWIGRUNTIME char *
641 SWIG_PackData(char *c, void *ptr, size_t sz) {
642  static const char hex[17] = "0123456789abcdef";
643  const unsigned char *u = (unsigned char *) ptr;
644  const unsigned char *eu = u + sz;
645  for (; u != eu; ++u) {
646  unsigned char uu = *u;
647  *(c++) = hex[(uu & 0xf0) >> 4];
648  *(c++) = hex[uu & 0xf];
649  }
650  return c;
651 }
652 
653 /*
654  Unpack binary data from a string
655 */
656 SWIGRUNTIME const char *
657 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
658  unsigned char *u = (unsigned char *) ptr;
659  const unsigned char *eu = u + sz;
660  for (; u != eu; ++u) {
661  char d = *(c++);
662  unsigned char uu;
663  if ((d >= '0') && (d <= '9'))
664  uu = (unsigned char)((d - '0') << 4);
665  else if ((d >= 'a') && (d <= 'f'))
666  uu = (unsigned char)((d - ('a'-10)) << 4);
667  else
668  return (char *) 0;
669  d = *(c++);
670  if ((d >= '0') && (d <= '9'))
671  uu |= (unsigned char)(d - '0');
672  else if ((d >= 'a') && (d <= 'f'))
673  uu |= (unsigned char)(d - ('a'-10));
674  else
675  return (char *) 0;
676  *u = uu;
677  }
678  return c;
679 }
680 
681 /*
682  Pack 'void *' into a string buffer.
683 */
684 SWIGRUNTIME char *
685 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
686  char *r = buff;
687  if ((2*sizeof(void *) + 2) > bsz) return 0;
688  *(r++) = '_';
689  r = SWIG_PackData(r,&ptr,sizeof(void *));
690  if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
691  strcpy(r,name);
692  return buff;
693 }
694 
695 SWIGRUNTIME const char *
696 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
697  if (*c != '_') {
698  if (strcmp(c,"NULL") == 0) {
699  *ptr = (void *) 0;
700  return name;
701  } else {
702  return 0;
703  }
704  }
705  return SWIG_UnpackData(++c,ptr,sizeof(void *));
706 }
707 
708 SWIGRUNTIME char *
709 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
710  char *r = buff;
711  size_t lname = (name ? strlen(name) : 0);
712  if ((2*sz + 2 + lname) > bsz) return 0;
713  *(r++) = '_';
714  r = SWIG_PackData(r,ptr,sz);
715  if (lname) {
716  strncpy(r,name,lname+1);
717  } else {
718  *r = 0;
719  }
720  return buff;
721 }
722 
723 SWIGRUNTIME const char *
724 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
725  if (*c != '_') {
726  if (strcmp(c,"NULL") == 0) {
727  memset(ptr,0,sz);
728  return name;
729  } else {
730  return 0;
731  }
732  }
733  return SWIG_UnpackData(++c,ptr,sz);
734 }
735 
736 #ifdef __cplusplus
737 }
738 #endif
739 
740 /* -----------------------------------------------------------------------------
741  * luarun.swg
742  *
743  * This file contains the runtime support for Lua modules
744  * and includes code for managing global variables and pointer
745  * type checking.
746  * ----------------------------------------------------------------------------- */
747 
748 #ifdef __cplusplus
749 extern "C" {
750 #endif
751 
752 #include "lua.h"
753 #include "lauxlib.h"
754 #include <stdlib.h> /* for malloc */
755 #include <assert.h> /* for a few sanity tests */
756 
757 /* -----------------------------------------------------------------------------
758  * Lua flavors
759  * ----------------------------------------------------------------------------- */
760 
761 #define SWIG_LUA_FLAVOR_LUA 1
762 #define SWIG_LUA_FLAVOR_ELUA 2
763 #define SWIG_LUA_FLAVOR_ELUAC 3
764 
765 #if !defined(SWIG_LUA_TARGET)
766 # error SWIG_LUA_TARGET not defined
767 #endif
768 
769 #if defined(SWIG_LUA_ELUA_EMULATE)
770 
771 struct swig_elua_entry;
772 
773 typedef struct swig_elua_key {
774  int type;
775  union {
776  const char* strkey;
777  lua_Number numkey;
778  } key;
779 } swig_elua_key;
780 
781 typedef struct swig_elua_val {
782  int type;
783  union {
784  lua_Number number;
785  const struct swig_elua_entry *table;
786  const char *string;
787  lua_CFunction function;
788  struct {
789  char member;
790  long lvalue;
791  void *pvalue;
792  swig_type_info **ptype;
793  } userdata;
794  } value;
795 } swig_elua_val;
796 
797 typedef struct swig_elua_entry {
798  swig_elua_key key;
799  swig_elua_val value;
800 } swig_elua_entry;
801 
802 #define LSTRKEY(x) {LUA_TSTRING, {.strkey = x} }
803 #define LNUMKEY(x) {LUA_TNUMBER, {.numkey = x} }
804 #define LNILKEY {LUA_TNIL, {.strkey = 0} }
805 
806 #define LNUMVAL(x) {LUA_TNUMBER, {.number = x} }
807 #define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} }
808 #define LROVAL(x) {LUA_TTABLE, {.table = x} }
809 #define LNILVAL {LUA_TNIL, {.string = 0} }
810 #define LSTRVAL(x) {LUA_TSTRING, {.string = x} }
811 
812 #define LUA_REG_TYPE swig_elua_entry
813 
814 #define SWIG_LUA_ELUA_EMUL_METATABLE_KEY "__metatable"
815 
816 #define lua_pushrotable(L,p)\
817  lua_newtable(L);\
818  assert(p);\
819  SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p));
820 
821 #define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
822  LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } }
823 
824 #define SWIG_LUA_CONSTTAB_BINARY(B,S,C,D)\
825  LSTRKEY(B), {LUA_TUSERDATA, { .userdata={1,S,(void*)(C),&D} } }
826 #endif
827 
828 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
829 # define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C)
830 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C)
831 # define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C)
832 # define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C)
833  /* Those two types of constants are not supported in elua */
834 
835 #ifndef SWIG_LUA_CONSTTAB_POINTER
836 #warning eLua does not support pointers as constants. By default, nil will be used as value
837 #define SWIG_LUA_CONSTTAB_POINTER(B,C,D) LSTRKEY(B), LNILVAL
838 #endif
839 
840 #ifndef SWIG_LUA_CONSTTAB_BINARY
841 #warning eLua does not support pointers to member as constants. By default, nil will be used as value
842 #define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D) LSTRKEY(B), LNILVAL
843 #endif
844 #else /* SWIG_LUA_FLAVOR_LUA */
845 # define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
846 # define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
847 # define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
848 # define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
849 # define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
850  SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D
851 # define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D)\
852  SWIG_LUA_BINARY, (char *)B, S, 0, (void *)C, &D
853 #endif
854 
855 #ifndef SWIG_LUA_ELUA_EMULATE
856 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
857 # define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING}
858 # define LSTRVAL LRO_STRVAL
859 #endif
860 #endif /* SWIG_LUA_ELUA_EMULATE*/
861 
862 #ifndef SWIG_LUA_ELUA_EMULATE
863 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
864 
865 #ifndef MIN_OPT_LEVEL
866 #define MIN_OPT_LEVEL 2
867 #endif
868 
869 #include "lrodefs.h"
870 #include "lrotable.h"
871 #endif
872 #endif /* SWIG_LUA_ELUA_EMULATE*/
873 /* -----------------------------------------------------------------------------
874  * compatibility defines
875  * ----------------------------------------------------------------------------- */
876 
877 /* History of Lua C API length functions: In Lua 5.0 (and before?)
878  there was "lua_strlen". In Lua 5.1, this was renamed "lua_objlen",
879  but a compatibility define of "lua_strlen" was added. In Lua 5.2,
880  this function was again renamed, to "lua_rawlen" (to emphasize that
881  it doesn't call the "__len" metamethod), and the compatibility
882  define of lua_strlen was removed. All SWIG uses have been updated
883  to "lua_rawlen", and we add our own defines of that here for older
884  versions of Lua. */
885 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
886 # define lua_rawlen lua_strlen
887 #elif LUA_VERSION_NUM == 501
888 # define lua_rawlen lua_objlen
889 #endif
890 
891 
892 /* lua_pushglobaltable is the recommended "future-proof" way to get
893  the global table for Lua 5.2 and later. Here we define
894  lua_pushglobaltable ourselves for Lua versions before 5.2. */
895 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
896 # define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX)
897 #endif
898 
899 /* lua_absindex was introduced in Lua 5.2 */
900 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
901 # define lua_absindex(L,i) ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1)
902 #endif
903 
904 /* lua_rawsetp was introduced in Lua 5.2 */
905 #if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
906 #define lua_rawsetp(L,index,ptr)\
907  lua_pushlightuserdata(L,(void*)(ptr));\
908  lua_insert(L,-2);\
909  lua_rawset(L,index);
910 
911 #define lua_rawgetp(L,index,ptr)\
912  lua_pushlightuserdata(L,(void*)(ptr));\
913  lua_rawget(L,index);
914 
915 #endif
916 
917 /* --------------------------------------------------------------------------
918  * Helper functions for error handling
919  * -------------------------------------------------------------------------- */
920 
921 /* Push the string STR on the Lua stack, like lua_pushstring, but
922  prefixed with the the location of the innermost Lua call-point
923  (as formated by luaL_where). */
924 SWIGRUNTIME void
925 SWIG_Lua_pusherrstring (lua_State *L, const char *str)
926 {
927  luaL_where (L, 1);
928  lua_pushstring (L, str);
929  lua_concat (L, 2);
930 }
931 
932 /* Push a formatted string generated from FMT and following args on
933  the Lua stack, like lua_pushfstring, but prefixed with the the
934  location of the innermost Lua call-point (as formated by luaL_where). */
935 SWIGRUNTIME void
936 SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...)
937 {
938  va_list argp;
939  va_start(argp, fmt);
940  luaL_where(L, 1);
941  lua_pushvfstring(L, fmt, argp);
942  va_end(argp);
943  lua_concat(L, 2);
944 }
945 
946 
947 /* -----------------------------------------------------------------------------
948  * global swig types
949  * ----------------------------------------------------------------------------- */
950 /* Constant table */
951 #define SWIG_LUA_INT 1
952 #define SWIG_LUA_FLOAT 2
953 #define SWIG_LUA_STRING 3
954 #define SWIG_LUA_POINTER 4
955 #define SWIG_LUA_BINARY 5
956 #define SWIG_LUA_CHAR 6
957 
958 /* Structure for variable linking table */
959 typedef struct {
960  const char *name;
961  lua_CFunction get;
962  lua_CFunction set;
964 
965 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
966 typedef const LUA_REG_TYPE swig_lua_method;
967 typedef const LUA_REG_TYPE swig_lua_const_info;
968 #else /* Normal lua */
969 typedef luaL_Reg swig_lua_method;
970 
971 /* Constant information structure */
972 typedef struct {
973  int type;
974  char *name;
975  long lvalue;
976  double dvalue;
977  void *pvalue;
979 } swig_lua_const_info;
980 
981 #endif
982 
983 typedef struct {
984  const char *name;
985  lua_CFunction getmethod;
986  lua_CFunction setmethod;
988 
989 
990 struct swig_lua_class;
991 /* Can be used to create namespaces. Currently used to wrap class static methods/variables/constants */
992 typedef struct swig_lua_namespace {
993  const char *name;
994  swig_lua_method *ns_methods;
996  swig_lua_const_info *ns_constants;
1000 
1001 typedef struct swig_lua_class {
1002  const char *name; /* Name that this class has in Lua */
1003  const char *fqname; /* Fully qualified name - Scope + class name */
1005  lua_CFunction constructor;
1006  void (*destructor)(void *);
1007  swig_lua_method *methods;
1010  swig_lua_method *metatable; /* 0 for -eluac */
1012  const char **base_names;
1013 } swig_lua_class;
1014 
1015 /* this is the struct for wrapping all pointers in SwigLua
1016 */
1017 typedef struct {
1019  int own; /* 1 if owned & must be destroyed */
1020  void *ptr;
1022 
1023 /* this is the struct for wrapping arbitrary packed binary data
1024 (currently it is only used for member function pointers)
1025 the data ordering is similar to swig_lua_userdata, but it is currently not possible
1026 to tell the two structures apart within SWIG, other than by looking at the type
1027 */
1028 typedef struct {
1030  int own; /* 1 if owned & must be destroyed */
1031  char data[1]; /* arbitary amount of data */
1033 
1034 /* Common SWIG API */
1035 #define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
1036 #define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
1037 #define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
1038 /* for C++ member pointers, ie, member methods */
1039 #define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
1040 #define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type)
1041 
1042 /* Runtime API */
1043 #define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
1044 #define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
1045 #define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
1046 
1047 /* Contract support */
1048 #define SWIG_contract_assert(expr, msg) \
1049  if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else
1050 
1051 
1052 /* helper #defines */
1053 #define SWIG_fail {goto fail;}
1054 #define SWIG_fail_arg(func_name,argnum,type) \
1055  {SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
1056  func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
1057  goto fail;}
1058 #define SWIG_fail_ptr(func_name,argnum,type) \
1059  SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
1060 #define SWIG_check_num_args(func_name,a,b) \
1061  if (lua_gettop(L)<a || lua_gettop(L)>b) \
1062  {SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
1063  goto fail;}
1064 
1065 
1066 #define SWIG_Lua_get_table(L,n) \
1067  (lua_pushstring(L, n), lua_rawget(L,-2))
1068 
1069 #define SWIG_Lua_add_function(L,n,f) \
1070  (lua_pushstring(L, n), \
1071  lua_pushcfunction(L, f), \
1072  lua_rawset(L,-3))
1073 
1074 #define SWIG_Lua_add_boolean(L,n,b) \
1075  (lua_pushstring(L, n), \
1076  lua_pushboolean(L, b), \
1077  lua_rawset(L,-3))
1078 
1079 /* special helper for allowing 'nil' for usertypes */
1080 #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
1081 
1082 #ifdef __cplusplus
1083 /* Special helper for member function pointers
1084 it gets the address, casts it, then dereferences it */
1085 /*#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a))) */
1086 #endif
1087 
1088 /* storing/access of swig_module_info */
1090 SWIG_Lua_GetModule(lua_State *L) {
1091  swig_module_info *ret = 0;
1092  lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1093  lua_rawget(L,LUA_REGISTRYINDEX);
1094  if (lua_islightuserdata(L,-1))
1095  ret=(swig_module_info*)lua_touserdata(L,-1);
1096  lua_pop(L,1); /* tidy */
1097  return ret;
1098 }
1099 
1100 SWIGRUNTIME void
1101 SWIG_Lua_SetModule(lua_State *L, swig_module_info *module) {
1102  /* add this all into the Lua registry: */
1103  lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1104  lua_pushlightuserdata(L,(void*)module);
1105  lua_rawset(L,LUA_REGISTRYINDEX);
1106 }
1107 
1108 /* -----------------------------------------------------------------------------
1109  * global variable support code: modules
1110  * ----------------------------------------------------------------------------- */
1111 
1112 /* this function is called when trying to set an immutable.
1113 default action is to print an error.
1114 This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */
1116 {
1117 /* there should be 1 param passed in: the new value */
1118 #ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
1119  lua_pop(L,1); /* remove it */
1120  luaL_error(L,"This variable is immutable");
1121 #endif
1122  return 0; /* should not return anything */
1123 }
1124 
1125 #ifdef SWIG_LUA_ELUA_EMULATE
1126 
1127 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own);
1128 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type);
1129 static int swig_lua_elua_emulate_unique_key;
1130 
1131 /* This function emulates eLua rotables behaviour. It loads a rotable definition into the usual lua table. */
1132 SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_entry *table)
1133 {
1134  int i, table_parsed, parsed_tables_array, target_table;
1135  assert(lua_istable(L,-1));
1136  target_table = lua_gettop(L);
1137  /* Get the registry where we put all parsed tables to avoid loops */
1138  lua_rawgetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1139  if(lua_isnil(L,-1)) {
1140  lua_pop(L,1);
1141  lua_newtable(L);
1142  lua_pushvalue(L,-1);
1143  lua_rawsetp(L,LUA_REGISTRYINDEX,(void*)(&swig_lua_elua_emulate_unique_key));
1144  }
1145  parsed_tables_array = lua_gettop(L);
1146  lua_pushvalue(L,target_table);
1147  lua_rawsetp(L, parsed_tables_array, table);
1148  table_parsed = 0;
1149  const int SWIGUNUSED pairs_start = lua_gettop(L);
1150  for(i = 0;table[i].key.type != LUA_TNIL || table[i].value.type != LUA_TNIL;i++)
1151  {
1152  const swig_elua_entry *entry = table + i;
1153  int is_metatable = 0;
1154  switch(entry->key.type) {
1155  case LUA_TSTRING:
1156  lua_pushstring(L,entry->key.key.strkey);
1157  if(strcmp(entry->key.key.strkey, SWIG_LUA_ELUA_EMUL_METATABLE_KEY) == 0)
1158  is_metatable = 1;
1159  break;
1160  case LUA_TNUMBER:
1161  lua_pushnumber(L,entry->key.key.numkey);
1162  break;
1163  case LUA_TNIL:
1164  lua_pushnil(L);
1165  break;
1166  default:
1167  assert(0);
1168  }
1169  switch(entry->value.type) {
1170  case LUA_TSTRING:
1171  lua_pushstring(L,entry->value.value.string);
1172  break;
1173  case LUA_TNUMBER:
1174  lua_pushnumber(L,entry->value.value.number);
1175  break;
1176  case LUA_TFUNCTION:
1177  lua_pushcfunction(L,entry->value.value.function);
1178  break;
1179  case LUA_TTABLE:
1180  lua_rawgetp(L,parsed_tables_array, entry->value.value.table);
1181  table_parsed = !lua_isnil(L,-1);
1182  if(!table_parsed) {
1183  lua_pop(L,1); /*remove nil */
1184  lua_newtable(L);
1185  SWIG_Lua_elua_emulate_register(L,entry->value.value.table);
1186  }
1187  if(is_metatable) {
1188  assert(lua_istable(L,-1));
1189  lua_pushvalue(L,-1);
1190  lua_setmetatable(L,target_table);
1191  }
1192 
1193  break;
1194  case LUA_TUSERDATA:
1195  if(entry->value.value.userdata.member)
1196  SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue,
1197  entry->value.value.userdata.lvalue,
1198  *(entry->value.value.userdata.ptype));
1199  else
1200  SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue,
1201  *(entry->value.value.userdata.ptype),0);
1202  break;
1203  case LUA_TNIL:
1204  lua_pushnil(L);
1205  break;
1206  default:
1207  assert(0);
1208  }
1209  assert(lua_gettop(L) == pairs_start + 2);
1210  lua_rawset(L,target_table);
1211  }
1212  lua_pop(L,1); /* Removing parsed tables storage */
1213  assert(lua_gettop(L) == target_table);
1214 }
1215 
1216 SWIGINTERN void SWIG_Lua_elua_emulate_register_clear(lua_State *L)
1217 {
1218  lua_pushnil(L);
1219  lua_rawsetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1220 }
1221 
1222 SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L);
1223 
1224 SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_State *L)
1225 {
1226  SWIG_check_num_args("getmetatable(SWIG eLua emulation)", 1, 1);
1228  lua_getfield(L,-1,"lua_getmetatable");
1229  lua_remove(L,-2); /* remove the registry*/
1230  assert(!lua_isnil(L,-1));
1231  lua_pushvalue(L,1);
1232  assert(lua_gettop(L) == 3); /* object | function | object again */
1233  lua_call(L,1,1);
1234  if(!lua_isnil(L,-1)) /*There is an ordinary metatable */
1235  return 1;
1236  /*if it is a table, then emulate elua behaviour - check for __metatable attribute of a table*/
1237  assert(lua_gettop(L) == 2);
1238  if(lua_istable(L,-2)) {
1239  lua_pop(L,1); /*remove the nil*/
1240  lua_getfield(L,-1, SWIG_LUA_ELUA_EMUL_METATABLE_KEY);
1241  }
1242  assert(lua_gettop(L) == 2);
1243  return 1;
1244 
1245 fail:
1246  lua_error(L);
1247  return 0;
1248 }
1249 
1250 SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatable(lua_State *L)
1251 {
1254  lua_pushstring(L,"lua_getmetatable");
1255  lua_getfield(L,-2,"getmetatable");
1256  assert(!lua_isnil(L,-1));
1257  lua_rawset(L,-4);
1258  lua_pushstring(L, "getmetatable");
1259  lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable);
1260  lua_rawset(L,-3);
1261  lua_pop(L,2);
1262 
1263 }
1264 /* END OF REMOVE */
1265 
1266 #endif
1267 /* -----------------------------------------------------------------------------
1268  * global variable support code: namespaces and modules (which are the same thing)
1269  * ----------------------------------------------------------------------------- */
1270 
1272 {
1273 /* there should be 2 params passed in
1274  (1) table (not the meta table)
1275  (2) string name of the attribute
1276 */
1277  assert(lua_istable(L,-2)); /* just in case */
1278  lua_getmetatable(L,-2);
1279  assert(lua_istable(L,-1));
1280  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1281  assert(lua_istable(L,-1));
1282  /* look for the key in the .get table */
1283  lua_pushvalue(L,2); /* key */
1284  lua_rawget(L,-2);
1285  lua_remove(L,-2); /* stack tidy, remove .get table */
1286  if (lua_iscfunction(L,-1))
1287  { /* found it so call the fn & return its value */
1288  lua_call(L,0,1); /* 1 value in (userdata),1 out (result) */
1289  lua_remove(L,-2); /* stack tidy, remove metatable */
1290  return 1;
1291  }
1292  lua_pop(L,1); /* remove whatever was there */
1293  /* ok, so try the .fn table */
1294  SWIG_Lua_get_table(L,".fn"); /* find the .get table */
1295  assert(lua_istable(L,-1)); /* just in case */
1296  lua_pushvalue(L,2); /* key */
1297  lua_rawget(L,-2); /* look for the fn */
1298  lua_remove(L,-2); /* stack tidy, remove .fn table */
1299  if (lua_isfunction(L,-1)) /* note: whether it's a C function or lua function */
1300  { /* found it so return the fn & let lua call it */
1301  lua_remove(L,-2); /* stack tidy, remove metatable */
1302  return 1;
1303  }
1304  lua_pop(L,1); /* remove whatever was there */
1305  return 0;
1306 }
1307 
1309 {
1310 /* there should be 3 params passed in
1311  (1) table (not the meta table)
1312  (2) string name of the attribute
1313  (3) any for the new value
1314 */
1315 
1316  assert(lua_istable(L,1));
1317  lua_getmetatable(L,1); /* get the meta table */
1318  assert(lua_istable(L,-1));
1319 
1320  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1321  if (lua_istable(L,-1))
1322  {
1323  /* look for the key in the .set table */
1324  lua_pushvalue(L,2); /* key */
1325  lua_rawget(L,-2);
1326  if (lua_iscfunction(L,-1))
1327  { /* found it so call the fn & return its value */
1328  lua_pushvalue(L,3); /* value */
1329  lua_call(L,1,0);
1330  return 0;
1331  }
1332  lua_pop(L,1); /* remove the value */
1333  }
1334  lua_pop(L,1); /* remove the value .set table */
1335  lua_pop(L,1); /* remote metatable */
1336  lua_rawset(L,-3);
1337  return 0;
1338 }
1339 
1340 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
1341 SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]); /* forward declaration */
1342 SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn); /* forward declaration */
1343 SWIGINTERN void SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss);
1344 
1345 /* helper function - register namespace methods and attributes into namespace */
1347 {
1348  int i;
1349  /* There must be namespace table (not metatable) at the top of the stack */
1350  assert(lua_istable(L,-1));
1352 
1353  /* add methods to the namespace/module table */
1354  for(i=0;ns->ns_methods[i].name;i++){
1355  SWIG_Lua_add_function(L,ns->ns_methods[i].name,ns->ns_methods[i].func);
1356  }
1357  lua_getmetatable(L,-1);
1358 
1359  /* add fns */
1360  for(i=0;ns->ns_attributes[i].name;i++){
1362  }
1363 
1364  /* clear stack - remove metatble */
1365  lua_pop(L,1);
1366  return 0;
1367 }
1368 
1369 /* Register all classes in the namespace */
1371 {
1372  swig_lua_class **classes;
1373 
1374  /* There must be a module/namespace table at the top of the stack */
1375  assert(lua_istable(L,-1));
1376 
1377  classes = ns->ns_classes;
1378 
1379  if( classes != 0 ) {
1380  while(*classes != 0) {
1381  SWIG_Lua_class_register(L, *classes);
1382  classes++;
1383  }
1384  }
1385 }
1386 
1387 /* Helper function. Creates namespace table and adds it to module table
1388  if 'reg' is true, then will register namespace table to parent one (must be on top of the stack
1389  when function is called).
1390  Function always returns newly registered table on top of the stack.
1391 */
1393 {
1394  swig_lua_namespace **sub_namespace;
1395  /* 1 argument - table on the top of the stack */
1396  const int SWIGUNUSED begin = lua_gettop(L);
1397  assert(lua_istable(L,-1)); /* just in case. This is supposed to be module table or parent namespace table */
1398  lua_checkstack(L,5);
1399  lua_newtable(L); /* namespace itself */
1400  lua_newtable(L); /* metatable for namespace */
1401 
1402  /* add a table called ".get" */
1403  lua_pushstring(L,".get");
1404  lua_newtable(L);
1405  lua_rawset(L,-3);
1406  /* add a table called ".set" */
1407  lua_pushstring(L,".set");
1408  lua_newtable(L);
1409  lua_rawset(L,-3);
1410  /* add a table called ".fn" */
1411  lua_pushstring(L,".fn");
1412  lua_newtable(L);
1413  lua_rawset(L,-3);
1414 
1415  /* add accessor fns for using the .get,.set&.fn */
1418 
1419  lua_setmetatable(L,-2); /* set metatable */
1420 
1421  /* Register all functions, variables etc */
1423  /* Register classes */
1425 
1426  sub_namespace = ns->ns_namespaces;
1427  if( sub_namespace != 0) {
1428  while(*sub_namespace != 0) {
1429  SWIG_Lua_namespace_register(L, *sub_namespace, 1);
1430  lua_pop(L,1); /* removing sub-namespace table */
1431  sub_namespace++;
1432  }
1433  }
1434 
1435  if (reg) {
1436  lua_pushstring(L,ns->name);
1437  lua_pushvalue(L,-2);
1438  lua_rawset(L,-4); /* add namespace to module table */
1439  }
1440  assert(lua_gettop(L) == begin+1);
1441 }
1442 #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
1443 
1444 /* -----------------------------------------------------------------------------
1445  * global variable support code: classes
1446  * ----------------------------------------------------------------------------- */
1447 
1448 SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname);
1449 
1450 typedef int (*swig_lua_base_iterator_func)(lua_State*,swig_type_info*, int, int *ret);
1451 
1452 SWIGINTERN int SWIG_Lua_iterate_bases(lua_State *L, swig_type_info * SWIGUNUSED swig_type,
1453  int first_arg, swig_lua_base_iterator_func func, int *const ret)
1454 {
1455  /* first_arg - position of the object in stack. Everything that is above are arguments
1456  * and is passed to every evocation of the func */
1457  int last_arg = lua_gettop(L);/* position of last argument */
1458  int original_metatable = last_arg + 1;
1459  size_t bases_count;
1460  int result = SWIG_ERROR;
1461  int bases_table;
1462  (void)swig_type;
1463  lua_getmetatable(L,first_arg);
1464 
1465  /* initialise base search */
1466 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1467  SWIG_Lua_get_table(L,".bases");
1468  assert(lua_istable(L,-1));
1469  bases_count = lua_rawlen(L,-1);
1470  bases_table = lua_gettop(L);
1471 #else
1472  /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1473  (void)bases_table;
1474  assert(swig_type!=0);
1475  swig_module_info *module=SWIG_GetModule(L);
1476  swig_lua_class **bases= ((swig_lua_class*)(swig_type->clientdata))->bases;
1477  const char **base_names= ((swig_lua_class*)(swig_type->clientdata))->base_names;
1478  bases_count = 0;
1479  for(;base_names[bases_count];
1480  bases_count++);/* get length of bases */
1481 #endif
1482 
1483  if(ret)
1484  *ret = 0;
1485  if(bases_count>0)
1486  {
1487  int to_remove;
1488  size_t i;
1489  int j;
1490  int subcall_last_arg;
1491  int subcall_first_arg = lua_gettop(L) + 1;/* Here a copy of first_arg and arguments begin */
1492  int valid = 1;
1493  swig_type_info *base_swig_type = 0;
1494  for(j=first_arg;j<=last_arg;j++)
1495  lua_pushvalue(L,j);
1496  subcall_last_arg = lua_gettop(L);
1497 
1498  /* Trick: temporarily replacing original metatable with metatable for base class and call getter */
1499  for(i=0;i<bases_count;i++) {
1500  /* Iteration through class bases */
1501 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1502  lua_rawgeti(L,bases_table,i+1);
1503  base_swig_type = 0;
1504  if(lua_isnil(L,-1)) {
1505  valid = 0;
1506  lua_pop(L,1);
1507  } else {
1508  valid = 1;
1509  }
1510 #else /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1511  swig_lua_class *base_class = bases[i];
1512  if(!base_class) {
1513  valid = 0;
1514  } else {
1515  valid = 1;
1516  SWIG_Lua_get_class_metatable(L,base_class->fqname);
1517  base_swig_type = SWIG_TypeQueryModule(module,module,base_names[i]);
1518  assert(base_swig_type != 0);
1519  }
1520 #endif
1521 
1522  if(!valid)
1523  continue;
1524  assert(lua_isuserdata(L, subcall_first_arg));
1525  assert(lua_istable(L,-1));
1526  lua_setmetatable(L,subcall_first_arg); /* Set new metatable */
1527  assert(lua_gettop(L) == subcall_last_arg);
1528  result = func(L, base_swig_type,subcall_first_arg, ret); /* Forward call */
1529  if(result != SWIG_ERROR) {
1530  break;
1531  }
1532  }
1533  /* Restore original metatable */
1534  lua_pushvalue(L,original_metatable);
1535  lua_setmetatable(L,first_arg);
1536  /* Clear - remove everything between last_arg and subcall_last_arg including */
1537  to_remove = subcall_last_arg - last_arg;
1538  for(j=0;j<to_remove;j++)
1539  lua_remove(L,last_arg+1);
1540  } else {
1541  /* Remove everything after last_arg */
1542  lua_pop(L, lua_gettop(L) - last_arg);
1543  }
1544  if(ret) assert(lua_gettop(L) == last_arg + *ret);
1545  return result;
1546 }
1547 
1548 /* The class.get method helper, performs the lookup of class attributes.
1549  * It returns an error code. Number of function return values is passed inside 'ret'.
1550  * first_arg is not used in this function because function always has 2 arguments.
1551  */
1552 SWIGINTERN int SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1553 {
1554 /* there should be 2 params passed in
1555  (1) userdata (not the meta table)
1556  (2) string name of the attribute
1557 */
1558  int bases_search_result;
1559  int substack_start = lua_gettop(L)-2;
1560  assert(first_arg == substack_start+1);
1561  lua_checkstack(L,5);
1562  assert(lua_isuserdata(L,-2)); /* just in case */
1563  lua_getmetatable(L,-2); /* get the meta table */
1564  assert(lua_istable(L,-1)); /* just in case */
1565  /* NEW: looks for the __getitem() fn
1566  this is a user provided get fn */
1567  SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */
1568  if (lua_iscfunction(L,-1)) /* if its there */
1569  { /* found it so call the fn & return its value */
1570  lua_pushvalue(L,substack_start+1); /* the userdata */
1571  lua_pushvalue(L,substack_start+2); /* the parameter */
1572  lua_call(L,2,1); /* 2 value in (userdata),1 out (result) */
1573  lua_remove(L,-2); /* stack tidy, remove metatable */
1574  if(ret) *ret = 1;
1575  return SWIG_OK;
1576  }
1577  lua_pop(L,1);
1578  /* Remove the metatable */
1579  lua_pop(L,1);
1580  /* Search in base classes */
1581  bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get_item,ret);
1582  return bases_search_result; /* sorry not known */
1583 }
1584 
1585 
1586 /* The class.get method helper, performs the lookup of class attributes.
1587  * It returns an error code. Number of function return values is passed inside 'ret'.
1588  * first_arg is not used in this function because function always has 2 arguments.
1589  */
1590 SWIGINTERN int SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1591 {
1592 /* there should be 2 params passed in
1593  (1) userdata (not the meta table)
1594  (2) string name of the attribute
1595 */
1596  int bases_search_result;
1597  int substack_start = lua_gettop(L)-2;
1598  assert(first_arg == substack_start+1);
1599  lua_checkstack(L,5);
1600  assert(lua_isuserdata(L,-2)); /* just in case */
1601  lua_getmetatable(L,-2); /* get the meta table */
1602  assert(lua_istable(L,-1)); /* just in case */
1603  SWIG_Lua_get_table(L,".get"); /* find the .get table */
1604  assert(lua_istable(L,-1)); /* just in case */
1605  /* look for the key in the .get table */
1606  lua_pushvalue(L,substack_start+2); /* key */
1607  lua_rawget(L,-2);
1608  lua_remove(L,-2); /* stack tidy, remove .get table */
1609  if (lua_iscfunction(L,-1))
1610  { /* found it so call the fn & return its value */
1611  lua_pushvalue(L,substack_start+1); /* the userdata */
1612  lua_call(L,1,1); /* 1 value in (userdata),1 out (result) */
1613  lua_remove(L,-2); /* stack tidy, remove metatable */
1614  if(ret)
1615  *ret = 1;
1616  return SWIG_OK;
1617  }
1618  lua_pop(L,1); /* remove whatever was there */
1619  /* ok, so try the .fn table */
1620  SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
1621  assert(lua_istable(L,-1)); /* just in case */
1622  lua_pushvalue(L,substack_start+2); /* key */
1623  lua_rawget(L,-2); /* look for the fn */
1624  lua_remove(L,-2); /* stack tidy, remove .fn table */
1625  if (lua_isfunction(L,-1)) /* note: if its a C function or lua function */
1626  { /* found it so return the fn & let lua call it */
1627  lua_remove(L,-2); /* stack tidy, remove metatable */
1628  if(ret)
1629  *ret = 1;
1630  return SWIG_OK;
1631  }
1632  lua_pop(L,1); /* remove whatever was there */
1633  /* Remove the metatable */
1634  lua_pop(L,1);
1635  /* Search in base classes */
1636  bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get,ret);
1637  return bases_search_result; /* sorry not known */
1638 }
1639 
1640 /* the class.get method, performs the lookup of class attributes
1641  */
1643 {
1644 /* there should be 2 params passed in
1645  (1) userdata (not the meta table)
1646  (2) string name of the attribute
1647 */
1648  int result;
1649  swig_lua_userdata *usr;
1650  swig_type_info *type;
1651  int ret = 0;
1652  assert(lua_isuserdata(L,1));
1653  usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1654  type = usr->type;
1655  result = SWIG_Lua_class_do_get(L,type,1,&ret);
1656  if(result == SWIG_OK)
1657  return ret;
1658 
1659  result = SWIG_Lua_class_do_get_item(L,type,1,&ret);
1660  if(result == SWIG_OK)
1661  return ret;
1662 
1663  return 0;
1664 }
1665 
1666 /* helper for the class.set method, performs the lookup of class attributes
1667  * It returns error code. Number of function return values is passed inside 'ret'
1668  */
1669 SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret)
1670 {
1671 /* there should be 3 params passed in
1672  (1) table (not the meta table)
1673  (2) string name of the attribute
1674  (3) any for the new value
1675  */
1676 
1677  int bases_search_result;
1678  int substack_start = lua_gettop(L) - 3;
1679  lua_checkstack(L,5);
1680  assert(lua_isuserdata(L,substack_start+1)); /* just in case */
1681  lua_getmetatable(L,substack_start+1); /* get the meta table */
1682  assert(lua_istable(L,-1)); /* just in case */
1683  if(ret)
1684  *ret = 0; /* it is setter - number of return values is always 0 */
1685 
1686  SWIG_Lua_get_table(L,".set"); /* find the .set table */
1687  if (lua_istable(L,-1))
1688  {
1689  /* look for the key in the .set table */
1690  lua_pushvalue(L,substack_start+2); /* key */
1691  lua_rawget(L,-2);
1692  lua_remove(L,-2); /* tidy stack, remove .set table */
1693  if (lua_iscfunction(L,-1))
1694  { /* found it so call the fn & return its value */
1695  lua_pushvalue(L,substack_start+1); /* userdata */
1696  lua_pushvalue(L,substack_start+3); /* value */
1697  lua_call(L,2,0);
1698  lua_remove(L,substack_start+4); /*remove metatable*/
1699  return SWIG_OK;
1700  }
1701  lua_pop(L,1); /* remove the value */
1702  } else {
1703  lua_pop(L,1); /* remove the answer for .set table request*/
1704  }
1705  /* NEW: looks for the __setitem() fn
1706  this is a user provided set fn */
1707  SWIG_Lua_get_table(L,"__setitem"); /* find the fn */
1708  if (lua_iscfunction(L,-1)) /* if its there */
1709  { /* found it so call the fn & return its value */
1710  lua_pushvalue(L,substack_start+1); /* the userdata */
1711  lua_pushvalue(L,substack_start+2); /* the parameter */
1712  lua_pushvalue(L,substack_start+3); /* the value */
1713  lua_call(L,3,0); /* 3 values in ,0 out */
1714  lua_remove(L,-2); /* stack tidy, remove metatable */
1715  return SWIG_OK;
1716  }
1717  lua_pop(L,1); /* remove value */
1718 
1719  lua_pop(L,1); /* remove metatable */
1720  /* Search among bases */
1721  bases_search_result = SWIG_Lua_iterate_bases(L,type,first_arg,SWIG_Lua_class_do_set,ret);
1722  if(ret)
1723  assert(*ret == 0);
1724  assert(lua_gettop(L) == substack_start + 3);
1725  return bases_search_result;
1726 }
1727 
1728 /* This is the actual method exported to Lua. It calls SWIG_Lua_class_do_set and correctly
1729  * handles return values.
1730  */
1732 {
1733 /* There should be 3 params passed in
1734  (1) table (not the meta table)
1735  (2) string name of the attribute
1736  (3) any for the new value
1737  */
1738  int ret = 0;
1739  int result;
1740  swig_lua_userdata *usr;
1741  swig_type_info *type;
1742  assert(lua_isuserdata(L,1));
1743  usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1744  type = usr->type;
1745  result = SWIG_Lua_class_do_set(L,type,1,&ret);
1746  if(result != SWIG_OK) {
1747  SWIG_Lua_pushferrstring(L,"Assignment not possible. No setter/member with this name. For custom assignments implement __setitem method.");
1748  lua_error(L);
1749  } else {
1750  assert(ret==0);
1751  }
1752  return 0;
1753 }
1754 
1755 /* the class.destruct method called by the interpreter */
1757 {
1758 /* there should be 1 params passed in
1759  (1) userdata (not the meta table) */
1760  swig_lua_userdata *usr;
1761  swig_lua_class *clss;
1762  assert(lua_isuserdata(L,-1)); /* just in case */
1763  usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1764  /* if must be destroyed & has a destructor */
1765  if (usr->own) /* if must be destroyed */
1766  {
1767  clss=(swig_lua_class*)usr->type->clientdata; /* get the class */
1768  if (clss && clss->destructor) /* there is a destroy fn */
1769  {
1770  clss->destructor(usr->ptr); /* bye bye */
1771  }
1772  }
1773  return 0;
1774 }
1775 
1776 /* the class.__tostring method called by the interpreter and print */
1778 {
1779 /* there should be 1 param passed in
1780  (1) userdata (not the metatable) */
1781  const char *className;
1782  void* userData;
1783  assert(lua_isuserdata(L,1)); /* just in case */
1784  userData = lua_touserdata(L,1); /* get the userdata address for later */
1785  lua_getmetatable(L,1); /* get the meta table */
1786  assert(lua_istable(L,-1)); /* just in case */
1787 
1788  lua_getfield(L, -1, ".type");
1789  className = lua_tostring(L, -1);
1790 
1791  lua_pushfstring(L, "<%s userdata: %p>", className, userData);
1792  return 1;
1793 }
1794 
1795 /* to manually disown some userdata */
1797 {
1798 /* there should be 1 params passed in
1799  (1) userdata (not the meta table) */
1800  swig_lua_userdata *usr;
1801  assert(lua_isuserdata(L,-1)); /* just in case */
1802  usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1803 
1804  usr->own = 0; /* clear our ownership */
1805  return 0;
1806 }
1807 
1808 /* lua callable function to compare userdata's value
1809 the issue is that two userdata may point to the same thing
1810 but to lua, they are different objects */
1812 {
1813  int result;
1814  swig_lua_userdata *usr1,*usr2;
1815  if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2)) /* just in case */
1816  return 0; /* nil reply */
1817  usr1=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1818  usr2=(swig_lua_userdata*)lua_touserdata(L,2); /* get data */
1819  /*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/
1820  result=(usr1->ptr==usr2->ptr);
1821  lua_pushboolean(L,result);
1822  return 1;
1823 }
1824 
1825 /* populate table at the top of the stack with metamethods that ought to be inherited */
1827 {
1828  SWIG_Lua_add_boolean(L, "__add", 1);
1829  SWIG_Lua_add_boolean(L, "__sub", 1);
1830  SWIG_Lua_add_boolean(L, "__mul", 1);
1831  SWIG_Lua_add_boolean(L, "__div", 1);
1832  SWIG_Lua_add_boolean(L, "__mod", 1);
1833  SWIG_Lua_add_boolean(L, "__pow", 1);
1834  SWIG_Lua_add_boolean(L, "__unm", 1);
1835  SWIG_Lua_add_boolean(L, "__len", 1 );
1836  SWIG_Lua_add_boolean(L, "__concat", 1 );
1837  SWIG_Lua_add_boolean(L, "__eq", 1);
1838  SWIG_Lua_add_boolean(L, "__lt", 1);
1839  SWIG_Lua_add_boolean(L, "__le", 1);
1840  SWIG_Lua_add_boolean(L, "__call", 1);
1841  SWIG_Lua_add_boolean(L, "__tostring", 1);
1842  SWIG_Lua_add_boolean(L, "__gc", 0);
1843 }
1844 
1845 /* creates the swig registry */
1847 {
1848  /* create main SWIG registry table */
1849  lua_pushstring(L,"SWIG");
1850  lua_newtable(L);
1851  /* populate it with some predefined data */
1852 
1853  /* .library table. Placeholder */
1854  lua_pushstring(L,".library");
1855  lua_newtable(L);
1856  {
1857  /* list of metamethods that class inherits from its bases */
1858  lua_pushstring(L,"inheritable_metamethods");
1859  lua_newtable(L);
1860  /* populate with list of metamethods */
1862  lua_rawset(L,-3);
1863  }
1864  lua_rawset(L,-3);
1865 
1866  lua_rawset(L,LUA_REGISTRYINDEX);
1867 }
1868 
1869 /* gets the swig registry (or creates it) */
1871 {
1872  /* add this all into the swig registry: */
1873  lua_pushstring(L,"SWIG");
1874  lua_rawget(L,LUA_REGISTRYINDEX); /* get the registry */
1875  if (!lua_istable(L,-1)) /* not there */
1876  { /* must be first time, so add it */
1877  lua_pop(L,1); /* remove the result */
1879  /* then get it */
1880  lua_pushstring(L,"SWIG");
1881  lua_rawget(L,LUA_REGISTRYINDEX);
1882  }
1883 }
1884 
1886 {
1888  lua_pushstring(L, ".library");
1889  lua_rawget(L,-2);
1890  assert( !lua_isnil(L,-1) );
1891  lua_pushstring(L, "inheritable_metamethods");
1892  lua_rawget(L,-2);
1893 
1894  /* Remove class registry and library table */
1895  lua_remove(L,-2);
1896  lua_remove(L,-2);
1897 }
1898 
1899 /* Helper function to get the classes metatable from the register */
1900 SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname)
1901 {
1902  SWIG_Lua_get_class_registry(L); /* get the registry */
1903  lua_pushstring(L,cname); /* get the name */
1904  lua_rawget(L,-2); /* get it */
1905  lua_remove(L,-2); /* tidy up (remove registry) */
1906 }
1907 
1908 /* Set up the base classes pointers.
1909 Each class structure has a list of pointers to the base class structures.
1910 This function fills them.
1911 It cannot be done at compile time, as this will not work with hireachies
1912 spread over more than one swig file.
1913 Therefore it must be done at runtime, querying the SWIG type system.
1914 */
1916 {
1917  int i=0;
1918  swig_module_info *module=SWIG_GetModule(L);
1919  for(i=0;clss->base_names[i];i++)
1920  {
1921  if (clss->bases[i]==0) /* not found yet */
1922  {
1923  /* lookup and cache the base class */
1924  swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]);
1925  if (info) clss->bases[i] = (swig_lua_class *) info->clientdata;
1926  }
1927  }
1928 }
1929 
1930 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1931 /* Merges two tables */
1932 SWIGINTERN void SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source)
1933 {
1934  /* iterating */
1935  lua_pushnil(L);
1936  while (lua_next(L,source) != 0) {
1937  /* -1 - value, -2 - index */
1938  /* have to copy to assign */
1939  lua_pushvalue(L,-2); /* copy of index */
1940  lua_pushvalue(L,-2); /* copy of value */
1941  lua_rawset(L, target);
1942  lua_pop(L,1);
1943  /* only key is left */
1944  }
1945 }
1946 
1947 /* Merges two tables with given name. original - index of target metatable, base - index of source metatable */
1948 SWIGINTERN void SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base)
1949 {
1950  /* push original[name], then base[name] */
1951  lua_pushstring(L,name);
1952  lua_rawget(L,original);
1953  int original_table = lua_gettop(L);
1954  lua_pushstring(L,name);
1955  lua_rawget(L,base);
1956  int base_table = lua_gettop(L);
1957  SWIG_Lua_merge_tables_by_index(L, original_table, base_table);
1958  /* clearing stack */
1959  lua_pop(L,2);
1960 }
1961 
1962 /* Function takes all symbols from base and adds it to derived class. It's just a helper. */
1963 SWIGINTERN void SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls)
1964 {
1965  /* There is one parameter - original, i.e. 'derived' class metatable */
1966  assert(lua_istable(L,-1));
1967  int original = lua_gettop(L);
1968  SWIG_Lua_get_class_metatable(L,base_cls->fqname);
1969  int base = lua_gettop(L);
1970  SWIG_Lua_merge_tables(L, ".fn", original, base );
1971  SWIG_Lua_merge_tables(L, ".set", original, base );
1972  SWIG_Lua_merge_tables(L, ".get", original, base );
1973  lua_pop(L,1);
1974 }
1975 
1976 /* Function squashes all symbols from 'clss' bases into itself */
1977 SWIGINTERN void SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss)
1978 {
1979  int i;
1981  for(i=0;clss->base_names[i];i++)
1982  {
1983  if (clss->bases[i]==0) /* Somehow it's not found. Skip it */
1984  continue;
1985  /* Thing is: all bases are already registered. Thus they have already executed
1986  * this function. So we just need to squash them into us, because their bases
1987  * are already squashed into them. No need for recursion here!
1988  */
1989  SWIG_Lua_class_squash_base(L, clss->bases[i]);
1990  }
1991  lua_pop(L,1); /*tidy stack*/
1992 }
1993 #endif
1994 
1995 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
1996 /* helper add a variable to a registered class */
1997 SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn)
1998 {
1999  assert(lua_istable(L,-1)); /* just in case */
2000  SWIG_Lua_get_table(L,".get"); /* find the .get table */
2001  assert(lua_istable(L,-1)); /* just in case */
2002  SWIG_Lua_add_function(L,name,getFn);
2003  lua_pop(L,1); /* tidy stack (remove table) */
2004  if (setFn)
2005  {
2006  SWIG_Lua_get_table(L,".set"); /* find the .set table */
2007  assert(lua_istable(L,-1)); /* just in case */
2008  SWIG_Lua_add_function(L,name,setFn);
2009  lua_pop(L,1); /* tidy stack (remove table) */
2010  }
2011 }
2012 
2013 /* helper to recursively add class static details (static attributes, operations and constants) */
2015 {
2016  int i = 0;
2017  /* The class namespace table must be on the top of the stack */
2018  assert(lua_istable(L,-1));
2019  /* call all the base classes first: we can then override these later: */
2020  for(i=0;clss->bases[i];i++)
2021  {
2023  }
2024 
2026 }
2027 
2028 SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss); /* forward declaration */
2029 
2030 /* helper to recursively add class details (attributes & operations) */
2032 {
2033  int i;
2034  size_t bases_count = 0;
2035  /* Add bases to .bases table */
2036  SWIG_Lua_get_table(L,".bases");
2037  assert(lua_istable(L,-1)); /* just in case */
2038  for(i=0;clss->bases[i];i++)
2039  {
2041  /* Base class must be already registered */
2042  assert(lua_istable(L,-1));
2043  lua_rawseti(L,-2,i+1); /* In lua indexing starts from 1 */
2044  bases_count++;
2045  }
2046  assert(lua_rawlen(L,-1) == bases_count);
2047  lua_pop(L,1); /* remove .bases table */
2048  /* add attributes */
2049  for(i=0;clss->attributes[i].name;i++){
2051  }
2052  /* add methods to the metatable */
2053  SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
2054  assert(lua_istable(L,-1)); /* just in case */
2055  for(i=0;clss->methods[i].name;i++){
2056  SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].func);
2057  }
2058  lua_pop(L,1); /* tidy stack (remove table) */
2059  /* add operator overloads
2060  This adds methods from metatable array to metatable. Can mess up garbage
2061  collectind if someone defines __gc method
2062  */
2063  if(clss->metatable) {
2064  for(i=0;clss->metatable[i].name;i++) {
2065  SWIG_Lua_add_function(L,clss->metatable[i].name,clss->metatable[i].func);
2066  }
2067  }
2068 
2069 #if !defined(SWIG_LUA_SQUASH_BASES)
2070  /* Adding metamethods that are defined in base classes. If bases were squashed
2071  * then it is obviously unnecessary
2072  */
2074 #endif
2075 }
2076 
2077 /* Helpers to add user defined class metamedhods - __add, __sub etc. The helpers are needed
2078  for the following issue: Lua runtime checks for metamethod existence with rawget function
2079  ignoring our SWIG-provided __index and __newindex functions. Thus our inheritance-aware method
2080  search algorithm doesn't work in such case. (Not to say that Lua runtime queries metamethod directly
2081  in metatable and not in object).
2082  Current solution is this: if somewhere in hierarchy metamethod __x is defined, then all descendants
2083  are automatically given a special proxy __x that calls the real __x method.
2084  Obvious idea - to copy __x instead of creating __x-proxy is wrong because if someone changes __x in runtime,
2085  those changes must be reflected in all descendants.
2086 */
2087 
2088 SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L); /*forward declaration*/
2089 
2090 /* The real function that resolves a metamethod.
2091  * Function searches given class and all it's bases(recursively) for first instance of something that is
2092  * not equal to SWIG_Lua_resolve_metatmethod. (Almost always this 'something' is actual metamethod implementation
2093  * and it is a SWIG-generated C function.). It returns value on the top of the L and there is no garbage below the
2094  * answer.
2095  * Returns 1 if found, 0 otherwise.
2096  * clss is class which metatable we will search for method
2097  * metamethod_name_idx is index in L where metamethod name (as string) lies
2098  * skip_check allows to skip searching metamethod in givel clss and immideatelly go to searching in bases. skip_check
2099  * is not caried to subsequent recursive calls - false is always passed. It is set to true only at first call from
2100  * SWIG_Lua_resolve_metamethod
2101  * */
2102 SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx,
2103  int skip_check)
2104 {
2105  /* This function is called recursively */
2106  int result = 0;
2107  int i = 0;
2108 
2109  if (!skip_check) {
2111  lua_pushvalue(L, metamethod_name_idx);
2112  lua_rawget(L,-2);
2113  /* If this is cfunction and it is equal to SWIG_Lua_resolve_metamethod then
2114  * this isn't the function we are looking for :)
2115  * lua_tocfunction will return NULL if not cfunction
2116  */
2117  if (!lua_isnil(L,-1) && lua_tocfunction(L,-1) != SWIG_Lua_resolve_metamethod ) {
2118  lua_remove(L,-2); /* removing class metatable */
2119  return 1;
2120  }
2121  lua_pop(L,2); /* remove class metatable and query result */
2122  }
2123 
2124  /* Forwarding calls to bases */
2125  for(i=0;clss->bases[i];i++)
2126  {
2127  result = SWIG_Lua_do_resolve_metamethod(L, clss->bases[i], metamethod_name_idx, 0);
2128  if (result)
2129  break;
2130  }
2131 
2132  return result;
2133 }
2134 
2135 /* The proxy function for metamethod. All parameters are passed as cclosure. Searches for actual method
2136  * and calls it */
2138 {
2139  int numargs;
2140  int metamethod_name_idx;
2141  const swig_lua_class* clss;
2142  int result;
2143 
2144  lua_checkstack(L,5);
2145  numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */
2146 
2147  /* Get upvalues from closure */
2148  lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/
2149  metamethod_name_idx = lua_gettop(L);
2150 
2151  lua_pushvalue(L, lua_upvalueindex(2));
2152  clss = (const swig_lua_class*)(lua_touserdata(L,-1));
2153  lua_pop(L,1); /* remove lightuserdata with clss from stack */
2154 
2155  /* Actual work */
2156  result = SWIG_Lua_do_resolve_metamethod(L, clss, metamethod_name_idx, 1);
2157  if (!result) {
2158  SWIG_Lua_pushferrstring(L,"The metamethod proxy is set, but it failed to find actual metamethod. Memory corruption is most likely explanation.");
2159  lua_error(L);
2160  return 0;
2161  }
2162 
2163  lua_remove(L,-2); /* remove metamethod key */
2164  lua_insert(L,1); /* move function to correct position */
2165  lua_call(L, numargs, LUA_MULTRET);
2166  return lua_gettop(L); /* return all results */
2167 }
2168 
2169 
2170 /* If given metamethod must be present in given class, then creates appropriate proxy
2171  * Returns 1 if successfully added, 0 if not added because no base class has it, -1
2172  * if method is defined in the class metatable itself
2173  */
2174 SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
2175 {
2176  int key_index;
2177  int success = 0;
2178  int i = 0;
2179 
2180  /* metamethod name - on the top of the stack */
2181  assert(lua_isstring(L,-1));
2182 
2183  key_index = lua_gettop(L);
2184 
2185  /* Check whether method is already defined in metatable */
2186  lua_pushvalue(L,key_index); /* copy of the key */
2187  lua_gettable(L,metatable_index);
2188  if( !lua_isnil(L,-1) ) {
2189  lua_pop(L,1);
2190  return -1;
2191  }
2192  lua_pop(L,1);
2193 
2194  /* Iterating over immediate bases */
2195  for(i=0;clss->bases[i];i++)
2196  {
2197  const swig_lua_class *base = clss->bases[i];
2199  lua_pushvalue(L, key_index);
2200  lua_rawget(L, -2);
2201  if( !lua_isnil(L,-1) ) {
2202  lua_pushvalue(L, key_index);
2203 
2204  /* Add proxy function */
2205  lua_pushvalue(L, key_index); /* first closure value is function name */
2206  lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */
2207  lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2);
2208 
2209  lua_rawset(L, metatable_index);
2210  success = 1;
2211  }
2212  lua_pop(L,1); /* remove function or nil */
2213  lua_pop(L,1); /* remove base class metatable */
2214 
2215  if( success )
2216  break;
2217  }
2218 
2219  return success;
2220 }
2221 
2223 {
2224  int metatable_index;
2225  int metamethods_info_index;
2226  int tostring_undefined;
2227  int eq_undefined = 0;
2228 
2230  metatable_index = lua_gettop(L);
2232  assert(lua_istable(L,-1));
2233  metamethods_info_index = lua_gettop(L);
2234  lua_pushnil(L); /* first key */
2235  while(lua_next(L, metamethods_info_index) != 0 ) {
2236  /* key at index -2, value at index -1 */
2237  const int is_inheritable = lua_toboolean(L,-2);
2238  lua_pop(L,1); /* remove value - we don't need it anymore */
2239 
2240  if(is_inheritable) { /* if metamethod is inheritable */
2241  SWIG_Lua_add_class_user_metamethod(L,clss,metatable_index);
2242  }
2243  }
2244 
2245  lua_pop(L,1); /* remove inheritable metatmethods table */
2246 
2247  /* Special handling for __tostring method */
2248  lua_pushstring(L, "__tostring");
2249  lua_pushvalue(L,-1);
2250  lua_rawget(L,metatable_index);
2251  tostring_undefined = lua_isnil(L,-1);
2252  lua_pop(L,1);
2253  if( tostring_undefined ) {
2254  lua_pushcfunction(L, SWIG_Lua_class_tostring);
2255  lua_rawset(L, metatable_index);
2256  } else {
2257  lua_pop(L,1); /* remove copy of the key */
2258  }
2259 
2260  /* Special handling for __eq method */
2261  lua_pushstring(L, "__eq");
2262  lua_pushvalue(L,-1);
2263  lua_rawget(L,metatable_index);
2264  eq_undefined = lua_isnil(L,-1);
2265  lua_pop(L,1);
2266  if( eq_undefined ) {
2267  lua_pushcfunction(L, SWIG_Lua_class_equal);
2268  lua_rawset(L, metatable_index);
2269  } else {
2270  lua_pop(L,1); /* remove copy of the key */
2271  }
2272  /* Warning: __index and __newindex are SWIG-defined. For user-defined operator[]
2273  * a __getitem/__setitem method should be defined
2274  */
2275  lua_pop(L,1); /* pop class metatable */
2276 }
2277 
2278 /* Register class static methods,attributes etc as well as constructor proxy */
2280 {
2281  const int SWIGUNUSED begin = lua_gettop(L);
2282  lua_checkstack(L,5); /* just in case */
2283  assert(lua_istable(L,-1)); /* just in case */
2284  assert(strcmp(clss->name, clss->cls_static->name) == 0); /* in class those 2 must be equal */
2285 
2287 
2288  assert(lua_istable(L,-1)); /* just in case */
2289 
2290  /* add its constructor to module with the name of the class
2291  so you can do MyClass(...) as well as new_MyClass(...)
2292  BUT only if a constructor is defined
2293  (this overcomes the problem of pure virtual classes without constructors)*/
2294  if (clss->constructor)
2295  {
2296  lua_getmetatable(L,-1);
2297  assert(lua_istable(L,-1)); /* just in case */
2298  SWIG_Lua_add_function(L,"__call", clss->constructor);
2299  lua_pop(L,1);
2300  }
2301 
2302  assert(lua_istable(L,-1)); /* just in case */
2304 
2305  /* clear stack */
2306  lua_pop(L,1);
2307  assert( lua_gettop(L) == begin );
2308 }
2309 
2310 /* Performs the instance (non-static) class registration process. Metatable for class is created
2311  * and added to the class registry.
2312  */
2314 {
2315  const int SWIGUNUSED begin = lua_gettop(L);
2316  int i;
2317  /* if name already there (class is already registered) then do nothing */
2318  SWIG_Lua_get_class_registry(L); /* get the registry */
2319  lua_pushstring(L,clss->fqname); /* get the name */
2320  lua_rawget(L,-2);
2321  if(!lua_isnil(L,-1)) {
2322  lua_pop(L,2);
2323  assert(lua_gettop(L)==begin);
2324  return;
2325  }
2326  lua_pop(L,2); /* tidy stack */
2327  /* Recursively initialize all bases */
2328  for(i=0;clss->bases[i];i++)
2329  {
2331  }
2332  /* Again, get registry and push name */
2333  SWIG_Lua_get_class_registry(L); /* get the registry */
2334  lua_pushstring(L,clss->fqname); /* get the name */
2335  lua_newtable(L); /* create the metatable */
2336 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2337  /* If squashing is requested, then merges all bases metatable into this one.
2338  * It would get us all special methods: __getitem, __add etc.
2339  * This would set .fn, .type, and other .xxx incorrectly, but we will overwrite it right away
2340  */
2341  {
2342  int new_metatable_index = lua_absindex(L,-1);
2343  for(i=0;clss->bases[i];i++)
2344  {
2345  int base_metatable;
2347  base_metatable = lua_absindex(L,-1);
2348  SWIG_Lua_merge_tables_by_index(L,new_metatable_index, base_metatable);
2349  lua_pop(L,1);
2350  }
2351  }
2352  /* And now we will overwrite all incorrectly set data */
2353 #endif
2354  /* add string of class name called ".type" */
2355  lua_pushstring(L,".type");
2356  lua_pushstring(L,clss->fqname);
2357  lua_rawset(L,-3);
2358  /* add a table called bases */
2359  lua_pushstring(L,".bases");
2360  lua_newtable(L);
2361  lua_rawset(L,-3);
2362  /* add a table called ".get" */
2363  lua_pushstring(L,".get");
2364  lua_newtable(L);
2365  lua_rawset(L,-3);
2366  /* add a table called ".set" */
2367  lua_pushstring(L,".set");
2368  lua_newtable(L);
2369  lua_rawset(L,-3);
2370  /* add a table called ".fn" */
2371  lua_pushstring(L,".fn");
2372  lua_newtable(L);
2373  /* add manual disown method */
2375  lua_rawset(L,-3);
2376  /* add accessor fns for using the .get,.set&.fn */
2378  SWIG_Lua_add_function(L,"__newindex",SWIG_Lua_class_set);
2380  /* add it */
2381  lua_rawset(L,-3); /* metatable into registry */
2382  lua_pop(L,1); /* tidy stack (remove registry) */
2383  assert(lua_gettop(L) == begin);
2384 
2385 #if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2386  /* Now merge all symbols from .fn, .set, .get etc from bases to our tables */
2387  SWIG_Lua_class_squash_bases(L,clss);
2388 #endif
2390  SWIG_Lua_add_class_instance_details(L,clss); /* recursive adding of details (atts & ops) */
2391  lua_pop(L,1); /* tidy stack (remove class metatable) */
2392  assert( lua_gettop(L) == begin );
2393 }
2394 
2396 {
2397  int SWIGUNUSED begin;
2398  assert(lua_istable(L,-1)); /* This is a table (module or namespace) where classes will be added */
2401 
2402  /* Add links from static part to instance part and vice versa */
2403  /* [SWIG registry] [Module]
2404  * "MyClass" ----> [MyClass metatable] <===== "MyClass" -+> [static part]
2405  * ".get" ----> ... | | getmetatable()----|
2406  * ".set" ----> ... | | |
2407  * ".static" --------------)----------------/ [static part metatable]
2408  * | ".get" --> ...
2409  * | ".set" --> ....
2410  * |=============================== ".instance"
2411  */
2412  begin = lua_gettop(L);
2413  lua_pushstring(L,clss->cls_static->name);
2414  lua_rawget(L,-2); /* get class static table */
2415  assert(lua_istable(L,-1));
2416  lua_getmetatable(L,-1);
2417  assert(lua_istable(L,-1)); /* get class static metatable */
2418  lua_pushstring(L,".instance"); /* prepare key */
2419 
2420  SWIG_Lua_get_class_metatable(L,clss->fqname); /* get class metatable */
2421  assert(lua_istable(L,-1));
2422  lua_pushstring(L,".static"); /* prepare key */
2423  lua_pushvalue(L, -4); /* push static class TABLE */
2424  assert(lua_istable(L,-1));
2425  lua_rawset(L,-3); /* assign static class table(!NOT metatable) as ".static" member of class metatable */
2426  lua_rawset(L,-3); /* assign class metatable as ".instance" member of class static METATABLE */
2427  lua_pop(L,2);
2428  assert(lua_gettop(L) == begin);
2429 }
2430 #endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
2431 
2432 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
2433 SWIGINTERN void SWIG_Lua_elua_class_register_instance(lua_State *L, swig_lua_class *clss)
2434 {
2435  const int SWIGUNUSED begin = lua_gettop(L);
2436  int i;
2437  /* if name already there (class is already registered) then do nothing */
2438  SWIG_Lua_get_class_registry(L); /* get the registry */
2439  lua_pushstring(L,clss->fqname); /* get the name */
2440  lua_rawget(L,-2);
2441  if(!lua_isnil(L,-1)) {
2442  lua_pop(L,2);
2443  assert(lua_gettop(L)==begin);
2444  return;
2445  }
2446  lua_pop(L,2); /* tidy stack */
2447  /* Recursively initialize all bases */
2448  for(i=0;clss->bases[i];i++)
2449  {
2450  SWIG_Lua_elua_class_register_instance(L,clss->bases[i]);
2451  }
2452  /* Again, get registry and push name */
2453  SWIG_Lua_get_class_registry(L); /* get the registry */
2454  lua_pushstring(L,clss->fqname); /* get the name */
2455  assert(clss->metatable);
2456  lua_pushrotable(L, (void*)(clss->metatable)); /* create the metatable */
2457  lua_rawset(L,-3);
2458  lua_pop(L,1);
2459  assert(lua_gettop(L) == begin);
2460 }
2461 #endif /* elua && eluac */
2462 
2463 /* -----------------------------------------------------------------------------
2464  * Class/structure conversion fns
2465  * ----------------------------------------------------------------------------- */
2466 
2467 /* helper to add metatable to new lua object */
2468 SWIGINTERN void SWIG_Lua_AddMetatable(lua_State *L,swig_type_info *type)
2469 {
2470  if (type->clientdata) /* there is clientdata: so add the metatable */
2471  {
2473  if (lua_istable(L,-1))
2474  {
2475  lua_setmetatable(L,-2);
2476  }
2477  else
2478  {
2479  lua_pop(L,1);
2480  }
2481  }
2482 }
2483 
2484 /* pushes a new object into the lua stack */
2485 SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own)
2486 {
2487  swig_lua_userdata *usr;
2488  if (!ptr){
2489  lua_pushnil(L);
2490  return;
2491  }
2492  usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */
2493  usr->ptr=ptr; /* set the ptr */
2494  usr->type=type;
2495  usr->own=own;
2496 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
2497  SWIG_Lua_AddMetatable(L,type); /* add metatable */
2498 #endif
2499 }
2500 
2501 /* takes a object from the lua stack & converts it into an object of the correct type
2502  (if possible) */
2503 SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type_info *type,int flags)
2504 {
2505  swig_lua_userdata *usr;
2506  swig_cast_info *cast;
2507  if (lua_isnil(L,index)){*ptr=0; return SWIG_OK;} /* special case: lua nil => NULL pointer */
2508  usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */
2509  if (usr)
2510  {
2511  if (flags & SWIG_POINTER_DISOWN) /* must disown the object */
2512  {
2513  usr->own=0;
2514  }
2515  if (!type) /* special cast void*, no casting fn */
2516  {
2517  *ptr=usr->ptr;
2518  return SWIG_OK; /* ok */
2519  }
2520  cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */
2521  if (cast)
2522  {
2523  int newmemory = 0;
2524  *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory);
2525  assert(!newmemory); /* newmemory handling not yet implemented */
2526  return SWIG_OK; /* ok */
2527  }
2528  }
2529  return SWIG_ERROR; /* error */
2530 }
2531 
2532 SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State *L,int index,swig_type_info *type,int flags,
2533  int argnum,const char *func_name){
2534  void *result;
2535  if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){
2536  luaL_error (L,"Error in %s, expected a %s at argument number %d\n",
2537  func_name,(type && type->str)?type->str:"void*",argnum);
2538  }
2539  return result;
2540 }
2541 
2542 /* pushes a packed userdata. user for member fn pointers only */
2543 SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type)
2544 {
2545  swig_lua_rawdata *raw;
2546  assert(ptr); /* not acceptable to pass in a NULL value */
2547  raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */
2548  raw->type=type;
2549  raw->own=0;
2550  memcpy(raw->data,ptr,size); /* copy the data */
2551  SWIG_Lua_AddMetatable(L,type); /* add metatable */
2552 }
2553 
2554 /* converts a packed userdata. user for member fn pointers only */
2555 SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type)
2556 {
2557  swig_lua_rawdata *raw;
2558  raw=(swig_lua_rawdata*)lua_touserdata(L,index); /* get data */
2559  if (!raw) return SWIG_ERROR; /* error */
2560  if (type==0 || type==raw->type) /* void* or identical type */
2561  {
2562  memcpy(ptr,raw->data,size); /* copy it */
2563  return SWIG_OK; /* ok */
2564  }
2565  return SWIG_ERROR; /* error */
2566 }
2567 
2568 /* a function to get the typestring of a piece of data */
2569 SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
2570 {
2571  swig_lua_userdata *usr;
2572  if (lua_isuserdata(L,tp))
2573  {
2574  usr=(swig_lua_userdata*)lua_touserdata(L,tp); /* get data */
2575  if (usr && usr->type && usr->type->str)
2576  return usr->type->str;
2577  return "userdata (unknown type)";
2578  }
2579  return lua_typename(L,lua_type(L,tp));
2580 }
2581 
2582 /* lua callable function to get the userdata's type */
2583 SWIGRUNTIME int SWIG_Lua_type(lua_State *L)
2584 {
2585  lua_pushstring(L,SWIG_Lua_typename(L,1));
2586  return 1;
2587 }
2588 
2589 /* -----------------------------------------------------------------------------
2590  * global variable support code: class/struct typemap functions
2591  * ----------------------------------------------------------------------------- */
2592 
2593 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
2594 /* Install Constants */
2595 SWIGINTERN void
2596 SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]) {
2597  int i;
2598  for (i = 0; constants[i].type; i++) {
2599  switch(constants[i].type) {
2600  case SWIG_LUA_INT:
2601  lua_pushstring(L,constants[i].name);
2602  lua_pushinteger(L,(lua_Number)constants[i].lvalue);
2603  lua_rawset(L,-3);
2604  break;
2605  case SWIG_LUA_FLOAT:
2606  lua_pushstring(L,constants[i].name);
2607  lua_pushnumber(L,(lua_Number)constants[i].dvalue);
2608  lua_rawset(L,-3);
2609  break;
2610  case SWIG_LUA_CHAR:
2611  lua_pushstring(L,constants[i].name);
2612  {
2613  char c = constants[i].lvalue;
2614  lua_pushlstring(L,&c,1);
2615  }
2616  lua_rawset(L,-3);
2617  break;
2618  case SWIG_LUA_STRING:
2619  lua_pushstring(L,constants[i].name);
2620  lua_pushstring(L,(char *) constants[i].pvalue);
2621  lua_rawset(L,-3);
2622  break;
2623  case SWIG_LUA_POINTER:
2624  lua_pushstring(L,constants[i].name);
2625  SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0);
2626  lua_rawset(L,-3);
2627  break;
2628  case SWIG_LUA_BINARY:
2629  lua_pushstring(L,constants[i].name);
2630  SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
2631  lua_rawset(L,-3);
2632  break;
2633  default:
2634  break;
2635  }
2636  }
2637 }
2638 #endif
2639 
2640 /* -----------------------------------------------------------------------------
2641  * executing lua code from within the wrapper
2642  * ----------------------------------------------------------------------------- */
2643 
2644 #ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */
2645 #define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
2646 #endif
2647 /* Executes a C string in Lua which is a really simple way of calling lua from C
2648 Unfortunately lua keeps changing its APIs, so we need a conditional compile
2649 In lua 5.0.X it's lua_dostring()
2650 In lua 5.1.X it's luaL_dostring()
2651 */
2652 SWIGINTERN int
2653 SWIG_Lua_dostring(lua_State *L, const char *str) {
2654  int ok,top;
2655  if (str==0 || str[0]==0) return 0; /* nothing to do */
2656  top=lua_gettop(L); /* save stack */
2657 #if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
2658  ok=luaL_dostring(L,str); /* looks like this is lua 5.1.X or later, good */
2659 #else
2660  ok=lua_dostring(L,str); /* might be lua 5.0.x, using lua_dostring */
2661 #endif
2662  if (ok!=0) {
2663  SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
2664  }
2665  lua_settop(L,top); /* restore the stack */
2666  return ok;
2667 }
2668 
2669 #ifdef __cplusplus
2670 }
2671 #endif
2672 
2673 /* ------------------------------ end luarun.swg ------------------------------ */
2674 
2675 
2676 /* -------- TYPES TABLE (BEGIN) -------- */
2677 
2678 #define SWIGTYPE_p_LUA_EVENT swig_types[0]
2679 #define SWIGTYPE_p_LUA_FUNCTION swig_types[1]
2680 #define SWIGTYPE_p_LUA_METHOD swig_types[2]
2681 #define SWIGTYPE_p_align_t swig_types[3]
2682 #define SWIGTYPE_p_cvar_t swig_types[4]
2683 #define SWIGTYPE_p_invDef_t swig_types[5]
2684 #define SWIGTYPE_p_itemFilterTypes_t swig_types[6]
2685 #define SWIGTYPE_p_layoutAlign_t swig_types[7]
2686 #define SWIGTYPE_p_linkedList_t swig_types[8]
2687 #define SWIGTYPE_p_longlines_t swig_types[9]
2688 #define SWIGTYPE_p_panelLayout_t swig_types[10]
2689 #define SWIGTYPE_p_uiAbstractOptionNode_t swig_types[11]
2690 #define SWIGTYPE_p_uiAbstractScrollableNode_t swig_types[12]
2691 #define SWIGTYPE_p_uiAbstractScrollbarNode_t swig_types[13]
2692 #define SWIGTYPE_p_uiAbstractValueNode_t swig_types[14]
2693 #define SWIGTYPE_p_uiBarNode_t swig_types[15]
2694 #define SWIGTYPE_p_uiBaseInventoryNode_t swig_types[16]
2695 #define SWIGTYPE_p_uiBaseLayoutNode_t swig_types[17]
2696 #define SWIGTYPE_p_uiButtonNode_t swig_types[18]
2697 #define SWIGTYPE_p_uiCheckBoxNode_t swig_types[19]
2698 #define SWIGTYPE_p_uiConFuncNode_t swig_types[20]
2699 #define SWIGTYPE_p_uiContainerNode_t swig_types[21]
2700 #define SWIGTYPE_p_uiDataNode_t swig_types[22]
2701 #define SWIGTYPE_p_uiGeoscapeNode_t swig_types[23]
2702 #define SWIGTYPE_p_uiImageNode_t swig_types[24]
2703 #define SWIGTYPE_p_uiItemNode_t swig_types[25]
2704 #define SWIGTYPE_p_uiLineChartNode_t swig_types[26]
2705 #define SWIGTYPE_p_uiMessageListNode_t swig_types[27]
2706 #define SWIGTYPE_p_uiModelNode_t swig_types[28]
2707 #define SWIGTYPE_p_uiNode_t swig_types[29]
2708 #define SWIGTYPE_p_uiOptionListNode_t swig_types[30]
2709 #define SWIGTYPE_p_uiOptionNode_t swig_types[31]
2710 #define SWIGTYPE_p_uiOptionTreeNode_t swig_types[32]
2711 #define SWIGTYPE_p_uiPanelNode_t swig_types[33]
2712 #define SWIGTYPE_p_uiRadarNode_t swig_types[34]
2713 #define SWIGTYPE_p_uiRadioButtonNode_t swig_types[35]
2714 #define SWIGTYPE_p_uiRowsNode_t swig_types[36]
2715 #define SWIGTYPE_p_uiSelectBoxNode_t swig_types[37]
2716 #define SWIGTYPE_p_uiSequenceNode_t swig_types[38]
2717 #define SWIGTYPE_p_uiSpinnerNode_t swig_types[39]
2718 #define SWIGTYPE_p_uiStringNode_t swig_types[40]
2719 #define SWIGTYPE_p_uiTBarNode_t swig_types[41]
2720 #define SWIGTYPE_p_uiTabNode_t swig_types[42]
2721 #define SWIGTYPE_p_uiText2Node_t swig_types[43]
2722 #define SWIGTYPE_p_uiTextEntryNode_t swig_types[44]
2723 #define SWIGTYPE_p_uiTextListNode_t swig_types[45]
2724 #define SWIGTYPE_p_uiTextNode_t swig_types[46]
2725 #define SWIGTYPE_p_uiTextureNode_t swig_types[47]
2726 #define SWIGTYPE_p_uiTimerNode_t swig_types[48]
2727 #define SWIGTYPE_p_uiVScrollBarNode_t swig_types[49]
2728 #define SWIGTYPE_p_uiVideoNode_t swig_types[50]
2729 #define SWIGTYPE_p_uiWidgetNode_t swig_types[51]
2730 #define SWIGTYPE_p_uiWindowNode_t swig_types[52]
2731 #define SWIGTYPE_p_uiZoneNode_t swig_types[53]
2732 #define SWIGTYPE_p_vec2_struct_t swig_types[54]
2733 #define SWIGTYPE_p_vec3_struct_t swig_types[55]
2734 static swig_type_info *swig_types[57];
2735 static swig_module_info swig_module = {swig_types, 56, 0, 0, 0, 0};
2736 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2737 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2738 
2739 /* -------- TYPES TABLE (END) -------- */
2740 
2741 #define SWIG_name "ufo"
2742 #define SWIG_init luaopen_ufo
2743 #define SWIG_init_user luaopen_ufo_user
2744 
2745 #define SWIG_LUACODE luaopen_ufo_luacode
2746 
2747 namespace swig {
2748 typedef struct{} LANGUAGE_OBJ;
2749 }
2750 
2751 
2752 /* disable all casting warnings (enabled at the bottom line of this file) */
2753 #pragma GCC diagnostic ignored "-Wcast-qual"
2754 
2755 /* common client stuff */
2756 #include "../../../shared/shared.h"
2757 #include "../../../shared/vector.h"
2758 #include "../../../shared/ufotypes.h"
2759 #include "../../../common/cvar.h"
2760 #include "../../../common/scripts.h"
2761 #include "../../../common/scripts_lua.h"
2762 
2763 #include "../../cl_renderer.h"
2764 #include "../../cl_inventory.h"
2765 
2766 /* ui specific stuff */
2767 #include "../ui_behaviour.h"
2768 #include "../ui_data.h"
2769 #include "../ui_dataids.h"
2770 #include "../ui_node.h"
2771 #include "../ui_nodes.h"
2772 #include "../ui_main.h"
2773 #include "../ui_sprite.h"
2774 
2775 #include "../node/ui_node_abstractnode.h"
2776 #include "../node/ui_node_abstractoption.h"
2777 #include "../node/ui_node_abstractscrollable.h"
2778 #include "../node/ui_node_abstractscrollbar.h"
2779 #include "../node/ui_node_abstractvalue.h"
2780 
2781 #include "../node/ui_node_bar.h"
2782 #include "../node/ui_node_base.h"
2783 #include "../node/ui_node_baseinventory.h"
2784 #include "../node/ui_node_battlescape.h"
2785 #include "../node/ui_node_button.h"
2786 #include "../node/ui_node_checkbox.h"
2787 #include "../node/ui_node_container.h"
2788 #include "../node/ui_node_controls.h"
2789 #include "../node/ui_node_data.h"
2790 #include "../node/ui_node_geoscape.h"
2791 #include "../node/ui_node_image.h"
2792 #include "../node/ui_node_item.h"
2793 #include "../node/ui_node_linechart.h"
2794 #include "../node/ui_node_messagelist.h"
2795 #include "../node/ui_node_model.h"
2796 #include "../node/ui_node_option.h"
2797 #include "../node/ui_node_optionlist.h"
2798 #include "../node/ui_node_optiontree.h"
2799 #include "../node/ui_node_panel.h"
2800 #include "../node/ui_node_radar.h"
2801 #include "../node/ui_node_radiobutton.h"
2802 #include "../node/ui_node_rows.h"
2803 #include "../node/ui_node_selectbox.h"
2804 #include "../node/ui_node_sequence.h"
2805 #include "../node/ui_node_special.h"
2806 #include "../node/ui_node_spinner.h"
2807 #include "../node/ui_node_string.h"
2808 #include "../node/ui_node_tab.h"
2809 #include "../node/ui_node_tbar.h"
2810 #include "../node/ui_node_text.h"
2811 #include "../node/ui_node_text2.h"
2812 #include "../node/ui_node_textentry.h"
2813 #include "../node/ui_node_textlist.h"
2814 #include "../node/ui_node_texture.h"
2815 #include "../node/ui_node_timer.h"
2816 #include "../node/ui_node_video.h"
2817 #include "../node/ui_node_vscrollbar.h"
2818 #include "../node/ui_node_window.h"
2819 #include "../node/ui_node_zone.h"
2820 
2821 #include "../ui_lua.h"
2822 
2823 /* other game stuff */
2824 #include "../../../game/inv_shared.h"
2825 
2834 
2870 typedef uiNode_t uiWidgetNode_t; /* note: ufo class = "controls" */
2873 
2874 // skipped: uiFuncNode, uiNullNode
2875 
2880 void* UI_SWIG_TypeQuery (const char* name)
2881 {
2882  swig_type_info* info = SWIG_TypeQuery(name);
2883  if (!info) {
2884  info = SWIG_TypeQuery("uiNode_t *");
2885  }
2886  return info;
2887 }
2888 
2892 const char* UI_SWIG_NodeTypeName (void* node)
2893 {
2894  swig_type_info* info = (swig_type_info*)((uiNode_t*)node)->behaviour->lua_SWIG_typeinfo;
2895  return info->str;
2896 }
2897 
2898 
2899 SWIGINTERN char *cvar_t_name(cvar_t *self){ return self->name; }
2900 SWIGINTERN char *cvar_t_as_string(cvar_t *self){ return self->string; }
2901 SWIGINTERN float cvar_t_as_float(cvar_t *self){ return self->value; }
2902 SWIGINTERN int cvar_t_as_integer(cvar_t *self){ return self->integer; }
2903 SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self,float number){ Cvar_SetValue(self->name, number); }
2904 
2905 SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) {
2906  int ret = lua_isstring(L, idx);
2907  if (!ret)
2908  ret = lua_isnil(L, idx);
2909  return ret;
2910 }
2911 
2912 SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self,char const *text){ Cvar_Set(self->name, "%s", text); }
2913 SWIGINTERN char *invDef_t_name(invDef_t *self){ return self->name; }
2922 SWIGINTERN float uiNode_t_left(uiNode_t *self){ return self->box.pos[0]; }
2923 SWIGINTERN float uiNode_t_top(uiNode_t *self){ return self->box.pos[1]; }
2924 SWIGINTERN float uiNode_t_width(uiNode_t *self){ return self->box.size[0]; }
2925 SWIGINTERN float uiNode_t_height(uiNode_t *self){ return self->box.size[1]; }
2926 SWIGINTERN int uiNode_t_bordersize(uiNode_t *self){ return self->border; }
2927 SWIGINTERN char const *uiNode_t_name(uiNode_t *self){ return self->name; }
2928 SWIGINTERN char const *uiNode_t_type(uiNode_t *self){ return self->behaviour->name; }
2929 SWIGINTERN char const *uiNode_t_text(uiNode_t *self){ return UI_Node_GetText(self); }
2930 SWIGINTERN char const *uiNode_t_font(uiNode_t *self){ return self->font; }
2931 SWIGINTERN char const *uiNode_t_image(uiNode_t *self){ return self->image; }
2932 SWIGINTERN int uiNode_t_contentalign(uiNode_t *self){ return self->contentAlign; }
2933 SWIGINTERN int uiNode_t_layoutalign(uiNode_t *self){ return self->align; }
2934 SWIGINTERN float uiNode_t_flashspeed(uiNode_t *self){ return self->flashSpeed; }
2935 SWIGINTERN int uiNode_t_padding(uiNode_t *self){ return self->padding; }
2941 SWIGINTERN uiNode_t *uiNode_t_child(uiNode_t *self,char const *name){ return UI_GetNode(self, name); }
2942 SWIGINTERN uiNode_t *uiNode_t_find(uiNode_t *self,char const *name){ return UI_FindNode(self, name); }
2944 SWIGINTERN void uiNode_t_insert_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_InsertNode(self, prev, node); }
2945 SWIGINTERN void uiNode_t_move_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_MoveNode(self, prev, node); }
2948 SWIGINTERN void uiNode_t_set_left(uiNode_t *self,float value){ UI_NodeSetBox(self, value, -1, -1, -1); }
2949 SWIGINTERN void uiNode_t_set_top(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, value, -1, -1); }
2950 SWIGINTERN void uiNode_t_set_width(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, value, -1); }
2951 SWIGINTERN void uiNode_t_set_height(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, -1, value); }
2952 SWIGINTERN void uiNode_t_set_box(uiNode_t *self,float left,float top,float width,float height){ UI_NodeSetBox(self, left, top, width, height); }
2953 SWIGINTERN void uiNode_t_set_flashing(uiNode_t *self,bool value){ self->flash = value; }
2954 SWIGINTERN void uiNode_t_set_flashspeed(uiNode_t *self,float value){ self->flashSpeed = value; }
2955 SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self,bool value){ self->invis = value; }
2956 SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self,bool value){ self->ghost = value; }
2957 SWIGINTERN void uiNode_t_set_pos(uiNode_t *self,float x,float y){ UI_NodeSetPos(self, x, y); }
2958 SWIGINTERN void uiNode_t_set_size(uiNode_t *self,float w,float h){ UI_NodeSetSize(self, w, h); }
2959 SWIGINTERN void uiNode_t_set_color(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->color, r, g, b, a); }
2960 SWIGINTERN void uiNode_t_set_disabledcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->disabledColor, r, g, b, a); }
2961 SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->flashColor, r, g, b, a); }
2962 SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->selectedColor, r, g, b, a); }
2963 SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bgcolor, r, g, b, a); }
2964 SWIGINTERN void uiNode_t_set_bordersize(uiNode_t *self,int size){ self->border = size; }
2965 SWIGINTERN void uiNode_t_set_bordercolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bordercolor, r, g, b, a); }
2966 SWIGINTERN void uiNode_t_set_text(uiNode_t *self,char const *text){ UI_Node_SetText(self, text); }
2967 SWIGINTERN void uiNode_t_set_font(uiNode_t *self,char const *name){ UI_Node_SetFont(self, name); }
2968 SWIGINTERN void uiNode_t_set_image(uiNode_t *self,char const *name){ UI_Node_SetImage (self, name); }
2969 SWIGINTERN void uiNode_t_set_contentalign(uiNode_t *self,int value){ self->contentAlign = value; }
2970 SWIGINTERN void uiNode_t_set_layoutalign(uiNode_t *self,int value){ self->align = value; }
2971 SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self,char const *text){ UI_Node_SetTooltip(self, text); }
2972 SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self,bool value){ UI_Node_SetDisabled(self, value); }
2973 SWIGINTERN void uiNode_t_set_borderthickness(uiNode_t *self,int value){ self->border = value; }
2974 SWIGINTERN void uiNode_t_set_padding(uiNode_t *self,int value){ self->padding = value; }
2975 SWIGINTERN void uiNode_t___setitem(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_Node_SetItem(self, name, fcn); }
2976 SWIGINTERN LUA_METHOD uiNode_t___getitem(uiNode_t *self,char const *name){ LUA_METHOD fcn = UI_Node_GetItem(self, name); return fcn; }
2977 SWIGINTERN void uiNode_t_add_classmethod(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_AddBehaviourMethod(self->behaviour, name, fcn); }
2978 SWIGINTERN void uiNode_t_add_nodemethod(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_AddNodeMethod(self, name, fcn); }
2979 SWIGINTERN int uiAbstractOptionNode_t_dataid(uiAbstractOptionNode_t *self){ return UI_AbstractOption_GetDataId(self); }
2980 SWIGINTERN int uiAbstractOptionNode_t_count(uiAbstractOptionNode_t *self){ return UI_AbstractOption_GetCount(self); }
2981 SWIGINTERN int uiAbstractOptionNode_t_lineheight(uiAbstractOptionNode_t *self){ return UI_EXTRADATA(self, abstractOptionExtraData_t).lineHeight; }
2982 SWIGINTERN char const *uiAbstractOptionNode_t_cvar(uiAbstractOptionNode_t *self){ return UI_AbstractOption_GetCvar(self); }
2983 SWIGINTERN int uiAbstractOptionNode_t_current(uiAbstractOptionNode_t *self){ return UI_AbstractOption_Scroll_Current(self); }
2984 SWIGINTERN int uiAbstractOptionNode_t_viewsize(uiAbstractOptionNode_t *self){ return UI_AbstractOption_Scroll_ViewSize(self); }
2985 SWIGINTERN int uiAbstractOptionNode_t_fullsize(uiAbstractOptionNode_t *self){ return UI_AbstractOption_Scroll_FullSize(self); }
2986 SWIGINTERN void uiAbstractOptionNode_t_set_dataid(uiAbstractOptionNode_t *self,int id){ UI_AbstractOption_SetDataId(self, id); }
2987 SWIGINTERN void uiAbstractOptionNode_t_set_cvar(uiAbstractOptionNode_t *self,char const *name){ UI_AbstractOption_SetCvar (self, name); }
2988 SWIGINTERN void uiAbstractOptionNode_t_set_lineheight(uiAbstractOptionNode_t *self,int value){ UI_EXTRADATA(self, abstractOptionExtraData_t).lineHeight = value; }
2989 SWIGINTERN void uiAbstractOptionNode_t_set_background(uiAbstractOptionNode_t *self,char const *name){ UI_AbstractOption_SetBackgroundByName(self, name); }
2990 SWIGINTERN void uiAbstractOptionNode_t_set_current(uiAbstractOptionNode_t *self,int pos){ UI_AbstractOption_Scroll_SetCurrent(self, pos); }
2991 SWIGINTERN void uiAbstractOptionNode_t_set_viewsize(uiAbstractOptionNode_t *self,int size){ UI_AbstractOption_Scroll_SetViewSize(self, size); }
2993 
2994 static LUA_EVENT uiAbstractOptionNode_t_lua_onViewChange_get(uiAbstractOptionNode_t* node) {
2995  return UI_EXTRADATA(node, abstractOptionExtraData_t).lua_onViewChange;
2996 }
2997 static void uiAbstractOptionNode_t_lua_onViewChange_set(uiAbstractOptionNode_t* node, LUA_EVENT fn) {
2998  UI_EXTRADATA(node, abstractOptionExtraData_t).lua_onViewChange = fn;
2999 }
3000 
3001 SWIGINTERN int uiAbstractScrollableNode_t_viewpos(uiAbstractScrollableNode_t *self){ return UI_EXTRADATA(self, abstractScrollableExtraData_t).scrollY.viewPos; }
3002 SWIGINTERN int uiAbstractScrollableNode_t_viewsize(uiAbstractScrollableNode_t *self){ return UI_EXTRADATA(self, abstractScrollableExtraData_t).scrollY.viewSize; }
3003 SWIGINTERN int uiAbstractScrollableNode_t_fullsize(uiAbstractScrollableNode_t *self){ return UI_EXTRADATA(self, abstractScrollableExtraData_t).scrollY.fullSize; }
3004 SWIGINTERN void uiAbstractScrollableNode_t_pageup(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->pageUp(self); }
3005 SWIGINTERN void uiAbstractScrollableNode_t_pagedown(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->pageDown(self); }
3006 SWIGINTERN void uiAbstractScrollableNode_t_moveup(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveUp(self); }
3007 SWIGINTERN void uiAbstractScrollableNode_t_movedown(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveDown(self); }
3008 SWIGINTERN void uiAbstractScrollableNode_t_movehome(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveHome(self); }
3009 SWIGINTERN void uiAbstractScrollableNode_t_moveend(uiAbstractScrollableNode_t *self){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->moveEnd(self); }
3010 SWIGINTERN void uiAbstractScrollableNode_t_set_viewpos(uiAbstractScrollableNode_t *self,int pos){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, pos, -1, -1); }
3011 SWIGINTERN void uiAbstractScrollableNode_t_set_viewsize(uiAbstractScrollableNode_t *self,int size){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, -1, size, -1); }
3012 SWIGINTERN void uiAbstractScrollableNode_t_set_fullsize(uiAbstractScrollableNode_t *self,int size){ dynamic_cast<uiAbstractScrollableNode*>(self->behaviour->manager.get())->setScrollY(self, -1, -1, size); }
3013 
3014 static LUA_EVENT uiAbstractScrollableNode_t_lua_onViewChange_get(uiAbstractScrollableNode_t* node) {
3015  return UI_EXTRADATA(node, abstractScrollableExtraData_t).lua_onViewChange;
3016 }
3017 static void uiAbstractScrollableNode_t_lua_onViewChange_set(uiAbstractScrollableNode_t* node, LUA_EVENT fn) {
3018  UI_EXTRADATA(node, abstractScrollableExtraData_t).lua_onViewChange = fn;
3019 }
3020 
3021 SWIGINTERN bool uiAbstractScrollbarNode_t_is_autoshowscroll(uiAbstractScrollbarNode_t *self){ return UI_EXTRADATA(self, abstractScrollbarExtraData_t).hideWhenUnused; }
3022 SWIGINTERN int uiAbstractScrollbarNode_t_current(uiAbstractScrollbarNode_t *self){ return UI_EXTRADATA(self, abstractScrollbarExtraData_t).pos; }
3023 SWIGINTERN int uiAbstractScrollbarNode_t_viewsize(uiAbstractScrollbarNode_t *self){ return UI_EXTRADATA(self, abstractScrollbarExtraData_t).viewsize; }
3024 SWIGINTERN int uiAbstractScrollbarNode_t_fullsize(uiAbstractScrollbarNode_t *self){ return UI_EXTRADATA(self, abstractScrollbarExtraData_t).fullsize; }
3025 SWIGINTERN void uiAbstractScrollbarNode_t_set_autoshowscroll(uiAbstractScrollbarNode_t *self,bool value){ UI_EXTRADATA(self, abstractScrollbarExtraData_t).hideWhenUnused = value; }
3026 SWIGINTERN void uiAbstractScrollbarNode_t_set_current(uiAbstractScrollbarNode_t *self,int pos){ UI_AbstractScrollbarNodeSet(self, pos); }
3027 SWIGINTERN void uiAbstractScrollbarNode_t_set_viewsize(uiAbstractScrollbarNode_t *self,int size){ UI_EXTRADATA(self, abstractScrollbarExtraData_t).viewsize = size; }
3028 SWIGINTERN void uiAbstractScrollbarNode_t_set_fullsize(uiAbstractScrollbarNode_t *self,int size){ UI_EXTRADATA(self, abstractScrollbarExtraData_t).fullsize = size; }
3029 SWIGINTERN float uiAbstractValueNode_t_min(uiAbstractValueNode_t *self){ return UI_AbstractValue_GetMin(self); }
3030 SWIGINTERN float uiAbstractValueNode_t_max(uiAbstractValueNode_t *self){ return UI_AbstractValue_GetMax(self); }
3031 SWIGINTERN float uiAbstractValueNode_t_value(uiAbstractValueNode_t *self){ return UI_AbstractValue_GetValue(self); }
3032 SWIGINTERN float uiAbstractValueNode_t_delta(uiAbstractValueNode_t *self){ return UI_AbstractValue_GetDelta(self); }
3033 SWIGINTERN float uiAbstractValueNode_t_lastdiff(uiAbstractValueNode_t *self){ return UI_AbstractValue_GetLastDiff(self); }
3035 SWIGINTERN void uiAbstractValueNode_t_inc_value(uiAbstractValueNode_t *self){ UI_AbstractValue_IncValue (self); }
3036 SWIGINTERN void uiAbstractValueNode_t_dec_value(uiAbstractValueNode_t *self){ UI_AbstractValue_DecValue (self); }
3037 SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_0(uiAbstractValueNode_t *self,float min,float max){ UI_AbstractValue_SetRange (self, min, max); }
3038 SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_1(uiAbstractValueNode_t *self,char const *min,char const *max){ UI_AbstractValue_SetRangeCvar(self, min, max); }
3039 SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_0(uiAbstractValueNode_t *self,float min){ UI_AbstractValue_SetMin(self, min); }
3040 SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_0(uiAbstractValueNode_t *self,float max){ UI_AbstractValue_SetMax(self, max); }
3041 SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_0(uiAbstractValueNode_t *self,float value){ UI_AbstractValue_SetValue(self, value); }
3042 SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_1(uiAbstractValueNode_t *self,char const *min){ UI_AbstractValue_SetMinCvar(self, min); }
3043 SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_1(uiAbstractValueNode_t *self,char const *max){ UI_AbstractValue_SetMaxCvar(self, max); }
3044 SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_1(uiAbstractValueNode_t *self,char const *name){ UI_AbstractValue_SetValueCvar(self, name); }
3045 SWIGINTERN void uiAbstractValueNode_t_set_delta(uiAbstractValueNode_t *self,float delta){ UI_AbstractValue_SetDelta(self, delta); }
3046 SWIGINTERN void uiAbstractValueNode_t_set_shiftmultiplier(uiAbstractValueNode_t *self,float value){ UI_AbstractValue_SetShiftIncreaseFactor(self, value); }
3047 SWIGINTERN bool uiBarNode_t_is_readonly(uiBarNode_t *self){ return UI_EXTRADATA(self, barExtraData_t).readOnly; }
3048 SWIGINTERN bool uiBarNode_t_is_nohover(uiBarNode_t *self){ return UI_EXTRADATA(self, barExtraData_t).noHover; }
3049 SWIGINTERN int uiBarNode_t_direction(uiBarNode_t *self){ return UI_EXTRADATA(self, barExtraData_t).orientation; }
3050 SWIGINTERN void uiBarNode_t_set_direction(uiBarNode_t *self,int value){ UI_EXTRADATA(self, barExtraData_t).orientation = (align_t)value; }
3051 SWIGINTERN void uiBarNode_t_set_readonly(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).readOnly = value; }
3052 SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).noHover = value; }
3053 SWIGINTERN int uiBaseLayoutNode_t_baseid(uiBaseLayoutNode_t *self){ return UI_EXTRADATA(self, baseExtraData_t).baseid; }
3054 SWIGINTERN void uiBaseLayoutNode_t_set_baseid(uiBaseLayoutNode_t *self,int value){ UI_EXTRADATA(self, baseExtraData_t).baseid = value; }
3055 SWIGINTERN bool uiButtonNode_t_flipicon(uiButtonNode_t *self){ return UI_EXTRADATA(self, buttonExtraData_t).flipIcon; }
3056 SWIGINTERN void uiButtonNode_t_set_flipicon(uiButtonNode_t *self,bool value){ UI_EXTRADATA(self, buttonExtraData_t).flipIcon = value; }
3057 SWIGINTERN void uiButtonNode_t_set_background(uiButtonNode_t *self,char const *name){ UI_Button_SetBackgroundByName(self, name); }
3058 SWIGINTERN void uiButtonNode_t_set_icon(uiButtonNode_t *self,char const *name){ UI_Button_SetIconByName(self, name); }
3059 SWIGINTERN bool uiCheckBoxNode_t_as_boolean(uiCheckBoxNode_t *self){ return UI_CheckBox_ValueAsBoolean(self); }
3060 SWIGINTERN int uiCheckBoxNode_t_as_integer(uiCheckBoxNode_t *self){ return UI_CheckBox_ValueAsInteger(self); }
3061 SWIGINTERN void uiCheckBoxNode_t_set_background(uiCheckBoxNode_t *self,char const *name){ UI_CheckBox_SetBackgroundByName(self, name); }
3062 SWIGINTERN void uiCheckBoxNode_t_set_iconchecked(uiCheckBoxNode_t *self,char const *name){ UI_CheckBox_SetIconCheckedByName(self, name); }
3063 SWIGINTERN void uiCheckBoxNode_t_set_iconunchecked(uiCheckBoxNode_t *self,char const *name){ UI_CheckBox_SetIconUncheckedByName(self, name); }
3064 SWIGINTERN void uiCheckBoxNode_t_set_iconunknown(uiCheckBoxNode_t *self,char const *name){ UI_CheckBox_SetIconUnknownByName(self, name); }
3065 SWIGINTERN void uiCheckBoxNode_t_toggle(uiCheckBoxNode_t *self){ UI_CheckBox_Toggle(self); }
3066 SWIGINTERN int uiContainerNode_t_selectedid(uiContainerNode_t *self){ return UI_EXTRADATA(self, containerExtraData_t).lastSelectedId; }
3067 
3068 static LUA_EVENT uiContainerNode_t_lua_onSelect_get(uiContainerNode_t* node) {
3069  return UI_EXTRADATA(node, containerExtraData_t).lua_onSelect;
3070 }
3071 static void uiContainerNode_t_lua_onSelect_set(uiContainerNode_t* node, LUA_EVENT fn) {
3072  UI_EXTRADATA(node, containerExtraData_t).lua_onSelect = fn;
3073 }
3074 
3075 SWIGINTERN int uiBaseInventoryNode_t_filtertype(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).filterEquipType; }
3076 SWIGINTERN int uiBaseInventoryNode_t_columns(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).columns; }
3077 SWIGINTERN bool uiBaseInventoryNode_t_is_displayweapon(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayWeapon; }
3078 SWIGINTERN bool uiBaseInventoryNode_t_is_displayweaponammo(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayAmmoOfWeapon; }
3079 SWIGINTERN bool uiBaseInventoryNode_t_is_displayammo(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayAmmo; }
3080 SWIGINTERN bool uiBaseInventoryNode_t_is_displayimplant(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayImplant; }
3081 SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailable(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayUnavailableItem; }
3082 SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailableammo(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayUnavailableAmmoOfWeapon; }
3083 SWIGINTERN bool uiBaseInventoryNode_t_is_displayavailableontop(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).displayAvailableOnTop; }
3084 SWIGINTERN void uiBaseInventoryNode_t_set_displayweapon(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayWeapon = value; }
3085 SWIGINTERN void uiBaseInventoryNode_t_set_displayweaponammo(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayAmmoOfWeapon = value; }
3086 SWIGINTERN void uiBaseInventoryNode_t_set_displayammo(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayAmmo = value; }
3087 SWIGINTERN void uiBaseInventoryNode_t_set_displayimplant(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayImplant = value; }
3088 SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailable(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayUnavailableItem = value; }
3089 SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailableammo(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayUnavailableAmmoOfWeapon = value; }
3090 SWIGINTERN void uiBaseInventoryNode_t_set_displayavailableontop(uiBaseInventoryNode_t *self,bool value){ UI_EXTRADATA(self, baseInventoryExtraData_t).displayAvailableOnTop = value; }
3091 SWIGINTERN int uiBaseInventoryNode_t_viewpos(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).scrollY.viewPos; }
3092 SWIGINTERN int uiBaseInventoryNode_t_viewsize(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).scrollY.viewSize; }
3093 SWIGINTERN int uiBaseInventoryNode_t_fullsize(uiBaseInventoryNode_t *self){ return UI_EXTRADATA(self, baseInventoryExtraData_t).scrollY.fullSize; }
3094 SWIGINTERN void uiBaseInventoryNode_t_set_viewpos(uiBaseInventoryNode_t *self,int pos){ UI_EXTRADATA(self, baseInventoryExtraData_t).scrollY.viewPos = pos; }
3095 SWIGINTERN void uiBaseInventoryNode_t_set_viewsize(uiBaseInventoryNode_t *self,int size){ UI_EXTRADATA(self, baseInventoryExtraData_t).scrollY.viewSize = size; }
3096 SWIGINTERN void uiBaseInventoryNode_t_set_fullsize(uiBaseInventoryNode_t *self,int size){ UI_EXTRADATA(self, baseInventoryExtraData_t).scrollY.fullSize = size; }
3097 
3098 static LUA_EVENT uiBaseInventoryNode_t_lua_onViewChange_get(uiBaseInventoryNode_t* node)
3099 {
3100  return UI_EXTRADATA(node, baseInventoryExtraData_t).lua_onViewChange;
3101 }
3102 
3103 static void uiBaseInventoryNode_t_lua_onViewChange_set(uiBaseInventoryNode_t* node, LUA_EVENT fn)
3104 {
3105  UI_EXTRADATA(node, baseInventoryExtraData_t).lua_onViewChange = fn;
3106 }
3107 
3108 SWIGINTERN char *uiDataNode_t_as_string(uiDataNode_t *self){ return const_cast<char*>(UI_Node_GetText(self)); }
3109 SWIGINTERN int uiDataNode_t_as_integer(uiDataNode_t *self){ return UI_EXTRADATA(self, dataExtraData_t).integer; }
3110 SWIGINTERN float uiDataNode_t_as_float(uiDataNode_t *self){ return UI_EXTRADATA(self, dataExtraData_t).number; }
3111 SWIGINTERN void uiDataNode_t_set_value__SWIG_0(uiDataNode_t *self,char const *value){ UI_Node_SetText(self, value); }
3112 SWIGINTERN void uiDataNode_t_set_value__SWIG_1(uiDataNode_t *self,int value){ UI_EXTRADATA(self, dataExtraData_t).integer = value; }
3113 SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self,float value){ UI_EXTRADATA(self, dataExtraData_t).number = value; }
3114 SWIGINTERN int uiGeoscapeNode_t_paddingright(uiGeoscapeNode_t *self){ return UI_EXTRADATA(self, mapExtraData_t).paddingRight; }
3115 SWIGINTERN void uiGeoscapeNode_t_set_paddingright(uiGeoscapeNode_t *self,int value){ UI_EXTRADATA(self, mapExtraData_t).paddingRight = value; }
3116 SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, false); }
3117 SWIGINTERN void uiGeoscapeNode_t_zoomout(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, true); }
3118 SWIGINTERN bool uiImageNode_t_is_keepratio(uiImageNode_t *self){ return UI_EXTRADATA(self, imageExtraData_t).preventRatio; }
3119 SWIGINTERN bool uiImageNode_t_is_mousefx(uiImageNode_t *self){ return UI_EXTRADATA(self, imageExtraData_t).mousefx; }
3122 SWIGINTERN void uiImageNode_t_set_keepratio(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).preventRatio = value; }
3123 SWIGINTERN void uiImageNode_t_set_mousefx(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).mousefx = value; }
3124 SWIGINTERN void uiImageNode_t_set_source(uiImageNode_t *self,char const *name){ UI_Node_SetImage(self, name); }
3125 SWIGINTERN void uiImageNode_t_set_texh(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texh, v1, v2); }
3126 SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texl, v1, v2); }
3127 SWIGINTERN bool uiLineChartNode_t_is_showaxes(uiLineChartNode_t *self){ return UI_EXTRADATA(self, lineChartExtraData_t).displayAxes; }
3128 SWIGINTERN void uiLineChartNode_t_set_showaxes(uiLineChartNode_t *self,bool value){ UI_EXTRADATA(self, lineChartExtraData_t).displayAxes = value; }
3129 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); }
3130 SWIGINTERN void uiLineChartNode_t_clear(uiLineChartNode_t *self){ UI_ClearLineChart(self); }
3131 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){
3132  float color[] = {r, g, b, a};
3133  UI_AddLineChartLine(self, id, visible, color, dots, num_points);
3134  }
3135 SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self,char const *id,int x,int y){ UI_AddLineChartCoord(self, id, x, y); }
3136 SWIGINTERN bool uiModelNode_t_is_autoscale(uiModelNode_t *self){ return UI_EXTRADATA(self, modelExtraData_t).autoscale; }
3137 SWIGINTERN bool uiModelNode_t_is_mouserotate(uiModelNode_t *self){ return UI_EXTRADATA(self, modelExtraData_t).rotateWithMouse; }
3142 SWIGINTERN char *uiModelNode_t_model(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).model); }
3143 SWIGINTERN char *uiModelNode_t_skin(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).skin); }
3144 SWIGINTERN char *uiModelNode_t_animation(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).animation); }
3145 SWIGINTERN char *uiModelNode_t_tag(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).tag); }
3146 SWIGINTERN void uiModelNode_t_set_autoscale(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).autoscale = value; }
3147 SWIGINTERN void uiModelNode_t_set_mouserotate(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).rotateWithMouse = value; }
3148 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); }
3149 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); }
3150 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); }
3151 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); }
3152 SWIGINTERN void uiModelNode_t_set_model(uiModelNode_t *self,char const *name){ UI_Model_SetModelSource(self, name); }
3153 SWIGINTERN void uiModelNode_t_set_skin(uiModelNode_t *self,char const *name){ UI_Model_SetSkinSource(self, name); }
3154 SWIGINTERN void uiModelNode_t_set_animation(uiModelNode_t *self,char const *name){ UI_Model_SetAnimationSource(self, name); }
3155 SWIGINTERN void uiModelNode_t_set_tag(uiModelNode_t *self,char const *name){ UI_Model_SetTagSource(self, name); }
3156 SWIGINTERN bool uiItemNode_t_is_containerlike(uiItemNode_t *self){ return UI_EXTRADATA(self, modelExtraData_t).containerLike; }
3157 SWIGINTERN void uiItemNode_t_set_containerlike(uiItemNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).containerLike = value; }
3158 SWIGINTERN bool uiOptionNode_t_is_collapsed(uiOptionNode_t *self){ return UI_EXTRADATA(self, optionExtraData_t).collapsed; }
3159 SWIGINTERN bool uiOptionNode_t_is_flipicion(uiOptionNode_t *self){ return UI_EXTRADATA(self, optionExtraData_t).flipIcon; }
3160 SWIGINTERN bool uiOptionNode_t_is_truncated(uiOptionNode_t *self){ return UI_EXTRADATA(self, optionExtraData_t).truncated; }
3161 SWIGINTERN char *uiOptionNode_t_label(uiOptionNode_t *self){ return UI_EXTRADATA(self, optionExtraData_t).label; }
3162 SWIGINTERN char *uiOptionNode_t_value(uiOptionNode_t *self){ return UI_EXTRADATA(self, optionExtraData_t).value; }
3163 SWIGINTERN int uiOptionNode_t_count(uiOptionNode_t *self){ return UI_EXTRADATA(self, optionExtraData_t).childCount; }
3164 SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self,char const *text){ UI_Option_SetLabel (self, text); }
3165 SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self,char const *text){ UI_Option_SetValue (self, text); }
3166 SWIGINTERN void uiOptionNode_t_set_collapsed(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).collapsed = value; }
3167 SWIGINTERN void uiOptionNode_t_set_flipicion(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).flipIcon = value; }
3168 SWIGINTERN void uiOptionNode_t_set_truncated(uiOptionNode_t *self,bool value){ UI_EXTRADATA(self, optionExtraData_t).truncated = value; }
3169 SWIGINTERN void uiOptionNode_t_set_icon(uiOptionNode_t *self,char const *name){ UI_Option_SetIconByName (self, name); }
3170 SWIGINTERN void uiOptionTreeNode_t_set_selectedvalue(uiOptionTreeNode_t *self,char const *value){ UI_OptionTree_SelectValue(self, value); }
3171 SWIGINTERN bool uiPanelNode_t_is_wheelscrollable(uiPanelNode_t *self){ return UI_EXTRADATA(self, panelExtraData_t).wheelScrollable; }
3172 SWIGINTERN int uiPanelNode_t_layout(uiPanelNode_t *self){ return UI_EXTRADATA(self, panelExtraData_t).layout; }
3173 SWIGINTERN int uiPanelNode_t_layoutmargin(uiPanelNode_t *self){ return UI_EXTRADATA(self, panelExtraData_t).layoutMargin; }
3174 SWIGINTERN int uiPanelNode_t_layoutcolumns(uiPanelNode_t *self){ return UI_EXTRADATA(self, panelExtraData_t).layoutColumns; }
3175 SWIGINTERN void uiPanelNode_t_set_layout(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layout = (panelLayout_t)value; }
3176 SWIGINTERN void uiPanelNode_t_set_layoutmargin(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutMargin = value; }
3177 SWIGINTERN void uiPanelNode_t_set_layoutcolumns(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutColumns = value; }
3178 SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self,bool value){ UI_EXTRADATA(self, panelExtraData_t).wheelScrollable = value; }
3179 SWIGINTERN void uiPanelNode_t_set_background(uiPanelNode_t *self,char const *name){ UI_Panel_SetBackgroundByName(self, name); }
3180 SWIGINTERN bool uiRadioButtonNode_t_is_flipicon(uiRadioButtonNode_t *self){ return UI_EXTRADATA(self, radioButtonExtraData_t).flipIcon; }
3181 SWIGINTERN char *uiRadioButtonNode_t_as_string(uiRadioButtonNode_t *self){ return UI_EXTRADATA(self, radioButtonExtraData_t).string; }
3182 SWIGINTERN float uiRadioButtonNode_t_as_float(uiRadioButtonNode_t *self){ return UI_EXTRADATA(self, radioButtonExtraData_t).value; }
3183 SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_0(uiRadioButtonNode_t *self,char const *value){ UI_RadioButton_SetValue(self, value); }
3184 SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_1(uiRadioButtonNode_t *self,float value){ UI_RadioButton_SetValue(self, value); }
3185 SWIGINTERN void uiRadioButtonNode_t_set_flipicon(uiRadioButtonNode_t *self,bool value){ UI_EXTRADATA(self, radioButtonExtraData_t).flipIcon = value; }
3186 SWIGINTERN void uiRadioButtonNode_t_set_background(uiRadioButtonNode_t *self,char const *name){ UI_RadioButton_SetBackgroundByName(self, name); }
3187 SWIGINTERN void uiRadioButtonNode_t_set_icon(uiRadioButtonNode_t *self,char const *name){ UI_RadioButton_SetIconByName(self, name); }
3188 SWIGINTERN int uiRowsNode_t_current(uiRowsNode_t *self){ return UI_EXTRADATA(self, rowsExtraData_t).current; }
3189 SWIGINTERN int uiRowsNode_t_lineheight(uiRowsNode_t *self){ return UI_EXTRADATA(self, rowsExtraData_t).lineHeight; }
3190 SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).current = value; }
3191 SWIGINTERN void uiRowsNode_t_set_lineheight(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).lineHeight = value; }
3192 SWIGINTERN bool uiSequenceNode_t_is_playing(uiSequenceNode_t *self){ return UI_EXTRADATA(self, sequenceExtraData_t).playing; }
3193 SWIGINTERN void uiSequenceNode_t_set_source(uiSequenceNode_t *self,char const *name){ UI_Sequence_SetSource(self, name); }
3194 
3195 static LUA_EVENT uiSequenceNode_t_lua_onEnd_get(uiSequenceNode_t* node)
3196 {
3197  return UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd;
3198 }
3199 
3200 static void uiSequenceNode_t_lua_onEnd_set(uiSequenceNode_t* node, LUA_EVENT fn)
3201 {
3202  UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd = fn;
3203 }
3204 
3205 SWIGINTERN bool uiSpinnerNode_t_is_horizontal(uiSpinnerNode_t *self){ return UI_EXTRADATA(self, spinnerExtraData_t).horizontal; }
3206 SWIGINTERN bool uiSpinnerNode_t_is_inverted(uiSpinnerNode_t *self){ return UI_EXTRADATA(self, spinnerExtraData_t).inverted; }
3207 SWIGINTERN int uiSpinnerNode_t_mode(uiSpinnerNode_t *self){ return UI_EXTRADATA(self, spinnerExtraData_t).mode; }
3208 SWIGINTERN void uiSpinnerNode_t_set_background(uiSpinnerNode_t *self,char const *name){ UI_Spinner_SetBackgroundByName(self, name); }
3209 SWIGINTERN void uiSpinnerNode_t_set_topicon(uiSpinnerNode_t *self,char const *name){ UI_Spinner_SetTopIconByName(self, name); }
3210 SWIGINTERN void uiSpinnerNode_t_set_bottomicon(uiSpinnerNode_t *self,char const *name){ UI_Spinner_SetBottomIconByName(self, name); }
3211 SWIGINTERN void uiSpinnerNode_t_set_mode(uiSpinnerNode_t *self,int mode){ UI_EXTRADATA(self, spinnerExtraData_t).mode = mode; }
3212 SWIGINTERN void uiSpinnerNode_t_set_horizontal(uiSpinnerNode_t *self,bool value){ UI_EXTRADATA(self, spinnerExtraData_t).horizontal = value; }
3213 SWIGINTERN void uiSpinnerNode_t_set_inverted(uiSpinnerNode_t *self,bool value){ UI_EXTRADATA(self, spinnerExtraData_t).inverted = value; }
3214 SWIGINTERN int uiStringNode_t_longlines(uiStringNode_t *self){ return UI_EXTRADATA(self, stringExtraData_t).longlines; }
3215 SWIGINTERN void uiStringNode_t_set_longlines(uiStringNode_t *self,int value){ UI_EXTRADATA(self, stringExtraData_t).longlines = value; }
3218 SWIGINTERN void uiTBarNode_t_set_source(uiTBarNode_t *self,char const *name){ UI_TBar_SetImage(self, name); }
3219 SWIGINTERN void uiTBarNode_t_set_texh(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texh, v1, v2); }
3220 SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texl, v1, v2); }
3221 SWIGINTERN int uiTextNode_t_dataid(uiTextNode_t *self){ return UI_EXTRADATA(self, textExtraData_t).dataID; }
3222 SWIGINTERN int uiTextNode_t_lineheight(uiTextNode_t *self){ return UI_EXTRADATA(self, textExtraData_t).lineHeight; }
3223 SWIGINTERN int uiTextNode_t_lineselected(uiTextNode_t *self){ return UI_EXTRADATA(self, textExtraData_t).textLineSelected; }
3224 SWIGINTERN int uiTextNode_t_longlines(uiTextNode_t *self){ return UI_EXTRADATA(self, textExtraData_t).longlines; }
3225 SWIGINTERN char *uiTextNode_t_textselected(uiTextNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, textExtraData_t).textSelected); }
3226 SWIGINTERN int uiTextNode_t_tabwidth(uiTextNode_t *self){ return UI_EXTRADATA(self, textExtraData_t).tabWidth; }
3227 SWIGINTERN void uiTextNode_t_set_dataid(uiTextNode_t *self,int id){ UI_EXTRADATA(self, textExtraData_t).dataID = id; }
3228 SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).longlines = value; }
3229 SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).lineHeight = value; }
3230 SWIGINTERN void uiTextNode_t_set_lineselected(uiTextNode_t *self,int line){ UI_TextNodeSelectLine(self, line); }
3231 SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).tabWidth = value; }
3232 SWIGINTERN bool uiTextEntryNode_t_is_password(uiTextEntryNode_t *self){ return UI_EXTRADATA(self, textEntryExtraData_t).isPassword; }
3233 SWIGINTERN bool uiTextEntryNode_t_is_clickoutabort(uiTextEntryNode_t *self){return UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort; }
3234 SWIGINTERN int uiTextEntryNode_t_cursorposition(uiTextEntryNode_t *self){ return UI_EXTRADATA(self, textEntryExtraData_s).cursorPosition; }
3235 SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).isPassword = value; }
3236 SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort = value; }
3237 SWIGINTERN void uiTextEntryNode_t_set_background(uiTextEntryNode_t *self,char const *name){ UI_TextEntry_SetBackgroundByName(self, name); }
3238 SWIGINTERN void uiTextEntryNode_t_focus(uiTextEntryNode_t *self){ UI_TextEntryNodeFocus(self, nullptr); }
3239 SWIGINTERN void uiTextEntryNode_t_unfocus(uiTextEntryNode_t *self){ UI_TextEntryNodeUnFocus(self, nullptr); }
3240 
3242 {
3243  return UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort;
3244 }
3245 
3246 static void uiTextEntryNode_t_lua_onTextEntryAbort_set(uiTextEntryNode_t* node, LUA_EVENT fn)
3247 {
3248  UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort = fn;
3249 }
3250 
3251 SWIGINTERN void uiTextureNode_t_set_source(uiTextureNode_t *self,char const *name){ UI_Node_SetImage(self, name); }
3252 SWIGINTERN int uiTimerNode_t_timeout(uiTimerNode_t *self){ return UI_EXTRADATA(self, timerExtraData_t).timeOut; }
3253 SWIGINTERN void uiTimerNode_t_set_timeout(uiTimerNode_t *self,int value){ UI_EXTRADATA(self, timerExtraData_t).timeOut = value; }
3254 
3255 static LUA_EVENT uiTimerNode_t_lua_onEvent_get(uiTimerNode_t* node)
3256 {
3257  return UI_EXTRADATA(node, timerExtraData_t).lua_onEvent;
3258 }
3259 
3260 static void uiTimerNode_t_lua_onEvent_set(uiTimerNode_t* node, LUA_EVENT fn)
3261 {
3262  UI_EXTRADATA(node, timerExtraData_t).lua_onEvent = fn;
3263 }
3264 
3265 SWIGINTERN bool uiVideoNode_t_is_nosound(uiVideoNode_t *self){ return UI_EXTRADATA(self, videoExtraData_t).nosound; }
3266 SWIGINTERN void uiVideoNode_t_set_nosound(uiVideoNode_t *self,bool value){ UI_EXTRADATA(self, videoExtraData_t).nosound = value; }
3267 SWIGINTERN void uiVideoNode_t_set_source(uiVideoNode_t *self,char const *name){ UI_Video_SetSource(self, name); }
3268 
3269 static LUA_EVENT uiVideoNode_t_lua_onEnd_get(uiVideoNode_t* node)
3270 {
3271  return UI_EXTRADATA(node, videoExtraData_t).lua_onEnd;
3272 }
3273 
3274 static void uiVideoNode_t_lua_onEnd_set(uiVideoNode_t* node, LUA_EVENT fn)
3275 {
3276  UI_EXTRADATA(node, videoExtraData_t).lua_onEnd = fn;
3277 }
3278 
3279 SWIGINTERN bool uiWindowNode_t_is_fullscreen(uiWindowNode_t *self){ return UI_EXTRADATA(self, windowExtraData_t).isFullScreen; }
3280 SWIGINTERN bool uiWindowNode_t_is_modal(uiWindowNode_t *self){ return UI_EXTRADATA(self, windowExtraData_t).modal; }
3281 SWIGINTERN bool uiWindowNode_t_is_starlayout(uiWindowNode_t *self){ return UI_EXTRADATA(self, windowExtraData_t).starLayout; }
3282 SWIGINTERN void uiWindowNode_t_close(uiWindowNode_t *self){ UI_PopWindow (false); }
3283 SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self){ UI_PushWindow(self->name, nullptr, nullptr); }
3284 SWIGINTERN void uiWindowNode_t_set_background(uiWindowNode_t *self,char const *name){ UI_Window_SetBackgroundByName(self, name); }
3285 SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).isFullScreen = value; }
3286 SWIGINTERN void uiWindowNode_t_set_modal(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).modal = value; }
3287 SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self,bool value){ dynamic_cast<uiWindowNode*>(self->behaviour->manager.get())->setFill(self, value); }
3288 SWIGINTERN void uiWindowNode_t_set_dragbutton(uiWindowNode_t *self,bool value){ UI_Window_SetDragButton(self, value); }
3289 SWIGINTERN void uiWindowNode_t_set_closebutton(uiWindowNode_t *self,bool value){ UI_Window_SetCloseButton(self, value); }
3290 SWIGINTERN void uiWindowNode_t_set_starlayout(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).starLayout = value; }
3291 SWIGINTERN void uiWindowNode_t_set_preventtypingescape(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).preventTypingEscape = value; }
3292 SWIGINTERN void uiWindowNode_t_set_noticepos(uiWindowNode_t *self,float x,float y){ Vector2Set(UI_EXTRADATA(self, windowExtraData_t).noticePos, x, y); }
3293 SWIGINTERN void uiWindowNode_t_set_dropdown(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).dropdown = value; }
3294 
3295 static LUA_EVENT uiWindowNode_t_lua_onWindowOpened_get(uiWindowNode_t* node) {
3296  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened;
3297 }
3298 static void uiWindowNode_t_lua_onWindowOpened_set (uiWindowNode_t* node, LUA_EVENT fn) {
3299  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened = fn;
3300 }
3302  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate;
3303 }
3304 static void uiWindowNode_t_lua_onWindowActivate_set (uiWindowNode_t* node, LUA_EVENT fn) {
3305  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate = fn;
3306 }
3307 static LUA_EVENT uiWindowNode_t_lua_onWindowClosed_get(uiWindowNode_t* node) {
3308  return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed;
3309 }
3310 static void uiWindowNode_t_lua_onWindowClosed_set (uiWindowNode_t* node, LUA_EVENT fn) {
3311  UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed = fn;
3312 }
3313 
3314 SWIGINTERN bool uiZoneNode_t_is_repeat(uiZoneNode_t *self){ return UI_EXTRADATA(self, zoneExtraData_t).repeat; }
3315 SWIGINTERN int uiZoneNode_t_clickdelay(uiZoneNode_t *self){ return UI_EXTRADATA(self, zoneExtraData_t).clickDelay; }
3316 SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self,bool value){ UI_EXTRADATA(self, zoneExtraData_t).repeat = value; }
3317 SWIGINTERN void uiZoneNode_t_set_clickdelay(uiZoneNode_t *self,int value){ UI_EXTRADATA(self, zoneExtraData_t).clickDelay = value; }
3318 
3319 static uiBarNode_t* UI_CreateBar (uiNode_t* parent, const char* name, const char* super) {
3320  return UI_CreateControl (parent, "bar", name, super);
3321 }
3322 static uiBaseLayoutNode_t* UI_CreateBaseLayout (uiNode_t* parent, const char* name, const char* super) {
3323  return UI_CreateControl (parent, "baselayout", name, super);
3324 }
3325 static uiBaseInventoryNode_t* UI_CreateBaseInventory (uiNode_t* parent, const char* name, const char* super) {
3326  return UI_CreateControl (parent, "baseinventory", name, super);
3327 }
3328 static uiButtonNode_t* UI_CreateButton (uiNode_t* parent, const char* name, const char* super) {
3329  return UI_CreateControl (parent, "button", name, super);
3330 }
3331 static uiCheckBoxNode_t* UI_CreateCheckBox (uiNode_t* parent, const char* name, const char* super) {
3332  return UI_CreateControl (parent, "checkbox", name, super);
3333 }
3334 static uiConFuncNode_t* UI_CreateConFunc (uiNode_t* parent, const char* name, const char* super) {
3335  return UI_CreateControl (parent, "confunc", name, super);
3336 }
3337 static uiContainerNode_t* UI_CreateContainer (uiNode_t* parent, const char* name, const char* super) {
3338  return UI_CreateControl (parent, "container", name, super);
3339 }
3340 static uiDataNode_t* UI_CreateData (uiNode_t* parent, const char* name, const char* super) {
3341  return UI_CreateControl (parent, "data", name, super);
3342 }
3343 static uiGeoscapeNode_t* UI_CreateGeoscape (uiNode_t* parent, const char* name, const char* super) {
3344  return UI_CreateControl (parent, "geoscape", name, super);
3345 }
3346 static uiImageNode_t* UI_CreateImage (uiNode_t* parent, const char* name, const char* super) {
3347  return UI_CreateControl (parent, "image", name, super);
3348 }
3349 static uiItemNode_t* UI_CreateItem (uiNode_t* parent, const char* name, const char* super) {
3350  return UI_CreateControl (parent, "item", name, super);
3351 }
3352 static uiLineChartNode_t* UI_CreateLineChart(uiNode_t* parent, const char* name, const char* super) {
3353  return UI_CreateControl (parent, "linechart", name, super);
3354 }
3355 static uiMessageListNode_t* UI_CreateMessageList (uiNode_t* parent, const char* name, const char* super) {
3356  return UI_CreateControl (parent, "messagelist", name, super);
3357 }
3358 static uiModelNode_t* UI_CreateModel (uiNode_t* parent, const char* name, const char* super) {
3359  return UI_CreateControl (parent, "model", name, super);
3360 }
3361 static uiOptionNode_t* UI_CreateOption (uiNode_t* parent, const char* name, const char* super) {
3362  return UI_CreateControl (parent, "option", name, super);
3363 }
3364 static uiOptionListNode_t* UI_CreateOptionList (uiNode_t* parent, const char* name, const char* super) {
3365  return UI_CreateControl (parent, "optionlist", name, super);
3366 }
3367 static uiOptionTreeNode_t* UI_CreateOptionTree (uiNode_t* parent, const char* name, const char* super) {
3368  return UI_CreateControl (parent, "optiontree", name, super);
3369 }
3370 static uiPanelNode_t* UI_CreatePanel (uiNode_t* parent, const char* name, const char* super) {
3371  return UI_CreateControl (parent, "panel", name, super);
3372 }
3373 static uiRadarNode_t* UI_CreateRadar (uiNode_t* parent, const char* name, const char* super) {
3374  return UI_CreateControl (parent, "radar", name, super);
3375 }
3376 static uiRadioButtonNode_t* UI_CreateRadioButton (uiNode_t* parent, const char* name, const char* super) {
3377  return UI_CreateControl (parent, "radiobutton", name, super);
3378 }
3379 static uiRowsNode_t* UI_CreateRows (uiNode_t* parent, const char* name, const char* super) {
3380  return UI_CreateControl (parent, "rows", name, super);
3381 }
3382 static uiSelectBoxNode_t* UI_CreateSelectBox (uiNode_t* parent, const char* name, const char* super) {
3383  return UI_CreateControl (parent, "selectbox", name, super);
3384 }
3385 static uiSequenceNode_t* UI_CreateSequence (uiNode_t* parent, const char* name, const char* super) {
3386  return UI_CreateControl (parent, "sequence", name, super);
3387 }
3388 static uiSpinnerNode_t* UI_CreateSpinner (uiNode_t* parent, const char* name, const char* super) {
3389  return UI_CreateControl (parent, "spinner", name, super);
3390 }
3391 static uiStringNode_t* UI_CreateString (uiNode_t* parent, const char* name, const char* super) {
3392  return UI_CreateControl (parent, "string", name, super);
3393 }
3394 static uiTabNode_t* UI_CreateTab (uiNode_t* parent, const char* name, const char* super) {
3395  return UI_CreateControl (parent, "tab", name, super);
3396 }
3397 static uiTBarNode_t* UI_CreateTBar (uiNode_t* parent, const char* name, const char* super) {
3398  return UI_CreateControl (parent, "tbar", name, super);
3399 }
3400 static uiTextNode_t* UI_CreateText (uiNode_t* parent, const char* name, const char* super) {
3401  return UI_CreateControl (parent, "text", name, super);
3402 }
3403 static uiText2Node_t* UI_CreateText2 (uiNode_t* parent, const char* name, const char* super) {
3404  return UI_CreateControl (parent, "text2", name, super);
3405 }
3406 static uiTextEntryNode_t* UI_CreateTextEntry (uiNode_t* parent, const char* name, const char* super) {
3407  return UI_CreateControl (parent, "textentry", name, super);
3408 }
3409 static uiTextListNode_t* UI_CreateTextList (uiNode_t* parent, const char* name, const char* super) {
3410  return UI_CreateControl (parent, "textlist", name, super);
3411 }
3412 static uiTextureNode_t* UI_CreateTexture (uiNode_t* parent, const char* name, const char* super) {
3413  return UI_CreateControl (parent, "texture", name, super);
3414 }
3415 static uiTimerNode_t* UI_CreateTimer (uiNode_t* parent, const char* name, const char* super) {
3416  return UI_CreateControl (parent, "timer", name, super);
3417 }
3418 static uiVideoNode_t* UI_CreateVideo (uiNode_t* parent, const char* name, const char* super) {
3419  return UI_CreateControl (parent, "video", name, super);
3420 }
3421 static uiVScrollBarNode_t* UI_CreateVScrollbar (uiNode_t* parent, const char* name, const char* super) {
3422  return UI_CreateControl (parent, "vscrollbar", name, super);
3423 }
3424 static uiWidgetNode_t* UI_CreateWidget (uiNode_t* parent, const char* name, const char* super) {
3425  return UI_CreateControl (parent, "controls", name, super);
3426 }
3427 static uiWindowNode_t* UI_CreateWindow (const char* name, const char* super) {
3428  return UI_CreateWindow("window", name, super);
3429 }
3430 static uiZoneNode_t* UI_CreateZone (uiNode_t* parent, const char* name, const char* super) {
3431  return UI_CreateControl (parent, "zone", name, super);
3432 }
3433 
3434 #ifdef __cplusplus
3435 extern "C" {
3436 #endif
3437 static int _wrap_cvar_name(lua_State* L) {
3438  int SWIG_arg = 0;
3439  cvar_t *arg1 = (cvar_t *) 0 ;
3440  char *result = 0 ;
3441 
3442  SWIG_check_num_args("cvar_t::name",1,1)
3443  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::name",1,"cvar_t *");
3444 
3445  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3446  SWIG_fail_ptr("cvar_name",1,SWIGTYPE_p_cvar_t);
3447  }
3448 
3449  result = (char *)cvar_t_name(arg1);
3450  lua_pushstring(L,(const char *)result); SWIG_arg++;
3451  return SWIG_arg;
3452 
3453  if(0) SWIG_fail;
3454 
3455 fail:
3456  lua_error(L);
3457  return SWIG_arg;
3458 }
3459 
3460 
3461 static int _wrap_cvar_as_string(lua_State* L) {
3462  int SWIG_arg = 0;
3463  cvar_t *arg1 = (cvar_t *) 0 ;
3464  char *result = 0 ;
3465 
3466  SWIG_check_num_args("cvar_t::as_string",1,1)
3467  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_string",1,"cvar_t *");
3468 
3469  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3470  SWIG_fail_ptr("cvar_as_string",1,SWIGTYPE_p_cvar_t);
3471  }
3472 
3473  result = (char *)cvar_t_as_string(arg1);
3474  lua_pushstring(L,(const char *)result); SWIG_arg++;
3475  return SWIG_arg;
3476 
3477  if(0) SWIG_fail;
3478 
3479 fail:
3480  lua_error(L);
3481  return SWIG_arg;
3482 }
3483 
3484 
3485 static int _wrap_cvar_as_float(lua_State* L) {
3486  int SWIG_arg = 0;
3487  cvar_t *arg1 = (cvar_t *) 0 ;
3488  float result;
3489 
3490  SWIG_check_num_args("cvar_t::as_float",1,1)
3491  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_float",1,"cvar_t *");
3492 
3493  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3494  SWIG_fail_ptr("cvar_as_float",1,SWIGTYPE_p_cvar_t);
3495  }
3496 
3497  result = (float)cvar_t_as_float(arg1);
3498  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3499  return SWIG_arg;
3500 
3501  if(0) SWIG_fail;
3502 
3503 fail:
3504  lua_error(L);
3505  return SWIG_arg;
3506 }
3507 
3508 
3509 static int _wrap_cvar_as_integer(lua_State* L) {
3510  int SWIG_arg = 0;
3511  cvar_t *arg1 = (cvar_t *) 0 ;
3512  int result;
3513 
3514  SWIG_check_num_args("cvar_t::as_integer",1,1)
3515  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_integer",1,"cvar_t *");
3516 
3517  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3518  SWIG_fail_ptr("cvar_as_integer",1,SWIGTYPE_p_cvar_t);
3519  }
3520 
3521  result = (int)cvar_t_as_integer(arg1);
3522  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3523  return SWIG_arg;
3524 
3525  if(0) SWIG_fail;
3526 
3527 fail:
3528  lua_error(L);
3529  return SWIG_arg;
3530 }
3531 
3532 
3533 static int _wrap_cvar_set_value__SWIG_0(lua_State* L) {
3534  int SWIG_arg = 0;
3535  cvar_t *arg1 = (cvar_t *) 0 ;
3536  float arg2 ;
3537 
3538  SWIG_check_num_args("cvar_t::set_value",2,2)
3539  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3540  if(!lua_isnumber(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"float");
3541 
3542  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3543  SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3544  }
3545 
3546  arg2 = (float)lua_tonumber(L, 2);
3547  cvar_t_set_value__SWIG_0(arg1,arg2);
3548 
3549  return SWIG_arg;
3550 
3551  if(0) SWIG_fail;
3552 
3553 fail:
3554  lua_error(L);
3555  return SWIG_arg;
3556 }
3557 
3558 
3559 static int _wrap_cvar_set_value__SWIG_1(lua_State* L) {
3560  int SWIG_arg = 0;
3561  cvar_t *arg1 = (cvar_t *) 0 ;
3562  char *arg2 = (char *) 0 ;
3563 
3564  SWIG_check_num_args("cvar_t::set_value",2,2)
3565  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3566  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"char const *");
3567 
3568  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3569  SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3570  }
3571 
3572  arg2 = (char *)lua_tostring(L, 2);
3573  cvar_t_set_value__SWIG_1(arg1,(char const *)arg2);
3574 
3575  return SWIG_arg;
3576 
3577  if(0) SWIG_fail;
3578 
3579 fail:
3580  lua_error(L);
3581  return SWIG_arg;
3582 }
3583 
3584 
3585 static int _wrap_cvar_set_value(lua_State* L) {
3586  int argc;
3587  int argv[3]={
3588  1,2,3
3589  };
3590 
3591  argc = lua_gettop(L);
3592  if (argc == 2) {
3593  int _v;
3594  {
3595  void *ptr;
3596  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3597  _v = 0;
3598  } else {
3599  _v = 1;
3600  }
3601  }
3602  if (_v) {
3603  {
3604  _v = lua_isnumber(L,argv[1]);
3605  }
3606  if (_v) {
3607  return _wrap_cvar_set_value__SWIG_0(L);
3608  }
3609  }
3610  }
3611  if (argc == 2) {
3612  int _v;
3613  {
3614  void *ptr;
3615  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3616  _v = 0;
3617  } else {
3618  _v = 1;
3619  }
3620  }
3621  if (_v) {
3622  {
3623  _v = SWIG_lua_isnilstring(L,argv[1]);
3624  }
3625  if (_v) {
3626  return _wrap_cvar_set_value__SWIG_1(L);
3627  }
3628  }
3629  }
3630 
3631  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'cvar_set_value'\n"
3632  " Possible C/C++ prototypes are:\n"
3633  " cvar_t::set_value(float)\n"
3634  " cvar_t::set_value(char const *)\n");
3635  lua_error(L);return 0;
3636 }
3637 
3638 
3639 static int _wrap_new_cvar(lua_State* L) {
3640  int SWIG_arg = 0;
3641  cvar_t *result = 0 ;
3642 
3643  SWIG_check_num_args("cvar_t::cvar_t",0,0)
3644  result = (cvar_t *)new cvar_t();
3645  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,1); SWIG_arg++;
3646  return SWIG_arg;
3647 
3648  if(0) SWIG_fail;
3649 
3650 fail:
3651  lua_error(L);
3652  return SWIG_arg;
3653 }
3654 
3655 
3656 static void swig_delete_cvar(void *obj) {
3657 cvar_t *arg1 = (cvar_t *) obj;
3658 delete arg1;
3659 }
3660 static int _proxy__wrap_new_cvar(lua_State *L) {
3661  assert(lua_istable(L,1));
3662  lua_pushcfunction(L,_wrap_new_cvar);
3663  assert(!lua_isnil(L,-1));
3664  lua_replace(L,1); /* replace our table with real constructor */
3665  lua_call(L,lua_gettop(L)-1,1);
3666  return 1;
3667 }
3669  {0,0,0}
3670 };
3671 static swig_lua_method swig_cvar_methods[]= {
3672  { "name", _wrap_cvar_name},
3673  { "as_string", _wrap_cvar_as_string},
3674  { "as_float", _wrap_cvar_as_float},
3675  { "as_integer", _wrap_cvar_as_integer},
3676  { "set_value", _wrap_cvar_set_value},
3677  {0,0}
3678 };
3679 static swig_lua_method swig_cvar_meta[] = {
3680  {0,0}
3681 };
3682 
3684  {0,0,0}
3685 };
3686 static swig_lua_const_info swig_cvar_Sf_SwigStatic_constants[]= {
3687  {0,0,0,0,0,0}
3688 };
3689 static swig_lua_method swig_cvar_Sf_SwigStatic_methods[]= {
3690  {0,0}
3691 };
3693  0
3694 };
3695 
3697  "cvar",
3702  0
3703 };
3705 static const char *swig_cvar_base_names[] = {0};
3707 
3708 static int _wrap_findvar(lua_State* L) {
3709  int SWIG_arg = 0;
3710  char *arg1 = (char *) 0 ;
3711  cvar_t *result = 0 ;
3712 
3713  SWIG_check_num_args("Cvar_FindVar",1,1)
3714  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_FindVar",1,"char const *");
3715  arg1 = (char *)lua_tostring(L, 1);
3716  result = (cvar_t *)Cvar_FindVar((char const *)arg1);
3717  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3718  return SWIG_arg;
3719 
3720  if(0) SWIG_fail;
3721 
3722 fail:
3723  lua_error(L);
3724  return SWIG_arg;
3725 }
3726 
3727 
3728 static int _wrap_getvar__SWIG_0(lua_State* L) {
3729  int SWIG_arg = 0;
3730  char *arg1 = (char *) 0 ;
3731  char *arg2 = (char *) 0 ;
3732  int arg3 ;
3733  char *arg4 = (char *) 0 ;
3734  cvar_t *result = 0 ;
3735 
3736  SWIG_check_num_args("Cvar_Get",4,4)
3737  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3738  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3739  if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3740  if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("Cvar_Get",4,"char const *");
3741  arg1 = (char *)lua_tostring(L, 1);
3742  arg2 = (char *)lua_tostring(L, 2);
3743  arg3 = (int)lua_tonumber(L, 3);
3744  arg4 = (char *)lua_tostring(L, 4);
3745  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
3746  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3747  return SWIG_arg;
3748 
3749  if(0) SWIG_fail;
3750 
3751 fail:
3752  lua_error(L);
3753  return SWIG_arg;
3754 }
3755 
3756 
3757 static int _wrap_getvar__SWIG_1(lua_State* L) {
3758  int SWIG_arg = 0;
3759  char *arg1 = (char *) 0 ;
3760  char *arg2 = (char *) 0 ;
3761  int arg3 ;
3762  cvar_t *result = 0 ;
3763 
3764  SWIG_check_num_args("Cvar_Get",3,3)
3765  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3766  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3767  if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3768  arg1 = (char *)lua_tostring(L, 1);
3769  arg2 = (char *)lua_tostring(L, 2);
3770  arg3 = (int)lua_tonumber(L, 3);
3771  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3);
3772  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3773  return SWIG_arg;
3774 
3775  if(0) SWIG_fail;
3776 
3777 fail:
3778  lua_error(L);
3779  return SWIG_arg;
3780 }
3781 
3782 
3783 static int _wrap_getvar__SWIG_2(lua_State* L) {
3784  int SWIG_arg = 0;
3785  char *arg1 = (char *) 0 ;
3786  char *arg2 = (char *) 0 ;
3787  cvar_t *result = 0 ;
3788 
3789  SWIG_check_num_args("Cvar_Get",2,2)
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  arg1 = (char *)lua_tostring(L, 1);
3793  arg2 = (char *)lua_tostring(L, 2);
3794  result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2);
3795  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3796  return SWIG_arg;
3797 
3798  if(0) SWIG_fail;
3799 
3800 fail:
3801  lua_error(L);
3802  return SWIG_arg;
3803 }
3804 
3805 
3806 static int _wrap_getvar__SWIG_3(lua_State* L) {
3807  int SWIG_arg = 0;
3808  char *arg1 = (char *) 0 ;
3809  cvar_t *result = 0 ;
3810 
3811  SWIG_check_num_args("Cvar_Get",1,1)
3812  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3813  arg1 = (char *)lua_tostring(L, 1);
3814  result = (cvar_t *)Cvar_Get((char const *)arg1);
3815  SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3816  return SWIG_arg;
3817 
3818  if(0) SWIG_fail;
3819 
3820 fail:
3821  lua_error(L);
3822  return SWIG_arg;
3823 }
3824 
3825 
3826 static int _wrap_getvar(lua_State* L) {
3827  int argc;
3828  int argv[5]={
3829  1,2,3,4,5
3830  };
3831 
3832  argc = lua_gettop(L);
3833  if (argc == 1) {
3834  int _v;
3835  {
3836  _v = SWIG_lua_isnilstring(L,argv[0]);
3837  }
3838  if (_v) {
3839  return _wrap_getvar__SWIG_3(L);
3840  }
3841  }
3842  if (argc == 2) {
3843  int _v;
3844  {
3845  _v = SWIG_lua_isnilstring(L,argv[0]);
3846  }
3847  if (_v) {
3848  {
3849  _v = SWIG_lua_isnilstring(L,argv[1]);
3850  }
3851  if (_v) {
3852  return _wrap_getvar__SWIG_2(L);
3853  }
3854  }
3855  }
3856  if (argc == 3) {
3857  int _v;
3858  {
3859  _v = SWIG_lua_isnilstring(L,argv[0]);
3860  }
3861  if (_v) {
3862  {
3863  _v = SWIG_lua_isnilstring(L,argv[1]);
3864  }
3865  if (_v) {
3866  {
3867  _v = lua_isnumber(L,argv[2]);
3868  }
3869  if (_v) {
3870  return _wrap_getvar__SWIG_1(L);
3871  }
3872  }
3873  }
3874  }
3875  if (argc == 4) {
3876  int _v;
3877  {
3878  _v = SWIG_lua_isnilstring(L,argv[0]);
3879  }
3880  if (_v) {
3881  {
3882  _v = SWIG_lua_isnilstring(L,argv[1]);
3883  }
3884  if (_v) {
3885  {
3886  _v = lua_isnumber(L,argv[2]);
3887  }
3888  if (_v) {
3889  {
3890  _v = SWIG_lua_isnilstring(L,argv[3]);
3891  }
3892  if (_v) {
3893  return _wrap_getvar__SWIG_0(L);
3894  }
3895  }
3896  }
3897  }
3898  }
3899 
3900  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'getvar'\n"
3901  " Possible C/C++ prototypes are:\n"
3902  " Cvar_Get(char const *,char const *,int,char const *)\n"
3903  " Cvar_Get(char const *,char const *,int)\n"
3904  " Cvar_Get(char const *,char const *)\n"
3905  " Cvar_Get(char const *)\n");
3906  lua_error(L);return 0;
3907 }
3908 
3909 
3910 static int _wrap_delvar(lua_State* L) {
3911  int SWIG_arg = 0;
3912  char *arg1 = (char *) 0 ;
3913  bool result;
3914 
3915  SWIG_check_num_args("Cvar_Delete",1,1)
3916  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Delete",1,"char const *");
3917  arg1 = (char *)lua_tostring(L, 1);
3918  result = (bool)Cvar_Delete((char const *)arg1);
3919  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
3920  return SWIG_arg;
3921 
3922  if(0) SWIG_fail;
3923 
3924 fail:
3925  lua_error(L);
3926  return SWIG_arg;
3927 }
3928 
3929 
3930 static int _wrap_invDef_name(lua_State* L) {
3931  int SWIG_arg = 0;
3932  invDef_t *arg1 = (invDef_t *) 0 ;
3933  char *result = 0 ;
3934 
3935  SWIG_check_num_args("invDef_t::name",1,1)
3936  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("invDef_t::name",1,"invDef_t *");
3937 
3938  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_invDef_t,0))){
3939  SWIG_fail_ptr("invDef_name",1,SWIGTYPE_p_invDef_t);
3940  }
3941 
3942  result = (char *)invDef_t_name(arg1);
3943  lua_pushstring(L,(const char *)result); SWIG_arg++;
3944  return SWIG_arg;
3945 
3946  if(0) SWIG_fail;
3947 
3948 fail:
3949  lua_error(L);
3950  return SWIG_arg;
3951 }
3952 
3953 
3954 static int _wrap_new_invDef(lua_State* L) {
3955  int SWIG_arg = 0;
3956  invDef_t *result = 0 ;
3957 
3958  SWIG_check_num_args("invDef_t::invDef_t",0,0)
3959  result = (invDef_t *)new invDef_t();
3960  SWIG_NewPointerObj(L,result,SWIGTYPE_p_invDef_t,1); SWIG_arg++;
3961  return SWIG_arg;
3962 
3963  if(0) SWIG_fail;
3964 
3965 fail:
3966  lua_error(L);
3967  return SWIG_arg;
3968 }
3969 
3970 
3971 static void swig_delete_invDef(void *obj) {
3972 invDef_t *arg1 = (invDef_t *) obj;
3973 delete arg1;
3974 }
3975 static int _proxy__wrap_new_invDef(lua_State *L) {
3976  assert(lua_istable(L,1));
3977  lua_pushcfunction(L,_wrap_new_invDef);
3978  assert(!lua_isnil(L,-1));
3979  lua_replace(L,1); /* replace our table with real constructor */
3980  lua_call(L,lua_gettop(L)-1,1);
3981  return 1;
3982 }
3984  {0,0,0}
3985 };
3986 static swig_lua_method swig_invDef_methods[]= {
3987  { "name", _wrap_invDef_name},
3988  {0,0}
3989 };
3990 static swig_lua_method swig_invDef_meta[] = {
3991  {0,0}
3992 };
3993 
3995  {0,0,0}
3996 };
3997 static swig_lua_const_info swig_invDef_Sf_SwigStatic_constants[]= {
3998  {0,0,0,0,0,0}
3999 };
4000 static swig_lua_method swig_invDef_Sf_SwigStatic_methods[]= {
4001  {0,0}
4002 };
4004  0
4005 };
4006 
4008  "invDef",
4013  0
4014 };
4016 static const char *swig_invDef_base_names[] = {0};
4018 
4019 static int _wrap_uiNode_on_click_set(lua_State* L) {
4020  int SWIG_arg = 0;
4021  uiNode_t *arg1 = (uiNode_t *) 0 ;
4022  LUA_EVENT arg2 ;
4023 
4024  SWIG_check_num_args("uiNode_t::lua_onClick",2,2)
4025  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4026 
4027  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4028  SWIG_fail_ptr("uiNode_on_click_set",1,SWIGTYPE_p_uiNode_t);
4029  }
4030 
4031  {
4032  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4033  }
4034  if (arg1) (arg1)->lua_onClick = arg2;
4035 
4036  return SWIG_arg;
4037 
4038  if(0) SWIG_fail;
4039 
4040 fail:
4041  lua_error(L);
4042  return SWIG_arg;
4043 }
4044 
4045 
4046 static int _wrap_uiNode_on_click_get(lua_State* L) {
4047  int SWIG_arg = 0;
4048  uiNode_t *arg1 = (uiNode_t *) 0 ;
4049  LUA_EVENT result;
4050 
4051  SWIG_check_num_args("uiNode_t::lua_onClick",1,1)
4052  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4053 
4054  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4055  SWIG_fail_ptr("uiNode_on_click_get",1,SWIGTYPE_p_uiNode_t);
4056  }
4057 
4058  result = ((arg1)->lua_onClick);
4059  {
4060  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4061  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4062  }
4063  return SWIG_arg;
4064 
4065  if(0) SWIG_fail;
4066 
4067 fail:
4068  lua_error(L);
4069  return SWIG_arg;
4070 }
4071 
4072 
4073 static int _wrap_uiNode_on_rightclick_set(lua_State* L) {
4074  int SWIG_arg = 0;
4075  uiNode_t *arg1 = (uiNode_t *) 0 ;
4076  LUA_EVENT arg2 ;
4077 
4078  SWIG_check_num_args("uiNode_t::lua_onRightClick",2,2)
4079  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4080 
4081  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4082  SWIG_fail_ptr("uiNode_on_rightclick_set",1,SWIGTYPE_p_uiNode_t);
4083  }
4084 
4085  {
4086  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4087  }
4088  if (arg1) (arg1)->lua_onRightClick = arg2;
4089 
4090  return SWIG_arg;
4091 
4092  if(0) SWIG_fail;
4093 
4094 fail:
4095  lua_error(L);
4096  return SWIG_arg;
4097 }
4098 
4099 
4100 static int _wrap_uiNode_on_rightclick_get(lua_State* L) {
4101  int SWIG_arg = 0;
4102  uiNode_t *arg1 = (uiNode_t *) 0 ;
4103  LUA_EVENT result;
4104 
4105  SWIG_check_num_args("uiNode_t::lua_onRightClick",1,1)
4106  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4107 
4108  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4109  SWIG_fail_ptr("uiNode_on_rightclick_get",1,SWIGTYPE_p_uiNode_t);
4110  }
4111 
4112  result = ((arg1)->lua_onRightClick);
4113  {
4114  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4115  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4116  }
4117  return SWIG_arg;
4118 
4119  if(0) SWIG_fail;
4120 
4121 fail:
4122  lua_error(L);
4123  return SWIG_arg;
4124 }
4125 
4126 
4127 static int _wrap_uiNode_on_middleclick_set(lua_State* L) {
4128  int SWIG_arg = 0;
4129  uiNode_t *arg1 = (uiNode_t *) 0 ;
4130  LUA_EVENT arg2 ;
4131 
4132  SWIG_check_num_args("uiNode_t::lua_onMiddleClick",2,2)
4133  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4134 
4135  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4136  SWIG_fail_ptr("uiNode_on_middleclick_set",1,SWIGTYPE_p_uiNode_t);
4137  }
4138 
4139  {
4140  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4141  }
4142  if (arg1) (arg1)->lua_onMiddleClick = arg2;
4143 
4144  return SWIG_arg;
4145 
4146  if(0) SWIG_fail;
4147 
4148 fail:
4149  lua_error(L);
4150  return SWIG_arg;
4151 }
4152 
4153 
4154 static int _wrap_uiNode_on_middleclick_get(lua_State* L) {
4155  int SWIG_arg = 0;
4156  uiNode_t *arg1 = (uiNode_t *) 0 ;
4157  LUA_EVENT result;
4158 
4159  SWIG_check_num_args("uiNode_t::lua_onMiddleClick",1,1)
4160  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4161 
4162  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4163  SWIG_fail_ptr("uiNode_on_middleclick_get",1,SWIGTYPE_p_uiNode_t);
4164  }
4165 
4166  result = ((arg1)->lua_onMiddleClick);
4167  {
4168  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4169  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4170  }
4171  return SWIG_arg;
4172 
4173  if(0) SWIG_fail;
4174 
4175 fail:
4176  lua_error(L);
4177  return SWIG_arg;
4178 }
4179 
4180 
4181 static int _wrap_uiNode_on_wheelup_set(lua_State* L) {
4182  int SWIG_arg = 0;
4183  uiNode_t *arg1 = (uiNode_t *) 0 ;
4184  LUA_EVENT arg2 ;
4185 
4186  SWIG_check_num_args("uiNode_t::lua_onWheelUp",2,2)
4187  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4188 
4189  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4190  SWIG_fail_ptr("uiNode_on_wheelup_set",1,SWIGTYPE_p_uiNode_t);
4191  }
4192 
4193  {
4194  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4195  }
4196  if (arg1) (arg1)->lua_onWheelUp = arg2;
4197 
4198  return SWIG_arg;
4199 
4200  if(0) SWIG_fail;
4201 
4202 fail:
4203  lua_error(L);
4204  return SWIG_arg;
4205 }
4206 
4207 
4208 static int _wrap_uiNode_on_wheelup_get(lua_State* L) {
4209  int SWIG_arg = 0;
4210  uiNode_t *arg1 = (uiNode_t *) 0 ;
4211  LUA_EVENT result;
4212 
4213  SWIG_check_num_args("uiNode_t::lua_onWheelUp",1,1)
4214  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4215 
4216  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4217  SWIG_fail_ptr("uiNode_on_wheelup_get",1,SWIGTYPE_p_uiNode_t);
4218  }
4219 
4220  result = ((arg1)->lua_onWheelUp);
4221  {
4222  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4223  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4224  }
4225  return SWIG_arg;
4226 
4227  if(0) SWIG_fail;
4228 
4229 fail:
4230  lua_error(L);
4231  return SWIG_arg;
4232 }
4233 
4234 
4235 static int _wrap_uiNode_on_wheeldown_set(lua_State* L) {
4236  int SWIG_arg = 0;
4237  uiNode_t *arg1 = (uiNode_t *) 0 ;
4238  LUA_EVENT arg2 ;
4239 
4240  SWIG_check_num_args("uiNode_t::lua_onWheelDown",2,2)
4241  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4242 
4243  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4244  SWIG_fail_ptr("uiNode_on_wheeldown_set",1,SWIGTYPE_p_uiNode_t);
4245  }
4246 
4247  {
4248  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4249  }
4250  if (arg1) (arg1)->lua_onWheelDown = arg2;
4251 
4252  return SWIG_arg;
4253 
4254  if(0) SWIG_fail;
4255 
4256 fail:
4257  lua_error(L);
4258  return SWIG_arg;
4259 }
4260 
4261 
4262 static int _wrap_uiNode_on_wheeldown_get(lua_State* L) {
4263  int SWIG_arg = 0;
4264  uiNode_t *arg1 = (uiNode_t *) 0 ;
4265  LUA_EVENT result;
4266 
4267  SWIG_check_num_args("uiNode_t::lua_onWheelDown",1,1)
4268  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4269 
4270  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4271  SWIG_fail_ptr("uiNode_on_wheeldown_get",1,SWIGTYPE_p_uiNode_t);
4272  }
4273 
4274  result = ((arg1)->lua_onWheelDown);
4275  {
4276  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4277  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4278  }
4279  return SWIG_arg;
4280 
4281  if(0) SWIG_fail;
4282 
4283 fail:
4284  lua_error(L);
4285  return SWIG_arg;
4286 }
4287 
4288 
4289 static int _wrap_uiNode_on_wheel_set(lua_State* L) {
4290  int SWIG_arg = 0;
4291  uiNode_t *arg1 = (uiNode_t *) 0 ;
4292  LUA_EVENT arg2 ;
4293 
4294  SWIG_check_num_args("uiNode_t::lua_onWheel",2,2)
4295  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4296 
4297  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4298  SWIG_fail_ptr("uiNode_on_wheel_set",1,SWIGTYPE_p_uiNode_t);
4299  }
4300 
4301  {
4302  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4303  }
4304  if (arg1) (arg1)->lua_onWheel = arg2;
4305 
4306  return SWIG_arg;
4307 
4308  if(0) SWIG_fail;
4309 
4310 fail:
4311  lua_error(L);
4312  return SWIG_arg;
4313 }
4314 
4315 
4316 static int _wrap_uiNode_on_wheel_get(lua_State* L) {
4317  int SWIG_arg = 0;
4318  uiNode_t *arg1 = (uiNode_t *) 0 ;
4319  LUA_EVENT result;
4320 
4321  SWIG_check_num_args("uiNode_t::lua_onWheel",1,1)
4322  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4323 
4324  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4325  SWIG_fail_ptr("uiNode_on_wheel_get",1,SWIGTYPE_p_uiNode_t);
4326  }
4327 
4328  result = ((arg1)->lua_onWheel);
4329  {
4330  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4331  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4332  }
4333  return SWIG_arg;
4334 
4335  if(0) SWIG_fail;
4336 
4337 fail:
4338  lua_error(L);
4339  return SWIG_arg;
4340 }
4341 
4342 
4343 static int _wrap_uiNode_on_focusgained_set(lua_State* L) {
4344  int SWIG_arg = 0;
4345  uiNode_t *arg1 = (uiNode_t *) 0 ;
4346  LUA_EVENT arg2 ;
4347 
4348  SWIG_check_num_args("uiNode_t::lua_onFocusGained",2,2)
4349  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4350 
4351  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4352  SWIG_fail_ptr("uiNode_on_focusgained_set",1,SWIGTYPE_p_uiNode_t);
4353  }
4354 
4355  {
4356  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4357  }
4358  if (arg1) (arg1)->lua_onFocusGained = arg2;
4359 
4360  return SWIG_arg;
4361 
4362  if(0) SWIG_fail;
4363 
4364 fail:
4365  lua_error(L);
4366  return SWIG_arg;
4367 }
4368 
4369 
4370 static int _wrap_uiNode_on_focusgained_get(lua_State* L) {
4371  int SWIG_arg = 0;
4372  uiNode_t *arg1 = (uiNode_t *) 0 ;
4373  LUA_EVENT result;
4374 
4375  SWIG_check_num_args("uiNode_t::lua_onFocusGained",1,1)
4376  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4377 
4378  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4379  SWIG_fail_ptr("uiNode_on_focusgained_get",1,SWIGTYPE_p_uiNode_t);
4380  }
4381 
4382  result = ((arg1)->lua_onFocusGained);
4383  {
4384  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4385  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4386  }
4387  return SWIG_arg;
4388 
4389  if(0) SWIG_fail;
4390 
4391 fail:
4392  lua_error(L);
4393  return SWIG_arg;
4394 }
4395 
4396 
4397 static int _wrap_uiNode_on_focuslost_set(lua_State* L) {
4398  int SWIG_arg = 0;
4399  uiNode_t *arg1 = (uiNode_t *) 0 ;
4400  LUA_EVENT arg2 ;
4401 
4402  SWIG_check_num_args("uiNode_t::lua_onFocusLost",2,2)
4403  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4404 
4405  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4406  SWIG_fail_ptr("uiNode_on_focuslost_set",1,SWIGTYPE_p_uiNode_t);
4407  }
4408 
4409  {
4410  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4411  }
4412  if (arg1) (arg1)->lua_onFocusLost = arg2;
4413 
4414  return SWIG_arg;
4415 
4416  if(0) SWIG_fail;
4417 
4418 fail:
4419  lua_error(L);
4420  return SWIG_arg;
4421 }
4422 
4423 
4424 static int _wrap_uiNode_on_focuslost_get(lua_State* L) {
4425  int SWIG_arg = 0;
4426  uiNode_t *arg1 = (uiNode_t *) 0 ;
4427  LUA_EVENT result;
4428 
4429  SWIG_check_num_args("uiNode_t::lua_onFocusLost",1,1)
4430  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4431 
4432  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4433  SWIG_fail_ptr("uiNode_on_focuslost_get",1,SWIGTYPE_p_uiNode_t);
4434  }
4435 
4436  result = ((arg1)->lua_onFocusLost);
4437  {
4438  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4439  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4440  }
4441  return SWIG_arg;
4442 
4443  if(0) SWIG_fail;
4444 
4445 fail:
4446  lua_error(L);
4447  return SWIG_arg;
4448 }
4449 
4450 
4451 static int _wrap_uiNode_on_keypressed_set(lua_State* L) {
4452  int SWIG_arg = 0;
4453  uiNode_t *arg1 = (uiNode_t *) 0 ;
4454  LUA_EVENT arg2 ;
4455 
4456  SWIG_check_num_args("uiNode_t::lua_onKeyPressed",2,2)
4457  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4458 
4459  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4460  SWIG_fail_ptr("uiNode_on_keypressed_set",1,SWIGTYPE_p_uiNode_t);
4461  }
4462 
4463  {
4464  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4465  }
4466  if (arg1) (arg1)->lua_onKeyPressed = arg2;
4467 
4468  return SWIG_arg;
4469 
4470  if(0) SWIG_fail;
4471 
4472 fail:
4473  lua_error(L);
4474  return SWIG_arg;
4475 }
4476 
4477 
4478 static int _wrap_uiNode_on_keypressed_get(lua_State* L) {
4479  int SWIG_arg = 0;
4480  uiNode_t *arg1 = (uiNode_t *) 0 ;
4481  LUA_EVENT result;
4482 
4483  SWIG_check_num_args("uiNode_t::lua_onKeyPressed",1,1)
4484  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4485 
4486  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4487  SWIG_fail_ptr("uiNode_on_keypressed_get",1,SWIGTYPE_p_uiNode_t);
4488  }
4489 
4490  result = ((arg1)->lua_onKeyPressed);
4491  {
4492  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4493  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4494  }
4495  return SWIG_arg;
4496 
4497  if(0) SWIG_fail;
4498 
4499 fail:
4500  lua_error(L);
4501  return SWIG_arg;
4502 }
4503 
4504 
4505 static int _wrap_uiNode_on_keyreleased_set(lua_State* L) {
4506  int SWIG_arg = 0;
4507  uiNode_t *arg1 = (uiNode_t *) 0 ;
4508  LUA_EVENT arg2 ;
4509 
4510  SWIG_check_num_args("uiNode_t::lua_onKeyReleased",2,2)
4511  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4512 
4513  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4514  SWIG_fail_ptr("uiNode_on_keyreleased_set",1,SWIGTYPE_p_uiNode_t);
4515  }
4516 
4517  {
4518  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4519  }
4520  if (arg1) (arg1)->lua_onKeyReleased = arg2;
4521 
4522  return SWIG_arg;
4523 
4524  if(0) SWIG_fail;
4525 
4526 fail:
4527  lua_error(L);
4528  return SWIG_arg;
4529 }
4530 
4531 
4532 static int _wrap_uiNode_on_keyreleased_get(lua_State* L) {
4533  int SWIG_arg = 0;
4534  uiNode_t *arg1 = (uiNode_t *) 0 ;
4535  LUA_EVENT result;
4536 
4537  SWIG_check_num_args("uiNode_t::lua_onKeyReleased",1,1)
4538  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4539 
4540  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4541  SWIG_fail_ptr("uiNode_on_keyreleased_get",1,SWIGTYPE_p_uiNode_t);
4542  }
4543 
4544  result = ((arg1)->lua_onKeyReleased);
4545  {
4546  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4547  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4548  }
4549  return SWIG_arg;
4550 
4551  if(0) SWIG_fail;
4552 
4553 fail:
4554  lua_error(L);
4555  return SWIG_arg;
4556 }
4557 
4558 
4559 static int _wrap_uiNode_on_loaded_set(lua_State* L) {
4560  int SWIG_arg = 0;
4561  uiNode_t *arg1 = (uiNode_t *) 0 ;
4562  LUA_EVENT arg2 ;
4563 
4564  SWIG_check_num_args("uiNode_t::lua_onLoaded",2,2)
4565  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4566 
4567  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4568  SWIG_fail_ptr("uiNode_on_loaded_set",1,SWIGTYPE_p_uiNode_t);
4569  }
4570 
4571  {
4572  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4573  }
4574  if (arg1) (arg1)->lua_onLoaded = arg2;
4575 
4576  return SWIG_arg;
4577 
4578  if(0) SWIG_fail;
4579 
4580 fail:
4581  lua_error(L);
4582  return SWIG_arg;
4583 }
4584 
4585 
4586 static int _wrap_uiNode_on_loaded_get(lua_State* L) {
4587  int SWIG_arg = 0;
4588  uiNode_t *arg1 = (uiNode_t *) 0 ;
4589  LUA_EVENT result;
4590 
4591  SWIG_check_num_args("uiNode_t::lua_onLoaded",1,1)
4592  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4593 
4594  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4595  SWIG_fail_ptr("uiNode_on_loaded_get",1,SWIGTYPE_p_uiNode_t);
4596  }
4597 
4598  result = ((arg1)->lua_onLoaded);
4599  {
4600  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4601  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4602  }
4603  return SWIG_arg;
4604 
4605  if(0) SWIG_fail;
4606 
4607 fail:
4608  lua_error(L);
4609  return SWIG_arg;
4610 }
4611 
4612 
4613 static int _wrap_uiNode_on_activate_set(lua_State* L) {
4614  int SWIG_arg = 0;
4615  uiNode_t *arg1 = (uiNode_t *) 0 ;
4616  LUA_EVENT arg2 ;
4617 
4618  SWIG_check_num_args("uiNode_t::lua_onActivate",2,2)
4619  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4620 
4621  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4622  SWIG_fail_ptr("uiNode_on_activate_set",1,SWIGTYPE_p_uiNode_t);
4623  }
4624 
4625  {
4626  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4627  }
4628  if (arg1) (arg1)->lua_onActivate = arg2;
4629 
4630  return SWIG_arg;
4631 
4632  if(0) SWIG_fail;
4633 
4634 fail:
4635  lua_error(L);
4636  return SWIG_arg;
4637 }
4638 
4639 
4640 static int _wrap_uiNode_on_activate_get(lua_State* L) {
4641  int SWIG_arg = 0;
4642  uiNode_t *arg1 = (uiNode_t *) 0 ;
4643  LUA_EVENT result;
4644 
4645  SWIG_check_num_args("uiNode_t::lua_onActivate",1,1)
4646  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4647 
4648  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4649  SWIG_fail_ptr("uiNode_on_activate_get",1,SWIGTYPE_p_uiNode_t);
4650  }
4651 
4652  result = ((arg1)->lua_onActivate);
4653  {
4654  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4655  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4656  }
4657  return SWIG_arg;
4658 
4659  if(0) SWIG_fail;
4660 
4661 fail:
4662  lua_error(L);
4663  return SWIG_arg;
4664 }
4665 
4666 
4667 static int _wrap_uiNode_on_mouseenter_set(lua_State* L) {
4668  int SWIG_arg = 0;
4669  uiNode_t *arg1 = (uiNode_t *) 0 ;
4670  LUA_EVENT arg2 ;
4671 
4672  SWIG_check_num_args("uiNode_t::lua_onMouseEnter",2,2)
4673  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4674 
4675  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4676  SWIG_fail_ptr("uiNode_on_mouseenter_set",1,SWIGTYPE_p_uiNode_t);
4677  }
4678 
4679  {
4680  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4681  }
4682  if (arg1) (arg1)->lua_onMouseEnter = arg2;
4683 
4684  return SWIG_arg;
4685 
4686  if(0) SWIG_fail;
4687 
4688 fail:
4689  lua_error(L);
4690  return SWIG_arg;
4691 }
4692 
4693 
4694 static int _wrap_uiNode_on_mouseenter_get(lua_State* L) {
4695  int SWIG_arg = 0;
4696  uiNode_t *arg1 = (uiNode_t *) 0 ;
4697  LUA_EVENT result;
4698 
4699  SWIG_check_num_args("uiNode_t::lua_onMouseEnter",1,1)
4700  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4701 
4702  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4703  SWIG_fail_ptr("uiNode_on_mouseenter_get",1,SWIGTYPE_p_uiNode_t);
4704  }
4705 
4706  result = ((arg1)->lua_onMouseEnter);
4707  {
4708  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4709  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4710  }
4711  return SWIG_arg;
4712 
4713  if(0) SWIG_fail;
4714 
4715 fail:
4716  lua_error(L);
4717  return SWIG_arg;
4718 }
4719 
4720 
4721 static int _wrap_uiNode_on_mouseleave_set(lua_State* L) {
4722  int SWIG_arg = 0;
4723  uiNode_t *arg1 = (uiNode_t *) 0 ;
4724  LUA_EVENT arg2 ;
4725 
4726  SWIG_check_num_args("uiNode_t::lua_onMouseLeave",2,2)
4727  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4728 
4729  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4730  SWIG_fail_ptr("uiNode_on_mouseleave_set",1,SWIGTYPE_p_uiNode_t);
4731  }
4732 
4733  {
4734  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4735  }
4736  if (arg1) (arg1)->lua_onMouseLeave = arg2;
4737 
4738  return SWIG_arg;
4739 
4740  if(0) SWIG_fail;
4741 
4742 fail:
4743  lua_error(L);
4744  return SWIG_arg;
4745 }
4746 
4747 
4748 static int _wrap_uiNode_on_mouseleave_get(lua_State* L) {
4749  int SWIG_arg = 0;
4750  uiNode_t *arg1 = (uiNode_t *) 0 ;
4751  LUA_EVENT result;
4752 
4753  SWIG_check_num_args("uiNode_t::lua_onMouseLeave",1,1)
4754  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4755 
4756  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4757  SWIG_fail_ptr("uiNode_on_mouseleave_get",1,SWIGTYPE_p_uiNode_t);
4758  }
4759 
4760  result = ((arg1)->lua_onMouseLeave);
4761  {
4762  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4763  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4764  }
4765  return SWIG_arg;
4766 
4767  if(0) SWIG_fail;
4768 
4769 fail:
4770  lua_error(L);
4771  return SWIG_arg;
4772 }
4773 
4774 
4775 static int _wrap_uiNode_on_change_set(lua_State* L) {
4776  int SWIG_arg = 0;
4777  uiNode_t *arg1 = (uiNode_t *) 0 ;
4778  LUA_EVENT arg2 ;
4779 
4780  SWIG_check_num_args("uiNode_t::lua_onChange",2,2)
4781  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4782 
4783  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4784  SWIG_fail_ptr("uiNode_on_change_set",1,SWIGTYPE_p_uiNode_t);
4785  }
4786 
4787  {
4788  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4789  }
4790  if (arg1) (arg1)->lua_onChange = arg2;
4791 
4792  return SWIG_arg;
4793 
4794  if(0) SWIG_fail;
4795 
4796 fail:
4797  lua_error(L);
4798  return SWIG_arg;
4799 }
4800 
4801 
4802 static int _wrap_uiNode_on_change_get(lua_State* L) {
4803  int SWIG_arg = 0;
4804  uiNode_t *arg1 = (uiNode_t *) 0 ;
4805  LUA_EVENT result;
4806 
4807  SWIG_check_num_args("uiNode_t::lua_onChange",1,1)
4808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4809 
4810  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4811  SWIG_fail_ptr("uiNode_on_change_get",1,SWIGTYPE_p_uiNode_t);
4812  }
4813 
4814  result = ((arg1)->lua_onChange);
4815  {
4816  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4817  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4818  }
4819  return SWIG_arg;
4820 
4821  if(0) SWIG_fail;
4822 
4823 fail:
4824  lua_error(L);
4825  return SWIG_arg;
4826 }
4827 
4828 
4829 static int _wrap_uiNode_on_visiblewhen_set(lua_State* L) {
4830  int SWIG_arg = 0;
4831  uiNode_t *arg1 = (uiNode_t *) 0 ;
4832  LUA_EVENT arg2 ;
4833 
4834  SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",2,2)
4835  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4836 
4837  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4838  SWIG_fail_ptr("uiNode_on_visiblewhen_set",1,SWIGTYPE_p_uiNode_t);
4839  }
4840 
4841  {
4842  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4843  }
4844  if (arg1) (arg1)->lua_onVisibleWhen = arg2;
4845 
4846  return SWIG_arg;
4847 
4848  if(0) SWIG_fail;
4849 
4850 fail:
4851  lua_error(L);
4852  return SWIG_arg;
4853 }
4854 
4855 
4856 static int _wrap_uiNode_on_visiblewhen_get(lua_State* L) {
4857  int SWIG_arg = 0;
4858  uiNode_t *arg1 = (uiNode_t *) 0 ;
4859  LUA_EVENT result;
4860 
4861  SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",1,1)
4862  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4863 
4864  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4865  SWIG_fail_ptr("uiNode_on_visiblewhen_get",1,SWIGTYPE_p_uiNode_t);
4866  }
4867 
4868  result = ((arg1)->lua_onVisibleWhen);
4869  {
4870  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4871  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4872  }
4873  return SWIG_arg;
4874 
4875  if(0) SWIG_fail;
4876 
4877 fail:
4878  lua_error(L);
4879  return SWIG_arg;
4880 }
4881 
4882 
4883 static int _wrap_uiNode_is_window(lua_State* L) {
4884  int SWIG_arg = 0;
4885  uiNode_t *arg1 = (uiNode_t *) 0 ;
4886  bool result;
4887 
4888  SWIG_check_num_args("uiNode_t::is_window",1,1)
4889  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_window",1,"uiNode_t *");
4890 
4891  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4892  SWIG_fail_ptr("uiNode_is_window",1,SWIGTYPE_p_uiNode_t);
4893  }
4894 
4895  result = (bool)uiNode_t_is_window(arg1);
4896  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4897  return SWIG_arg;
4898 
4899  if(0) SWIG_fail;
4900 
4901 fail:
4902  lua_error(L);
4903  return SWIG_arg;
4904 }
4905 
4906 
4907 static int _wrap_uiNode_is_disabled(lua_State* L) {
4908  int SWIG_arg = 0;
4909  uiNode_t *arg1 = (uiNode_t *) 0 ;
4910  bool result;
4911 
4912  SWIG_check_num_args("uiNode_t::is_disabled",1,1)
4913  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_disabled",1,"uiNode_t *");
4914 
4915  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4916  SWIG_fail_ptr("uiNode_is_disabled",1,SWIGTYPE_p_uiNode_t);
4917  }
4918 
4919  result = (bool)uiNode_t_is_disabled(arg1);
4920  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4921  return SWIG_arg;
4922 
4923  if(0) SWIG_fail;
4924 
4925 fail:
4926  lua_error(L);
4927  return SWIG_arg;
4928 }
4929 
4930 
4931 static int _wrap_uiNode_is_invisible(lua_State* L) {
4932  int SWIG_arg = 0;
4933  uiNode_t *arg1 = (uiNode_t *) 0 ;
4934  bool result;
4935 
4936  SWIG_check_num_args("uiNode_t::is_invisible",1,1)
4937  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_invisible",1,"uiNode_t *");
4938 
4939  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4940  SWIG_fail_ptr("uiNode_is_invisible",1,SWIGTYPE_p_uiNode_t);
4941  }
4942 
4943  result = (bool)uiNode_t_is_invisible(arg1);
4944  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4945  return SWIG_arg;
4946 
4947  if(0) SWIG_fail;
4948 
4949 fail:
4950  lua_error(L);
4951  return SWIG_arg;
4952 }
4953 
4954 
4955 static int _wrap_uiNode_is_ghost(lua_State* L) {
4956  int SWIG_arg = 0;
4957  uiNode_t *arg1 = (uiNode_t *) 0 ;
4958  bool result;
4959 
4960  SWIG_check_num_args("uiNode_t::is_ghost",1,1)
4961  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_ghost",1,"uiNode_t *");
4962 
4963  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4964  SWIG_fail_ptr("uiNode_is_ghost",1,SWIGTYPE_p_uiNode_t);
4965  }
4966 
4967  result = (bool)uiNode_t_is_ghost(arg1);
4968  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4969  return SWIG_arg;
4970 
4971  if(0) SWIG_fail;
4972 
4973 fail:
4974  lua_error(L);
4975  return SWIG_arg;
4976 }
4977 
4978 
4979 static int _wrap_uiNode_is_flashing(lua_State* L) {
4980  int SWIG_arg = 0;
4981  uiNode_t *arg1 = (uiNode_t *) 0 ;
4982  bool result;
4983 
4984  SWIG_check_num_args("uiNode_t::is_flashing",1,1)
4985  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_flashing",1,"uiNode_t *");
4986 
4987  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4988  SWIG_fail_ptr("uiNode_is_flashing",1,SWIGTYPE_p_uiNode_t);
4989  }
4990 
4991  result = (bool)uiNode_t_is_flashing(arg1);
4992  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4993  return SWIG_arg;
4994 
4995  if(0) SWIG_fail;
4996 
4997 fail:
4998  lua_error(L);
4999  return SWIG_arg;
5000 }
5001 
5002 
5003 static int _wrap_uiNode_is_function(lua_State* L) {
5004  int SWIG_arg = 0;
5005  uiNode_t *arg1 = (uiNode_t *) 0 ;
5006  bool result;
5007 
5008  SWIG_check_num_args("uiNode_t::is_function",1,1)
5009  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_function",1,"uiNode_t *");
5010 
5011  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5012  SWIG_fail_ptr("uiNode_is_function",1,SWIGTYPE_p_uiNode_t);
5013  }
5014 
5015  result = (bool)uiNode_t_is_function(arg1);
5016  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5017  return SWIG_arg;
5018 
5019  if(0) SWIG_fail;
5020 
5021 fail:
5022  lua_error(L);
5023  return SWIG_arg;
5024 }
5025 
5026 
5027 static int _wrap_uiNode_is_virtual(lua_State* L) {
5028  int SWIG_arg = 0;
5029  uiNode_t *arg1 = (uiNode_t *) 0 ;
5030  bool result;
5031 
5032  SWIG_check_num_args("uiNode_t::is_virtual",1,1)
5033  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_virtual",1,"uiNode_t *");
5034 
5035  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5036  SWIG_fail_ptr("uiNode_is_virtual",1,SWIGTYPE_p_uiNode_t);
5037  }
5038 
5039  result = (bool)uiNode_t_is_virtual(arg1);
5040  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5041  return SWIG_arg;
5042 
5043  if(0) SWIG_fail;
5044 
5045 fail:
5046  lua_error(L);
5047  return SWIG_arg;
5048 }
5049 
5050 
5051 static int _wrap_uiNode_is_abstract(lua_State* L) {
5052  int SWIG_arg = 0;
5053  uiNode_t *arg1 = (uiNode_t *) 0 ;
5054  bool result;
5055 
5056  SWIG_check_num_args("uiNode_t::is_abstract",1,1)
5057  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_abstract",1,"uiNode_t *");
5058 
5059  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5060  SWIG_fail_ptr("uiNode_is_abstract",1,SWIGTYPE_p_uiNode_t);
5061  }
5062 
5063  result = (bool)uiNode_t_is_abstract(arg1);
5064  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5065  return SWIG_arg;
5066 
5067  if(0) SWIG_fail;
5068 
5069 fail:
5070  lua_error(L);
5071  return SWIG_arg;
5072 }
5073 
5074 
5075 static int _wrap_uiNode_left(lua_State* L) {
5076  int SWIG_arg = 0;
5077  uiNode_t *arg1 = (uiNode_t *) 0 ;
5078  float result;
5079 
5080  SWIG_check_num_args("uiNode_t::left",1,1)
5081  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::left",1,"uiNode_t *");
5082 
5083  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5084  SWIG_fail_ptr("uiNode_left",1,SWIGTYPE_p_uiNode_t);
5085  }
5086 
5087  result = (float)uiNode_t_left(arg1);
5088  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5089  return SWIG_arg;
5090 
5091  if(0) SWIG_fail;
5092 
5093 fail:
5094  lua_error(L);
5095  return SWIG_arg;
5096 }
5097 
5098 
5099 static int _wrap_uiNode_top(lua_State* L) {
5100  int SWIG_arg = 0;
5101  uiNode_t *arg1 = (uiNode_t *) 0 ;
5102  float result;
5103 
5104  SWIG_check_num_args("uiNode_t::top",1,1)
5105  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::top",1,"uiNode_t *");
5106 
5107  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5108  SWIG_fail_ptr("uiNode_top",1,SWIGTYPE_p_uiNode_t);
5109  }
5110 
5111  result = (float)uiNode_t_top(arg1);
5112  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5113  return SWIG_arg;
5114 
5115  if(0) SWIG_fail;
5116 
5117 fail:
5118  lua_error(L);
5119  return SWIG_arg;
5120 }
5121 
5122 
5123 static int _wrap_uiNode_width(lua_State* L) {
5124  int SWIG_arg = 0;
5125  uiNode_t *arg1 = (uiNode_t *) 0 ;
5126  float result;
5127 
5128  SWIG_check_num_args("uiNode_t::width",1,1)
5129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::width",1,"uiNode_t *");
5130 
5131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5132  SWIG_fail_ptr("uiNode_width",1,SWIGTYPE_p_uiNode_t);
5133  }
5134 
5135  result = (float)uiNode_t_width(arg1);
5136  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5137  return SWIG_arg;
5138 
5139  if(0) SWIG_fail;
5140 
5141 fail:
5142  lua_error(L);
5143  return SWIG_arg;
5144 }
5145 
5146 
5147 static int _wrap_uiNode_height(lua_State* L) {
5148  int SWIG_arg = 0;
5149  uiNode_t *arg1 = (uiNode_t *) 0 ;
5150  float result;
5151 
5152  SWIG_check_num_args("uiNode_t::height",1,1)
5153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::height",1,"uiNode_t *");
5154 
5155  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5156  SWIG_fail_ptr("uiNode_height",1,SWIGTYPE_p_uiNode_t);
5157  }
5158 
5159  result = (float)uiNode_t_height(arg1);
5160  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5161  return SWIG_arg;
5162 
5163  if(0) SWIG_fail;
5164 
5165 fail:
5166  lua_error(L);
5167  return SWIG_arg;
5168 }
5169 
5170 
5171 static int _wrap_uiNode_bordersize(lua_State* L) {
5172  int SWIG_arg = 0;
5173  uiNode_t *arg1 = (uiNode_t *) 0 ;
5174  int result;
5175 
5176  SWIG_check_num_args("uiNode_t::bordersize",1,1)
5177  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::bordersize",1,"uiNode_t *");
5178 
5179  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5180  SWIG_fail_ptr("uiNode_bordersize",1,SWIGTYPE_p_uiNode_t);
5181  }
5182 
5183  result = (int)uiNode_t_bordersize(arg1);
5184  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5185  return SWIG_arg;
5186 
5187  if(0) SWIG_fail;
5188 
5189 fail:
5190  lua_error(L);
5191  return SWIG_arg;
5192 }
5193 
5194 
5195 static int _wrap_uiNode_name(lua_State* L) {
5196  int SWIG_arg = 0;
5197  uiNode_t *arg1 = (uiNode_t *) 0 ;
5198  char *result = 0 ;
5199 
5200  SWIG_check_num_args("uiNode_t::name",1,1)
5201  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::name",1,"uiNode_t *");
5202 
5203  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5204  SWIG_fail_ptr("uiNode_name",1,SWIGTYPE_p_uiNode_t);
5205  }
5206 
5207  result = (char *)uiNode_t_name(arg1);
5208  lua_pushstring(L,(const char *)result); SWIG_arg++;
5209  return SWIG_arg;
5210 
5211  if(0) SWIG_fail;
5212 
5213 fail:
5214  lua_error(L);
5215  return SWIG_arg;
5216 }
5217 
5218 
5219 static int _wrap_uiNode_type(lua_State* L) {
5220  int SWIG_arg = 0;
5221  uiNode_t *arg1 = (uiNode_t *) 0 ;
5222  char *result = 0 ;
5223 
5224  SWIG_check_num_args("uiNode_t::type",1,1)
5225  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::type",1,"uiNode_t *");
5226 
5227  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5228  SWIG_fail_ptr("uiNode_type",1,SWIGTYPE_p_uiNode_t);
5229  }
5230 
5231  result = (char *)uiNode_t_type(arg1);
5232  lua_pushstring(L,(const char *)result); SWIG_arg++;
5233  return SWIG_arg;
5234 
5235  if(0) SWIG_fail;
5236 
5237 fail:
5238  lua_error(L);
5239  return SWIG_arg;
5240 }
5241 
5242 
5243 static int _wrap_uiNode_text(lua_State* L) {
5244  int SWIG_arg = 0;
5245  uiNode_t *arg1 = (uiNode_t *) 0 ;
5246  char *result = 0 ;
5247 
5248  SWIG_check_num_args("uiNode_t::text",1,1)
5249  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::text",1,"uiNode_t *");
5250 
5251  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5252  SWIG_fail_ptr("uiNode_text",1,SWIGTYPE_p_uiNode_t);
5253  }
5254 
5255  result = (char *)uiNode_t_text(arg1);
5256  lua_pushstring(L,(const char *)result); SWIG_arg++;
5257  return SWIG_arg;
5258 
5259  if(0) SWIG_fail;
5260 
5261 fail:
5262  lua_error(L);
5263  return SWIG_arg;
5264 }
5265 
5266 
5267 static int _wrap_uiNode_font(lua_State* L) {
5268  int SWIG_arg = 0;
5269  uiNode_t *arg1 = (uiNode_t *) 0 ;
5270  char *result = 0 ;
5271 
5272  SWIG_check_num_args("uiNode_t::font",1,1)
5273  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::font",1,"uiNode_t *");
5274 
5275  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5276  SWIG_fail_ptr("uiNode_font",1,SWIGTYPE_p_uiNode_t);
5277  }
5278 
5279  result = (char *)uiNode_t_font(arg1);
5280  lua_pushstring(L,(const char *)result); SWIG_arg++;
5281  return SWIG_arg;
5282 
5283  if(0) SWIG_fail;
5284 
5285 fail:
5286  lua_error(L);
5287  return SWIG_arg;
5288 }
5289 
5290 
5291 static int _wrap_uiNode_image(lua_State* L) {
5292  int SWIG_arg = 0;
5293  uiNode_t *arg1 = (uiNode_t *) 0 ;
5294  char *result = 0 ;
5295 
5296  SWIG_check_num_args("uiNode_t::image",1,1)
5297  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::image",1,"uiNode_t *");
5298 
5299  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5300  SWIG_fail_ptr("uiNode_image",1,SWIGTYPE_p_uiNode_t);
5301  }
5302 
5303  result = (char *)uiNode_t_image(arg1);
5304  lua_pushstring(L,(const char *)result); SWIG_arg++;
5305  return SWIG_arg;
5306 
5307  if(0) SWIG_fail;
5308 
5309 fail:
5310  lua_error(L);
5311  return SWIG_arg;
5312 }
5313 
5314 
5315 static int _wrap_uiNode_contentalign(lua_State* L) {
5316  int SWIG_arg = 0;
5317  uiNode_t *arg1 = (uiNode_t *) 0 ;
5318  int result;
5319 
5320  SWIG_check_num_args("uiNode_t::contentalign",1,1)
5321  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::contentalign",1,"uiNode_t *");
5322 
5323  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5324  SWIG_fail_ptr("uiNode_contentalign",1,SWIGTYPE_p_uiNode_t);
5325  }
5326 
5327  result = (int)uiNode_t_contentalign(arg1);
5328  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5329  return SWIG_arg;
5330 
5331  if(0) SWIG_fail;
5332 
5333 fail:
5334  lua_error(L);
5335  return SWIG_arg;
5336 }
5337 
5338 
5339 static int _wrap_uiNode_layoutalign(lua_State* L) {
5340  int SWIG_arg = 0;
5341  uiNode_t *arg1 = (uiNode_t *) 0 ;
5342  int result;
5343 
5344  SWIG_check_num_args("uiNode_t::layoutalign",1,1)
5345  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::layoutalign",1,"uiNode_t *");
5346 
5347  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5348  SWIG_fail_ptr("uiNode_layoutalign",1,SWIGTYPE_p_uiNode_t);
5349  }
5350 
5351  result = (int)uiNode_t_layoutalign(arg1);
5352  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5353  return SWIG_arg;
5354 
5355  if(0) SWIG_fail;
5356 
5357 fail:
5358  lua_error(L);
5359  return SWIG_arg;
5360 }
5361 
5362 
5363 static int _wrap_uiNode_flashspeed(lua_State* L) {
5364  int SWIG_arg = 0;
5365  uiNode_t *arg1 = (uiNode_t *) 0 ;
5366  float result;
5367 
5368  SWIG_check_num_args("uiNode_t::flashspeed",1,1)
5369  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::flashspeed",1,"uiNode_t *");
5370 
5371  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5372  SWIG_fail_ptr("uiNode_flashspeed",1,SWIGTYPE_p_uiNode_t);
5373  }
5374 
5375  result = (float)uiNode_t_flashspeed(arg1);
5376  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5377  return SWIG_arg;
5378 
5379  if(0) SWIG_fail;
5380 
5381 fail:
5382  lua_error(L);
5383  return SWIG_arg;
5384 }
5385 
5386 
5387 static int _wrap_uiNode_padding(lua_State* L) {
5388  int SWIG_arg = 0;
5389  uiNode_t *arg1 = (uiNode_t *) 0 ;
5390  int result;
5391 
5392  SWIG_check_num_args("uiNode_t::padding",1,1)
5393  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::padding",1,"uiNode_t *");
5394 
5395  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5396  SWIG_fail_ptr("uiNode_padding",1,SWIGTYPE_p_uiNode_t);
5397  }
5398 
5399  result = (int)uiNode_t_padding(arg1);
5400  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5401  return SWIG_arg;
5402 
5403  if(0) SWIG_fail;
5404 
5405 fail:
5406  lua_error(L);
5407  return SWIG_arg;
5408 }
5409 
5410 
5411 static int _wrap_uiNode_first(lua_State* L) {
5412  int SWIG_arg = 0;
5413  uiNode_t *arg1 = (uiNode_t *) 0 ;
5414  uiNode_t *result = 0 ;
5415 
5416  SWIG_check_num_args("uiNode_t::first",1,1)
5417  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::first",1,"uiNode_t *");
5418 
5419  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5420  SWIG_fail_ptr("uiNode_first",1,SWIGTYPE_p_uiNode_t);
5421  }
5422 
5423  result = (uiNode_t *)uiNode_t_first(arg1);
5424  {
5425  if (result) {
5426  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5427  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5428  } else {
5429  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5430  }
5431  }
5432  return SWIG_arg;
5433 
5434  if(0) SWIG_fail;
5435 
5436 fail:
5437  lua_error(L);
5438  return SWIG_arg;
5439 }
5440 
5441 
5442 static int _wrap_uiNode_last(lua_State* L) {
5443  int SWIG_arg = 0;
5444  uiNode_t *arg1 = (uiNode_t *) 0 ;
5445  uiNode_t *result = 0 ;
5446 
5447  SWIG_check_num_args("uiNode_t::last",1,1)
5448  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::last",1,"uiNode_t *");
5449 
5450  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5451  SWIG_fail_ptr("uiNode_last",1,SWIGTYPE_p_uiNode_t);
5452  }
5453 
5454  result = (uiNode_t *)uiNode_t_last(arg1);
5455  {
5456  if (result) {
5457  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5458  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5459  } else {
5460  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5461  }
5462  }
5463  return SWIG_arg;
5464 
5465  if(0) SWIG_fail;
5466 
5467 fail:
5468  lua_error(L);
5469  return SWIG_arg;
5470 }
5471 
5472 
5473 static int _wrap_uiNode_next(lua_State* L) {
5474  int SWIG_arg = 0;
5475  uiNode_t *arg1 = (uiNode_t *) 0 ;
5476  uiNode_t *result = 0 ;
5477 
5478  SWIG_check_num_args("uiNode_t::next",1,1)
5479  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::next",1,"uiNode_t *");
5480 
5481  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5482  SWIG_fail_ptr("uiNode_next",1,SWIGTYPE_p_uiNode_t);
5483  }
5484 
5485  result = (uiNode_t *)uiNode_t_next(arg1);
5486  {
5487  if (result) {
5488  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5489  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5490  } else {
5491  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5492  }
5493  }
5494  return SWIG_arg;
5495 
5496  if(0) SWIG_fail;
5497 
5498 fail:
5499  lua_error(L);
5500  return SWIG_arg;
5501 }
5502 
5503 
5504 static int _wrap_uiNode_parent(lua_State* L) {
5505  int SWIG_arg = 0;
5506  uiNode_t *arg1 = (uiNode_t *) 0 ;
5507  uiNode_t *result = 0 ;
5508 
5509  SWIG_check_num_args("uiNode_t::parent",1,1)
5510  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::parent",1,"uiNode_t *");
5511 
5512  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5513  SWIG_fail_ptr("uiNode_parent",1,SWIGTYPE_p_uiNode_t);
5514  }
5515 
5516  result = (uiNode_t *)uiNode_t_parent(arg1);
5517  {
5518  if (result) {
5519  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5520  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5521  } else {
5522  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5523  }
5524  }
5525  return SWIG_arg;
5526 
5527  if(0) SWIG_fail;
5528 
5529 fail:
5530  lua_error(L);
5531  return SWIG_arg;
5532 }
5533 
5534 
5535 static int _wrap_uiNode_root(lua_State* L) {
5536  int SWIG_arg = 0;
5537  uiNode_t *arg1 = (uiNode_t *) 0 ;
5538  uiNode_t *result = 0 ;
5539 
5540  SWIG_check_num_args("uiNode_t::root",1,1)
5541  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::root",1,"uiNode_t *");
5542 
5543  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5544  SWIG_fail_ptr("uiNode_root",1,SWIGTYPE_p_uiNode_t);
5545  }
5546 
5547  result = (uiNode_t *)uiNode_t_root(arg1);
5548  {
5549  if (result) {
5550  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5551  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5552  } else {
5553  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5554  }
5555  }
5556  return SWIG_arg;
5557 
5558  if(0) SWIG_fail;
5559 
5560 fail:
5561  lua_error(L);
5562  return SWIG_arg;
5563 }
5564 
5565 
5566 static int _wrap_uiNode_child(lua_State* L) {
5567  int SWIG_arg = 0;
5568  uiNode_t *arg1 = (uiNode_t *) 0 ;
5569  char *arg2 = (char *) 0 ;
5570  uiNode_t *result = 0 ;
5571 
5572  SWIG_check_num_args("uiNode_t::child",2,2)
5573  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::child",1,"uiNode_t *");
5574  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::child",2,"char const *");
5575 
5576  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5577  SWIG_fail_ptr("uiNode_child",1,SWIGTYPE_p_uiNode_t);
5578  }
5579 
5580  arg2 = (char *)lua_tostring(L, 2);
5581  result = (uiNode_t *)uiNode_t_child(arg1,(char const *)arg2);
5582  {
5583  if (result) {
5584  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5585  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5586  } else {
5587  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5588  }
5589  }
5590  return SWIG_arg;
5591 
5592  if(0) SWIG_fail;
5593 
5594 fail:
5595  lua_error(L);
5596  return SWIG_arg;
5597 }
5598 
5599 
5600 static int _wrap_uiNode_find(lua_State* L) {
5601  int SWIG_arg = 0;
5602  uiNode_t *arg1 = (uiNode_t *) 0 ;
5603  char *arg2 = (char *) 0 ;
5604  uiNode_t *result = 0 ;
5605 
5606  SWIG_check_num_args("uiNode_t::find",2,2)
5607  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::find",1,"uiNode_t *");
5608  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::find",2,"char const *");
5609 
5610  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5611  SWIG_fail_ptr("uiNode_find",1,SWIGTYPE_p_uiNode_t);
5612  }
5613 
5614  arg2 = (char *)lua_tostring(L, 2);
5615  result = (uiNode_t *)uiNode_t_find(arg1,(char const *)arg2);
5616  {
5617  if (result) {
5618  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
5619  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5620  } else {
5621  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5622  }
5623  }
5624  return SWIG_arg;
5625 
5626  if(0) SWIG_fail;
5627 
5628 fail:
5629  lua_error(L);
5630  return SWIG_arg;
5631 }
5632 
5633 
5634 static int _wrap_uiNode_append_node(lua_State* L) {
5635  int SWIG_arg = 0;
5636  uiNode_t *arg1 = (uiNode_t *) 0 ;
5637  uiNode_t *arg2 = (uiNode_t *) 0 ;
5638 
5639  SWIG_check_num_args("uiNode_t::append_node",2,2)
5640  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::append_node",1,"uiNode_t *");
5641  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::append_node",2,"uiNode_t *");
5642 
5643  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5644  SWIG_fail_ptr("uiNode_append_node",1,SWIGTYPE_p_uiNode_t);
5645  }
5646 
5647 
5648  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5649  SWIG_fail_ptr("uiNode_append_node",2,SWIGTYPE_p_uiNode_t);
5650  }
5651 
5652  uiNode_t_append_node(arg1,arg2);
5653 
5654  return SWIG_arg;
5655 
5656  if(0) SWIG_fail;
5657 
5658 fail:
5659  lua_error(L);
5660  return SWIG_arg;
5661 }
5662 
5663 
5664 static int _wrap_uiNode_insert_node(lua_State* L) {
5665  int SWIG_arg = 0;
5666  uiNode_t *arg1 = (uiNode_t *) 0 ;
5667  uiNode_t *arg2 = (uiNode_t *) 0 ;
5668  uiNode_t *arg3 = (uiNode_t *) 0 ;
5669 
5670  SWIG_check_num_args("uiNode_t::insert_node",3,3)
5671  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::insert_node",1,"uiNode_t *");
5672  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::insert_node",2,"uiNode_t *");
5673  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::insert_node",3,"uiNode_t *");
5674 
5675  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5676  SWIG_fail_ptr("uiNode_insert_node",1,SWIGTYPE_p_uiNode_t);
5677  }
5678 
5679 
5680  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5681  SWIG_fail_ptr("uiNode_insert_node",2,SWIGTYPE_p_uiNode_t);
5682  }
5683 
5684 
5685  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5686  SWIG_fail_ptr("uiNode_insert_node",3,SWIGTYPE_p_uiNode_t);
5687  }
5688 
5689  uiNode_t_insert_node(arg1,arg2,arg3);
5690 
5691  return SWIG_arg;
5692 
5693  if(0) SWIG_fail;
5694 
5695 fail:
5696  lua_error(L);
5697  return SWIG_arg;
5698 }
5699 
5700 
5701 static int _wrap_uiNode_move_node(lua_State* L) {
5702  int SWIG_arg = 0;
5703  uiNode_t *arg1 = (uiNode_t *) 0 ;
5704  uiNode_t *arg2 = (uiNode_t *) 0 ;
5705  uiNode_t *arg3 = (uiNode_t *) 0 ;
5706 
5707  SWIG_check_num_args("uiNode_t::move_node",3,3)
5708  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::move_node",1,"uiNode_t *");
5709  if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::move_node",2,"uiNode_t *");
5710  if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::move_node",3,"uiNode_t *");
5711 
5712  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5713  SWIG_fail_ptr("uiNode_move_node",1,SWIGTYPE_p_uiNode_t);
5714  }
5715 
5716 
5717  if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5718  SWIG_fail_ptr("uiNode_move_node",2,SWIGTYPE_p_uiNode_t);
5719  }
5720 
5721 
5722  if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5723  SWIG_fail_ptr("uiNode_move_node",3,SWIGTYPE_p_uiNode_t);
5724  }
5725 
5726  uiNode_t_move_node(arg1,arg2,arg3);
5727 
5728  return SWIG_arg;
5729 
5730  if(0) SWIG_fail;
5731 
5732 fail:
5733  lua_error(L);
5734  return SWIG_arg;
5735 }
5736 
5737 
5738 static int _wrap_uiNode_delete_node(lua_State* L) {
5739  int SWIG_arg = 0;
5740  uiNode_t *arg1 = (uiNode_t *) 0 ;
5741 
5742  SWIG_check_num_args("uiNode_t::delete_node",1,1)
5743  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::delete_node",1,"uiNode_t *");
5744 
5745  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5746  SWIG_fail_ptr("uiNode_delete_node",1,SWIGTYPE_p_uiNode_t);
5747  }
5748 
5749  uiNode_t_delete_node(arg1);
5750 
5751  return SWIG_arg;
5752 
5753  if(0) SWIG_fail;
5754 
5755 fail:
5756  lua_error(L);
5757  return SWIG_arg;
5758 }
5759 
5760 
5761 static int _wrap_uiNode_remove_children(lua_State* L) {
5762  int SWIG_arg = 0;
5763  uiNode_t *arg1 = (uiNode_t *) 0 ;
5764 
5765  SWIG_check_num_args("uiNode_t::remove_children",1,1)
5766  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::remove_children",1,"uiNode_t *");
5767 
5768  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5769  SWIG_fail_ptr("uiNode_remove_children",1,SWIGTYPE_p_uiNode_t);
5770  }
5771 
5773 
5774  return SWIG_arg;
5775 
5776  if(0) SWIG_fail;
5777 
5778 fail:
5779  lua_error(L);
5780  return SWIG_arg;
5781 }
5782 
5783 
5784 static int _wrap_uiNode_set_left(lua_State* L) {
5785  int SWIG_arg = 0;
5786  uiNode_t *arg1 = (uiNode_t *) 0 ;
5787  float arg2 ;
5788 
5789  SWIG_check_num_args("uiNode_t::set_left",2,2)
5790  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_left",1,"uiNode_t *");
5791  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_left",2,"float");
5792 
5793  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5794  SWIG_fail_ptr("uiNode_set_left",1,SWIGTYPE_p_uiNode_t);
5795  }
5796 
5797  arg2 = (float)lua_tonumber(L, 2);
5798  uiNode_t_set_left(arg1,arg2);
5799 
5800  return SWIG_arg;
5801 
5802  if(0) SWIG_fail;
5803 
5804 fail:
5805  lua_error(L);
5806  return SWIG_arg;
5807 }
5808 
5809 
5810 static int _wrap_uiNode_set_top(lua_State* L) {
5811  int SWIG_arg = 0;
5812  uiNode_t *arg1 = (uiNode_t *) 0 ;
5813  float arg2 ;
5814 
5815  SWIG_check_num_args("uiNode_t::set_top",2,2)
5816  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_top",1,"uiNode_t *");
5817  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_top",2,"float");
5818 
5819  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5820  SWIG_fail_ptr("uiNode_set_top",1,SWIGTYPE_p_uiNode_t);
5821  }
5822 
5823  arg2 = (float)lua_tonumber(L, 2);
5824  uiNode_t_set_top(arg1,arg2);
5825 
5826  return SWIG_arg;
5827 
5828  if(0) SWIG_fail;
5829 
5830 fail:
5831  lua_error(L);
5832  return SWIG_arg;
5833 }
5834 
5835 
5836 static int _wrap_uiNode_set_width(lua_State* L) {
5837  int SWIG_arg = 0;
5838  uiNode_t *arg1 = (uiNode_t *) 0 ;
5839  float arg2 ;
5840 
5841  SWIG_check_num_args("uiNode_t::set_width",2,2)
5842  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_width",1,"uiNode_t *");
5843  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_width",2,"float");
5844 
5845  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5846  SWIG_fail_ptr("uiNode_set_width",1,SWIGTYPE_p_uiNode_t);
5847  }
5848 
5849  arg2 = (float)lua_tonumber(L, 2);
5850  uiNode_t_set_width(arg1,arg2);
5851 
5852  return SWIG_arg;
5853 
5854  if(0) SWIG_fail;
5855 
5856 fail:
5857  lua_error(L);
5858  return SWIG_arg;
5859 }
5860 
5861 
5862 static int _wrap_uiNode_set_height(lua_State* L) {
5863  int SWIG_arg = 0;
5864  uiNode_t *arg1 = (uiNode_t *) 0 ;
5865  float arg2 ;
5866 
5867  SWIG_check_num_args("uiNode_t::set_height",2,2)
5868  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_height",1,"uiNode_t *");
5869  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_height",2,"float");
5870 
5871  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5872  SWIG_fail_ptr("uiNode_set_height",1,SWIGTYPE_p_uiNode_t);
5873  }
5874 
5875  arg2 = (float)lua_tonumber(L, 2);
5876  uiNode_t_set_height(arg1,arg2);
5877 
5878  return SWIG_arg;
5879 
5880  if(0) SWIG_fail;
5881 
5882 fail:
5883  lua_error(L);
5884  return SWIG_arg;
5885 }
5886 
5887 
5888 static int _wrap_uiNode_set_box(lua_State* L) {
5889  int SWIG_arg = 0;
5890  uiNode_t *arg1 = (uiNode_t *) 0 ;
5891  float arg2 ;
5892  float arg3 ;
5893  float arg4 ;
5894  float arg5 ;
5895 
5896  SWIG_check_num_args("uiNode_t::set_box",5,5)
5897  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_box",1,"uiNode_t *");
5898  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_box",2,"float");
5899  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_box",3,"float");
5900  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_box",4,"float");
5901  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_box",5,"float");
5902 
5903  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5904  SWIG_fail_ptr("uiNode_set_box",1,SWIGTYPE_p_uiNode_t);
5905  }
5906 
5907  arg2 = (float)lua_tonumber(L, 2);
5908  arg3 = (float)lua_tonumber(L, 3);
5909  arg4 = (float)lua_tonumber(L, 4);
5910  arg5 = (float)lua_tonumber(L, 5);
5911  uiNode_t_set_box(arg1,arg2,arg3,arg4,arg5);
5912 
5913  return SWIG_arg;
5914 
5915  if(0) SWIG_fail;
5916 
5917 fail:
5918  lua_error(L);
5919  return SWIG_arg;
5920 }
5921 
5922 
5923 static int _wrap_uiNode_set_flashing(lua_State* L) {
5924  int SWIG_arg = 0;
5925  uiNode_t *arg1 = (uiNode_t *) 0 ;
5926  bool arg2 ;
5927 
5928  SWIG_check_num_args("uiNode_t::set_flashing",2,2)
5929  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashing",1,"uiNode_t *");
5930  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_flashing",2,"bool");
5931 
5932  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5933  SWIG_fail_ptr("uiNode_set_flashing",1,SWIGTYPE_p_uiNode_t);
5934  }
5935 
5936  arg2 = (lua_toboolean(L, 2)!=0);
5937  uiNode_t_set_flashing(arg1,arg2);
5938 
5939  return SWIG_arg;
5940 
5941  if(0) SWIG_fail;
5942 
5943 fail:
5944  lua_error(L);
5945  return SWIG_arg;
5946 }
5947 
5948 
5949 static int _wrap_uiNode_set_flashspeed(lua_State* L) {
5950  int SWIG_arg = 0;
5951  uiNode_t *arg1 = (uiNode_t *) 0 ;
5952  float arg2 ;
5953 
5954  SWIG_check_num_args("uiNode_t::set_flashspeed",2,2)
5955  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashspeed",1,"uiNode_t *");
5956  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashspeed",2,"float");
5957 
5958  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5959  SWIG_fail_ptr("uiNode_set_flashspeed",1,SWIGTYPE_p_uiNode_t);
5960  }
5961 
5962  arg2 = (float)lua_tonumber(L, 2);
5963  uiNode_t_set_flashspeed(arg1,arg2);
5964 
5965  return SWIG_arg;
5966 
5967  if(0) SWIG_fail;
5968 
5969 fail:
5970  lua_error(L);
5971  return SWIG_arg;
5972 }
5973 
5974 
5975 static int _wrap_uiNode_set_invisible(lua_State* L) {
5976  int SWIG_arg = 0;
5977  uiNode_t *arg1 = (uiNode_t *) 0 ;
5978  bool arg2 ;
5979 
5980  SWIG_check_num_args("uiNode_t::set_invisible",2,2)
5981  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_invisible",1,"uiNode_t *");
5982  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_invisible",2,"bool");
5983 
5984  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5985  SWIG_fail_ptr("uiNode_set_invisible",1,SWIGTYPE_p_uiNode_t);
5986  }
5987 
5988  arg2 = (lua_toboolean(L, 2)!=0);
5989  uiNode_t_set_invisible(arg1,arg2);
5990 
5991  return SWIG_arg;
5992 
5993  if(0) SWIG_fail;
5994 
5995 fail:
5996  lua_error(L);
5997  return SWIG_arg;
5998 }
5999 
6000 
6001 static int _wrap_uiNode_set_ghost(lua_State* L) {
6002  int SWIG_arg = 0;
6003  uiNode_t *arg1 = (uiNode_t *) 0 ;
6004  bool arg2 ;
6005 
6006  SWIG_check_num_args("uiNode_t::set_ghost",2,2)
6007  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_ghost",1,"uiNode_t *");
6008  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_ghost",2,"bool");
6009 
6010  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6011  SWIG_fail_ptr("uiNode_set_ghost",1,SWIGTYPE_p_uiNode_t);
6012  }
6013 
6014  arg2 = (lua_toboolean(L, 2)!=0);
6015  uiNode_t_set_ghost(arg1,arg2);
6016 
6017  return SWIG_arg;
6018 
6019  if(0) SWIG_fail;
6020 
6021 fail:
6022  lua_error(L);
6023  return SWIG_arg;
6024 }
6025 
6026 
6027 static int _wrap_uiNode_set_pos(lua_State* L) {
6028  int SWIG_arg = 0;
6029  uiNode_t *arg1 = (uiNode_t *) 0 ;
6030  float arg2 ;
6031  float arg3 ;
6032 
6033  SWIG_check_num_args("uiNode_t::set_pos",3,3)
6034  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_pos",1,"uiNode_t *");
6035  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_pos",2,"float");
6036  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_pos",3,"float");
6037 
6038  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6039  SWIG_fail_ptr("uiNode_set_pos",1,SWIGTYPE_p_uiNode_t);
6040  }
6041 
6042  arg2 = (float)lua_tonumber(L, 2);
6043  arg3 = (float)lua_tonumber(L, 3);
6044  uiNode_t_set_pos(arg1,arg2,arg3);
6045 
6046  return SWIG_arg;
6047 
6048  if(0) SWIG_fail;
6049 
6050 fail:
6051  lua_error(L);
6052  return SWIG_arg;
6053 }
6054 
6055 
6056 static int _wrap_uiNode_set_size(lua_State* L) {
6057  int SWIG_arg = 0;
6058  uiNode_t *arg1 = (uiNode_t *) 0 ;
6059  float arg2 ;
6060  float arg3 ;
6061 
6062  SWIG_check_num_args("uiNode_t::set_size",3,3)
6063  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_size",1,"uiNode_t *");
6064  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_size",2,"float");
6065  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_size",3,"float");
6066 
6067  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6068  SWIG_fail_ptr("uiNode_set_size",1,SWIGTYPE_p_uiNode_t);
6069  }
6070 
6071  arg2 = (float)lua_tonumber(L, 2);
6072  arg3 = (float)lua_tonumber(L, 3);
6073  uiNode_t_set_size(arg1,arg2,arg3);
6074 
6075  return SWIG_arg;
6076 
6077  if(0) SWIG_fail;
6078 
6079 fail:
6080  lua_error(L);
6081  return SWIG_arg;
6082 }
6083 
6084 
6085 static int _wrap_uiNode_set_color(lua_State* L) {
6086  int SWIG_arg = 0;
6087  uiNode_t *arg1 = (uiNode_t *) 0 ;
6088  float arg2 ;
6089  float arg3 ;
6090  float arg4 ;
6091  float arg5 ;
6092 
6093  SWIG_check_num_args("uiNode_t::set_color",5,5)
6094  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_color",1,"uiNode_t *");
6095  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_color",2,"float");
6096  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_color",3,"float");
6097  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_color",4,"float");
6098  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_color",5,"float");
6099 
6100  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6101  SWIG_fail_ptr("uiNode_set_color",1,SWIGTYPE_p_uiNode_t);
6102  }
6103 
6104  arg2 = (float)lua_tonumber(L, 2);
6105  arg3 = (float)lua_tonumber(L, 3);
6106  arg4 = (float)lua_tonumber(L, 4);
6107  arg5 = (float)lua_tonumber(L, 5);
6108  uiNode_t_set_color(arg1,arg2,arg3,arg4,arg5);
6109 
6110  return SWIG_arg;
6111 
6112  if(0) SWIG_fail;
6113 
6114 fail:
6115  lua_error(L);
6116  return SWIG_arg;
6117 }
6118 
6119 
6120 static int _wrap_uiNode_set_disabledcolor(lua_State* L) {
6121  int SWIG_arg = 0;
6122  uiNode_t *arg1 = (uiNode_t *) 0 ;
6123  float arg2 ;
6124  float arg3 ;
6125  float arg4 ;
6126  float arg5 ;
6127 
6128  SWIG_check_num_args("uiNode_t::set_disabledcolor",5,5)
6129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabledcolor",1,"uiNode_t *");
6130  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_disabledcolor",2,"float");
6131  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_disabledcolor",3,"float");
6132  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_disabledcolor",4,"float");
6133  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_disabledcolor",5,"float");
6134 
6135  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6136  SWIG_fail_ptr("uiNode_set_disabledcolor",1,SWIGTYPE_p_uiNode_t);
6137  }
6138 
6139  arg2 = (float)lua_tonumber(L, 2);
6140  arg3 = (float)lua_tonumber(L, 3);
6141  arg4 = (float)lua_tonumber(L, 4);
6142  arg5 = (float)lua_tonumber(L, 5);
6143  uiNode_t_set_disabledcolor(arg1,arg2,arg3,arg4,arg5);
6144 
6145  return SWIG_arg;
6146 
6147  if(0) SWIG_fail;
6148 
6149 fail:
6150  lua_error(L);
6151  return SWIG_arg;
6152 }
6153 
6154 
6155 static int _wrap_uiNode_set_flashcolor(lua_State* L) {
6156  int SWIG_arg = 0;
6157  uiNode_t *arg1 = (uiNode_t *) 0 ;
6158  float arg2 ;
6159  float arg3 ;
6160  float arg4 ;
6161  float arg5 ;
6162 
6163  SWIG_check_num_args("uiNode_t::set_flashcolor",5,5)
6164  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashcolor",1,"uiNode_t *");
6165  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashcolor",2,"float");
6166  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_flashcolor",3,"float");
6167  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_flashcolor",4,"float");
6168  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_flashcolor",5,"float");
6169 
6170  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6171  SWIG_fail_ptr("uiNode_set_flashcolor",1,SWIGTYPE_p_uiNode_t);
6172  }
6173 
6174  arg2 = (float)lua_tonumber(L, 2);
6175  arg3 = (float)lua_tonumber(L, 3);
6176  arg4 = (float)lua_tonumber(L, 4);
6177  arg5 = (float)lua_tonumber(L, 5);
6178  uiNode_t_set_flashcolor(arg1,arg2,arg3,arg4,arg5);
6179 
6180  return SWIG_arg;
6181 
6182  if(0) SWIG_fail;
6183 
6184 fail:
6185  lua_error(L);
6186  return SWIG_arg;
6187 }
6188 
6189 
6190 static int _wrap_uiNode_set_selectcolor(lua_State* L) {
6191  int SWIG_arg = 0;
6192  uiNode_t *arg1 = (uiNode_t *) 0 ;
6193  float arg2 ;
6194  float arg3 ;
6195  float arg4 ;
6196  float arg5 ;
6197 
6198  SWIG_check_num_args("uiNode_t::set_selectcolor",5,5)
6199  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_selectcolor",1,"uiNode_t *");
6200  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_selectcolor",2,"float");
6201  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_selectcolor",3,"float");
6202  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_selectcolor",4,"float");
6203  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_selectcolor",5,"float");
6204 
6205  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6206  SWIG_fail_ptr("uiNode_set_selectcolor",1,SWIGTYPE_p_uiNode_t);
6207  }
6208 
6209  arg2 = (float)lua_tonumber(L, 2);
6210  arg3 = (float)lua_tonumber(L, 3);
6211  arg4 = (float)lua_tonumber(L, 4);
6212  arg5 = (float)lua_tonumber(L, 5);
6213  uiNode_t_set_selectcolor(arg1,arg2,arg3,arg4,arg5);
6214 
6215  return SWIG_arg;
6216 
6217  if(0) SWIG_fail;
6218 
6219 fail:
6220  lua_error(L);
6221  return SWIG_arg;
6222 }
6223 
6224 
6225 static int _wrap_uiNode_set_backgroundcolor(lua_State* L) {
6226  int SWIG_arg = 0;
6227  uiNode_t *arg1 = (uiNode_t *) 0 ;
6228  float arg2 ;
6229  float arg3 ;
6230  float arg4 ;
6231  float arg5 ;
6232 
6233  SWIG_check_num_args("uiNode_t::set_backgroundcolor",5,5)
6234  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",1,"uiNode_t *");
6235  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",2,"float");
6236  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",3,"float");
6237  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",4,"float");
6238  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",5,"float");
6239 
6240  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6241  SWIG_fail_ptr("uiNode_set_backgroundcolor",1,SWIGTYPE_p_uiNode_t);
6242  }
6243 
6244  arg2 = (float)lua_tonumber(L, 2);
6245  arg3 = (float)lua_tonumber(L, 3);
6246  arg4 = (float)lua_tonumber(L, 4);
6247  arg5 = (float)lua_tonumber(L, 5);
6248  uiNode_t_set_backgroundcolor(arg1,arg2,arg3,arg4,arg5);
6249 
6250  return SWIG_arg;
6251 
6252  if(0) SWIG_fail;
6253 
6254 fail:
6255  lua_error(L);
6256  return SWIG_arg;
6257 }
6258 
6259 
6260 static int _wrap_uiNode_set_bordersize(lua_State* L) {
6261  int SWIG_arg = 0;
6262  uiNode_t *arg1 = (uiNode_t *) 0 ;
6263  int arg2 ;
6264 
6265  SWIG_check_num_args("uiNode_t::set_bordersize",2,2)
6266  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordersize",1,"uiNode_t *");
6267  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordersize",2,"int");
6268 
6269  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6270  SWIG_fail_ptr("uiNode_set_bordersize",1,SWIGTYPE_p_uiNode_t);
6271  }
6272 
6273  arg2 = (int)lua_tonumber(L, 2);
6274  uiNode_t_set_bordersize(arg1,arg2);
6275 
6276  return SWIG_arg;
6277 
6278  if(0) SWIG_fail;
6279 
6280 fail:
6281  lua_error(L);
6282  return SWIG_arg;
6283 }
6284 
6285 
6286 static int _wrap_uiNode_set_bordercolor(lua_State* L) {
6287  int SWIG_arg = 0;
6288  uiNode_t *arg1 = (uiNode_t *) 0 ;
6289  float arg2 ;
6290  float arg3 ;
6291  float arg4 ;
6292  float arg5 ;
6293 
6294  SWIG_check_num_args("uiNode_t::set_bordercolor",5,5)
6295  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordercolor",1,"uiNode_t *");
6296  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordercolor",2,"float");
6297  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_bordercolor",3,"float");
6298  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_bordercolor",4,"float");
6299  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_bordercolor",5,"float");
6300 
6301  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6302  SWIG_fail_ptr("uiNode_set_bordercolor",1,SWIGTYPE_p_uiNode_t);
6303  }
6304 
6305  arg2 = (float)lua_tonumber(L, 2);
6306  arg3 = (float)lua_tonumber(L, 3);
6307  arg4 = (float)lua_tonumber(L, 4);
6308  arg5 = (float)lua_tonumber(L, 5);
6309  uiNode_t_set_bordercolor(arg1,arg2,arg3,arg4,arg5);
6310 
6311  return SWIG_arg;
6312 
6313  if(0) SWIG_fail;
6314 
6315 fail:
6316  lua_error(L);
6317  return SWIG_arg;
6318 }
6319 
6320 
6321 static int _wrap_uiNode_set_text(lua_State* L) {
6322  int SWIG_arg = 0;
6323  uiNode_t *arg1 = (uiNode_t *) 0 ;
6324  char *arg2 = (char *) 0 ;
6325 
6326  SWIG_check_num_args("uiNode_t::set_text",2,2)
6327  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_text",1,"uiNode_t *");
6328  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_text",2,"char const *");
6329 
6330  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6331  SWIG_fail_ptr("uiNode_set_text",1,SWIGTYPE_p_uiNode_t);
6332  }
6333 
6334  arg2 = (char *)lua_tostring(L, 2);
6335  uiNode_t_set_text(arg1,(char const *)arg2);
6336 
6337  return SWIG_arg;
6338 
6339  if(0) SWIG_fail;
6340 
6341 fail:
6342  lua_error(L);
6343  return SWIG_arg;
6344 }
6345 
6346 
6347 static int _wrap_uiNode_set_font(lua_State* L) {
6348  int SWIG_arg = 0;
6349  uiNode_t *arg1 = (uiNode_t *) 0 ;
6350  char *arg2 = (char *) 0 ;
6351 
6352  SWIG_check_num_args("uiNode_t::set_font",2,2)
6353  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_font",1,"uiNode_t *");
6354  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_font",2,"char const *");
6355 
6356  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6357  SWIG_fail_ptr("uiNode_set_font",1,SWIGTYPE_p_uiNode_t);
6358  }
6359 
6360  arg2 = (char *)lua_tostring(L, 2);
6361  uiNode_t_set_font(arg1,(char const *)arg2);
6362 
6363  return SWIG_arg;
6364 
6365  if(0) SWIG_fail;
6366 
6367 fail:
6368  lua_error(L);
6369  return SWIG_arg;
6370 }
6371 
6372 
6373 static int _wrap_uiNode_set_image(lua_State* L) {
6374  int SWIG_arg = 0;
6375  uiNode_t *arg1 = (uiNode_t *) 0 ;
6376  char *arg2 = (char *) 0 ;
6377 
6378  SWIG_check_num_args("uiNode_t::set_image",2,2)
6379  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_image",1,"uiNode_t *");
6380  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_image",2,"char const *");
6381 
6382  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6383  SWIG_fail_ptr("uiNode_set_image",1,SWIGTYPE_p_uiNode_t);
6384  }
6385 
6386  arg2 = (char *)lua_tostring(L, 2);
6387  uiNode_t_set_image(arg1,(char const *)arg2);
6388 
6389  return SWIG_arg;
6390 
6391  if(0) SWIG_fail;
6392 
6393 fail:
6394  lua_error(L);
6395  return SWIG_arg;
6396 }
6397 
6398 
6399 static int _wrap_uiNode_set_contentalign(lua_State* L) {
6400  int SWIG_arg = 0;
6401  uiNode_t *arg1 = (uiNode_t *) 0 ;
6402  int arg2 ;
6403 
6404  SWIG_check_num_args("uiNode_t::set_contentalign",2,2)
6405  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_contentalign",1,"uiNode_t *");
6406  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_contentalign",2,"int");
6407 
6408  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6409  SWIG_fail_ptr("uiNode_set_contentalign",1,SWIGTYPE_p_uiNode_t);
6410  }
6411 
6412  arg2 = (int)lua_tonumber(L, 2);
6413  uiNode_t_set_contentalign(arg1,arg2);
6414 
6415  return SWIG_arg;
6416 
6417  if(0) SWIG_fail;
6418 
6419 fail:
6420  lua_error(L);
6421  return SWIG_arg;
6422 }
6423 
6424 
6425 static int _wrap_uiNode_set_layoutalign(lua_State* L) {
6426  int SWIG_arg = 0;
6427  uiNode_t *arg1 = (uiNode_t *) 0 ;
6428  int arg2 ;
6429 
6430  SWIG_check_num_args("uiNode_t::set_layoutalign",2,2)
6431  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_layoutalign",1,"uiNode_t *");
6432  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_layoutalign",2,"int");
6433 
6434  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6435  SWIG_fail_ptr("uiNode_set_layoutalign",1,SWIGTYPE_p_uiNode_t);
6436  }
6437 
6438  arg2 = (int)lua_tonumber(L, 2);
6439  uiNode_t_set_layoutalign(arg1,arg2);
6440 
6441  return SWIG_arg;
6442 
6443  if(0) SWIG_fail;
6444 
6445 fail:
6446  lua_error(L);
6447  return SWIG_arg;
6448 }
6449 
6450 
6451 static int _wrap_uiNode_set_tooltip(lua_State* L) {
6452  int SWIG_arg = 0;
6453  uiNode_t *arg1 = (uiNode_t *) 0 ;
6454  char *arg2 = (char *) 0 ;
6455 
6456  SWIG_check_num_args("uiNode_t::set_tooltip",2,2)
6457  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_tooltip",1,"uiNode_t *");
6458  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_tooltip",2,"char const *");
6459 
6460  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6461  SWIG_fail_ptr("uiNode_set_tooltip",1,SWIGTYPE_p_uiNode_t);
6462  }
6463 
6464  arg2 = (char *)lua_tostring(L, 2);
6465  uiNode_t_set_tooltip(arg1,(char const *)arg2);
6466 
6467  return SWIG_arg;
6468 
6469  if(0) SWIG_fail;
6470 
6471 fail:
6472  lua_error(L);
6473  return SWIG_arg;
6474 }
6475 
6476 
6477 static int _wrap_uiNode_set_disabled(lua_State* L) {
6478  int SWIG_arg = 0;
6479  uiNode_t *arg1 = (uiNode_t *) 0 ;
6480  bool arg2 ;
6481 
6482  SWIG_check_num_args("uiNode_t::set_disabled",2,2)
6483  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabled",1,"uiNode_t *");
6484  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_disabled",2,"bool");
6485 
6486  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6487  SWIG_fail_ptr("uiNode_set_disabled",1,SWIGTYPE_p_uiNode_t);
6488  }
6489 
6490  arg2 = (lua_toboolean(L, 2)!=0);
6491  uiNode_t_set_disabled(arg1,arg2);
6492 
6493  return SWIG_arg;
6494 
6495  if(0) SWIG_fail;
6496 
6497 fail:
6498  lua_error(L);
6499  return SWIG_arg;
6500 }
6501 
6502 
6503 static int _wrap_uiNode_set_borderthickness(lua_State* L) {
6504  int SWIG_arg = 0;
6505  uiNode_t *arg1 = (uiNode_t *) 0 ;
6506  int arg2 ;
6507 
6508  SWIG_check_num_args("uiNode_t::set_borderthickness",2,2)
6509  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_borderthickness",1,"uiNode_t *");
6510  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_borderthickness",2,"int");
6511 
6512  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6513  SWIG_fail_ptr("uiNode_set_borderthickness",1,SWIGTYPE_p_uiNode_t);
6514  }
6515 
6516  arg2 = (int)lua_tonumber(L, 2);
6517  uiNode_t_set_borderthickness(arg1,arg2);
6518 
6519  return SWIG_arg;
6520 
6521  if(0) SWIG_fail;
6522 
6523 fail:
6524  lua_error(L);
6525  return SWIG_arg;
6526 }
6527 
6528 
6529 static int _wrap_uiNode_set_padding(lua_State* L) {
6530  int SWIG_arg = 0;
6531  uiNode_t *arg1 = (uiNode_t *) 0 ;
6532  int arg2 ;
6533 
6534  SWIG_check_num_args("uiNode_t::set_padding",2,2)
6535  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_padding",1,"uiNode_t *");
6536  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_padding",2,"int");
6537 
6538  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6539  SWIG_fail_ptr("uiNode_set_padding",1,SWIGTYPE_p_uiNode_t);
6540  }
6541 
6542  arg2 = (int)lua_tonumber(L, 2);
6543  uiNode_t_set_padding(arg1,arg2);
6544 
6545  return SWIG_arg;
6546 
6547  if(0) SWIG_fail;
6548 
6549 fail:
6550  lua_error(L);
6551  return SWIG_arg;
6552 }
6553 
6554 
6555 static int _wrap_uiNode___setitem(lua_State* L) {
6556  int SWIG_arg = 0;
6557  uiNode_t *arg1 = (uiNode_t *) 0 ;
6558  char *arg2 = (char *) 0 ;
6559  LUA_METHOD arg3 ;
6560 
6561  SWIG_check_num_args("uiNode_t::__setitem",3,3)
6562  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__setitem",1,"uiNode_t *");
6563  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__setitem",2,"char const *");
6564 
6565  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6566  SWIG_fail_ptr("uiNode___setitem",1,SWIGTYPE_p_uiNode_t);
6567  }
6568 
6569  arg2 = (char *)lua_tostring(L, 2);
6570  {
6571  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6572  }
6573  uiNode_t___setitem(arg1,(char const *)arg2,arg3);
6574 
6575  return SWIG_arg;
6576 
6577  if(0) SWIG_fail;
6578 
6579 fail:
6580  lua_error(L);
6581  return SWIG_arg;
6582 }
6583 
6584 
6585 static int _wrap_uiNode___getitem(lua_State* L) {
6586  int SWIG_arg = 0;
6587  uiNode_t *arg1 = (uiNode_t *) 0 ;
6588  char *arg2 = (char *) 0 ;
6589  LUA_METHOD result;
6590 
6591  SWIG_check_num_args("uiNode_t::__getitem",2,2)
6592  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__getitem",1,"uiNode_t *");
6593  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__getitem",2,"char const *");
6594 
6595  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6596  SWIG_fail_ptr("uiNode___getitem",1,SWIGTYPE_p_uiNode_t);
6597  }
6598 
6599  arg2 = (char *)lua_tostring(L, 2);
6600  result = uiNode_t___getitem(arg1,(char const *)arg2);
6601  {
6602  lua_rawgeti(L, LUA_REGISTRYINDEX, result); SWIG_arg++;
6603  }
6604  return SWIG_arg;
6605 
6606  if(0) SWIG_fail;
6607 
6608 fail:
6609  lua_error(L);
6610  return SWIG_arg;
6611 }
6612 
6613 
6614 static int _wrap_uiNode_add_classmethod(lua_State* L) {
6615  int SWIG_arg = 0;
6616  uiNode_t *arg1 = (uiNode_t *) 0 ;
6617  char *arg2 = (char *) 0 ;
6618  LUA_METHOD arg3 ;
6619 
6620  SWIG_check_num_args("uiNode_t::add_classmethod",3,3)
6621  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_classmethod",1,"uiNode_t *");
6622  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_classmethod",2,"char const *");
6623 
6624  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6625  SWIG_fail_ptr("uiNode_add_classmethod",1,SWIGTYPE_p_uiNode_t);
6626  }
6627 
6628  arg2 = (char *)lua_tostring(L, 2);
6629  {
6630  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6631  }
6632  uiNode_t_add_classmethod(arg1,(char const *)arg2,arg3);
6633 
6634  return SWIG_arg;
6635 
6636  if(0) SWIG_fail;
6637 
6638 fail:
6639  lua_error(L);
6640  return SWIG_arg;
6641 }
6642 
6643 
6644 static int _wrap_uiNode_add_nodemethod(lua_State* L) {
6645  int SWIG_arg = 0;
6646  uiNode_t *arg1 = (uiNode_t *) 0 ;
6647  char *arg2 = (char *) 0 ;
6648  LUA_METHOD arg3 ;
6649 
6650  SWIG_check_num_args("uiNode_t::add_nodemethod",3,3)
6651  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_nodemethod",1,"uiNode_t *");
6652  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_nodemethod",2,"char const *");
6653 
6654  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6655  SWIG_fail_ptr("uiNode_add_nodemethod",1,SWIGTYPE_p_uiNode_t);
6656  }
6657 
6658  arg2 = (char *)lua_tostring(L, 2);
6659  {
6660  arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6661  }
6662  uiNode_t_add_nodemethod(arg1,(char const *)arg2,arg3);
6663 
6664  return SWIG_arg;
6665 
6666  if(0) SWIG_fail;
6667 
6668 fail:
6669  lua_error(L);
6670  return SWIG_arg;
6671 }
6672 
6673 
6674 static int _wrap_new_uiNode(lua_State* L) {
6675  int SWIG_arg = 0;
6676  uiNode_t *result = 0 ;
6677 
6678  SWIG_check_num_args("uiNode_t::uiNode_t",0,0)
6679  result = (uiNode_t *)new uiNode_t();
6680  {
6681  if (result) {
6682  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
6683  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
6684  } else {
6685  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
6686  }
6687  }
6688  return SWIG_arg;
6689 
6690  if(0) SWIG_fail;
6691 
6692 fail:
6693  lua_error(L);
6694  return SWIG_arg;
6695 }
6696 
6697 
6698 static void swig_delete_uiNode(void *obj) {
6699 uiNode_t *arg1 = (uiNode_t *) obj;
6700 delete arg1;
6701 }
6702 static int _proxy__wrap_new_uiNode(lua_State *L) {
6703  assert(lua_istable(L,1));
6704  lua_pushcfunction(L,_wrap_new_uiNode);
6705  assert(!lua_isnil(L,-1));
6706  lua_replace(L,1); /* replace our table with real constructor */
6707  lua_call(L,lua_gettop(L)-1,1);
6708  return 1;
6709 }
6727  {0,0,0}
6728 };
6729 static swig_lua_method swig_uiNode_methods[]= {
6730  { "is_window", _wrap_uiNode_is_window},
6731  { "is_disabled", _wrap_uiNode_is_disabled},
6732  { "is_invisible", _wrap_uiNode_is_invisible},
6733  { "is_ghost", _wrap_uiNode_is_ghost},
6734  { "is_flashing", _wrap_uiNode_is_flashing},
6735  { "is_function", _wrap_uiNode_is_function},
6736  { "is_virtual", _wrap_uiNode_is_virtual},
6737  { "is_abstract", _wrap_uiNode_is_abstract},
6738  { "left", _wrap_uiNode_left},
6739  { "top", _wrap_uiNode_top},
6740  { "width", _wrap_uiNode_width},
6741  { "height", _wrap_uiNode_height},
6742  { "bordersize", _wrap_uiNode_bordersize},
6743  { "name", _wrap_uiNode_name},
6744  { "type", _wrap_uiNode_type},
6745  { "text", _wrap_uiNode_text},
6746  { "font", _wrap_uiNode_font},
6747  { "image", _wrap_uiNode_image},
6748  { "contentalign", _wrap_uiNode_contentalign},
6749  { "layoutalign", _wrap_uiNode_layoutalign},
6750  { "flashspeed", _wrap_uiNode_flashspeed},
6751  { "padding", _wrap_uiNode_padding},
6752  { "first", _wrap_uiNode_first},
6753  { "last", _wrap_uiNode_last},
6754  { "next", _wrap_uiNode_next},
6755  { "parent", _wrap_uiNode_parent},
6756  { "root", _wrap_uiNode_root},
6757  { "child", _wrap_uiNode_child},
6758  { "find", _wrap_uiNode_find},
6759  { "append_node", _wrap_uiNode_append_node},
6760  { "insert_node", _wrap_uiNode_insert_node},
6761  { "move_node", _wrap_uiNode_move_node},
6762  { "delete_node", _wrap_uiNode_delete_node},
6763  { "remove_children", _wrap_uiNode_remove_children},
6764  { "set_left", _wrap_uiNode_set_left},
6765  { "set_top", _wrap_uiNode_set_top},
6766  { "set_width", _wrap_uiNode_set_width},
6767  { "set_height", _wrap_uiNode_set_height},
6768  { "set_box", _wrap_uiNode_set_box},
6769  { "set_flashing", _wrap_uiNode_set_flashing},
6770  { "set_flashspeed", _wrap_uiNode_set_flashspeed},
6771  { "set_invisible", _wrap_uiNode_set_invisible},
6772  { "set_ghost", _wrap_uiNode_set_ghost},
6773  { "set_pos", _wrap_uiNode_set_pos},
6774  { "set_size", _wrap_uiNode_set_size},
6775  { "set_color", _wrap_uiNode_set_color},
6776  { "set_disabledcolor", _wrap_uiNode_set_disabledcolor},
6777  { "set_flashcolor", _wrap_uiNode_set_flashcolor},
6778  { "set_selectcolor", _wrap_uiNode_set_selectcolor},
6779  { "set_backgroundcolor", _wrap_uiNode_set_backgroundcolor},
6780  { "set_bordersize", _wrap_uiNode_set_bordersize},
6781  { "set_bordercolor", _wrap_uiNode_set_bordercolor},
6782  { "set_text", _wrap_uiNode_set_text},
6783  { "set_font", _wrap_uiNode_set_font},
6784  { "set_image", _wrap_uiNode_set_image},
6785  { "set_contentalign", _wrap_uiNode_set_contentalign},
6786  { "set_layoutalign", _wrap_uiNode_set_layoutalign},
6787  { "set_tooltip", _wrap_uiNode_set_tooltip},
6788  { "set_disabled", _wrap_uiNode_set_disabled},
6789  { "set_borderthickness", _wrap_uiNode_set_borderthickness},
6790  { "set_padding", _wrap_uiNode_set_padding},
6791  { "__setitem", _wrap_uiNode___setitem},
6792  { "__getitem", _wrap_uiNode___getitem},
6793  { "add_classmethod", _wrap_uiNode_add_classmethod},
6794  { "add_nodemethod", _wrap_uiNode_add_nodemethod},
6795  {0,0}
6796 };
6797 static swig_lua_method swig_uiNode_meta[] = {
6798  { "__setitem", _wrap_uiNode___setitem},
6799  { "__getitem", _wrap_uiNode___getitem},
6800  {0,0}
6801 };
6802 
6804  {0,0,0}
6805 };
6806 static swig_lua_const_info swig_uiNode_Sf_SwigStatic_constants[]= {
6807  {0,0,0,0,0,0}
6808 };
6809 static swig_lua_method swig_uiNode_Sf_SwigStatic_methods[]= {
6810  {0,0}
6811 };
6813  0
6814 };
6815 
6817  "uiNode",
6822  0
6823 };
6825 static const char *swig_uiNode_base_names[] = {0};
6827 
6828 static int _wrap_uiAbstractOptionNode_dataid(lua_State* L) {
6829  int SWIG_arg = 0;
6830  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6831  int result;
6832 
6833  SWIG_check_num_args("uiAbstractOptionNode_t::dataid",1,1)
6834  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::dataid",1,"uiAbstractOptionNode_t *");
6835 
6836  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6837  SWIG_fail_ptr("uiAbstractOptionNode_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6838  }
6839 
6840  result = (int)uiAbstractOptionNode_t_dataid(arg1);
6841  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6842  return SWIG_arg;
6843 
6844  if(0) SWIG_fail;
6845 
6846 fail:
6847  lua_error(L);
6848  return SWIG_arg;
6849 }
6850 
6851 
6852 static int _wrap_uiAbstractOptionNode_count(lua_State* L) {
6853  int SWIG_arg = 0;
6854  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6855  int result;
6856 
6857  SWIG_check_num_args("uiAbstractOptionNode_t::count",1,1)
6858  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::count",1,"uiAbstractOptionNode_t *");
6859 
6860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6861  SWIG_fail_ptr("uiAbstractOptionNode_count",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6862  }
6863 
6864  result = (int)uiAbstractOptionNode_t_count(arg1);
6865  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6866  return SWIG_arg;
6867 
6868  if(0) SWIG_fail;
6869 
6870 fail:
6871  lua_error(L);
6872  return SWIG_arg;
6873 }
6874 
6875 
6876 static int _wrap_uiAbstractOptionNode_lineheight(lua_State* L) {
6877  int SWIG_arg = 0;
6878  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6879  int result;
6880 
6881  SWIG_check_num_args("uiAbstractOptionNode_t::lineheight",1,1)
6882  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lineheight",1,"uiAbstractOptionNode_t *");
6883 
6884  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6885  SWIG_fail_ptr("uiAbstractOptionNode_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6886  }
6887 
6888  result = (int)uiAbstractOptionNode_t_lineheight(arg1);
6889  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6890  return SWIG_arg;
6891 
6892  if(0) SWIG_fail;
6893 
6894 fail:
6895  lua_error(L);
6896  return SWIG_arg;
6897 }
6898 
6899 
6900 static int _wrap_uiAbstractOptionNode_cvar(lua_State* L) {
6901  int SWIG_arg = 0;
6902  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6903  char *result = 0 ;
6904 
6905  SWIG_check_num_args("uiAbstractOptionNode_t::cvar",1,1)
6906  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::cvar",1,"uiAbstractOptionNode_t *");
6907 
6908  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6909  SWIG_fail_ptr("uiAbstractOptionNode_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6910  }
6911 
6912  result = (char *)uiAbstractOptionNode_t_cvar(arg1);
6913  lua_pushstring(L,(const char *)result); SWIG_arg++;
6914  return SWIG_arg;
6915 
6916  if(0) SWIG_fail;
6917 
6918 fail:
6919  lua_error(L);
6920  return SWIG_arg;
6921 }
6922 
6923 
6924 static int _wrap_uiAbstractOptionNode_current(lua_State* L) {
6925  int SWIG_arg = 0;
6926  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6927  int result;
6928 
6929  SWIG_check_num_args("uiAbstractOptionNode_t::current",1,1)
6930  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::current",1,"uiAbstractOptionNode_t *");
6931 
6932  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6933  SWIG_fail_ptr("uiAbstractOptionNode_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6934  }
6935 
6936  result = (int)uiAbstractOptionNode_t_current(arg1);
6937  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6938  return SWIG_arg;
6939 
6940  if(0) SWIG_fail;
6941 
6942 fail:
6943  lua_error(L);
6944  return SWIG_arg;
6945 }
6946 
6947 
6948 static int _wrap_uiAbstractOptionNode_viewsize(lua_State* L) {
6949  int SWIG_arg = 0;
6950  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6951  int result;
6952 
6953  SWIG_check_num_args("uiAbstractOptionNode_t::viewsize",1,1)
6954  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::viewsize",1,"uiAbstractOptionNode_t *");
6955 
6956  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6957  SWIG_fail_ptr("uiAbstractOptionNode_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6958  }
6959 
6960  result = (int)uiAbstractOptionNode_t_viewsize(arg1);
6961  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6962  return SWIG_arg;
6963 
6964  if(0) SWIG_fail;
6965 
6966 fail:
6967  lua_error(L);
6968  return SWIG_arg;
6969 }
6970 
6971 
6972 static int _wrap_uiAbstractOptionNode_fullsize(lua_State* L) {
6973  int SWIG_arg = 0;
6974  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6975  int result;
6976 
6977  SWIG_check_num_args("uiAbstractOptionNode_t::fullsize",1,1)
6978  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::fullsize",1,"uiAbstractOptionNode_t *");
6979 
6980  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
6981  SWIG_fail_ptr("uiAbstractOptionNode_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6982  }
6983 
6984  result = (int)uiAbstractOptionNode_t_fullsize(arg1);
6985  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6986  return SWIG_arg;
6987 
6988  if(0) SWIG_fail;
6989 
6990 fail:
6991  lua_error(L);
6992  return SWIG_arg;
6993 }
6994 
6995 
6996 static int _wrap_uiAbstractOptionNode_set_dataid(lua_State* L) {
6997  int SWIG_arg = 0;
6998  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
6999  int arg2 ;
7000 
7001  SWIG_check_num_args("uiAbstractOptionNode_t::set_dataid",2,2)
7002  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",1,"uiAbstractOptionNode_t *");
7003  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",2,"int");
7004 
7005  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7006  SWIG_fail_ptr("uiAbstractOptionNode_set_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7007  }
7008 
7009  arg2 = (int)lua_tonumber(L, 2);
7011 
7012  return SWIG_arg;
7013 
7014  if(0) SWIG_fail;
7015 
7016 fail:
7017  lua_error(L);
7018  return SWIG_arg;
7019 }
7020 
7021 
7022 static int _wrap_uiAbstractOptionNode_set_cvar(lua_State* L) {
7023  int SWIG_arg = 0;
7024  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7025  char *arg2 = (char *) 0 ;
7026 
7027  SWIG_check_num_args("uiAbstractOptionNode_t::set_cvar",2,2)
7028  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",1,"uiAbstractOptionNode_t *");
7029  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",2,"char const *");
7030 
7031  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7032  SWIG_fail_ptr("uiAbstractOptionNode_set_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7033  }
7034 
7035  arg2 = (char *)lua_tostring(L, 2);
7036  uiAbstractOptionNode_t_set_cvar(arg1,(char const *)arg2);
7037 
7038  return SWIG_arg;
7039 
7040  if(0) SWIG_fail;
7041 
7042 fail:
7043  lua_error(L);
7044  return SWIG_arg;
7045 }
7046 
7047 
7049  int SWIG_arg = 0;
7050  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7051  int arg2 ;
7052 
7053  SWIG_check_num_args("uiAbstractOptionNode_t::set_lineheight",2,2)
7054  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",1,"uiAbstractOptionNode_t *");
7055  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",2,"int");
7056 
7057  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7058  SWIG_fail_ptr("uiAbstractOptionNode_set_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7059  }
7060 
7061  arg2 = (int)lua_tonumber(L, 2);
7063 
7064  return SWIG_arg;
7065 
7066  if(0) SWIG_fail;
7067 
7068 fail:
7069  lua_error(L);
7070  return SWIG_arg;
7071 }
7072 
7073 
7075  int SWIG_arg = 0;
7076  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7077  char *arg2 = (char *) 0 ;
7078 
7079  SWIG_check_num_args("uiAbstractOptionNode_t::set_background",2,2)
7080  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",1,"uiAbstractOptionNode_t *");
7081  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",2,"char const *");
7082 
7083  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7084  SWIG_fail_ptr("uiAbstractOptionNode_set_background",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7085  }
7086 
7087  arg2 = (char *)lua_tostring(L, 2);
7088  uiAbstractOptionNode_t_set_background(arg1,(char const *)arg2);
7089 
7090  return SWIG_arg;
7091 
7092  if(0) SWIG_fail;
7093 
7094 fail:
7095  lua_error(L);
7096  return SWIG_arg;
7097 }
7098 
7099 
7100 static int _wrap_uiAbstractOptionNode_set_current(lua_State* L) {
7101  int SWIG_arg = 0;
7102  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7103  int arg2 ;
7104 
7105  SWIG_check_num_args("uiAbstractOptionNode_t::set_current",2,2)
7106  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",1,"uiAbstractOptionNode_t *");
7107  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",2,"int");
7108 
7109  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7110  SWIG_fail_ptr("uiAbstractOptionNode_set_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7111  }
7112 
7113  arg2 = (int)lua_tonumber(L, 2);
7115 
7116  return SWIG_arg;
7117 
7118  if(0) SWIG_fail;
7119 
7120 fail:
7121  lua_error(L);
7122  return SWIG_arg;
7123 }
7124 
7125 
7127  int SWIG_arg = 0;
7128  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7129  int arg2 ;
7130 
7131  SWIG_check_num_args("uiAbstractOptionNode_t::set_viewsize",2,2)
7132  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",1,"uiAbstractOptionNode_t *");
7133  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",2,"int");
7134 
7135  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7136  SWIG_fail_ptr("uiAbstractOptionNode_set_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7137  }
7138 
7139  arg2 = (int)lua_tonumber(L, 2);
7141 
7142  return SWIG_arg;
7143 
7144  if(0) SWIG_fail;
7145 
7146 fail:
7147  lua_error(L);
7148  return SWIG_arg;
7149 }
7150 
7151 
7153  int SWIG_arg = 0;
7154  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7155  int arg2 ;
7156 
7157  SWIG_check_num_args("uiAbstractOptionNode_t::set_fullsize",2,2)
7158  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",1,"uiAbstractOptionNode_t *");
7159  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",2,"int");
7160 
7161  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7162  SWIG_fail_ptr("uiAbstractOptionNode_set_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7163  }
7164 
7165  arg2 = (int)lua_tonumber(L, 2);
7167 
7168  return SWIG_arg;
7169 
7170  if(0) SWIG_fail;
7171 
7172 fail:
7173  lua_error(L);
7174  return SWIG_arg;
7175 }
7176 
7177 
7179  int SWIG_arg = 0;
7180  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7181  LUA_EVENT arg2 ;
7182 
7183  SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",2,2)
7184  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7185 
7186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7187  SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7188  }
7189 
7190  {
7191  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7192  }
7194 
7195  return SWIG_arg;
7196 
7197  if(0) SWIG_fail;
7198 
7199 fail:
7200  lua_error(L);
7201  return SWIG_arg;
7202 }
7203 
7204 
7206  int SWIG_arg = 0;
7207  uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) 0 ;
7208  LUA_EVENT result;
7209 
7210  SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",1,1)
7211  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7212 
7213  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractOptionNode_t,0))){
7214  SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7215  }
7216 
7218  {
7219  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7220  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7221  }
7222  return SWIG_arg;
7223 
7224  if(0) SWIG_fail;
7225 
7226 fail:
7227  lua_error(L);
7228  return SWIG_arg;
7229 }
7230 
7231 
7232 static int _wrap_new_uiAbstractOptionNode(lua_State* L) {
7233  int SWIG_arg = 0;
7234  uiAbstractOptionNode_t *result = 0 ;
7235 
7236  SWIG_check_num_args("uiAbstractOptionNode_t::uiAbstractOptionNode_t",0,0)
7237  result = (uiAbstractOptionNode_t *)new uiAbstractOptionNode_t();
7238  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiAbstractOptionNode_t,1); SWIG_arg++;
7239  return SWIG_arg;
7240 
7241  if(0) SWIG_fail;
7242 
7243 fail:
7244  lua_error(L);
7245  return SWIG_arg;
7246 }
7247 
7248 
7249 static void swig_delete_uiAbstractOptionNode(void *obj) {
7250 uiAbstractOptionNode_t *arg1 = (uiAbstractOptionNode_t *) obj;
7251 delete arg1;
7252 }
7253 static int _proxy__wrap_new_uiAbstractOptionNode(lua_State *L) {
7254  assert(lua_istable(L,1));
7255  lua_pushcfunction(L,_wrap_new_uiAbstractOptionNode);
7256  assert(!lua_isnil(L,-1));
7257  lua_replace(L,1); /* replace our table with real constructor */
7258  lua_call(L,lua_gettop(L)-1,1);
7259  return 1;
7260 }
7263  {0,0,0}
7264 };
7265 static swig_lua_method swig_uiAbstractOptionNode_methods[]= {
7266  { "dataid", _wrap_uiAbstractOptionNode_dataid},
7268  { "lineheight", _wrap_uiAbstractOptionNode_lineheight},
7270  { "current", _wrap_uiAbstractOptionNode_current},
7271  { "viewsize", _wrap_uiAbstractOptionNode_viewsize},
7272  { "fullsize", _wrap_uiAbstractOptionNode_fullsize},
7273  { "set_dataid", _wrap_uiAbstractOptionNode_set_dataid},
7274  { "set_cvar", _wrap_uiAbstractOptionNode_set_cvar},
7275  { "set_lineheight", _wrap_uiAbstractOptionNode_set_lineheight},
7276  { "set_background", _wrap_uiAbstractOptionNode_set_background},
7277  { "set_current", _wrap_uiAbstractOptionNode_set_current},
7278  { "set_viewsize", _wrap_uiAbstractOptionNode_set_viewsize},
7279  { "set_fullsize", _wrap_uiAbstractOptionNode_set_fullsize},
7280  {0,0}
7281 };
7282 static swig_lua_method swig_uiAbstractOptionNode_meta[] = {
7283  {0,0}
7284 };
7285 
7287  {0,0,0}
7288 };
7290  {0,0,0,0,0,0}
7291 };
7293  {0,0}
7294 };
7296  0
7297 };
7298 
7300  "uiAbstractOptionNode",
7305  0
7306 };
7308 static const char *swig_uiAbstractOptionNode_base_names[] = {"uiNode_t *",0};
7310 
7311 static int _wrap_uiAbstractScrollableNode_viewpos(lua_State* L) {
7312  int SWIG_arg = 0;
7313  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7314  int result;
7315 
7316  SWIG_check_num_args("uiAbstractScrollableNode_t::viewpos",1,1)
7317  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewpos",1,"uiAbstractScrollableNode_t *");
7318 
7320  SWIG_fail_ptr("uiAbstractScrollableNode_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7321  }
7322 
7323  result = (int)uiAbstractScrollableNode_t_viewpos(arg1);
7324  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7325  return SWIG_arg;
7326 
7327  if(0) SWIG_fail;
7328 
7329 fail:
7330  lua_error(L);
7331  return SWIG_arg;
7332 }
7333 
7334 
7336  int SWIG_arg = 0;
7337  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7338  int result;
7339 
7340  SWIG_check_num_args("uiAbstractScrollableNode_t::viewsize",1,1)
7341  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewsize",1,"uiAbstractScrollableNode_t *");
7342 
7344  SWIG_fail_ptr("uiAbstractScrollableNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7345  }
7346 
7347  result = (int)uiAbstractScrollableNode_t_viewsize(arg1);
7348  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7349  return SWIG_arg;
7350 
7351  if(0) SWIG_fail;
7352 
7353 fail:
7354  lua_error(L);
7355  return SWIG_arg;
7356 }
7357 
7358 
7360  int SWIG_arg = 0;
7361  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7362  int result;
7363 
7364  SWIG_check_num_args("uiAbstractScrollableNode_t::fullsize",1,1)
7365  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::fullsize",1,"uiAbstractScrollableNode_t *");
7366 
7368  SWIG_fail_ptr("uiAbstractScrollableNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7369  }
7370 
7371  result = (int)uiAbstractScrollableNode_t_fullsize(arg1);
7372  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7373  return SWIG_arg;
7374 
7375  if(0) SWIG_fail;
7376 
7377 fail:
7378  lua_error(L);
7379  return SWIG_arg;
7380 }
7381 
7382 
7383 static int _wrap_uiAbstractScrollableNode_pageup(lua_State* L) {
7384  int SWIG_arg = 0;
7385  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7386 
7387  SWIG_check_num_args("uiAbstractScrollableNode_t::pageup",1,1)
7388  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pageup",1,"uiAbstractScrollableNode_t *");
7389 
7391  SWIG_fail_ptr("uiAbstractScrollableNode_pageup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7392  }
7393 
7395 
7396  return SWIG_arg;
7397 
7398  if(0) SWIG_fail;
7399 
7400 fail:
7401  lua_error(L);
7402  return SWIG_arg;
7403 }
7404 
7405 
7407  int SWIG_arg = 0;
7408  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7409 
7410  SWIG_check_num_args("uiAbstractScrollableNode_t::pagedown",1,1)
7411  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pagedown",1,"uiAbstractScrollableNode_t *");
7412 
7414  SWIG_fail_ptr("uiAbstractScrollableNode_pagedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7415  }
7416 
7418 
7419  return SWIG_arg;
7420 
7421  if(0) SWIG_fail;
7422 
7423 fail:
7424  lua_error(L);
7425  return SWIG_arg;
7426 }
7427 
7428 
7429 static int _wrap_uiAbstractScrollableNode_moveup(lua_State* L) {
7430  int SWIG_arg = 0;
7431  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7432 
7433  SWIG_check_num_args("uiAbstractScrollableNode_t::moveup",1,1)
7434  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveup",1,"uiAbstractScrollableNode_t *");
7435 
7437  SWIG_fail_ptr("uiAbstractScrollableNode_moveup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7438  }
7439 
7441 
7442  return SWIG_arg;
7443 
7444  if(0) SWIG_fail;
7445 
7446 fail:
7447  lua_error(L);
7448  return SWIG_arg;
7449 }
7450 
7451 
7453  int SWIG_arg = 0;
7454  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7455 
7456  SWIG_check_num_args("uiAbstractScrollableNode_t::movedown",1,1)
7457  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movedown",1,"uiAbstractScrollableNode_t *");
7458 
7460  SWIG_fail_ptr("uiAbstractScrollableNode_movedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7461  }
7462 
7464 
7465  return SWIG_arg;
7466 
7467  if(0) SWIG_fail;
7468 
7469 fail:
7470  lua_error(L);
7471  return SWIG_arg;
7472 }
7473 
7474 
7476  int SWIG_arg = 0;
7477  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7478 
7479  SWIG_check_num_args("uiAbstractScrollableNode_t::movehome",1,1)
7480  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movehome",1,"uiAbstractScrollableNode_t *");
7481 
7483  SWIG_fail_ptr("uiAbstractScrollableNode_movehome",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7484  }
7485 
7487 
7488  return SWIG_arg;
7489 
7490  if(0) SWIG_fail;
7491 
7492 fail:
7493  lua_error(L);
7494  return SWIG_arg;
7495 }
7496 
7497 
7498 static int _wrap_uiAbstractScrollableNode_moveend(lua_State* L) {
7499  int SWIG_arg = 0;
7500  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7501 
7502  SWIG_check_num_args("uiAbstractScrollableNode_t::moveend",1,1)
7503  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveend",1,"uiAbstractScrollableNode_t *");
7504 
7506  SWIG_fail_ptr("uiAbstractScrollableNode_moveend",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7507  }
7508 
7510 
7511  return SWIG_arg;
7512 
7513  if(0) SWIG_fail;
7514 
7515 fail:
7516  lua_error(L);
7517  return SWIG_arg;
7518 }
7519 
7520 
7522  int SWIG_arg = 0;
7523  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7524  int arg2 ;
7525 
7526  SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewpos",2,2)
7527  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",1,"uiAbstractScrollableNode_t *");
7528  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",2,"int");
7529 
7531  SWIG_fail_ptr("uiAbstractScrollableNode_set_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7532  }
7533 
7534  arg2 = (int)lua_tonumber(L, 2);
7536 
7537  return SWIG_arg;
7538 
7539  if(0) SWIG_fail;
7540 
7541 fail:
7542  lua_error(L);
7543  return SWIG_arg;
7544 }
7545 
7546 
7548  int SWIG_arg = 0;
7549  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7550  int arg2 ;
7551 
7552  SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewsize",2,2)
7553  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",1,"uiAbstractScrollableNode_t *");
7554  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",2,"int");
7555 
7557  SWIG_fail_ptr("uiAbstractScrollableNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7558  }
7559 
7560  arg2 = (int)lua_tonumber(L, 2);
7562 
7563  return SWIG_arg;
7564 
7565  if(0) SWIG_fail;
7566 
7567 fail:
7568  lua_error(L);
7569  return SWIG_arg;
7570 }
7571 
7572 
7574  int SWIG_arg = 0;
7575  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7576  int arg2 ;
7577 
7578  SWIG_check_num_args("uiAbstractScrollableNode_t::set_fullsize",2,2)
7579  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",1,"uiAbstractScrollableNode_t *");
7580  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",2,"int");
7581 
7583  SWIG_fail_ptr("uiAbstractScrollableNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7584  }
7585 
7586  arg2 = (int)lua_tonumber(L, 2);
7588 
7589  return SWIG_arg;
7590 
7591  if(0) SWIG_fail;
7592 
7593 fail:
7594  lua_error(L);
7595  return SWIG_arg;
7596 }
7597 
7598 
7600  int SWIG_arg = 0;
7601  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7602  LUA_EVENT arg2 ;
7603 
7604  SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",2,2)
7605  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7606 
7608  SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7609  }
7610 
7611  {
7612  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7613  }
7615 
7616  return SWIG_arg;
7617 
7618  if(0) SWIG_fail;
7619 
7620 fail:
7621  lua_error(L);
7622  return SWIG_arg;
7623 }
7624 
7625 
7627  int SWIG_arg = 0;
7628  uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) 0 ;
7629  LUA_EVENT result;
7630 
7631  SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",1,1)
7632  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7633 
7635  SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7636  }
7637 
7639  {
7640  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7641  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7642  }
7643  return SWIG_arg;
7644 
7645  if(0) SWIG_fail;
7646 
7647 fail:
7648  lua_error(L);
7649  return SWIG_arg;
7650 }
7651 
7652 
7653 static int _wrap_new_uiAbstractScrollableNode(lua_State* L) {
7654  int SWIG_arg = 0;
7655  uiAbstractScrollableNode_t *result = 0 ;
7656 
7657  SWIG_check_num_args("uiAbstractScrollableNode_t::uiAbstractScrollableNode_t",0,0)
7658  result = (uiAbstractScrollableNode_t *)new uiAbstractScrollableNode_t();
7660  return SWIG_arg;
7661 
7662  if(0) SWIG_fail;
7663 
7664 fail:
7665  lua_error(L);
7666  return SWIG_arg;
7667 }
7668 
7669 
7671 uiAbstractScrollableNode_t *arg1 = (uiAbstractScrollableNode_t *) obj;
7672 delete arg1;
7673 }
7675  assert(lua_istable(L,1));
7676  lua_pushcfunction(L,_wrap_new_uiAbstractScrollableNode);
7677  assert(!lua_isnil(L,-1));
7678  lua_replace(L,1); /* replace our table with real constructor */
7679  lua_call(L,lua_gettop(L)-1,1);
7680  return 1;
7681 }
7684  {0,0,0}
7685 };
7686 static swig_lua_method swig_uiAbstractScrollableNode_methods[]= {
7699  {0,0}
7700 };
7701 static swig_lua_method swig_uiAbstractScrollableNode_meta[] = {
7702  {0,0}
7703 };
7704 
7706  {0,0,0}
7707 };
7709  {0,0,0,0,0,0}
7710 };
7712  {0,0}
7713 };
7715  0
7716 };
7717 
7719  "uiAbstractScrollableNode",
7724  0
7725 };
7727 static const char *swig_uiAbstractScrollableNode_base_names[] = {"uiNode_t *",0};
7729 
7731  int SWIG_arg = 0;
7732  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7733  bool result;
7734 
7735  SWIG_check_num_args("uiAbstractScrollbarNode_t::is_autoshowscroll",1,1)
7736  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::is_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7737 
7739  SWIG_fail_ptr("uiAbstractScrollbarNode_is_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7740  }
7741 
7742  result = (bool)uiAbstractScrollbarNode_t_is_autoshowscroll(arg1);
7743  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7744  return SWIG_arg;
7745 
7746  if(0) SWIG_fail;
7747 
7748 fail:
7749  lua_error(L);
7750  return SWIG_arg;
7751 }
7752 
7753 
7754 static int _wrap_uiAbstractScrollbarNode_current(lua_State* L) {
7755  int SWIG_arg = 0;
7756  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7757  int result;
7758 
7759  SWIG_check_num_args("uiAbstractScrollbarNode_t::current",1,1)
7760  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::current",1,"uiAbstractScrollbarNode_t *");
7761 
7763  SWIG_fail_ptr("uiAbstractScrollbarNode_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7764  }
7765 
7766  result = (int)uiAbstractScrollbarNode_t_current(arg1);
7767  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7768  return SWIG_arg;
7769 
7770  if(0) SWIG_fail;
7771 
7772 fail:
7773  lua_error(L);
7774  return SWIG_arg;
7775 }
7776 
7777 
7778 static int _wrap_uiAbstractScrollbarNode_viewsize(lua_State* L) {
7779  int SWIG_arg = 0;
7780  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7781  int result;
7782 
7783  SWIG_check_num_args("uiAbstractScrollbarNode_t::viewsize",1,1)
7784  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::viewsize",1,"uiAbstractScrollbarNode_t *");
7785 
7787  SWIG_fail_ptr("uiAbstractScrollbarNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7788  }
7789 
7790  result = (int)uiAbstractScrollbarNode_t_viewsize(arg1);
7791  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7792  return SWIG_arg;
7793 
7794  if(0) SWIG_fail;
7795 
7796 fail:
7797  lua_error(L);
7798  return SWIG_arg;
7799 }
7800 
7801 
7802 static int _wrap_uiAbstractScrollbarNode_fullsize(lua_State* L) {
7803  int SWIG_arg = 0;
7804  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7805  int result;
7806 
7807  SWIG_check_num_args("uiAbstractScrollbarNode_t::fullsize",1,1)
7808  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::fullsize",1,"uiAbstractScrollbarNode_t *");
7809 
7811  SWIG_fail_ptr("uiAbstractScrollbarNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7812  }
7813 
7814  result = (int)uiAbstractScrollbarNode_t_fullsize(arg1);
7815  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7816  return SWIG_arg;
7817 
7818  if(0) SWIG_fail;
7819 
7820 fail:
7821  lua_error(L);
7822  return SWIG_arg;
7823 }
7824 
7825 
7827  int SWIG_arg = 0;
7828  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7829  bool arg2 ;
7830 
7831  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_autoshowscroll",2,2)
7832  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7833  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",2,"bool");
7834 
7836  SWIG_fail_ptr("uiAbstractScrollbarNode_set_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7837  }
7838 
7839  arg2 = (lua_toboolean(L, 2)!=0);
7841 
7842  return SWIG_arg;
7843 
7844  if(0) SWIG_fail;
7845 
7846 fail:
7847  lua_error(L);
7848  return SWIG_arg;
7849 }
7850 
7851 
7853  int SWIG_arg = 0;
7854  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7855  int arg2 ;
7856 
7857  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_current",2,2)
7858  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",1,"uiAbstractScrollbarNode_t *");
7859  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",2,"int");
7860 
7862  SWIG_fail_ptr("uiAbstractScrollbarNode_set_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7863  }
7864 
7865  arg2 = (int)lua_tonumber(L, 2);
7867 
7868  return SWIG_arg;
7869 
7870  if(0) SWIG_fail;
7871 
7872 fail:
7873  lua_error(L);
7874  return SWIG_arg;
7875 }
7876 
7877 
7879  int SWIG_arg = 0;
7880  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7881  int arg2 ;
7882 
7883  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_viewsize",2,2)
7884  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",1,"uiAbstractScrollbarNode_t *");
7885  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",2,"int");
7886 
7888  SWIG_fail_ptr("uiAbstractScrollbarNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7889  }
7890 
7891  arg2 = (int)lua_tonumber(L, 2);
7893 
7894  return SWIG_arg;
7895 
7896  if(0) SWIG_fail;
7897 
7898 fail:
7899  lua_error(L);
7900  return SWIG_arg;
7901 }
7902 
7903 
7905  int SWIG_arg = 0;
7906  uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) 0 ;
7907  int arg2 ;
7908 
7909  SWIG_check_num_args("uiAbstractScrollbarNode_t::set_fullsize",2,2)
7910  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",1,"uiAbstractScrollbarNode_t *");
7911  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",2,"int");
7912 
7914  SWIG_fail_ptr("uiAbstractScrollbarNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7915  }
7916 
7917  arg2 = (int)lua_tonumber(L, 2);
7919 
7920  return SWIG_arg;
7921 
7922  if(0) SWIG_fail;
7923 
7924 fail:
7925  lua_error(L);
7926  return SWIG_arg;
7927 }
7928 
7929 
7930 static int _wrap_new_uiAbstractScrollbarNode(lua_State* L) {
7931  int SWIG_arg = 0;
7932  uiAbstractScrollbarNode_t *result = 0 ;
7933 
7934  SWIG_check_num_args("uiAbstractScrollbarNode_t::uiAbstractScrollbarNode_t",0,0)
7935  result = (uiAbstractScrollbarNode_t *)new uiAbstractScrollbarNode_t();
7937  return SWIG_arg;
7938 
7939  if(0) SWIG_fail;
7940 
7941 fail:
7942  lua_error(L);
7943  return SWIG_arg;
7944 }
7945 
7946 
7947 static void swig_delete_uiAbstractScrollbarNode(void *obj) {
7948 uiAbstractScrollbarNode_t *arg1 = (uiAbstractScrollbarNode_t *) obj;
7949 delete arg1;
7950 }
7952  assert(lua_istable(L,1));
7953  lua_pushcfunction(L,_wrap_new_uiAbstractScrollbarNode);
7954  assert(!lua_isnil(L,-1));
7955  lua_replace(L,1); /* replace our table with real constructor */
7956  lua_call(L,lua_gettop(L)-1,1);
7957  return 1;
7958 }
7960  {0,0,0}
7961 };
7962 static swig_lua_method swig_uiAbstractScrollbarNode_methods[]= {
7963  { "is_autoshowscroll", _wrap_uiAbstractScrollbarNode_is_autoshowscroll},
7967  { "set_autoshowscroll", _wrap_uiAbstractScrollbarNode_set_autoshowscroll},
7969  { "set_viewsize", _wrap_uiAbstractScrollbarNode_set_viewsize},
7970  { "set_fullsize", _wrap_uiAbstractScrollbarNode_set_fullsize},
7971  {0,0}
7972 };
7973 static swig_lua_method swig_uiAbstractScrollbarNode_meta[] = {
7974  {0,0}
7975 };
7976 
7978  {0,0,0}
7979 };
7981  {0,0,0,0,0,0}
7982 };
7984  {0,0}
7985 };
7987  0
7988 };
7989 
7991  "uiAbstractScrollbarNode",
7996  0
7997 };
7999 static const char *swig_uiAbstractScrollbarNode_base_names[] = {"uiNode_t *",0};
8001 
8002 static int _wrap_uiAbstractValueNode_min(lua_State* L) {
8003  int SWIG_arg = 0;
8004  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8005  float result;
8006 
8007  SWIG_check_num_args("uiAbstractValueNode_t::min",1,1)
8008  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::min",1,"uiAbstractValueNode_t *");
8009 
8010  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8011  SWIG_fail_ptr("uiAbstractValueNode_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8012  }
8013 
8014  result = (float)uiAbstractValueNode_t_min(arg1);
8015  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8016  return SWIG_arg;
8017 
8018  if(0) SWIG_fail;
8019 
8020 fail:
8021  lua_error(L);
8022  return SWIG_arg;
8023 }
8024 
8025 
8026 static int _wrap_uiAbstractValueNode_max(lua_State* L) {
8027  int SWIG_arg = 0;
8028  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8029  float result;
8030 
8031  SWIG_check_num_args("uiAbstractValueNode_t::max",1,1)
8032  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::max",1,"uiAbstractValueNode_t *");
8033 
8034  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8035  SWIG_fail_ptr("uiAbstractValueNode_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8036  }
8037 
8038  result = (float)uiAbstractValueNode_t_max(arg1);
8039  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8040  return SWIG_arg;
8041 
8042  if(0) SWIG_fail;
8043 
8044 fail:
8045  lua_error(L);
8046  return SWIG_arg;
8047 }
8048 
8049 
8050 static int _wrap_uiAbstractValueNode_value(lua_State* L) {
8051  int SWIG_arg = 0;
8052  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8053  float result;
8054 
8055  SWIG_check_num_args("uiAbstractValueNode_t::value",1,1)
8056  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::value",1,"uiAbstractValueNode_t *");
8057 
8058  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8059  SWIG_fail_ptr("uiAbstractValueNode_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8060  }
8061 
8062  result = (float)uiAbstractValueNode_t_value(arg1);
8063  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8064  return SWIG_arg;
8065 
8066  if(0) SWIG_fail;
8067 
8068 fail:
8069  lua_error(L);
8070  return SWIG_arg;
8071 }
8072 
8073 
8074 static int _wrap_uiAbstractValueNode_delta(lua_State* L) {
8075  int SWIG_arg = 0;
8076  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8077  float result;
8078 
8079  SWIG_check_num_args("uiAbstractValueNode_t::delta",1,1)
8080  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::delta",1,"uiAbstractValueNode_t *");
8081 
8082  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8083  SWIG_fail_ptr("uiAbstractValueNode_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8084  }
8085 
8086  result = (float)uiAbstractValueNode_t_delta(arg1);
8087  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8088  return SWIG_arg;
8089 
8090  if(0) SWIG_fail;
8091 
8092 fail:
8093  lua_error(L);
8094  return SWIG_arg;
8095 }
8096 
8097 
8098 static int _wrap_uiAbstractValueNode_lastdiff(lua_State* L) {
8099  int SWIG_arg = 0;
8100  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8101  float result;
8102 
8103  SWIG_check_num_args("uiAbstractValueNode_t::lastdiff",1,1)
8104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::lastdiff",1,"uiAbstractValueNode_t *");
8105 
8106  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8107  SWIG_fail_ptr("uiAbstractValueNode_lastdiff",1,SWIGTYPE_p_uiAbstractValueNode_t);
8108  }
8109 
8110  result = (float)uiAbstractValueNode_t_lastdiff(arg1);
8111  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8112  return SWIG_arg;
8113 
8114  if(0) SWIG_fail;
8115 
8116 fail:
8117  lua_error(L);
8118  return SWIG_arg;
8119 }
8120 
8121 
8123  int SWIG_arg = 0;
8124  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8125  float result;
8126 
8127  SWIG_check_num_args("uiAbstractValueNode_t::shiftmultiplier",1,1)
8128  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::shiftmultiplier",1,"uiAbstractValueNode_t *");
8129 
8130  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8131  SWIG_fail_ptr("uiAbstractValueNode_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8132  }
8133 
8134  result = (float)uiAbstractValueNode_t_shiftmultiplier(arg1);
8135  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8136  return SWIG_arg;
8137 
8138  if(0) SWIG_fail;
8139 
8140 fail:
8141  lua_error(L);
8142  return SWIG_arg;
8143 }
8144 
8145 
8146 static int _wrap_uiAbstractValueNode_inc_value(lua_State* L) {
8147  int SWIG_arg = 0;
8148  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8149 
8150  SWIG_check_num_args("uiAbstractValueNode_t::inc_value",1,1)
8151  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::inc_value",1,"uiAbstractValueNode_t *");
8152 
8153  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8154  SWIG_fail_ptr("uiAbstractValueNode_inc_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8155  }
8156 
8158 
8159  return SWIG_arg;
8160 
8161  if(0) SWIG_fail;
8162 
8163 fail:
8164  lua_error(L);
8165  return SWIG_arg;
8166 }
8167 
8168 
8169 static int _wrap_uiAbstractValueNode_dec_value(lua_State* L) {
8170  int SWIG_arg = 0;
8171  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8172 
8173  SWIG_check_num_args("uiAbstractValueNode_t::dec_value",1,1)
8174  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::dec_value",1,"uiAbstractValueNode_t *");
8175 
8176  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8177  SWIG_fail_ptr("uiAbstractValueNode_dec_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8178  }
8179 
8181 
8182  return SWIG_arg;
8183 
8184  if(0) SWIG_fail;
8185 
8186 fail:
8187  lua_error(L);
8188  return SWIG_arg;
8189 }
8190 
8191 
8193  int SWIG_arg = 0;
8194  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8195  float arg2 ;
8196  float arg3 ;
8197 
8198  SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8199  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8200  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"float");
8201  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"float");
8202 
8203  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8204  SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8205  }
8206 
8207  arg2 = (float)lua_tonumber(L, 2);
8208  arg3 = (float)lua_tonumber(L, 3);
8210 
8211  return SWIG_arg;
8212 
8213  if(0) SWIG_fail;
8214 
8215 fail:
8216  lua_error(L);
8217  return SWIG_arg;
8218 }
8219 
8220 
8222  int SWIG_arg = 0;
8223  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8224  char *arg2 = (char *) 0 ;
8225  char *arg3 = (char *) 0 ;
8226 
8227  SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8228  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8229  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"char const *");
8230  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"char const *");
8231 
8232  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8233  SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8234  }
8235 
8236  arg2 = (char *)lua_tostring(L, 2);
8237  arg3 = (char *)lua_tostring(L, 3);
8238  uiAbstractValueNode_t_set_range__SWIG_1(arg1,(char const *)arg2,(char const *)arg3);
8239 
8240  return SWIG_arg;
8241 
8242  if(0) SWIG_fail;
8243 
8244 fail:
8245  lua_error(L);
8246  return SWIG_arg;
8247 }
8248 
8249 
8250 static int _wrap_uiAbstractValueNode_set_range(lua_State* L) {
8251  int argc;
8252  int argv[4]={
8253  1,2,3,4
8254  };
8255 
8256  argc = lua_gettop(L);
8257  if (argc == 3) {
8258  int _v;
8259  {
8260  void *ptr;
8261  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8262  _v = 0;
8263  } else {
8264  _v = 1;
8265  }
8266  }
8267  if (_v) {
8268  {
8269  _v = lua_isnumber(L,argv[1]);
8270  }
8271  if (_v) {
8272  {
8273  _v = lua_isnumber(L,argv[2]);
8274  }
8275  if (_v) {
8277  }
8278  }
8279  }
8280  }
8281  if (argc == 3) {
8282  int _v;
8283  {
8284  void *ptr;
8285  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8286  _v = 0;
8287  } else {
8288  _v = 1;
8289  }
8290  }
8291  if (_v) {
8292  {
8293  _v = SWIG_lua_isnilstring(L,argv[1]);
8294  }
8295  if (_v) {
8296  {
8297  _v = SWIG_lua_isnilstring(L,argv[2]);
8298  }
8299  if (_v) {
8301  }
8302  }
8303  }
8304  }
8305 
8306  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_range'\n"
8307  " Possible C/C++ prototypes are:\n"
8308  " uiAbstractValueNode_t::set_range(float,float)\n"
8309  " uiAbstractValueNode_t::set_range(char const *,char const *)\n");
8310  lua_error(L);return 0;
8311 }
8312 
8313 
8315  int SWIG_arg = 0;
8316  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8317  float arg2 ;
8318 
8319  SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8320  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8321  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"float");
8322 
8323  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8324  SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8325  }
8326 
8327  arg2 = (float)lua_tonumber(L, 2);
8329 
8330  return SWIG_arg;
8331 
8332  if(0) SWIG_fail;
8333 
8334 fail:
8335  lua_error(L);
8336  return SWIG_arg;
8337 }
8338 
8339 
8341  int SWIG_arg = 0;
8342  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8343  float arg2 ;
8344 
8345  SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8347  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"float");
8348 
8349  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8350  SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8351  }
8352 
8353  arg2 = (float)lua_tonumber(L, 2);
8355 
8356  return SWIG_arg;
8357 
8358  if(0) SWIG_fail;
8359 
8360 fail:
8361  lua_error(L);
8362  return SWIG_arg;
8363 }
8364 
8365 
8367  int SWIG_arg = 0;
8368  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8369  float arg2 ;
8370 
8371  SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8372  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8373  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"float");
8374 
8375  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8376  SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8377  }
8378 
8379  arg2 = (float)lua_tonumber(L, 2);
8381 
8382  return SWIG_arg;
8383 
8384  if(0) SWIG_fail;
8385 
8386 fail:
8387  lua_error(L);
8388  return SWIG_arg;
8389 }
8390 
8391 
8393  int SWIG_arg = 0;
8394  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8395  char *arg2 = (char *) 0 ;
8396 
8397  SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8398  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8399  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"char const *");
8400 
8401  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8402  SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8403  }
8404 
8405  arg2 = (char *)lua_tostring(L, 2);
8406  uiAbstractValueNode_t_set_min__SWIG_1(arg1,(char const *)arg2);
8407 
8408  return SWIG_arg;
8409 
8410  if(0) SWIG_fail;
8411 
8412 fail:
8413  lua_error(L);
8414  return SWIG_arg;
8415 }
8416 
8417 
8418 static int _wrap_uiAbstractValueNode_set_min(lua_State* L) {
8419  int argc;
8420  int argv[3]={
8421  1,2,3
8422  };
8423 
8424  argc = lua_gettop(L);
8425  if (argc == 2) {
8426  int _v;
8427  {
8428  void *ptr;
8429  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8430  _v = 0;
8431  } else {
8432  _v = 1;
8433  }
8434  }
8435  if (_v) {
8436  {
8437  _v = lua_isnumber(L,argv[1]);
8438  }
8439  if (_v) {
8441  }
8442  }
8443  }
8444  if (argc == 2) {
8445  int _v;
8446  {
8447  void *ptr;
8448  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8449  _v = 0;
8450  } else {
8451  _v = 1;
8452  }
8453  }
8454  if (_v) {
8455  {
8456  _v = SWIG_lua_isnilstring(L,argv[1]);
8457  }
8458  if (_v) {
8460  }
8461  }
8462  }
8463 
8464  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_min'\n"
8465  " Possible C/C++ prototypes are:\n"
8466  " uiAbstractValueNode_t::set_min(float)\n"
8467  " uiAbstractValueNode_t::set_min(char const *)\n");
8468  lua_error(L);return 0;
8469 }
8470 
8471 
8473  int SWIG_arg = 0;
8474  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8475  char *arg2 = (char *) 0 ;
8476 
8477  SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8478  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8479  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"char const *");
8480 
8481  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8482  SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8483  }
8484 
8485  arg2 = (char *)lua_tostring(L, 2);
8486  uiAbstractValueNode_t_set_max__SWIG_1(arg1,(char const *)arg2);
8487 
8488  return SWIG_arg;
8489 
8490  if(0) SWIG_fail;
8491 
8492 fail:
8493  lua_error(L);
8494  return SWIG_arg;
8495 }
8496 
8497 
8498 static int _wrap_uiAbstractValueNode_set_max(lua_State* L) {
8499  int argc;
8500  int argv[3]={
8501  1,2,3
8502  };
8503 
8504  argc = lua_gettop(L);
8505  if (argc == 2) {
8506  int _v;
8507  {
8508  void *ptr;
8509  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8510  _v = 0;
8511  } else {
8512  _v = 1;
8513  }
8514  }
8515  if (_v) {
8516  {
8517  _v = lua_isnumber(L,argv[1]);
8518  }
8519  if (_v) {
8521  }
8522  }
8523  }
8524  if (argc == 2) {
8525  int _v;
8526  {
8527  void *ptr;
8528  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8529  _v = 0;
8530  } else {
8531  _v = 1;
8532  }
8533  }
8534  if (_v) {
8535  {
8536  _v = SWIG_lua_isnilstring(L,argv[1]);
8537  }
8538  if (_v) {
8540  }
8541  }
8542  }
8543 
8544  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_max'\n"
8545  " Possible C/C++ prototypes are:\n"
8546  " uiAbstractValueNode_t::set_max(float)\n"
8547  " uiAbstractValueNode_t::set_max(char const *)\n");
8548  lua_error(L);return 0;
8549 }
8550 
8551 
8553  int SWIG_arg = 0;
8554  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8555  char *arg2 = (char *) 0 ;
8556 
8557  SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8558  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8559  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"char const *");
8560 
8561  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8562  SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8563  }
8564 
8565  arg2 = (char *)lua_tostring(L, 2);
8566  uiAbstractValueNode_t_set_value__SWIG_1(arg1,(char const *)arg2);
8567 
8568  return SWIG_arg;
8569 
8570  if(0) SWIG_fail;
8571 
8572 fail:
8573  lua_error(L);
8574  return SWIG_arg;
8575 }
8576 
8577 
8578 static int _wrap_uiAbstractValueNode_set_value(lua_State* L) {
8579  int argc;
8580  int argv[3]={
8581  1,2,3
8582  };
8583 
8584  argc = lua_gettop(L);
8585  if (argc == 2) {
8586  int _v;
8587  {
8588  void *ptr;
8589  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8590  _v = 0;
8591  } else {
8592  _v = 1;
8593  }
8594  }
8595  if (_v) {
8596  {
8597  _v = lua_isnumber(L,argv[1]);
8598  }
8599  if (_v) {
8601  }
8602  }
8603  }
8604  if (argc == 2) {
8605  int _v;
8606  {
8607  void *ptr;
8608  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8609  _v = 0;
8610  } else {
8611  _v = 1;
8612  }
8613  }
8614  if (_v) {
8615  {
8616  _v = SWIG_lua_isnilstring(L,argv[1]);
8617  }
8618  if (_v) {
8620  }
8621  }
8622  }
8623 
8624  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_value'\n"
8625  " Possible C/C++ prototypes are:\n"
8626  " uiAbstractValueNode_t::set_value(float)\n"
8627  " uiAbstractValueNode_t::set_value(char const *)\n");
8628  lua_error(L);return 0;
8629 }
8630 
8631 
8632 static int _wrap_uiAbstractValueNode_set_delta(lua_State* L) {
8633  int SWIG_arg = 0;
8634  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8635  float arg2 ;
8636 
8637  SWIG_check_num_args("uiAbstractValueNode_t::set_delta",2,2)
8638  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",1,"uiAbstractValueNode_t *");
8639  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",2,"float");
8640 
8641  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8642  SWIG_fail_ptr("uiAbstractValueNode_set_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8643  }
8644 
8645  arg2 = (float)lua_tonumber(L, 2);
8647 
8648  return SWIG_arg;
8649 
8650  if(0) SWIG_fail;
8651 
8652 fail:
8653  lua_error(L);
8654  return SWIG_arg;
8655 }
8656 
8657 
8659  int SWIG_arg = 0;
8660  uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) 0 ;
8661  float arg2 ;
8662 
8663  SWIG_check_num_args("uiAbstractValueNode_t::set_shiftmultiplier",2,2)
8664  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",1,"uiAbstractValueNode_t *");
8665  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",2,"float");
8666 
8667  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiAbstractValueNode_t,0))){
8668  SWIG_fail_ptr("uiAbstractValueNode_set_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8669  }
8670 
8671  arg2 = (float)lua_tonumber(L, 2);
8673 
8674  return SWIG_arg;
8675 
8676  if(0) SWIG_fail;
8677 
8678 fail:
8679  lua_error(L);
8680  return SWIG_arg;
8681 }
8682 
8683 
8684 static int _wrap_new_uiAbstractValueNode(lua_State* L) {
8685  int SWIG_arg = 0;
8686  uiAbstractValueNode_t *result = 0 ;
8687 
8688  SWIG_check_num_args("uiAbstractValueNode_t::uiAbstractValueNode_t",0,0)
8689  result = (uiAbstractValueNode_t *)new uiAbstractValueNode_t();
8690  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiAbstractValueNode_t,1); SWIG_arg++;
8691  return SWIG_arg;
8692 
8693  if(0) SWIG_fail;
8694 
8695 fail:
8696  lua_error(L);
8697  return SWIG_arg;
8698 }
8699 
8700 
8701 static void swig_delete_uiAbstractValueNode(void *obj) {
8702 uiAbstractValueNode_t *arg1 = (uiAbstractValueNode_t *) obj;
8703 delete arg1;
8704 }
8705 static int _proxy__wrap_new_uiAbstractValueNode(lua_State *L) {
8706  assert(lua_istable(L,1));
8707  lua_pushcfunction(L,_wrap_new_uiAbstractValueNode);
8708  assert(!lua_isnil(L,-1));
8709  lua_replace(L,1); /* replace our table with real constructor */
8710  lua_call(L,lua_gettop(L)-1,1);
8711  return 1;
8712 }
8714  {0,0,0}
8715 };
8716 static swig_lua_method swig_uiAbstractValueNode_methods[]= {
8719  { "value", _wrap_uiAbstractValueNode_value},
8720  { "delta", _wrap_uiAbstractValueNode_delta},
8721  { "lastdiff", _wrap_uiAbstractValueNode_lastdiff},
8722  { "shiftmultiplier", _wrap_uiAbstractValueNode_shiftmultiplier},
8723  { "inc_value", _wrap_uiAbstractValueNode_inc_value},
8724  { "dec_value", _wrap_uiAbstractValueNode_dec_value},
8725  { "set_range", _wrap_uiAbstractValueNode_set_range},
8726  { "set_min", _wrap_uiAbstractValueNode_set_min},
8727  { "set_max", _wrap_uiAbstractValueNode_set_max},
8728  { "set_value", _wrap_uiAbstractValueNode_set_value},
8729  { "set_delta", _wrap_uiAbstractValueNode_set_delta},
8730  { "set_shiftmultiplier", _wrap_uiAbstractValueNode_set_shiftmultiplier},
8731  {0,0}
8732 };
8733 static swig_lua_method swig_uiAbstractValueNode_meta[] = {
8734  {0,0}
8735 };
8736 
8738  {0,0,0}
8739 };
8741  {0,0,0,0,0,0}
8742 };
8744  {0,0}
8745 };
8747  0
8748 };
8749 
8751  "uiAbstractValueNode",
8756  0
8757 };
8759 static const char *swig_uiAbstractValueNode_base_names[] = {"uiNode_t *",0};
8761 
8762 static int _wrap_uiBar_is_readonly(lua_State* L) {
8763  int SWIG_arg = 0;
8764  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8765  bool result;
8766 
8767  SWIG_check_num_args("uiBarNode_t::is_readonly",1,1)
8768  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_readonly",1,"uiBarNode_t *");
8769 
8770  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8771  SWIG_fail_ptr("uiBar_is_readonly",1,SWIGTYPE_p_uiBarNode_t);
8772  }
8773 
8774  result = (bool)uiBarNode_t_is_readonly(arg1);
8775  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8776  return SWIG_arg;
8777 
8778  if(0) SWIG_fail;
8779 
8780 fail:
8781  lua_error(L);
8782  return SWIG_arg;
8783 }
8784 
8785 
8786 static int _wrap_uiBar_is_nohover(lua_State* L) {
8787  int SWIG_arg = 0;
8788  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8789  bool result;
8790 
8791  SWIG_check_num_args("uiBarNode_t::is_nohover",1,1)
8792  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_nohover",1,"uiBarNode_t *");
8793 
8794  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8795  SWIG_fail_ptr("uiBar_is_nohover",1,SWIGTYPE_p_uiBarNode_t);
8796  }
8797 
8798  result = (bool)uiBarNode_t_is_nohover(arg1);
8799  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8800  return SWIG_arg;
8801 
8802  if(0) SWIG_fail;
8803 
8804 fail:
8805  lua_error(L);
8806  return SWIG_arg;
8807 }
8808 
8809 
8810 static int _wrap_uiBar_direction(lua_State* L) {
8811  int SWIG_arg = 0;
8812  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8813  int result;
8814 
8815  SWIG_check_num_args("uiBarNode_t::direction",1,1)
8816  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::direction",1,"uiBarNode_t *");
8817 
8818  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8819  SWIG_fail_ptr("uiBar_direction",1,SWIGTYPE_p_uiBarNode_t);
8820  }
8821 
8822  result = (int)uiBarNode_t_direction(arg1);
8823  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8824  return SWIG_arg;
8825 
8826  if(0) SWIG_fail;
8827 
8828 fail:
8829  lua_error(L);
8830  return SWIG_arg;
8831 }
8832 
8833 
8834 static int _wrap_uiBar_set_direction(lua_State* L) {
8835  int SWIG_arg = 0;
8836  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8837  int arg2 ;
8838 
8839  SWIG_check_num_args("uiBarNode_t::set_direction",2,2)
8840  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_direction",1,"uiBarNode_t *");
8841  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBarNode_t::set_direction",2,"int");
8842 
8843  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8844  SWIG_fail_ptr("uiBar_set_direction",1,SWIGTYPE_p_uiBarNode_t);
8845  }
8846 
8847  arg2 = (int)lua_tonumber(L, 2);
8848  uiBarNode_t_set_direction(arg1,arg2);
8849 
8850  return SWIG_arg;
8851 
8852  if(0) SWIG_fail;
8853 
8854 fail:
8855  lua_error(L);
8856  return SWIG_arg;
8857 }
8858 
8859 
8860 static int _wrap_uiBar_set_readonly(lua_State* L) {
8861  int SWIG_arg = 0;
8862  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8863  bool arg2 ;
8864 
8865  SWIG_check_num_args("uiBarNode_t::set_readonly",2,2)
8866  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_readonly",1,"uiBarNode_t *");
8867  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_readonly",2,"bool");
8868 
8869  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8870  SWIG_fail_ptr("uiBar_set_readonly",1,SWIGTYPE_p_uiBarNode_t);
8871  }
8872 
8873  arg2 = (lua_toboolean(L, 2)!=0);
8874  uiBarNode_t_set_readonly(arg1,arg2);
8875 
8876  return SWIG_arg;
8877 
8878  if(0) SWIG_fail;
8879 
8880 fail:
8881  lua_error(L);
8882  return SWIG_arg;
8883 }
8884 
8885 
8886 static int _wrap_uiBar_set_nohover(lua_State* L) {
8887  int SWIG_arg = 0;
8888  uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8889  bool arg2 ;
8890 
8891  SWIG_check_num_args("uiBarNode_t::set_nohover",2,2)
8892  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_nohover",1,"uiBarNode_t *");
8893  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_nohover",2,"bool");
8894 
8895  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8896  SWIG_fail_ptr("uiBar_set_nohover",1,SWIGTYPE_p_uiBarNode_t);
8897  }
8898 
8899  arg2 = (lua_toboolean(L, 2)!=0);
8900  uiBarNode_t_set_nohover(arg1,arg2);
8901 
8902  return SWIG_arg;
8903 
8904  if(0) SWIG_fail;
8905 
8906 fail:
8907  lua_error(L);
8908  return SWIG_arg;
8909 }
8910 
8911 
8912 static int _wrap_new_uiBar(lua_State* L) {
8913  int SWIG_arg = 0;
8914  uiBarNode_t *result = 0 ;
8915 
8916  SWIG_check_num_args("uiBarNode_t::uiBarNode_t",0,0)
8917  result = (uiBarNode_t *)new uiBarNode_t();
8918  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,1); SWIG_arg++;
8919  return SWIG_arg;
8920 
8921  if(0) SWIG_fail;
8922 
8923 fail:
8924  lua_error(L);
8925  return SWIG_arg;
8926 }
8927 
8928 
8929 static void swig_delete_uiBar(void *obj) {
8930 uiBarNode_t *arg1 = (uiBarNode_t *) obj;
8931 delete arg1;
8932 }
8933 static int _proxy__wrap_new_uiBar(lua_State *L) {
8934  assert(lua_istable(L,1));
8935  lua_pushcfunction(L,_wrap_new_uiBar);
8936  assert(!lua_isnil(L,-1));
8937  lua_replace(L,1); /* replace our table with real constructor */
8938  lua_call(L,lua_gettop(L)-1,1);
8939  return 1;
8940 }
8942  {0,0,0}
8943 };
8944 static swig_lua_method swig_uiBar_methods[]= {
8945  { "is_readonly", _wrap_uiBar_is_readonly},
8946  { "is_nohover", _wrap_uiBar_is_nohover},
8947  { "direction", _wrap_uiBar_direction},
8948  { "set_direction", _wrap_uiBar_set_direction},
8949  { "set_readonly", _wrap_uiBar_set_readonly},
8950  { "set_nohover", _wrap_uiBar_set_nohover},
8951  {0,0}
8952 };
8953 static swig_lua_method swig_uiBar_meta[] = {
8954  {0,0}
8955 };
8956 
8958  {0,0,0}
8959 };
8960 static swig_lua_const_info swig_uiBar_Sf_SwigStatic_constants[]= {
8961  {0,0,0,0,0,0}
8962 };
8963 static swig_lua_method swig_uiBar_Sf_SwigStatic_methods[]= {
8964  {0,0}
8965 };
8967  0
8968 };
8969 
8971  "uiBar",
8976  0
8977 };
8979 static const char *swig_uiBar_base_names[] = {"uiAbstractValueNode_t *",0};
8981 
8982 static int _wrap_uiBaseLayout_baseid(lua_State* L) {
8983  int SWIG_arg = 0;
8984  uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) 0 ;
8985  int result;
8986 
8987  SWIG_check_num_args("uiBaseLayoutNode_t::baseid",1,1)
8988  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::baseid",1,"uiBaseLayoutNode_t *");
8989 
8990  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
8991  SWIG_fail_ptr("uiBaseLayout_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
8992  }
8993 
8994  result = (int)uiBaseLayoutNode_t_baseid(arg1);
8995  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8996  return SWIG_arg;
8997 
8998  if(0) SWIG_fail;
8999 
9000 fail:
9001  lua_error(L);
9002  return SWIG_arg;
9003 }
9004 
9005 
9006 static int _wrap_uiBaseLayout_set_baseid(lua_State* L) {
9007  int SWIG_arg = 0;
9008  uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) 0 ;
9009  int arg2 ;
9010 
9011  SWIG_check_num_args("uiBaseLayoutNode_t::set_baseid",2,2)
9012  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",1,"uiBaseLayoutNode_t *");
9013  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",2,"int");
9014 
9015  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9016  SWIG_fail_ptr("uiBaseLayout_set_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9017  }
9018 
9019  arg2 = (int)lua_tonumber(L, 2);
9020  uiBaseLayoutNode_t_set_baseid(arg1,arg2);
9021 
9022  return SWIG_arg;
9023 
9024  if(0) SWIG_fail;
9025 
9026 fail:
9027  lua_error(L);
9028  return SWIG_arg;
9029 }
9030 
9031 
9032 static int _wrap_new_uiBaseLayout(lua_State* L) {
9033  int SWIG_arg = 0;
9034  uiBaseLayoutNode_t *result = 0 ;
9035 
9036  SWIG_check_num_args("uiBaseLayoutNode_t::uiBaseLayoutNode_t",0,0)
9037  result = (uiBaseLayoutNode_t *)new uiBaseLayoutNode_t();
9038  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,1); SWIG_arg++;
9039  return SWIG_arg;
9040 
9041  if(0) SWIG_fail;
9042 
9043 fail:
9044  lua_error(L);
9045  return SWIG_arg;
9046 }
9047 
9048 
9049 static void swig_delete_uiBaseLayout(void *obj) {
9050 uiBaseLayoutNode_t *arg1 = (uiBaseLayoutNode_t *) obj;
9051 delete arg1;
9052 }
9053 static int _proxy__wrap_new_uiBaseLayout(lua_State *L) {
9054  assert(lua_istable(L,1));
9055  lua_pushcfunction(L,_wrap_new_uiBaseLayout);
9056  assert(!lua_isnil(L,-1));
9057  lua_replace(L,1); /* replace our table with real constructor */
9058  lua_call(L,lua_gettop(L)-1,1);
9059  return 1;
9060 }
9062  {0,0,0}
9063 };
9064 static swig_lua_method swig_uiBaseLayout_methods[]= {
9065  { "baseid", _wrap_uiBaseLayout_baseid},
9066  { "set_baseid", _wrap_uiBaseLayout_set_baseid},
9067  {0,0}
9068 };
9069 static swig_lua_method swig_uiBaseLayout_meta[] = {
9070  {0,0}
9071 };
9072 
9074  {0,0,0}
9075 };
9076 static swig_lua_const_info swig_uiBaseLayout_Sf_SwigStatic_constants[]= {
9077  {0,0,0,0,0,0}
9078 };
9079 static swig_lua_method swig_uiBaseLayout_Sf_SwigStatic_methods[]= {
9080  {0,0}
9081 };
9083  0
9084 };
9085 
9087  "uiBaseLayout",
9092  0
9093 };
9095 static const char *swig_uiBaseLayout_base_names[] = {"uiNode_t *",0};
9097 
9098 static int _wrap_uiButton_flipicon(lua_State* L) {
9099  int SWIG_arg = 0;
9100  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9101  bool result;
9102 
9103  SWIG_check_num_args("uiButtonNode_t::flipicon",1,1)
9104  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::flipicon",1,"uiButtonNode_t *");
9105 
9106  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9107  SWIG_fail_ptr("uiButton_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9108  }
9109 
9110  result = (bool)uiButtonNode_t_flipicon(arg1);
9111  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9112  return SWIG_arg;
9113 
9114  if(0) SWIG_fail;
9115 
9116 fail:
9117  lua_error(L);
9118  return SWIG_arg;
9119 }
9120 
9121 
9122 static int _wrap_uiButton_set_flipicon(lua_State* L) {
9123  int SWIG_arg = 0;
9124  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9125  bool arg2 ;
9126 
9127  SWIG_check_num_args("uiButtonNode_t::set_flipicon",2,2)
9128  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",1,"uiButtonNode_t *");
9129  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",2,"bool");
9130 
9131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9132  SWIG_fail_ptr("uiButton_set_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9133  }
9134 
9135  arg2 = (lua_toboolean(L, 2)!=0);
9136  uiButtonNode_t_set_flipicon(arg1,arg2);
9137 
9138  return SWIG_arg;
9139 
9140  if(0) SWIG_fail;
9141 
9142 fail:
9143  lua_error(L);
9144  return SWIG_arg;
9145 }
9146 
9147 
9148 static int _wrap_uiButton_set_background(lua_State* L) {
9149  int SWIG_arg = 0;
9150  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9151  char *arg2 = (char *) 0 ;
9152 
9153  SWIG_check_num_args("uiButtonNode_t::set_background",2,2)
9154  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_background",1,"uiButtonNode_t *");
9155  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_background",2,"char const *");
9156 
9157  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9158  SWIG_fail_ptr("uiButton_set_background",1,SWIGTYPE_p_uiButtonNode_t);
9159  }
9160 
9161  arg2 = (char *)lua_tostring(L, 2);
9162  uiButtonNode_t_set_background(arg1,(char const *)arg2);
9163 
9164  return SWIG_arg;
9165 
9166  if(0) SWIG_fail;
9167 
9168 fail:
9169  lua_error(L);
9170  return SWIG_arg;
9171 }
9172 
9173 
9174 static int _wrap_uiButton_set_icon(lua_State* L) {
9175  int SWIG_arg = 0;
9176  uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9177  char *arg2 = (char *) 0 ;
9178 
9179  SWIG_check_num_args("uiButtonNode_t::set_icon",2,2)
9180  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_icon",1,"uiButtonNode_t *");
9181  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_icon",2,"char const *");
9182 
9183  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9184  SWIG_fail_ptr("uiButton_set_icon",1,SWIGTYPE_p_uiButtonNode_t);
9185  }
9186 
9187  arg2 = (char *)lua_tostring(L, 2);
9188  uiButtonNode_t_set_icon(arg1,(char const *)arg2);
9189 
9190  return SWIG_arg;
9191 
9192  if(0) SWIG_fail;
9193 
9194 fail:
9195  lua_error(L);
9196  return SWIG_arg;
9197 }
9198 
9199 
9200 static int _wrap_new_uiButton(lua_State* L) {
9201  int SWIG_arg = 0;
9202  uiButtonNode_t *result = 0 ;
9203 
9204  SWIG_check_num_args("uiButtonNode_t::uiButtonNode_t",0,0)
9205  result = (uiButtonNode_t *)new uiButtonNode_t();
9206  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,1); SWIG_arg++;
9207  return SWIG_arg;
9208 
9209  if(0) SWIG_fail;
9210 
9211 fail:
9212  lua_error(L);
9213  return SWIG_arg;
9214 }
9215 
9216 
9217 static void swig_delete_uiButton(void *obj) {
9218 uiButtonNode_t *arg1 = (uiButtonNode_t *) obj;
9219 delete arg1;
9220 }
9221 static int _proxy__wrap_new_uiButton(lua_State *L) {
9222  assert(lua_istable(L,1));
9223  lua_pushcfunction(L,_wrap_new_uiButton);
9224  assert(!lua_isnil(L,-1));
9225  lua_replace(L,1); /* replace our table with real constructor */
9226  lua_call(L,lua_gettop(L)-1,1);
9227  return 1;
9228 }
9230  {0,0,0}
9231 };
9232 static swig_lua_method swig_uiButton_methods[]= {
9233  { "flipicon", _wrap_uiButton_flipicon},
9234  { "set_flipicon", _wrap_uiButton_set_flipicon},
9235  { "set_background", _wrap_uiButton_set_background},
9236  { "set_icon", _wrap_uiButton_set_icon},
9237  {0,0}
9238 };
9239 static swig_lua_method swig_uiButton_meta[] = {
9240  {0,0}
9241 };
9242 
9244  {0,0,0}
9245 };
9246 static swig_lua_const_info swig_uiButton_Sf_SwigStatic_constants[]= {
9247  {0,0,0,0,0,0}
9248 };
9249 static swig_lua_method swig_uiButton_Sf_SwigStatic_methods[]= {
9250  {0,0}
9251 };
9253  0
9254 };
9255 
9257  "uiButton",
9262  0
9263 };
9265 static const char *swig_uiButton_base_names[] = {"uiNode_t *",0};
9267 
9268 static int _wrap_uiCheckBox_as_boolean(lua_State* L) {
9269  int SWIG_arg = 0;
9270  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9271  bool result;
9272 
9273  SWIG_check_num_args("uiCheckBoxNode_t::as_boolean",1,1)
9274  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_boolean",1,"uiCheckBoxNode_t *");
9275 
9276  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9277  SWIG_fail_ptr("uiCheckBox_as_boolean",1,SWIGTYPE_p_uiCheckBoxNode_t);
9278  }
9279 
9280  result = (bool)uiCheckBoxNode_t_as_boolean(arg1);
9281  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9282  return SWIG_arg;
9283 
9284  if(0) SWIG_fail;
9285 
9286 fail:
9287  lua_error(L);
9288  return SWIG_arg;
9289 }
9290 
9291 
9292 static int _wrap_uiCheckBox_as_integer(lua_State* L) {
9293  int SWIG_arg = 0;
9294  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9295  int result;
9296 
9297  SWIG_check_num_args("uiCheckBoxNode_t::as_integer",1,1)
9298  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_integer",1,"uiCheckBoxNode_t *");
9299 
9300  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9301  SWIG_fail_ptr("uiCheckBox_as_integer",1,SWIGTYPE_p_uiCheckBoxNode_t);
9302  }
9303 
9304  result = (int)uiCheckBoxNode_t_as_integer(arg1);
9305  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9306  return SWIG_arg;
9307 
9308  if(0) SWIG_fail;
9309 
9310 fail:
9311  lua_error(L);
9312  return SWIG_arg;
9313 }
9314 
9315 
9316 static int _wrap_uiCheckBox_set_background(lua_State* L) {
9317  int SWIG_arg = 0;
9318  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9319  char *arg2 = (char *) 0 ;
9320 
9321  SWIG_check_num_args("uiCheckBoxNode_t::set_background",2,2)
9322  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",1,"uiCheckBoxNode_t *");
9323  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",2,"char const *");
9324 
9325  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9326  SWIG_fail_ptr("uiCheckBox_set_background",1,SWIGTYPE_p_uiCheckBoxNode_t);
9327  }
9328 
9329  arg2 = (char *)lua_tostring(L, 2);
9330  uiCheckBoxNode_t_set_background(arg1,(char const *)arg2);
9331 
9332  return SWIG_arg;
9333 
9334  if(0) SWIG_fail;
9335 
9336 fail:
9337  lua_error(L);
9338  return SWIG_arg;
9339 }
9340 
9341 
9342 static int _wrap_uiCheckBox_set_iconchecked(lua_State* L) {
9343  int SWIG_arg = 0;
9344  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9345  char *arg2 = (char *) 0 ;
9346 
9347  SWIG_check_num_args("uiCheckBoxNode_t::set_iconchecked",2,2)
9348  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",1,"uiCheckBoxNode_t *");
9349  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",2,"char const *");
9350 
9351  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9352  SWIG_fail_ptr("uiCheckBox_set_iconchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9353  }
9354 
9355  arg2 = (char *)lua_tostring(L, 2);
9356  uiCheckBoxNode_t_set_iconchecked(arg1,(char const *)arg2);
9357 
9358  return SWIG_arg;
9359 
9360  if(0) SWIG_fail;
9361 
9362 fail:
9363  lua_error(L);
9364  return SWIG_arg;
9365 }
9366 
9367 
9368 static int _wrap_uiCheckBox_set_iconunchecked(lua_State* L) {
9369  int SWIG_arg = 0;
9370  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9371  char *arg2 = (char *) 0 ;
9372 
9373  SWIG_check_num_args("uiCheckBoxNode_t::set_iconunchecked",2,2)
9374  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",1,"uiCheckBoxNode_t *");
9375  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",2,"char const *");
9376 
9377  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9378  SWIG_fail_ptr("uiCheckBox_set_iconunchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9379  }
9380 
9381  arg2 = (char *)lua_tostring(L, 2);
9382  uiCheckBoxNode_t_set_iconunchecked(arg1,(char const *)arg2);
9383 
9384  return SWIG_arg;
9385 
9386  if(0) SWIG_fail;
9387 
9388 fail:
9389  lua_error(L);
9390  return SWIG_arg;
9391 }
9392 
9393 
9394 static int _wrap_uiCheckBox_set_iconunknown(lua_State* L) {
9395  int SWIG_arg = 0;
9396  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9397  char *arg2 = (char *) 0 ;
9398 
9399  SWIG_check_num_args("uiCheckBoxNode_t::set_iconunknown",2,2)
9400  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",1,"uiCheckBoxNode_t *");
9401  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",2,"char const *");
9402 
9403  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9404  SWIG_fail_ptr("uiCheckBox_set_iconunknown",1,SWIGTYPE_p_uiCheckBoxNode_t);
9405  }
9406 
9407  arg2 = (char *)lua_tostring(L, 2);
9408  uiCheckBoxNode_t_set_iconunknown(arg1,(char const *)arg2);
9409 
9410  return SWIG_arg;
9411 
9412  if(0) SWIG_fail;
9413 
9414 fail:
9415  lua_error(L);
9416  return SWIG_arg;
9417 }
9418 
9419 
9420 static int _wrap_uiCheckBox_toggle(lua_State* L) {
9421  int SWIG_arg = 0;
9422  uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9423 
9424  SWIG_check_num_args("uiCheckBoxNode_t::toggle",1,1)
9425  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::toggle",1,"uiCheckBoxNode_t *");
9426 
9427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9428  SWIG_fail_ptr("uiCheckBox_toggle",1,SWIGTYPE_p_uiCheckBoxNode_t);
9429  }
9430 
9432 
9433  return SWIG_arg;
9434 
9435  if(0) SWIG_fail;
9436 
9437 fail:
9438  lua_error(L);
9439  return SWIG_arg;
9440 }
9441 
9442 
9443 static int _wrap_new_uiCheckBox(lua_State* L) {
9444  int SWIG_arg = 0;
9445  uiCheckBoxNode_t *result = 0 ;
9446 
9447  SWIG_check_num_args("uiCheckBoxNode_t::uiCheckBoxNode_t",0,0)
9448  result = (uiCheckBoxNode_t *)new uiCheckBoxNode_t();
9449  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,1); SWIG_arg++;
9450  return SWIG_arg;
9451 
9452  if(0) SWIG_fail;
9453 
9454 fail:
9455  lua_error(L);
9456  return SWIG_arg;
9457 }
9458 
9459 
9460 static void swig_delete_uiCheckBox(void *obj) {
9461 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) obj;
9462 delete arg1;
9463 }
9464 static int _proxy__wrap_new_uiCheckBox(lua_State *L) {
9465  assert(lua_istable(L,1));
9466  lua_pushcfunction(L,_wrap_new_uiCheckBox);
9467  assert(!lua_isnil(L,-1));
9468  lua_replace(L,1); /* replace our table with real constructor */
9469  lua_call(L,lua_gettop(L)-1,1);
9470  return 1;
9471 }
9473  {0,0,0}
9474 };
9475 static swig_lua_method swig_uiCheckBox_methods[]= {
9476  { "as_boolean", _wrap_uiCheckBox_as_boolean},
9477  { "as_integer", _wrap_uiCheckBox_as_integer},
9478  { "set_background", _wrap_uiCheckBox_set_background},
9479  { "set_iconchecked", _wrap_uiCheckBox_set_iconchecked},
9480  { "set_iconunchecked", _wrap_uiCheckBox_set_iconunchecked},
9481  { "set_iconunknown", _wrap_uiCheckBox_set_iconunknown},
9482  { "toggle", _wrap_uiCheckBox_toggle},
9483  {0,0}
9484 };
9485 static swig_lua_method swig_uiCheckBox_meta[] = {
9486  {0,0}
9487 };
9488 
9490  {0,0,0}
9491 };
9492 static swig_lua_const_info swig_uiCheckBox_Sf_SwigStatic_constants[]= {
9493  {0,0,0,0,0,0}
9494 };
9495 static swig_lua_method swig_uiCheckBox_Sf_SwigStatic_methods[]= {
9496  {0,0}
9497 };
9499  0
9500 };
9501 
9503  "uiCheckBox",
9508  0
9509 };
9511 static const char *swig_uiCheckBox_base_names[] = {"uiAbstractValueNode_t *",0};
9513 
9514 static int _wrap_new_uiConFunc(lua_State* L) {
9515  int SWIG_arg = 0;
9516  uiConFuncNode_t *result = 0 ;
9517 
9518  SWIG_check_num_args("uiConFuncNode_t::uiConFuncNode_t",0,0)
9519  result = (uiConFuncNode_t *)new uiConFuncNode_t();
9520  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,1); SWIG_arg++;
9521  return SWIG_arg;
9522 
9523  if(0) SWIG_fail;
9524 
9525 fail:
9526  lua_error(L);
9527  return SWIG_arg;
9528 }
9529 
9530 
9531 static void swig_delete_uiConFunc(void *obj) {
9532 uiConFuncNode_t *arg1 = (uiConFuncNode_t *) obj;
9533 delete arg1;
9534 }
9535 static int _proxy__wrap_new_uiConFunc(lua_State *L) {
9536  assert(lua_istable(L,1));
9537  lua_pushcfunction(L,_wrap_new_uiConFunc);
9538  assert(!lua_isnil(L,-1));
9539  lua_replace(L,1); /* replace our table with real constructor */
9540  lua_call(L,lua_gettop(L)-1,1);
9541  return 1;
9542 }
9544  {0,0,0}
9545 };
9546 static swig_lua_method swig_uiConFunc_methods[]= {
9547  {0,0}
9548 };
9549 static swig_lua_method swig_uiConFunc_meta[] = {
9550  {0,0}
9551 };
9552 
9554  {0,0,0}
9555 };
9556 static swig_lua_const_info swig_uiConFunc_Sf_SwigStatic_constants[]= {
9557  {0,0,0,0,0,0}
9558 };
9559 static swig_lua_method swig_uiConFunc_Sf_SwigStatic_methods[]= {
9560  {0,0}
9561 };
9563  0
9564 };
9565 
9567  "uiConFunc",
9572  0
9573 };
9575 static const char *swig_uiConFunc_base_names[] = {"uiNode_t *",0};
9577 
9578 static int _wrap_uiContainer_selectedid(lua_State* L) {
9579  int SWIG_arg = 0;
9580  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9581  int result;
9582 
9583  SWIG_check_num_args("uiContainerNode_t::selectedid",1,1)
9584  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::selectedid",1,"uiContainerNode_t *");
9585 
9586  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9587  SWIG_fail_ptr("uiContainer_selectedid",1,SWIGTYPE_p_uiContainerNode_t);
9588  }
9589 
9590  result = (int)uiContainerNode_t_selectedid(arg1);
9591  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9592  return SWIG_arg;
9593 
9594  if(0) SWIG_fail;
9595 
9596 fail:
9597  lua_error(L);
9598  return SWIG_arg;
9599 }
9600 
9601 
9602 static int _wrap_uiContainer_on_select_set(lua_State* L) {
9603  int SWIG_arg = 0;
9604  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9605  LUA_EVENT arg2 ;
9606 
9607  SWIG_check_num_args("uiContainerNode_t::lua_onSelect",2,2)
9608  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9609 
9610  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9611  SWIG_fail_ptr("uiContainer_on_select_set",1,SWIGTYPE_p_uiContainerNode_t);
9612  }
9613 
9614  {
9615  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
9616  }
9618 
9619  return SWIG_arg;
9620 
9621  if(0) SWIG_fail;
9622 
9623 fail:
9624  lua_error(L);
9625  return SWIG_arg;
9626 }
9627 
9628 
9629 static int _wrap_uiContainer_on_select_get(lua_State* L) {
9630  int SWIG_arg = 0;
9631  uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9632  LUA_EVENT result;
9633 
9634  SWIG_check_num_args("uiContainerNode_t::lua_onSelect",1,1)
9635  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9636 
9637  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9638  SWIG_fail_ptr("uiContainer_on_select_get",1,SWIGTYPE_p_uiContainerNode_t);
9639  }
9640 
9641  result = uiContainerNode_t_lua_onSelect_get(arg1);
9642  {
9643  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
9644  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
9645  }
9646  return SWIG_arg;
9647 
9648  if(0) SWIG_fail;
9649 
9650 fail:
9651  lua_error(L);
9652  return SWIG_arg;
9653 }
9654 
9655 
9656 static int _wrap_new_uiContainer(lua_State* L) {
9657  int SWIG_arg = 0;
9658  uiContainerNode_t *result = 0 ;
9659 
9660  SWIG_check_num_args("uiContainerNode_t::uiContainerNode_t",0,0)
9661  result = (uiContainerNode_t *)new uiContainerNode_t();
9662  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,1); SWIG_arg++;
9663  return SWIG_arg;
9664 
9665  if(0) SWIG_fail;
9666 
9667 fail:
9668  lua_error(L);
9669  return SWIG_arg;
9670 }
9671 
9672 
9673 static void swig_delete_uiContainer(void *obj) {
9674 uiContainerNode_t *arg1 = (uiContainerNode_t *) obj;
9675 delete arg1;
9676 }
9677 static int _proxy__wrap_new_uiContainer(lua_State *L) {
9678  assert(lua_istable(L,1));
9679  lua_pushcfunction(L,_wrap_new_uiContainer);
9680  assert(!lua_isnil(L,-1));
9681  lua_replace(L,1); /* replace our table with real constructor */
9682  lua_call(L,lua_gettop(L)-1,1);
9683  return 1;
9684 }
9687  {0,0,0}
9688 };
9689 static swig_lua_method swig_uiContainer_methods[]= {
9690  { "selectedid", _wrap_uiContainer_selectedid},
9691  {0,0}
9692 };
9693 static swig_lua_method swig_uiContainer_meta[] = {
9694  {0,0}
9695 };
9696 
9698  {0,0,0}
9699 };
9700 static swig_lua_const_info swig_uiContainer_Sf_SwigStatic_constants[]= {
9701  {0,0,0,0,0,0}
9702 };
9703 static swig_lua_method swig_uiContainer_Sf_SwigStatic_methods[]= {
9704  {0,0}
9705 };
9707  0
9708 };
9709 
9711  "uiContainer",
9716  0
9717 };
9719 static const char *swig_uiContainer_base_names[] = {"uiNode_t *",0};
9721 
9722 static int _wrap_uiBaseInventory_filtertype(lua_State* L) {
9723  int SWIG_arg = 0;
9724  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9725  int result;
9726 
9727  SWIG_check_num_args("uiBaseInventoryNode_t::filtertype",1,1)
9728  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::filtertype",1,"uiBaseInventoryNode_t *");
9729 
9730  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9731  SWIG_fail_ptr("uiBaseInventory_filtertype",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9732  }
9733 
9734  result = (int)uiBaseInventoryNode_t_filtertype(arg1);
9735  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9736  return SWIG_arg;
9737 
9738  if(0) SWIG_fail;
9739 
9740 fail:
9741  lua_error(L);
9742  return SWIG_arg;
9743 }
9744 
9745 
9746 static int _wrap_uiBaseInventory_columns(lua_State* L) {
9747  int SWIG_arg = 0;
9748  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9749  int result;
9750 
9751  SWIG_check_num_args("uiBaseInventoryNode_t::columns",1,1)
9752  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::columns",1,"uiBaseInventoryNode_t *");
9753 
9754  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9755  SWIG_fail_ptr("uiBaseInventory_columns",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9756  }
9757 
9758  result = (int)uiBaseInventoryNode_t_columns(arg1);
9759  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9760  return SWIG_arg;
9761 
9762  if(0) SWIG_fail;
9763 
9764 fail:
9765  lua_error(L);
9766  return SWIG_arg;
9767 }
9768 
9769 
9770 static int _wrap_uiBaseInventory_is_displayweapon(lua_State* L) {
9771  int SWIG_arg = 0;
9772  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9773  bool result;
9774 
9775  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweapon",1,1)
9776  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweapon",1,"uiBaseInventoryNode_t *");
9777 
9778  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9779  SWIG_fail_ptr("uiBaseInventory_is_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9780  }
9781 
9782  result = (bool)uiBaseInventoryNode_t_is_displayweapon(arg1);
9783  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9784  return SWIG_arg;
9785 
9786  if(0) SWIG_fail;
9787 
9788 fail:
9789  lua_error(L);
9790  return SWIG_arg;
9791 }
9792 
9793 
9795  int SWIG_arg = 0;
9796  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9797  bool result;
9798 
9799  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweaponammo",1,1)
9800  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweaponammo",1,"uiBaseInventoryNode_t *");
9801 
9802  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9803  SWIG_fail_ptr("uiBaseInventory_is_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9804  }
9805 
9806  result = (bool)uiBaseInventoryNode_t_is_displayweaponammo(arg1);
9807  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9808  return SWIG_arg;
9809 
9810  if(0) SWIG_fail;
9811 
9812 fail:
9813  lua_error(L);
9814  return SWIG_arg;
9815 }
9816 
9817 
9818 static int _wrap_uiBaseInventory_is_displayammo(lua_State* L) {
9819  int SWIG_arg = 0;
9820  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9821  bool result;
9822 
9823  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayammo",1,1)
9824  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayammo",1,"uiBaseInventoryNode_t *");
9825 
9826  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9827  SWIG_fail_ptr("uiBaseInventory_is_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9828  }
9829 
9830  result = (bool)uiBaseInventoryNode_t_is_displayammo(arg1);
9831  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9832  return SWIG_arg;
9833 
9834  if(0) SWIG_fail;
9835 
9836 fail:
9837  lua_error(L);
9838  return SWIG_arg;
9839 }
9840 
9841 
9843  int SWIG_arg = 0;
9844  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9845  bool result;
9846 
9847  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayimplant",1,1)
9848  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayimplant",1,"uiBaseInventoryNode_t *");
9849 
9850  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9851  SWIG_fail_ptr("uiBaseInventory_is_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9852  }
9853 
9854  result = (bool)uiBaseInventoryNode_t_is_displayimplant(arg1);
9855  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9856  return SWIG_arg;
9857 
9858  if(0) SWIG_fail;
9859 
9860 fail:
9861  lua_error(L);
9862  return SWIG_arg;
9863 }
9864 
9865 
9867  int SWIG_arg = 0;
9868  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9869  bool result;
9870 
9871  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailable",1,1)
9872  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailable",1,"uiBaseInventoryNode_t *");
9873 
9874  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9875  SWIG_fail_ptr("uiBaseInventory_is_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9876  }
9877 
9878  result = (bool)uiBaseInventoryNode_t_is_displayunavailable(arg1);
9879  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9880  return SWIG_arg;
9881 
9882  if(0) SWIG_fail;
9883 
9884 fail:
9885  lua_error(L);
9886  return SWIG_arg;
9887 }
9888 
9889 
9891  int SWIG_arg = 0;
9892  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9893  bool result;
9894 
9895  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailableammo",1,1)
9896  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailableammo",1,"uiBaseInventoryNode_t *");
9897 
9898  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9899  SWIG_fail_ptr("uiBaseInventory_is_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9900  }
9901 
9903  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9904  return SWIG_arg;
9905 
9906  if(0) SWIG_fail;
9907 
9908 fail:
9909  lua_error(L);
9910  return SWIG_arg;
9911 }
9912 
9913 
9915  int SWIG_arg = 0;
9916  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9917  bool result;
9918 
9919  SWIG_check_num_args("uiBaseInventoryNode_t::is_displayavailableontop",1,1)
9920  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayavailableontop",1,"uiBaseInventoryNode_t *");
9921 
9922  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9923  SWIG_fail_ptr("uiBaseInventory_is_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9924  }
9925 
9927  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9928  return SWIG_arg;
9929 
9930  if(0) SWIG_fail;
9931 
9932 fail:
9933  lua_error(L);
9934  return SWIG_arg;
9935 }
9936 
9937 
9939  int SWIG_arg = 0;
9940  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9941  bool arg2 ;
9942 
9943  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweapon",2,2)
9944  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",1,"uiBaseInventoryNode_t *");
9945  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",2,"bool");
9946 
9947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9948  SWIG_fail_ptr("uiBaseInventory_set_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9949  }
9950 
9951  arg2 = (lua_toboolean(L, 2)!=0);
9953 
9954  return SWIG_arg;
9955 
9956  if(0) SWIG_fail;
9957 
9958 fail:
9959  lua_error(L);
9960  return SWIG_arg;
9961 }
9962 
9963 
9965  int SWIG_arg = 0;
9966  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9967  bool arg2 ;
9968 
9969  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweaponammo",2,2)
9970  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",1,"uiBaseInventoryNode_t *");
9971  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",2,"bool");
9972 
9973  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
9974  SWIG_fail_ptr("uiBaseInventory_set_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9975  }
9976 
9977  arg2 = (lua_toboolean(L, 2)!=0);
9979 
9980  return SWIG_arg;
9981 
9982  if(0) SWIG_fail;
9983 
9984 fail:
9985  lua_error(L);
9986  return SWIG_arg;
9987 }
9988 
9989 
9990 static int _wrap_uiBaseInventory_set_displayammo(lua_State* L) {
9991  int SWIG_arg = 0;
9992  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
9993  bool arg2 ;
9994 
9995  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayammo",2,2)
9996  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",1,"uiBaseInventoryNode_t *");
9997  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",2,"bool");
9998 
9999  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10000  SWIG_fail_ptr("uiBaseInventory_set_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10001  }
10002 
10003  arg2 = (lua_toboolean(L, 2)!=0);
10005 
10006  return SWIG_arg;
10007 
10008  if(0) SWIG_fail;
10009 
10010 fail:
10011  lua_error(L);
10012  return SWIG_arg;
10013 }
10014 
10015 
10017  int SWIG_arg = 0;
10018  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10019  bool arg2 ;
10020 
10021  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayimplant",2,2)
10022  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",1,"uiBaseInventoryNode_t *");
10023  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",2,"bool");
10024 
10025  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10026  SWIG_fail_ptr("uiBaseInventory_set_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10027  }
10028 
10029  arg2 = (lua_toboolean(L, 2)!=0);
10031 
10032  return SWIG_arg;
10033 
10034  if(0) SWIG_fail;
10035 
10036 fail:
10037  lua_error(L);
10038  return SWIG_arg;
10039 }
10040 
10041 
10043  int SWIG_arg = 0;
10044  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10045  bool arg2 ;
10046 
10047  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailable",2,2)
10048  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",1,"uiBaseInventoryNode_t *");
10049  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",2,"bool");
10050 
10051  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10052  SWIG_fail_ptr("uiBaseInventory_set_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10053  }
10054 
10055  arg2 = (lua_toboolean(L, 2)!=0);
10057 
10058  return SWIG_arg;
10059 
10060  if(0) SWIG_fail;
10061 
10062 fail:
10063  lua_error(L);
10064  return SWIG_arg;
10065 }
10066 
10067 
10069  int SWIG_arg = 0;
10070  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10071  bool arg2 ;
10072 
10073  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailableammo",2,2)
10074  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",1,"uiBaseInventoryNode_t *");
10075  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",2,"bool");
10076 
10077  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10078  SWIG_fail_ptr("uiBaseInventory_set_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10079  }
10080 
10081  arg2 = (lua_toboolean(L, 2)!=0);
10083 
10084  return SWIG_arg;
10085 
10086  if(0) SWIG_fail;
10087 
10088 fail:
10089  lua_error(L);
10090  return SWIG_arg;
10091 }
10092 
10093 
10095  int SWIG_arg = 0;
10096  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10097  bool arg2 ;
10098 
10099  SWIG_check_num_args("uiBaseInventoryNode_t::set_displayavailableontop",2,2)
10100  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",1,"uiBaseInventoryNode_t *");
10101  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",2,"bool");
10102 
10103  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10104  SWIG_fail_ptr("uiBaseInventory_set_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10105  }
10106 
10107  arg2 = (lua_toboolean(L, 2)!=0);
10109 
10110  return SWIG_arg;
10111 
10112  if(0) SWIG_fail;
10113 
10114 fail:
10115  lua_error(L);
10116  return SWIG_arg;
10117 }
10118 
10119 
10120 static int _wrap_uiBaseInventory_viewpos(lua_State* L) {
10121  int SWIG_arg = 0;
10122  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10123  int result;
10124 
10125  SWIG_check_num_args("uiBaseInventoryNode_t::viewpos",1,1)
10126  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewpos",1,"uiBaseInventoryNode_t *");
10127 
10128  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10129  SWIG_fail_ptr("uiBaseInventory_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10130  }
10131 
10132  result = (int)uiBaseInventoryNode_t_viewpos(arg1);
10133  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10134  return SWIG_arg;
10135 
10136  if(0) SWIG_fail;
10137 
10138 fail:
10139  lua_error(L);
10140  return SWIG_arg;
10141 }
10142 
10143 
10144 static int _wrap_uiBaseInventory_viewsize(lua_State* L) {
10145  int SWIG_arg = 0;
10146  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10147  int result;
10148 
10149  SWIG_check_num_args("uiBaseInventoryNode_t::viewsize",1,1)
10150  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewsize",1,"uiBaseInventoryNode_t *");
10151 
10152  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10153  SWIG_fail_ptr("uiBaseInventory_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10154  }
10155 
10156  result = (int)uiBaseInventoryNode_t_viewsize(arg1);
10157  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10158  return SWIG_arg;
10159 
10160  if(0) SWIG_fail;
10161 
10162 fail:
10163  lua_error(L);
10164  return SWIG_arg;
10165 }
10166 
10167 
10168 static int _wrap_uiBaseInventory_fullsize(lua_State* L) {
10169  int SWIG_arg = 0;
10170  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10171  int result;
10172 
10173  SWIG_check_num_args("uiBaseInventoryNode_t::fullsize",1,1)
10174  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::fullsize",1,"uiBaseInventoryNode_t *");
10175 
10176  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10177  SWIG_fail_ptr("uiBaseInventory_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10178  }
10179 
10180  result = (int)uiBaseInventoryNode_t_fullsize(arg1);
10181  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10182  return SWIG_arg;
10183 
10184  if(0) SWIG_fail;
10185 
10186 fail:
10187  lua_error(L);
10188  return SWIG_arg;
10189 }
10190 
10191 
10192 static int _wrap_uiBaseInventory_set_viewpos(lua_State* L) {
10193  int SWIG_arg = 0;
10194  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10195  int arg2 ;
10196 
10197  SWIG_check_num_args("uiBaseInventoryNode_t::set_viewpos",2,2)
10198  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",1,"uiBaseInventoryNode_t *");
10199  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",2,"int");
10200 
10201  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10202  SWIG_fail_ptr("uiBaseInventory_set_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10203  }
10204 
10205  arg2 = (int)lua_tonumber(L, 2);
10207 
10208  return SWIG_arg;
10209 
10210  if(0) SWIG_fail;
10211 
10212 fail:
10213  lua_error(L);
10214  return SWIG_arg;
10215 }
10216 
10217 
10218 static int _wrap_uiBaseInventory_set_viewsize(lua_State* L) {
10219  int SWIG_arg = 0;
10220  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10221  int arg2 ;
10222 
10223  SWIG_check_num_args("uiBaseInventoryNode_t::set_viewsize",2,2)
10224  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",1,"uiBaseInventoryNode_t *");
10225  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",2,"int");
10226 
10227  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10228  SWIG_fail_ptr("uiBaseInventory_set_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10229  }
10230 
10231  arg2 = (int)lua_tonumber(L, 2);
10233 
10234  return SWIG_arg;
10235 
10236  if(0) SWIG_fail;
10237 
10238 fail:
10239  lua_error(L);
10240  return SWIG_arg;
10241 }
10242 
10243 
10244 static int _wrap_uiBaseInventory_set_fullsize(lua_State* L) {
10245  int SWIG_arg = 0;
10246  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10247  int arg2 ;
10248 
10249  SWIG_check_num_args("uiBaseInventoryNode_t::set_fullsize",2,2)
10250  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",1,"uiBaseInventoryNode_t *");
10251  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",2,"int");
10252 
10253  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10254  SWIG_fail_ptr("uiBaseInventory_set_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10255  }
10256 
10257  arg2 = (int)lua_tonumber(L, 2);
10259 
10260  return SWIG_arg;
10261 
10262  if(0) SWIG_fail;
10263 
10264 fail:
10265  lua_error(L);
10266  return SWIG_arg;
10267 }
10268 
10269 
10271  int SWIG_arg = 0;
10272  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10273  LUA_EVENT arg2 ;
10274 
10275  SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",2,2)
10276  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10277 
10278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10279  SWIG_fail_ptr("uiBaseInventory_on_viewchange_set",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10280  }
10281 
10282  {
10283  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
10284  }
10286 
10287  return SWIG_arg;
10288 
10289  if(0) SWIG_fail;
10290 
10291 fail:
10292  lua_error(L);
10293  return SWIG_arg;
10294 }
10295 
10296 
10298  int SWIG_arg = 0;
10299  uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) 0 ;
10300  LUA_EVENT result;
10301 
10302  SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",1,1)
10303  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10304 
10305  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseInventoryNode_t,0))){
10306  SWIG_fail_ptr("uiBaseInventory_on_viewchange_get",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10307  }
10308 
10310  {
10311  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
10312  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
10313  }
10314  return SWIG_arg;
10315 
10316  if(0) SWIG_fail;
10317 
10318 fail:
10319  lua_error(L);
10320  return SWIG_arg;
10321 }
10322 
10323 
10324 static int _wrap_new_uiBaseInventory(lua_State* L) {
10325  int SWIG_arg = 0;
10326  uiBaseInventoryNode_t *result = 0 ;
10327 
10328  SWIG_check_num_args("uiBaseInventoryNode_t::uiBaseInventoryNode_t",0,0)
10329  result = (uiBaseInventoryNode_t *)new uiBaseInventoryNode_t();
10330  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,1); SWIG_arg++;
10331  return SWIG_arg;
10332 
10333  if(0) SWIG_fail;
10334 
10335 fail:
10336  lua_error(L);
10337  return SWIG_arg;
10338 }
10339 
10340 
10341 static void swig_delete_uiBaseInventory(void *obj) {
10342 uiBaseInventoryNode_t *arg1 = (uiBaseInventoryNode_t *) obj;
10343 delete arg1;
10344 }
10345 static int _proxy__wrap_new_uiBaseInventory(lua_State *L) {
10346  assert(lua_istable(L,1));
10347  lua_pushcfunction(L,_wrap_new_uiBaseInventory);
10348  assert(!lua_isnil(L,-1));
10349  lua_replace(L,1); /* replace our table with real constructor */
10350  lua_call(L,lua_gettop(L)-1,1);
10351  return 1;
10352 }
10355  {0,0,0}
10356 };
10357 static swig_lua_method swig_uiBaseInventory_methods[]= {
10358  { "filtertype", _wrap_uiBaseInventory_filtertype},
10359  { "columns", _wrap_uiBaseInventory_columns},
10360  { "is_displayweapon", _wrap_uiBaseInventory_is_displayweapon},
10361  { "is_displayweaponammo", _wrap_uiBaseInventory_is_displayweaponammo},
10362  { "is_displayammo", _wrap_uiBaseInventory_is_displayammo},
10363  { "is_displayimplant", _wrap_uiBaseInventory_is_displayimplant},
10364  { "is_displayunavailable", _wrap_uiBaseInventory_is_displayunavailable},
10365  { "is_displayunavailableammo", _wrap_uiBaseInventory_is_displayunavailableammo},
10366  { "is_displayavailableontop", _wrap_uiBaseInventory_is_displayavailableontop},
10367  { "set_displayweapon", _wrap_uiBaseInventory_set_displayweapon},
10368  { "set_displayweaponammo", _wrap_uiBaseInventory_set_displayweaponammo},
10369  { "set_displayammo", _wrap_uiBaseInventory_set_displayammo},
10370  { "set_displayimplant", _wrap_uiBaseInventory_set_displayimplant},
10371  { "set_displayunavailable", _wrap_uiBaseInventory_set_displayunavailable},
10372  { "set_displayunavailableammo", _wrap_uiBaseInventory_set_displayunavailableammo},
10373  { "set_displayavailableontop", _wrap_uiBaseInventory_set_displayavailableontop},
10374  { "viewpos", _wrap_uiBaseInventory_viewpos},
10375  { "viewsize", _wrap_uiBaseInventory_viewsize},
10376  { "fullsize", _wrap_uiBaseInventory_fullsize},
10377  { "set_viewpos", _wrap_uiBaseInventory_set_viewpos},
10378  { "set_viewsize", _wrap_uiBaseInventory_set_viewsize},
10379  { "set_fullsize", _wrap_uiBaseInventory_set_fullsize},
10380  {0,0}
10381 };
10382 static swig_lua_method swig_uiBaseInventory_meta[] = {
10383  {0,0}
10384 };
10385 
10387  {0,0,0}
10388 };
10389 static swig_lua_const_info swig_uiBaseInventory_Sf_SwigStatic_constants[]= {
10390  {0,0,0,0,0,0}
10391 };
10393  {0,0}
10394 };
10396  0
10397 };
10398 
10400  "uiBaseInventory",
10405  0
10406 };
10408 static const char *swig_uiBaseInventory_base_names[] = {"uiContainerNode_t *",0};
10410 
10411 static int _wrap_uiData_as_string(lua_State* L) {
10412  int SWIG_arg = 0;
10413  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10414  char *result = 0 ;
10415 
10416  SWIG_check_num_args("uiDataNode_t::as_string",1,1)
10417  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_string",1,"uiDataNode_t *");
10418 
10419  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10420  SWIG_fail_ptr("uiData_as_string",1,SWIGTYPE_p_uiDataNode_t);
10421  }
10422 
10423  result = (char *)uiDataNode_t_as_string(arg1);
10424  lua_pushstring(L,(const char *)result); SWIG_arg++;
10425  return SWIG_arg;
10426 
10427  if(0) SWIG_fail;
10428 
10429 fail:
10430  lua_error(L);
10431  return SWIG_arg;
10432 }
10433 
10434 
10435 static int _wrap_uiData_as_integer(lua_State* L) {
10436  int SWIG_arg = 0;
10437  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10438  int result;
10439 
10440  SWIG_check_num_args("uiDataNode_t::as_integer",1,1)
10441  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_integer",1,"uiDataNode_t *");
10442 
10443  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10444  SWIG_fail_ptr("uiData_as_integer",1,SWIGTYPE_p_uiDataNode_t);
10445  }
10446 
10447  result = (int)uiDataNode_t_as_integer(arg1);
10448  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10449  return SWIG_arg;
10450 
10451  if(0) SWIG_fail;
10452 
10453 fail:
10454  lua_error(L);
10455  return SWIG_arg;
10456 }
10457 
10458 
10459 static int _wrap_uiData_as_float(lua_State* L) {
10460  int SWIG_arg = 0;
10461  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10462  float result;
10463 
10464  SWIG_check_num_args("uiDataNode_t::as_float",1,1)
10465  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_float",1,"uiDataNode_t *");
10466 
10467  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10468  SWIG_fail_ptr("uiData_as_float",1,SWIGTYPE_p_uiDataNode_t);
10469  }
10470 
10471  result = (float)uiDataNode_t_as_float(arg1);
10472  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10473  return SWIG_arg;
10474 
10475  if(0) SWIG_fail;
10476 
10477 fail:
10478  lua_error(L);
10479  return SWIG_arg;
10480 }
10481 
10482 
10483 static int _wrap_uiData_set_value__SWIG_0(lua_State* L) {
10484  int SWIG_arg = 0;
10485  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10486  char *arg2 = (char *) 0 ;
10487 
10488  SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10489  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10490  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"char const *");
10491 
10492  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10493  SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10494  }
10495 
10496  arg2 = (char *)lua_tostring(L, 2);
10497  uiDataNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
10498 
10499  return SWIG_arg;
10500 
10501  if(0) SWIG_fail;
10502 
10503 fail:
10504  lua_error(L);
10505  return SWIG_arg;
10506 }
10507 
10508 
10509 static int _wrap_uiData_set_value__SWIG_1(lua_State* L) {
10510  int SWIG_arg = 0;
10511  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10512  int arg2 ;
10513 
10514  SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10515  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10516  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"int");
10517 
10518  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10519  SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10520  }
10521 
10522  arg2 = (int)lua_tonumber(L, 2);
10523  uiDataNode_t_set_value__SWIG_1(arg1,arg2);
10524 
10525  return SWIG_arg;
10526 
10527  if(0) SWIG_fail;
10528 
10529 fail:
10530  lua_error(L);
10531  return SWIG_arg;
10532 }
10533 
10534 
10535 static int _wrap_uiData_set_value(lua_State* L) {
10536  int argc;
10537  int argv[3]={
10538  1,2,3
10539  };
10540 
10541  argc = lua_gettop(L);
10542  if (argc == 2) {
10543  int _v;
10544  {
10545  void *ptr;
10546  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10547  _v = 0;
10548  } else {
10549  _v = 1;
10550  }
10551  }
10552  if (_v) {
10553  {
10554  _v = lua_isnumber(L,argv[1]);
10555  }
10556  if (_v) {
10558  }
10559  }
10560  }
10561  if (argc == 2) {
10562  int _v;
10563  {
10564  void *ptr;
10565  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10566  _v = 0;
10567  } else {
10568  _v = 1;
10569  }
10570  }
10571  if (_v) {
10572  {
10573  _v = SWIG_lua_isnilstring(L,argv[1]);
10574  }
10575  if (_v) {
10577  }
10578  }
10579  }
10580 
10581  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiData_set_value'\n"
10582  " Possible C/C++ prototypes are:\n"
10583  " uiDataNode_t::set_value(char const *)\n"
10584  " uiDataNode_t::set_value(int)\n");
10585  lua_error(L);return 0;
10586 }
10587 
10588 
10589 static int _wrap_uiData_set_valuef(lua_State* L) {
10590  int SWIG_arg = 0;
10591  uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10592  float arg2 ;
10593 
10594  SWIG_check_num_args("uiDataNode_t::set_valuef",2,2)
10595  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_valuef",1,"uiDataNode_t *");
10596  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_valuef",2,"float");
10597 
10598  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10599  SWIG_fail_ptr("uiData_set_valuef",1,SWIGTYPE_p_uiDataNode_t);
10600  }
10601 
10602  arg2 = (float)lua_tonumber(L, 2);
10603  uiDataNode_t_set_valuef(arg1,arg2);
10604 
10605  return SWIG_arg;
10606 
10607  if(0) SWIG_fail;
10608 
10609 fail:
10610  lua_error(L);
10611  return SWIG_arg;
10612 }
10613 
10614 
10615 static int _wrap_new_uiData(lua_State* L) {
10616  int SWIG_arg = 0;
10617  uiDataNode_t *result = 0 ;
10618 
10619  SWIG_check_num_args("uiDataNode_t::uiDataNode_t",0,0)
10620  result = (uiDataNode_t *)new uiDataNode_t();
10621  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,1); SWIG_arg++;
10622  return SWIG_arg;
10623 
10624  if(0) SWIG_fail;
10625 
10626 fail:
10627  lua_error(L);
10628  return SWIG_arg;
10629 }
10630 
10631 
10632 static void swig_delete_uiData(void *obj) {
10633 uiDataNode_t *arg1 = (uiDataNode_t *) obj;
10634 delete arg1;
10635 }
10636 static int _proxy__wrap_new_uiData(lua_State *L) {
10637  assert(lua_istable(L,1));
10638  lua_pushcfunction(L,_wrap_new_uiData);
10639  assert(!lua_isnil(L,-1));
10640  lua_replace(L,1); /* replace our table with real constructor */
10641  lua_call(L,lua_gettop(L)-1,1);
10642  return 1;
10643 }
10645  {0,0,0}
10646 };
10647 static swig_lua_method swig_uiData_methods[]= {
10648  { "as_string", _wrap_uiData_as_string},
10649  { "as_integer", _wrap_uiData_as_integer},
10650  { "as_float", _wrap_uiData_as_float},
10651  { "set_value", _wrap_uiData_set_value},
10652  { "set_valuef", _wrap_uiData_set_valuef},
10653  {0,0}
10654 };
10655 static swig_lua_method swig_uiData_meta[] = {
10656  {0,0}
10657 };
10658 
10660  {0,0,0}
10661 };
10662 static swig_lua_const_info swig_uiData_Sf_SwigStatic_constants[]= {
10663  {0,0,0,0,0,0}
10664 };
10665 static swig_lua_method swig_uiData_Sf_SwigStatic_methods[]= {
10666  {0,0}
10667 };
10669  0
10670 };
10671 
10673  "uiData",
10678  0
10679 };
10681 static const char *swig_uiData_base_names[] = {"uiNode_t *",0};
10683 
10684 static int _wrap_uiGeoscape_paddingright(lua_State* L) {
10685  int SWIG_arg = 0;
10686  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10687  int result;
10688 
10689  SWIG_check_num_args("uiGeoscapeNode_t::paddingright",1,1)
10690  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::paddingright",1,"uiGeoscapeNode_t *");
10691 
10692  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10693  SWIG_fail_ptr("uiGeoscape_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10694  }
10695 
10696  result = (int)uiGeoscapeNode_t_paddingright(arg1);
10697  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10698  return SWIG_arg;
10699 
10700  if(0) SWIG_fail;
10701 
10702 fail:
10703  lua_error(L);
10704  return SWIG_arg;
10705 }
10706 
10707 
10708 static int _wrap_uiGeoscape_set_paddingright(lua_State* L) {
10709  int SWIG_arg = 0;
10710  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10711  int arg2 ;
10712 
10713  SWIG_check_num_args("uiGeoscapeNode_t::set_paddingright",2,2)
10714  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",1,"uiGeoscapeNode_t *");
10715  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",2,"int");
10716 
10717  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10718  SWIG_fail_ptr("uiGeoscape_set_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10719  }
10720 
10721  arg2 = (int)lua_tonumber(L, 2);
10723 
10724  return SWIG_arg;
10725 
10726  if(0) SWIG_fail;
10727 
10728 fail:
10729  lua_error(L);
10730  return SWIG_arg;
10731 }
10732 
10733 
10734 static int _wrap_uiGeoscape_zoomin(lua_State* L) {
10735  int SWIG_arg = 0;
10736  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10737 
10738  SWIG_check_num_args("uiGeoscapeNode_t::zoomin",1,1)
10739  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomin",1,"uiGeoscapeNode_t *");
10740 
10741  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10742  SWIG_fail_ptr("uiGeoscape_zoomin",1,SWIGTYPE_p_uiGeoscapeNode_t);
10743  }
10744 
10746 
10747  return SWIG_arg;
10748 
10749  if(0) SWIG_fail;
10750 
10751 fail:
10752  lua_error(L);
10753  return SWIG_arg;
10754 }
10755 
10756 
10757 static int _wrap_uiGeoscape_zoomout(lua_State* L) {
10758  int SWIG_arg = 0;
10759  uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10760 
10761  SWIG_check_num_args("uiGeoscapeNode_t::zoomout",1,1)
10762  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomout",1,"uiGeoscapeNode_t *");
10763 
10764  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10765  SWIG_fail_ptr("uiGeoscape_zoomout",1,SWIGTYPE_p_uiGeoscapeNode_t);
10766  }
10767 
10769 
10770  return SWIG_arg;
10771 
10772  if(0) SWIG_fail;
10773 
10774 fail:
10775  lua_error(L);
10776  return SWIG_arg;
10777 }
10778 
10779 
10780 static int _wrap_new_uiGeoscape(lua_State* L) {
10781  int SWIG_arg = 0;
10782  uiGeoscapeNode_t *result = 0 ;
10783 
10784  SWIG_check_num_args("uiGeoscapeNode_t::uiGeoscapeNode_t",0,0)
10785  result = (uiGeoscapeNode_t *)new uiGeoscapeNode_t();
10786  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,1); SWIG_arg++;
10787  return SWIG_arg;
10788 
10789  if(0) SWIG_fail;
10790 
10791 fail:
10792  lua_error(L);
10793  return SWIG_arg;
10794 }
10795 
10796 
10797 static void swig_delete_uiGeoscape(void *obj) {
10798 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) obj;
10799 delete arg1;
10800 }
10801 static int _proxy__wrap_new_uiGeoscape(lua_State *L) {
10802  assert(lua_istable(L,1));
10803  lua_pushcfunction(L,_wrap_new_uiGeoscape);
10804  assert(!lua_isnil(L,-1));
10805  lua_replace(L,1); /* replace our table with real constructor */
10806  lua_call(L,lua_gettop(L)-1,1);
10807  return 1;
10808 }
10810  {0,0,0}
10811 };
10812 static swig_lua_method swig_uiGeoscape_methods[]= {
10813  { "paddingright", _wrap_uiGeoscape_paddingright},
10814  { "set_paddingright", _wrap_uiGeoscape_set_paddingright},
10815  { "zoomin", _wrap_uiGeoscape_zoomin},
10816  { "zoomout", _wrap_uiGeoscape_zoomout},
10817  {0,0}
10818 };
10819 static swig_lua_method swig_uiGeoscape_meta[] = {
10820  {0,0}
10821 };
10822 
10824  {0,0,0}
10825 };
10826 static swig_lua_const_info swig_uiGeoscape_Sf_SwigStatic_constants[]= {
10827  {0,0,0,0,0,0}
10828 };
10829 static swig_lua_method swig_uiGeoscape_Sf_SwigStatic_methods[]= {
10830  {0,0}
10831 };
10833  0
10834 };
10835 
10837  "uiGeoscape",
10842  0
10843 };
10845 static const char *swig_uiGeoscape_base_names[] = {"uiNode_t *",0};
10847 
10848 static int _wrap_uiImage_is_keepratio(lua_State* L) {
10849  int SWIG_arg = 0;
10850  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10851  bool result;
10852 
10853  SWIG_check_num_args("uiImageNode_t::is_keepratio",1,1)
10854  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_keepratio",1,"uiImageNode_t *");
10855 
10856  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10857  SWIG_fail_ptr("uiImage_is_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10858  }
10859 
10860  result = (bool)uiImageNode_t_is_keepratio(arg1);
10861  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10862  return SWIG_arg;
10863 
10864  if(0) SWIG_fail;
10865 
10866 fail:
10867  lua_error(L);
10868  return SWIG_arg;
10869 }
10870 
10871 
10872 static int _wrap_uiImage_is_mousefx(lua_State* L) {
10873  int SWIG_arg = 0;
10874  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10875  bool result;
10876 
10877  SWIG_check_num_args("uiImageNode_t::is_mousefx",1,1)
10878  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_mousefx",1,"uiImageNode_t *");
10879 
10880  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10881  SWIG_fail_ptr("uiImage_is_mousefx",1,SWIGTYPE_p_uiImageNode_t);
10882  }
10883 
10884  result = (bool)uiImageNode_t_is_mousefx(arg1);
10885  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10886  return SWIG_arg;
10887 
10888  if(0) SWIG_fail;
10889 
10890 fail:
10891  lua_error(L);
10892  return SWIG_arg;
10893 }
10894 
10895 
10896 static int _wrap_uiImage_texh(lua_State* L) {
10897  int SWIG_arg = 0;
10898  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10899  vec2_struct_t *result = 0 ;
10900 
10901  SWIG_check_num_args("uiImageNode_t::texh",1,1)
10902  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texh",1,"uiImageNode_t *");
10903 
10904  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10905  SWIG_fail_ptr("uiImage_texh",1,SWIGTYPE_p_uiImageNode_t);
10906  }
10907 
10908  result = (vec2_struct_t *)uiImageNode_t_texh(arg1);
10909  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10910  return SWIG_arg;
10911 
10912  if(0) SWIG_fail;
10913 
10914 fail:
10915  lua_error(L);
10916  return SWIG_arg;
10917 }
10918 
10919 
10920 static int _wrap_uiImage_texl(lua_State* L) {
10921  int SWIG_arg = 0;
10922  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10923  vec2_struct_t *result = 0 ;
10924 
10925  SWIG_check_num_args("uiImageNode_t::texl",1,1)
10926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texl",1,"uiImageNode_t *");
10927 
10928  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10929  SWIG_fail_ptr("uiImage_texl",1,SWIGTYPE_p_uiImageNode_t);
10930  }
10931 
10932  result = (vec2_struct_t *)uiImageNode_t_texl(arg1);
10933  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10934  return SWIG_arg;
10935 
10936  if(0) SWIG_fail;
10937 
10938 fail:
10939  lua_error(L);
10940  return SWIG_arg;
10941 }
10942 
10943 
10944 static int _wrap_uiImage_set_keepratio(lua_State* L) {
10945  int SWIG_arg = 0;
10946  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10947  bool arg2 ;
10948 
10949  SWIG_check_num_args("uiImageNode_t::set_keepratio",2,2)
10950  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_keepratio",1,"uiImageNode_t *");
10951  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_keepratio",2,"bool");
10952 
10953  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10954  SWIG_fail_ptr("uiImage_set_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10955  }
10956 
10957  arg2 = (lua_toboolean(L, 2)!=0);
10958  uiImageNode_t_set_keepratio(arg1,arg2);
10959 
10960  return SWIG_arg;
10961 
10962  if(0) SWIG_fail;
10963 
10964 fail:
10965  lua_error(L);
10966  return SWIG_arg;
10967 }
10968 
10969 
10970 static int _wrap_uiImage_set_mousefx(lua_State* L) {
10971  int SWIG_arg = 0;
10972  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10973  bool arg2 ;
10974 
10975  SWIG_check_num_args("uiImageNode_t::set_mousefx",2,2)
10976  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_mousefx",1,"uiImageNode_t *");
10977  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_mousefx",2,"bool");
10978 
10979  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10980  SWIG_fail_ptr("uiImage_set_mousefx",1,SWIGTYPE_p_uiImageNode_t);
10981  }
10982 
10983  arg2 = (lua_toboolean(L, 2)!=0);
10984  uiImageNode_t_set_mousefx(arg1,arg2);
10985 
10986  return SWIG_arg;
10987 
10988  if(0) SWIG_fail;
10989 
10990 fail:
10991  lua_error(L);
10992  return SWIG_arg;
10993 }
10994 
10995 
10996 static int _wrap_uiImage_set_source(lua_State* L) {
10997  int SWIG_arg = 0;
10998  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10999  char *arg2 = (char *) 0 ;
11000 
11001  SWIG_check_num_args("uiImageNode_t::set_source",2,2)
11002  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_source",1,"uiImageNode_t *");
11003  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiImageNode_t::set_source",2,"char const *");
11004 
11005  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11006  SWIG_fail_ptr("uiImage_set_source",1,SWIGTYPE_p_uiImageNode_t);
11007  }
11008 
11009  arg2 = (char *)lua_tostring(L, 2);
11010  uiImageNode_t_set_source(arg1,(char const *)arg2);
11011 
11012  return SWIG_arg;
11013 
11014  if(0) SWIG_fail;
11015 
11016 fail:
11017  lua_error(L);
11018  return SWIG_arg;
11019 }
11020 
11021 
11022 static int _wrap_uiImage_set_texh(lua_State* L) {
11023  int SWIG_arg = 0;
11024  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11025  float arg2 ;
11026  float arg3 ;
11027 
11028  SWIG_check_num_args("uiImageNode_t::set_texh",3,3)
11029  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texh",1,"uiImageNode_t *");
11030  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texh",2,"float");
11031  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texh",3,"float");
11032 
11033  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11034  SWIG_fail_ptr("uiImage_set_texh",1,SWIGTYPE_p_uiImageNode_t);
11035  }
11036 
11037  arg2 = (float)lua_tonumber(L, 2);
11038  arg3 = (float)lua_tonumber(L, 3);
11039  uiImageNode_t_set_texh(arg1,arg2,arg3);
11040 
11041  return SWIG_arg;
11042 
11043  if(0) SWIG_fail;
11044 
11045 fail:
11046  lua_error(L);
11047  return SWIG_arg;
11048 }
11049 
11050 
11051 static int _wrap_uiImage_set_texl(lua_State* L) {
11052  int SWIG_arg = 0;
11053  uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11054  float arg2 ;
11055  float arg3 ;
11056 
11057  SWIG_check_num_args("uiImageNode_t::set_texl",3,3)
11058  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texl",1,"uiImageNode_t *");
11059  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texl",2,"float");
11060  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texl",3,"float");
11061 
11062  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11063  SWIG_fail_ptr("uiImage_set_texl",1,SWIGTYPE_p_uiImageNode_t);
11064  }
11065 
11066  arg2 = (float)lua_tonumber(L, 2);
11067  arg3 = (float)lua_tonumber(L, 3);
11068  uiImageNode_t_set_texl(arg1,arg2,arg3);
11069 
11070  return SWIG_arg;
11071 
11072  if(0) SWIG_fail;
11073 
11074 fail:
11075  lua_error(L);
11076  return SWIG_arg;
11077 }
11078 
11079 
11080 static int _wrap_new_uiImage(lua_State* L) {
11081  int SWIG_arg = 0;
11082  uiImageNode_t *result = 0 ;
11083 
11084  SWIG_check_num_args("uiImageNode_t::uiImageNode_t",0,0)
11085  result = (uiImageNode_t *)new uiImageNode_t();
11086  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,1); SWIG_arg++;
11087  return SWIG_arg;
11088 
11089  if(0) SWIG_fail;
11090 
11091 fail:
11092  lua_error(L);
11093  return SWIG_arg;
11094 }
11095 
11096 
11097 static void swig_delete_uiImage(void *obj) {
11098 uiImageNode_t *arg1 = (uiImageNode_t *) obj;
11099 delete arg1;
11100 }
11101 static int _proxy__wrap_new_uiImage(lua_State *L) {
11102  assert(lua_istable(L,1));
11103  lua_pushcfunction(L,_wrap_new_uiImage);
11104  assert(!lua_isnil(L,-1));
11105  lua_replace(L,1); /* replace our table with real constructor */
11106  lua_call(L,lua_gettop(L)-1,1);
11107  return 1;
11108 }
11110  {0,0,0}
11111 };
11112 static swig_lua_method swig_uiImage_methods[]= {
11113  { "is_keepratio", _wrap_uiImage_is_keepratio},
11114  { "is_mousefx", _wrap_uiImage_is_mousefx},
11115  { "texh", _wrap_uiImage_texh},
11116  { "texl", _wrap_uiImage_texl},
11117  { "set_keepratio", _wrap_uiImage_set_keepratio},
11118  { "set_mousefx", _wrap_uiImage_set_mousefx},
11119  { "set_source", _wrap_uiImage_set_source},
11120  { "set_texh", _wrap_uiImage_set_texh},
11121  { "set_texl", _wrap_uiImage_set_texl},
11122  {0,0}
11123 };
11124 static swig_lua_method swig_uiImage_meta[] = {
11125  {0,0}
11126 };
11127 
11129  {0,0,0}
11130 };
11131 static swig_lua_const_info swig_uiImage_Sf_SwigStatic_constants[]= {
11132  {0,0,0,0,0,0}
11133 };
11134 static swig_lua_method swig_uiImage_Sf_SwigStatic_methods[]= {
11135  {0,0}
11136 };
11138  0
11139 };
11140 
11142  "uiImage",
11147  0
11148 };
11150 static const char *swig_uiImage_base_names[] = {"uiNode_t *",0};
11152 
11153 static int _wrap_uiLineChart_is_showaxes(lua_State* L) {
11154  int SWIG_arg = 0;
11155  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11156  bool result;
11157 
11158  SWIG_check_num_args("uiLineChartNode_t::is_showaxes",1,1)
11159  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::is_showaxes",1,"uiLineChartNode_t *");
11160 
11161  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11162  SWIG_fail_ptr("uiLineChart_is_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11163  }
11164 
11165  result = (bool)uiLineChartNode_t_is_showaxes(arg1);
11166  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11167  return SWIG_arg;
11168 
11169  if(0) SWIG_fail;
11170 
11171 fail:
11172  lua_error(L);
11173  return SWIG_arg;
11174 }
11175 
11176 
11177 static int _wrap_uiLineChart_set_showaxes(lua_State* L) {
11178  int SWIG_arg = 0;
11179  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11180  bool arg2 ;
11181 
11182  SWIG_check_num_args("uiLineChartNode_t::set_showaxes",2,2)
11183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",1,"uiLineChartNode_t *");
11184  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",2,"bool");
11185 
11186  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11187  SWIG_fail_ptr("uiLineChart_set_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11188  }
11189 
11190  arg2 = (lua_toboolean(L, 2)!=0);
11191  uiLineChartNode_t_set_showaxes(arg1,arg2);
11192 
11193  return SWIG_arg;
11194 
11195  if(0) SWIG_fail;
11196 
11197 fail:
11198  lua_error(L);
11199  return SWIG_arg;
11200 }
11201 
11202 
11203 static int _wrap_uiLineChart_set_axescolor(lua_State* L) {
11204  int SWIG_arg = 0;
11205  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11206  float arg2 ;
11207  float arg3 ;
11208  float arg4 ;
11209  float arg5 ;
11210 
11211  SWIG_check_num_args("uiLineChartNode_t::set_axescolor",5,5)
11212  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",1,"uiLineChartNode_t *");
11213  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",2,"float");
11214  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",3,"float");
11215  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",4,"float");
11216  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",5,"float");
11217 
11218  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11219  SWIG_fail_ptr("uiLineChart_set_axescolor",1,SWIGTYPE_p_uiLineChartNode_t);
11220  }
11221 
11222  arg2 = (float)lua_tonumber(L, 2);
11223  arg3 = (float)lua_tonumber(L, 3);
11224  arg4 = (float)lua_tonumber(L, 4);
11225  arg5 = (float)lua_tonumber(L, 5);
11226  uiLineChartNode_t_set_axescolor(arg1,arg2,arg3,arg4,arg5);
11227 
11228  return SWIG_arg;
11229 
11230  if(0) SWIG_fail;
11231 
11232 fail:
11233  lua_error(L);
11234  return SWIG_arg;
11235 }
11236 
11237 
11238 static int _wrap_uiLineChart_clear(lua_State* L) {
11239  int SWIG_arg = 0;
11240  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11241 
11242  SWIG_check_num_args("uiLineChartNode_t::clear",1,1)
11243  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::clear",1,"uiLineChartNode_t *");
11244 
11245  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11246  SWIG_fail_ptr("uiLineChart_clear",1,SWIGTYPE_p_uiLineChartNode_t);
11247  }
11248 
11250 
11251  return SWIG_arg;
11252 
11253  if(0) SWIG_fail;
11254 
11255 fail:
11256  lua_error(L);
11257  return SWIG_arg;
11258 }
11259 
11260 
11261 static int _wrap_uiLineChart_add_line(lua_State* L) {
11262  int SWIG_arg = 0;
11263  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11264  char *arg2 = (char *) 0 ;
11265  bool arg3 ;
11266  float arg4 ;
11267  float arg5 ;
11268  float arg6 ;
11269  float arg7 ;
11270  bool arg8 ;
11271  int arg9 ;
11272 
11273  SWIG_check_num_args("uiLineChartNode_t::add_line",9,9)
11274  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_line",1,"uiLineChartNode_t *");
11275  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_line",2,"char const *");
11276  if(!lua_isboolean(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_line",3,"bool");
11277  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_line",4,"float");
11278  if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::add_line",5,"float");
11279  if(!lua_isnumber(L,6)) SWIG_fail_arg("uiLineChartNode_t::add_line",6,"float");
11280  if(!lua_isnumber(L,7)) SWIG_fail_arg("uiLineChartNode_t::add_line",7,"float");
11281  if(!lua_isboolean(L,8)) SWIG_fail_arg("uiLineChartNode_t::add_line",8,"bool");
11282  if(!lua_isnumber(L,9)) SWIG_fail_arg("uiLineChartNode_t::add_line",9,"int");
11283 
11284  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11285  SWIG_fail_ptr("uiLineChart_add_line",1,SWIGTYPE_p_uiLineChartNode_t);
11286  }
11287 
11288  arg2 = (char *)lua_tostring(L, 2);
11289  arg3 = (lua_toboolean(L, 3)!=0);
11290  arg4 = (float)lua_tonumber(L, 4);
11291  arg5 = (float)lua_tonumber(L, 5);
11292  arg6 = (float)lua_tonumber(L, 6);
11293  arg7 = (float)lua_tonumber(L, 7);
11294  arg8 = (lua_toboolean(L, 8)!=0);
11295  arg9 = (int)lua_tonumber(L, 9);
11296  uiLineChartNode_t_add_line(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
11297 
11298  return SWIG_arg;
11299 
11300  if(0) SWIG_fail;
11301 
11302 fail:
11303  lua_error(L);
11304  return SWIG_arg;
11305 }
11306 
11307 
11308 static int _wrap_uiLineChart_add_point(lua_State* L) {
11309  int SWIG_arg = 0;
11310  uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11311  char *arg2 = (char *) 0 ;
11312  int arg3 ;
11313  int arg4 ;
11314 
11315  SWIG_check_num_args("uiLineChartNode_t::add_point",4,4)
11316  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_point",1,"uiLineChartNode_t *");
11317  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_point",2,"char const *");
11318  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_point",3,"int");
11319  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_point",4,"int");
11320 
11321  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11322  SWIG_fail_ptr("uiLineChart_add_point",1,SWIGTYPE_p_uiLineChartNode_t);
11323  }
11324 
11325  arg2 = (char *)lua_tostring(L, 2);
11326  arg3 = (int)lua_tonumber(L, 3);
11327  arg4 = (int)lua_tonumber(L, 4);
11328  uiLineChartNode_t_add_point(arg1,(char const *)arg2,arg3,arg4);
11329 
11330  return SWIG_arg;
11331 
11332  if(0) SWIG_fail;
11333 
11334 fail:
11335  lua_error(L);
11336  return SWIG_arg;
11337 }
11338 
11339 
11340 static int _wrap_new_uiLineChart(lua_State* L) {
11341  int SWIG_arg = 0;
11342  uiLineChartNode_t *result = 0 ;
11343 
11344  SWIG_check_num_args("uiLineChartNode_t::uiLineChartNode_t",0,0)
11345  result = (uiLineChartNode_t *)new uiLineChartNode_t();
11346  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,1); SWIG_arg++;
11347  return SWIG_arg;
11348 
11349  if(0) SWIG_fail;
11350 
11351 fail:
11352  lua_error(L);
11353  return SWIG_arg;
11354 }
11355 
11356 
11357 static void swig_delete_uiLineChart(void *obj) {
11358 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) obj;
11359 delete arg1;
11360 }
11361 static int _proxy__wrap_new_uiLineChart(lua_State *L) {
11362  assert(lua_istable(L,1));
11363  lua_pushcfunction(L,_wrap_new_uiLineChart);
11364  assert(!lua_isnil(L,-1));
11365  lua_replace(L,1); /* replace our table with real constructor */
11366  lua_call(L,lua_gettop(L)-1,1);
11367  return 1;
11368 }
11370  {0,0,0}
11371 };
11372 static swig_lua_method swig_uiLineChart_methods[]= {
11373  { "is_showaxes", _wrap_uiLineChart_is_showaxes},
11374  { "set_showaxes", _wrap_uiLineChart_set_showaxes},
11375  { "set_axescolor", _wrap_uiLineChart_set_axescolor},
11376  { "clear", _wrap_uiLineChart_clear},
11377  { "add_line", _wrap_uiLineChart_add_line},
11378  { "add_point", _wrap_uiLineChart_add_point},
11379  {0,0}
11380 };
11381 static swig_lua_method swig_uiLineChart_meta[] = {
11382  {0,0}
11383 };
11384 
11386  {0,0,0}
11387 };
11388 static swig_lua_const_info swig_uiLineChart_Sf_SwigStatic_constants[]= {
11389  {0,0,0,0,0,0}
11390 };
11391 static swig_lua_method swig_uiLineChart_Sf_SwigStatic_methods[]= {
11392  {0,0}
11393 };
11395  0
11396 };
11397 
11399  "uiLineChart",
11404  0
11405 };
11407 static const char *swig_uiLineChart_base_names[] = {"uiNode_t *",0};
11409 
11410 static int _wrap_new_uiMessageList(lua_State* L) {
11411  int SWIG_arg = 0;
11412  uiMessageListNode_t *result = 0 ;
11413 
11414  SWIG_check_num_args("uiMessageListNode_t::uiMessageListNode_t",0,0)
11415  result = (uiMessageListNode_t *)new uiMessageListNode_t();
11416  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,1); SWIG_arg++;
11417  return SWIG_arg;
11418 
11419  if(0) SWIG_fail;
11420 
11421 fail:
11422  lua_error(L);
11423  return SWIG_arg;
11424 }
11425 
11426 
11427 static void swig_delete_uiMessageList(void *obj) {
11428 uiMessageListNode_t *arg1 = (uiMessageListNode_t *) obj;
11429 delete arg1;
11430 }
11431 static int _proxy__wrap_new_uiMessageList(lua_State *L) {
11432  assert(lua_istable(L,1));
11433  lua_pushcfunction(L,_wrap_new_uiMessageList);
11434  assert(!lua_isnil(L,-1));
11435  lua_replace(L,1); /* replace our table with real constructor */
11436  lua_call(L,lua_gettop(L)-1,1);
11437  return 1;
11438 }
11440  {0,0,0}
11441 };
11442 static swig_lua_method swig_uiMessageList_methods[]= {
11443  {0,0}
11444 };
11445 static swig_lua_method swig_uiMessageList_meta[] = {
11446  {0,0}
11447 };
11448 
11450  {0,0,0}
11451 };
11452 static swig_lua_const_info swig_uiMessageList_Sf_SwigStatic_constants[]= {
11453  {0,0,0,0,0,0}
11454 };
11455 static swig_lua_method swig_uiMessageList_Sf_SwigStatic_methods[]= {
11456  {0,0}
11457 };
11459  0
11460 };
11461 
11463  "uiMessageList",
11468  0
11469 };
11471 static const char *swig_uiMessageList_base_names[] = {"uiAbstractScrollableNode_t *",0};
11473 
11474 static int _wrap_uiModel_is_autoscale(lua_State* L) {
11475  int SWIG_arg = 0;
11476  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11477  bool result;
11478 
11479  SWIG_check_num_args("uiModelNode_t::is_autoscale",1,1)
11480  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_autoscale",1,"uiModelNode_t *");
11481 
11482  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11483  SWIG_fail_ptr("uiModel_is_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11484  }
11485 
11486  result = (bool)uiModelNode_t_is_autoscale(arg1);
11487  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11488  return SWIG_arg;
11489 
11490  if(0) SWIG_fail;
11491 
11492 fail:
11493  lua_error(L);
11494  return SWIG_arg;
11495 }
11496 
11497 
11498 static int _wrap_uiModel_is_mouserotate(lua_State* L) {
11499  int SWIG_arg = 0;
11500  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11501  bool result;
11502 
11503  SWIG_check_num_args("uiModelNode_t::is_mouserotate",1,1)
11504  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_mouserotate",1,"uiModelNode_t *");
11505 
11506  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11507  SWIG_fail_ptr("uiModel_is_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11508  }
11509 
11510  result = (bool)uiModelNode_t_is_mouserotate(arg1);
11511  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11512  return SWIG_arg;
11513 
11514  if(0) SWIG_fail;
11515 
11516 fail:
11517  lua_error(L);
11518  return SWIG_arg;
11519 }
11520 
11521 
11522 static int _wrap_uiModel_angles(lua_State* L) {
11523  int SWIG_arg = 0;
11524  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11525  vec3_struct_t *result = 0 ;
11526 
11527  SWIG_check_num_args("uiModelNode_t::angles",1,1)
11528  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::angles",1,"uiModelNode_t *");
11529 
11530  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11531  SWIG_fail_ptr("uiModel_angles",1,SWIGTYPE_p_uiModelNode_t);
11532  }
11533 
11534  result = (vec3_struct_t *)uiModelNode_t_angles(arg1);
11535  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11536  return SWIG_arg;
11537 
11538  if(0) SWIG_fail;
11539 
11540 fail:
11541  lua_error(L);
11542  return SWIG_arg;
11543 }
11544 
11545 
11546 static int _wrap_uiModel_origin(lua_State* L) {
11547  int SWIG_arg = 0;
11548  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11549  vec3_struct_t *result = 0 ;
11550 
11551  SWIG_check_num_args("uiModelNode_t::origin",1,1)
11552  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::origin",1,"uiModelNode_t *");
11553 
11554  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11555  SWIG_fail_ptr("uiModel_origin",1,SWIGTYPE_p_uiModelNode_t);
11556  }
11557 
11558  result = (vec3_struct_t *)uiModelNode_t_origin(arg1);
11559  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11560  return SWIG_arg;
11561 
11562  if(0) SWIG_fail;
11563 
11564 fail:
11565  lua_error(L);
11566  return SWIG_arg;
11567 }
11568 
11569 
11570 static int _wrap_uiModel_omega(lua_State* L) {
11571  int SWIG_arg = 0;
11572  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11573  vec3_struct_t *result = 0 ;
11574 
11575  SWIG_check_num_args("uiModelNode_t::omega",1,1)
11576  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::omega",1,"uiModelNode_t *");
11577 
11578  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11579  SWIG_fail_ptr("uiModel_omega",1,SWIGTYPE_p_uiModelNode_t);
11580  }
11581 
11582  result = (vec3_struct_t *)uiModelNode_t_omega(arg1);
11583  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11584  return SWIG_arg;
11585 
11586  if(0) SWIG_fail;
11587 
11588 fail:
11589  lua_error(L);
11590  return SWIG_arg;
11591 }
11592 
11593 
11594 static int _wrap_uiModel_scale(lua_State* L) {
11595  int SWIG_arg = 0;
11596  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11597  vec3_struct_t *result = 0 ;
11598 
11599  SWIG_check_num_args("uiModelNode_t::scale",1,1)
11600  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::scale",1,"uiModelNode_t *");
11601 
11602  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11603  SWIG_fail_ptr("uiModel_scale",1,SWIGTYPE_p_uiModelNode_t);
11604  }
11605 
11606  result = (vec3_struct_t *)uiModelNode_t_scale(arg1);
11607  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11608  return SWIG_arg;
11609 
11610  if(0) SWIG_fail;
11611 
11612 fail:
11613  lua_error(L);
11614  return SWIG_arg;
11615 }
11616 
11617 
11618 static int _wrap_uiModel_model(lua_State* L) {
11619  int SWIG_arg = 0;
11620  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11621  char *result = 0 ;
11622 
11623  SWIG_check_num_args("uiModelNode_t::model",1,1)
11624  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::model",1,"uiModelNode_t *");
11625 
11626  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11627  SWIG_fail_ptr("uiModel_model",1,SWIGTYPE_p_uiModelNode_t);
11628  }
11629 
11630  result = (char *)uiModelNode_t_model(arg1);
11631  lua_pushstring(L,(const char *)result); SWIG_arg++;
11632  return SWIG_arg;
11633 
11634  if(0) SWIG_fail;
11635 
11636 fail:
11637  lua_error(L);
11638  return SWIG_arg;
11639 }
11640 
11641 
11642 static int _wrap_uiModel_skin(lua_State* L) {
11643  int SWIG_arg = 0;
11644  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11645  char *result = 0 ;
11646 
11647  SWIG_check_num_args("uiModelNode_t::skin",1,1)
11648  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::skin",1,"uiModelNode_t *");
11649 
11650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11651  SWIG_fail_ptr("uiModel_skin",1,SWIGTYPE_p_uiModelNode_t);
11652  }
11653 
11654  result = (char *)uiModelNode_t_skin(arg1);
11655  lua_pushstring(L,(const char *)result); SWIG_arg++;
11656  return SWIG_arg;
11657 
11658  if(0) SWIG_fail;
11659 
11660 fail:
11661  lua_error(L);
11662  return SWIG_arg;
11663 }
11664 
11665 
11666 static int _wrap_uiModel_animation(lua_State* L) {
11667  int SWIG_arg = 0;
11668  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11669  char *result = 0 ;
11670 
11671  SWIG_check_num_args("uiModelNode_t::animation",1,1)
11672  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::animation",1,"uiModelNode_t *");
11673 
11674  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11675  SWIG_fail_ptr("uiModel_animation",1,SWIGTYPE_p_uiModelNode_t);
11676  }
11677 
11678  result = (char *)uiModelNode_t_animation(arg1);
11679  lua_pushstring(L,(const char *)result); SWIG_arg++;
11680  return SWIG_arg;
11681 
11682  if(0) SWIG_fail;
11683 
11684 fail:
11685  lua_error(L);
11686  return SWIG_arg;
11687 }
11688 
11689 
11690 static int _wrap_uiModel_tag(lua_State* L) {
11691  int SWIG_arg = 0;
11692  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11693  char *result = 0 ;
11694 
11695  SWIG_check_num_args("uiModelNode_t::tag",1,1)
11696  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::tag",1,"uiModelNode_t *");
11697 
11698  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11699  SWIG_fail_ptr("uiModel_tag",1,SWIGTYPE_p_uiModelNode_t);
11700  }
11701 
11702  result = (char *)uiModelNode_t_tag(arg1);
11703  lua_pushstring(L,(const char *)result); SWIG_arg++;
11704  return SWIG_arg;
11705 
11706  if(0) SWIG_fail;
11707 
11708 fail:
11709  lua_error(L);
11710  return SWIG_arg;
11711 }
11712 
11713 
11714 static int _wrap_uiModel_set_autoscale(lua_State* L) {
11715  int SWIG_arg = 0;
11716  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11717  bool arg2 ;
11718 
11719  SWIG_check_num_args("uiModelNode_t::set_autoscale",2,2)
11720  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_autoscale",1,"uiModelNode_t *");
11721  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_autoscale",2,"bool");
11722 
11723  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11724  SWIG_fail_ptr("uiModel_set_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11725  }
11726 
11727  arg2 = (lua_toboolean(L, 2)!=0);
11728  uiModelNode_t_set_autoscale(arg1,arg2);
11729 
11730  return SWIG_arg;
11731 
11732  if(0) SWIG_fail;
11733 
11734 fail:
11735  lua_error(L);
11736  return SWIG_arg;
11737 }
11738 
11739 
11740 static int _wrap_uiModel_set_mouserotate(lua_State* L) {
11741  int SWIG_arg = 0;
11742  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11743  bool arg2 ;
11744 
11745  SWIG_check_num_args("uiModelNode_t::set_mouserotate",2,2)
11746  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",1,"uiModelNode_t *");
11747  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",2,"bool");
11748 
11749  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11750  SWIG_fail_ptr("uiModel_set_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11751  }
11752 
11753  arg2 = (lua_toboolean(L, 2)!=0);
11754  uiModelNode_t_set_mouserotate(arg1,arg2);
11755 
11756  return SWIG_arg;
11757 
11758  if(0) SWIG_fail;
11759 
11760 fail:
11761  lua_error(L);
11762  return SWIG_arg;
11763 }
11764 
11765 
11766 static int _wrap_uiModel_set_angles(lua_State* L) {
11767  int SWIG_arg = 0;
11768  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11769  float arg2 ;
11770  float arg3 ;
11771  float arg4 ;
11772 
11773  SWIG_check_num_args("uiModelNode_t::set_angles",4,4)
11774  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_angles",1,"uiModelNode_t *");
11775  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_angles",2,"float");
11776  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_angles",3,"float");
11777  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_angles",4,"float");
11778 
11779  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11780  SWIG_fail_ptr("uiModel_set_angles",1,SWIGTYPE_p_uiModelNode_t);
11781  }
11782 
11783  arg2 = (float)lua_tonumber(L, 2);
11784  arg3 = (float)lua_tonumber(L, 3);
11785  arg4 = (float)lua_tonumber(L, 4);
11786  uiModelNode_t_set_angles(arg1,arg2,arg3,arg4);
11787 
11788  return SWIG_arg;
11789 
11790  if(0) SWIG_fail;
11791 
11792 fail:
11793  lua_error(L);
11794  return SWIG_arg;
11795 }
11796 
11797 
11798 static int _wrap_uiModel_set_origin(lua_State* L) {
11799  int SWIG_arg = 0;
11800  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11801  float arg2 ;
11802  float arg3 ;
11803  float arg4 ;
11804 
11805  SWIG_check_num_args("uiModelNode_t::set_origin",4,4)
11806  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_origin",1,"uiModelNode_t *");
11807  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_origin",2,"float");
11808  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_origin",3,"float");
11809  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_origin",4,"float");
11810 
11811  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11812  SWIG_fail_ptr("uiModel_set_origin",1,SWIGTYPE_p_uiModelNode_t);
11813  }
11814 
11815  arg2 = (float)lua_tonumber(L, 2);
11816  arg3 = (float)lua_tonumber(L, 3);
11817  arg4 = (float)lua_tonumber(L, 4);
11818  uiModelNode_t_set_origin(arg1,arg2,arg3,arg4);
11819 
11820  return SWIG_arg;
11821 
11822  if(0) SWIG_fail;
11823 
11824 fail:
11825  lua_error(L);
11826  return SWIG_arg;
11827 }
11828 
11829 
11830 static int _wrap_uiModel_set_omega(lua_State* L) {
11831  int SWIG_arg = 0;
11832  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11833  float arg2 ;
11834  float arg3 ;
11835  float arg4 ;
11836 
11837  SWIG_check_num_args("uiModelNode_t::set_omega",4,4)
11838  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_omega",1,"uiModelNode_t *");
11839  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_omega",2,"float");
11840  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_omega",3,"float");
11841  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_omega",4,"float");
11842 
11843  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11844  SWIG_fail_ptr("uiModel_set_omega",1,SWIGTYPE_p_uiModelNode_t);
11845  }
11846 
11847  arg2 = (float)lua_tonumber(L, 2);
11848  arg3 = (float)lua_tonumber(L, 3);
11849  arg4 = (float)lua_tonumber(L, 4);
11850  uiModelNode_t_set_omega(arg1,arg2,arg3,arg4);
11851 
11852  return SWIG_arg;
11853 
11854  if(0) SWIG_fail;
11855 
11856 fail:
11857  lua_error(L);
11858  return SWIG_arg;
11859 }
11860 
11861 
11862 static int _wrap_uiModel_set_scale(lua_State* L) {
11863  int SWIG_arg = 0;
11864  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11865  float arg2 ;
11866  float arg3 ;
11867  float arg4 ;
11868 
11869  SWIG_check_num_args("uiModelNode_t::set_scale",4,4)
11870  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_scale",1,"uiModelNode_t *");
11871  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_scale",2,"float");
11872  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_scale",3,"float");
11873  if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_scale",4,"float");
11874 
11875  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11876  SWIG_fail_ptr("uiModel_set_scale",1,SWIGTYPE_p_uiModelNode_t);
11877  }
11878 
11879  arg2 = (float)lua_tonumber(L, 2);
11880  arg3 = (float)lua_tonumber(L, 3);
11881  arg4 = (float)lua_tonumber(L, 4);
11882  uiModelNode_t_set_scale(arg1,arg2,arg3,arg4);
11883 
11884  return SWIG_arg;
11885 
11886  if(0) SWIG_fail;
11887 
11888 fail:
11889  lua_error(L);
11890  return SWIG_arg;
11891 }
11892 
11893 
11894 static int _wrap_uiModel_set_model(lua_State* L) {
11895  int SWIG_arg = 0;
11896  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11897  char *arg2 = (char *) 0 ;
11898 
11899  SWIG_check_num_args("uiModelNode_t::set_model",2,2)
11900  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_model",1,"uiModelNode_t *");
11901  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_model",2,"char const *");
11902 
11903  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11904  SWIG_fail_ptr("uiModel_set_model",1,SWIGTYPE_p_uiModelNode_t);
11905  }
11906 
11907  arg2 = (char *)lua_tostring(L, 2);
11908  uiModelNode_t_set_model(arg1,(char const *)arg2);
11909 
11910  return SWIG_arg;
11911 
11912  if(0) SWIG_fail;
11913 
11914 fail:
11915  lua_error(L);
11916  return SWIG_arg;
11917 }
11918 
11919 
11920 static int _wrap_uiModel_set_skin(lua_State* L) {
11921  int SWIG_arg = 0;
11922  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11923  char *arg2 = (char *) 0 ;
11924 
11925  SWIG_check_num_args("uiModelNode_t::set_skin",2,2)
11926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_skin",1,"uiModelNode_t *");
11927  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_skin",2,"char const *");
11928 
11929  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11930  SWIG_fail_ptr("uiModel_set_skin",1,SWIGTYPE_p_uiModelNode_t);
11931  }
11932 
11933  arg2 = (char *)lua_tostring(L, 2);
11934  uiModelNode_t_set_skin(arg1,(char const *)arg2);
11935 
11936  return SWIG_arg;
11937 
11938  if(0) SWIG_fail;
11939 
11940 fail:
11941  lua_error(L);
11942  return SWIG_arg;
11943 }
11944 
11945 
11946 static int _wrap_uiModel_set_animation(lua_State* L) {
11947  int SWIG_arg = 0;
11948  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11949  char *arg2 = (char *) 0 ;
11950 
11951  SWIG_check_num_args("uiModelNode_t::set_animation",2,2)
11952  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_animation",1,"uiModelNode_t *");
11953  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_animation",2,"char const *");
11954 
11955  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11956  SWIG_fail_ptr("uiModel_set_animation",1,SWIGTYPE_p_uiModelNode_t);
11957  }
11958 
11959  arg2 = (char *)lua_tostring(L, 2);
11960  uiModelNode_t_set_animation(arg1,(char const *)arg2);
11961 
11962  return SWIG_arg;
11963 
11964  if(0) SWIG_fail;
11965 
11966 fail:
11967  lua_error(L);
11968  return SWIG_arg;
11969 }
11970 
11971 
11972 static int _wrap_uiModel_set_tag(lua_State* L) {
11973  int SWIG_arg = 0;
11974  uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11975  char *arg2 = (char *) 0 ;
11976 
11977  SWIG_check_num_args("uiModelNode_t::set_tag",2,2)
11978  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_tag",1,"uiModelNode_t *");
11979  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_tag",2,"char const *");
11980 
11981  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11982  SWIG_fail_ptr("uiModel_set_tag",1,SWIGTYPE_p_uiModelNode_t);
11983  }
11984 
11985  arg2 = (char *)lua_tostring(L, 2);
11986  uiModelNode_t_set_tag(arg1,(char const *)arg2);
11987 
11988  return SWIG_arg;
11989 
11990  if(0) SWIG_fail;
11991 
11992 fail:
11993  lua_error(L);
11994  return SWIG_arg;
11995 }
11996 
11997 
11998 static int _wrap_new_uiModel(lua_State* L) {
11999  int SWIG_arg = 0;
12000  uiModelNode_t *result = 0 ;
12001 
12002  SWIG_check_num_args("uiModelNode_t::uiModelNode_t",0,0)
12003  result = (uiModelNode_t *)new uiModelNode_t();
12004  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,1); SWIG_arg++;
12005  return SWIG_arg;
12006 
12007  if(0) SWIG_fail;
12008 
12009 fail:
12010  lua_error(L);
12011  return SWIG_arg;
12012 }
12013 
12014 
12015 static void swig_delete_uiModel(void *obj) {
12016 uiModelNode_t *arg1 = (uiModelNode_t *) obj;
12017 delete arg1;
12018 }
12019 static int _proxy__wrap_new_uiModel(lua_State *L) {
12020  assert(lua_istable(L,1));
12021  lua_pushcfunction(L,_wrap_new_uiModel);
12022  assert(!lua_isnil(L,-1));
12023  lua_replace(L,1); /* replace our table with real constructor */
12024  lua_call(L,lua_gettop(L)-1,1);
12025  return 1;
12026 }
12028  {0,0,0}
12029 };
12030 static swig_lua_method swig_uiModel_methods[]= {
12031  { "is_autoscale", _wrap_uiModel_is_autoscale},
12032  { "is_mouserotate", _wrap_uiModel_is_mouserotate},
12033  { "angles", _wrap_uiModel_angles},
12034  { "origin", _wrap_uiModel_origin},
12035  { "omega", _wrap_uiModel_omega},
12036  { "scale", _wrap_uiModel_scale},
12037  { "model", _wrap_uiModel_model},
12038  { "skin", _wrap_uiModel_skin},
12039  { "animation", _wrap_uiModel_animation},
12040  { "tag", _wrap_uiModel_tag},
12041  { "set_autoscale", _wrap_uiModel_set_autoscale},
12042  { "set_mouserotate", _wrap_uiModel_set_mouserotate},
12043  { "set_angles", _wrap_uiModel_set_angles},
12044  { "set_origin", _wrap_uiModel_set_origin},
12045  { "set_omega", _wrap_uiModel_set_omega},
12046  { "set_scale", _wrap_uiModel_set_scale},
12047  { "set_model", _wrap_uiModel_set_model},
12048  { "set_skin", _wrap_uiModel_set_skin},
12049  { "set_animation", _wrap_uiModel_set_animation},
12050  { "set_tag", _wrap_uiModel_set_tag},
12051  {0,0}
12052 };
12053 static swig_lua_method swig_uiModel_meta[] = {
12054  {0,0}
12055 };
12056 
12058  {0,0,0}
12059 };
12060 static swig_lua_const_info swig_uiModel_Sf_SwigStatic_constants[]= {
12061  {0,0,0,0,0,0}
12062 };
12063 static swig_lua_method swig_uiModel_Sf_SwigStatic_methods[]= {
12064  {0,0}
12065 };
12067  0
12068 };
12069 
12071  "uiModel",
12076  0
12077 };
12079 static const char *swig_uiModel_base_names[] = {"uiNode_t *",0};
12081 
12082 static int _wrap_uiItem_is_containerlike(lua_State* L) {
12083  int SWIG_arg = 0;
12084  uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12085  bool result;
12086 
12087  SWIG_check_num_args("uiItemNode_t::is_containerlike",1,1)
12088  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::is_containerlike",1,"uiItemNode_t *");
12089 
12090  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12091  SWIG_fail_ptr("uiItem_is_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12092  }
12093 
12094  result = (bool)uiItemNode_t_is_containerlike(arg1);
12095  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12096  return SWIG_arg;
12097 
12098  if(0) SWIG_fail;
12099 
12100 fail:
12101  lua_error(L);
12102  return SWIG_arg;
12103 }
12104 
12105 
12106 static int _wrap_uiItem_set_containerlike(lua_State* L) {
12107  int SWIG_arg = 0;
12108  uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12109  bool arg2 ;
12110 
12111  SWIG_check_num_args("uiItemNode_t::set_containerlike",2,2)
12112  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::set_containerlike",1,"uiItemNode_t *");
12113  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiItemNode_t::set_containerlike",2,"bool");
12114 
12115  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12116  SWIG_fail_ptr("uiItem_set_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12117  }
12118 
12119  arg2 = (lua_toboolean(L, 2)!=0);
12120  uiItemNode_t_set_containerlike(arg1,arg2);
12121 
12122  return SWIG_arg;
12123 
12124  if(0) SWIG_fail;
12125 
12126 fail:
12127  lua_error(L);
12128  return SWIG_arg;
12129 }
12130 
12131 
12132 static int _wrap_new_uiItem(lua_State* L) {
12133  int SWIG_arg = 0;
12134  uiItemNode_t *result = 0 ;
12135 
12136  SWIG_check_num_args("uiItemNode_t::uiItemNode_t",0,0)
12137  result = (uiItemNode_t *)new uiItemNode_t();
12138  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,1); SWIG_arg++;
12139  return SWIG_arg;
12140 
12141  if(0) SWIG_fail;
12142 
12143 fail:
12144  lua_error(L);
12145  return SWIG_arg;
12146 }
12147 
12148 
12149 static void swig_delete_uiItem(void *obj) {
12150 uiItemNode_t *arg1 = (uiItemNode_t *) obj;
12151 delete arg1;
12152 }
12153 static int _proxy__wrap_new_uiItem(lua_State *L) {
12154  assert(lua_istable(L,1));
12155  lua_pushcfunction(L,_wrap_new_uiItem);
12156  assert(!lua_isnil(L,-1));
12157  lua_replace(L,1); /* replace our table with real constructor */
12158  lua_call(L,lua_gettop(L)-1,1);
12159  return 1;
12160 }
12162  {0,0,0}
12163 };
12164 static swig_lua_method swig_uiItem_methods[]= {
12165  { "is_containerlike", _wrap_uiItem_is_containerlike},
12166  { "set_containerlike", _wrap_uiItem_set_containerlike},
12167  {0,0}
12168 };
12169 static swig_lua_method swig_uiItem_meta[] = {
12170  {0,0}
12171 };
12172 
12174  {0,0,0}
12175 };
12176 static swig_lua_const_info swig_uiItem_Sf_SwigStatic_constants[]= {
12177  {0,0,0,0,0,0}
12178 };
12179 static swig_lua_method swig_uiItem_Sf_SwigStatic_methods[]= {
12180  {0,0}
12181 };
12183  0
12184 };
12185 
12187  "uiItem",
12192  0
12193 };
12195 static const char *swig_uiItem_base_names[] = {"uiModelNode_t *",0};
12197 
12198 static int _wrap_uiOption_is_collapsed(lua_State* L) {
12199  int SWIG_arg = 0;
12200  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12201  bool result;
12202 
12203  SWIG_check_num_args("uiOptionNode_t::is_collapsed",1,1)
12204  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_collapsed",1,"uiOptionNode_t *");
12205 
12206  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12207  SWIG_fail_ptr("uiOption_is_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12208  }
12209 
12210  result = (bool)uiOptionNode_t_is_collapsed(arg1);
12211  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12212  return SWIG_arg;
12213 
12214  if(0) SWIG_fail;
12215 
12216 fail:
12217  lua_error(L);
12218  return SWIG_arg;
12219 }
12220 
12221 
12222 static int _wrap_uiOption_is_flipicion(lua_State* L) {
12223  int SWIG_arg = 0;
12224  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12225  bool result;
12226 
12227  SWIG_check_num_args("uiOptionNode_t::is_flipicion",1,1)
12228  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_flipicion",1,"uiOptionNode_t *");
12229 
12230  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12231  SWIG_fail_ptr("uiOption_is_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12232  }
12233 
12234  result = (bool)uiOptionNode_t_is_flipicion(arg1);
12235  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12236  return SWIG_arg;
12237 
12238  if(0) SWIG_fail;
12239 
12240 fail:
12241  lua_error(L);
12242  return SWIG_arg;
12243 }
12244 
12245 
12246 static int _wrap_uiOption_is_truncated(lua_State* L) {
12247  int SWIG_arg = 0;
12248  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12249  bool result;
12250 
12251  SWIG_check_num_args("uiOptionNode_t::is_truncated",1,1)
12252  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_truncated",1,"uiOptionNode_t *");
12253 
12254  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12255  SWIG_fail_ptr("uiOption_is_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12256  }
12257 
12258  result = (bool)uiOptionNode_t_is_truncated(arg1);
12259  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12260  return SWIG_arg;
12261 
12262  if(0) SWIG_fail;
12263 
12264 fail:
12265  lua_error(L);
12266  return SWIG_arg;
12267 }
12268 
12269 
12270 static int _wrap_uiOption_label(lua_State* L) {
12271  int SWIG_arg = 0;
12272  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12273  char *result = 0 ;
12274 
12275  SWIG_check_num_args("uiOptionNode_t::label",1,1)
12276  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::label",1,"uiOptionNode_t *");
12277 
12278  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12279  SWIG_fail_ptr("uiOption_label",1,SWIGTYPE_p_uiOptionNode_t);
12280  }
12281 
12282  result = (char *)uiOptionNode_t_label(arg1);
12283  lua_pushstring(L,(const char *)result); SWIG_arg++;
12284  return SWIG_arg;
12285 
12286  if(0) SWIG_fail;
12287 
12288 fail:
12289  lua_error(L);
12290  return SWIG_arg;
12291 }
12292 
12293 
12294 static int _wrap_uiOption_value(lua_State* L) {
12295  int SWIG_arg = 0;
12296  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12297  char *result = 0 ;
12298 
12299  SWIG_check_num_args("uiOptionNode_t::value",1,1)
12300  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::value",1,"uiOptionNode_t *");
12301 
12302  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12303  SWIG_fail_ptr("uiOption_value",1,SWIGTYPE_p_uiOptionNode_t);
12304  }
12305 
12306  result = (char *)uiOptionNode_t_value(arg1);
12307  lua_pushstring(L,(const char *)result); SWIG_arg++;
12308  return SWIG_arg;
12309 
12310  if(0) SWIG_fail;
12311 
12312 fail:
12313  lua_error(L);
12314  return SWIG_arg;
12315 }
12316 
12317 
12318 static int _wrap_uiOption_count(lua_State* L) {
12319  int SWIG_arg = 0;
12320  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12321  int result;
12322 
12323  SWIG_check_num_args("uiOptionNode_t::count",1,1)
12324  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::count",1,"uiOptionNode_t *");
12325 
12326  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12327  SWIG_fail_ptr("uiOption_count",1,SWIGTYPE_p_uiOptionNode_t);
12328  }
12329 
12330  result = (int)uiOptionNode_t_count(arg1);
12331  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12332  return SWIG_arg;
12333 
12334  if(0) SWIG_fail;
12335 
12336 fail:
12337  lua_error(L);
12338  return SWIG_arg;
12339 }
12340 
12341 
12342 static int _wrap_uiOption_set_label(lua_State* L) {
12343  int SWIG_arg = 0;
12344  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12345  char *arg2 = (char *) 0 ;
12346 
12347  SWIG_check_num_args("uiOptionNode_t::set_label",2,2)
12348  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_label",1,"uiOptionNode_t *");
12349  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_label",2,"char const *");
12350 
12351  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12352  SWIG_fail_ptr("uiOption_set_label",1,SWIGTYPE_p_uiOptionNode_t);
12353  }
12354 
12355  arg2 = (char *)lua_tostring(L, 2);
12356  uiOptionNode_t_set_label(arg1,(char const *)arg2);
12357 
12358  return SWIG_arg;
12359 
12360  if(0) SWIG_fail;
12361 
12362 fail:
12363  lua_error(L);
12364  return SWIG_arg;
12365 }
12366 
12367 
12368 static int _wrap_uiOption_set_value(lua_State* L) {
12369  int SWIG_arg = 0;
12370  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12371  char *arg2 = (char *) 0 ;
12372 
12373  SWIG_check_num_args("uiOptionNode_t::set_value",2,2)
12374  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_value",1,"uiOptionNode_t *");
12375  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_value",2,"char const *");
12376 
12377  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12378  SWIG_fail_ptr("uiOption_set_value",1,SWIGTYPE_p_uiOptionNode_t);
12379  }
12380 
12381  arg2 = (char *)lua_tostring(L, 2);
12382  uiOptionNode_t_set_value(arg1,(char const *)arg2);
12383 
12384  return SWIG_arg;
12385 
12386  if(0) SWIG_fail;
12387 
12388 fail:
12389  lua_error(L);
12390  return SWIG_arg;
12391 }
12392 
12393 
12394 static int _wrap_uiOption_set_collapsed(lua_State* L) {
12395  int SWIG_arg = 0;
12396  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12397  bool arg2 ;
12398 
12399  SWIG_check_num_args("uiOptionNode_t::set_collapsed",2,2)
12400  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",1,"uiOptionNode_t *");
12401  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",2,"bool");
12402 
12403  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12404  SWIG_fail_ptr("uiOption_set_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12405  }
12406 
12407  arg2 = (lua_toboolean(L, 2)!=0);
12408  uiOptionNode_t_set_collapsed(arg1,arg2);
12409 
12410  return SWIG_arg;
12411 
12412  if(0) SWIG_fail;
12413 
12414 fail:
12415  lua_error(L);
12416  return SWIG_arg;
12417 }
12418 
12419 
12420 static int _wrap_uiOption_set_flipicion(lua_State* L) {
12421  int SWIG_arg = 0;
12422  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12423  bool arg2 ;
12424 
12425  SWIG_check_num_args("uiOptionNode_t::set_flipicion",2,2)
12426  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",1,"uiOptionNode_t *");
12427  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",2,"bool");
12428 
12429  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12430  SWIG_fail_ptr("uiOption_set_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12431  }
12432 
12433  arg2 = (lua_toboolean(L, 2)!=0);
12434  uiOptionNode_t_set_flipicion(arg1,arg2);
12435 
12436  return SWIG_arg;
12437 
12438  if(0) SWIG_fail;
12439 
12440 fail:
12441  lua_error(L);
12442  return SWIG_arg;
12443 }
12444 
12445 
12446 static int _wrap_uiOption_set_truncated(lua_State* L) {
12447  int SWIG_arg = 0;
12448  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12449  bool arg2 ;
12450 
12451  SWIG_check_num_args("uiOptionNode_t::set_truncated",2,2)
12452  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_truncated",1,"uiOptionNode_t *");
12453  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_truncated",2,"bool");
12454 
12455  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12456  SWIG_fail_ptr("uiOption_set_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12457  }
12458 
12459  arg2 = (lua_toboolean(L, 2)!=0);
12460  uiOptionNode_t_set_truncated(arg1,arg2);
12461 
12462  return SWIG_arg;
12463 
12464  if(0) SWIG_fail;
12465 
12466 fail:
12467  lua_error(L);
12468  return SWIG_arg;
12469 }
12470 
12471 
12472 static int _wrap_uiOption_set_icon(lua_State* L) {
12473  int SWIG_arg = 0;
12474  uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12475  char *arg2 = (char *) 0 ;
12476 
12477  SWIG_check_num_args("uiOptionNode_t::set_icon",2,2)
12478  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_icon",1,"uiOptionNode_t *");
12479  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_icon",2,"char const *");
12480 
12481  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12482  SWIG_fail_ptr("uiOption_set_icon",1,SWIGTYPE_p_uiOptionNode_t);
12483  }
12484 
12485  arg2 = (char *)lua_tostring(L, 2);
12486  uiOptionNode_t_set_icon(arg1,(char const *)arg2);
12487 
12488  return SWIG_arg;
12489 
12490  if(0) SWIG_fail;
12491 
12492 fail:
12493  lua_error(L);
12494  return SWIG_arg;
12495 }
12496 
12497 
12498 static int _wrap_new_uiOption(lua_State* L) {
12499  int SWIG_arg = 0;
12500  uiOptionNode_t *result = 0 ;
12501 
12502  SWIG_check_num_args("uiOptionNode_t::uiOptionNode_t",0,0)
12503  result = (uiOptionNode_t *)new uiOptionNode_t();
12504  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,1); SWIG_arg++;
12505  return SWIG_arg;
12506 
12507  if(0) SWIG_fail;
12508 
12509 fail:
12510  lua_error(L);
12511  return SWIG_arg;
12512 }
12513 
12514 
12515 static void swig_delete_uiOption(void *obj) {
12516 uiOptionNode_t *arg1 = (uiOptionNode_t *) obj;
12517 delete arg1;
12518 }
12519 static int _proxy__wrap_new_uiOption(lua_State *L) {
12520  assert(lua_istable(L,1));
12521  lua_pushcfunction(L,_wrap_new_uiOption);
12522  assert(!lua_isnil(L,-1));
12523  lua_replace(L,1); /* replace our table with real constructor */
12524  lua_call(L,lua_gettop(L)-1,1);
12525  return 1;
12526 }
12528  {0,0,0}
12529 };
12530 static swig_lua_method swig_uiOption_methods[]= {
12531  { "is_collapsed", _wrap_uiOption_is_collapsed},
12532  { "is_flipicion", _wrap_uiOption_is_flipicion},
12533  { "is_truncated", _wrap_uiOption_is_truncated},
12534  { "label", _wrap_uiOption_label},
12535  { "value", _wrap_uiOption_value},
12536  { "count", _wrap_uiOption_count},
12537  { "set_label", _wrap_uiOption_set_label},
12538  { "set_value", _wrap_uiOption_set_value},
12539  { "set_collapsed", _wrap_uiOption_set_collapsed},
12540  { "set_flipicion", _wrap_uiOption_set_flipicion},
12541  { "set_truncated", _wrap_uiOption_set_truncated},
12542  { "set_icon", _wrap_uiOption_set_icon},
12543  {0,0}
12544 };
12545 static swig_lua_method swig_uiOption_meta[] = {
12546  {0,0}
12547 };
12548 
12550  {0,0,0}
12551 };
12552 static swig_lua_const_info swig_uiOption_Sf_SwigStatic_constants[]= {
12553  {0,0,0,0,0,0}
12554 };
12555 static swig_lua_method swig_uiOption_Sf_SwigStatic_methods[]= {
12556  {0,0}
12557 };
12559  0
12560 };
12561 
12563  "uiOption",
12568  0
12569 };
12571 static const char *swig_uiOption_base_names[] = {"uiNode_t *",0};
12573 
12574 static int _wrap_new_uiOptionList(lua_State* L) {
12575  int SWIG_arg = 0;
12576  uiOptionListNode_t *result = 0 ;
12577 
12578  SWIG_check_num_args("uiOptionListNode_t::uiOptionListNode_t",0,0)
12579  result = (uiOptionListNode_t *)new uiOptionListNode_t();
12580  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,1); SWIG_arg++;
12581  return SWIG_arg;
12582 
12583  if(0) SWIG_fail;
12584 
12585 fail:
12586  lua_error(L);
12587  return SWIG_arg;
12588 }
12589 
12590 
12591 static void swig_delete_uiOptionList(void *obj) {
12592 uiOptionListNode_t *arg1 = (uiOptionListNode_t *) obj;
12593 delete arg1;
12594 }
12595 static int _proxy__wrap_new_uiOptionList(lua_State *L) {
12596  assert(lua_istable(L,1));
12597  lua_pushcfunction(L,_wrap_new_uiOptionList);
12598  assert(!lua_isnil(L,-1));
12599  lua_replace(L,1); /* replace our table with real constructor */
12600  lua_call(L,lua_gettop(L)-1,1);
12601  return 1;
12602 }
12604  {0,0,0}
12605 };
12606 static swig_lua_method swig_uiOptionList_methods[]= {
12607  {0,0}
12608 };
12609 static swig_lua_method swig_uiOptionList_meta[] = {
12610  {0,0}
12611 };
12612 
12614  {0,0,0}
12615 };
12616 static swig_lua_const_info swig_uiOptionList_Sf_SwigStatic_constants[]= {
12617  {0,0,0,0,0,0}
12618 };
12619 static swig_lua_method swig_uiOptionList_Sf_SwigStatic_methods[]= {
12620  {0,0}
12621 };
12623  0
12624 };
12625 
12627  "uiOptionList",
12632  0
12633 };
12635 static const char *swig_uiOptionList_base_names[] = {"uiAbstractOptionNode_t *",0};
12637 
12638 static int _wrap_uiOptionTree_set_selectedvalue(lua_State* L) {
12639  int SWIG_arg = 0;
12640  uiOptionTreeNode_t *arg1 = (uiOptionTreeNode_t *) 0 ;
12641  char *arg2 = (char *) 0 ;
12642 
12643  SWIG_check_num_args("uiOptionTreeNode_t::set_selectedvalue",2,2)
12644  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",1,"uiOptionTreeNode_t *");
12645  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",2,"char const *");
12646 
12647  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionTreeNode_t,0))){
12648  SWIG_fail_ptr("uiOptionTree_set_selectedvalue",1,SWIGTYPE_p_uiOptionTreeNode_t);
12649  }
12650 
12651  arg2 = (char *)lua_tostring(L, 2);
12652  uiOptionTreeNode_t_set_selectedvalue(arg1,(char const *)arg2);
12653 
12654  return SWIG_arg;
12655 
12656  if(0) SWIG_fail;
12657 
12658 fail:
12659  lua_error(L);
12660  return SWIG_arg;
12661 }
12662 
12663 
12664 static int _wrap_new_uiOptionTree(lua_State* L) {
12665  int SWIG_arg = 0;
12666  uiOptionTreeNode_t *result = 0 ;
12667 
12668  SWIG_check_num_args("uiOptionTreeNode_t::uiOptionTreeNode_t",0,0)
12669  result = (uiOptionTreeNode_t *)new uiOptionTreeNode_t();
12670  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,1); SWIG_arg++;
12671  return SWIG_arg;
12672 
12673  if(0) SWIG_fail;
12674 
12675 fail:
12676  lua_error(L);
12677  return SWIG_arg;
12678 }
12679 
12680 
12681 static void swig_delete_uiOptionTree(void *obj) {
12682 uiOptionTreeNode_t *arg1 = (uiOptionTreeNode_t *) obj;
12683 delete arg1;
12684 }
12685 static int _proxy__wrap_new_uiOptionTree(lua_State *L) {
12686  assert(lua_istable(L,1));
12687  lua_pushcfunction(L,_wrap_new_uiOptionTree);
12688  assert(!lua_isnil(L,-1));
12689  lua_replace(L,1); /* replace our table with real constructor */
12690  lua_call(L,lua_gettop(L)-1,1);
12691  return 1;
12692 }
12694  {0,0,0}
12695 };
12696 static swig_lua_method swig_uiOptionTree_methods[]= {
12697  { "set_selectedvalue", _wrap_uiOptionTree_set_selectedvalue},
12698  {0,0}
12699 };
12700 static swig_lua_method swig_uiOptionTree_meta[] = {
12701  {0,0}
12702 };
12703 
12705  {0,0,0}
12706 };
12707 static swig_lua_const_info swig_uiOptionTree_Sf_SwigStatic_constants[]= {
12708  {0,0,0,0,0,0}
12709 };
12710 static swig_lua_method swig_uiOptionTree_Sf_SwigStatic_methods[]= {
12711  {0,0}
12712 };
12714  0
12715 };
12716 
12718  "uiOptionTree",
12723  0
12724 };
12726 static const char *swig_uiOptionTree_base_names[] = {"uiAbstractOptionNode_t *",0};
12728 
12729 static int _wrap_uiPanel_is_wheelscrollable(lua_State* L) {
12730  int SWIG_arg = 0;
12731  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12732  bool result;
12733 
12734  SWIG_check_num_args("uiPanelNode_t::is_wheelscrollable",1,1)
12735  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::is_wheelscrollable",1,"uiPanelNode_t *");
12736 
12737  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12738  SWIG_fail_ptr("uiPanel_is_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12739  }
12740 
12741  result = (bool)uiPanelNode_t_is_wheelscrollable(arg1);
12742  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12743  return SWIG_arg;
12744 
12745  if(0) SWIG_fail;
12746 
12747 fail:
12748  lua_error(L);
12749  return SWIG_arg;
12750 }
12751 
12752 
12753 static int _wrap_uiPanel_layout(lua_State* L) {
12754  int SWIG_arg = 0;
12755  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12756  int result;
12757 
12758  SWIG_check_num_args("uiPanelNode_t::layout",1,1)
12759  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layout",1,"uiPanelNode_t *");
12760 
12761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12762  SWIG_fail_ptr("uiPanel_layout",1,SWIGTYPE_p_uiPanelNode_t);
12763  }
12764 
12765  result = (int)uiPanelNode_t_layout(arg1);
12766  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12767  return SWIG_arg;
12768 
12769  if(0) SWIG_fail;
12770 
12771 fail:
12772  lua_error(L);
12773  return SWIG_arg;
12774 }
12775 
12776 
12777 static int _wrap_uiPanel_layoutmargin(lua_State* L) {
12778  int SWIG_arg = 0;
12779  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12780  int result;
12781 
12782  SWIG_check_num_args("uiPanelNode_t::layoutmargin",1,1)
12783  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutmargin",1,"uiPanelNode_t *");
12784 
12785  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12786  SWIG_fail_ptr("uiPanel_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12787  }
12788 
12789  result = (int)uiPanelNode_t_layoutmargin(arg1);
12790  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12791  return SWIG_arg;
12792 
12793  if(0) SWIG_fail;
12794 
12795 fail:
12796  lua_error(L);
12797  return SWIG_arg;
12798 }
12799 
12800 
12801 static int _wrap_uiPanel_layoutcolumns(lua_State* L) {
12802  int SWIG_arg = 0;
12803  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12804  int result;
12805 
12806  SWIG_check_num_args("uiPanelNode_t::layoutcolumns",1,1)
12807  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutcolumns",1,"uiPanelNode_t *");
12808 
12809  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12810  SWIG_fail_ptr("uiPanel_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12811  }
12812 
12813  result = (int)uiPanelNode_t_layoutcolumns(arg1);
12814  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12815  return SWIG_arg;
12816 
12817  if(0) SWIG_fail;
12818 
12819 fail:
12820  lua_error(L);
12821  return SWIG_arg;
12822 }
12823 
12824 
12825 static int _wrap_uiPanel_set_layout(lua_State* L) {
12826  int SWIG_arg = 0;
12827  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12828  int arg2 ;
12829 
12830  SWIG_check_num_args("uiPanelNode_t::set_layout",2,2)
12831  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layout",1,"uiPanelNode_t *");
12832  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layout",2,"int");
12833 
12834  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12835  SWIG_fail_ptr("uiPanel_set_layout",1,SWIGTYPE_p_uiPanelNode_t);
12836  }
12837 
12838  arg2 = (int)lua_tonumber(L, 2);
12839  uiPanelNode_t_set_layout(arg1,arg2);
12840 
12841  return SWIG_arg;
12842 
12843  if(0) SWIG_fail;
12844 
12845 fail:
12846  lua_error(L);
12847  return SWIG_arg;
12848 }
12849 
12850 
12851 static int _wrap_uiPanel_set_layoutmargin(lua_State* L) {
12852  int SWIG_arg = 0;
12853  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12854  int arg2 ;
12855 
12856  SWIG_check_num_args("uiPanelNode_t::set_layoutmargin",2,2)
12857  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",1,"uiPanelNode_t *");
12858  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",2,"int");
12859 
12860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12861  SWIG_fail_ptr("uiPanel_set_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12862  }
12863 
12864  arg2 = (int)lua_tonumber(L, 2);
12865  uiPanelNode_t_set_layoutmargin(arg1,arg2);
12866 
12867  return SWIG_arg;
12868 
12869  if(0) SWIG_fail;
12870 
12871 fail:
12872  lua_error(L);
12873  return SWIG_arg;
12874 }
12875 
12876 
12877 static int _wrap_uiPanel_set_layoutcolumns(lua_State* L) {
12878  int SWIG_arg = 0;
12879  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12880  int arg2 ;
12881 
12882  SWIG_check_num_args("uiPanelNode_t::set_layoutcolumns",2,2)
12883  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",1,"uiPanelNode_t *");
12884  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",2,"int");
12885 
12886  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12887  SWIG_fail_ptr("uiPanel_set_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12888  }
12889 
12890  arg2 = (int)lua_tonumber(L, 2);
12892 
12893  return SWIG_arg;
12894 
12895  if(0) SWIG_fail;
12896 
12897 fail:
12898  lua_error(L);
12899  return SWIG_arg;
12900 }
12901 
12902 
12903 static int _wrap_uiPanel_set_wheelscrollable(lua_State* L) {
12904  int SWIG_arg = 0;
12905  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12906  bool arg2 ;
12907 
12908  SWIG_check_num_args("uiPanelNode_t::set_wheelscrollable",2,2)
12909  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",1,"uiPanelNode_t *");
12910  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",2,"bool");
12911 
12912  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12913  SWIG_fail_ptr("uiPanel_set_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12914  }
12915 
12916  arg2 = (lua_toboolean(L, 2)!=0);
12918 
12919  return SWIG_arg;
12920 
12921  if(0) SWIG_fail;
12922 
12923 fail:
12924  lua_error(L);
12925  return SWIG_arg;
12926 }
12927 
12928 
12929 static int _wrap_uiPanel_set_background(lua_State* L) {
12930  int SWIG_arg = 0;
12931  uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12932  char *arg2 = (char *) 0 ;
12933 
12934  SWIG_check_num_args("uiPanelNode_t::set_background",2,2)
12935  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_background",1,"uiPanelNode_t *");
12936  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiPanelNode_t::set_background",2,"char const *");
12937 
12938  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12939  SWIG_fail_ptr("uiPanel_set_background",1,SWIGTYPE_p_uiPanelNode_t);
12940  }
12941 
12942  arg2 = (char *)lua_tostring(L, 2);
12943  uiPanelNode_t_set_background(arg1,(char const *)arg2);
12944 
12945  return SWIG_arg;
12946 
12947  if(0) SWIG_fail;
12948 
12949 fail:
12950  lua_error(L);
12951  return SWIG_arg;
12952 }
12953 
12954 
12955 static int _wrap_new_uiPanel(lua_State* L) {
12956  int SWIG_arg = 0;
12957  uiPanelNode_t *result = 0 ;
12958 
12959  SWIG_check_num_args("uiPanelNode_t::uiPanelNode_t",0,0)
12960  result = (uiPanelNode_t *)new uiPanelNode_t();
12961  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,1); SWIG_arg++;
12962  return SWIG_arg;
12963 
12964  if(0) SWIG_fail;
12965 
12966 fail:
12967  lua_error(L);
12968  return SWIG_arg;
12969 }
12970 
12971 
12972 static void swig_delete_uiPanel(void *obj) {
12973 uiPanelNode_t *arg1 = (uiPanelNode_t *) obj;
12974 delete arg1;
12975 }
12976 static int _proxy__wrap_new_uiPanel(lua_State *L) {
12977  assert(lua_istable(L,1));
12978  lua_pushcfunction(L,_wrap_new_uiPanel);
12979  assert(!lua_isnil(L,-1));
12980  lua_replace(L,1); /* replace our table with real constructor */
12981  lua_call(L,lua_gettop(L)-1,1);
12982  return 1;
12983 }
12985  {0,0,0}
12986 };
12987 static swig_lua_method swig_uiPanel_methods[]= {
12988  { "is_wheelscrollable", _wrap_uiPanel_is_wheelscrollable},
12989  { "layout", _wrap_uiPanel_layout},
12990  { "layoutmargin", _wrap_uiPanel_layoutmargin},
12991  { "layoutcolumns", _wrap_uiPanel_layoutcolumns},
12992  { "set_layout", _wrap_uiPanel_set_layout},
12993  { "set_layoutmargin", _wrap_uiPanel_set_layoutmargin},
12994  { "set_layoutcolumns", _wrap_uiPanel_set_layoutcolumns},
12995  { "set_wheelscrollable", _wrap_uiPanel_set_wheelscrollable},
12996  { "set_background", _wrap_uiPanel_set_background},
12997  {0,0}
12998 };
12999 static swig_lua_method swig_uiPanel_meta[] = {
13000  {0,0}
13001 };
13002 
13004  {0,0,0}
13005 };
13006 static swig_lua_const_info swig_uiPanel_Sf_SwigStatic_constants[]= {
13007  {0,0,0,0,0,0}
13008 };
13009 static swig_lua_method swig_uiPanel_Sf_SwigStatic_methods[]= {
13010  {0,0}
13011 };
13013  0
13014 };
13015 
13017  "uiPanel",
13022  0
13023 };
13025 static const char *swig_uiPanel_base_names[] = {"uiAbstractScrollableNode_t *",0};
13027 
13028 static int _wrap_new_uiRadar(lua_State* L) {
13029  int SWIG_arg = 0;
13030  uiRadarNode_t *result = 0 ;
13031 
13032  SWIG_check_num_args("uiRadarNode_t::uiRadarNode_t",0,0)
13033  result = (uiRadarNode_t *)new uiRadarNode_t();
13034  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,1); SWIG_arg++;
13035  return SWIG_arg;
13036 
13037  if(0) SWIG_fail;
13038 
13039 fail:
13040  lua_error(L);
13041  return SWIG_arg;
13042 }
13043 
13044 
13045 static void swig_delete_uiRadar(void *obj) {
13046 uiRadarNode_t *arg1 = (uiRadarNode_t *) obj;
13047 delete arg1;
13048 }
13049 static int _proxy__wrap_new_uiRadar(lua_State *L) {
13050  assert(lua_istable(L,1));
13051  lua_pushcfunction(L,_wrap_new_uiRadar);
13052  assert(!lua_isnil(L,-1));
13053  lua_replace(L,1); /* replace our table with real constructor */
13054  lua_call(L,lua_gettop(L)-1,1);
13055  return 1;
13056 }
13058  {0,0,0}
13059 };
13060 static swig_lua_method swig_uiRadar_methods[]= {
13061  {0,0}
13062 };
13063 static swig_lua_method swig_uiRadar_meta[] = {
13064  {0,0}
13065 };
13066 
13068  {0,0,0}
13069 };
13070 static swig_lua_const_info swig_uiRadar_Sf_SwigStatic_constants[]= {
13071  {0,0,0,0,0,0}
13072 };
13073 static swig_lua_method swig_uiRadar_Sf_SwigStatic_methods[]= {
13074  {0,0}
13075 };
13077  0
13078 };
13079 
13081  "uiRadar",
13086  0
13087 };
13089 static const char *swig_uiRadar_base_names[] = {"uiNode_t *",0};
13091 
13092 static int _wrap_uiRadioButton_is_flipicon(lua_State* L) {
13093  int SWIG_arg = 0;
13094  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13095  bool result;
13096 
13097  SWIG_check_num_args("uiRadioButtonNode_t::is_flipicon",1,1)
13098  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::is_flipicon",1,"uiRadioButtonNode_t *");
13099 
13100  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13101  SWIG_fail_ptr("uiRadioButton_is_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13102  }
13103 
13104  result = (bool)uiRadioButtonNode_t_is_flipicon(arg1);
13105  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13106  return SWIG_arg;
13107 
13108  if(0) SWIG_fail;
13109 
13110 fail:
13111  lua_error(L);
13112  return SWIG_arg;
13113 }
13114 
13115 
13116 static int _wrap_uiRadioButton_as_string(lua_State* L) {
13117  int SWIG_arg = 0;
13118  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13119  char *result = 0 ;
13120 
13121  SWIG_check_num_args("uiRadioButtonNode_t::as_string",1,1)
13122  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_string",1,"uiRadioButtonNode_t *");
13123 
13124  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13125  SWIG_fail_ptr("uiRadioButton_as_string",1,SWIGTYPE_p_uiRadioButtonNode_t);
13126  }
13127 
13128  result = (char *)uiRadioButtonNode_t_as_string(arg1);
13129  lua_pushstring(L,(const char *)result); SWIG_arg++;
13130  return SWIG_arg;
13131 
13132  if(0) SWIG_fail;
13133 
13134 fail:
13135  lua_error(L);
13136  return SWIG_arg;
13137 }
13138 
13139 
13140 static int _wrap_uiRadioButton_as_float(lua_State* L) {
13141  int SWIG_arg = 0;
13142  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13143  float result;
13144 
13145  SWIG_check_num_args("uiRadioButtonNode_t::as_float",1,1)
13146  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_float",1,"uiRadioButtonNode_t *");
13147 
13148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13149  SWIG_fail_ptr("uiRadioButton_as_float",1,SWIGTYPE_p_uiRadioButtonNode_t);
13150  }
13151 
13152  result = (float)uiRadioButtonNode_t_as_float(arg1);
13153  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13154  return SWIG_arg;
13155 
13156  if(0) SWIG_fail;
13157 
13158 fail:
13159  lua_error(L);
13160  return SWIG_arg;
13161 }
13162 
13163 
13164 static int _wrap_uiRadioButton_set_value__SWIG_0(lua_State* L) {
13165  int SWIG_arg = 0;
13166  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13167  char *arg2 = (char *) 0 ;
13168 
13169  SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13170  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13171  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"char const *");
13172 
13173  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13174  SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13175  }
13176 
13177  arg2 = (char *)lua_tostring(L, 2);
13178  uiRadioButtonNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
13179 
13180  return SWIG_arg;
13181 
13182  if(0) SWIG_fail;
13183 
13184 fail:
13185  lua_error(L);
13186  return SWIG_arg;
13187 }
13188 
13189 
13190 static int _wrap_uiRadioButton_set_value__SWIG_1(lua_State* L) {
13191  int SWIG_arg = 0;
13192  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13193  float arg2 ;
13194 
13195  SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13196  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13197  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"float");
13198 
13199  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13200  SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13201  }
13202 
13203  arg2 = (float)lua_tonumber(L, 2);
13205 
13206  return SWIG_arg;
13207 
13208  if(0) SWIG_fail;
13209 
13210 fail:
13211  lua_error(L);
13212  return SWIG_arg;
13213 }
13214 
13215 
13216 static int _wrap_uiRadioButton_set_value(lua_State* L) {
13217  int argc;
13218  int argv[3]={
13219  1,2,3
13220  };
13221 
13222  argc = lua_gettop(L);
13223  if (argc == 2) {
13224  int _v;
13225  {
13226  void *ptr;
13227  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13228  _v = 0;
13229  } else {
13230  _v = 1;
13231  }
13232  }
13233  if (_v) {
13234  {
13235  _v = lua_isnumber(L,argv[1]);
13236  }
13237  if (_v) {
13239  }
13240  }
13241  }
13242  if (argc == 2) {
13243  int _v;
13244  {
13245  void *ptr;
13246  if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13247  _v = 0;
13248  } else {
13249  _v = 1;
13250  }
13251  }
13252  if (_v) {
13253  {
13254  _v = SWIG_lua_isnilstring(L,argv[1]);
13255  }
13256  if (_v) {
13258  }
13259  }
13260  }
13261 
13262  SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiRadioButton_set_value'\n"
13263  " Possible C/C++ prototypes are:\n"
13264  " uiRadioButtonNode_t::set_value(char const *)\n"
13265  " uiRadioButtonNode_t::set_value(float)\n");
13266  lua_error(L);return 0;
13267 }
13268 
13269 
13270 static int _wrap_uiRadioButton_set_flipicon(lua_State* L) {
13271  int SWIG_arg = 0;
13272  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13273  bool arg2 ;
13274 
13275  SWIG_check_num_args("uiRadioButtonNode_t::set_flipicon",2,2)
13276  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",1,"uiRadioButtonNode_t *");
13277  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",2,"bool");
13278 
13279  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13280  SWIG_fail_ptr("uiRadioButton_set_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13281  }
13282 
13283  arg2 = (lua_toboolean(L, 2)!=0);
13285 
13286  return SWIG_arg;
13287 
13288  if(0) SWIG_fail;
13289 
13290 fail:
13291  lua_error(L);
13292  return SWIG_arg;
13293 }
13294 
13295 
13296 static int _wrap_uiRadioButton_set_background(lua_State* L) {
13297  int SWIG_arg = 0;
13298  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13299  char *arg2 = (char *) 0 ;
13300 
13301  SWIG_check_num_args("uiRadioButtonNode_t::set_background",2,2)
13302  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",1,"uiRadioButtonNode_t *");
13303  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",2,"char const *");
13304 
13305  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13306  SWIG_fail_ptr("uiRadioButton_set_background",1,SWIGTYPE_p_uiRadioButtonNode_t);
13307  }
13308 
13309  arg2 = (char *)lua_tostring(L, 2);
13310  uiRadioButtonNode_t_set_background(arg1,(char const *)arg2);
13311 
13312  return SWIG_arg;
13313 
13314  if(0) SWIG_fail;
13315 
13316 fail:
13317  lua_error(L);
13318  return SWIG_arg;
13319 }
13320 
13321 
13322 static int _wrap_uiRadioButton_set_icon(lua_State* L) {
13323  int SWIG_arg = 0;
13324  uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) 0 ;
13325  char *arg2 = (char *) 0 ;
13326 
13327  SWIG_check_num_args("uiRadioButtonNode_t::set_icon",2,2)
13328  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",1,"uiRadioButtonNode_t *");
13329  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",2,"char const *");
13330 
13331  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13332  SWIG_fail_ptr("uiRadioButton_set_icon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13333  }
13334 
13335  arg2 = (char *)lua_tostring(L, 2);
13336  uiRadioButtonNode_t_set_icon(arg1,(char const *)arg2);
13337 
13338  return SWIG_arg;
13339 
13340  if(0) SWIG_fail;
13341 
13342 fail:
13343  lua_error(L);
13344  return SWIG_arg;
13345 }
13346 
13347 
13348 static int _wrap_new_uiRadioButton(lua_State* L) {
13349  int SWIG_arg = 0;
13350  uiRadioButtonNode_t *result = 0 ;
13351 
13352  SWIG_check_num_args("uiRadioButtonNode_t::uiRadioButtonNode_t",0,0)
13353  result = (uiRadioButtonNode_t *)new uiRadioButtonNode_t();
13354  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,1); SWIG_arg++;
13355  return SWIG_arg;
13356 
13357  if(0) SWIG_fail;
13358 
13359 fail:
13360  lua_error(L);
13361  return SWIG_arg;
13362 }
13363 
13364 
13365 static void swig_delete_uiRadioButton(void *obj) {
13366 uiRadioButtonNode_t *arg1 = (uiRadioButtonNode_t *) obj;
13367 delete arg1;
13368 }
13369 static int _proxy__wrap_new_uiRadioButton(lua_State *L) {
13370  assert(lua_istable(L,1));
13371  lua_pushcfunction(L,_wrap_new_uiRadioButton);
13372  assert(!lua_isnil(L,-1));
13373  lua_replace(L,1); /* replace our table with real constructor */
13374  lua_call(L,lua_gettop(L)-1,1);
13375  return 1;
13376 }
13378  {0,0,0}
13379 };
13380 static swig_lua_method swig_uiRadioButton_methods[]= {
13381  { "is_flipicon", _wrap_uiRadioButton_is_flipicon},
13382  { "as_string", _wrap_uiRadioButton_as_string},
13383  { "as_float", _wrap_uiRadioButton_as_float},
13384  { "set_value", _wrap_uiRadioButton_set_value},
13385  { "set_flipicon", _wrap_uiRadioButton_set_flipicon},
13386  { "set_background", _wrap_uiRadioButton_set_background},
13387  { "set_icon", _wrap_uiRadioButton_set_icon},
13388  {0,0}
13389 };
13390 static swig_lua_method swig_uiRadioButton_meta[] = {
13391  {0,0}
13392 };
13393 
13395  {0,0,0}
13396 };
13397 static swig_lua_const_info swig_uiRadioButton_Sf_SwigStatic_constants[]= {
13398  {0,0,0,0,0,0}
13399 };
13400 static swig_lua_method swig_uiRadioButton_Sf_SwigStatic_methods[]= {
13401  {0,0}
13402 };
13404  0
13405 };
13406 
13408  "uiRadioButton",
13413  0
13414 };
13416 static const char *swig_uiRadioButton_base_names[] = {"uiNode_t *",0};
13418 
13419 static int _wrap_uiRows_current(lua_State* L) {
13420  int SWIG_arg = 0;
13421  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13422  int result;
13423 
13424  SWIG_check_num_args("uiRowsNode_t::current",1,1)
13425  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::current",1,"uiRowsNode_t *");
13426 
13427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13428  SWIG_fail_ptr("uiRows_current",1,SWIGTYPE_p_uiRowsNode_t);
13429  }
13430 
13431  result = (int)uiRowsNode_t_current(arg1);
13432  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13433  return SWIG_arg;
13434 
13435  if(0) SWIG_fail;
13436 
13437 fail:
13438  lua_error(L);
13439  return SWIG_arg;
13440 }
13441 
13442 
13443 static int _wrap_uiRows_lineheight(lua_State* L) {
13444  int SWIG_arg = 0;
13445  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13446  int result;
13447 
13448  SWIG_check_num_args("uiRowsNode_t::lineheight",1,1)
13449  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::lineheight",1,"uiRowsNode_t *");
13450 
13451  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13452  SWIG_fail_ptr("uiRows_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13453  }
13454 
13455  result = (int)uiRowsNode_t_lineheight(arg1);
13456  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13457  return SWIG_arg;
13458 
13459  if(0) SWIG_fail;
13460 
13461 fail:
13462  lua_error(L);
13463  return SWIG_arg;
13464 }
13465 
13466 
13467 static int _wrap_uiRows_set_current(lua_State* L) {
13468  int SWIG_arg = 0;
13469  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13470  int arg2 ;
13471 
13472  SWIG_check_num_args("uiRowsNode_t::set_current",2,2)
13473  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_current",1,"uiRowsNode_t *");
13474  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_current",2,"int");
13475 
13476  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13477  SWIG_fail_ptr("uiRows_set_current",1,SWIGTYPE_p_uiRowsNode_t);
13478  }
13479 
13480  arg2 = (int)lua_tonumber(L, 2);
13481  uiRowsNode_t_set_current(arg1,arg2);
13482 
13483  return SWIG_arg;
13484 
13485  if(0) SWIG_fail;
13486 
13487 fail:
13488  lua_error(L);
13489  return SWIG_arg;
13490 }
13491 
13492 
13493 static int _wrap_uiRows_set_lineheight(lua_State* L) {
13494  int SWIG_arg = 0;
13495  uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13496  int arg2 ;
13497 
13498  SWIG_check_num_args("uiRowsNode_t::set_lineheight",2,2)
13499  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",1,"uiRowsNode_t *");
13500  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",2,"int");
13501 
13502  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13503  SWIG_fail_ptr("uiRows_set_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13504  }
13505 
13506  arg2 = (int)lua_tonumber(L, 2);
13507  uiRowsNode_t_set_lineheight(arg1,arg2);
13508 
13509  return SWIG_arg;
13510 
13511  if(0) SWIG_fail;
13512 
13513 fail:
13514  lua_error(L);
13515  return SWIG_arg;
13516 }
13517 
13518 
13519 static int _wrap_new_uiRows(lua_State* L) {
13520  int SWIG_arg = 0;
13521  uiRowsNode_t *result = 0 ;
13522 
13523  SWIG_check_num_args("uiRowsNode_t::uiRowsNode_t",0,0)
13524  result = (uiRowsNode_t *)new uiRowsNode_t();
13525  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,1); SWIG_arg++;
13526  return SWIG_arg;
13527 
13528  if(0) SWIG_fail;
13529 
13530 fail:
13531  lua_error(L);
13532  return SWIG_arg;
13533 }
13534 
13535 
13536 static void swig_delete_uiRows(void *obj) {
13537 uiRowsNode_t *arg1 = (uiRowsNode_t *) obj;
13538 delete arg1;
13539 }
13540 static int _proxy__wrap_new_uiRows(lua_State *L) {
13541  assert(lua_istable(L,1));
13542  lua_pushcfunction(L,_wrap_new_uiRows);
13543  assert(!lua_isnil(L,-1));
13544  lua_replace(L,1); /* replace our table with real constructor */
13545  lua_call(L,lua_gettop(L)-1,1);
13546  return 1;
13547 }
13549  {0,0,0}
13550 };
13551 static swig_lua_method swig_uiRows_methods[]= {
13552  { "current", _wrap_uiRows_current},
13553  { "lineheight", _wrap_uiRows_lineheight},
13554  { "set_current", _wrap_uiRows_set_current},
13555  { "set_lineheight", _wrap_uiRows_set_lineheight},
13556  {0,0}
13557 };
13558 static swig_lua_method swig_uiRows_meta[] = {
13559  {0,0}
13560 };
13561 
13563  {0,0,0}
13564 };
13565 static swig_lua_const_info swig_uiRows_Sf_SwigStatic_constants[]= {
13566  {0,0,0,0,0,0}
13567 };
13568 static swig_lua_method swig_uiRows_Sf_SwigStatic_methods[]= {
13569  {0,0}
13570 };
13572  0
13573 };
13574 
13576  "uiRows",
13581  0
13582 };
13584 static const char *swig_uiRows_base_names[] = {"uiNode_t *",0};
13586 
13587 static int _wrap_new_uiSelectBox(lua_State* L) {
13588  int SWIG_arg = 0;
13589  uiSelectBoxNode_t *result = 0 ;
13590 
13591  SWIG_check_num_args("uiSelectBoxNode_t::uiSelectBoxNode_t",0,0)
13592  result = (uiSelectBoxNode_t *)new uiSelectBoxNode_t();
13593  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,1); SWIG_arg++;
13594  return SWIG_arg;
13595 
13596  if(0) SWIG_fail;
13597 
13598 fail:
13599  lua_error(L);
13600  return SWIG_arg;
13601 }
13602 
13603 
13604 static void swig_delete_uiSelectBox(void *obj) {
13605 uiSelectBoxNode_t *arg1 = (uiSelectBoxNode_t *) obj;
13606 delete arg1;
13607 }
13608 static int _proxy__wrap_new_uiSelectBox(lua_State *L) {
13609  assert(lua_istable(L,1));
13610  lua_pushcfunction(L,_wrap_new_uiSelectBox);
13611  assert(!lua_isnil(L,-1));
13612  lua_replace(L,1); /* replace our table with real constructor */
13613  lua_call(L,lua_gettop(L)-1,1);
13614  return 1;
13615 }
13617  {0,0,0}
13618 };
13619 static swig_lua_method swig_uiSelectBox_methods[]= {
13620  {0,0}
13621 };
13622 static swig_lua_method swig_uiSelectBox_meta[] = {
13623  {0,0}
13624 };
13625 
13627  {0,0,0}
13628 };
13629 static swig_lua_const_info swig_uiSelectBox_Sf_SwigStatic_constants[]= {
13630  {0,0,0,0,0,0}
13631 };
13632 static swig_lua_method swig_uiSelectBox_Sf_SwigStatic_methods[]= {
13633  {0,0}
13634 };
13636  0
13637 };
13638 
13640  "uiSelectBox",
13645  0
13646 };
13648 static const char *swig_uiSelectBox_base_names[] = {"uiAbstractOptionNode_t *",0};
13650 
13651 static int _wrap_uiSequence_is_playing(lua_State* L) {
13652  int SWIG_arg = 0;
13653  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13654  bool result;
13655 
13656  SWIG_check_num_args("uiSequenceNode_t::is_playing",1,1)
13657  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::is_playing",1,"uiSequenceNode_t *");
13658 
13659  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13660  SWIG_fail_ptr("uiSequence_is_playing",1,SWIGTYPE_p_uiSequenceNode_t);
13661  }
13662 
13663  result = (bool)uiSequenceNode_t_is_playing(arg1);
13664  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13665  return SWIG_arg;
13666 
13667  if(0) SWIG_fail;
13668 
13669 fail:
13670  lua_error(L);
13671  return SWIG_arg;
13672 }
13673 
13674 
13675 static int _wrap_uiSequence_set_source(lua_State* L) {
13676  int SWIG_arg = 0;
13677  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13678  char *arg2 = (char *) 0 ;
13679 
13680  SWIG_check_num_args("uiSequenceNode_t::set_source",2,2)
13681  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::set_source",1,"uiSequenceNode_t *");
13682  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSequenceNode_t::set_source",2,"char const *");
13683 
13684  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13685  SWIG_fail_ptr("uiSequence_set_source",1,SWIGTYPE_p_uiSequenceNode_t);
13686  }
13687 
13688  arg2 = (char *)lua_tostring(L, 2);
13689  uiSequenceNode_t_set_source(arg1,(char const *)arg2);
13690 
13691  return SWIG_arg;
13692 
13693  if(0) SWIG_fail;
13694 
13695 fail:
13696  lua_error(L);
13697  return SWIG_arg;
13698 }
13699 
13700 
13701 static int _wrap_uiSequence_lua_onEnd_set(lua_State* L) {
13702  int SWIG_arg = 0;
13703  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13704  LUA_EVENT arg2 ;
13705 
13706  SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",2,2)
13707  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13708 
13709  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13710  SWIG_fail_ptr("uiSequence_lua_onEnd_set",1,SWIGTYPE_p_uiSequenceNode_t);
13711  }
13712 
13713  {
13714  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
13715  }
13716  uiSequenceNode_t_lua_onEnd_set(arg1,arg2);
13717 
13718  return SWIG_arg;
13719 
13720  if(0) SWIG_fail;
13721 
13722 fail:
13723  lua_error(L);
13724  return SWIG_arg;
13725 }
13726 
13727 
13728 static int _wrap_uiSequence_lua_onEnd_get(lua_State* L) {
13729  int SWIG_arg = 0;
13730  uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13731  LUA_EVENT result;
13732 
13733  SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",1,1)
13734  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13735 
13736  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13737  SWIG_fail_ptr("uiSequence_lua_onEnd_get",1,SWIGTYPE_p_uiSequenceNode_t);
13738  }
13739 
13740  result = uiSequenceNode_t_lua_onEnd_get(arg1);
13741  {
13742  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
13743  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
13744  }
13745  return SWIG_arg;
13746 
13747  if(0) SWIG_fail;
13748 
13749 fail:
13750  lua_error(L);
13751  return SWIG_arg;
13752 }
13753 
13754 
13755 static int _wrap_new_uiSequence(lua_State* L) {
13756  int SWIG_arg = 0;
13757  uiSequenceNode_t *result = 0 ;
13758 
13759  SWIG_check_num_args("uiSequenceNode_t::uiSequenceNode_t",0,0)
13760  result = (uiSequenceNode_t *)new uiSequenceNode_t();
13761  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,1); SWIG_arg++;
13762  return SWIG_arg;
13763 
13764  if(0) SWIG_fail;
13765 
13766 fail:
13767  lua_error(L);
13768  return SWIG_arg;
13769 }
13770 
13771 
13772 static void swig_delete_uiSequence(void *obj) {
13773 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) obj;
13774 delete arg1;
13775 }
13776 static int _proxy__wrap_new_uiSequence(lua_State *L) {
13777  assert(lua_istable(L,1));
13778  lua_pushcfunction(L,_wrap_new_uiSequence);
13779  assert(!lua_isnil(L,-1));
13780  lua_replace(L,1); /* replace our table with real constructor */
13781  lua_call(L,lua_gettop(L)-1,1);
13782  return 1;
13783 }
13786  {0,0,0}
13787 };
13788 static swig_lua_method swig_uiSequence_methods[]= {
13789  { "is_playing", _wrap_uiSequence_is_playing},
13790  { "set_source", _wrap_uiSequence_set_source},
13791  {0,0}
13792 };
13793 static swig_lua_method swig_uiSequence_meta[] = {
13794  {0,0}
13795 };
13796 
13798  {0,0,0}
13799 };
13800 static swig_lua_const_info swig_uiSequence_Sf_SwigStatic_constants[]= {
13801  {0,0,0,0,0,0}
13802 };
13803 static swig_lua_method swig_uiSequence_Sf_SwigStatic_methods[]= {
13804  {0,0}
13805 };
13807  0
13808 };
13809 
13811  "uiSequence",
13816  0
13817 };
13819 static const char *swig_uiSequence_base_names[] = {"uiNode_t *",0};
13821 
13822 static int _wrap_uiSpinner_is_horizontal(lua_State* L) {
13823  int SWIG_arg = 0;
13824  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13825  bool result;
13826 
13827  SWIG_check_num_args("uiSpinnerNode_t::is_horizontal",1,1)
13828  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_horizontal",1,"uiSpinnerNode_t *");
13829 
13830  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13831  SWIG_fail_ptr("uiSpinner_is_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
13832  }
13833 
13834  result = (bool)uiSpinnerNode_t_is_horizontal(arg1);
13835  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13836  return SWIG_arg;
13837 
13838  if(0) SWIG_fail;
13839 
13840 fail:
13841  lua_error(L);
13842  return SWIG_arg;
13843 }
13844 
13845 
13846 static int _wrap_uiSpinner_is_inverted(lua_State* L) {
13847  int SWIG_arg = 0;
13848  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13849  bool result;
13850 
13851  SWIG_check_num_args("uiSpinnerNode_t::is_inverted",1,1)
13852  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_inverted",1,"uiSpinnerNode_t *");
13853 
13854  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13855  SWIG_fail_ptr("uiSpinner_is_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
13856  }
13857 
13858  result = (bool)uiSpinnerNode_t_is_inverted(arg1);
13859  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13860  return SWIG_arg;
13861 
13862  if(0) SWIG_fail;
13863 
13864 fail:
13865  lua_error(L);
13866  return SWIG_arg;
13867 }
13868 
13869 
13870 static int _wrap_uiSpinner_mode(lua_State* L) {
13871  int SWIG_arg = 0;
13872  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13873  int result;
13874 
13875  SWIG_check_num_args("uiSpinnerNode_t::mode",1,1)
13876  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::mode",1,"uiSpinnerNode_t *");
13877 
13878  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13879  SWIG_fail_ptr("uiSpinner_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
13880  }
13881 
13882  result = (int)uiSpinnerNode_t_mode(arg1);
13883  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13884  return SWIG_arg;
13885 
13886  if(0) SWIG_fail;
13887 
13888 fail:
13889  lua_error(L);
13890  return SWIG_arg;
13891 }
13892 
13893 
13894 static int _wrap_uiSpinner_set_background(lua_State* L) {
13895  int SWIG_arg = 0;
13896  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13897  char *arg2 = (char *) 0 ;
13898 
13899  SWIG_check_num_args("uiSpinnerNode_t::set_background",2,2)
13900  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_background",1,"uiSpinnerNode_t *");
13901  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_background",2,"char const *");
13902 
13903  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13904  SWIG_fail_ptr("uiSpinner_set_background",1,SWIGTYPE_p_uiSpinnerNode_t);
13905  }
13906 
13907  arg2 = (char *)lua_tostring(L, 2);
13908  uiSpinnerNode_t_set_background(arg1,(char const *)arg2);
13909 
13910  return SWIG_arg;
13911 
13912  if(0) SWIG_fail;
13913 
13914 fail:
13915  lua_error(L);
13916  return SWIG_arg;
13917 }
13918 
13919 
13920 static int _wrap_uiSpinner_set_topicon(lua_State* L) {
13921  int SWIG_arg = 0;
13922  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13923  char *arg2 = (char *) 0 ;
13924 
13925  SWIG_check_num_args("uiSpinnerNode_t::set_topicon",2,2)
13926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",1,"uiSpinnerNode_t *");
13927  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",2,"char const *");
13928 
13929  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13930  SWIG_fail_ptr("uiSpinner_set_topicon",1,SWIGTYPE_p_uiSpinnerNode_t);
13931  }
13932 
13933  arg2 = (char *)lua_tostring(L, 2);
13934  uiSpinnerNode_t_set_topicon(arg1,(char const *)arg2);
13935 
13936  return SWIG_arg;
13937 
13938  if(0) SWIG_fail;
13939 
13940 fail:
13941  lua_error(L);
13942  return SWIG_arg;
13943 }
13944 
13945 
13946 static int _wrap_uiSpinner_set_bottomicon(lua_State* L) {
13947  int SWIG_arg = 0;
13948  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13949  char *arg2 = (char *) 0 ;
13950 
13951  SWIG_check_num_args("uiSpinnerNode_t::set_bottomicon",2,2)
13952  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",1,"uiSpinnerNode_t *");
13953  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",2,"char const *");
13954 
13955  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13956  SWIG_fail_ptr("uiSpinner_set_bottomicon",1,SWIGTYPE_p_uiSpinnerNode_t);
13957  }
13958 
13959  arg2 = (char *)lua_tostring(L, 2);
13960  uiSpinnerNode_t_set_bottomicon(arg1,(char const *)arg2);
13961 
13962  return SWIG_arg;
13963 
13964  if(0) SWIG_fail;
13965 
13966 fail:
13967  lua_error(L);
13968  return SWIG_arg;
13969 }
13970 
13971 
13972 static int _wrap_uiSpinner_set_mode(lua_State* L) {
13973  int SWIG_arg = 0;
13974  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13975  int arg2 ;
13976 
13977  SWIG_check_num_args("uiSpinnerNode_t::set_mode",2,2)
13978  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",1,"uiSpinnerNode_t *");
13979  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",2,"int");
13980 
13981  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13982  SWIG_fail_ptr("uiSpinner_set_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
13983  }
13984 
13985  arg2 = (int)lua_tonumber(L, 2);
13986  uiSpinnerNode_t_set_mode(arg1,arg2);
13987 
13988  return SWIG_arg;
13989 
13990  if(0) SWIG_fail;
13991 
13992 fail:
13993  lua_error(L);
13994  return SWIG_arg;
13995 }
13996 
13997 
13998 static int _wrap_uiSpinner_set_horizontal(lua_State* L) {
13999  int SWIG_arg = 0;
14000  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14001  bool arg2 ;
14002 
14003  SWIG_check_num_args("uiSpinnerNode_t::set_horizontal",2,2)
14004  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",1,"uiSpinnerNode_t *");
14005  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",2,"bool");
14006 
14007  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14008  SWIG_fail_ptr("uiSpinner_set_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
14009  }
14010 
14011  arg2 = (lua_toboolean(L, 2)!=0);
14012  uiSpinnerNode_t_set_horizontal(arg1,arg2);
14013 
14014  return SWIG_arg;
14015 
14016  if(0) SWIG_fail;
14017 
14018 fail:
14019  lua_error(L);
14020  return SWIG_arg;
14021 }
14022 
14023 
14024 static int _wrap_uiSpinner_set_inverted(lua_State* L) {
14025  int SWIG_arg = 0;
14026  uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14027  bool arg2 ;
14028 
14029  SWIG_check_num_args("uiSpinnerNode_t::set_inverted",2,2)
14030  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",1,"uiSpinnerNode_t *");
14031  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",2,"bool");
14032 
14033  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14034  SWIG_fail_ptr("uiSpinner_set_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
14035  }
14036 
14037  arg2 = (lua_toboolean(L, 2)!=0);
14038  uiSpinnerNode_t_set_inverted(arg1,arg2);
14039 
14040  return SWIG_arg;
14041 
14042  if(0) SWIG_fail;
14043 
14044 fail:
14045  lua_error(L);
14046  return SWIG_arg;
14047 }
14048 
14049 
14050 static int _wrap_new_uiSpinner(lua_State* L) {
14051  int SWIG_arg = 0;
14052  uiSpinnerNode_t *result = 0 ;
14053 
14054  SWIG_check_num_args("uiSpinnerNode_t::uiSpinnerNode_t",0,0)
14055  result = (uiSpinnerNode_t *)new uiSpinnerNode_t();
14056  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,1); SWIG_arg++;
14057  return SWIG_arg;
14058 
14059  if(0) SWIG_fail;
14060 
14061 fail:
14062  lua_error(L);
14063  return SWIG_arg;
14064 }
14065 
14066 
14067 static void swig_delete_uiSpinner(void *obj) {
14068 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) obj;
14069 delete arg1;
14070 }
14071 static int _proxy__wrap_new_uiSpinner(lua_State *L) {
14072  assert(lua_istable(L,1));
14073  lua_pushcfunction(L,_wrap_new_uiSpinner);
14074  assert(!lua_isnil(L,-1));
14075  lua_replace(L,1); /* replace our table with real constructor */
14076  lua_call(L,lua_gettop(L)-1,1);
14077  return 1;
14078 }
14080  {0,0,0}
14081 };
14082 static swig_lua_method swig_uiSpinner_methods[]= {
14083  { "is_horizontal", _wrap_uiSpinner_is_horizontal},
14084  { "is_inverted", _wrap_uiSpinner_is_inverted},
14085  { "mode", _wrap_uiSpinner_mode},
14086  { "set_background", _wrap_uiSpinner_set_background},
14087  { "set_topicon", _wrap_uiSpinner_set_topicon},
14088  { "set_bottomicon", _wrap_uiSpinner_set_bottomicon},
14089  { "set_mode", _wrap_uiSpinner_set_mode},
14090  { "set_horizontal", _wrap_uiSpinner_set_horizontal},
14091  { "set_inverted", _wrap_uiSpinner_set_inverted},
14092  {0,0}
14093 };
14094 static swig_lua_method swig_uiSpinner_meta[] = {
14095  {0,0}
14096 };
14097 
14099  {0,0,0}
14100 };
14101 static swig_lua_const_info swig_uiSpinner_Sf_SwigStatic_constants[]= {
14102  {0,0,0,0,0,0}
14103 };
14104 static swig_lua_method swig_uiSpinner_Sf_SwigStatic_methods[]= {
14105  {0,0}
14106 };
14108  0
14109 };
14110 
14112  "uiSpinner",
14117  0
14118 };
14120 static const char *swig_uiSpinner_base_names[] = {"uiAbstractValueNode_t *",0};
14122 
14123 static int _wrap_uiString_longlines(lua_State* L) {
14124  int SWIG_arg = 0;
14125  uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14126  int result;
14127 
14128  SWIG_check_num_args("uiStringNode_t::longlines",1,1)
14129  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::longlines",1,"uiStringNode_t *");
14130 
14131  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14132  SWIG_fail_ptr("uiString_longlines",1,SWIGTYPE_p_uiStringNode_t);
14133  }
14134 
14135  result = (int)uiStringNode_t_longlines(arg1);
14136  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14137  return SWIG_arg;
14138 
14139  if(0) SWIG_fail;
14140 
14141 fail:
14142  lua_error(L);
14143  return SWIG_arg;
14144 }
14145 
14146 
14147 static int _wrap_uiString_set_longlines(lua_State* L) {
14148  int SWIG_arg = 0;
14149  uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14150  int arg2 ;
14151 
14152  SWIG_check_num_args("uiStringNode_t::set_longlines",2,2)
14153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::set_longlines",1,"uiStringNode_t *");
14154  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiStringNode_t::set_longlines",2,"int");
14155 
14156  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14157  SWIG_fail_ptr("uiString_set_longlines",1,SWIGTYPE_p_uiStringNode_t);
14158  }
14159 
14160  arg2 = (int)lua_tonumber(L, 2);
14161  uiStringNode_t_set_longlines(arg1,arg2);
14162 
14163  return SWIG_arg;
14164 
14165  if(0) SWIG_fail;
14166 
14167 fail:
14168  lua_error(L);
14169  return SWIG_arg;
14170 }
14171 
14172 
14173 static int _wrap_new_uiString(lua_State* L) {
14174  int SWIG_arg = 0;
14175  uiStringNode_t *result = 0 ;
14176 
14177  SWIG_check_num_args("uiStringNode_t::uiStringNode_t",0,0)
14178  result = (uiStringNode_t *)new uiStringNode_t();
14179  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,1); SWIG_arg++;
14180  return SWIG_arg;
14181 
14182  if(0) SWIG_fail;
14183 
14184 fail:
14185  lua_error(L);
14186  return SWIG_arg;
14187 }
14188 
14189 
14190 static void swig_delete_uiString(void *obj) {
14191 uiStringNode_t *arg1 = (uiStringNode_t *) obj;
14192 delete arg1;
14193 }
14194 static int _proxy__wrap_new_uiString(lua_State *L) {
14195  assert(lua_istable(L,1));
14196  lua_pushcfunction(L,_wrap_new_uiString);
14197  assert(!lua_isnil(L,-1));
14198  lua_replace(L,1); /* replace our table with real constructor */
14199  lua_call(L,lua_gettop(L)-1,1);
14200  return 1;
14201 }
14203  {0,0,0}
14204 };
14205 static swig_lua_method swig_uiString_methods[]= {
14206  { "longlines", _wrap_uiString_longlines},
14207  { "set_longlines", _wrap_uiString_set_longlines},
14208  {0,0}
14209 };
14210 static swig_lua_method swig_uiString_meta[] = {
14211  {0,0}
14212 };
14213 
14215  {0,0,0}
14216 };
14217 static swig_lua_const_info swig_uiString_Sf_SwigStatic_constants[]= {
14218  {0,0,0,0,0,0}
14219 };
14220 static swig_lua_method swig_uiString_Sf_SwigStatic_methods[]= {
14221  {0,0}
14222 };
14224  0
14225 };
14226 
14228  "uiString",
14233  0
14234 };
14236 static const char *swig_uiString_base_names[] = {"uiNode_t *",0};
14238 
14239 static int _wrap_new_uiTab(lua_State* L) {
14240  int SWIG_arg = 0;
14241  uiTabNode_t *result = 0 ;
14242 
14243  SWIG_check_num_args("uiTabNode_t::uiTabNode_t",0,0)
14244  result = (uiTabNode_t *)new uiTabNode_t();
14245  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,1); SWIG_arg++;
14246  return SWIG_arg;
14247 
14248  if(0) SWIG_fail;
14249 
14250 fail:
14251  lua_error(L);
14252  return SWIG_arg;
14253 }
14254 
14255 
14256 static void swig_delete_uiTab(void *obj) {
14257 uiTabNode_t *arg1 = (uiTabNode_t *) obj;
14258 delete arg1;
14259 }
14260 static int _proxy__wrap_new_uiTab(lua_State *L) {
14261  assert(lua_istable(L,1));
14262  lua_pushcfunction(L,_wrap_new_uiTab);
14263  assert(!lua_isnil(L,-1));
14264  lua_replace(L,1); /* replace our table with real constructor */
14265  lua_call(L,lua_gettop(L)-1,1);
14266  return 1;
14267 }
14269  {0,0,0}
14270 };
14271 static swig_lua_method swig_uiTab_methods[]= {
14272  {0,0}
14273 };
14274 static swig_lua_method swig_uiTab_meta[] = {
14275  {0,0}
14276 };
14277 
14279  {0,0,0}
14280 };
14281 static swig_lua_const_info swig_uiTab_Sf_SwigStatic_constants[]= {
14282  {0,0,0,0,0,0}
14283 };
14284 static swig_lua_method swig_uiTab_Sf_SwigStatic_methods[]= {
14285  {0,0}
14286 };
14288  0
14289 };
14290 
14292  "uiTab",
14297  0
14298 };
14300 static const char *swig_uiTab_base_names[] = {"uiAbstractOptionNode_t *",0};
14302 
14303 static int _wrap_uiTBar_texh(lua_State* L) {
14304  int SWIG_arg = 0;
14305  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14306  vec2_struct_t *result = 0 ;
14307 
14308  SWIG_check_num_args("uiTBarNode_t::texh",1,1)
14309  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texh",1,"uiTBarNode_t *");
14310 
14311  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14312  SWIG_fail_ptr("uiTBar_texh",1,SWIGTYPE_p_uiTBarNode_t);
14313  }
14314 
14315  result = (vec2_struct_t *)uiTBarNode_t_texh(arg1);
14316  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14317  return SWIG_arg;
14318 
14319  if(0) SWIG_fail;
14320 
14321 fail:
14322  lua_error(L);
14323  return SWIG_arg;
14324 }
14325 
14326 
14327 static int _wrap_uiTBar_texl(lua_State* L) {
14328  int SWIG_arg = 0;
14329  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14330  vec2_struct_t *result = 0 ;
14331 
14332  SWIG_check_num_args("uiTBarNode_t::texl",1,1)
14333  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texl",1,"uiTBarNode_t *");
14334 
14335  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14336  SWIG_fail_ptr("uiTBar_texl",1,SWIGTYPE_p_uiTBarNode_t);
14337  }
14338 
14339  result = (vec2_struct_t *)uiTBarNode_t_texl(arg1);
14340  SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14341  return SWIG_arg;
14342 
14343  if(0) SWIG_fail;
14344 
14345 fail:
14346  lua_error(L);
14347  return SWIG_arg;
14348 }
14349 
14350 
14351 static int _wrap_uiTBar_set_source(lua_State* L) {
14352  int SWIG_arg = 0;
14353  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14354  char *arg2 = (char *) 0 ;
14355 
14356  SWIG_check_num_args("uiTBarNode_t::set_source",2,2)
14357  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_source",1,"uiTBarNode_t *");
14358  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTBarNode_t::set_source",2,"char const *");
14359 
14360  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14361  SWIG_fail_ptr("uiTBar_set_source",1,SWIGTYPE_p_uiTBarNode_t);
14362  }
14363 
14364  arg2 = (char *)lua_tostring(L, 2);
14365  uiTBarNode_t_set_source(arg1,(char const *)arg2);
14366 
14367  return SWIG_arg;
14368 
14369  if(0) SWIG_fail;
14370 
14371 fail:
14372  lua_error(L);
14373  return SWIG_arg;
14374 }
14375 
14376 
14377 static int _wrap_uiTBar_set_texh(lua_State* L) {
14378  int SWIG_arg = 0;
14379  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14380  float arg2 ;
14381  float arg3 ;
14382 
14383  SWIG_check_num_args("uiTBarNode_t::set_texh",3,3)
14384  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texh",1,"uiTBarNode_t *");
14385  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texh",2,"float");
14386  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texh",3,"float");
14387 
14388  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14389  SWIG_fail_ptr("uiTBar_set_texh",1,SWIGTYPE_p_uiTBarNode_t);
14390  }
14391 
14392  arg2 = (float)lua_tonumber(L, 2);
14393  arg3 = (float)lua_tonumber(L, 3);
14394  uiTBarNode_t_set_texh(arg1,arg2,arg3);
14395 
14396  return SWIG_arg;
14397 
14398  if(0) SWIG_fail;
14399 
14400 fail:
14401  lua_error(L);
14402  return SWIG_arg;
14403 }
14404 
14405 
14406 static int _wrap_uiTBar_set_texl(lua_State* L) {
14407  int SWIG_arg = 0;
14408  uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14409  float arg2 ;
14410  float arg3 ;
14411 
14412  SWIG_check_num_args("uiTBarNode_t::set_texl",3,3)
14413  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texl",1,"uiTBarNode_t *");
14414  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texl",2,"float");
14415  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texl",3,"float");
14416 
14417  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14418  SWIG_fail_ptr("uiTBar_set_texl",1,SWIGTYPE_p_uiTBarNode_t);
14419  }
14420 
14421  arg2 = (float)lua_tonumber(L, 2);
14422  arg3 = (float)lua_tonumber(L, 3);
14423  uiTBarNode_t_set_texl(arg1,arg2,arg3);
14424 
14425  return SWIG_arg;
14426 
14427  if(0) SWIG_fail;
14428 
14429 fail:
14430  lua_error(L);
14431  return SWIG_arg;
14432 }
14433 
14434 
14435 static int _wrap_new_uiTBar(lua_State* L) {
14436  int SWIG_arg = 0;
14437  uiTBarNode_t *result = 0 ;
14438 
14439  SWIG_check_num_args("uiTBarNode_t::uiTBarNode_t",0,0)
14440  result = (uiTBarNode_t *)new uiTBarNode_t();
14441  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,1); SWIG_arg++;
14442  return SWIG_arg;
14443 
14444  if(0) SWIG_fail;
14445 
14446 fail:
14447  lua_error(L);
14448  return SWIG_arg;
14449 }
14450 
14451 
14452 static void swig_delete_uiTBar(void *obj) {
14453 uiTBarNode_t *arg1 = (uiTBarNode_t *) obj;
14454 delete arg1;
14455 }
14456 static int _proxy__wrap_new_uiTBar(lua_State *L) {
14457  assert(lua_istable(L,1));
14458  lua_pushcfunction(L,_wrap_new_uiTBar);
14459  assert(!lua_isnil(L,-1));
14460  lua_replace(L,1); /* replace our table with real constructor */
14461  lua_call(L,lua_gettop(L)-1,1);
14462  return 1;
14463 }
14465  {0,0,0}
14466 };
14467 static swig_lua_method swig_uiTBar_methods[]= {
14468  { "texh", _wrap_uiTBar_texh},
14469  { "texl", _wrap_uiTBar_texl},
14470  { "set_source", _wrap_uiTBar_set_source},
14471  { "set_texh", _wrap_uiTBar_set_texh},
14472  { "set_texl", _wrap_uiTBar_set_texl},
14473  {0,0}
14474 };
14475 static swig_lua_method swig_uiTBar_meta[] = {
14476  {0,0}
14477 };
14478 
14480  {0,0,0}
14481 };
14482 static swig_lua_const_info swig_uiTBar_Sf_SwigStatic_constants[]= {
14483  {0,0,0,0,0,0}
14484 };
14485 static swig_lua_method swig_uiTBar_Sf_SwigStatic_methods[]= {
14486  {0,0}
14487 };
14489  0
14490 };
14491 
14493  "uiTBar",
14498  0
14499 };
14501 static const char *swig_uiTBar_base_names[] = {"uiAbstractValueNode_t *",0};
14503 
14504 static int _wrap_uiText_dataid(lua_State* L) {
14505  int SWIG_arg = 0;
14506  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14507  int result;
14508 
14509  SWIG_check_num_args("uiTextNode_t::dataid",1,1)
14510  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::dataid",1,"uiTextNode_t *");
14511 
14512  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14513  SWIG_fail_ptr("uiText_dataid",1,SWIGTYPE_p_uiTextNode_t);
14514  }
14515 
14516  result = (int)uiTextNode_t_dataid(arg1);
14517  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14518  return SWIG_arg;
14519 
14520  if(0) SWIG_fail;
14521 
14522 fail:
14523  lua_error(L);
14524  return SWIG_arg;
14525 }
14526 
14527 
14528 static int _wrap_uiText_lineheight(lua_State* L) {
14529  int SWIG_arg = 0;
14530  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14531  int result;
14532 
14533  SWIG_check_num_args("uiTextNode_t::lineheight",1,1)
14534  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineheight",1,"uiTextNode_t *");
14535 
14536  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14537  SWIG_fail_ptr("uiText_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14538  }
14539 
14540  result = (int)uiTextNode_t_lineheight(arg1);
14541  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14542  return SWIG_arg;
14543 
14544  if(0) SWIG_fail;
14545 
14546 fail:
14547  lua_error(L);
14548  return SWIG_arg;
14549 }
14550 
14551 
14552 static int _wrap_uiText_lineselected(lua_State* L) {
14553  int SWIG_arg = 0;
14554  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14555  int result;
14556 
14557  SWIG_check_num_args("uiTextNode_t::lineselected",1,1)
14558  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineselected",1,"uiTextNode_t *");
14559 
14560  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14561  SWIG_fail_ptr("uiText_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14562  }
14563 
14564  result = (int)uiTextNode_t_lineselected(arg1);
14565  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14566  return SWIG_arg;
14567 
14568  if(0) SWIG_fail;
14569 
14570 fail:
14571  lua_error(L);
14572  return SWIG_arg;
14573 }
14574 
14575 
14576 static int _wrap_uiText_longlines(lua_State* L) {
14577  int SWIG_arg = 0;
14578  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14579  int result;
14580 
14581  SWIG_check_num_args("uiTextNode_t::longlines",1,1)
14582  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::longlines",1,"uiTextNode_t *");
14583 
14584  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14585  SWIG_fail_ptr("uiText_longlines",1,SWIGTYPE_p_uiTextNode_t);
14586  }
14587 
14588  result = (int)uiTextNode_t_longlines(arg1);
14589  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14590  return SWIG_arg;
14591 
14592  if(0) SWIG_fail;
14593 
14594 fail:
14595  lua_error(L);
14596  return SWIG_arg;
14597 }
14598 
14599 
14600 static int _wrap_uiText_textselected(lua_State* L) {
14601  int SWIG_arg = 0;
14602  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14603  char *result = 0 ;
14604 
14605  SWIG_check_num_args("uiTextNode_t::textselected",1,1)
14606  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::textselected",1,"uiTextNode_t *");
14607 
14608  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14609  SWIG_fail_ptr("uiText_textselected",1,SWIGTYPE_p_uiTextNode_t);
14610  }
14611 
14612  result = (char *)uiTextNode_t_textselected(arg1);
14613  lua_pushstring(L,(const char *)result); SWIG_arg++;
14614  return SWIG_arg;
14615 
14616  if(0) SWIG_fail;
14617 
14618 fail:
14619  lua_error(L);
14620  return SWIG_arg;
14621 }
14622 
14623 
14624 static int _wrap_uiText_tabwidth(lua_State* L) {
14625  int SWIG_arg = 0;
14626  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14627  int result;
14628 
14629  SWIG_check_num_args("uiTextNode_t::tabwidth",1,1)
14630  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::tabwidth",1,"uiTextNode_t *");
14631 
14632  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14633  SWIG_fail_ptr("uiText_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14634  }
14635 
14636  result = (int)uiTextNode_t_tabwidth(arg1);
14637  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14638  return SWIG_arg;
14639 
14640  if(0) SWIG_fail;
14641 
14642 fail:
14643  lua_error(L);
14644  return SWIG_arg;
14645 }
14646 
14647 
14648 static int _wrap_uiText_set_dataid(lua_State* L) {
14649  int SWIG_arg = 0;
14650  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14651  int arg2 ;
14652 
14653  SWIG_check_num_args("uiTextNode_t::set_dataid",2,2)
14654  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_dataid",1,"uiTextNode_t *");
14655  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_dataid",2,"int");
14656 
14657  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14658  SWIG_fail_ptr("uiText_set_dataid",1,SWIGTYPE_p_uiTextNode_t);
14659  }
14660 
14661  arg2 = (int)lua_tonumber(L, 2);
14662  uiTextNode_t_set_dataid(arg1,arg2);
14663 
14664  return SWIG_arg;
14665 
14666  if(0) SWIG_fail;
14667 
14668 fail:
14669  lua_error(L);
14670  return SWIG_arg;
14671 }
14672 
14673 
14674 static int _wrap_uiText_set_longlines(lua_State* L) {
14675  int SWIG_arg = 0;
14676  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14677  int arg2 ;
14678 
14679  SWIG_check_num_args("uiTextNode_t::set_longlines",2,2)
14680  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_longlines",1,"uiTextNode_t *");
14681  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_longlines",2,"int");
14682 
14683  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14684  SWIG_fail_ptr("uiText_set_longlines",1,SWIGTYPE_p_uiTextNode_t);
14685  }
14686 
14687  arg2 = (int)lua_tonumber(L, 2);
14688  uiTextNode_t_set_longlines(arg1,arg2);
14689 
14690  return SWIG_arg;
14691 
14692  if(0) SWIG_fail;
14693 
14694 fail:
14695  lua_error(L);
14696  return SWIG_arg;
14697 }
14698 
14699 
14700 static int _wrap_uiText_set_lineheight(lua_State* L) {
14701  int SWIG_arg = 0;
14702  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14703  int arg2 ;
14704 
14705  SWIG_check_num_args("uiTextNode_t::set_lineheight",2,2)
14706  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineheight",1,"uiTextNode_t *");
14707  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineheight",2,"int");
14708 
14709  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14710  SWIG_fail_ptr("uiText_set_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14711  }
14712 
14713  arg2 = (int)lua_tonumber(L, 2);
14714  uiTextNode_t_set_lineheight(arg1,arg2);
14715 
14716  return SWIG_arg;
14717 
14718  if(0) SWIG_fail;
14719 
14720 fail:
14721  lua_error(L);
14722  return SWIG_arg;
14723 }
14724 
14725 
14726 static int _wrap_uiText_set_lineselected(lua_State* L) {
14727  int SWIG_arg = 0;
14728  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14729  int arg2 ;
14730 
14731  SWIG_check_num_args("uiTextNode_t::set_lineselected",2,2)
14732  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineselected",1,"uiTextNode_t *");
14733  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineselected",2,"int");
14734 
14735  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14736  SWIG_fail_ptr("uiText_set_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14737  }
14738 
14739  arg2 = (int)lua_tonumber(L, 2);
14740  uiTextNode_t_set_lineselected(arg1,arg2);
14741 
14742  return SWIG_arg;
14743 
14744  if(0) SWIG_fail;
14745 
14746 fail:
14747  lua_error(L);
14748  return SWIG_arg;
14749 }
14750 
14751 
14752 static int _wrap_uiText_set_tabwidth(lua_State* L) {
14753  int SWIG_arg = 0;
14754  uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14755  int arg2 ;
14756 
14757  SWIG_check_num_args("uiTextNode_t::set_tabwidth",2,2)
14758  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",1,"uiTextNode_t *");
14759  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",2,"int");
14760 
14761  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14762  SWIG_fail_ptr("uiText_set_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14763  }
14764 
14765  arg2 = (int)lua_tonumber(L, 2);
14766  uiTextNode_t_set_tabwidth(arg1,arg2);
14767 
14768  return SWIG_arg;
14769 
14770  if(0) SWIG_fail;
14771 
14772 fail:
14773  lua_error(L);
14774  return SWIG_arg;
14775 }
14776 
14777 
14778 static int _wrap_new_uiText(lua_State* L) {
14779  int SWIG_arg = 0;
14780  uiTextNode_t *result = 0 ;
14781 
14782  SWIG_check_num_args("uiTextNode_t::uiTextNode_t",0,0)
14783  result = (uiTextNode_t *)new uiTextNode_t();
14784  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,1); SWIG_arg++;
14785  return SWIG_arg;
14786 
14787  if(0) SWIG_fail;
14788 
14789 fail:
14790  lua_error(L);
14791  return SWIG_arg;
14792 }
14793 
14794 
14795 static void swig_delete_uiText(void *obj) {
14796 uiTextNode_t *arg1 = (uiTextNode_t *) obj;
14797 delete arg1;
14798 }
14799 static int _proxy__wrap_new_uiText(lua_State *L) {
14800  assert(lua_istable(L,1));
14801  lua_pushcfunction(L,_wrap_new_uiText);
14802  assert(!lua_isnil(L,-1));
14803  lua_replace(L,1); /* replace our table with real constructor */
14804  lua_call(L,lua_gettop(L)-1,1);
14805  return 1;
14806 }
14808  {0,0,0}
14809 };
14810 static swig_lua_method swig_uiText_methods[]= {
14811  { "dataid", _wrap_uiText_dataid},
14812  { "lineheight", _wrap_uiText_lineheight},
14813  { "lineselected", _wrap_uiText_lineselected},
14814  { "longlines", _wrap_uiText_longlines},
14815  { "textselected", _wrap_uiText_textselected},
14816  { "tabwidth", _wrap_uiText_tabwidth},
14817  { "set_dataid", _wrap_uiText_set_dataid},
14818  { "set_longlines", _wrap_uiText_set_longlines},
14819  { "set_lineheight", _wrap_uiText_set_lineheight},
14820  { "set_lineselected", _wrap_uiText_set_lineselected},
14821  { "set_tabwidth", _wrap_uiText_set_tabwidth},
14822  {0,0}
14823 };
14824 static swig_lua_method swig_uiText_meta[] = {
14825  {0,0}
14826 };
14827 
14829  {0,0,0}
14830 };
14831 static swig_lua_const_info swig_uiText_Sf_SwigStatic_constants[]= {
14832  {0,0,0,0,0,0}
14833 };
14834 static swig_lua_method swig_uiText_Sf_SwigStatic_methods[]= {
14835  {0,0}
14836 };
14838  0
14839 };
14840 
14842  "uiText",
14847  0
14848 };
14850 static const char *swig_uiText_base_names[] = {"uiAbstractScrollableNode_t *",0};
14852 
14853 static int _wrap_new_uiText2(lua_State* L) {
14854  int SWIG_arg = 0;
14855  uiText2Node_t *result = 0 ;
14856 
14857  SWIG_check_num_args("uiText2Node_t::uiText2Node_t",0,0)
14858  result = (uiText2Node_t *)new uiText2Node_t();
14859  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,1); SWIG_arg++;
14860  return SWIG_arg;
14861 
14862  if(0) SWIG_fail;
14863 
14864 fail:
14865  lua_error(L);
14866  return SWIG_arg;
14867 }
14868 
14869 
14870 static void swig_delete_uiText2(void *obj) {
14871 uiText2Node_t *arg1 = (uiText2Node_t *) obj;
14872 delete arg1;
14873 }
14874 static int _proxy__wrap_new_uiText2(lua_State *L) {
14875  assert(lua_istable(L,1));
14876  lua_pushcfunction(L,_wrap_new_uiText2);
14877  assert(!lua_isnil(L,-1));
14878  lua_replace(L,1); /* replace our table with real constructor */
14879  lua_call(L,lua_gettop(L)-1,1);
14880  return 1;
14881 }
14883  {0,0,0}
14884 };
14885 static swig_lua_method swig_uiText2_methods[]= {
14886  {0,0}
14887 };
14888 static swig_lua_method swig_uiText2_meta[] = {
14889  {0,0}
14890 };
14891 
14893  {0,0,0}
14894 };
14895 static swig_lua_const_info swig_uiText2_Sf_SwigStatic_constants[]= {
14896  {0,0,0,0,0,0}
14897 };
14898 static swig_lua_method swig_uiText2_Sf_SwigStatic_methods[]= {
14899  {0,0}
14900 };
14902  0
14903 };
14904 
14906  "uiText2",
14911  0
14912 };
14914 static const char *swig_uiText2_base_names[] = {"uiTextNode_t *",0};
14916 
14917 static int _wrap_uiTextEntry_is_password(lua_State* L) {
14918  int SWIG_arg = 0;
14919  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14920  bool result;
14921 
14922  SWIG_check_num_args("uiTextEntryNode_t::is_password",1,1)
14923  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_password",1,"uiTextEntryNode_t *");
14924 
14925  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
14926  SWIG_fail_ptr("uiTextEntry_is_password",1,SWIGTYPE_p_uiTextEntryNode_t);
14927  }
14928 
14929  result = (bool)uiTextEntryNode_t_is_password(arg1);
14930  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
14931  return SWIG_arg;
14932 
14933  if(0) SWIG_fail;
14934 
14935 fail:
14936  lua_error(L);
14937  return SWIG_arg;
14938 }
14939 
14940 
14941 static int _wrap_uiTextEntry_is_clickoutabort(lua_State* L) {
14942  int SWIG_arg = 0;
14943  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14944  bool result;
14945 
14946  SWIG_check_num_args("uiTextEntryNode_t::is_clickoutabort",1,1)
14947  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_clickoutabort",1,"uiTextEntryNode_t *");
14948 
14949  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
14950  SWIG_fail_ptr("uiTextEntry_is_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
14951  }
14952 
14953  result = (bool)uiTextEntryNode_t_is_clickoutabort(arg1);
14954  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
14955  return SWIG_arg;
14956 
14957  if(0) SWIG_fail;
14958 
14959 fail:
14960  lua_error(L);
14961  return SWIG_arg;
14962 }
14963 
14964 
14965 static int _wrap_uiTextEntry_cursorposition(lua_State* L) {
14966  int SWIG_arg = 0;
14967  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14968  int result;
14969 
14970  SWIG_check_num_args("uiTextEntryNode_t::cursorposition",1,1)
14971  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::cursorposition",1,"uiTextEntryNode_t *");
14972 
14973  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
14974  SWIG_fail_ptr("uiTextEntry_cursorposition",1,SWIGTYPE_p_uiTextEntryNode_t);
14975  }
14976 
14977  result = (int)uiTextEntryNode_t_cursorposition(arg1);
14978  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14979  return SWIG_arg;
14980 
14981  if(0) SWIG_fail;
14982 
14983 fail:
14984  lua_error(L);
14985  return SWIG_arg;
14986 }
14987 
14988 
14989 static int _wrap_uiTextEntry_set_password(lua_State* L) {
14990  int SWIG_arg = 0;
14991  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14992  bool arg2 ;
14993 
14994  SWIG_check_num_args("uiTextEntryNode_t::set_password",2,2)
14995  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_password",1,"uiTextEntryNode_t *");
14996  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_password",2,"bool");
14997 
14998  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
14999  SWIG_fail_ptr("uiTextEntry_set_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15000  }
15001 
15002  arg2 = (lua_toboolean(L, 2)!=0);
15003  uiTextEntryNode_t_set_password(arg1,arg2);
15004 
15005  return SWIG_arg;
15006 
15007  if(0) SWIG_fail;
15008 
15009 fail:
15010  lua_error(L);
15011  return SWIG_arg;
15012 }
15013 
15014 
15015 static int _wrap_uiTextEntry_set_clickoutabort(lua_State* L) {
15016  int SWIG_arg = 0;
15017  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15018  bool arg2 ;
15019 
15020  SWIG_check_num_args("uiTextEntryNode_t::set_clickoutabort",2,2)
15021  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",1,"uiTextEntryNode_t *");
15022  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",2,"bool");
15023 
15024  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15025  SWIG_fail_ptr("uiTextEntry_set_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15026  }
15027 
15028  arg2 = (lua_toboolean(L, 2)!=0);
15030 
15031  return SWIG_arg;
15032 
15033  if(0) SWIG_fail;
15034 
15035 fail:
15036  lua_error(L);
15037  return SWIG_arg;
15038 }
15039 
15040 
15041 static int _wrap_uiTextEntry_set_background(lua_State* L) {
15042  int SWIG_arg = 0;
15043  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15044  char *arg2 = (char *) 0 ;
15045 
15046  SWIG_check_num_args("uiTextEntryNode_t::set_background",2,2)
15047  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_background",1,"uiTextEntryNode_t *");
15048  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_background",2,"char const *");
15049 
15050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15051  SWIG_fail_ptr("uiTextEntry_set_background",1,SWIGTYPE_p_uiTextEntryNode_t);
15052  }
15053 
15054  arg2 = (char *)lua_tostring(L, 2);
15055  uiTextEntryNode_t_set_background(arg1,(char const *)arg2);
15056 
15057  return SWIG_arg;
15058 
15059  if(0) SWIG_fail;
15060 
15061 fail:
15062  lua_error(L);
15063  return SWIG_arg;
15064 }
15065 
15066 
15067 static int _wrap_uiTextEntry_focus(lua_State* L) {
15068  int SWIG_arg = 0;
15069  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15070 
15071  SWIG_check_num_args("uiTextEntryNode_t::focus",1,1)
15072  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::focus",1,"uiTextEntryNode_t *");
15073 
15074  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15075  SWIG_fail_ptr("uiTextEntry_focus",1,SWIGTYPE_p_uiTextEntryNode_t);
15076  }
15077 
15079 
15080  return SWIG_arg;
15081 
15082  if(0) SWIG_fail;
15083 
15084 fail:
15085  lua_error(L);
15086  return SWIG_arg;
15087 }
15088 
15089 
15090 static int _wrap_uiTextEntry_unfocus(lua_State* L) {
15091  int SWIG_arg = 0;
15092  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15093 
15094  SWIG_check_num_args("uiTextEntryNode_t::unfocus",1,1)
15095  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::unfocus",1,"uiTextEntryNode_t *");
15096 
15097  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15098  SWIG_fail_ptr("uiTextEntry_unfocus",1,SWIGTYPE_p_uiTextEntryNode_t);
15099  }
15100 
15102 
15103  return SWIG_arg;
15104 
15105  if(0) SWIG_fail;
15106 
15107 fail:
15108  lua_error(L);
15109  return SWIG_arg;
15110 }
15111 
15112 
15113 static int _wrap_uiTextEntry_on_textabort_set(lua_State* L) {
15114  int SWIG_arg = 0;
15115  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15116  LUA_EVENT arg2 ;
15117 
15118  SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",2,2)
15119  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15120 
15121  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15122  SWIG_fail_ptr("uiTextEntry_on_textabort_set",1,SWIGTYPE_p_uiTextEntryNode_t);
15123  }
15124 
15125  {
15126  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15127  }
15129 
15130  return SWIG_arg;
15131 
15132  if(0) SWIG_fail;
15133 
15134 fail:
15135  lua_error(L);
15136  return SWIG_arg;
15137 }
15138 
15139 
15140 static int _wrap_uiTextEntry_on_textabort_get(lua_State* L) {
15141  int SWIG_arg = 0;
15142  uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15143  LUA_EVENT result;
15144 
15145  SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",1,1)
15146  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15147 
15148  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15149  SWIG_fail_ptr("uiTextEntry_on_textabort_get",1,SWIGTYPE_p_uiTextEntryNode_t);
15150  }
15151 
15153  {
15154  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15155  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
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_new_uiTextEntry(lua_State* L) {
15168  int SWIG_arg = 0;
15169  uiTextEntryNode_t *result = 0 ;
15170 
15171  SWIG_check_num_args("uiTextEntryNode_t::uiTextEntryNode_t",0,0)
15172  result = (uiTextEntryNode_t *)new uiTextEntryNode_t();
15173  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,1); SWIG_arg++;
15174  return SWIG_arg;
15175 
15176  if(0) SWIG_fail;
15177 
15178 fail:
15179  lua_error(L);
15180  return SWIG_arg;
15181 }
15182 
15183 
15184 static void swig_delete_uiTextEntry(void *obj) {
15185 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) obj;
15186 delete arg1;
15187 }
15188 static int _proxy__wrap_new_uiTextEntry(lua_State *L) {
15189  assert(lua_istable(L,1));
15190  lua_pushcfunction(L,_wrap_new_uiTextEntry);
15191  assert(!lua_isnil(L,-1));
15192  lua_replace(L,1); /* replace our table with real constructor */
15193  lua_call(L,lua_gettop(L)-1,1);
15194  return 1;
15195 }
15198  {0,0,0}
15199 };
15200 static swig_lua_method swig_uiTextEntry_methods[]= {
15201  { "is_password", _wrap_uiTextEntry_is_password},
15202  { "is_clickoutabort", _wrap_uiTextEntry_is_clickoutabort},
15203  { "cursorposition", _wrap_uiTextEntry_cursorposition},
15204  { "set_password", _wrap_uiTextEntry_set_password},
15205  { "set_clickoutabort", _wrap_uiTextEntry_set_clickoutabort},
15206  { "set_background", _wrap_uiTextEntry_set_background},
15207  { "focus", _wrap_uiTextEntry_focus},
15208  { "unfocus", _wrap_uiTextEntry_unfocus},
15209  {0,0}
15210 };
15211 static swig_lua_method swig_uiTextEntry_meta[] = {
15212  {0,0}
15213 };
15214 
15216  {0,0,0}
15217 };
15218 static swig_lua_const_info swig_uiTextEntry_Sf_SwigStatic_constants[]= {
15219  {0,0,0,0,0,0}
15220 };
15221 static swig_lua_method swig_uiTextEntry_Sf_SwigStatic_methods[]= {
15222  {0,0}
15223 };
15225  0
15226 };
15227 
15229  "uiTextEntry",
15234  0
15235 };
15237 static const char *swig_uiTextEntry_base_names[] = {"uiNode_t *",0};
15239 
15240 static int _wrap_new_uiTextList(lua_State* L) {
15241  int SWIG_arg = 0;
15242  uiTextListNode_t *result = 0 ;
15243 
15244  SWIG_check_num_args("uiTextListNode_t::uiTextListNode_t",0,0)
15245  result = (uiTextListNode_t *)new uiTextListNode_t();
15246  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,1); SWIG_arg++;
15247  return SWIG_arg;
15248 
15249  if(0) SWIG_fail;
15250 
15251 fail:
15252  lua_error(L);
15253  return SWIG_arg;
15254 }
15255 
15256 
15257 static void swig_delete_uiTextList(void *obj) {
15258 uiTextListNode_t *arg1 = (uiTextListNode_t *) obj;
15259 delete arg1;
15260 }
15261 static int _proxy__wrap_new_uiTextList(lua_State *L) {
15262  assert(lua_istable(L,1));
15263  lua_pushcfunction(L,_wrap_new_uiTextList);
15264  assert(!lua_isnil(L,-1));
15265  lua_replace(L,1); /* replace our table with real constructor */
15266  lua_call(L,lua_gettop(L)-1,1);
15267  return 1;
15268 }
15270  {0,0,0}
15271 };
15272 static swig_lua_method swig_uiTextList_methods[]= {
15273  {0,0}
15274 };
15275 static swig_lua_method swig_uiTextList_meta[] = {
15276  {0,0}
15277 };
15278 
15280  {0,0,0}
15281 };
15282 static swig_lua_const_info swig_uiTextList_Sf_SwigStatic_constants[]= {
15283  {0,0,0,0,0,0}
15284 };
15285 static swig_lua_method swig_uiTextList_Sf_SwigStatic_methods[]= {
15286  {0,0}
15287 };
15289  0
15290 };
15291 
15293  "uiTextList",
15298  0
15299 };
15301 static const char *swig_uiTextList_base_names[] = {"uiTextNode_t *",0};
15303 
15304 static int _wrap_uiTexture_set_source(lua_State* L) {
15305  int SWIG_arg = 0;
15306  uiTextureNode_t *arg1 = (uiTextureNode_t *) 0 ;
15307  char *arg2 = (char *) 0 ;
15308 
15309  SWIG_check_num_args("uiTextureNode_t::set_source",2,2)
15310  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextureNode_t::set_source",1,"uiTextureNode_t *");
15311  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextureNode_t::set_source",2,"char const *");
15312 
15313  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextureNode_t,0))){
15314  SWIG_fail_ptr("uiTexture_set_source",1,SWIGTYPE_p_uiTextureNode_t);
15315  }
15316 
15317  arg2 = (char *)lua_tostring(L, 2);
15318  uiTextureNode_t_set_source(arg1,(char const *)arg2);
15319 
15320  return SWIG_arg;
15321 
15322  if(0) SWIG_fail;
15323 
15324 fail:
15325  lua_error(L);
15326  return SWIG_arg;
15327 }
15328 
15329 
15330 static int _wrap_new_uiTexture(lua_State* L) {
15331  int SWIG_arg = 0;
15332  uiTextureNode_t *result = 0 ;
15333 
15334  SWIG_check_num_args("uiTextureNode_t::uiTextureNode_t",0,0)
15335  result = (uiTextureNode_t *)new uiTextureNode_t();
15336  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,1); SWIG_arg++;
15337  return SWIG_arg;
15338 
15339  if(0) SWIG_fail;
15340 
15341 fail:
15342  lua_error(L);
15343  return SWIG_arg;
15344 }
15345 
15346 
15347 static void swig_delete_uiTexture(void *obj) {
15348 uiTextureNode_t *arg1 = (uiTextureNode_t *) obj;
15349 delete arg1;
15350 }
15351 static int _proxy__wrap_new_uiTexture(lua_State *L) {
15352  assert(lua_istable(L,1));
15353  lua_pushcfunction(L,_wrap_new_uiTexture);
15354  assert(!lua_isnil(L,-1));
15355  lua_replace(L,1); /* replace our table with real constructor */
15356  lua_call(L,lua_gettop(L)-1,1);
15357  return 1;
15358 }
15360  {0,0,0}
15361 };
15362 static swig_lua_method swig_uiTexture_methods[]= {
15363  { "set_source", _wrap_uiTexture_set_source},
15364  {0,0}
15365 };
15366 static swig_lua_method swig_uiTexture_meta[] = {
15367  {0,0}
15368 };
15369 
15371  {0,0,0}
15372 };
15373 static swig_lua_const_info swig_uiTexture_Sf_SwigStatic_constants[]= {
15374  {0,0,0,0,0,0}
15375 };
15376 static swig_lua_method swig_uiTexture_Sf_SwigStatic_methods[]= {
15377  {0,0}
15378 };
15380  0
15381 };
15382 
15384  "uiTexture",
15389  0
15390 };
15392 static const char *swig_uiTexture_base_names[] = {"uiNode_t *",0};
15394 
15395 static int _wrap_uiTimer_timeout(lua_State* L) {
15396  int SWIG_arg = 0;
15397  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15398  int result;
15399 
15400  SWIG_check_num_args("uiTimerNode_t::timeout",1,1)
15401  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::timeout",1,"uiTimerNode_t *");
15402 
15403  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15404  SWIG_fail_ptr("uiTimer_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15405  }
15406 
15407  result = (int)uiTimerNode_t_timeout(arg1);
15408  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15409  return SWIG_arg;
15410 
15411  if(0) SWIG_fail;
15412 
15413 fail:
15414  lua_error(L);
15415  return SWIG_arg;
15416 }
15417 
15418 
15419 static int _wrap_uiTimer_set_timeout(lua_State* L) {
15420  int SWIG_arg = 0;
15421  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15422  int arg2 ;
15423 
15424  SWIG_check_num_args("uiTimerNode_t::set_timeout",2,2)
15425  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::set_timeout",1,"uiTimerNode_t *");
15426  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTimerNode_t::set_timeout",2,"int");
15427 
15428  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15429  SWIG_fail_ptr("uiTimer_set_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15430  }
15431 
15432  arg2 = (int)lua_tonumber(L, 2);
15433  uiTimerNode_t_set_timeout(arg1,arg2);
15434 
15435  return SWIG_arg;
15436 
15437  if(0) SWIG_fail;
15438 
15439 fail:
15440  lua_error(L);
15441  return SWIG_arg;
15442 }
15443 
15444 
15445 static int _wrap_uiTimer_lua_onEvent_set(lua_State* L) {
15446  int SWIG_arg = 0;
15447  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15448  LUA_EVENT arg2 ;
15449 
15450  SWIG_check_num_args("uiTimerNode_t::lua_onEvent",2,2)
15451  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15452 
15453  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15454  SWIG_fail_ptr("uiTimer_lua_onEvent_set",1,SWIGTYPE_p_uiTimerNode_t);
15455  }
15456 
15457  {
15458  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15459  }
15460  uiTimerNode_t_lua_onEvent_set(arg1,arg2);
15461 
15462  return SWIG_arg;
15463 
15464  if(0) SWIG_fail;
15465 
15466 fail:
15467  lua_error(L);
15468  return SWIG_arg;
15469 }
15470 
15471 
15472 static int _wrap_uiTimer_lua_onEvent_get(lua_State* L) {
15473  int SWIG_arg = 0;
15474  uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15475  LUA_EVENT result;
15476 
15477  SWIG_check_num_args("uiTimerNode_t::lua_onEvent",1,1)
15478  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15479 
15480  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15481  SWIG_fail_ptr("uiTimer_lua_onEvent_get",1,SWIGTYPE_p_uiTimerNode_t);
15482  }
15483 
15484  result = uiTimerNode_t_lua_onEvent_get(arg1);
15485  {
15486  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15487  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15488  }
15489  return SWIG_arg;
15490 
15491  if(0) SWIG_fail;
15492 
15493 fail:
15494  lua_error(L);
15495  return SWIG_arg;
15496 }
15497 
15498 
15499 static int _wrap_new_uiTimer(lua_State* L) {
15500  int SWIG_arg = 0;
15501  uiTimerNode_t *result = 0 ;
15502 
15503  SWIG_check_num_args("uiTimerNode_t::uiTimerNode_t",0,0)
15504  result = (uiTimerNode_t *)new uiTimerNode_t();
15505  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,1); SWIG_arg++;
15506  return SWIG_arg;
15507 
15508  if(0) SWIG_fail;
15509 
15510 fail:
15511  lua_error(L);
15512  return SWIG_arg;
15513 }
15514 
15515 
15516 static void swig_delete_uiTimer(void *obj) {
15517 uiTimerNode_t *arg1 = (uiTimerNode_t *) obj;
15518 delete arg1;
15519 }
15520 static int _proxy__wrap_new_uiTimer(lua_State *L) {
15521  assert(lua_istable(L,1));
15522  lua_pushcfunction(L,_wrap_new_uiTimer);
15523  assert(!lua_isnil(L,-1));
15524  lua_replace(L,1); /* replace our table with real constructor */
15525  lua_call(L,lua_gettop(L)-1,1);
15526  return 1;
15527 }
15530  {0,0,0}
15531 };
15532 static swig_lua_method swig_uiTimer_methods[]= {
15533  { "timeout", _wrap_uiTimer_timeout},
15534  { "set_timeout", _wrap_uiTimer_set_timeout},
15535  {0,0}
15536 };
15537 static swig_lua_method swig_uiTimer_meta[] = {
15538  {0,0}
15539 };
15540 
15542  {0,0,0}
15543 };
15544 static swig_lua_const_info swig_uiTimer_Sf_SwigStatic_constants[]= {
15545  {0,0,0,0,0,0}
15546 };
15547 static swig_lua_method swig_uiTimer_Sf_SwigStatic_methods[]= {
15548  {0,0}
15549 };
15551  0
15552 };
15553 
15555  "uiTimer",
15560  0
15561 };
15563 static const char *swig_uiTimer_base_names[] = {"uiNode_t *",0};
15565 
15566 static int _wrap_uiVideo_is_nosound(lua_State* L) {
15567  int SWIG_arg = 0;
15568  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15569  bool result;
15570 
15571  SWIG_check_num_args("uiVideoNode_t::is_nosound",1,1)
15572  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::is_nosound",1,"uiVideoNode_t *");
15573 
15574  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15575  SWIG_fail_ptr("uiVideo_is_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15576  }
15577 
15578  result = (bool)uiVideoNode_t_is_nosound(arg1);
15579  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15580  return SWIG_arg;
15581 
15582  if(0) SWIG_fail;
15583 
15584 fail:
15585  lua_error(L);
15586  return SWIG_arg;
15587 }
15588 
15589 
15590 static int _wrap_uiVideo_set_nosound(lua_State* L) {
15591  int SWIG_arg = 0;
15592  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15593  bool arg2 ;
15594 
15595  SWIG_check_num_args("uiVideoNode_t::set_nosound",2,2)
15596  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_nosound",1,"uiVideoNode_t *");
15597  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiVideoNode_t::set_nosound",2,"bool");
15598 
15599  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15600  SWIG_fail_ptr("uiVideo_set_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15601  }
15602 
15603  arg2 = (lua_toboolean(L, 2)!=0);
15604  uiVideoNode_t_set_nosound(arg1,arg2);
15605 
15606  return SWIG_arg;
15607 
15608  if(0) SWIG_fail;
15609 
15610 fail:
15611  lua_error(L);
15612  return SWIG_arg;
15613 }
15614 
15615 
15616 static int _wrap_uiVideo_set_source(lua_State* L) {
15617  int SWIG_arg = 0;
15618  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15619  char *arg2 = (char *) 0 ;
15620 
15621  SWIG_check_num_args("uiVideoNode_t::set_source",2,2)
15622  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_source",1,"uiVideoNode_t *");
15623  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiVideoNode_t::set_source",2,"char const *");
15624 
15625  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15626  SWIG_fail_ptr("uiVideo_set_source",1,SWIGTYPE_p_uiVideoNode_t);
15627  }
15628 
15629  arg2 = (char *)lua_tostring(L, 2);
15630  uiVideoNode_t_set_source(arg1,(char const *)arg2);
15631 
15632  return SWIG_arg;
15633 
15634  if(0) SWIG_fail;
15635 
15636 fail:
15637  lua_error(L);
15638  return SWIG_arg;
15639 }
15640 
15641 
15642 static int _wrap_uiVideo_lua_onEnd_set(lua_State* L) {
15643  int SWIG_arg = 0;
15644  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15645  LUA_EVENT arg2 ;
15646 
15647  SWIG_check_num_args("uiVideoNode_t::lua_onEnd",2,2)
15648  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15649 
15650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15651  SWIG_fail_ptr("uiVideo_lua_onEnd_set",1,SWIGTYPE_p_uiVideoNode_t);
15652  }
15653 
15654  {
15655  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15656  }
15657  uiVideoNode_t_lua_onEnd_set(arg1,arg2);
15658 
15659  return SWIG_arg;
15660 
15661  if(0) SWIG_fail;
15662 
15663 fail:
15664  lua_error(L);
15665  return SWIG_arg;
15666 }
15667 
15668 
15669 static int _wrap_uiVideo_lua_onEnd_get(lua_State* L) {
15670  int SWIG_arg = 0;
15671  uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15672  LUA_EVENT result;
15673 
15674  SWIG_check_num_args("uiVideoNode_t::lua_onEnd",1,1)
15675  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15676 
15677  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15678  SWIG_fail_ptr("uiVideo_lua_onEnd_get",1,SWIGTYPE_p_uiVideoNode_t);
15679  }
15680 
15681  result = uiVideoNode_t_lua_onEnd_get(arg1);
15682  {
15683  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15684  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15685  }
15686  return SWIG_arg;
15687 
15688  if(0) SWIG_fail;
15689 
15690 fail:
15691  lua_error(L);
15692  return SWIG_arg;
15693 }
15694 
15695 
15696 static int _wrap_new_uiVideo(lua_State* L) {
15697  int SWIG_arg = 0;
15698  uiVideoNode_t *result = 0 ;
15699 
15700  SWIG_check_num_args("uiVideoNode_t::uiVideoNode_t",0,0)
15701  result = (uiVideoNode_t *)new uiVideoNode_t();
15702  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,1); SWIG_arg++;
15703  return SWIG_arg;
15704 
15705  if(0) SWIG_fail;
15706 
15707 fail:
15708  lua_error(L);
15709  return SWIG_arg;
15710 }
15711 
15712 
15713 static void swig_delete_uiVideo(void *obj) {
15714 uiVideoNode_t *arg1 = (uiVideoNode_t *) obj;
15715 delete arg1;
15716 }
15717 static int _proxy__wrap_new_uiVideo(lua_State *L) {
15718  assert(lua_istable(L,1));
15719  lua_pushcfunction(L,_wrap_new_uiVideo);
15720  assert(!lua_isnil(L,-1));
15721  lua_replace(L,1); /* replace our table with real constructor */
15722  lua_call(L,lua_gettop(L)-1,1);
15723  return 1;
15724 }
15727  {0,0,0}
15728 };
15729 static swig_lua_method swig_uiVideo_methods[]= {
15730  { "is_nosound", _wrap_uiVideo_is_nosound},
15731  { "set_nosound", _wrap_uiVideo_set_nosound},
15732  { "set_source", _wrap_uiVideo_set_source},
15733  {0,0}
15734 };
15735 static swig_lua_method swig_uiVideo_meta[] = {
15736  {0,0}
15737 };
15738 
15740  {0,0,0}
15741 };
15742 static swig_lua_const_info swig_uiVideo_Sf_SwigStatic_constants[]= {
15743  {0,0,0,0,0,0}
15744 };
15745 static swig_lua_method swig_uiVideo_Sf_SwigStatic_methods[]= {
15746  {0,0}
15747 };
15749  0
15750 };
15751 
15753  "uiVideo",
15758  0
15759 };
15761 static const char *swig_uiVideo_base_names[] = {"uiNode_t *",0};
15763 
15764 static int _wrap_new_uiVScrollbar(lua_State* L) {
15765  int SWIG_arg = 0;
15766  uiVScrollBarNode_t *result = 0 ;
15767 
15768  SWIG_check_num_args("uiVScrollBarNode_t::uiVScrollBarNode_t",0,0)
15769  result = (uiVScrollBarNode_t *)new uiVScrollBarNode_t();
15770  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,1); SWIG_arg++;
15771  return SWIG_arg;
15772 
15773  if(0) SWIG_fail;
15774 
15775 fail:
15776  lua_error(L);
15777  return SWIG_arg;
15778 }
15779 
15780 
15781 static void swig_delete_uiVScrollbar(void *obj) {
15782 uiVScrollBarNode_t *arg1 = (uiVScrollBarNode_t *) obj;
15783 delete arg1;
15784 }
15785 static int _proxy__wrap_new_uiVScrollbar(lua_State *L) {
15786  assert(lua_istable(L,1));
15787  lua_pushcfunction(L,_wrap_new_uiVScrollbar);
15788  assert(!lua_isnil(L,-1));
15789  lua_replace(L,1); /* replace our table with real constructor */
15790  lua_call(L,lua_gettop(L)-1,1);
15791  return 1;
15792 }
15794  {0,0,0}
15795 };
15796 static swig_lua_method swig_uiVScrollbar_methods[]= {
15797  {0,0}
15798 };
15799 static swig_lua_method swig_uiVScrollbar_meta[] = {
15800  {0,0}
15801 };
15802 
15804  {0,0,0}
15805 };
15806 static swig_lua_const_info swig_uiVScrollbar_Sf_SwigStatic_constants[]= {
15807  {0,0,0,0,0,0}
15808 };
15809 static swig_lua_method swig_uiVScrollbar_Sf_SwigStatic_methods[]= {
15810  {0,0}
15811 };
15813  0
15814 };
15815 
15817  "uiVScrollbar",
15822  0
15823 };
15825 static const char *swig_uiVScrollbar_base_names[] = {"uiAbstractScrollbarNode_t *",0};
15827 
15828 static int _wrap_new_uiWidget(lua_State* L) {
15829  int SWIG_arg = 0;
15830  uiWidgetNode_t *result = 0 ;
15831 
15832  SWIG_check_num_args("uiWidgetNode_t::uiWidgetNode_t",0,0)
15833  result = (uiWidgetNode_t *)new uiWidgetNode_t();
15834  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,1); SWIG_arg++;
15835  return SWIG_arg;
15836 
15837  if(0) SWIG_fail;
15838 
15839 fail:
15840  lua_error(L);
15841  return SWIG_arg;
15842 }
15843 
15844 
15845 static void swig_delete_uiWidget(void *obj) {
15846 uiWidgetNode_t *arg1 = (uiWidgetNode_t *) obj;
15847 delete arg1;
15848 }
15849 static int _proxy__wrap_new_uiWidget(lua_State *L) {
15850  assert(lua_istable(L,1));
15851  lua_pushcfunction(L,_wrap_new_uiWidget);
15852  assert(!lua_isnil(L,-1));
15853  lua_replace(L,1); /* replace our table with real constructor */
15854  lua_call(L,lua_gettop(L)-1,1);
15855  return 1;
15856 }
15858  {0,0,0}
15859 };
15860 static swig_lua_method swig_uiWidget_methods[]= {
15861  {0,0}
15862 };
15863 static swig_lua_method swig_uiWidget_meta[] = {
15864  {0,0}
15865 };
15866 
15868  {0,0,0}
15869 };
15870 static swig_lua_const_info swig_uiWidget_Sf_SwigStatic_constants[]= {
15871  {0,0,0,0,0,0}
15872 };
15873 static swig_lua_method swig_uiWidget_Sf_SwigStatic_methods[]= {
15874  {0,0}
15875 };
15877  0
15878 };
15879 
15881  "uiWidget",
15886  0
15887 };
15889 static const char *swig_uiWidget_base_names[] = {"uiImageNode_t *",0};
15891 
15892 static int _wrap_uiWindow_is_fullscreen(lua_State* L) {
15893  int SWIG_arg = 0;
15894  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15895  bool result;
15896 
15897  SWIG_check_num_args("uiWindowNode_t::is_fullscreen",1,1)
15898  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_fullscreen",1,"uiWindowNode_t *");
15899 
15900  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15901  SWIG_fail_ptr("uiWindow_is_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
15902  }
15903 
15904  result = (bool)uiWindowNode_t_is_fullscreen(arg1);
15905  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15906  return SWIG_arg;
15907 
15908  if(0) SWIG_fail;
15909 
15910 fail:
15911  lua_error(L);
15912  return SWIG_arg;
15913 }
15914 
15915 
15916 static int _wrap_uiWindow_is_modal(lua_State* L) {
15917  int SWIG_arg = 0;
15918  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15919  bool result;
15920 
15921  SWIG_check_num_args("uiWindowNode_t::is_modal",1,1)
15922  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_modal",1,"uiWindowNode_t *");
15923 
15924  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15925  SWIG_fail_ptr("uiWindow_is_modal",1,SWIGTYPE_p_uiWindowNode_t);
15926  }
15927 
15928  result = (bool)uiWindowNode_t_is_modal(arg1);
15929  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15930  return SWIG_arg;
15931 
15932  if(0) SWIG_fail;
15933 
15934 fail:
15935  lua_error(L);
15936  return SWIG_arg;
15937 }
15938 
15939 
15940 static int _wrap_uiWindow_is_starlayout(lua_State* L) {
15941  int SWIG_arg = 0;
15942  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15943  bool result;
15944 
15945  SWIG_check_num_args("uiWindowNode_t::is_starlayout",1,1)
15946  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_starlayout",1,"uiWindowNode_t *");
15947 
15948  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15949  SWIG_fail_ptr("uiWindow_is_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
15950  }
15951 
15952  result = (bool)uiWindowNode_t_is_starlayout(arg1);
15953  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15954  return SWIG_arg;
15955 
15956  if(0) SWIG_fail;
15957 
15958 fail:
15959  lua_error(L);
15960  return SWIG_arg;
15961 }
15962 
15963 
15964 static int _wrap_uiWindow_close(lua_State* L) {
15965  int SWIG_arg = 0;
15966  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15967 
15968  SWIG_check_num_args("uiWindowNode_t::close",1,1)
15969  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::close",1,"uiWindowNode_t *");
15970 
15971  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15972  SWIG_fail_ptr("uiWindow_close",1,SWIGTYPE_p_uiWindowNode_t);
15973  }
15974 
15975  uiWindowNode_t_close(arg1);
15976 
15977  return SWIG_arg;
15978 
15979  if(0) SWIG_fail;
15980 
15981 fail:
15982  lua_error(L);
15983  return SWIG_arg;
15984 }
15985 
15986 
15987 static int _wrap_uiWindow_open(lua_State* L) {
15988  int SWIG_arg = 0;
15989  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15990 
15991  SWIG_check_num_args("uiWindowNode_t::open",1,1)
15992  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::open",1,"uiWindowNode_t *");
15993 
15994  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15995  SWIG_fail_ptr("uiWindow_open",1,SWIGTYPE_p_uiWindowNode_t);
15996  }
15997 
15998  uiWindowNode_t_open(arg1);
15999 
16000  return SWIG_arg;
16001 
16002  if(0) SWIG_fail;
16003 
16004 fail:
16005  lua_error(L);
16006  return SWIG_arg;
16007 }
16008 
16009 
16010 static int _wrap_uiWindow_set_background(lua_State* L) {
16011  int SWIG_arg = 0;
16012  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16013  char *arg2 = (char *) 0 ;
16014 
16015  SWIG_check_num_args("uiWindowNode_t::set_background",2,2)
16016  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_background",1,"uiWindowNode_t *");
16017  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiWindowNode_t::set_background",2,"char const *");
16018 
16019  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16020  SWIG_fail_ptr("uiWindow_set_background",1,SWIGTYPE_p_uiWindowNode_t);
16021  }
16022 
16023  arg2 = (char *)lua_tostring(L, 2);
16024  uiWindowNode_t_set_background(arg1,(char const *)arg2);
16025 
16026  return SWIG_arg;
16027 
16028  if(0) SWIG_fail;
16029 
16030 fail:
16031  lua_error(L);
16032  return SWIG_arg;
16033 }
16034 
16035 
16036 static int _wrap_uiWindow_set_fullscreen(lua_State* L) {
16037  int SWIG_arg = 0;
16038  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16039  bool arg2 ;
16040 
16041  SWIG_check_num_args("uiWindowNode_t::set_fullscreen",2,2)
16042  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",1,"uiWindowNode_t *");
16043  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",2,"bool");
16044 
16045  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16046  SWIG_fail_ptr("uiWindow_set_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
16047  }
16048 
16049  arg2 = (lua_toboolean(L, 2)!=0);
16050  uiWindowNode_t_set_fullscreen(arg1,arg2);
16051 
16052  return SWIG_arg;
16053 
16054  if(0) SWIG_fail;
16055 
16056 fail:
16057  lua_error(L);
16058  return SWIG_arg;
16059 }
16060 
16061 
16062 static int _wrap_uiWindow_set_modal(lua_State* L) {
16063  int SWIG_arg = 0;
16064  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16065  bool arg2 ;
16066 
16067  SWIG_check_num_args("uiWindowNode_t::set_modal",2,2)
16068  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_modal",1,"uiWindowNode_t *");
16069  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_modal",2,"bool");
16070 
16071  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16072  SWIG_fail_ptr("uiWindow_set_modal",1,SWIGTYPE_p_uiWindowNode_t);
16073  }
16074 
16075  arg2 = (lua_toboolean(L, 2)!=0);
16076  uiWindowNode_t_set_modal(arg1,arg2);
16077 
16078  return SWIG_arg;
16079 
16080  if(0) SWIG_fail;
16081 
16082 fail:
16083  lua_error(L);
16084  return SWIG_arg;
16085 }
16086 
16087 
16088 static int _wrap_uiWindow_set_fill(lua_State* L) {
16089  int SWIG_arg = 0;
16090  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16091  bool arg2 ;
16092 
16093  SWIG_check_num_args("uiWindowNode_t::set_fill",2,2)
16094  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fill",1,"uiWindowNode_t *");
16095  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fill",2,"bool");
16096 
16097  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16098  SWIG_fail_ptr("uiWindow_set_fill",1,SWIGTYPE_p_uiWindowNode_t);
16099  }
16100 
16101  arg2 = (lua_toboolean(L, 2)!=0);
16102  uiWindowNode_t_set_fill(arg1,arg2);
16103 
16104  return SWIG_arg;
16105 
16106  if(0) SWIG_fail;
16107 
16108 fail:
16109  lua_error(L);
16110  return SWIG_arg;
16111 }
16112 
16113 
16114 static int _wrap_uiWindow_set_dragbutton(lua_State* L) {
16115  int SWIG_arg = 0;
16116  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16117  bool arg2 ;
16118 
16119  SWIG_check_num_args("uiWindowNode_t::set_dragbutton",2,2)
16120  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",1,"uiWindowNode_t *");
16121  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",2,"bool");
16122 
16123  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16124  SWIG_fail_ptr("uiWindow_set_dragbutton",1,SWIGTYPE_p_uiWindowNode_t);
16125  }
16126 
16127  arg2 = (lua_toboolean(L, 2)!=0);
16128  uiWindowNode_t_set_dragbutton(arg1,arg2);
16129 
16130  return SWIG_arg;
16131 
16132  if(0) SWIG_fail;
16133 
16134 fail:
16135  lua_error(L);
16136  return SWIG_arg;
16137 }
16138 
16139 
16140 static int _wrap_uiWindow_set_closebutton(lua_State* L) {
16141  int SWIG_arg = 0;
16142  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16143  bool arg2 ;
16144 
16145  SWIG_check_num_args("uiWindowNode_t::set_closebutton",2,2)
16146  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",1,"uiWindowNode_t *");
16147  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",2,"bool");
16148 
16149  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16150  SWIG_fail_ptr("uiWindow_set_closebutton",1,SWIGTYPE_p_uiWindowNode_t);
16151  }
16152 
16153  arg2 = (lua_toboolean(L, 2)!=0);
16154  uiWindowNode_t_set_closebutton(arg1,arg2);
16155 
16156  return SWIG_arg;
16157 
16158  if(0) SWIG_fail;
16159 
16160 fail:
16161  lua_error(L);
16162  return SWIG_arg;
16163 }
16164 
16165 
16166 static int _wrap_uiWindow_set_starlayout(lua_State* L) {
16167  int SWIG_arg = 0;
16168  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16169  bool arg2 ;
16170 
16171  SWIG_check_num_args("uiWindowNode_t::set_starlayout",2,2)
16172  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",1,"uiWindowNode_t *");
16173  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",2,"bool");
16174 
16175  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16176  SWIG_fail_ptr("uiWindow_set_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16177  }
16178 
16179  arg2 = (lua_toboolean(L, 2)!=0);
16180  uiWindowNode_t_set_starlayout(arg1,arg2);
16181 
16182  return SWIG_arg;
16183 
16184  if(0) SWIG_fail;
16185 
16186 fail:
16187  lua_error(L);
16188  return SWIG_arg;
16189 }
16190 
16191 
16192 static int _wrap_uiWindow_set_preventtypingescape(lua_State* L) {
16193  int SWIG_arg = 0;
16194  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16195  bool arg2 ;
16196 
16197  SWIG_check_num_args("uiWindowNode_t::set_preventtypingescape",2,2)
16198  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",1,"uiWindowNode_t *");
16199  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",2,"bool");
16200 
16201  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16202  SWIG_fail_ptr("uiWindow_set_preventtypingescape",1,SWIGTYPE_p_uiWindowNode_t);
16203  }
16204 
16205  arg2 = (lua_toboolean(L, 2)!=0);
16207 
16208  return SWIG_arg;
16209 
16210  if(0) SWIG_fail;
16211 
16212 fail:
16213  lua_error(L);
16214  return SWIG_arg;
16215 }
16216 
16217 
16218 static int _wrap_uiWindow_set_noticepos(lua_State* L) {
16219  int SWIG_arg = 0;
16220  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16221  float arg2 ;
16222  float arg3 ;
16223 
16224  SWIG_check_num_args("uiWindowNode_t::set_noticepos",3,3)
16225  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",1,"uiWindowNode_t *");
16226  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",2,"float");
16227  if(!lua_isnumber(L,3)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",3,"float");
16228 
16229  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16230  SWIG_fail_ptr("uiWindow_set_noticepos",1,SWIGTYPE_p_uiWindowNode_t);
16231  }
16232 
16233  arg2 = (float)lua_tonumber(L, 2);
16234  arg3 = (float)lua_tonumber(L, 3);
16235  uiWindowNode_t_set_noticepos(arg1,arg2,arg3);
16236 
16237  return SWIG_arg;
16238 
16239  if(0) SWIG_fail;
16240 
16241 fail:
16242  lua_error(L);
16243  return SWIG_arg;
16244 }
16245 
16246 
16247 static int _wrap_uiWindow_set_dropdown(lua_State* L) {
16248  int SWIG_arg = 0;
16249  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16250  bool arg2 ;
16251 
16252  SWIG_check_num_args("uiWindowNode_t::set_dropdown",2,2)
16253  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",1,"uiWindowNode_t *");
16254  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",2,"bool");
16255 
16256  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16257  SWIG_fail_ptr("uiWindow_set_dropdown",1,SWIGTYPE_p_uiWindowNode_t);
16258  }
16259 
16260  arg2 = (lua_toboolean(L, 2)!=0);
16261  uiWindowNode_t_set_dropdown(arg1,arg2);
16262 
16263  return SWIG_arg;
16264 
16265  if(0) SWIG_fail;
16266 
16267 fail:
16268  lua_error(L);
16269  return SWIG_arg;
16270 }
16271 
16272 
16273 static int _wrap_uiWindow_on_windowopened_set(lua_State* L) {
16274  int SWIG_arg = 0;
16275  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16276  LUA_EVENT arg2 ;
16277 
16278  SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",2,2)
16279  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16280 
16281  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16282  SWIG_fail_ptr("uiWindow_on_windowopened_set",1,SWIGTYPE_p_uiWindowNode_t);
16283  }
16284 
16285  {
16286  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16287  }
16289 
16290  return SWIG_arg;
16291 
16292  if(0) SWIG_fail;
16293 
16294 fail:
16295  lua_error(L);
16296  return SWIG_arg;
16297 }
16298 
16299 
16300 static int _wrap_uiWindow_on_windowopened_get(lua_State* L) {
16301  int SWIG_arg = 0;
16302  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16303  LUA_EVENT result;
16304 
16305  SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",1,1)
16306  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16307 
16308  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16309  SWIG_fail_ptr("uiWindow_on_windowopened_get",1,SWIGTYPE_p_uiWindowNode_t);
16310  }
16311 
16313  {
16314  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16315  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16316  }
16317  return SWIG_arg;
16318 
16319  if(0) SWIG_fail;
16320 
16321 fail:
16322  lua_error(L);
16323  return SWIG_arg;
16324 }
16325 
16326 
16327 static int _wrap_uiWindow_on_windowactivate_set(lua_State* L) {
16328  int SWIG_arg = 0;
16329  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16330  LUA_EVENT arg2 ;
16331 
16332  SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",2,2)
16333  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16334 
16335  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16336  SWIG_fail_ptr("uiWindow_on_windowactivate_set",1,SWIGTYPE_p_uiWindowNode_t);
16337  }
16338 
16339  {
16340  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16341  }
16343 
16344  return SWIG_arg;
16345 
16346  if(0) SWIG_fail;
16347 
16348 fail:
16349  lua_error(L);
16350  return SWIG_arg;
16351 }
16352 
16353 
16354 static int _wrap_uiWindow_on_windowactivate_get(lua_State* L) {
16355  int SWIG_arg = 0;
16356  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16357  LUA_EVENT result;
16358 
16359  SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",1,1)
16360  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16361 
16362  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16363  SWIG_fail_ptr("uiWindow_on_windowactivate_get",1,SWIGTYPE_p_uiWindowNode_t);
16364  }
16365 
16367  {
16368  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16369  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16370  }
16371  return SWIG_arg;
16372 
16373  if(0) SWIG_fail;
16374 
16375 fail:
16376  lua_error(L);
16377  return SWIG_arg;
16378 }
16379 
16380 
16381 static int _wrap_uiWindow_on_windowclosed_set(lua_State* L) {
16382  int SWIG_arg = 0;
16383  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16384  LUA_EVENT arg2 ;
16385 
16386  SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",2,2)
16387  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16388 
16389  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16390  SWIG_fail_ptr("uiWindow_on_windowclosed_set",1,SWIGTYPE_p_uiWindowNode_t);
16391  }
16392 
16393  {
16394  arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16395  }
16397 
16398  return SWIG_arg;
16399 
16400  if(0) SWIG_fail;
16401 
16402 fail:
16403  lua_error(L);
16404  return SWIG_arg;
16405 }
16406 
16407 
16408 static int _wrap_uiWindow_on_windowclosed_get(lua_State* L) {
16409  int SWIG_arg = 0;
16410  uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16411  LUA_EVENT result;
16412 
16413  SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",1,1)
16414  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16415 
16416  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16417  SWIG_fail_ptr("uiWindow_on_windowclosed_get",1,SWIGTYPE_p_uiWindowNode_t);
16418  }
16419 
16421  {
16422  LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16423  SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16424  }
16425  return SWIG_arg;
16426 
16427  if(0) SWIG_fail;
16428 
16429 fail:
16430  lua_error(L);
16431  return SWIG_arg;
16432 }
16433 
16434 
16435 static int _wrap_new_uiWindow(lua_State* L) {
16436  int SWIG_arg = 0;
16437  uiWindowNode_t *result = 0 ;
16438 
16439  SWIG_check_num_args("uiWindowNode_t::uiWindowNode_t",0,0)
16440  result = (uiWindowNode_t *)new uiWindowNode_t();
16441  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,1); SWIG_arg++;
16442  return SWIG_arg;
16443 
16444  if(0) SWIG_fail;
16445 
16446 fail:
16447  lua_error(L);
16448  return SWIG_arg;
16449 }
16450 
16451 
16452 static void swig_delete_uiWindow(void *obj) {
16453 uiWindowNode_t *arg1 = (uiWindowNode_t *) obj;
16454 delete arg1;
16455 }
16456 static int _proxy__wrap_new_uiWindow(lua_State *L) {
16457  assert(lua_istable(L,1));
16458  lua_pushcfunction(L,_wrap_new_uiWindow);
16459  assert(!lua_isnil(L,-1));
16460  lua_replace(L,1); /* replace our table with real constructor */
16461  lua_call(L,lua_gettop(L)-1,1);
16462  return 1;
16463 }
16468  {0,0,0}
16469 };
16470 static swig_lua_method swig_uiWindow_methods[]= {
16471  { "is_fullscreen", _wrap_uiWindow_is_fullscreen},
16472  { "is_modal", _wrap_uiWindow_is_modal},
16473  { "is_starlayout", _wrap_uiWindow_is_starlayout},
16474  { "close", _wrap_uiWindow_close},
16475  { "open", _wrap_uiWindow_open},
16476  { "set_background", _wrap_uiWindow_set_background},
16477  { "set_fullscreen", _wrap_uiWindow_set_fullscreen},
16478  { "set_modal", _wrap_uiWindow_set_modal},
16479  { "set_fill", _wrap_uiWindow_set_fill},
16480  { "set_dragbutton", _wrap_uiWindow_set_dragbutton},
16481  { "set_closebutton", _wrap_uiWindow_set_closebutton},
16482  { "set_starlayout", _wrap_uiWindow_set_starlayout},
16483  { "set_preventtypingescape", _wrap_uiWindow_set_preventtypingescape},
16484  { "set_noticepos", _wrap_uiWindow_set_noticepos},
16485  { "set_dropdown", _wrap_uiWindow_set_dropdown},
16486  {0,0}
16487 };
16488 static swig_lua_method swig_uiWindow_meta[] = {
16489  {0,0}
16490 };
16491 
16493  {0,0,0}
16494 };
16495 static swig_lua_const_info swig_uiWindow_Sf_SwigStatic_constants[]= {
16496  {0,0,0,0,0,0}
16497 };
16498 static swig_lua_method swig_uiWindow_Sf_SwigStatic_methods[]= {
16499  {0,0}
16500 };
16502  0
16503 };
16504 
16506  "uiWindow",
16511  0
16512 };
16514 static const char *swig_uiWindow_base_names[] = {"uiNode_t *",0};
16516 
16517 static int _wrap_uiZone_is_repeat(lua_State* L) {
16518  int SWIG_arg = 0;
16519  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16520  bool result;
16521 
16522  SWIG_check_num_args("uiZoneNode_t::is_repeat",1,1)
16523  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::is_repeat",1,"uiZoneNode_t *");
16524 
16525  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16526  SWIG_fail_ptr("uiZone_is_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16527  }
16528 
16529  result = (bool)uiZoneNode_t_is_repeat(arg1);
16530  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16531  return SWIG_arg;
16532 
16533  if(0) SWIG_fail;
16534 
16535 fail:
16536  lua_error(L);
16537  return SWIG_arg;
16538 }
16539 
16540 
16541 static int _wrap_uiZone_clickdelay(lua_State* L) {
16542  int SWIG_arg = 0;
16543  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16544  int result;
16545 
16546  SWIG_check_num_args("uiZoneNode_t::clickdelay",1,1)
16547  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::clickdelay",1,"uiZoneNode_t *");
16548 
16549  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16550  SWIG_fail_ptr("uiZone_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16551  }
16552 
16553  result = (int)uiZoneNode_t_clickdelay(arg1);
16554  lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16555  return SWIG_arg;
16556 
16557  if(0) SWIG_fail;
16558 
16559 fail:
16560  lua_error(L);
16561  return SWIG_arg;
16562 }
16563 
16564 
16565 static int _wrap_uiZone_set_repeat(lua_State* L) {
16566  int SWIG_arg = 0;
16567  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16568  bool arg2 ;
16569 
16570  SWIG_check_num_args("uiZoneNode_t::set_repeat",2,2)
16571  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_repeat",1,"uiZoneNode_t *");
16572  if(!lua_isboolean(L,2)) SWIG_fail_arg("uiZoneNode_t::set_repeat",2,"bool");
16573 
16574  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16575  SWIG_fail_ptr("uiZone_set_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16576  }
16577 
16578  arg2 = (lua_toboolean(L, 2)!=0);
16579  uiZoneNode_t_set_repeat(arg1,arg2);
16580 
16581  return SWIG_arg;
16582 
16583  if(0) SWIG_fail;
16584 
16585 fail:
16586  lua_error(L);
16587  return SWIG_arg;
16588 }
16589 
16590 
16591 static int _wrap_uiZone_set_clickdelay(lua_State* L) {
16592  int SWIG_arg = 0;
16593  uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16594  int arg2 ;
16595 
16596  SWIG_check_num_args("uiZoneNode_t::set_clickdelay",2,2)
16597  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",1,"uiZoneNode_t *");
16598  if(!lua_isnumber(L,2)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",2,"int");
16599 
16600  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16601  SWIG_fail_ptr("uiZone_set_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16602  }
16603 
16604  arg2 = (int)lua_tonumber(L, 2);
16605  uiZoneNode_t_set_clickdelay(arg1,arg2);
16606 
16607  return SWIG_arg;
16608 
16609  if(0) SWIG_fail;
16610 
16611 fail:
16612  lua_error(L);
16613  return SWIG_arg;
16614 }
16615 
16616 
16617 static int _wrap_new_uiZone(lua_State* L) {
16618  int SWIG_arg = 0;
16619  uiZoneNode_t *result = 0 ;
16620 
16621  SWIG_check_num_args("uiZoneNode_t::uiZoneNode_t",0,0)
16622  result = (uiZoneNode_t *)new uiZoneNode_t();
16623  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,1); SWIG_arg++;
16624  return SWIG_arg;
16625 
16626  if(0) SWIG_fail;
16627 
16628 fail:
16629  lua_error(L);
16630  return SWIG_arg;
16631 }
16632 
16633 
16634 static void swig_delete_uiZone(void *obj) {
16635 uiZoneNode_t *arg1 = (uiZoneNode_t *) obj;
16636 delete arg1;
16637 }
16638 static int _proxy__wrap_new_uiZone(lua_State *L) {
16639  assert(lua_istable(L,1));
16640  lua_pushcfunction(L,_wrap_new_uiZone);
16641  assert(!lua_isnil(L,-1));
16642  lua_replace(L,1); /* replace our table with real constructor */
16643  lua_call(L,lua_gettop(L)-1,1);
16644  return 1;
16645 }
16647  {0,0,0}
16648 };
16649 static swig_lua_method swig_uiZone_methods[]= {
16650  { "is_repeat", _wrap_uiZone_is_repeat},
16651  { "clickdelay", _wrap_uiZone_clickdelay},
16652  { "set_repeat", _wrap_uiZone_set_repeat},
16653  { "set_clickdelay", _wrap_uiZone_set_clickdelay},
16654  {0,0}
16655 };
16656 static swig_lua_method swig_uiZone_meta[] = {
16657  {0,0}
16658 };
16659 
16661  {0,0,0}
16662 };
16663 static swig_lua_const_info swig_uiZone_Sf_SwigStatic_constants[]= {
16664  {0,0,0,0,0,0}
16665 };
16666 static swig_lua_method swig_uiZone_Sf_SwigStatic_methods[]= {
16667  {0,0}
16668 };
16670  0
16671 };
16672 
16674  "uiZone",
16679  0
16680 };
16682 static const char *swig_uiZone_base_names[] = {"uiNode_t *",0};
16684 
16685 static int _wrap_create_control(lua_State* L) {
16686  int SWIG_arg = 0;
16687  uiNode_t *arg1 = (uiNode_t *) 0 ;
16688  char *arg2 = (char *) 0 ;
16689  char *arg3 = (char *) 0 ;
16690  char *arg4 = (char *) 0 ;
16691  uiNode_t *result = 0 ;
16692 
16693  SWIG_check_num_args("UI_CreateControl",4,4)
16694  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateControl",1,"uiNode_t *");
16695  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateControl",2,"char const *");
16696  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateControl",3,"char const *");
16697  if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("UI_CreateControl",4,"char const *");
16698 
16699  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16700  SWIG_fail_ptr("create_control",1,SWIGTYPE_p_uiNode_t);
16701  }
16702 
16703  arg2 = (char *)lua_tostring(L, 2);
16704  arg3 = (char *)lua_tostring(L, 3);
16705  arg4 = (char *)lua_tostring(L, 4);
16706  result = (uiNode_t *)UI_CreateControl(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
16707  {
16708  if (result) {
16709  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
16710  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
16711  } else {
16712  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
16713  }
16714  }
16715  return SWIG_arg;
16716 
16717  if(0) SWIG_fail;
16718 
16719 fail:
16720  lua_error(L);
16721  return SWIG_arg;
16722 }
16723 
16724 
16725 static int _wrap_UI_CreateBar(lua_State* L) {
16726  int SWIG_arg = 0;
16727  uiNode_t *arg1 = (uiNode_t *) 0 ;
16728  char *arg2 = (char *) 0 ;
16729  char *arg3 = (char *) 0 ;
16730  uiBarNode_t *result = 0 ;
16731 
16732  SWIG_check_num_args("UI_CreateBar",3,3)
16733  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
16734  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
16735  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
16736 
16737  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16738  SWIG_fail_ptr("UI_CreateBar",1,SWIGTYPE_p_uiNode_t);
16739  }
16740 
16741  arg2 = (char *)lua_tostring(L, 2);
16742  arg3 = (char *)lua_tostring(L, 3);
16743  result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
16744  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
16745  return SWIG_arg;
16746 
16747  if(0) SWIG_fail;
16748 
16749 fail:
16750  lua_error(L);
16751  return SWIG_arg;
16752 }
16753 
16754 
16755 static int _wrap_UI_CreateBaseLayout(lua_State* L) {
16756  int SWIG_arg = 0;
16757  uiNode_t *arg1 = (uiNode_t *) 0 ;
16758  char *arg2 = (char *) 0 ;
16759  char *arg3 = (char *) 0 ;
16760  uiBaseLayoutNode_t *result = 0 ;
16761 
16762  SWIG_check_num_args("UI_CreateBaseLayout",3,3)
16763  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
16764  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
16765  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
16766 
16767  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16768  SWIG_fail_ptr("UI_CreateBaseLayout",1,SWIGTYPE_p_uiNode_t);
16769  }
16770 
16771  arg2 = (char *)lua_tostring(L, 2);
16772  arg3 = (char *)lua_tostring(L, 3);
16773  result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
16774  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
16775  return SWIG_arg;
16776 
16777  if(0) SWIG_fail;
16778 
16779 fail:
16780  lua_error(L);
16781  return SWIG_arg;
16782 }
16783 
16784 
16785 static int _wrap_UI_CreateBaseInventory(lua_State* L) {
16786  int SWIG_arg = 0;
16787  uiNode_t *arg1 = (uiNode_t *) 0 ;
16788  char *arg2 = (char *) 0 ;
16789  char *arg3 = (char *) 0 ;
16790  uiBaseInventoryNode_t *result = 0 ;
16791 
16792  SWIG_check_num_args("UI_CreateBaseInventory",3,3)
16793  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
16794  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
16795  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
16796 
16797  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16798  SWIG_fail_ptr("UI_CreateBaseInventory",1,SWIGTYPE_p_uiNode_t);
16799  }
16800 
16801  arg2 = (char *)lua_tostring(L, 2);
16802  arg3 = (char *)lua_tostring(L, 3);
16803  result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
16804  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,0); SWIG_arg++;
16805  return SWIG_arg;
16806 
16807  if(0) SWIG_fail;
16808 
16809 fail:
16810  lua_error(L);
16811  return SWIG_arg;
16812 }
16813 
16814 
16815 static int _wrap_UI_CreateButton(lua_State* L) {
16816  int SWIG_arg = 0;
16817  uiNode_t *arg1 = (uiNode_t *) 0 ;
16818  char *arg2 = (char *) 0 ;
16819  char *arg3 = (char *) 0 ;
16820  uiButtonNode_t *result = 0 ;
16821 
16822  SWIG_check_num_args("UI_CreateButton",3,3)
16823  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
16824  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
16825  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
16826 
16827  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16828  SWIG_fail_ptr("UI_CreateButton",1,SWIGTYPE_p_uiNode_t);
16829  }
16830 
16831  arg2 = (char *)lua_tostring(L, 2);
16832  arg3 = (char *)lua_tostring(L, 3);
16833  result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
16834  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
16835  return SWIG_arg;
16836 
16837  if(0) SWIG_fail;
16838 
16839 fail:
16840  lua_error(L);
16841  return SWIG_arg;
16842 }
16843 
16844 
16845 static int _wrap_UI_CreateCheckBox(lua_State* L) {
16846  int SWIG_arg = 0;
16847  uiNode_t *arg1 = (uiNode_t *) 0 ;
16848  char *arg2 = (char *) 0 ;
16849  char *arg3 = (char *) 0 ;
16850  uiCheckBoxNode_t *result = 0 ;
16851 
16852  SWIG_check_num_args("UI_CreateCheckBox",3,3)
16853  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
16854  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
16855  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
16856 
16857  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16858  SWIG_fail_ptr("UI_CreateCheckBox",1,SWIGTYPE_p_uiNode_t);
16859  }
16860 
16861  arg2 = (char *)lua_tostring(L, 2);
16862  arg3 = (char *)lua_tostring(L, 3);
16863  result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
16864  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
16865  return SWIG_arg;
16866 
16867  if(0) SWIG_fail;
16868 
16869 fail:
16870  lua_error(L);
16871  return SWIG_arg;
16872 }
16873 
16874 
16875 static int _wrap_UI_CreateConFunc(lua_State* L) {
16876  int SWIG_arg = 0;
16877  uiNode_t *arg1 = (uiNode_t *) 0 ;
16878  char *arg2 = (char *) 0 ;
16879  char *arg3 = (char *) 0 ;
16880  uiConFuncNode_t *result = 0 ;
16881 
16882  SWIG_check_num_args("UI_CreateConFunc",3,3)
16883  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
16884  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
16885  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
16886 
16887  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16888  SWIG_fail_ptr("UI_CreateConFunc",1,SWIGTYPE_p_uiNode_t);
16889  }
16890 
16891  arg2 = (char *)lua_tostring(L, 2);
16892  arg3 = (char *)lua_tostring(L, 3);
16893  result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
16894  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
16895  return SWIG_arg;
16896 
16897  if(0) SWIG_fail;
16898 
16899 fail:
16900  lua_error(L);
16901  return SWIG_arg;
16902 }
16903 
16904 
16905 static int _wrap_UI_CreateContainer(lua_State* L) {
16906  int SWIG_arg = 0;
16907  uiNode_t *arg1 = (uiNode_t *) 0 ;
16908  char *arg2 = (char *) 0 ;
16909  char *arg3 = (char *) 0 ;
16910  uiContainerNode_t *result = 0 ;
16911 
16912  SWIG_check_num_args("UI_CreateContainer",3,3)
16913  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
16914  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
16915  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
16916 
16917  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16918  SWIG_fail_ptr("UI_CreateContainer",1,SWIGTYPE_p_uiNode_t);
16919  }
16920 
16921  arg2 = (char *)lua_tostring(L, 2);
16922  arg3 = (char *)lua_tostring(L, 3);
16923  result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
16924  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
16925  return SWIG_arg;
16926 
16927  if(0) SWIG_fail;
16928 
16929 fail:
16930  lua_error(L);
16931  return SWIG_arg;
16932 }
16933 
16934 
16935 static int _wrap_UI_CreateData(lua_State* L) {
16936  int SWIG_arg = 0;
16937  uiNode_t *arg1 = (uiNode_t *) 0 ;
16938  char *arg2 = (char *) 0 ;
16939  char *arg3 = (char *) 0 ;
16940  uiDataNode_t *result = 0 ;
16941 
16942  SWIG_check_num_args("UI_CreateData",3,3)
16943  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
16944  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
16945  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
16946 
16947  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16948  SWIG_fail_ptr("UI_CreateData",1,SWIGTYPE_p_uiNode_t);
16949  }
16950 
16951  arg2 = (char *)lua_tostring(L, 2);
16952  arg3 = (char *)lua_tostring(L, 3);
16953  result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
16954  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
16955  return SWIG_arg;
16956 
16957  if(0) SWIG_fail;
16958 
16959 fail:
16960  lua_error(L);
16961  return SWIG_arg;
16962 }
16963 
16964 
16965 static int _wrap_UI_CreateGeoscape(lua_State* L) {
16966  int SWIG_arg = 0;
16967  uiNode_t *arg1 = (uiNode_t *) 0 ;
16968  char *arg2 = (char *) 0 ;
16969  char *arg3 = (char *) 0 ;
16970  uiGeoscapeNode_t *result = 0 ;
16971 
16972  SWIG_check_num_args("UI_CreateGeoscape",3,3)
16973  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
16974  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
16975  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
16976 
16977  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16978  SWIG_fail_ptr("UI_CreateGeoscape",1,SWIGTYPE_p_uiNode_t);
16979  }
16980 
16981  arg2 = (char *)lua_tostring(L, 2);
16982  arg3 = (char *)lua_tostring(L, 3);
16983  result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
16984  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
16985  return SWIG_arg;
16986 
16987  if(0) SWIG_fail;
16988 
16989 fail:
16990  lua_error(L);
16991  return SWIG_arg;
16992 }
16993 
16994 
16995 static int _wrap_UI_CreateImage(lua_State* L) {
16996  int SWIG_arg = 0;
16997  uiNode_t *arg1 = (uiNode_t *) 0 ;
16998  char *arg2 = (char *) 0 ;
16999  char *arg3 = (char *) 0 ;
17000  uiImageNode_t *result = 0 ;
17001 
17002  SWIG_check_num_args("UI_CreateImage",3,3)
17003  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
17004  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
17005  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
17006 
17007  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17008  SWIG_fail_ptr("UI_CreateImage",1,SWIGTYPE_p_uiNode_t);
17009  }
17010 
17011  arg2 = (char *)lua_tostring(L, 2);
17012  arg3 = (char *)lua_tostring(L, 3);
17013  result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
17014  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
17015  return SWIG_arg;
17016 
17017  if(0) SWIG_fail;
17018 
17019 fail:
17020  lua_error(L);
17021  return SWIG_arg;
17022 }
17023 
17024 
17025 static int _wrap_UI_CreateItem(lua_State* L) {
17026  int SWIG_arg = 0;
17027  uiNode_t *arg1 = (uiNode_t *) 0 ;
17028  char *arg2 = (char *) 0 ;
17029  char *arg3 = (char *) 0 ;
17030  uiItemNode_t *result = 0 ;
17031 
17032  SWIG_check_num_args("UI_CreateItem",3,3)
17033  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
17034  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
17035  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
17036 
17037  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17038  SWIG_fail_ptr("UI_CreateItem",1,SWIGTYPE_p_uiNode_t);
17039  }
17040 
17041  arg2 = (char *)lua_tostring(L, 2);
17042  arg3 = (char *)lua_tostring(L, 3);
17043  result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
17044  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
17045  return SWIG_arg;
17046 
17047  if(0) SWIG_fail;
17048 
17049 fail:
17050  lua_error(L);
17051  return SWIG_arg;
17052 }
17053 
17054 
17055 static int _wrap_UI_CreateLineChart(lua_State* L) {
17056  int SWIG_arg = 0;
17057  uiNode_t *arg1 = (uiNode_t *) 0 ;
17058  char *arg2 = (char *) 0 ;
17059  char *arg3 = (char *) 0 ;
17060  uiLineChartNode_t *result = 0 ;
17061 
17062  SWIG_check_num_args("UI_CreateLineChart",3,3)
17063  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
17064  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
17065  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
17066 
17067  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17068  SWIG_fail_ptr("UI_CreateLineChart",1,SWIGTYPE_p_uiNode_t);
17069  }
17070 
17071  arg2 = (char *)lua_tostring(L, 2);
17072  arg3 = (char *)lua_tostring(L, 3);
17073  result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
17074  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
17075  return SWIG_arg;
17076 
17077  if(0) SWIG_fail;
17078 
17079 fail:
17080  lua_error(L);
17081  return SWIG_arg;
17082 }
17083 
17084 
17085 static int _wrap_UI_CreateMessageList(lua_State* L) {
17086  int SWIG_arg = 0;
17087  uiNode_t *arg1 = (uiNode_t *) 0 ;
17088  char *arg2 = (char *) 0 ;
17089  char *arg3 = (char *) 0 ;
17090  uiMessageListNode_t *result = 0 ;
17091 
17092  SWIG_check_num_args("UI_CreateMessageList",3,3)
17093  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
17094  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
17095  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
17096 
17097  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17098  SWIG_fail_ptr("UI_CreateMessageList",1,SWIGTYPE_p_uiNode_t);
17099  }
17100 
17101  arg2 = (char *)lua_tostring(L, 2);
17102  arg3 = (char *)lua_tostring(L, 3);
17103  result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
17104  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
17105  return SWIG_arg;
17106 
17107  if(0) SWIG_fail;
17108 
17109 fail:
17110  lua_error(L);
17111  return SWIG_arg;
17112 }
17113 
17114 
17115 static int _wrap_UI_CreateModel(lua_State* L) {
17116  int SWIG_arg = 0;
17117  uiNode_t *arg1 = (uiNode_t *) 0 ;
17118  char *arg2 = (char *) 0 ;
17119  char *arg3 = (char *) 0 ;
17120  uiModelNode_t *result = 0 ;
17121 
17122  SWIG_check_num_args("UI_CreateModel",3,3)
17123  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
17124  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
17125  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
17126 
17127  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17128  SWIG_fail_ptr("UI_CreateModel",1,SWIGTYPE_p_uiNode_t);
17129  }
17130 
17131  arg2 = (char *)lua_tostring(L, 2);
17132  arg3 = (char *)lua_tostring(L, 3);
17133  result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
17134  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
17135  return SWIG_arg;
17136 
17137  if(0) SWIG_fail;
17138 
17139 fail:
17140  lua_error(L);
17141  return SWIG_arg;
17142 }
17143 
17144 
17145 static int _wrap_UI_CreateOption(lua_State* L) {
17146  int SWIG_arg = 0;
17147  uiNode_t *arg1 = (uiNode_t *) 0 ;
17148  char *arg2 = (char *) 0 ;
17149  char *arg3 = (char *) 0 ;
17150  uiOptionNode_t *result = 0 ;
17151 
17152  SWIG_check_num_args("UI_CreateOption",3,3)
17153  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
17154  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
17155  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
17156 
17157  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17158  SWIG_fail_ptr("UI_CreateOption",1,SWIGTYPE_p_uiNode_t);
17159  }
17160 
17161  arg2 = (char *)lua_tostring(L, 2);
17162  arg3 = (char *)lua_tostring(L, 3);
17163  result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
17164  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
17165  return SWIG_arg;
17166 
17167  if(0) SWIG_fail;
17168 
17169 fail:
17170  lua_error(L);
17171  return SWIG_arg;
17172 }
17173 
17174 
17175 static int _wrap_UI_CreateOptionList(lua_State* L) {
17176  int SWIG_arg = 0;
17177  uiNode_t *arg1 = (uiNode_t *) 0 ;
17178  char *arg2 = (char *) 0 ;
17179  char *arg3 = (char *) 0 ;
17180  uiOptionListNode_t *result = 0 ;
17181 
17182  SWIG_check_num_args("UI_CreateOptionList",3,3)
17183  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
17184  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
17185  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
17186 
17187  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17188  SWIG_fail_ptr("UI_CreateOptionList",1,SWIGTYPE_p_uiNode_t);
17189  }
17190 
17191  arg2 = (char *)lua_tostring(L, 2);
17192  arg3 = (char *)lua_tostring(L, 3);
17193  result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
17194  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
17195  return SWIG_arg;
17196 
17197  if(0) SWIG_fail;
17198 
17199 fail:
17200  lua_error(L);
17201  return SWIG_arg;
17202 }
17203 
17204 
17205 static int _wrap_UI_CreateOptionTree(lua_State* L) {
17206  int SWIG_arg = 0;
17207  uiNode_t *arg1 = (uiNode_t *) 0 ;
17208  char *arg2 = (char *) 0 ;
17209  char *arg3 = (char *) 0 ;
17210  uiOptionTreeNode_t *result = 0 ;
17211 
17212  SWIG_check_num_args("UI_CreateOptionTree",3,3)
17213  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
17214  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
17215  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
17216 
17217  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17218  SWIG_fail_ptr("UI_CreateOptionTree",1,SWIGTYPE_p_uiNode_t);
17219  }
17220 
17221  arg2 = (char *)lua_tostring(L, 2);
17222  arg3 = (char *)lua_tostring(L, 3);
17223  result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
17224  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
17225  return SWIG_arg;
17226 
17227  if(0) SWIG_fail;
17228 
17229 fail:
17230  lua_error(L);
17231  return SWIG_arg;
17232 }
17233 
17234 
17235 static int _wrap_UI_CreatePanel(lua_State* L) {
17236  int SWIG_arg = 0;
17237  uiNode_t *arg1 = (uiNode_t *) 0 ;
17238  char *arg2 = (char *) 0 ;
17239  char *arg3 = (char *) 0 ;
17240  uiPanelNode_t *result = 0 ;
17241 
17242  SWIG_check_num_args("UI_CreatePanel",3,3)
17243  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
17244  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
17245  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
17246 
17247  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17248  SWIG_fail_ptr("UI_CreatePanel",1,SWIGTYPE_p_uiNode_t);
17249  }
17250 
17251  arg2 = (char *)lua_tostring(L, 2);
17252  arg3 = (char *)lua_tostring(L, 3);
17253  result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
17254  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
17255  return SWIG_arg;
17256 
17257  if(0) SWIG_fail;
17258 
17259 fail:
17260  lua_error(L);
17261  return SWIG_arg;
17262 }
17263 
17264 
17265 static int _wrap_UI_CreateRadar(lua_State* L) {
17266  int SWIG_arg = 0;
17267  uiNode_t *arg1 = (uiNode_t *) 0 ;
17268  char *arg2 = (char *) 0 ;
17269  char *arg3 = (char *) 0 ;
17270  uiRadarNode_t *result = 0 ;
17271 
17272  SWIG_check_num_args("UI_CreateRadar",3,3)
17273  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
17274  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
17275  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
17276 
17277  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17278  SWIG_fail_ptr("UI_CreateRadar",1,SWIGTYPE_p_uiNode_t);
17279  }
17280 
17281  arg2 = (char *)lua_tostring(L, 2);
17282  arg3 = (char *)lua_tostring(L, 3);
17283  result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
17284  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
17285  return SWIG_arg;
17286 
17287  if(0) SWIG_fail;
17288 
17289 fail:
17290  lua_error(L);
17291  return SWIG_arg;
17292 }
17293 
17294 
17295 static int _wrap_UI_CreateRadioButton(lua_State* L) {
17296  int SWIG_arg = 0;
17297  uiNode_t *arg1 = (uiNode_t *) 0 ;
17298  char *arg2 = (char *) 0 ;
17299  char *arg3 = (char *) 0 ;
17300  uiRadioButtonNode_t *result = 0 ;
17301 
17302  SWIG_check_num_args("UI_CreateRadioButton",3,3)
17303  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
17304  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
17305  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
17306 
17307  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17308  SWIG_fail_ptr("UI_CreateRadioButton",1,SWIGTYPE_p_uiNode_t);
17309  }
17310 
17311  arg2 = (char *)lua_tostring(L, 2);
17312  arg3 = (char *)lua_tostring(L, 3);
17313  result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
17314  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
17315  return SWIG_arg;
17316 
17317  if(0) SWIG_fail;
17318 
17319 fail:
17320  lua_error(L);
17321  return SWIG_arg;
17322 }
17323 
17324 
17325 static int _wrap_UI_CreateRows(lua_State* L) {
17326  int SWIG_arg = 0;
17327  uiNode_t *arg1 = (uiNode_t *) 0 ;
17328  char *arg2 = (char *) 0 ;
17329  char *arg3 = (char *) 0 ;
17330  uiRowsNode_t *result = 0 ;
17331 
17332  SWIG_check_num_args("UI_CreateRows",3,3)
17333  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
17334  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
17335  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
17336 
17337  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17338  SWIG_fail_ptr("UI_CreateRows",1,SWIGTYPE_p_uiNode_t);
17339  }
17340 
17341  arg2 = (char *)lua_tostring(L, 2);
17342  arg3 = (char *)lua_tostring(L, 3);
17343  result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
17344  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
17345  return SWIG_arg;
17346 
17347  if(0) SWIG_fail;
17348 
17349 fail:
17350  lua_error(L);
17351  return SWIG_arg;
17352 }
17353 
17354 
17355 static int _wrap_UI_CreateSelectBox(lua_State* L) {
17356  int SWIG_arg = 0;
17357  uiNode_t *arg1 = (uiNode_t *) 0 ;
17358  char *arg2 = (char *) 0 ;
17359  char *arg3 = (char *) 0 ;
17360  uiSelectBoxNode_t *result = 0 ;
17361 
17362  SWIG_check_num_args("UI_CreateSelectBox",3,3)
17363  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
17364  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
17365  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
17366 
17367  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17368  SWIG_fail_ptr("UI_CreateSelectBox",1,SWIGTYPE_p_uiNode_t);
17369  }
17370 
17371  arg2 = (char *)lua_tostring(L, 2);
17372  arg3 = (char *)lua_tostring(L, 3);
17373  result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
17374  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
17375  return SWIG_arg;
17376 
17377  if(0) SWIG_fail;
17378 
17379 fail:
17380  lua_error(L);
17381  return SWIG_arg;
17382 }
17383 
17384 
17385 static int _wrap_UI_CreateSequence(lua_State* L) {
17386  int SWIG_arg = 0;
17387  uiNode_t *arg1 = (uiNode_t *) 0 ;
17388  char *arg2 = (char *) 0 ;
17389  char *arg3 = (char *) 0 ;
17390  uiSequenceNode_t *result = 0 ;
17391 
17392  SWIG_check_num_args("UI_CreateSequence",3,3)
17393  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
17394  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
17395  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
17396 
17397  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17398  SWIG_fail_ptr("UI_CreateSequence",1,SWIGTYPE_p_uiNode_t);
17399  }
17400 
17401  arg2 = (char *)lua_tostring(L, 2);
17402  arg3 = (char *)lua_tostring(L, 3);
17403  result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
17404  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
17405  return SWIG_arg;
17406 
17407  if(0) SWIG_fail;
17408 
17409 fail:
17410  lua_error(L);
17411  return SWIG_arg;
17412 }
17413 
17414 
17415 static int _wrap_UI_CreateSpinner(lua_State* L) {
17416  int SWIG_arg = 0;
17417  uiNode_t *arg1 = (uiNode_t *) 0 ;
17418  char *arg2 = (char *) 0 ;
17419  char *arg3 = (char *) 0 ;
17420  uiSpinnerNode_t *result = 0 ;
17421 
17422  SWIG_check_num_args("UI_CreateSpinner",3,3)
17423  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
17424  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
17425  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
17426 
17427  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17428  SWIG_fail_ptr("UI_CreateSpinner",1,SWIGTYPE_p_uiNode_t);
17429  }
17430 
17431  arg2 = (char *)lua_tostring(L, 2);
17432  arg3 = (char *)lua_tostring(L, 3);
17433  result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
17434  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
17435  return SWIG_arg;
17436 
17437  if(0) SWIG_fail;
17438 
17439 fail:
17440  lua_error(L);
17441  return SWIG_arg;
17442 }
17443 
17444 
17445 static int _wrap_UI_CreateString(lua_State* L) {
17446  int SWIG_arg = 0;
17447  uiNode_t *arg1 = (uiNode_t *) 0 ;
17448  char *arg2 = (char *) 0 ;
17449  char *arg3 = (char *) 0 ;
17450  uiStringNode_t *result = 0 ;
17451 
17452  SWIG_check_num_args("UI_CreateString",3,3)
17453  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
17454  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
17455  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
17456 
17457  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17458  SWIG_fail_ptr("UI_CreateString",1,SWIGTYPE_p_uiNode_t);
17459  }
17460 
17461  arg2 = (char *)lua_tostring(L, 2);
17462  arg3 = (char *)lua_tostring(L, 3);
17463  result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
17464  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
17465  return SWIG_arg;
17466 
17467  if(0) SWIG_fail;
17468 
17469 fail:
17470  lua_error(L);
17471  return SWIG_arg;
17472 }
17473 
17474 
17475 static int _wrap_UI_CreateTab(lua_State* L) {
17476  int SWIG_arg = 0;
17477  uiNode_t *arg1 = (uiNode_t *) 0 ;
17478  char *arg2 = (char *) 0 ;
17479  char *arg3 = (char *) 0 ;
17480  uiTabNode_t *result = 0 ;
17481 
17482  SWIG_check_num_args("UI_CreateTab",3,3)
17483  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
17484  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
17485  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
17486 
17487  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17488  SWIG_fail_ptr("UI_CreateTab",1,SWIGTYPE_p_uiNode_t);
17489  }
17490 
17491  arg2 = (char *)lua_tostring(L, 2);
17492  arg3 = (char *)lua_tostring(L, 3);
17493  result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
17494  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
17495  return SWIG_arg;
17496 
17497  if(0) SWIG_fail;
17498 
17499 fail:
17500  lua_error(L);
17501  return SWIG_arg;
17502 }
17503 
17504 
17505 static int _wrap_UI_CreateTBar(lua_State* L) {
17506  int SWIG_arg = 0;
17507  uiNode_t *arg1 = (uiNode_t *) 0 ;
17508  char *arg2 = (char *) 0 ;
17509  char *arg3 = (char *) 0 ;
17510  uiTBarNode_t *result = 0 ;
17511 
17512  SWIG_check_num_args("UI_CreateTBar",3,3)
17513  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
17514  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
17515  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
17516 
17517  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17518  SWIG_fail_ptr("UI_CreateTBar",1,SWIGTYPE_p_uiNode_t);
17519  }
17520 
17521  arg2 = (char *)lua_tostring(L, 2);
17522  arg3 = (char *)lua_tostring(L, 3);
17523  result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
17524  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
17525  return SWIG_arg;
17526 
17527  if(0) SWIG_fail;
17528 
17529 fail:
17530  lua_error(L);
17531  return SWIG_arg;
17532 }
17533 
17534 
17535 static int _wrap_UI_CreateText(lua_State* L) {
17536  int SWIG_arg = 0;
17537  uiNode_t *arg1 = (uiNode_t *) 0 ;
17538  char *arg2 = (char *) 0 ;
17539  char *arg3 = (char *) 0 ;
17540  uiTextNode_t *result = 0 ;
17541 
17542  SWIG_check_num_args("UI_CreateText",3,3)
17543  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
17544  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
17545  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
17546 
17547  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17548  SWIG_fail_ptr("UI_CreateText",1,SWIGTYPE_p_uiNode_t);
17549  }
17550 
17551  arg2 = (char *)lua_tostring(L, 2);
17552  arg3 = (char *)lua_tostring(L, 3);
17553  result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
17554  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
17555  return SWIG_arg;
17556 
17557  if(0) SWIG_fail;
17558 
17559 fail:
17560  lua_error(L);
17561  return SWIG_arg;
17562 }
17563 
17564 
17565 static int _wrap_UI_CreateText2(lua_State* L) {
17566  int SWIG_arg = 0;
17567  uiNode_t *arg1 = (uiNode_t *) 0 ;
17568  char *arg2 = (char *) 0 ;
17569  char *arg3 = (char *) 0 ;
17570  uiText2Node_t *result = 0 ;
17571 
17572  SWIG_check_num_args("UI_CreateText2",3,3)
17573  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
17574  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
17575  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
17576 
17577  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17578  SWIG_fail_ptr("UI_CreateText2",1,SWIGTYPE_p_uiNode_t);
17579  }
17580 
17581  arg2 = (char *)lua_tostring(L, 2);
17582  arg3 = (char *)lua_tostring(L, 3);
17583  result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
17584  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
17585  return SWIG_arg;
17586 
17587  if(0) SWIG_fail;
17588 
17589 fail:
17590  lua_error(L);
17591  return SWIG_arg;
17592 }
17593 
17594 
17595 static int _wrap_UI_CreateTextEntry(lua_State* L) {
17596  int SWIG_arg = 0;
17597  uiNode_t *arg1 = (uiNode_t *) 0 ;
17598  char *arg2 = (char *) 0 ;
17599  char *arg3 = (char *) 0 ;
17600  uiTextEntryNode_t *result = 0 ;
17601 
17602  SWIG_check_num_args("UI_CreateTextEntry",3,3)
17603  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
17604  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
17605  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
17606 
17607  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17608  SWIG_fail_ptr("UI_CreateTextEntry",1,SWIGTYPE_p_uiNode_t);
17609  }
17610 
17611  arg2 = (char *)lua_tostring(L, 2);
17612  arg3 = (char *)lua_tostring(L, 3);
17613  result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
17614  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
17615  return SWIG_arg;
17616 
17617  if(0) SWIG_fail;
17618 
17619 fail:
17620  lua_error(L);
17621  return SWIG_arg;
17622 }
17623 
17624 
17625 static int _wrap_UI_CreateTextList(lua_State* L) {
17626  int SWIG_arg = 0;
17627  uiNode_t *arg1 = (uiNode_t *) 0 ;
17628  char *arg2 = (char *) 0 ;
17629  char *arg3 = (char *) 0 ;
17630  uiTextListNode_t *result = 0 ;
17631 
17632  SWIG_check_num_args("UI_CreateTextList",3,3)
17633  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
17634  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
17635  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
17636 
17637  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17638  SWIG_fail_ptr("UI_CreateTextList",1,SWIGTYPE_p_uiNode_t);
17639  }
17640 
17641  arg2 = (char *)lua_tostring(L, 2);
17642  arg3 = (char *)lua_tostring(L, 3);
17643  result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
17644  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
17645  return SWIG_arg;
17646 
17647  if(0) SWIG_fail;
17648 
17649 fail:
17650  lua_error(L);
17651  return SWIG_arg;
17652 }
17653 
17654 
17655 static int _wrap_UI_CreateTexture(lua_State* L) {
17656  int SWIG_arg = 0;
17657  uiNode_t *arg1 = (uiNode_t *) 0 ;
17658  char *arg2 = (char *) 0 ;
17659  char *arg3 = (char *) 0 ;
17660  uiTextureNode_t *result = 0 ;
17661 
17662  SWIG_check_num_args("UI_CreateTexture",3,3)
17663  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
17664  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
17665  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
17666 
17667  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17668  SWIG_fail_ptr("UI_CreateTexture",1,SWIGTYPE_p_uiNode_t);
17669  }
17670 
17671  arg2 = (char *)lua_tostring(L, 2);
17672  arg3 = (char *)lua_tostring(L, 3);
17673  result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
17674  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
17675  return SWIG_arg;
17676 
17677  if(0) SWIG_fail;
17678 
17679 fail:
17680  lua_error(L);
17681  return SWIG_arg;
17682 }
17683 
17684 
17685 static int _wrap_UI_CreateTimer(lua_State* L) {
17686  int SWIG_arg = 0;
17687  uiNode_t *arg1 = (uiNode_t *) 0 ;
17688  char *arg2 = (char *) 0 ;
17689  char *arg3 = (char *) 0 ;
17690  uiTimerNode_t *result = 0 ;
17691 
17692  SWIG_check_num_args("UI_CreateTimer",3,3)
17693  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
17694  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
17695  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
17696 
17697  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17698  SWIG_fail_ptr("UI_CreateTimer",1,SWIGTYPE_p_uiNode_t);
17699  }
17700 
17701  arg2 = (char *)lua_tostring(L, 2);
17702  arg3 = (char *)lua_tostring(L, 3);
17703  result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
17704  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
17705  return SWIG_arg;
17706 
17707  if(0) SWIG_fail;
17708 
17709 fail:
17710  lua_error(L);
17711  return SWIG_arg;
17712 }
17713 
17714 
17715 static int _wrap_UI_CreateVideo(lua_State* L) {
17716  int SWIG_arg = 0;
17717  uiNode_t *arg1 = (uiNode_t *) 0 ;
17718  char *arg2 = (char *) 0 ;
17719  char *arg3 = (char *) 0 ;
17720  uiVideoNode_t *result = 0 ;
17721 
17722  SWIG_check_num_args("UI_CreateVideo",3,3)
17723  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
17724  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
17725  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
17726 
17727  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17728  SWIG_fail_ptr("UI_CreateVideo",1,SWIGTYPE_p_uiNode_t);
17729  }
17730 
17731  arg2 = (char *)lua_tostring(L, 2);
17732  arg3 = (char *)lua_tostring(L, 3);
17733  result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
17734  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
17735  return SWIG_arg;
17736 
17737  if(0) SWIG_fail;
17738 
17739 fail:
17740  lua_error(L);
17741  return SWIG_arg;
17742 }
17743 
17744 
17745 static int _wrap_UI_CreateVScrollbar(lua_State* L) {
17746  int SWIG_arg = 0;
17747  uiNode_t *arg1 = (uiNode_t *) 0 ;
17748  char *arg2 = (char *) 0 ;
17749  char *arg3 = (char *) 0 ;
17750  uiVScrollBarNode_t *result = 0 ;
17751 
17752  SWIG_check_num_args("UI_CreateVScrollbar",3,3)
17753  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
17754  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
17755  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
17756 
17757  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17758  SWIG_fail_ptr("UI_CreateVScrollbar",1,SWIGTYPE_p_uiNode_t);
17759  }
17760 
17761  arg2 = (char *)lua_tostring(L, 2);
17762  arg3 = (char *)lua_tostring(L, 3);
17763  result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
17764  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
17765  return SWIG_arg;
17766 
17767  if(0) SWIG_fail;
17768 
17769 fail:
17770  lua_error(L);
17771  return SWIG_arg;
17772 }
17773 
17774 
17775 static int _wrap_UI_CreateWidget(lua_State* L) {
17776  int SWIG_arg = 0;
17777  uiNode_t *arg1 = (uiNode_t *) 0 ;
17778  char *arg2 = (char *) 0 ;
17779  char *arg3 = (char *) 0 ;
17780  uiWidgetNode_t *result = 0 ;
17781 
17782  SWIG_check_num_args("UI_CreateWidget",3,3)
17783  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
17784  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
17785  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
17786 
17787  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17788  SWIG_fail_ptr("UI_CreateWidget",1,SWIGTYPE_p_uiNode_t);
17789  }
17790 
17791  arg2 = (char *)lua_tostring(L, 2);
17792  arg3 = (char *)lua_tostring(L, 3);
17793  result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
17794  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
17795  return SWIG_arg;
17796 
17797  if(0) SWIG_fail;
17798 
17799 fail:
17800  lua_error(L);
17801  return SWIG_arg;
17802 }
17803 
17804 
17805 static int _wrap_UI_CreateWindow(lua_State* L) {
17806  int SWIG_arg = 0;
17807  char *arg1 = (char *) 0 ;
17808  char *arg2 = (char *) 0 ;
17809  uiWindowNode_t *result = 0 ;
17810 
17811  SWIG_check_num_args("UI_CreateWindow",2,2)
17812  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
17813  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
17814  arg1 = (char *)lua_tostring(L, 1);
17815  arg2 = (char *)lua_tostring(L, 2);
17816  result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
17817  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
17818  return SWIG_arg;
17819 
17820  if(0) SWIG_fail;
17821 
17822 fail:
17823  lua_error(L);
17824  return SWIG_arg;
17825 }
17826 
17827 
17828 static int _wrap_UI_CreateZone(lua_State* L) {
17829  int SWIG_arg = 0;
17830  uiNode_t *arg1 = (uiNode_t *) 0 ;
17831  char *arg2 = (char *) 0 ;
17832  char *arg3 = (char *) 0 ;
17833  uiZoneNode_t *result = 0 ;
17834 
17835  SWIG_check_num_args("UI_CreateZone",3,3)
17836  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
17837  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
17838  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
17839 
17840  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17841  SWIG_fail_ptr("UI_CreateZone",1,SWIGTYPE_p_uiNode_t);
17842  }
17843 
17844  arg2 = (char *)lua_tostring(L, 2);
17845  arg3 = (char *)lua_tostring(L, 3);
17846  result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
17847  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
17848  return SWIG_arg;
17849 
17850  if(0) SWIG_fail;
17851 
17852 fail:
17853  lua_error(L);
17854  return SWIG_arg;
17855 }
17856 
17857 
17858 static int _wrap_create_bar(lua_State* L) {
17859  int SWIG_arg = 0;
17860  uiNode_t *arg1 = (uiNode_t *) 0 ;
17861  char *arg2 = (char *) 0 ;
17862  char *arg3 = (char *) 0 ;
17863  uiBarNode_t *result = 0 ;
17864 
17865  SWIG_check_num_args("UI_CreateBar",3,3)
17866  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
17867  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
17868  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
17869 
17870  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17871  SWIG_fail_ptr("create_bar",1,SWIGTYPE_p_uiNode_t);
17872  }
17873 
17874  arg2 = (char *)lua_tostring(L, 2);
17875  arg3 = (char *)lua_tostring(L, 3);
17876  result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
17877  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
17878  return SWIG_arg;
17879 
17880  if(0) SWIG_fail;
17881 
17882 fail:
17883  lua_error(L);
17884  return SWIG_arg;
17885 }
17886 
17887 
17888 static int _wrap_create_button(lua_State* L) {
17889  int SWIG_arg = 0;
17890  uiNode_t *arg1 = (uiNode_t *) 0 ;
17891  char *arg2 = (char *) 0 ;
17892  char *arg3 = (char *) 0 ;
17893  uiButtonNode_t *result = 0 ;
17894 
17895  SWIG_check_num_args("UI_CreateButton",3,3)
17896  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
17897  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
17898  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
17899 
17900  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17901  SWIG_fail_ptr("create_button",1,SWIGTYPE_p_uiNode_t);
17902  }
17903 
17904  arg2 = (char *)lua_tostring(L, 2);
17905  arg3 = (char *)lua_tostring(L, 3);
17906  result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
17907  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
17908  return SWIG_arg;
17909 
17910  if(0) SWIG_fail;
17911 
17912 fail:
17913  lua_error(L);
17914  return SWIG_arg;
17915 }
17916 
17917 
17918 static int _wrap_create_baselayout(lua_State* L) {
17919  int SWIG_arg = 0;
17920  uiNode_t *arg1 = (uiNode_t *) 0 ;
17921  char *arg2 = (char *) 0 ;
17922  char *arg3 = (char *) 0 ;
17923  uiBaseLayoutNode_t *result = 0 ;
17924 
17925  SWIG_check_num_args("UI_CreateBaseLayout",3,3)
17926  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
17927  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
17928  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
17929 
17930  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17931  SWIG_fail_ptr("create_baselayout",1,SWIGTYPE_p_uiNode_t);
17932  }
17933 
17934  arg2 = (char *)lua_tostring(L, 2);
17935  arg3 = (char *)lua_tostring(L, 3);
17936  result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
17937  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
17938  return SWIG_arg;
17939 
17940  if(0) SWIG_fail;
17941 
17942 fail:
17943  lua_error(L);
17944  return SWIG_arg;
17945 }
17946 
17947 
17948 static int _wrap_create_baseinventory(lua_State* L) {
17949  int SWIG_arg = 0;
17950  uiNode_t *arg1 = (uiNode_t *) 0 ;
17951  char *arg2 = (char *) 0 ;
17952  char *arg3 = (char *) 0 ;
17953  uiBaseInventoryNode_t *result = 0 ;
17954 
17955  SWIG_check_num_args("UI_CreateBaseInventory",3,3)
17956  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
17957  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
17958  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
17959 
17960  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17961  SWIG_fail_ptr("create_baseinventory",1,SWIGTYPE_p_uiNode_t);
17962  }
17963 
17964  arg2 = (char *)lua_tostring(L, 2);
17965  arg3 = (char *)lua_tostring(L, 3);
17966  result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
17967  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseInventoryNode_t,0); SWIG_arg++;
17968  return SWIG_arg;
17969 
17970  if(0) SWIG_fail;
17971 
17972 fail:
17973  lua_error(L);
17974  return SWIG_arg;
17975 }
17976 
17977 
17978 static int _wrap_create_checkbox(lua_State* L) {
17979  int SWIG_arg = 0;
17980  uiNode_t *arg1 = (uiNode_t *) 0 ;
17981  char *arg2 = (char *) 0 ;
17982  char *arg3 = (char *) 0 ;
17983  uiCheckBoxNode_t *result = 0 ;
17984 
17985  SWIG_check_num_args("UI_CreateCheckBox",3,3)
17986  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
17987  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
17988  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
17989 
17990  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17991  SWIG_fail_ptr("create_checkbox",1,SWIGTYPE_p_uiNode_t);
17992  }
17993 
17994  arg2 = (char *)lua_tostring(L, 2);
17995  arg3 = (char *)lua_tostring(L, 3);
17996  result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
17997  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
17998  return SWIG_arg;
17999 
18000  if(0) SWIG_fail;
18001 
18002 fail:
18003  lua_error(L);
18004  return SWIG_arg;
18005 }
18006 
18007 
18008 static int _wrap_create_confunc(lua_State* L) {
18009  int SWIG_arg = 0;
18010  uiNode_t *arg1 = (uiNode_t *) 0 ;
18011  char *arg2 = (char *) 0 ;
18012  char *arg3 = (char *) 0 ;
18013  uiConFuncNode_t *result = 0 ;
18014 
18015  SWIG_check_num_args("UI_CreateConFunc",3,3)
18016  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
18017  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
18018  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
18019 
18020  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18021  SWIG_fail_ptr("create_confunc",1,SWIGTYPE_p_uiNode_t);
18022  }
18023 
18024  arg2 = (char *)lua_tostring(L, 2);
18025  arg3 = (char *)lua_tostring(L, 3);
18026  result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
18027  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
18028  return SWIG_arg;
18029 
18030  if(0) SWIG_fail;
18031 
18032 fail:
18033  lua_error(L);
18034  return SWIG_arg;
18035 }
18036 
18037 
18038 static int _wrap_create_container(lua_State* L) {
18039  int SWIG_arg = 0;
18040  uiNode_t *arg1 = (uiNode_t *) 0 ;
18041  char *arg2 = (char *) 0 ;
18042  char *arg3 = (char *) 0 ;
18043  uiContainerNode_t *result = 0 ;
18044 
18045  SWIG_check_num_args("UI_CreateContainer",3,3)
18046  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
18047  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
18048  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
18049 
18050  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18051  SWIG_fail_ptr("create_container",1,SWIGTYPE_p_uiNode_t);
18052  }
18053 
18054  arg2 = (char *)lua_tostring(L, 2);
18055  arg3 = (char *)lua_tostring(L, 3);
18056  result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
18057  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
18058  return SWIG_arg;
18059 
18060  if(0) SWIG_fail;
18061 
18062 fail:
18063  lua_error(L);
18064  return SWIG_arg;
18065 }
18066 
18067 
18068 static int _wrap_create_data(lua_State* L) {
18069  int SWIG_arg = 0;
18070  uiNode_t *arg1 = (uiNode_t *) 0 ;
18071  char *arg2 = (char *) 0 ;
18072  char *arg3 = (char *) 0 ;
18073  uiDataNode_t *result = 0 ;
18074 
18075  SWIG_check_num_args("UI_CreateData",3,3)
18076  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
18077  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
18078  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
18079 
18080  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18081  SWIG_fail_ptr("create_data",1,SWIGTYPE_p_uiNode_t);
18082  }
18083 
18084  arg2 = (char *)lua_tostring(L, 2);
18085  arg3 = (char *)lua_tostring(L, 3);
18086  result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
18087  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
18088  return SWIG_arg;
18089 
18090  if(0) SWIG_fail;
18091 
18092 fail:
18093  lua_error(L);
18094  return SWIG_arg;
18095 }
18096 
18097 
18098 static int _wrap_create_geoscape(lua_State* L) {
18099  int SWIG_arg = 0;
18100  uiNode_t *arg1 = (uiNode_t *) 0 ;
18101  char *arg2 = (char *) 0 ;
18102  char *arg3 = (char *) 0 ;
18103  uiGeoscapeNode_t *result = 0 ;
18104 
18105  SWIG_check_num_args("UI_CreateGeoscape",3,3)
18106  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
18107  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
18108  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
18109 
18110  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18111  SWIG_fail_ptr("create_geoscape",1,SWIGTYPE_p_uiNode_t);
18112  }
18113 
18114  arg2 = (char *)lua_tostring(L, 2);
18115  arg3 = (char *)lua_tostring(L, 3);
18116  result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
18117  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
18118  return SWIG_arg;
18119 
18120  if(0) SWIG_fail;
18121 
18122 fail:
18123  lua_error(L);
18124  return SWIG_arg;
18125 }
18126 
18127 
18128 static int _wrap_create_image(lua_State* L) {
18129  int SWIG_arg = 0;
18130  uiNode_t *arg1 = (uiNode_t *) 0 ;
18131  char *arg2 = (char *) 0 ;
18132  char *arg3 = (char *) 0 ;
18133  uiImageNode_t *result = 0 ;
18134 
18135  SWIG_check_num_args("UI_CreateImage",3,3)
18136  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
18137  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
18138  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
18139 
18140  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18141  SWIG_fail_ptr("create_image",1,SWIGTYPE_p_uiNode_t);
18142  }
18143 
18144  arg2 = (char *)lua_tostring(L, 2);
18145  arg3 = (char *)lua_tostring(L, 3);
18146  result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
18147  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
18148  return SWIG_arg;
18149 
18150  if(0) SWIG_fail;
18151 
18152 fail:
18153  lua_error(L);
18154  return SWIG_arg;
18155 }
18156 
18157 
18158 static int _wrap_create_item(lua_State* L) {
18159  int SWIG_arg = 0;
18160  uiNode_t *arg1 = (uiNode_t *) 0 ;
18161  char *arg2 = (char *) 0 ;
18162  char *arg3 = (char *) 0 ;
18163  uiItemNode_t *result = 0 ;
18164 
18165  SWIG_check_num_args("UI_CreateItem",3,3)
18166  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
18167  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
18168  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
18169 
18170  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18171  SWIG_fail_ptr("create_item",1,SWIGTYPE_p_uiNode_t);
18172  }
18173 
18174  arg2 = (char *)lua_tostring(L, 2);
18175  arg3 = (char *)lua_tostring(L, 3);
18176  result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
18177  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
18178  return SWIG_arg;
18179 
18180  if(0) SWIG_fail;
18181 
18182 fail:
18183  lua_error(L);
18184  return SWIG_arg;
18185 }
18186 
18187 
18188 static int _wrap_create_linechart(lua_State* L) {
18189  int SWIG_arg = 0;
18190  uiNode_t *arg1 = (uiNode_t *) 0 ;
18191  char *arg2 = (char *) 0 ;
18192  char *arg3 = (char *) 0 ;
18193  uiLineChartNode_t *result = 0 ;
18194 
18195  SWIG_check_num_args("UI_CreateLineChart",3,3)
18196  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
18197  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
18198  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
18199 
18200  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18201  SWIG_fail_ptr("create_linechart",1,SWIGTYPE_p_uiNode_t);
18202  }
18203 
18204  arg2 = (char *)lua_tostring(L, 2);
18205  arg3 = (char *)lua_tostring(L, 3);
18206  result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
18207  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
18208  return SWIG_arg;
18209 
18210  if(0) SWIG_fail;
18211 
18212 fail:
18213  lua_error(L);
18214  return SWIG_arg;
18215 }
18216 
18217 
18218 static int _wrap_create_messagelist(lua_State* L) {
18219  int SWIG_arg = 0;
18220  uiNode_t *arg1 = (uiNode_t *) 0 ;
18221  char *arg2 = (char *) 0 ;
18222  char *arg3 = (char *) 0 ;
18223  uiMessageListNode_t *result = 0 ;
18224 
18225  SWIG_check_num_args("UI_CreateMessageList",3,3)
18226  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
18227  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
18228  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
18229 
18230  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18231  SWIG_fail_ptr("create_messagelist",1,SWIGTYPE_p_uiNode_t);
18232  }
18233 
18234  arg2 = (char *)lua_tostring(L, 2);
18235  arg3 = (char *)lua_tostring(L, 3);
18236  result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
18237  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
18238  return SWIG_arg;
18239 
18240  if(0) SWIG_fail;
18241 
18242 fail:
18243  lua_error(L);
18244  return SWIG_arg;
18245 }
18246 
18247 
18248 static int _wrap_create_model(lua_State* L) {
18249  int SWIG_arg = 0;
18250  uiNode_t *arg1 = (uiNode_t *) 0 ;
18251  char *arg2 = (char *) 0 ;
18252  char *arg3 = (char *) 0 ;
18253  uiModelNode_t *result = 0 ;
18254 
18255  SWIG_check_num_args("UI_CreateModel",3,3)
18256  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
18257  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
18258  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
18259 
18260  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18261  SWIG_fail_ptr("create_model",1,SWIGTYPE_p_uiNode_t);
18262  }
18263 
18264  arg2 = (char *)lua_tostring(L, 2);
18265  arg3 = (char *)lua_tostring(L, 3);
18266  result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
18267  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
18268  return SWIG_arg;
18269 
18270  if(0) SWIG_fail;
18271 
18272 fail:
18273  lua_error(L);
18274  return SWIG_arg;
18275 }
18276 
18277 
18278 static int _wrap_create_option(lua_State* L) {
18279  int SWIG_arg = 0;
18280  uiNode_t *arg1 = (uiNode_t *) 0 ;
18281  char *arg2 = (char *) 0 ;
18282  char *arg3 = (char *) 0 ;
18283  uiOptionNode_t *result = 0 ;
18284 
18285  SWIG_check_num_args("UI_CreateOption",3,3)
18286  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
18287  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
18288  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
18289 
18290  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18291  SWIG_fail_ptr("create_option",1,SWIGTYPE_p_uiNode_t);
18292  }
18293 
18294  arg2 = (char *)lua_tostring(L, 2);
18295  arg3 = (char *)lua_tostring(L, 3);
18296  result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
18297  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
18298  return SWIG_arg;
18299 
18300  if(0) SWIG_fail;
18301 
18302 fail:
18303  lua_error(L);
18304  return SWIG_arg;
18305 }
18306 
18307 
18308 static int _wrap_create_optionlist(lua_State* L) {
18309  int SWIG_arg = 0;
18310  uiNode_t *arg1 = (uiNode_t *) 0 ;
18311  char *arg2 = (char *) 0 ;
18312  char *arg3 = (char *) 0 ;
18313  uiOptionListNode_t *result = 0 ;
18314 
18315  SWIG_check_num_args("UI_CreateOptionList",3,3)
18316  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
18317  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
18318  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
18319 
18320  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18321  SWIG_fail_ptr("create_optionlist",1,SWIGTYPE_p_uiNode_t);
18322  }
18323 
18324  arg2 = (char *)lua_tostring(L, 2);
18325  arg3 = (char *)lua_tostring(L, 3);
18326  result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
18327  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
18328  return SWIG_arg;
18329 
18330  if(0) SWIG_fail;
18331 
18332 fail:
18333  lua_error(L);
18334  return SWIG_arg;
18335 }
18336 
18337 
18338 static int _wrap_create_optiontree(lua_State* L) {
18339  int SWIG_arg = 0;
18340  uiNode_t *arg1 = (uiNode_t *) 0 ;
18341  char *arg2 = (char *) 0 ;
18342  char *arg3 = (char *) 0 ;
18343  uiOptionTreeNode_t *result = 0 ;
18344 
18345  SWIG_check_num_args("UI_CreateOptionTree",3,3)
18346  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
18347  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
18348  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
18349 
18350  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18351  SWIG_fail_ptr("create_optiontree",1,SWIGTYPE_p_uiNode_t);
18352  }
18353 
18354  arg2 = (char *)lua_tostring(L, 2);
18355  arg3 = (char *)lua_tostring(L, 3);
18356  result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
18357  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
18358  return SWIG_arg;
18359 
18360  if(0) SWIG_fail;
18361 
18362 fail:
18363  lua_error(L);
18364  return SWIG_arg;
18365 }
18366 
18367 
18368 static int _wrap_create_panel(lua_State* L) {
18369  int SWIG_arg = 0;
18370  uiNode_t *arg1 = (uiNode_t *) 0 ;
18371  char *arg2 = (char *) 0 ;
18372  char *arg3 = (char *) 0 ;
18373  uiPanelNode_t *result = 0 ;
18374 
18375  SWIG_check_num_args("UI_CreatePanel",3,3)
18376  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
18377  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
18378  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
18379 
18380  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18381  SWIG_fail_ptr("create_panel",1,SWIGTYPE_p_uiNode_t);
18382  }
18383 
18384  arg2 = (char *)lua_tostring(L, 2);
18385  arg3 = (char *)lua_tostring(L, 3);
18386  result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
18387  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
18388  return SWIG_arg;
18389 
18390  if(0) SWIG_fail;
18391 
18392 fail:
18393  lua_error(L);
18394  return SWIG_arg;
18395 }
18396 
18397 
18398 static int _wrap_create_radar(lua_State* L) {
18399  int SWIG_arg = 0;
18400  uiNode_t *arg1 = (uiNode_t *) 0 ;
18401  char *arg2 = (char *) 0 ;
18402  char *arg3 = (char *) 0 ;
18403  uiRadarNode_t *result = 0 ;
18404 
18405  SWIG_check_num_args("UI_CreateRadar",3,3)
18406  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
18407  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
18408  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
18409 
18410  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18411  SWIG_fail_ptr("create_radar",1,SWIGTYPE_p_uiNode_t);
18412  }
18413 
18414  arg2 = (char *)lua_tostring(L, 2);
18415  arg3 = (char *)lua_tostring(L, 3);
18416  result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
18417  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
18418  return SWIG_arg;
18419 
18420  if(0) SWIG_fail;
18421 
18422 fail:
18423  lua_error(L);
18424  return SWIG_arg;
18425 }
18426 
18427 
18428 static int _wrap_create_radiobutton(lua_State* L) {
18429  int SWIG_arg = 0;
18430  uiNode_t *arg1 = (uiNode_t *) 0 ;
18431  char *arg2 = (char *) 0 ;
18432  char *arg3 = (char *) 0 ;
18433  uiRadioButtonNode_t *result = 0 ;
18434 
18435  SWIG_check_num_args("UI_CreateRadioButton",3,3)
18436  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
18437  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
18438  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
18439 
18440  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18441  SWIG_fail_ptr("create_radiobutton",1,SWIGTYPE_p_uiNode_t);
18442  }
18443 
18444  arg2 = (char *)lua_tostring(L, 2);
18445  arg3 = (char *)lua_tostring(L, 3);
18446  result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
18447  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
18448  return SWIG_arg;
18449 
18450  if(0) SWIG_fail;
18451 
18452 fail:
18453  lua_error(L);
18454  return SWIG_arg;
18455 }
18456 
18457 
18458 static int _wrap_create_rows(lua_State* L) {
18459  int SWIG_arg = 0;
18460  uiNode_t *arg1 = (uiNode_t *) 0 ;
18461  char *arg2 = (char *) 0 ;
18462  char *arg3 = (char *) 0 ;
18463  uiRowsNode_t *result = 0 ;
18464 
18465  SWIG_check_num_args("UI_CreateRows",3,3)
18466  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
18467  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
18468  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
18469 
18470  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18471  SWIG_fail_ptr("create_rows",1,SWIGTYPE_p_uiNode_t);
18472  }
18473 
18474  arg2 = (char *)lua_tostring(L, 2);
18475  arg3 = (char *)lua_tostring(L, 3);
18476  result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
18477  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
18478  return SWIG_arg;
18479 
18480  if(0) SWIG_fail;
18481 
18482 fail:
18483  lua_error(L);
18484  return SWIG_arg;
18485 }
18486 
18487 
18488 static int _wrap_create_selectbox(lua_State* L) {
18489  int SWIG_arg = 0;
18490  uiNode_t *arg1 = (uiNode_t *) 0 ;
18491  char *arg2 = (char *) 0 ;
18492  char *arg3 = (char *) 0 ;
18493  uiSelectBoxNode_t *result = 0 ;
18494 
18495  SWIG_check_num_args("UI_CreateSelectBox",3,3)
18496  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
18497  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
18498  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
18499 
18500  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18501  SWIG_fail_ptr("create_selectbox",1,SWIGTYPE_p_uiNode_t);
18502  }
18503 
18504  arg2 = (char *)lua_tostring(L, 2);
18505  arg3 = (char *)lua_tostring(L, 3);
18506  result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
18507  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
18508  return SWIG_arg;
18509 
18510  if(0) SWIG_fail;
18511 
18512 fail:
18513  lua_error(L);
18514  return SWIG_arg;
18515 }
18516 
18517 
18518 static int _wrap_create_sequence(lua_State* L) {
18519  int SWIG_arg = 0;
18520  uiNode_t *arg1 = (uiNode_t *) 0 ;
18521  char *arg2 = (char *) 0 ;
18522  char *arg3 = (char *) 0 ;
18523  uiSequenceNode_t *result = 0 ;
18524 
18525  SWIG_check_num_args("UI_CreateSequence",3,3)
18526  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
18527  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
18528  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
18529 
18530  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18531  SWIG_fail_ptr("create_sequence",1,SWIGTYPE_p_uiNode_t);
18532  }
18533 
18534  arg2 = (char *)lua_tostring(L, 2);
18535  arg3 = (char *)lua_tostring(L, 3);
18536  result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
18537  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
18538  return SWIG_arg;
18539 
18540  if(0) SWIG_fail;
18541 
18542 fail:
18543  lua_error(L);
18544  return SWIG_arg;
18545 }
18546 
18547 
18548 static int _wrap_create_spinner(lua_State* L) {
18549  int SWIG_arg = 0;
18550  uiNode_t *arg1 = (uiNode_t *) 0 ;
18551  char *arg2 = (char *) 0 ;
18552  char *arg3 = (char *) 0 ;
18553  uiSpinnerNode_t *result = 0 ;
18554 
18555  SWIG_check_num_args("UI_CreateSpinner",3,3)
18556  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
18557  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
18558  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
18559 
18560  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18561  SWIG_fail_ptr("create_spinner",1,SWIGTYPE_p_uiNode_t);
18562  }
18563 
18564  arg2 = (char *)lua_tostring(L, 2);
18565  arg3 = (char *)lua_tostring(L, 3);
18566  result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
18567  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
18568  return SWIG_arg;
18569 
18570  if(0) SWIG_fail;
18571 
18572 fail:
18573  lua_error(L);
18574  return SWIG_arg;
18575 }
18576 
18577 
18578 static int _wrap_create_string(lua_State* L) {
18579  int SWIG_arg = 0;
18580  uiNode_t *arg1 = (uiNode_t *) 0 ;
18581  char *arg2 = (char *) 0 ;
18582  char *arg3 = (char *) 0 ;
18583  uiStringNode_t *result = 0 ;
18584 
18585  SWIG_check_num_args("UI_CreateString",3,3)
18586  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
18587  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
18588  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
18589 
18590  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18591  SWIG_fail_ptr("create_string",1,SWIGTYPE_p_uiNode_t);
18592  }
18593 
18594  arg2 = (char *)lua_tostring(L, 2);
18595  arg3 = (char *)lua_tostring(L, 3);
18596  result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
18597  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
18598  return SWIG_arg;
18599 
18600  if(0) SWIG_fail;
18601 
18602 fail:
18603  lua_error(L);
18604  return SWIG_arg;
18605 }
18606 
18607 
18608 static int _wrap_create_tab(lua_State* L) {
18609  int SWIG_arg = 0;
18610  uiNode_t *arg1 = (uiNode_t *) 0 ;
18611  char *arg2 = (char *) 0 ;
18612  char *arg3 = (char *) 0 ;
18613  uiTabNode_t *result = 0 ;
18614 
18615  SWIG_check_num_args("UI_CreateTab",3,3)
18616  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
18617  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
18618  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
18619 
18620  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18621  SWIG_fail_ptr("create_tab",1,SWIGTYPE_p_uiNode_t);
18622  }
18623 
18624  arg2 = (char *)lua_tostring(L, 2);
18625  arg3 = (char *)lua_tostring(L, 3);
18626  result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
18627  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
18628  return SWIG_arg;
18629 
18630  if(0) SWIG_fail;
18631 
18632 fail:
18633  lua_error(L);
18634  return SWIG_arg;
18635 }
18636 
18637 
18638 static int _wrap_create_tbar(lua_State* L) {
18639  int SWIG_arg = 0;
18640  uiNode_t *arg1 = (uiNode_t *) 0 ;
18641  char *arg2 = (char *) 0 ;
18642  char *arg3 = (char *) 0 ;
18643  uiTBarNode_t *result = 0 ;
18644 
18645  SWIG_check_num_args("UI_CreateTBar",3,3)
18646  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
18647  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
18648  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
18649 
18650  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18651  SWIG_fail_ptr("create_tbar",1,SWIGTYPE_p_uiNode_t);
18652  }
18653 
18654  arg2 = (char *)lua_tostring(L, 2);
18655  arg3 = (char *)lua_tostring(L, 3);
18656  result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
18657  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
18658  return SWIG_arg;
18659 
18660  if(0) SWIG_fail;
18661 
18662 fail:
18663  lua_error(L);
18664  return SWIG_arg;
18665 }
18666 
18667 
18668 static int _wrap_create_text(lua_State* L) {
18669  int SWIG_arg = 0;
18670  uiNode_t *arg1 = (uiNode_t *) 0 ;
18671  char *arg2 = (char *) 0 ;
18672  char *arg3 = (char *) 0 ;
18673  uiTextNode_t *result = 0 ;
18674 
18675  SWIG_check_num_args("UI_CreateText",3,3)
18676  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
18677  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
18678  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
18679 
18680  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18681  SWIG_fail_ptr("create_text",1,SWIGTYPE_p_uiNode_t);
18682  }
18683 
18684  arg2 = (char *)lua_tostring(L, 2);
18685  arg3 = (char *)lua_tostring(L, 3);
18686  result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
18687  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
18688  return SWIG_arg;
18689 
18690  if(0) SWIG_fail;
18691 
18692 fail:
18693  lua_error(L);
18694  return SWIG_arg;
18695 }
18696 
18697 
18698 static int _wrap_create_text2(lua_State* L) {
18699  int SWIG_arg = 0;
18700  uiNode_t *arg1 = (uiNode_t *) 0 ;
18701  char *arg2 = (char *) 0 ;
18702  char *arg3 = (char *) 0 ;
18703  uiText2Node_t *result = 0 ;
18704 
18705  SWIG_check_num_args("UI_CreateText2",3,3)
18706  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
18707  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
18708  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
18709 
18710  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18711  SWIG_fail_ptr("create_text2",1,SWIGTYPE_p_uiNode_t);
18712  }
18713 
18714  arg2 = (char *)lua_tostring(L, 2);
18715  arg3 = (char *)lua_tostring(L, 3);
18716  result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
18717  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
18718  return SWIG_arg;
18719 
18720  if(0) SWIG_fail;
18721 
18722 fail:
18723  lua_error(L);
18724  return SWIG_arg;
18725 }
18726 
18727 
18728 static int _wrap_create_textentry(lua_State* L) {
18729  int SWIG_arg = 0;
18730  uiNode_t *arg1 = (uiNode_t *) 0 ;
18731  char *arg2 = (char *) 0 ;
18732  char *arg3 = (char *) 0 ;
18733  uiTextEntryNode_t *result = 0 ;
18734 
18735  SWIG_check_num_args("UI_CreateTextEntry",3,3)
18736  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
18737  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
18738  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
18739 
18740  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18741  SWIG_fail_ptr("create_textentry",1,SWIGTYPE_p_uiNode_t);
18742  }
18743 
18744  arg2 = (char *)lua_tostring(L, 2);
18745  arg3 = (char *)lua_tostring(L, 3);
18746  result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
18747  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
18748  return SWIG_arg;
18749 
18750  if(0) SWIG_fail;
18751 
18752 fail:
18753  lua_error(L);
18754  return SWIG_arg;
18755 }
18756 
18757 
18758 static int _wrap_create_textlist(lua_State* L) {
18759  int SWIG_arg = 0;
18760  uiNode_t *arg1 = (uiNode_t *) 0 ;
18761  char *arg2 = (char *) 0 ;
18762  char *arg3 = (char *) 0 ;
18763  uiTextListNode_t *result = 0 ;
18764 
18765  SWIG_check_num_args("UI_CreateTextList",3,3)
18766  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
18767  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
18768  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
18769 
18770  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18771  SWIG_fail_ptr("create_textlist",1,SWIGTYPE_p_uiNode_t);
18772  }
18773 
18774  arg2 = (char *)lua_tostring(L, 2);
18775  arg3 = (char *)lua_tostring(L, 3);
18776  result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
18777  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
18778  return SWIG_arg;
18779 
18780  if(0) SWIG_fail;
18781 
18782 fail:
18783  lua_error(L);
18784  return SWIG_arg;
18785 }
18786 
18787 
18788 static int _wrap_create_texture(lua_State* L) {
18789  int SWIG_arg = 0;
18790  uiNode_t *arg1 = (uiNode_t *) 0 ;
18791  char *arg2 = (char *) 0 ;
18792  char *arg3 = (char *) 0 ;
18793  uiTextureNode_t *result = 0 ;
18794 
18795  SWIG_check_num_args("UI_CreateTexture",3,3)
18796  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
18797  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
18798  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
18799 
18800  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18801  SWIG_fail_ptr("create_texture",1,SWIGTYPE_p_uiNode_t);
18802  }
18803 
18804  arg2 = (char *)lua_tostring(L, 2);
18805  arg3 = (char *)lua_tostring(L, 3);
18806  result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
18807  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
18808  return SWIG_arg;
18809 
18810  if(0) SWIG_fail;
18811 
18812 fail:
18813  lua_error(L);
18814  return SWIG_arg;
18815 }
18816 
18817 
18818 static int _wrap_create_timer(lua_State* L) {
18819  int SWIG_arg = 0;
18820  uiNode_t *arg1 = (uiNode_t *) 0 ;
18821  char *arg2 = (char *) 0 ;
18822  char *arg3 = (char *) 0 ;
18823  uiTimerNode_t *result = 0 ;
18824 
18825  SWIG_check_num_args("UI_CreateTimer",3,3)
18826  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
18827  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
18828  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
18829 
18830  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18831  SWIG_fail_ptr("create_timer",1,SWIGTYPE_p_uiNode_t);
18832  }
18833 
18834  arg2 = (char *)lua_tostring(L, 2);
18835  arg3 = (char *)lua_tostring(L, 3);
18836  result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
18837  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
18838  return SWIG_arg;
18839 
18840  if(0) SWIG_fail;
18841 
18842 fail:
18843  lua_error(L);
18844  return SWIG_arg;
18845 }
18846 
18847 
18848 static int _wrap_create_video(lua_State* L) {
18849  int SWIG_arg = 0;
18850  uiNode_t *arg1 = (uiNode_t *) 0 ;
18851  char *arg2 = (char *) 0 ;
18852  char *arg3 = (char *) 0 ;
18853  uiVideoNode_t *result = 0 ;
18854 
18855  SWIG_check_num_args("UI_CreateVideo",3,3)
18856  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
18857  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
18858  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
18859 
18860  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18861  SWIG_fail_ptr("create_video",1,SWIGTYPE_p_uiNode_t);
18862  }
18863 
18864  arg2 = (char *)lua_tostring(L, 2);
18865  arg3 = (char *)lua_tostring(L, 3);
18866  result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
18867  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
18868  return SWIG_arg;
18869 
18870  if(0) SWIG_fail;
18871 
18872 fail:
18873  lua_error(L);
18874  return SWIG_arg;
18875 }
18876 
18877 
18878 static int _wrap_create_vscrollbar(lua_State* L) {
18879  int SWIG_arg = 0;
18880  uiNode_t *arg1 = (uiNode_t *) 0 ;
18881  char *arg2 = (char *) 0 ;
18882  char *arg3 = (char *) 0 ;
18883  uiVScrollBarNode_t *result = 0 ;
18884 
18885  SWIG_check_num_args("UI_CreateVScrollbar",3,3)
18886  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
18887  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
18888  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
18889 
18890  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18891  SWIG_fail_ptr("create_vscrollbar",1,SWIGTYPE_p_uiNode_t);
18892  }
18893 
18894  arg2 = (char *)lua_tostring(L, 2);
18895  arg3 = (char *)lua_tostring(L, 3);
18896  result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
18897  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
18898  return SWIG_arg;
18899 
18900  if(0) SWIG_fail;
18901 
18902 fail:
18903  lua_error(L);
18904  return SWIG_arg;
18905 }
18906 
18907 
18908 static int _wrap_create_widget(lua_State* L) {
18909  int SWIG_arg = 0;
18910  uiNode_t *arg1 = (uiNode_t *) 0 ;
18911  char *arg2 = (char *) 0 ;
18912  char *arg3 = (char *) 0 ;
18913  uiWidgetNode_t *result = 0 ;
18914 
18915  SWIG_check_num_args("UI_CreateWidget",3,3)
18916  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
18917  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
18918  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
18919 
18920  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18921  SWIG_fail_ptr("create_widget",1,SWIGTYPE_p_uiNode_t);
18922  }
18923 
18924  arg2 = (char *)lua_tostring(L, 2);
18925  arg3 = (char *)lua_tostring(L, 3);
18926  result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
18927  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
18928  return SWIG_arg;
18929 
18930  if(0) SWIG_fail;
18931 
18932 fail:
18933  lua_error(L);
18934  return SWIG_arg;
18935 }
18936 
18937 
18938 static int _wrap_create_window(lua_State* L) {
18939  int SWIG_arg = 0;
18940  char *arg1 = (char *) 0 ;
18941  char *arg2 = (char *) 0 ;
18942  uiWindowNode_t *result = 0 ;
18943 
18944  SWIG_check_num_args("UI_CreateWindow",2,2)
18945  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
18946  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
18947  arg1 = (char *)lua_tostring(L, 1);
18948  arg2 = (char *)lua_tostring(L, 2);
18949  result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
18950  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
18951  return SWIG_arg;
18952 
18953  if(0) SWIG_fail;
18954 
18955 fail:
18956  lua_error(L);
18957  return SWIG_arg;
18958 }
18959 
18960 
18961 static int _wrap_create_zone(lua_State* L) {
18962  int SWIG_arg = 0;
18963  uiNode_t *arg1 = (uiNode_t *) 0 ;
18964  char *arg2 = (char *) 0 ;
18965  char *arg3 = (char *) 0 ;
18966  uiZoneNode_t *result = 0 ;
18967 
18968  SWIG_check_num_args("UI_CreateZone",3,3)
18969  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
18970  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
18971  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
18972 
18973  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18974  SWIG_fail_ptr("create_zone",1,SWIGTYPE_p_uiNode_t);
18975  }
18976 
18977  arg2 = (char *)lua_tostring(L, 2);
18978  arg3 = (char *)lua_tostring(L, 3);
18979  result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
18980  SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
18981  return SWIG_arg;
18982 
18983  if(0) SWIG_fail;
18984 
18985 fail:
18986  lua_error(L);
18987  return SWIG_arg;
18988 }
18989 
18990 
18991 static int _wrap_create_component(lua_State* L) {
18992  int SWIG_arg = 0;
18993  char *arg1 = (char *) 0 ;
18994  char *arg2 = (char *) 0 ;
18995  char *arg3 = (char *) 0 ;
18996  uiNode_t *result = 0 ;
18997 
18998  SWIG_check_num_args("UI_CreateComponent",3,3)
18999  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateComponent",1,"char const *");
19000  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateComponent",2,"char const *");
19001  if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateComponent",3,"char const *");
19002  arg1 = (char *)lua_tostring(L, 1);
19003  arg2 = (char *)lua_tostring(L, 2);
19004  arg3 = (char *)lua_tostring(L, 3);
19005  result = (uiNode_t *)UI_CreateComponent((char const *)arg1,(char const *)arg2,(char const *)arg3);
19006  {
19007  if (result) {
19008  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
19009  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19010  } else {
19011  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19012  }
19013  }
19014  return SWIG_arg;
19015 
19016  if(0) SWIG_fail;
19017 
19018 fail:
19019  lua_error(L);
19020  return SWIG_arg;
19021 }
19022 
19023 
19024 static int _wrap_pop_window(lua_State* L) {
19025  int SWIG_arg = 0;
19026  bool arg1 ;
19027 
19028  SWIG_check_num_args("UI_PopWindow",1,1)
19029  if(!lua_isboolean(L,1)) SWIG_fail_arg("UI_PopWindow",1,"bool");
19030  arg1 = (lua_toboolean(L, 1)!=0);
19031  UI_PopWindow(arg1);
19032 
19033  return SWIG_arg;
19034 
19035  if(0) SWIG_fail;
19036 
19037 fail:
19038  lua_error(L);
19039  return SWIG_arg;
19040 }
19041 
19042 
19043 static int _wrap_push_window(lua_State* L) {
19044  int SWIG_arg = 0;
19045  char *arg1 = (char *) 0 ;
19046  char *arg2 = (char *) 0 ;
19047  linkedList_t *arg3 = (linkedList_t *) 0 ;
19048  uiNode_t *result = 0 ;
19049 
19050  SWIG_check_num_args("UI_PushWindow",3,3)
19051  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_PushWindow",1,"char const *");
19052  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_PushWindow",2,"char const *");
19053  if(!Com_LuaIsNilOrTable(L,3)) SWIG_fail_arg("UI_PushWindow",3,"linkedList_t *");
19054  arg1 = (char *)lua_tostring(L, 1);
19055  arg2 = (char *)lua_tostring(L, 2);
19056  {
19057  arg3 = Com_LuaTableToStringList(L, 3);
19058  }
19059  result = (uiNode_t *)UI_PushWindow((char const *)arg1,(char const *)arg2,arg3);
19060  {
19061  if (result) {
19062  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
19063  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19064  } else {
19065  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19066  }
19067  }
19068  {
19069  LIST_Delete(&arg3);
19070  }
19071  return SWIG_arg;
19072 
19073  if(0) SWIG_fail;
19074 
19075 fail:
19076  {
19077  LIST_Delete(&arg3);
19078  }
19079  lua_error(L);
19080  return SWIG_arg;
19081 }
19082 
19083 
19084 static int _wrap_get_window(lua_State* L) {
19085  int SWIG_arg = 0;
19086  char *arg1 = (char *) 0 ;
19087  uiNode_t *result = 0 ;
19088 
19089  SWIG_check_num_args("UI_GetWindow",1,1)
19090  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_GetWindow",1,"char const *");
19091  arg1 = (char *)lua_tostring(L, 1);
19092  result = (uiNode_t *)UI_GetWindow((char const *)arg1);
19093  {
19094  if (result) {
19095  swig_type_info* info = (swig_type_info*)result->behaviour->lua_SWIG_typeinfo;
19096  SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19097  } else {
19098  SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19099  }
19100  }
19101  return SWIG_arg;
19102 
19103  if(0) SWIG_fail;
19104 
19105 fail:
19106  lua_error(L);
19107  return SWIG_arg;
19108 }
19109 
19110 
19111 static int _wrap_delete_node(lua_State* L) {
19112  int SWIG_arg = 0;
19113  uiNode_t *arg1 = (uiNode_t *) 0 ;
19114 
19115  SWIG_check_num_args("UI_DeleteNode",1,1)
19116  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_DeleteNode",1,"uiNode_t *");
19117 
19118  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19119  SWIG_fail_ptr("delete_node",1,SWIGTYPE_p_uiNode_t);
19120  }
19121 
19122  UI_DeleteNode(arg1);
19123 
19124  return SWIG_arg;
19125 
19126  if(0) SWIG_fail;
19127 
19128 fail:
19129  lua_error(L);
19130  return SWIG_arg;
19131 }
19132 
19133 
19134 static int _wrap_cmd(lua_State* L) {
19135  int SWIG_arg = 0;
19136  char *arg1 = (char *) 0 ;
19137 
19138  SWIG_check_num_args("Cbuf_AddText",1,1)
19139  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cbuf_AddText",1,"char const *");
19140  arg1 = (char *)lua_tostring(L, 1);
19141  Cbuf_AddText((char const *)arg1);
19142 
19143  return SWIG_arg;
19144 
19145  if(0) SWIG_fail;
19146 
19147 fail:
19148  lua_error(L);
19149  return SWIG_arg;
19150 }
19151 
19152 
19153 static int _wrap_print(lua_State* L) {
19154  int SWIG_arg = 0;
19155  char *arg1 = (char *) 0 ;
19156 
19157  SWIG_check_num_args("Com_Printf",1,1)
19158  if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Com_Printf",1,"char const *");
19159  arg1 = (char *)lua_tostring(L, 1);
19160  Com_Printf((char const *)arg1);
19161 
19162  return SWIG_arg;
19163 
19164  if(0) SWIG_fail;
19165 
19166 fail:
19167  lua_error(L);
19168  return SWIG_arg;
19169 }
19170 
19171 
19172 static int _wrap_dprint(lua_State* L) {
19173  int SWIG_arg = 0;
19174  int arg1 ;
19175  char *arg2 = (char *) 0 ;
19176 
19177  SWIG_check_num_args("Com_DPrintf",2,2)
19178  if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_DPrintf",1,"int");
19179  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_DPrintf",2,"char const *");
19180  arg1 = (int)lua_tonumber(L, 1);
19181  arg2 = (char *)lua_tostring(L, 2);
19182  Com_DPrintf(arg1,(char const *)arg2);
19183 
19184  return SWIG_arg;
19185 
19186  if(0) SWIG_fail;
19187 
19188 fail:
19189  lua_error(L);
19190  return SWIG_arg;
19191 }
19192 
19193 
19194 static int _wrap_error(lua_State* L) {
19195  int SWIG_arg = 0;
19196  int arg1 ;
19197  char *arg2 = (char *) 0 ;
19198 
19199  SWIG_check_num_args("Com_Error",2,2)
19200  if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_Error",1,"int");
19201  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_Error",2,"char const *");
19202  arg1 = (int)lua_tonumber(L, 1);
19203  arg2 = (char *)lua_tostring(L, 2);
19204  Com_Error(arg1,(char const *)arg2);
19205 
19206  return SWIG_arg;
19207 
19208  if(0) SWIG_fail;
19209 
19210 fail:
19211  lua_error(L);
19212  return SWIG_arg;
19213 }
19214 
19215 
19216 static int _wrap_nodetree(lua_State* L) {
19217  int SWIG_arg = 0;
19218  uiNode_t *arg1 = (uiNode_t *) 0 ;
19219 
19220  SWIG_check_num_args("UI_PrintNodeTree",1,1)
19221  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_PrintNodeTree",1,"uiNode_t *");
19222 
19223  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19224  SWIG_fail_ptr("nodetree",1,SWIGTYPE_p_uiNode_t);
19225  }
19226 
19227  UI_PrintNodeTree(arg1);
19228 
19229  return SWIG_arg;
19230 
19231  if(0) SWIG_fail;
19232 
19233 fail:
19234  lua_error(L);
19235  return SWIG_arg;
19236 }
19237 
19238 
19239 static int _wrap_nodepath(lua_State* L) {
19240  int SWIG_arg = 0;
19241  uiNode_t *arg1 = (uiNode_t *) 0 ;
19242  char *result = 0 ;
19243 
19244  SWIG_check_num_args("UI_GetPath",1,1)
19245  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_GetPath",1,"uiNode_t const *");
19246 
19247  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19248  SWIG_fail_ptr("nodepath",1,SWIGTYPE_p_uiNode_t);
19249  }
19250 
19251  result = (char *)UI_GetPath((uiNode_t const *)arg1);
19252  lua_pushstring(L,(const char *)result); SWIG_arg++;
19253  return SWIG_arg;
19254 
19255  if(0) SWIG_fail;
19256 
19257 fail:
19258  lua_error(L);
19259  return SWIG_arg;
19260 }
19261 
19262 
19263 static int _wrap_register_onload(lua_State* L) {
19264  int SWIG_arg = 0;
19265  LUA_FUNCTION arg1 ;
19266 
19267  SWIG_check_num_args("UI_RegisterHandler_OnLoad",1,1)
19268  {
19269  arg1 = (LUA_FUNCTION)luaL_ref (L, LUA_REGISTRYINDEX);
19270  }
19272 
19273  return SWIG_arg;
19274 
19275  if(0) SWIG_fail;
19276 
19277 fail:
19278  lua_error(L);
19279  return SWIG_arg;
19280 }
19281 
19282 
19284  {0,0,0}
19285 };
19286 static swig_lua_const_info swig_SwigModule_constants[]= {
19287  {SWIG_LUA_CONSTTAB_INT("TEXT_NULL", TEXT_NULL)},
19288  {SWIG_LUA_CONSTTAB_INT("TEXT_STANDARD", TEXT_STANDARD)},
19289  {SWIG_LUA_CONSTTAB_INT("TEXT_LIST", TEXT_LIST)},
19290  {SWIG_LUA_CONSTTAB_INT("TEXT_LIST2", TEXT_LIST2)},
19291  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA", TEXT_UFOPEDIA)},
19292  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_REQUIREMENT", TEXT_UFOPEDIA_REQUIREMENT)},
19293  {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDINGS", TEXT_BUILDINGS)},
19294  {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDING_INFO", TEXT_BUILDING_INFO)},
19295  {SWIG_LUA_CONSTTAB_INT("TEXT_RESEARCH", TEXT_RESEARCH)},
19296  {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP", TEXT_POPUP)},
19297  {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP_INFO", TEXT_POPUP_INFO)},
19298  {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_LIST", TEXT_AIRCRAFT_LIST)},
19299  {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_INFO", TEXT_AIRCRAFT_INFO)},
19300  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_LIST", TEXT_PRODUCTION_LIST)},
19301  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_AMOUNT", TEXT_PRODUCTION_AMOUNT)},
19302  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_INFO", TEXT_PRODUCTION_INFO)},
19303  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_RIGHT", TEXT_MOUSECURSOR_RIGHT)},
19304  {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_QUEUED", TEXT_PRODUCTION_QUEUED)},
19305  {SWIG_LUA_CONSTTAB_INT("TEXT_BASE_LIST", TEXT_BASE_LIST)},
19306  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_PLAYERNAMES", TEXT_MOUSECURSOR_PLAYERNAMES)},
19307  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAILHEADER", TEXT_UFOPEDIA_MAILHEADER)},
19308  {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAIL", TEXT_UFOPEDIA_MAIL)},
19309  {SWIG_LUA_CONSTTAB_INT("TEXT_CHAT_WINDOW", TEXT_CHAT_WINDOW)},
19310  {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_1", TEXT_AIREQUIP_1)},
19311  {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_2", TEXT_AIREQUIP_2)},
19312  {SWIG_LUA_CONSTTAB_INT("TEXT_BASEDEFENCE_LIST", TEXT_BASEDEFENCE_LIST)},
19313  {SWIG_LUA_CONSTTAB_INT("TEXT_TIPOFTHEDAY", TEXT_TIPOFTHEDAY)},
19314  {SWIG_LUA_CONSTTAB_INT("TEXT_GENERIC", TEXT_GENERIC)},
19315  {SWIG_LUA_CONSTTAB_INT("TEXT_XVI", TEXT_XVI)},
19316  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_TOP", TEXT_MOUSECURSOR_TOP)},
19317  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_BOTTOM", TEXT_MOUSECURSOR_BOTTOM)},
19318  {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_LEFT", TEXT_MOUSECURSOR_LEFT)},
19319  {SWIG_LUA_CONSTTAB_INT("TEXT_MESSAGEOPTIONS", TEXT_MESSAGEOPTIONS)},
19320  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_NATIONS", TEXT_UFORECOVERY_NATIONS)},
19321  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_UFOYARDS", TEXT_UFORECOVERY_UFOYARDS)},
19322  {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_CAPACITIES", TEXT_UFORECOVERY_CAPACITIES)},
19323  {SWIG_LUA_CONSTTAB_INT("TEXT_MATERIAL_STAGES", TEXT_MATERIAL_STAGES)},
19324  {SWIG_LUA_CONSTTAB_INT("TEXT_IRCCONTENT", TEXT_IRCCONTENT)},
19325  {SWIG_LUA_CONSTTAB_INT("TEXT_IRCUSERS", TEXT_IRCUSERS)},
19326  {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERLIST", TEXT_MULTIPLAYER_USERLIST)},
19327  {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERTEAM", TEXT_MULTIPLAYER_USERTEAM)},
19328  {SWIG_LUA_CONSTTAB_INT("TEXT_ITEMDESCRIPTION", TEXT_ITEMDESCRIPTION)},
19329  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING", TEXT_MISSIONBRIEFING)},
19330  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_TITLE", TEXT_MISSIONBRIEFING_TITLE)},
19331  {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS", TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS)},
19332  {SWIG_LUA_CONSTTAB_INT("OPTION_LANGUAGES", OPTION_LANGUAGES)},
19333  {SWIG_LUA_CONSTTAB_INT("OPTION_JOYSTICKS", OPTION_JOYSTICKS)},
19334  {SWIG_LUA_CONSTTAB_INT("OPTION_VIDEO_RESOLUTIONS", OPTION_VIDEO_RESOLUTIONS)},
19335  {SWIG_LUA_CONSTTAB_INT("OPTION_SINGLEPLAYER_SKINS", OPTION_SINGLEPLAYER_SKINS)},
19336  {SWIG_LUA_CONSTTAB_INT("OPTION_MULTIPLAYER_SKINS", OPTION_MULTIPLAYER_SKINS)},
19337  {SWIG_LUA_CONSTTAB_INT("OPTION_UFOPEDIA", OPTION_UFOPEDIA)},
19338  {SWIG_LUA_CONSTTAB_INT("OPTION_UFOS", OPTION_UFOS)},
19339  {SWIG_LUA_CONSTTAB_INT("OPTION_DROPSHIPS", OPTION_DROPSHIPS)},
19340  {SWIG_LUA_CONSTTAB_INT("OPTION_BASELIST", OPTION_BASELIST)},
19341  {SWIG_LUA_CONSTTAB_INT("OPTION_TEAMDEFS", OPTION_TEAMDEFS)},
19342  {SWIG_LUA_CONSTTAB_INT("OPTION_PRODUCTION_REQUIREMENTS", OPTION_PRODUCTION_REQUIREMENTS)},
19343  {SWIG_LUA_CONSTTAB_INT("UI_MAX_DATAID", UI_MAX_DATAID)},
19344  {SWIG_LUA_CONSTTAB_INT("LONGLINES_WRAP", LONGLINES_WRAP)},
19345  {SWIG_LUA_CONSTTAB_INT("LONGLINES_CHOP", LONGLINES_CHOP)},
19346  {SWIG_LUA_CONSTTAB_INT("LONGLINES_PRETTYCHOP", LONGLINES_PRETTYCHOP)},
19347  {SWIG_LUA_CONSTTAB_INT("LONGLINES_LAST", LONGLINES_LAST)},
19348  {SWIG_LUA_CONSTTAB_INT("ALIGN_UL", ALIGN_UL)},
19349  {SWIG_LUA_CONSTTAB_INT("ALIGN_UC", ALIGN_UC)},
19350  {SWIG_LUA_CONSTTAB_INT("ALIGN_UR", ALIGN_UR)},
19351  {SWIG_LUA_CONSTTAB_INT("ALIGN_CL", ALIGN_CL)},
19352  {SWIG_LUA_CONSTTAB_INT("ALIGN_CC", ALIGN_CC)},
19353  {SWIG_LUA_CONSTTAB_INT("ALIGN_CR", ALIGN_CR)},
19354  {SWIG_LUA_CONSTTAB_INT("ALIGN_LL", ALIGN_LL)},
19355  {SWIG_LUA_CONSTTAB_INT("ALIGN_LC", ALIGN_LC)},
19356  {SWIG_LUA_CONSTTAB_INT("ALIGN_LR", ALIGN_LR)},
19357  {SWIG_LUA_CONSTTAB_INT("ALIGN_UL_RSL", ALIGN_UL_RSL)},
19358  {SWIG_LUA_CONSTTAB_INT("ALIGN_UC_RSL", ALIGN_UC_RSL)},
19359  {SWIG_LUA_CONSTTAB_INT("ALIGN_UR_RSL", ALIGN_UR_RSL)},
19360  {SWIG_LUA_CONSTTAB_INT("ALIGN_CL_RSL", ALIGN_CL_RSL)},
19361  {SWIG_LUA_CONSTTAB_INT("ALIGN_CC_RSL", ALIGN_CC_RSL)},
19362  {SWIG_LUA_CONSTTAB_INT("ALIGN_CR_RSL", ALIGN_CR_RSL)},
19363  {SWIG_LUA_CONSTTAB_INT("ALIGN_LL_RSL", ALIGN_LL_RSL)},
19364  {SWIG_LUA_CONSTTAB_INT("ALIGN_LC_RSL", ALIGN_LC_RSL)},
19365  {SWIG_LUA_CONSTTAB_INT("ALIGN_LR_RSL", ALIGN_LR_RSL)},
19366  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_NONE", LAYOUTALIGN_NONE)},
19367  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MASK", LAYOUTALIGN_H_MASK)},
19368  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_LEFT", LAYOUTALIGN_H_LEFT)},
19369  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MIDDLE", LAYOUTALIGN_H_MIDDLE)},
19370  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_RIGHT", LAYOUTALIGN_H_RIGHT)},
19371  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MASK", LAYOUTALIGN_V_MASK)},
19372  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_TOP", LAYOUTALIGN_V_TOP)},
19373  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MIDDLE", LAYOUTALIGN_V_MIDDLE)},
19374  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_BOTTOM", LAYOUTALIGN_V_BOTTOM)},
19375  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPLEFT", LAYOUTALIGN_TOPLEFT)},
19376  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOP", LAYOUTALIGN_TOP)},
19377  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPRIGHT", LAYOUTALIGN_TOPRIGHT)},
19378  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_LEFT", LAYOUTALIGN_LEFT)},
19379  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MIDDLE", LAYOUTALIGN_MIDDLE)},
19380  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_RIGHT", LAYOUTALIGN_RIGHT)},
19381  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMLEFT", LAYOUTALIGN_BOTTOMLEFT)},
19382  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOM", LAYOUTALIGN_BOTTOM)},
19383  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMRIGHT", LAYOUTALIGN_BOTTOMRIGHT)},
19384  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_SPECIAL", LAYOUTALIGN_SPECIAL)},
19385  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_FILL", LAYOUTALIGN_FILL)},
19386  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MAX", LAYOUTALIGN_MAX)},
19387  {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_ENSURE_32BIT", LAYOUTALIGN_ENSURE_32BIT)},
19388  {SWIG_LUA_CONSTTAB_INT("LAYOUT_NONE", LAYOUT_NONE)},
19389  {SWIG_LUA_CONSTTAB_INT("LAYOUT_TOP_DOWN_FLOW", LAYOUT_TOP_DOWN_FLOW)},
19390  {SWIG_LUA_CONSTTAB_INT("LAYOUT_LEFT_RIGHT_FLOW", LAYOUT_LEFT_RIGHT_FLOW)},
19391  {SWIG_LUA_CONSTTAB_INT("LAYOUT_BORDER", LAYOUT_BORDER)},
19392  {SWIG_LUA_CONSTTAB_INT("LAYOUT_PACK", LAYOUT_PACK)},
19393  {SWIG_LUA_CONSTTAB_INT("LAYOUT_STAR", LAYOUT_STAR)},
19394  {SWIG_LUA_CONSTTAB_INT("LAYOUT_CLIENT", LAYOUT_CLIENT)},
19395  {SWIG_LUA_CONSTTAB_INT("LAYOUT_COLUMN", LAYOUT_COLUMN)},
19396  {SWIG_LUA_CONSTTAB_INT("LAYOUT_MAX", LAYOUT_MAX)},
19397  {SWIG_LUA_CONSTTAB_INT("LAYOUT_ENSURE_32BIT", LAYOUT_ENSURE_32BIT)},
19398  {SWIG_LUA_CONSTTAB_INT("SPINNER_NORMAL", SPINNER_NORMAL)},
19399  {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_INCREASE", SPINNER_ONLY_INCREASE)},
19400  {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_DECREASE", SPINNER_ONLY_DECREASE)},
19401  {SWIG_LUA_CONSTTAB_INT("FILTER_S_PRIMARY", FILTER_S_PRIMARY)},
19402  {SWIG_LUA_CONSTTAB_INT("FILTER_S_SECONDARY", FILTER_S_SECONDARY)},
19403  {SWIG_LUA_CONSTTAB_INT("FILTER_S_HEAVY", FILTER_S_HEAVY)},
19404  {SWIG_LUA_CONSTTAB_INT("FILTER_S_MISC", FILTER_S_MISC)},
19405  {SWIG_LUA_CONSTTAB_INT("FILTER_S_ARMOUR", FILTER_S_ARMOUR)},
19406  {SWIG_LUA_CONSTTAB_INT("FILTER_S_IMPLANT", FILTER_S_IMPLANT)},
19407  {SWIG_LUA_CONSTTAB_INT("MAX_SOLDIER_FILTERTYPES", MAX_SOLDIER_FILTERTYPES)},
19408  {SWIG_LUA_CONSTTAB_INT("FILTER_CRAFTITEM", FILTER_CRAFTITEM)},
19409  {SWIG_LUA_CONSTTAB_INT("FILTER_UGVITEM", FILTER_UGVITEM)},
19410  {SWIG_LUA_CONSTTAB_INT("FILTER_AIRCRAFT", FILTER_AIRCRAFT)},
19411  {SWIG_LUA_CONSTTAB_INT("FILTER_DUMMY", FILTER_DUMMY)},
19412  {SWIG_LUA_CONSTTAB_INT("FILTER_DISASSEMBLY", FILTER_DISASSEMBLY)},
19413  {SWIG_LUA_CONSTTAB_INT("MAX_FILTERTYPES", MAX_FILTERTYPES)},
19414  {SWIG_LUA_CONSTTAB_INT("FILTER_ENSURE_32BIT", FILTER_ENSURE_32BIT)},
19415  {0,0,0,0,0,0}
19416 };
19417 static swig_lua_method swig_SwigModule_methods[]= {
19418  { "findvar", _wrap_findvar},
19419  { "getvar", _wrap_getvar},
19420  { "delvar", _wrap_delvar},
19421  { "create_control", _wrap_create_control},
19422  { "UI_CreateBar", _wrap_UI_CreateBar},
19423  { "UI_CreateBaseLayout", _wrap_UI_CreateBaseLayout},
19424  { "UI_CreateBaseInventory", _wrap_UI_CreateBaseInventory},
19425  { "UI_CreateButton", _wrap_UI_CreateButton},
19426  { "UI_CreateCheckBox", _wrap_UI_CreateCheckBox},
19427  { "UI_CreateConFunc", _wrap_UI_CreateConFunc},
19428  { "UI_CreateContainer", _wrap_UI_CreateContainer},
19429  { "UI_CreateData", _wrap_UI_CreateData},
19430  { "UI_CreateGeoscape", _wrap_UI_CreateGeoscape},
19431  { "UI_CreateImage", _wrap_UI_CreateImage},
19432  { "UI_CreateItem", _wrap_UI_CreateItem},
19433  { "UI_CreateLineChart", _wrap_UI_CreateLineChart},
19434  { "UI_CreateMessageList", _wrap_UI_CreateMessageList},
19435  { "UI_CreateModel", _wrap_UI_CreateModel},
19436  { "UI_CreateOption", _wrap_UI_CreateOption},
19437  { "UI_CreateOptionList", _wrap_UI_CreateOptionList},
19438  { "UI_CreateOptionTree", _wrap_UI_CreateOptionTree},
19439  { "UI_CreatePanel", _wrap_UI_CreatePanel},
19440  { "UI_CreateRadar", _wrap_UI_CreateRadar},
19441  { "UI_CreateRadioButton", _wrap_UI_CreateRadioButton},
19442  { "UI_CreateRows", _wrap_UI_CreateRows},
19443  { "UI_CreateSelectBox", _wrap_UI_CreateSelectBox},
19444  { "UI_CreateSequence", _wrap_UI_CreateSequence},
19445  { "UI_CreateSpinner", _wrap_UI_CreateSpinner},
19446  { "UI_CreateString", _wrap_UI_CreateString},
19447  { "UI_CreateTab", _wrap_UI_CreateTab},
19448  { "UI_CreateTBar", _wrap_UI_CreateTBar},
19449  { "UI_CreateText", _wrap_UI_CreateText},
19450  { "UI_CreateText2", _wrap_UI_CreateText2},
19451  { "UI_CreateTextEntry", _wrap_UI_CreateTextEntry},
19452  { "UI_CreateTextList", _wrap_UI_CreateTextList},
19453  { "UI_CreateTexture", _wrap_UI_CreateTexture},
19454  { "UI_CreateTimer", _wrap_UI_CreateTimer},
19455  { "UI_CreateVideo", _wrap_UI_CreateVideo},
19456  { "UI_CreateVScrollbar", _wrap_UI_CreateVScrollbar},
19457  { "UI_CreateWidget", _wrap_UI_CreateWidget},
19458  { "UI_CreateWindow", _wrap_UI_CreateWindow},
19459  { "UI_CreateZone", _wrap_UI_CreateZone},
19460  { "create_bar", _wrap_create_bar},
19461  { "create_button", _wrap_create_button},
19462  { "create_baselayout", _wrap_create_baselayout},
19463  { "create_baseinventory", _wrap_create_baseinventory},
19464  { "create_checkbox", _wrap_create_checkbox},
19465  { "create_confunc", _wrap_create_confunc},
19466  { "create_container", _wrap_create_container},
19467  { "create_data", _wrap_create_data},
19468  { "create_geoscape", _wrap_create_geoscape},
19469  { "create_image", _wrap_create_image},
19470  { "create_item", _wrap_create_item},
19471  { "create_linechart", _wrap_create_linechart},
19472  { "create_messagelist", _wrap_create_messagelist},
19473  { "create_model", _wrap_create_model},
19474  { "create_option", _wrap_create_option},
19475  { "create_optionlist", _wrap_create_optionlist},
19476  { "create_optiontree", _wrap_create_optiontree},
19477  { "create_panel", _wrap_create_panel},
19478  { "create_radar", _wrap_create_radar},
19479  { "create_radiobutton", _wrap_create_radiobutton},
19480  { "create_rows", _wrap_create_rows},
19481  { "create_selectbox", _wrap_create_selectbox},
19482  { "create_sequence", _wrap_create_sequence},
19483  { "create_spinner", _wrap_create_spinner},
19484  { "create_string", _wrap_create_string},
19485  { "create_tab", _wrap_create_tab},
19486  { "create_tbar", _wrap_create_tbar},
19487  { "create_text", _wrap_create_text},
19488  { "create_text2", _wrap_create_text2},
19489  { "create_textentry", _wrap_create_textentry},
19490  { "create_textlist", _wrap_create_textlist},
19491  { "create_texture", _wrap_create_texture},
19492  { "create_timer", _wrap_create_timer},
19493  { "create_video", _wrap_create_video},
19494  { "create_vscrollbar", _wrap_create_vscrollbar},
19495  { "create_widget", _wrap_create_widget},
19496  { "create_window", _wrap_create_window},
19497  { "create_zone", _wrap_create_zone},
19498  { "create_component", _wrap_create_component},
19499  { "pop_window", _wrap_pop_window},
19500  { "push_window", _wrap_push_window},
19501  { "get_window", _wrap_get_window},
19502  { "delete_node", _wrap_delete_node},
19503  { "cmd", _wrap_cmd},
19504  { "print", _wrap_print},
19505  { "dprint", _wrap_dprint},
19506  { "error", _wrap_error},
19507  { "nodetree", _wrap_nodetree},
19508  { "nodepath", _wrap_nodepath},
19509  { "register_onload", _wrap_register_onload},
19510  {0,0}
19511 };
19558  0
19559 };
19561  0
19562 };
19563 
19565  "ufo",
19570  swig_SwigModule_namespaces
19571 };
19572 #ifdef __cplusplus
19573 }
19574 #endif
19575 
19576 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19577 
19578 static void *_p_uiBaseInventoryNode_tTo_p_uiContainerNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19579  return (void *)((uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19580 }
19581 static void *_p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19582  return (void *)((uiModelNode_t *) ((uiItemNode_t *) x));
19583 }
19585  return (void *)((uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19586 }
19587 static void *_p_uiSelectBoxNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19588  return (void *)((uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19589 }
19590 static void *_p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19591  return (void *)((uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19592 }
19594  return (void *)((uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19595 }
19596 static void *_p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19597  return (void *)((uiTextNode_t *) ((uiText2Node_t *) x));
19598 }
19599 static void *_p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19600  return (void *)((uiTextNode_t *) ((uiTextListNode_t *) x));
19601 }
19603  return (void *)((uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19604 }
19605 static void *_p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19606  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiText2Node_t *) x));
19607 }
19608 static void *_p_uiTextNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19609  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19610 }
19611 static void *_p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19612  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19613 }
19614 static void *_p_uiTabNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19615  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19616 }
19617 static void *_p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19618  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19619 }
19620 static void *_p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19621  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19622 }
19623 static void *_p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19624  return (void *)((uiNode_t *) ((uiRadioButtonNode_t *) x));
19625 }
19626 static void *_p_uiRadarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19627  return (void *)((uiNode_t *) ((uiRadarNode_t *) x));
19628 }
19629 static void *_p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19630  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19631 }
19632 static void *_p_uiOptionListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19633  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19634 }
19635 static void *_p_uiOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19636  return (void *)((uiNode_t *) ((uiOptionNode_t *) x));
19637 }
19638 static void *_p_uiModelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19639  return (void *)((uiNode_t *) ((uiModelNode_t *) x));
19640 }
19641 static void *_p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19642  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19643 }
19644 static void *_p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19645  return (void *)((uiNode_t *) ((uiLineChartNode_t *) x));
19646 }
19647 static void *_p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19648  return (void *)((uiNode_t *) ((uiAbstractOptionNode_t *) x));
19649 }
19650 static void *_p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19651  return (void *)((uiNode_t *) ((uiAbstractScrollbarNode_t *) x));
19652 }
19653 static void *_p_uiBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19654  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19655 }
19656 static void *_p_uiBaseLayoutNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19657  return (void *)((uiNode_t *) ((uiBaseLayoutNode_t *) x));
19658 }
19659 static void *_p_uiButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19660  return (void *)((uiNode_t *) ((uiButtonNode_t *) x));
19661 }
19662 static void *_p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19663  return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19664 }
19665 static void *_p_uiContainerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19666  return (void *)((uiNode_t *) ((uiContainerNode_t *) x));
19667 }
19668 static void *_p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19669  return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiTextListNode_t *) x));
19670 }
19671 static void *_p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19672  return (void *)((uiNode_t *) ((uiTimerNode_t *) x));
19673 }
19674 static void *_p_uiVScrollBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19675  return (void *)((uiNode_t *) (uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19676 }
19677 static void *_p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19678  return (void *)((uiNode_t *) (uiImageNode_t *) ((uiWidgetNode_t *) x));
19679 }
19680 static void *_p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19681  return (void *)((uiNode_t *) ((uiTextEntryNode_t *) x));
19682 }
19683 static void *_p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19684  return (void *)((uiNode_t *) ((uiStringNode_t *) x));
19685 }
19686 static void *_p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19687  return (void *)((uiNode_t *) ((uiSequenceNode_t *) x));
19688 }
19689 static void *_p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19690  return (void *)((uiNode_t *) ((uiRowsNode_t *) x));
19691 }
19692 static void *_p_uiOptionTreeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19693  return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19694 }
19695 static void *_p_uiItemNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19696  return (void *)((uiNode_t *) (uiModelNode_t *) ((uiItemNode_t *) x));
19697 }
19698 static void *_p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19699  return (void *)((uiNode_t *) ((uiAbstractScrollableNode_t *) x));
19700 }
19701 static void *_p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19702  return (void *)((uiNode_t *) ((uiAbstractValueNode_t *) x));
19703 }
19704 static void *_p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19705  return (void *)((uiNode_t *) ((uiConFuncNode_t *) x));
19706 }
19707 static void *_p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19708  return (void *)((uiNode_t *) (uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19709 }
19710 static void *_p_uiDataNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19711  return (void *)((uiNode_t *) ((uiDataNode_t *) x));
19712 }
19713 static void *_p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19714  return (void *)((uiNode_t *) ((uiGeoscapeNode_t *) x));
19715 }
19716 static void *_p_uiImageNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19717  return (void *)((uiNode_t *) ((uiImageNode_t *) x));
19718 }
19719 static void *_p_uiTextureNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19720  return (void *)((uiNode_t *) ((uiTextureNode_t *) x));
19721 }
19722 static void *_p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19723  return (void *)((uiNode_t *) ((uiVideoNode_t *) x));
19724 }
19725 static void *_p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19726  return (void *)((uiNode_t *) ((uiWindowNode_t *) x));
19727 }
19728 static void *_p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19729  return (void *)((uiNode_t *) ((uiZoneNode_t *) x));
19730 }
19731 static void *_p_uiBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19732  return (void *)((uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19733 }
19734 static void *_p_uiCheckBoxNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19735  return (void *)((uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19736 }
19737 static void *_p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19738  return (void *)((uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19739 }
19740 static void *_p_uiTBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19741  return (void *)((uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19742 }
19744  return (void *)((uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19745 }
19746 static void *_p_uiPanelNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19747  return (void *)((uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19748 }
19749 static void *_p_uiTextNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19750  return (void *)((uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19751 }
19752 static void *_p_uiText2Node_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19753  return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiText2Node_t *) x));
19754 }
19756  return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiTextListNode_t *) x));
19757 }
19758 static void *_p_uiWidgetNode_tTo_p_uiImageNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19759  return (void *)((uiImageNode_t *) ((uiWidgetNode_t *) x));
19760 }
19761 static swig_type_info _swigt__p_LUA_EVENT = {"_p_LUA_EVENT", "LUA_EVENT *", 0, 0, (void*)0, 0};
19762 static swig_type_info _swigt__p_LUA_FUNCTION = {"_p_LUA_FUNCTION", "LUA_FUNCTION *", 0, 0, (void*)0, 0};
19763 static swig_type_info _swigt__p_LUA_METHOD = {"_p_LUA_METHOD", "LUA_METHOD *", 0, 0, (void*)0, 0};
19764 static swig_type_info _swigt__p_align_t = {"_p_align_t", "enum align_t *|align_t *", 0, 0, (void*)0, 0};
19765 static swig_type_info _swigt__p_cvar_t = {"_p_cvar_t", "cvar_t *", 0, 0, (void*)&_wrap_class_cvar, 0};
19766 static swig_type_info _swigt__p_invDef_t = {"_p_invDef_t", "invDef_t *", 0, 0, (void*)&_wrap_class_invDef, 0};
19767 static swig_type_info _swigt__p_itemFilterTypes_t = {"_p_itemFilterTypes_t", "enum itemFilterTypes_t *|itemFilterTypes_t *", 0, 0, (void*)0, 0};
19768 static swig_type_info _swigt__p_layoutAlign_t = {"_p_layoutAlign_t", "enum layoutAlign_t *|layoutAlign_t *", 0, 0, (void*)0, 0};
19769 static swig_type_info _swigt__p_linkedList_t = {"_p_linkedList_t", "linkedList_t *", 0, 0, (void*)0, 0};
19770 static swig_type_info _swigt__p_longlines_t = {"_p_longlines_t", "enum longlines_t *|longlines_t *", 0, 0, (void*)0, 0};
19771 static swig_type_info _swigt__p_panelLayout_t = {"_p_panelLayout_t", "enum panelLayout_t *|panelLayout_t *", 0, 0, (void*)0, 0};
19772 static swig_type_info _swigt__p_uiAbstractOptionNode_t = {"_p_uiAbstractOptionNode_t", "uiAbstractOptionNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractOptionNode, 0};
19773 static swig_type_info _swigt__p_uiAbstractScrollableNode_t = {"_p_uiAbstractScrollableNode_t", "uiAbstractScrollableNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollableNode, 0};
19774 static swig_type_info _swigt__p_uiAbstractScrollbarNode_t = {"_p_uiAbstractScrollbarNode_t", "uiAbstractScrollbarNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollbarNode, 0};
19775 static swig_type_info _swigt__p_uiAbstractValueNode_t = {"_p_uiAbstractValueNode_t", "uiAbstractValueNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractValueNode, 0};
19776 static swig_type_info _swigt__p_uiBarNode_t = {"_p_uiBarNode_t", "uiBarNode_t *", 0, 0, (void*)&_wrap_class_uiBar, 0};
19777 static swig_type_info _swigt__p_uiBaseInventoryNode_t = {"_p_uiBaseInventoryNode_t", "uiBaseInventoryNode_t *", 0, 0, (void*)&_wrap_class_uiBaseInventory, 0};
19778 static swig_type_info _swigt__p_uiBaseLayoutNode_t = {"_p_uiBaseLayoutNode_t", "uiBaseLayoutNode_t *", 0, 0, (void*)&_wrap_class_uiBaseLayout, 0};
19779 static swig_type_info _swigt__p_uiButtonNode_t = {"_p_uiButtonNode_t", "uiButtonNode_t *", 0, 0, (void*)&_wrap_class_uiButton, 0};
19780 static swig_type_info _swigt__p_uiCheckBoxNode_t = {"_p_uiCheckBoxNode_t", "uiCheckBoxNode_t *", 0, 0, (void*)&_wrap_class_uiCheckBox, 0};
19781 static swig_type_info _swigt__p_uiConFuncNode_t = {"_p_uiConFuncNode_t", "uiConFuncNode_t *", 0, 0, (void*)&_wrap_class_uiConFunc, 0};
19782 static swig_type_info _swigt__p_uiContainerNode_t = {"_p_uiContainerNode_t", "uiContainerNode_t *", 0, 0, (void*)&_wrap_class_uiContainer, 0};
19783 static swig_type_info _swigt__p_uiDataNode_t = {"_p_uiDataNode_t", "uiDataNode_t *", 0, 0, (void*)&_wrap_class_uiData, 0};
19784 static swig_type_info _swigt__p_uiGeoscapeNode_t = {"_p_uiGeoscapeNode_t", "uiGeoscapeNode_t *", 0, 0, (void*)&_wrap_class_uiGeoscape, 0};
19785 static swig_type_info _swigt__p_uiImageNode_t = {"_p_uiImageNode_t", "uiImageNode_t *", 0, 0, (void*)&_wrap_class_uiImage, 0};
19786 static swig_type_info _swigt__p_uiItemNode_t = {"_p_uiItemNode_t", "uiItemNode_t *", 0, 0, (void*)&_wrap_class_uiItem, 0};
19787 static swig_type_info _swigt__p_uiLineChartNode_t = {"_p_uiLineChartNode_t", "uiLineChartNode_t *", 0, 0, (void*)&_wrap_class_uiLineChart, 0};
19788 static swig_type_info _swigt__p_uiMessageListNode_t = {"_p_uiMessageListNode_t", "uiMessageListNode_t *", 0, 0, (void*)&_wrap_class_uiMessageList, 0};
19789 static swig_type_info _swigt__p_uiModelNode_t = {"_p_uiModelNode_t", "uiModelNode_t *", 0, 0, (void*)&_wrap_class_uiModel, 0};
19790 static swig_type_info _swigt__p_uiNode_t = {"_p_uiNode_t", "uiNode_t *", 0, 0, (void*)&_wrap_class_uiNode, 0};
19791 static swig_type_info _swigt__p_uiOptionListNode_t = {"_p_uiOptionListNode_t", "uiOptionListNode_t *", 0, 0, (void*)&_wrap_class_uiOptionList, 0};
19792 static swig_type_info _swigt__p_uiOptionNode_t = {"_p_uiOptionNode_t", "uiOptionNode_t *", 0, 0, (void*)&_wrap_class_uiOption, 0};
19793 static swig_type_info _swigt__p_uiOptionTreeNode_t = {"_p_uiOptionTreeNode_t", "uiOptionTreeNode_t *", 0, 0, (void*)&_wrap_class_uiOptionTree, 0};
19794 static swig_type_info _swigt__p_uiPanelNode_t = {"_p_uiPanelNode_t", "uiPanelNode_t *", 0, 0, (void*)&_wrap_class_uiPanel, 0};
19795 static swig_type_info _swigt__p_uiRadarNode_t = {"_p_uiRadarNode_t", "uiRadarNode_t *", 0, 0, (void*)&_wrap_class_uiRadar, 0};
19796 static swig_type_info _swigt__p_uiRadioButtonNode_t = {"_p_uiRadioButtonNode_t", "uiRadioButtonNode_t *", 0, 0, (void*)&_wrap_class_uiRadioButton, 0};
19797 static swig_type_info _swigt__p_uiRowsNode_t = {"_p_uiRowsNode_t", "uiRowsNode_t *", 0, 0, (void*)&_wrap_class_uiRows, 0};
19798 static swig_type_info _swigt__p_uiSelectBoxNode_t = {"_p_uiSelectBoxNode_t", "uiSelectBoxNode_t *", 0, 0, (void*)&_wrap_class_uiSelectBox, 0};
19799 static swig_type_info _swigt__p_uiSequenceNode_t = {"_p_uiSequenceNode_t", "uiSequenceNode_t *", 0, 0, (void*)&_wrap_class_uiSequence, 0};
19800 static swig_type_info _swigt__p_uiSpinnerNode_t = {"_p_uiSpinnerNode_t", "uiSpinnerNode_t *", 0, 0, (void*)&_wrap_class_uiSpinner, 0};
19801 static swig_type_info _swigt__p_uiStringNode_t = {"_p_uiStringNode_t", "uiStringNode_t *", 0, 0, (void*)&_wrap_class_uiString, 0};
19802 static swig_type_info _swigt__p_uiTBarNode_t = {"_p_uiTBarNode_t", "uiTBarNode_t *", 0, 0, (void*)&_wrap_class_uiTBar, 0};
19803 static swig_type_info _swigt__p_uiTabNode_t = {"_p_uiTabNode_t", "uiTabNode_t *", 0, 0, (void*)&_wrap_class_uiTab, 0};
19804 static swig_type_info _swigt__p_uiText2Node_t = {"_p_uiText2Node_t", "uiText2Node_t *", 0, 0, (void*)&_wrap_class_uiText2, 0};
19805 static swig_type_info _swigt__p_uiTextEntryNode_t = {"_p_uiTextEntryNode_t", "uiTextEntryNode_t *", 0, 0, (void*)&_wrap_class_uiTextEntry, 0};
19806 static swig_type_info _swigt__p_uiTextListNode_t = {"_p_uiTextListNode_t", "uiTextListNode_t *", 0, 0, (void*)&_wrap_class_uiTextList, 0};
19807 static swig_type_info _swigt__p_uiTextNode_t = {"_p_uiTextNode_t", "uiTextNode_t *", 0, 0, (void*)&_wrap_class_uiText, 0};
19808 static swig_type_info _swigt__p_uiTextureNode_t = {"_p_uiTextureNode_t", "uiTextureNode_t *", 0, 0, (void*)&_wrap_class_uiTexture, 0};
19809 static swig_type_info _swigt__p_uiTimerNode_t = {"_p_uiTimerNode_t", "uiTimerNode_t *", 0, 0, (void*)&_wrap_class_uiTimer, 0};
19810 static swig_type_info _swigt__p_uiVScrollBarNode_t = {"_p_uiVScrollBarNode_t", "uiVScrollBarNode_t *", 0, 0, (void*)&_wrap_class_uiVScrollbar, 0};
19811 static swig_type_info _swigt__p_uiVideoNode_t = {"_p_uiVideoNode_t", "uiVideoNode_t *", 0, 0, (void*)&_wrap_class_uiVideo, 0};
19812 static swig_type_info _swigt__p_uiWidgetNode_t = {"_p_uiWidgetNode_t", "uiWidgetNode_t *", 0, 0, (void*)&_wrap_class_uiWidget, 0};
19813 static swig_type_info _swigt__p_uiWindowNode_t = {"_p_uiWindowNode_t", "uiWindowNode_t *", 0, 0, (void*)&_wrap_class_uiWindow, 0};
19814 static swig_type_info _swigt__p_uiZoneNode_t = {"_p_uiZoneNode_t", "uiZoneNode_t *", 0, 0, (void*)&_wrap_class_uiZone, 0};
19815 static swig_type_info _swigt__p_vec2_struct_t = {"_p_vec2_struct_t", "vec2_struct_t *", 0, 0, (void*)0, 0};
19816 static swig_type_info _swigt__p_vec3_struct_t = {"_p_vec3_struct_t", "vec3_struct_t *", 0, 0, (void*)0, 0};
19817 
19818 static swig_type_info *swig_type_initial[] = {
19875 };
19876 
19877 static swig_cast_info _swigc__p_LUA_EVENT[] = { {&_swigt__p_LUA_EVENT, 0, 0, 0},{0, 0, 0, 0}};
19878 static swig_cast_info _swigc__p_LUA_FUNCTION[] = { {&_swigt__p_LUA_FUNCTION, 0, 0, 0},{0, 0, 0, 0}};
19879 static swig_cast_info _swigc__p_LUA_METHOD[] = { {&_swigt__p_LUA_METHOD, 0, 0, 0},{0, 0, 0, 0}};
19880 static swig_cast_info _swigc__p_align_t[] = { {&_swigt__p_align_t, 0, 0, 0},{0, 0, 0, 0}};
19881 static swig_cast_info _swigc__p_cvar_t[] = { {&_swigt__p_cvar_t, 0, 0, 0},{0, 0, 0, 0}};
19882 static swig_cast_info _swigc__p_invDef_t[] = { {&_swigt__p_invDef_t, 0, 0, 0},{0, 0, 0, 0}};
19884 static swig_cast_info _swigc__p_layoutAlign_t[] = { {&_swigt__p_layoutAlign_t, 0, 0, 0},{0, 0, 0, 0}};
19885 static swig_cast_info _swigc__p_linkedList_t[] = { {&_swigt__p_linkedList_t, 0, 0, 0},{0, 0, 0, 0}};
19886 static swig_cast_info _swigc__p_longlines_t[] = { {&_swigt__p_longlines_t, 0, 0, 0},{0, 0, 0, 0}};
19887 static swig_cast_info _swigc__p_panelLayout_t[] = { {&_swigt__p_panelLayout_t, 0, 0, 0},{0, 0, 0, 0}};
19892 static swig_cast_info _swigc__p_uiBarNode_t[] = { {&_swigt__p_uiBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19899 static swig_cast_info _swigc__p_uiDataNode_t[] = { {&_swigt__p_uiDataNode_t, 0, 0, 0},{0, 0, 0, 0}};
19902 static swig_cast_info _swigc__p_uiItemNode_t[] = { {&_swigt__p_uiItemNode_t, 0, 0, 0},{0, 0, 0, 0}};
19906 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}};
19910 static swig_cast_info _swigc__p_uiPanelNode_t[] = { {&_swigt__p_uiPanelNode_t, 0, 0, 0},{0, 0, 0, 0}};
19911 static swig_cast_info _swigc__p_uiRadarNode_t[] = { {&_swigt__p_uiRadarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19913 static swig_cast_info _swigc__p_uiRowsNode_t[] = { {&_swigt__p_uiRowsNode_t, 0, 0, 0},{0, 0, 0, 0}};
19918 static swig_cast_info _swigc__p_uiTBarNode_t[] = { {&_swigt__p_uiTBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19919 static swig_cast_info _swigc__p_uiTabNode_t[] = { {&_swigt__p_uiTabNode_t, 0, 0, 0},{0, 0, 0, 0}};
19920 static swig_cast_info _swigc__p_uiText2Node_t[] = { {&_swigt__p_uiText2Node_t, 0, 0, 0},{0, 0, 0, 0}};
19925 static swig_cast_info _swigc__p_uiTimerNode_t[] = { {&_swigt__p_uiTimerNode_t, 0, 0, 0},{0, 0, 0, 0}};
19927 static swig_cast_info _swigc__p_uiVideoNode_t[] = { {&_swigt__p_uiVideoNode_t, 0, 0, 0},{0, 0, 0, 0}};
19930 static swig_cast_info _swigc__p_uiZoneNode_t[] = { {&_swigt__p_uiZoneNode_t, 0, 0, 0},{0, 0, 0, 0}};
19931 static swig_cast_info _swigc__p_vec2_struct_t[] = { {&_swigt__p_vec2_struct_t, 0, 0, 0},{0, 0, 0, 0}};
19932 static swig_cast_info _swigc__p_vec3_struct_t[] = { {&_swigt__p_vec3_struct_t, 0, 0, 0},{0, 0, 0, 0}};
19933 
19991 };
19992 
19993 
19994 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
19995 
19996 /* -----------------------------------------------------------------------------
19997  * Type initialization:
19998  * This problem is tough by the requirement that no dynamic
19999  * memory is used. Also, since swig_type_info structures store pointers to
20000  * swig_cast_info structures and swig_cast_info structures store pointers back
20001  * to swig_type_info structures, we need some lookup code at initialization.
20002  * The idea is that swig generates all the structures that are needed.
20003  * The runtime then collects these partially filled structures.
20004  * The SWIG_InitializeModule function takes these initial arrays out of
20005  * swig_module, and does all the lookup, filling in the swig_module.types
20006  * array with the correct data and linking the correct swig_cast_info
20007  * structures together.
20008  *
20009  * The generated swig_type_info structures are assigned statically to an initial
20010  * array. We just loop through that array, and handle each type individually.
20011  * First we lookup if this type has been already loaded, and if so, use the
20012  * loaded structure instead of the generated one. Then we have to fill in the
20013  * cast linked list. The cast data is initially stored in something like a
20014  * two-dimensional array. Each row corresponds to a type (there are the same
20015  * number of rows as there are in the swig_type_initial array). Each entry in
20016  * a column is one of the swig_cast_info structures for that type.
20017  * The cast_initial array is actually an array of arrays, because each row has
20018  * a variable number of columns. So to actually build the cast linked list,
20019  * we find the array of casts associated with the type, and loop through it
20020  * adding the casts to the list. The one last trick we need to do is making
20021  * sure the type pointer in the swig_cast_info struct is correct.
20022  *
20023  * First off, we lookup the cast->type name to see if it is already loaded.
20024  * There are three cases to handle:
20025  * 1) If the cast->type has already been loaded AND the type we are adding
20026  * casting info to has not been loaded (it is in this module), THEN we
20027  * replace the cast->type pointer with the type pointer that has already
20028  * been loaded.
20029  * 2) If BOTH types (the one we are adding casting info to, and the
20030  * cast->type) are loaded, THEN the cast info has already been loaded by
20031  * the previous module so we just ignore it.
20032  * 3) Finally, if cast->type has not already been loaded, then we add that
20033  * swig_cast_info to the linked list (because the cast->type) pointer will
20034  * be correct.
20035  * ----------------------------------------------------------------------------- */
20036 
20037 #ifdef __cplusplus
20038 extern "C" {
20039 #if 0
20040 } /* c-mode */
20041 #endif
20042 #endif
20043 
20044 #if 0
20045 #define SWIGRUNTIME_DEBUG
20046 #endif
20047 
20048 
20049 SWIGRUNTIME void
20050 SWIG_InitializeModule(void *clientdata) {
20051  size_t i;
20052  swig_module_info *module_head, *iter;
20053  int init;
20054 
20055  /* check to see if the circular list has been setup, if not, set it up */
20056  if (swig_module.next==0) {
20057  /* Initialize the swig_module */
20058  swig_module.type_initial = swig_type_initial;
20059  swig_module.cast_initial = swig_cast_initial;
20060  swig_module.next = &swig_module;
20061  init = 1;
20062  } else {
20063  init = 0;
20064  }
20065 
20066  /* Try and load any already created modules */
20067  module_head = SWIG_GetModule(clientdata);
20068  if (!module_head) {
20069  /* This is the first module loaded for this interpreter */
20070  /* so set the swig module into the interpreter */
20071  SWIG_SetModule(clientdata, &swig_module);
20072  } else {
20073  /* the interpreter has loaded a SWIG module, but has it loaded this one? */
20074  iter=module_head;
20075  do {
20076  if (iter==&swig_module) {
20077  /* Our module is already in the list, so there's nothing more to do. */
20078  return;
20079  }
20080  iter=iter->next;
20081  } while (iter!= module_head);
20082 
20083  /* otherwise we must add our module into the list */
20084  swig_module.next = module_head->next;
20085  module_head->next = &swig_module;
20086  }
20087 
20088  /* When multiple interpreters are used, a module could have already been initialized in
20089  a different interpreter, but not yet have a pointer in this interpreter.
20090  In this case, we do not want to continue adding types... everything should be
20091  set up already */
20092  if (init == 0) return;
20093 
20094  /* Now work on filling in swig_module.types */
20095 #ifdef SWIGRUNTIME_DEBUG
20096  printf("SWIG_InitializeModule: size %d\n", swig_module.size);
20097 #endif
20098  for (i = 0; i < swig_module.size; ++i) {
20099  swig_type_info *type = 0;
20100  swig_type_info *ret;
20101  swig_cast_info *cast;
20102 
20103 #ifdef SWIGRUNTIME_DEBUG
20104  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20105 #endif
20106 
20107  /* if there is another module already loaded */
20108  if (swig_module.next != &swig_module) {
20109  type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
20110  }
20111  if (type) {
20112  /* Overwrite clientdata field */
20113 #ifdef SWIGRUNTIME_DEBUG
20114  printf("SWIG_InitializeModule: found type %s\n", type->name);
20115 #endif
20116  if (swig_module.type_initial[i]->clientdata) {
20117  type->clientdata = swig_module.type_initial[i]->clientdata;
20118 #ifdef SWIGRUNTIME_DEBUG
20119  printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20120 #endif
20121  }
20122  } else {
20123  type = swig_module.type_initial[i];
20124  }
20125 
20126  /* Insert casting types */
20127  cast = swig_module.cast_initial[i];
20128  while (cast->type) {
20129 
20130  /* Don't need to add information already in the list */
20131  ret = 0;
20132 #ifdef SWIGRUNTIME_DEBUG
20133  printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20134 #endif
20135  if (swig_module.next != &swig_module) {
20136  ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
20137 #ifdef SWIGRUNTIME_DEBUG
20138  if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20139 #endif
20140  }
20141  if (ret) {
20142  if (type == swig_module.type_initial[i]) {
20143 #ifdef SWIGRUNTIME_DEBUG
20144  printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20145 #endif
20146  cast->type = ret;
20147  ret = 0;
20148  } else {
20149  /* Check for casting already in the list */
20150  swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20151 #ifdef SWIGRUNTIME_DEBUG
20152  if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20153 #endif
20154  if (!ocast) ret = 0;
20155  }
20156  }
20157 
20158  if (!ret) {
20159 #ifdef SWIGRUNTIME_DEBUG
20160  printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20161 #endif
20162  if (type->cast) {
20163  type->cast->prev = cast;
20164  cast->next = type->cast;
20165  }
20166  type->cast = cast;
20167  }
20168  cast++;
20169  }
20170  /* Set entry in modules->types array equal to the type */
20171  swig_module.types[i] = type;
20172  }
20173  swig_module.types[i] = 0;
20174 
20175 #ifdef SWIGRUNTIME_DEBUG
20176  printf("**** SWIG_InitializeModule: Cast List ******\n");
20177  for (i = 0; i < swig_module.size; ++i) {
20178  int j = 0;
20179  swig_cast_info *cast = swig_module.cast_initial[i];
20180  printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
20181  while (cast->type) {
20182  printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20183  cast++;
20184  ++j;
20185  }
20186  printf("---- Total casts: %d\n",j);
20187  }
20188  printf("**** SWIG_InitializeModule: Cast List ******\n");
20189 #endif
20190 }
20191 
20192 /* This function will propagate the clientdata field of type to
20193 * any new swig_type_info structures that have been added into the list
20194 * of equivalent types. It is like calling
20195 * SWIG_TypeClientData(type, clientdata) a second time.
20196 */
20197 SWIGRUNTIME void
20199  size_t i;
20200  swig_cast_info *equiv;
20201  static int init_run = 0;
20202 
20203  if (init_run) return;
20204  init_run = 1;
20205 
20206  for (i = 0; i < swig_module.size; i++) {
20207  if (swig_module.types[i]->clientdata) {
20208  equiv = swig_module.types[i]->cast;
20209  while (equiv) {
20210  if (!equiv->converter) {
20211  if (equiv->type && !equiv->type->clientdata)
20212  SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20213  }
20214  equiv = equiv->next;
20215  }
20216  }
20217  }
20218 }
20219 
20220 #ifdef __cplusplus
20221 #if 0
20222 { /* c-mode */
20223 #endif
20224 }
20225 #endif
20226 
20227 
20228 
20229 /* Forward declaration of where the user's %init{} gets inserted */
20230 void SWIG_init_user(lua_State* L );
20231 
20232 #ifdef __cplusplus
20233 extern "C" {
20234 #endif
20235 /* this is the initialization function
20236  added at the very end of the code
20237  the function is always called SWIG_init, but an earlier #define will rename it
20238 */
20239 #if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
20240 LUALIB_API int SWIG_init(lua_State* L)
20241 #else
20242 SWIGEXPORT int SWIG_init(lua_State* L) /* default Lua action */
20243 #endif
20244 {
20245 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) /* valid for both Lua and eLua */
20246  int i;
20247  int globalRegister = 0;
20248  /* start with global table */
20249  lua_pushglobaltable (L);
20250  /* SWIG's internal initialisation */
20251  SWIG_InitializeModule((void*)L);
20253 #endif
20254 
20255 #if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)) || defined(SWIG_LUA_ELUA_EMULATE)
20256  /* add a global fn */
20257  SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
20259 #endif
20260 
20261 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20262  /* set up base class pointers (the hierarchy) */
20263  for (i = 0; swig_types[i]; i++){
20264  if (swig_types[i]->clientdata){
20265  SWIG_Lua_init_base_class(L,(swig_lua_class*)(swig_types[i]->clientdata));
20266  }
20267  }
20268 #ifdef SWIG_LUA_MODULE_GLOBAL
20269  globalRegister = 1;
20270 #endif
20271 
20272 
20273 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
20274  SWIG_Lua_namespace_register(L,&swig_SwigModule, globalRegister);
20275 #endif
20276 
20277 #if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
20278  for (i = 0; swig_types[i]; i++){
20279  if (swig_types[i]->clientdata){
20280  SWIG_Lua_elua_class_register_instance(L,(swig_lua_class*)(swig_types[i]->clientdata));
20281  }
20282  }
20283 #endif
20284 
20285 #if defined(SWIG_LUA_ELUA_EMULATE)
20286  lua_newtable(L);
20287  SWIG_Lua_elua_emulate_register(L,swig_SwigModule.ns_methods);
20288  SWIG_Lua_elua_emulate_register_clear(L);
20289  if(globalRegister) {
20290  lua_pushstring(L,swig_SwigModule.name);
20291  lua_pushvalue(L,-2);
20292  lua_rawset(L,-4);
20293  }
20294 #endif
20295 
20296 #endif
20297 
20298 #if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20299  /* invoke user-specific initialization */
20300  SWIG_init_user(L);
20301  /* end module */
20302  /* Note: We do not clean up the stack here (Lua will do this for us). At this
20303  point, we have the globals table and out module table on the stack. Returning
20304  one value makes the module table the result of the require command. */
20305  return 1;
20306 #else
20307  return 0;
20308 #endif
20309 }
20310 
20311 #ifdef __cplusplus
20312 }
20313 #endif
20314 
20315 
20316 const char* SWIG_LUACODE=
20317  "";
20318 
20319 void SWIG_init_user(lua_State* L)
20320 {
20321  /* exec Lua code if applicable */
20322  SWIG_Lua_dostring(L,SWIG_LUACODE);
20323 }
static swig_lua_attribute swig_uiModel_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiConFunc_Sf_SwigStatic_classes[]
SWIGINTERN float uiAbstractValueNode_t_lastdiff(uiAbstractValueNode_t *self)
static swig_lua_class * swig_uiModel_bases[]
static swig_lua_class * swig_uiAbstractValueNode_Sf_SwigStatic_classes[]
static int _wrap_uiZone_clickdelay(lua_State *L)
static int _wrap_uiTextEntry_is_clickoutabort(lua_State *L)
static int _wrap_dprint(lua_State *L)
static int _wrap_uiNode_on_keyreleased_get(lua_State *L)
static int _wrap_uiNode_bordersize(lua_State *L)
static const char * swig_uiTexture_base_names[]
SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self, float v1, float v2)
static swig_lua_class * swig_uiSelectBox_Sf_SwigStatic_classes[]
void UI_Button_SetBackgroundByName(uiNode_t *node, const char *name)
static int _wrap_delvar(lua_State *L)
static swig_type_info _swigt__p_uiOptionTreeNode_t
#define SWIGTYPE_p_uiSequenceNode_t
static swig_lua_const_info swig_uiGeoscape_Sf_SwigStatic_constants[]
static int _proxy__wrap_new_uiCheckBox(lua_State *L)
static void swig_delete_uiText(void *obj)
static int _wrap_uiNode_on_focuslost_set(lua_State *L)
static swig_lua_method swig_uiTextEntry_meta[]
SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self, char const *text)
static int _wrap_uiWindow_set_noticepos(lua_State *L)
static swig_lua_namespace swig_uiSelectBox_Sf_SwigStatic
static int _wrap_uiNode_remove_children(lua_State *L)
static void uiWindowNode_t_lua_onWindowOpened_set(uiWindowNode_t *node, LUA_EVENT fn)
static int _proxy__wrap_new_uiButton(lua_State *L)
SWIGINTERN bool uiSpinnerNode_t_is_horizontal(uiSpinnerNode_t *self)
SWIGINTERN void uiTextNode_t_set_lineselected(uiTextNode_t *self, int line)
static int _proxy__wrap_new_uiGeoscape(lua_State *L)
SWIGINTERN bool uiNode_t_is_invisible(uiNode_t *self)
static swig_lua_attribute swig_uiMessageList_Sf_SwigStatic_attributes[]
static swig_lua_class _wrap_class_uiZone
SWIGINTERN void uiWindowNode_t_set_background(uiWindowNode_t *self, char const *name)
static swig_lua_method swig_uiAbstractOptionNode_Sf_SwigStatic_methods[]
static swig_lua_const_info swig_uiTextEntry_Sf_SwigStatic_constants[]
float UI_AbstractValue_GetMax(uiNode_t *node)
static swig_lua_class * swig_uiOptionList_Sf_SwigStatic_classes[]
SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L, void *ptr, size_t size, swig_type_info *type)
static int _wrap_uiWindow_on_windowopened_set(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailable(uiBaseInventoryNode_t *self, bool value)
static void * _p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiItemNode_t_is_containerlike(uiItemNode_t *self)
static int _wrap_uiAbstractScrollbarNode_set_autoshowscroll(lua_State *L)
static uiOptionListNode_t * UI_CreateOptionList(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiAbstractOptionNode_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiLineChart_Sf_SwigStatic_methods[]
static swig_lua_class * swig_cvar_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiOption_Sf_SwigStatic_classes[]
static int _wrap_uiNode_find(lua_State *L)
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
static int _wrap_uiNode_on_keypressed_get(lua_State *L)
static swig_lua_class * swig_uiTextList_bases[]
static swig_lua_class * swig_uiTexture_bases[]
struct swig_module_info swig_module_info
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
struct cvar_s cvar_t
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
SWIGINTERN void uiTextEntryNode_t_set_background(uiTextEntryNode_t *self, char const *name)
SWIGINTERN float uiNode_t_top(uiNode_t *self)
static int _wrap_uiText_set_dataid(lua_State *L)
static int _wrap_uiModel_set_omega(lua_State *L)
static void swig_delete_uiGeoscape(void *obj)
SWIGINTERN int uiBaseInventoryNode_t_filtertype(uiBaseInventoryNode_t *self)
static uiSequenceNode_t * UI_CreateSequence(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiTBar_set_texh(lua_State *L)
#define SWIGTYPE_p_uiMessageListNode_t
SWIGINTERN void uiModelNode_t_set_model(uiModelNode_t *self, char const *name)
static uiItemNode_t * UI_CreateItem(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiSelectBoxNode_t
static int _wrap_uiNode_set_bordercolor(lua_State *L)
static swig_lua_const_info swig_uiLineChart_Sf_SwigStatic_constants[]
static swig_lua_namespace swig_uiVScrollbar_Sf_SwigStatic
static swig_lua_attribute swig_uiGeoscape_Sf_SwigStatic_attributes[]
SWIGINTERN void uiAbstractScrollableNode_t_moveend(uiAbstractScrollableNode_t *self)
static int _wrap_uiNode_add_classmethod(lua_State *L)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
static swig_lua_attribute swig_uiTextEntry_attributes[]
static int _proxy__wrap_new_uiSpinner(lua_State *L)
static int _wrap_UI_CreateBaseInventory(lua_State *L)
uiNode_t uiTabNode_t
static swig_lua_class * swig_uiText2_bases[]
static int _wrap_uiText_set_tabwidth(lua_State *L)
static swig_lua_class _wrap_class_cvar
static swig_lua_method swig_uiOptionTree_methods[]
static int _wrap_new_uiImage(lua_State *L)
#define SWIGTYPE_p_uiTextListNode_t
static int _wrap_uiNode_insert_node(lua_State *L)
static int _wrap_uiOption_set_icon(lua_State *L)
#define SWIG_LUA_INT
SWIGINTERN void uiWindowNode_t_set_starlayout(uiWindowNode_t *self, bool value)
static swig_lua_const_info swig_uiButton_Sf_SwigStatic_constants[]
static void swig_delete_uiOptionTree(void *obj)
static int _wrap_uiModel_set_animation(lua_State *L)
static swig_lua_class * swig_uiModel_Sf_SwigStatic_classes[]
static int _wrap_uiCheckBox_set_iconchecked(lua_State *L)
static swig_type_info _swigt__p_LUA_FUNCTION
static int _wrap_uiOption_is_flipicion(lua_State *L)
#define SWIG_LUA_BINARY
SWIGINTERN uiNode_t * uiNode_t_root(uiNode_t *self)
static uiZoneNode_t * UI_CreateZone(uiNode_t *parent, const char *name, const char *super)
static int _wrap_error(lua_State *L)
#define VectorSet(v, x, y, z)
Definition: vector.h:59
static int _wrap_create_text(lua_State *L)
static swig_lua_namespace swig_uiBaseLayout_Sf_SwigStatic
static uiImageNode_t * UI_CreateImage(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiAbstractValueNode_t
SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self, bool value)
void UI_AbstractScrollbarNodeSet(uiNode_t *node, int value)
Set the position of the scrollbar to a value.
static int _wrap_UI_CreateItem(lua_State *L)
SWIGINTERN char const * uiNode_t_font(uiNode_t *self)
static void * _p_uiTextNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN vec3_struct_t * uiModelNode_t_scale(uiModelNode_t *self)
static int _wrap_uiNode_on_wheeldown_get(lua_State *L)
static swig_lua_method swig_uiRadioButton_methods[]
#define lua_rawlen
uiNode_t uiConFuncNode_t
void UI_Sequence_SetSource(uiNode_t *node, const char *name)
static swig_lua_method swig_uiWidget_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractValueNode_delta(lua_State *L)
static swig_lua_class * swig_uiWindow_Sf_SwigStatic_classes[]
static int _wrap_new_uiOption(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayammo(uiBaseInventoryNode_t *self, bool value)
static uiTextEntryNode_t * UI_CreateTextEntry(uiNode_t *parent, const char *name, const char *super)
int UI_AbstractOption_GetDataId(uiNode_t *node)
static int _wrap_uiNode_root(lua_State *L)
float UI_AbstractValue_GetLastDiff(uiNode_t *node)
#define SWIGTYPE_p_uiTextEntryNode_t
uiNode_t * parent
Definition: ui_nodes.h:92
static int _wrap_uiModel_skin(lua_State *L)
static void * _p_uiOptionListNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiTextList_meta[]
SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx, int skip_check)
static int _wrap_uiVideo_set_nosound(lua_State *L)
static int _wrap_new_uiLineChart(lua_State *L)
static const char * swig_uiConFunc_base_names[]
static swig_type_info _swigt__p_cvar_t
static swig_lua_method swig_uiVideo_meta[]
static swig_lua_namespace swig_uiTexture_Sf_SwigStatic
static swig_lua_attribute swig_uiAbstractValueNode_attributes[]
static swig_type_info * swig_type_initial[]
SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self, bool value)
static int _wrap_uiWindow_is_modal(lua_State *L)
static int _wrap_uiAbstractValueNode_set_max__SWIG_1(lua_State *L)
static int _proxy__wrap_new_uiLineChart(lua_State *L)
static void * _p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_const_info swig_uiSpinner_Sf_SwigStatic_constants[]
SWIGINTERN float uiAbstractValueNode_t_min(uiAbstractValueNode_t *self)
SWIGINTERN int SWIG_Lua_iterate_bases(lua_State *L, swig_type_info *SWIGUNUSED swig_type, int first_arg, swig_lua_base_iterator_func func, int *const ret)
static const char * swig_uiBaseInventory_base_names[]
QGL_EXTERN GLint GLenum type
Definition: r_gl.h:94
static int _wrap_uiTextEntry_focus(lua_State *L)
static uiSelectBoxNode_t * UI_CreateSelectBox(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiNode_t_set_font(uiNode_t *self, char const *name)
static int _wrap_cvar_as_integer(lua_State *L)
static void swig_delete_uiTBar(void *obj)
static void * _p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static uiTimerNode_t * UI_CreateTimer(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN float uiAbstractValueNode_t_value(uiAbstractValueNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_set_iconunchecked(uiCheckBoxNode_t *self, char const *name)
static swig_type_info _swigt__p_uiTimerNode_t
SWIGINTERN void uiAbstractOptionNode_t_set_cvar(uiAbstractOptionNode_t *self, char const *name)
#define SWIG_TYPE_TABLE_NAME
static swig_lua_attribute swig_uiAbstractValueNode_Sf_SwigStatic_attributes[]
static LUA_EVENT uiContainerNode_t_lua_onSelect_get(uiContainerNode_t *node)
static int _wrap_uiWindow_close(lua_State *L)
static int _wrap_uiData_set_value(lua_State *L)
static int _wrap_uiAbstractValueNode_set_min__SWIG_0(lua_State *L)
static int _wrap_new_uiTab(lua_State *L)
static swig_cast_info _swigc__p_uiRadioButtonNode_t[]
static const char * swig_uiGeoscape_base_names[]
static swig_lua_const_info swig_uiText_Sf_SwigStatic_constants[]
static swig_lua_namespace swig_uiAbstractOptionNode_Sf_SwigStatic
static int _wrap_create_timer(lua_State *L)
static swig_lua_attribute swig_uiTexture_attributes[]
static int _proxy__wrap_new_uiBar(lua_State *L)
SWIGINTERN int uiTextNode_t_tabwidth(uiTextNode_t *self)
static int _wrap_uiTimer_timeout(lua_State *L)
static swig_lua_namespace swig_uiTimer_Sf_SwigStatic
static int _wrap_uiImage_texl(lua_State *L)
SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self, bool value)
static swig_lua_class * swig_uiTexture_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiRows_Sf_SwigStatic_methods[]
SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
static swig_lua_class _wrap_class_uiTBar
uiNode_t * next
Definition: ui_nodes.h:91
static int _proxy__wrap_new_uiRadar(lua_State *L)
SWIGINTERN void uiNode_t_set_padding(uiNode_t *self, int value)
static void * _p_uiText2Node_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace * swig_SwigModule_namespaces[]
static swig_lua_method swig_uiPanel_methods[]
#define SWIG_LUA_POINTER
static swig_lua_const_info swig_uiNode_Sf_SwigStatic_constants[]
static int _wrap_uiAbstractScrollableNode_viewsize(lua_State *L)
static swig_lua_attribute swig_uiSelectBox_attributes[]
static swig_type_info * swig_types[57]
static swig_lua_attribute swig_uiOption_Sf_SwigStatic_attributes[]
static int _wrap_create_string(lua_State *L)
static int _wrap_uiNode_on_wheeldown_set(lua_State *L)
struct swig_lua_class swig_lua_class
SWIGINTERN int uiAbstractScrollbarNode_t_fullsize(uiAbstractScrollbarNode_t *self)
SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self, bool value)
static swig_type_info _swigt__p_uiTabNode_t
static void * _p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_const_info swig_uiText2_Sf_SwigStatic_constants[]
static int _wrap_UI_CreateRadar(lua_State *L)
static int _wrap_uiTextEntry_set_background(lua_State *L)
static swig_lua_namespace swig_uiLineChart_Sf_SwigStatic
static swig_lua_attribute swig_uiTimer_attributes[]
static void swig_delete_uiRadioButton(void *obj)
static int _wrap_new_cvar(lua_State *L)
static int _wrap_new_uiOptionList(lua_State *L)
static swig_lua_method swig_uiOption_methods[]
uiNode_t uiCheckBoxNode_t
SWIGINTERN vec2_struct_t * uiImageNode_t_texl(uiImageNode_t *self)
static int _wrap_UI_CreateButton(lua_State *L)
static LUA_EVENT uiBaseInventoryNode_t_lua_onViewChange_get(uiBaseInventoryNode_t *node)
uiNode_t uiAbstractValueNode_t
SWIGINTERN void uiOptionNode_t_set_truncated(uiOptionNode_t *self, bool value)
static swig_lua_class * swig_uiRadar_Sf_SwigStatic_classes[]
SWIGRUNTIME void SWIG_Lua_pushferrstring(lua_State *L, const char *fmt,...)
static swig_lua_attribute swig_uiConFunc_attributes[]
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
static int _wrap_uiNode_set_disabled(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_meta[]
static void * _p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void swig_delete_uiAbstractValueNode(void *obj)
static void swig_delete_uiText2(void *obj)
static swig_lua_namespace swig_uiAbstractScrollableNode_Sf_SwigStatic
extradata for the model node
Definition: ui_node_model.h:63
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)
extradata for the panel node
Definition: ui_node_bar.h:43
static int _wrap_uiNode_padding(lua_State *L)
static int _wrap_uiButton_set_background(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayweaponammo(uiBaseInventoryNode_t *self, bool value)
static int _proxy__wrap_new_uiWindow(lua_State *L)
uiNode_t uiRadarNode_t
static uiConFuncNode_t * UI_CreateConFunc(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiSpinnerNode_t
static swig_lua_class * swig_uiOptionTree_Sf_SwigStatic_classes[]
static int _wrap_uiModel_set_mouserotate(lua_State *L)
static swig_lua_method swig_uiItem_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractOptionNode_on_viewchange_set(lua_State *L)
static int _wrap_new_uiSequence(lua_State *L)
static const vec3_t scale
static swig_lua_method swig_uiGeoscape_Sf_SwigStatic_methods[]
static swig_lua_class _wrap_class_uiAbstractScrollbarNode
static swig_lua_namespace swig_uiString_Sf_SwigStatic
SWIGINTERN void SWIG_Lua_class_register_static(lua_State *L, swig_lua_class *clss)
uiNode_t uiTextNode_t
static int _wrap_create_selectbox(lua_State *L)
bool UI_Node_IsInvisible(uiNode_t const *node)
Definition: ui_node.cpp:410
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)
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
Definition: cvar.h:71
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)
SWIGINTERN int uiAbstractOptionNode_t_viewsize(uiAbstractOptionNode_t *self)
static swig_lua_method swig_uiSequence_Sf_SwigStatic_methods[]
SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_1(uiAbstractValueNode_t *self, char const *max)
#define SWIGTYPE_p_vec2_struct_t
static int _wrap_uiAbstractOptionNode_count(lua_State *L)
static swig_lua_method swig_uiBar_Sf_SwigStatic_methods[]
static void swig_delete_uiAbstractScrollableNode(void *obj)
static int _wrap_uiAbstractOptionNode_on_viewchange_get(lua_State *L)
static swig_lua_attribute swig_uiItem_Sf_SwigStatic_attributes[]
static swig_cast_info _swigc__p_uiLineChartNode_t[]
SWIGINTERN void uiWindowNode_t_set_dragbutton(uiWindowNode_t *self, bool value)
static int _wrap_uiAbstractScrollbarNode_set_fullsize(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_fullsize(uiAbstractOptionNode_t *self, int size)
static const char * swig_uiWindow_base_names[]
static int _wrap_uiOption_is_collapsed(lua_State *L)
voidpf uLong int origin
Definition: ioapi.h:45
static swig_cast_info _swigc__p_uiModelNode_t[]
static int _proxy__wrap_new_uiMessageList(lua_State *L)
static int _wrap_uiNode_on_loaded_set(lua_State *L)
SWIGINTERN int SWIG_Lua_namespace_set(lua_State *L)
static int _wrap_uiWindow_on_windowactivate_get(lua_State *L)
SWIGINTERN int cvar_t_as_integer(cvar_t *self)
static int _wrap_uiTextEntry_on_textabort_get(lua_State *L)
uiNode_t uiRowsNode_t
static int _wrap_uiPanel_layoutcolumns(lua_State *L)
SWIGINTERN bool uiModelNode_t_is_autoscale(uiModelNode_t *self)
static swig_lua_class * swig_uiItem_Sf_SwigStatic_classes[]
static swig_lua_class _wrap_class_uiCheckBox
SWIGINTERN char * invDef_t_name(invDef_t *self)
static int _wrap_uiAbstractOptionNode_dataid(lua_State *L)
static int _wrap_uiPanel_set_layout(lua_State *L)
static swig_lua_method swig_uiModel_methods[]
static int _wrap_create_texture(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_1(uiRadioButtonNode_t *self, float value)
SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self, int value)
static swig_lua_class * swig_uiNode_bases[]
static uiWindowNode_t * UI_CreateWindow(const char *name, const char *super)
static int _wrap_uiNode_is_disabled(lua_State *L)
SWIGINTERN void SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg)
static swig_lua_const_info swig_uiBar_Sf_SwigStatic_constants[]
static int _wrap_uiZone_set_clickdelay(lua_State *L)
static swig_lua_attribute swig_uiWindow_Sf_SwigStatic_attributes[]
static int _wrap_uiAbstractValueNode_set_range__SWIG_1(lua_State *L)
static swig_lua_class * swig_uiLineChart_Sf_SwigStatic_classes[]
SWIGINTERN void uiBaseInventoryNode_t_set_displayimplant(uiBaseInventoryNode_t *self, bool value)
static int _proxy__wrap_new_uiTBar(lua_State *L)
static uiCheckBoxNode_t * UI_CreateCheckBox(uiNode_t *parent, const char *name, const char *super)
void UI_InsertNode(uiNode_t *const parent, uiNode_t *prevNode, uiNode_t *newNode)
Insert a node next another one into a node. If prevNode is nullptr add the node on the head of the wi...
Definition: ui_node.cpp:752
static swig_lua_class _wrap_class_uiModel
static swig_lua_attribute swig_uiCheckBox_attributes[]
int LUA_EVENT
holds a reference to a lua event handler
Definition: scripts_lua.h:49
static swig_lua_attribute swig_uiWindow_attributes[]
static int _proxy__wrap_new_uiPanel(lua_State *L)
static int _wrap_uiTimer_lua_onEvent_set(lua_State *L)
SWIGINTERN void uiNode_t___setitem(uiNode_t *self, char const *name, LUA_METHOD fcn)
static swig_cast_info _swigc__p_uiBaseInventoryNode_t[]
#define SWIG_AddCast(r)
static uiTextureNode_t * UI_CreateTexture(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiTimer_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiMessageList_bases[]
static int _wrap_uiNode_on_rightclick_set(lua_State *L)
#define SWIGTYPE_p_LUA_EVENT
static swig_lua_method swig_uiZone_Sf_SwigStatic_methods[]
static swig_lua_attribute swig_uiTextEntry_Sf_SwigStatic_attributes[]
#define SWIGTYPE_p_uiModelNode_t
static int _wrap_uiGeoscape_zoomin(lua_State *L)
SWIGINTERN int uiNode_t_bordersize(uiNode_t *self)
static int _wrap_uiImage_set_source(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_1(uiAbstractValueNode_t *self, char const *min, char const *max)
static swig_lua_method swig_uiWindow_methods[]
SWIGINTERN int uiBaseInventoryNode_t_viewpos(uiBaseInventoryNode_t *self)
static int _wrap_uiRadioButton_as_float(lua_State *L)
static int _wrap_uiTimer_lua_onEvent_get(lua_State *L)
static swig_lua_method swig_uiWidget_methods[]
SWIGINTERN void uiNode_t_set_text(uiNode_t *self, char const *text)
static int _wrap_uiWindow_set_preventtypingescape(lua_State *L)
swig_dycast_func dcast
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[]
struct swig_cast_info * cast
static swig_lua_attribute swig_uiText2_attributes[]
SWIGINTERN int uiPanelNode_t_layoutcolumns(uiPanelNode_t *self)
static swig_lua_attribute swig_uiOption_attributes[]
static int _wrap_uiLineChart_set_showaxes(lua_State *L)
static int _wrap_uiNode_left(lua_State *L)
uiBehaviour_t * behaviour
Definition: ui_nodes.h:83
static const char * swig_uiContainer_base_names[]
static swig_lua_method swig_uiAbstractScrollableNode_Sf_SwigStatic_methods[]
static int _wrap_uiNode_on_keyreleased_set(lua_State *L)
static swig_lua_class * swig_uiText2_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiRadioButton_Sf_SwigStatic_classes[]
static swig_lua_namespace swig_uiImage_Sf_SwigStatic
static void uiContainerNode_t_lua_onSelect_set(uiContainerNode_t *node, LUA_EVENT fn)
#define SWIGTYPE_p_uiWidgetNode_t
static int _wrap_uiTexture_set_source(lua_State *L)
SWIGINTERN bool uiZoneNode_t_is_repeat(uiZoneNode_t *self)
SWIGINTERN void uiNode_t_set_pos(uiNode_t *self, float x, float y)
void Cbuf_AddText(const char *format,...)
Adds command text at the end of the buffer.
Definition: cmd.cpp:126
static int _wrap_uiNode_set_top(lua_State *L)
static int _wrap_uiAbstractOptionNode_set_dataid(lua_State *L)
static int _wrap_uiModel_model(lua_State *L)
static uiBaseLayoutNode_t * UI_CreateBaseLayout(uiNode_t *parent, const char *name, const char *super)
static swig_module_info swig_module
static swig_lua_class _wrap_class_uiTab
static int _wrap_uiNode_layoutalign(lua_State *L)
static swig_type_info _swigt__p_layoutAlign_t
static swig_lua_namespace swig_uiData_Sf_SwigStatic
swig_type_info * type
static int _wrap_uiNode_image(lua_State *L)
static uiSpinnerNode_t * UI_CreateSpinner(uiNode_t *parent, const char *name, const char *super)
static int _wrap_UI_CreateTimer(lua_State *L)
static int _wrap_uiNode_on_change_get(lua_State *L)
SWIGINTERN bool uiImageNode_t_is_mousefx(uiImageNode_t *self)
#define SWIG_CheckState(r)
SWIGINTERN int uiRowsNode_t_lineheight(uiRowsNode_t *self)
static int _wrap_create_optionlist(lua_State *L)
static swig_lua_attribute swig_uiRadioButton_attributes[]
static swig_lua_class * swig_uiCheckBox_bases[]
static int _wrap_uiCheckBox_set_iconunknown(lua_State *L)
static int _wrap_UI_CreateText(lua_State *L)
static int _wrap_uiNode_name(lua_State *L)
static swig_type_info _swigt__p_uiText2Node_t
static void swig_delete_uiAbstractOptionNode(void *obj)
static swig_cast_info _swigc__p_uiBaseLayoutNode_t[]
static int _wrap_UI_CreateMessageList(lua_State *L)
static void swig_delete_uiBaseInventory(void *obj)
static int _wrap_uiAbstractScrollableNode_on_viewchange_get(lua_State *L)
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)
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
static swig_lua_attribute swig_uiLineChart_Sf_SwigStatic_attributes[]
static swig_lua_namespace swig_uiWidget_Sf_SwigStatic
static int _wrap_new_uiCheckBox(lua_State *L)
static swig_lua_namespace swig_uiGeoscape_Sf_SwigStatic
SWIGINTERN uiNode_t * uiNode_t_find(uiNode_t *self, char const *name)
swig_type_info * type
static int _wrap_uiAbstractValueNode_set_range(lua_State *L)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
static swig_lua_class _wrap_class_uiText
static int _wrap_uiBaseInventory_set_displayimplant(lua_State *L)
static swig_lua_class * swig_uiCheckBox_Sf_SwigStatic_classes[]
static void * _p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _proxy__wrap_new_uiAbstractValueNode(lua_State *L)
static int _wrap_uiGeoscape_set_paddingright(lua_State *L)
static int _wrap_uiModel_is_autoscale(lua_State *L)
SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self, float r, float g, float b, float a)
static int _wrap_uiBaseInventory_set_viewsize(lua_State *L)
static uiModelNode_t * UI_CreateModel(uiNode_t *parent, const char *name, const char *super)
static int _wrap_new_uiVideo(lua_State *L)
static swig_lua_namespace swig_uiVideo_Sf_SwigStatic
static int _wrap_uiNode_on_wheelup_get(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_0(uiAbstractValueNode_t *self, float min, float max)
SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods(lua_State *L)
#define SWIGTYPE_p_uiWindowNode_t
static swig_lua_method swig_uiSequence_meta[]
static swig_lua_method swig_uiNode_methods[]
static int _wrap_UI_CreateWidget(lua_State *L)
static const char * swig_uiTextList_base_names[]
static swig_lua_method swig_uiBaseInventory_meta[]
SWIGINTERN void uiLineChartNode_t_set_showaxes(uiLineChartNode_t *self, bool value)
static int _wrap_uiRadioButton_set_value(lua_State *L)
static int _wrap_new_uiItem(lua_State *L)
static void * _p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiMessageList_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiWindow_meta[]
static int _wrap_uiBaseInventory_set_displayweaponammo(lua_State *L)
void UI_AddNodeMethod(uiNode_t *node, const char *name, LUA_METHOD fcn)
Adds a lua based method to the list of available node methods for calling.
Definition: ui_node.cpp:1082
static int _wrap_uiRows_set_lineheight(lua_State *L)
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
static int _wrap_uiBaseInventory_set_displayammo(lua_State *L)
void Com_Printf(const char *const fmt,...)
Definition: common.cpp:386
#define SWIGRUNTIMEINLINE
SWIGINTERN void uiWindowNode_t_set_modal(uiWindowNode_t *self, bool value)
SWIGINTERN int uiAbstractOptionNode_t_dataid(uiAbstractOptionNode_t *self)
static swig_lua_class _wrap_class_uiTextList
static swig_lua_class _wrap_class_uiSequence
static int _wrap_uiAbstractScrollbarNode_current(lua_State *L)
static void swig_delete_uiOptionList(void *obj)
static swig_lua_method swig_uiCheckBox_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractScrollableNode_pageup(lua_State *L)
static swig_cast_info _swigc__p_uiTextListNode_t[]
static const char * swig_uiZone_base_names[]
static int _proxy__wrap_new_uiText(lua_State *L)
void UI_CheckBox_Toggle(uiNode_t *node)
static swig_lua_method swig_uiTexture_meta[]
SWIGINTERN void uiNode_t_move_node(uiNode_t *self, uiNode_t *node, uiNode_t *prev)
static swig_lua_method swig_uiOption_Sf_SwigStatic_methods[]
static swig_lua_attribute swig_uiOptionList_attributes[]
void UI_CheckBox_SetIconUncheckedByName(uiNode_t *node, const char *name)
static int _wrap_uiNode_on_focuslost_get(lua_State *L)
static int _wrap_uiBaseInventory_set_displayweapon(lua_State *L)
void UI_AppendNode(uiNode_t *const parent, uiNode_t *newNode)
add a node at the end of the node child
Definition: ui_node.cpp:856
static int _wrap_uiTBar_set_source(lua_State *L)
static void uiWindowNode_t_lua_onWindowActivate_set(uiWindowNode_t *node, LUA_EVENT fn)
static swig_cast_info _swigc__p_vec2_struct_t[]
static swig_lua_const_info swig_uiCheckBox_Sf_SwigStatic_constants[]
static int _wrap_uiSpinner_set_topicon(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_parent(uiNode_t *self)
static int _wrap_uiCheckBox_set_background(lua_State *L)
#define SWIG_LUA_CONSTTAB_INT(B, C)
static int _wrap_cvar_as_float(lua_State *L)
static swig_lua_attribute swig_SwigModule_attributes[]
swig_lua_namespace * cls_static
static int _wrap_new_uiAbstractScrollableNode(lua_State *L)
int UI_CheckBox_ValueAsInteger(uiNode_t *node)
void UI_CheckBox_SetBackgroundByName(uiNode_t *node, const char *name)
static void swig_delete_uiTimer(void *obj)
static int _wrap_uiBar_set_direction(lua_State *L)
static swig_lua_namespace swig_uiAbstractScrollbarNode_Sf_SwigStatic
SWIGINTERN void SWIG_Lua_add_variable(lua_State *L, const char *name, lua_CFunction getFn, lua_CFunction setFn)
static int _wrap_uiNode_is_invisible(lua_State *L)
static swig_lua_class _wrap_class_uiMessageList
static const char * swig_uiWidget_base_names[]
void UI_Model_SetAnimationSource(uiNode_t *node, const char *animName)
static int _wrap_UI_CreateVideo(lua_State *L)
static swig_lua_class * swig_uiNode_Sf_SwigStatic_classes[]
static int _wrap_new_uiRows(lua_State *L)
static int _wrap_uiWindow_set_closebutton(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static int _wrap_uiTimer_set_timeout(lua_State *L)
static swig_lua_namespace swig_uiRadioButton_Sf_SwigStatic
static int _proxy__wrap_new_uiString(lua_State *L)
SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self, char const *text)
uiNode_t uiTextEntryNode_t
static int _wrap_create_data(lua_State *L)
static void * _p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractOptionNode_fullsize(lua_State *L)
static int _wrap_uiButton_flipicon(lua_State *L)
SWIGINTERN int SWIG_Lua_class_disown(lua_State *L)
void UI_RadioButton_SetBackgroundByName(uiNode_t *node, const char *name)
SWIGINTERN float uiAbstractValueNode_t_delta(uiAbstractValueNode_t *self)
static swig_lua_class * swig_uiPanel_bases[]
SWIGINTERN void uiSequenceNode_t_set_source(uiSequenceNode_t *self, char const *name)
static int _wrap_UI_CreateBaseLayout(lua_State *L)
static swig_lua_method swig_uiOptionTree_meta[]
static swig_lua_method swig_uiBaseLayout_methods[]
static int _wrap_uiAbstractScrollableNode_set_fullsize(lua_State *L)
panelLayout_t
Definition: ui_node_panel.h:45
struct swig_lua_class ** ns_classes
SWIGINTERN void uiAbstractScrollbarNode_t_set_current(uiAbstractScrollbarNode_t *self, int pos)
static swig_lua_class _wrap_class_uiContainer
static int _wrap_uiNode_contentalign(lua_State *L)
void UI_Window_SetBackgroundByName(uiNode_t *node, const char *name)
set background sprite
uiNode_t uiSequenceNode_t
static int _wrap_uiData_set_value__SWIG_0(lua_State *L)
bool UI_Node_IsFlashing(uiNode_t const *node)
Definition: ui_node.cpp:418
void UI_DeleteNode(uiNode_t *node)
Definition: ui_nodes.cpp:618
static int _wrap_uiAbstractValueNode_set_range__SWIG_0(lua_State *L)
SWIGINTERN int SWIG_Lua_class_destruct(lua_State *L)
SWIGINTERN int SWIG_Lua_class_get(lua_State *L)
static swig_lua_attribute swig_uiPanel_Sf_SwigStatic_attributes[]
static swig_type_info _swigt__p_uiZoneNode_t
static void * _p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_RUNTIME_VERSION
void UI_Node_SetText(uiNode_t *node, const char *text)
Definition: ui_node.cpp:382
static int _wrap_uiModel_set_autoscale(lua_State *L)
static int _wrap_uiImage_set_mousefx(lua_State *L)
static int _wrap_uiNode_set_tooltip(lua_State *L)
static swig_lua_method swig_uiVideo_Sf_SwigStatic_methods[]
void LIST_Delete(linkedList_t **list)
Definition: list.cpp:195
SWIGINTERN void uiOptionNode_t_set_icon(uiOptionNode_t *self, char const *name)
static int _wrap_uiItem_set_containerlike(lua_State *L)
static int _wrap_uiOption_set_collapsed(lua_State *L)
static void uiTimerNode_t_lua_onEvent_set(uiTimerNode_t *node, LUA_EVENT fn)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayavailableontop(uiBaseInventoryNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_set_iconunknown(uiCheckBoxNode_t *self, char const *name)
uiNode_t uiButtonNode_t
static int _wrap_uiBaseInventory_filtertype(lua_State *L)
static int _wrap_uiZone_set_repeat(lua_State *L)
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
#define SWIGTYPE_p_cvar_t
static int _wrap_uiBar_set_nohover(lua_State *L)
void UI_Option_SetIconByName(uiNode_t *node, const char *name)
static int _wrap_uiAbstractScrollbarNode_fullsize(lua_State *L)
static swig_lua_attribute swig_uiText2_Sf_SwigStatic_attributes[]
SWIGINTERN void uiGeoscapeNode_t_set_paddingright(uiGeoscapeNode_t *self, int value)
static swig_lua_method swig_uiGeoscape_meta[]
float UI_AbstractValue_GetValue(uiNode_t *node)
static swig_lua_namespace swig_uiRadar_Sf_SwigStatic
static swig_lua_attribute swig_uiRadioButton_Sf_SwigStatic_attributes[]
SWIGINTERN char * cvar_t_as_string(cvar_t *self)
static int _wrap_uiNode_on_mouseenter_set(lua_State *L)
SWIGINTERN int uiNode_t_layoutalign(uiNode_t *self)
static swig_lua_method swig_uiAbstractValueNode_meta[]
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[]
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)
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)
extradata for the textentry, to custom draw and behaviour
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[]
extradata for scrollbar widget
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)
struct invDef_s invDef_t
inventory definition for our menus
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)
static int _wrap_uiNode_flashspeed(lua_State *L)
SWIGINTERN vec2_struct_t * uiTBarNode_t_texl(uiTBarNode_t *self)
static int _wrap_uiNode_on_activate_set(lua_State *L)
SWIGINTERN void SWIG_Lua_class_register(lua_State *L, swig_lua_class *clss)
const char * name
static swig_lua_class * swig_uiImage_Sf_SwigStatic_classes[]
lua_CFunction getmethod
static swig_lua_method swig_uiPanel_Sf_SwigStatic_methods[]
static swig_cast_info _swigc__p_uiWidgetNode_t[]
static swig_cast_info _swigc__p_uiBarNode_t[]
static int _wrap_uiBaseInventory_on_viewchange_get(lua_State *L)
static swig_type_info _swigt__p_itemFilterTypes_t
static const char * swig_uiVScrollbar_base_names[]
static int _wrap_uiNode_on_mouseenter_get(lua_State *L)
static swig_lua_class * swig_uiSelectBox_bases[]
static int _wrap_uiPanel_set_background(lua_State *L)
static int _proxy__wrap_new_uiOption(lua_State *L)
static swig_lua_method swig_uiRadar_methods[]
SWIGINTERN char * cvar_t_name(cvar_t *self)
uiNode_t uiSpinnerNode_t
static swig_lua_attribute swig_uiText_Sf_SwigStatic_attributes[]
static swig_lua_namespace swig_uiText_Sf_SwigStatic
static int _wrap_uiWindow_on_windowactivate_set(lua_State *L)
SWIGINTERN void SWIG_Lua_create_class_registry(lua_State *L)
static swig_lua_attribute swig_uiOptionList_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiZone_meta[]
static int _proxy__wrap_new_uiVScrollbar(lua_State *L)
static int _wrap_uiBar_is_readonly(lua_State *L)
static void * _p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiModel_scale(lua_State *L)
static void * _p_uiOptionTreeNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
extradata for the linechart node
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
void *(* swig_converter_func)(void *, int *)
GLuint * id
Definition: r_gl.h:149
static void * _p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
struct swig_cast_info swig_cast_info
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)
SWIGINTERN char * uiOptionNode_t_value(uiOptionNode_t *self)
static swig_lua_method swig_uiText2_methods[]
SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self, bool value)
static swig_lua_method swig_invDef_Sf_SwigStatic_methods[]
static int _wrap_uiTBar_set_texl(lua_State *L)
static swig_lua_method swig_uiRadioButton_Sf_SwigStatic_methods[]
static int _wrap_uiNode_on_wheel_set(lua_State *L)
uiNode_t * root
Definition: ui_nodes.h:93
static int _wrap_uiTextEntry_unfocus(lua_State *L)
static int _wrap_uiNode_on_click_get(lua_State *L)
static swig_cast_info _swigc__p_uiText2Node_t[]
static int _wrap_create_tbar(lua_State *L)
void UI_AbstractValue_IncValue(uiNode_t *node)
SWIGINTERN int uiBaseInventoryNode_t_columns(uiBaseInventoryNode_t *self)
SWIGINTERN int uiAbstractScrollableNode_t_fullsize(uiAbstractScrollableNode_t *self)
static swig_lua_attribute swig_uiVideo_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_uiString_Sf_SwigStatic_attributes[]
static swig_lua_class _wrap_class_uiVideo
static int _proxy__wrap_new_uiItem(lua_State *L)
void UI_Window_SetCloseButton(uiNode_t *node, bool value)
Create/remove close button on window.
static swig_lua_attribute swig_uiZone_Sf_SwigStatic_attributes[]
float UI_AbstractValue_GetDelta(uiNode_t *node)
static swig_lua_class * swig_uiSpinner_Sf_SwigStatic_classes[]
void UI_AbstractValue_SetDelta(uiNode_t *node, float delta)
static swig_lua_attribute swig_uiData_attributes[]
static swig_lua_class * swig_invDef_Sf_SwigStatic_classes[]
static swig_lua_const_info swig_uiTexture_Sf_SwigStatic_constants[]
unsigned int key
Definition: cl_input.cpp:68
static swig_lua_const_info swig_SwigModule_constants[]
const char * fqname
SWIGINTERN bool uiOptionNode_t_is_truncated(uiOptionNode_t *self)
static const char * swig_uiSequence_base_names[]
static int _wrap_new_uiPanel(lua_State *L)
align_t
We need this here for checking the boundaries from script values.
Definition: scripts.h:90
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)
extradata for container widget
SWIGINTERN void uiTimerNode_t_set_timeout(uiTimerNode_t *self, int value)
static swig_lua_namespace swig_uiRows_Sf_SwigStatic
struct swig_lua_namespace swig_lua_namespace
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)
GLsizei size
Definition: r_gl.h:152
SWIGINTERN void uiAbstractScrollableNode_t_pageup(uiAbstractScrollableNode_t *self)
static swig_lua_class _wrap_class_uiText2
SWIGINTERN char const * uiNode_t_image(uiNode_t *self)
static swig_lua_const_info swig_invDef_Sf_SwigStatic_constants[]
static swig_lua_const_info swig_uiOptionList_Sf_SwigStatic_constants[]
#define SWIG_GetModule(clientdata)
static swig_type_info _swigt__p_panelLayout_t
static void swig_delete_uiVScrollbar(void *obj)
static int _wrap_uiImage_texh(lua_State *L)
SWIGINTERN int uiPanelNode_t_layoutmargin(uiPanelNode_t *self)
static void * _p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
static swig_type_info _swigt__p_uiWidgetNode_t
static int _wrap_uiBaseLayout_baseid(lua_State *L)
SWIGINTERN bool uiWindowNode_t_is_fullscreen(uiWindowNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_toggle(uiCheckBoxNode_t *self)
static uiStringNode_t * UI_CreateString(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiNode_is_virtual(lua_State *L)
static int _wrap_uiAbstractScrollbarNode_set_current(lua_State *L)
static int _wrap_uiNode_set_font(lua_State *L)
SWIGINTERN void uiNode_t_set_size(uiNode_t *self, float w, float h)
static swig_lua_attribute swig_uiText_attributes[]
uiNode_t * lastChild
Definition: ui_nodes.h:90
SWIGINTERN int uiSpinnerNode_t_mode(uiSpinnerNode_t *self)
static void * _p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIGEXPORT
static int _wrap_uiNode_type(lua_State *L)
static swig_type_info _swigt__p_uiConFuncNode_t
static swig_type_info _swigt__p_uiDataNode_t
static swig_lua_method swig_uiSelectBox_methods[]
static void swig_delete_uiTextEntry(void *obj)
static int _wrap_uiNode___getitem(lua_State *L)
static int _wrap_uiBar_set_readonly(lua_State *L)
static const char * swig_cvar_base_names[]
void UI_RadioButton_SetValue(uiNode_t *node, const char *value)
#define Vector4Set(v, r, g, b, a)
Definition: vector.h:62
static void swig_delete_uiTextList(void *obj)
static int _wrap_uiNode_on_focusgained_get(lua_State *L)
void UI_Node_SetImage(uiNode_t *node, const char *name)
Definition: ui_node.cpp:392
SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self, int value)
static swig_cast_info _swigc__p_uiMessageListNode_t[]
static swig_lua_const_info swig_uiData_Sf_SwigStatic_constants[]
SWIGINTERN void uiAbstractScrollableNode_t_set_viewsize(uiAbstractScrollableNode_t *self, int size)
static int _wrap_uiNode_move_node(lua_State *L)
SWIGINTERN void uiWindowNode_t_close(uiWindowNode_t *self)
static const char * swig_uiModel_base_names[]
static int _wrap_uiNode_on_wheelup_set(lua_State *L)
static swig_lua_class * swig_uiPanel_Sf_SwigStatic_classes[]
static swig_lua_namespace swig_uiContainer_Sf_SwigStatic
static int _wrap_uiAbstractValueNode_set_shiftmultiplier(lua_State *L)
static swig_lua_namespace swig_uiPanel_Sf_SwigStatic
static swig_lua_method swig_uiAbstractOptionNode_meta[]
#define SWIGTYPE_p_uiLineChartNode_t
static swig_lua_method swig_uiTab_Sf_SwigStatic_methods[]
#define Vector2Set(v, x, y)
Definition: vector.h:61
static int _wrap_create_text2(lua_State *L)
static swig_lua_class _wrap_class_uiSelectBox
static int _wrap_uiNode_on_middleclick_set(lua_State *L)
struct swig_module_info * next
static int _wrap_uiRadioButton_set_icon(lua_State *L)
static int _wrap_uiTBar_texh(lua_State *L)
static swig_lua_class _wrap_class_uiWidget
static int _wrap_new_uiContainer(lua_State *L)
static int _wrap_uiText_longlines(lua_State *L)
static swig_cast_info _swigc__p_uiAbstractValueNode_t[]
static swig_lua_method swig_uiVScrollbar_methods[]
SWIGINTERN bool uiButtonNode_t_flipicon(uiButtonNode_t *self)
#define SWIGTYPE_p_uiZoneNode_t
static swig_lua_method swig_uiTextList_methods[]
static swig_lua_attribute swig_uiOptionTree_attributes[]
static int _wrap_uiAbstractValueNode_dec_value(lua_State *L)
static int _wrap_uiAbstractScrollableNode_fullsize(lua_State *L)
static int _wrap_register_onload(lua_State *L)
static void * _p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_NewPointerObj(L, ptr, type, owner)
SWIGINTERN void uiAbstractScrollbarNode_t_set_fullsize(uiAbstractScrollbarNode_t *self, int size)
static int _wrap_uiAbstractValueNode_set_max(lua_State *L)
static swig_lua_class _wrap_class_uiData
static int _wrap_uiImage_is_mousefx(lua_State *L)
static int _proxy__wrap_new_uiText2(lua_State *L)
void UI_DeleteAllChild(uiNode_t *node)
Remove all child from a node (only remove dynamic memory allocation nodes)
Definition: ui_nodes.cpp:596
static int _wrap_UI_CreateConFunc(lua_State *L)
static swig_lua_method swig_uiVideo_methods[]
uiNode_t uiTBarNode_t
static void uiWindowNode_t_lua_onWindowClosed_set(uiWindowNode_t *node, LUA_EVENT fn)
static const char * swig_uiButton_base_names[]
float UI_AbstractValue_GetShiftIncreaseFactor(uiNode_t *node)
SWIGINTERN int SWIG_Lua_dostring(lua_State *L, const char *str)
static int _wrap_uiPanel_set_layoutcolumns(lua_State *L)
static uiDataNode_t * UI_CreateData(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiWindow_set_fill(lua_State *L)
static LUA_EVENT uiWindowNode_t_lua_onWindowActivate_get(uiWindowNode_t *node)
static swig_lua_namespace swig_invDef_Sf_SwigStatic
uiNode_t uiGeoscapeNode_t
static int _wrap_uiAbstractOptionNode_current(lua_State *L)
uiNode_t * UI_CreateComponent(const char *type, const char *name, const char *super)
Create a new component inherited from a given node class or other node.
Definition: ui_lua.cpp:544
static swig_cast_info _swigc__p_uiZoneNode_t[]
#define SWIGUNUSED
static const char * swig_uiSelectBox_base_names[]
static void uiTextEntryNode_t_lua_onTextEntryAbort_set(uiTextEntryNode_t *node, LUA_EVENT fn)
static swig_lua_method swig_uiConFunc_Sf_SwigStatic_methods[]
static int _wrap_new_uiRadar(lua_State *L)
SWIGINTERN void uiModelNode_t_set_angles(uiModelNode_t *self, float a1, float a2, float a3)
static int _wrap_uiAbstractValueNode_lastdiff(lua_State *L)
static int _wrap_uiContainer_on_select_set(lua_State *L)
SWIGINTERN void uiTextEntryNode_t_unfocus(uiTextEntryNode_t *self)
#define SWIGTYPE_p_uiCheckBoxNode_t
SWIGINTERN int uiAbstractOptionNode_t_lineheight(uiAbstractOptionNode_t *self)
static int _wrap_uiModel_set_tag(lua_State *L)
static int _wrap_create_messagelist(lua_State *L)
uiNode_t uiOptionNode_t
static int _wrap_uiModel_set_model(lua_State *L)
static swig_lua_method swig_uiSelectBox_meta[]
SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self, bool value)
static swig_cast_info _swigc__p_vec3_struct_t[]
static void swig_delete_cvar(void *obj)
swig_converter_func converter
#define SWIG_Lua_get_table(L, n)
static swig_lua_class _wrap_class_invDef
static swig_cast_info _swigc__p_align_t[]
static int _wrap_uiAbstractScrollableNode_on_viewchange_set(lua_State *L)
static swig_cast_info _swigc__p_uiImageNode_t[]
SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx)
static const char * swig_invDef_base_names[]
void UI_AbstractValue_DecValue(uiNode_t *node)
static swig_lua_attribute swig_uiAbstractScrollbarNode_Sf_SwigStatic_attributes[]
uiNode_t * UI_FindNode(const uiNode_t *node, const char *name)
Recursive searches for a child node by name in the entire subtree.
Definition: ui_node.cpp:733
static int _wrap_uiRows_lineheight(lua_State *L)
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 swig_lua_method swig_uiString_Sf_SwigStatic_methods[]
SWIGINTERN void uiAbstractScrollableNode_t_movedown(uiAbstractScrollableNode_t *self)
static void * _p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiConFunc
static int _wrap_UI_CreateSpinner(lua_State *L)
SWIGINTERN void uiModelNode_t_set_skin(uiModelNode_t *self, char const *name)
static int _wrap_uiAbstractValueNode_min(lua_State *L)
SWIGINTERN void uiOptionTreeNode_t_set_selectedvalue(uiOptionTreeNode_t *self, char const *value)
static int _wrap_UI_CreateOptionList(lua_State *L)
static int _wrap_uiVideo_set_source(lua_State *L)
static int _wrap_create_textlist(lua_State *L)
static swig_lua_class _wrap_class_uiOptionList
static void * _p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractOptionNode_cvar(lua_State *L)
static const char * swig_uiBaseLayout_base_names[]
static int _wrap_uiWindow_set_dragbutton(lua_State *L)
static swig_cast_info _swigc__p_uiSpinnerNode_t[]
static int _wrap_uiNode_width(lua_State *L)
void * lua_SWIG_typeinfo
Definition: ui_behaviour.h:57
static swig_lua_class * swig_uiButton_bases[]
static swig_type_info _swigt__p_uiNode_t
SWIGINTERN bool uiBaseInventoryNode_t_is_displayweapon(uiBaseInventoryNode_t *self)
static int _wrap_UI_CreateSelectBox(lua_State *L)
static swig_lua_method swig_uiZone_methods[]
static swig_cast_info _swigc__p_uiGeoscapeNode_t[]
void UI_Spinner_SetTopIconByName(uiNode_t *node, const char *name)
SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L, int index, void **ptr, swig_type_info *type, int flags)
static swig_lua_method swig_uiRadar_meta[]
static swig_lua_attribute swig_uiSequence_Sf_SwigStatic_attributes[]
uiNode_t uiBarNode_t
SWIGINTERN char * uiOptionNode_t_label(uiOptionNode_t *self)
swig_type_info ** types
SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self, bool value)
static const char * swig_uiBar_base_names[]
bool UI_Node_IsWindow(uiNode_t const *node)
Definition: ui_node.cpp:60
static swig_lua_attribute swig_uiCheckBox_Sf_SwigStatic_attributes[]
static int _wrap_create_radiobutton(lua_State *L)
static swig_lua_class * swig_uiGeoscape_Sf_SwigStatic_classes[]
static const char * swig_uiLineChart_base_names[]
static int _wrap_uiBaseInventory_set_displayunavailable(lua_State *L)
static swig_lua_method swig_uiNode_meta[]
static int _wrap_UI_CreateOptionTree(lua_State *L)
static int _wrap_uiNode_child(lua_State *L)
static swig_lua_class * swig_uiRadioButton_bases[]
SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self)
static swig_lua_method swig_uiGeoscape_methods[]
SWIGINTERN float uiNode_t_left(uiNode_t *self)
static int _wrap_uiModel_tag(lua_State *L)
static int _wrap_uiText_set_lineselected(lua_State *L)
static int _wrap_uiWindow_is_fullscreen(lua_State *L)
SWIGINTERN void uiCheckBoxNode_t_set_background(uiCheckBoxNode_t *self, char const *name)
SWIGINTERN int uiAbstractOptionNode_t_fullsize(uiAbstractOptionNode_t *self)
static void * _p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_add_classmethod(uiNode_t *self, char const *name, LUA_METHOD fcn)
static int _wrap_uiAbstractValueNode_set_value__SWIG_1(lua_State *L)
SWIGINTERN vec2_struct_t * uiImageNode_t_texh(uiImageNode_t *self)
static int _wrap_uiNode_set_flashspeed(lua_State *L)
static int _wrap_uiContainer_selectedid(lua_State *L)
static int _wrap_uiNode_set_size(lua_State *L)
#define UI_EXTRADATA(NODE, TYPE)
Definition: ui_nodes.h:185
static swig_lua_class * swig_uiTBar_bases[]
static int _wrap_new_uiBaseLayout(lua_State *L)
SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self, char const *text)
static int _wrap_uiVideo_lua_onEnd_get(lua_State *L)
SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self, int value)
SWIGINTERN void uiGeoscapeNode_t_zoomout(uiGeoscapeNode_t *self)
static uiLineChartNode_t * UI_CreateLineChart(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiButton_set_icon(lua_State *L)
static int _wrap_uiNode_on_loaded_get(lua_State *L)
static int _proxy__wrap_new_cvar(lua_State *L)
static swig_lua_attribute swig_invDef_attributes[]
SWIGINTERN void uiAbstractValueNode_t_inc_value(uiAbstractValueNode_t *self)
static int _wrap_UI_CreateTexture(lua_State *L)
static void swig_delete_uiCheckBox(void *obj)
void UI_Video_SetSource(uiNode_t *node, const char *name)
static swig_lua_namespace swig_uiMessageList_Sf_SwigStatic
SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self, float v1, float v2)
static swig_lua_class * swig_uiZone_Sf_SwigStatic_classes[]
SWIGINTERN void uiBaseInventoryNode_t_set_displayweapon(uiBaseInventoryNode_t *self, bool value)
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
Definition: common.cpp:398
SWIGINTERN void uiWindowNode_t_set_dropdown(uiWindowNode_t *self, bool value)
extradata for the window node
Definition: ui_node_timer.h:44
SWIGINTERN bool uiBaseInventoryNode_t_is_displayweaponammo(uiBaseInventoryNode_t *self)
static swig_cast_info _swigc__p_uiCheckBoxNode_t[]
static swig_lua_const_info swig_uiVScrollbar_Sf_SwigStatic_constants[]
static int _wrap_new_uiWindow(lua_State *L)
static int _wrap_uiBaseInventory_columns(lua_State *L)
static int _wrap_uiAbstractScrollableNode_movehome(lua_State *L)
static int _wrap_uiNode_is_window(lua_State *L)
static swig_lua_class * swig_uiBaseInventory_Sf_SwigStatic_classes[]
static swig_lua_class _wrap_class_uiButton
static int _proxy__wrap_new_uiAbstractScrollableNode(lua_State *L)
static swig_lua_attribute swig_uiRows_Sf_SwigStatic_attributes[]
void UI_OptionTree_SelectValue(uiNode_t *node, const char *value)
static swig_lua_method swig_uiRadioButton_meta[]
#define SWIGTYPE_p_uiText2Node_t
static swig_lua_method swig_uiTBar_meta[]
void UI_Window_SetDragButton(uiNode_t *node, bool value)
Create/remove drag button.
static int _wrap_uiZone_is_repeat(lua_State *L)
static void * _p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_cmd(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_methods[]
float UI_AbstractValue_GetMin(uiNode_t *node)
SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self, int value)
static int _wrap_uiData_as_float(lua_State *L)
SWIGINTERN bool uiSequenceNode_t_is_playing(uiSequenceNode_t *self)
static int _proxy__wrap_new_uiSequence(lua_State *L)
static swig_lua_namespace swig_uiCheckBox_Sf_SwigStatic
int LUA_METHOD
holds a reference to a lua event handler
Definition: scripts_lua.h:53
static int _proxy__wrap_new_uiConFunc(lua_State *L)
static swig_lua_method swig_uiRows_meta[]
swig_type_info ** type
static int _wrap_new_uiTextEntry(lua_State *L)
void UI_AbstractOption_Scroll_SetFullSize(uiNode_t *node, int size)
SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L, int index, void *ptr, size_t size, swig_type_info *type)
static int _wrap_new_uiButton(lua_State *L)
#define SWIGTYPE_p_uiContainerNode_t
void UI_Node_SetDisabled(uiNode_t *node, const bool value)
Definition: ui_node.cpp:422
static int _wrap_uiWindow_on_windowclosed_set(lua_State *L)
static swig_cast_info _swigc__p_uiTabNode_t[]
lua_CFunction constructor
static void * _p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiButtonNode_t_set_background(uiButtonNode_t *self, char const *name)
void UI_AbstractOption_SetBackgroundByName(uiNode_t *node, const char *name)
static int _wrap_uiText_dataid(lua_State *L)
static swig_cast_info _swigc__p_uiOptionListNode_t[]
static swig_lua_const_info swig_uiTBar_Sf_SwigStatic_constants[]
Atomic structure used to define most of the UI.
Definition: ui_nodes.h:80
static int _wrap_uiNode_set_layoutalign(lua_State *L)
static const char * swig_uiMessageList_base_names[]
static void * _p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace swig_cvar_Sf_SwigStatic
#define SWIG_TypeQuery(name)
static swig_lua_attribute swig_uiBar_attributes[]
#define lua_pushglobaltable(L)
SWIGINTERN void uiSpinnerNode_t_set_inverted(uiSpinnerNode_t *self, bool value)
void UI_AbstractOption_Scroll_SetCurrent(uiNode_t *node, int pos)
static swig_lua_method swig_uiString_meta[]
static int _wrap_uiSequence_set_source(lua_State *L)
static swig_lua_class * swig_uiRows_bases[]
#define SWIGRUNTIME
static swig_type_info _swigt__p_uiLineChartNode_t
static swig_type_info _swigt__p_uiTextureNode_t
static swig_type_info _swigt__p_uiCheckBoxNode_t
static int _wrap_uiModel_origin(lua_State *L)
static int _proxy__wrap_new_uiRows(lua_State *L)
static int _wrap_uiNode_set_flashing(lua_State *L)
SWIGINTERN void uiOptionNode_t_set_collapsed(uiOptionNode_t *self, bool value)
static int _wrap_uiImage_set_keepratio(lua_State *L)
static int _proxy__wrap_new_uiAbstractOptionNode(lua_State *L)
static swig_lua_attribute swig_uiNode_attributes[]
static swig_lua_class * swig_uiTimer_Sf_SwigStatic_classes[]
static swig_cast_info _swigc__p_LUA_METHOD[]
static int _wrap_getvar__SWIG_2(lua_State *L)
void * UI_SWIG_TypeQuery(const char *name)
This function queries the SWIG type table for a type information structure. It is used in combination...
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
static int _wrap_uiNode_on_click_set(lua_State *L)
void UI_AbstractValue_SetValue(uiNode_t *node, float value)
static swig_type_info _swigt__p_uiVideoNode_t
static int _wrap_create_panel(lua_State *L)
static swig_lua_namespace swig_uiText2_Sf_SwigStatic
SWIGINTERN void uiAbstractOptionNode_t_set_viewsize(uiAbstractOptionNode_t *self, int size)
static void * _p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiCheckBox_methods[]
static swig_lua_method swig_uiText2_meta[]
static int _wrap_uiText_lineheight(lua_State *L)
uiNode_t uiWindowNode_t
static swig_cast_info _swigc__p_linkedList_t[]
extradata for the window node
static int _wrap_uiNode_set_height(lua_State *L)
SWIGINTERN int uiBaseInventoryNode_t_fullsize(uiBaseInventoryNode_t *self)
static swig_lua_method swig_uiTab_meta[]
static int _wrap_create_rows(lua_State *L)
static int _proxy__wrap_new_uiBaseInventory(lua_State *L)
static const char * swig_uiAbstractScrollbarNode_base_names[]
static int _wrap_UI_CreateRadioButton(lua_State *L)
static swig_cast_info _swigc__p_layoutAlign_t[]
SWIGINTERN bool uiOptionNode_t_is_collapsed(uiOptionNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_1(uiAbstractValueNode_t *self, char const *name)
SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self, float value)
void UI_TextEntryNodeUnFocus(uiNode_t *node, const uiCallContext_t *context)
force exit the edit mode of a textentry node
static swig_lua_const_info swig_uiRadioButton_Sf_SwigStatic_constants[]
SWIGINTERN int uiAbstractOptionNode_t_count(uiAbstractOptionNode_t *self)
static int _wrap_uiNode_set_pos(lua_State *L)
static swig_type_info _swigt__p_uiRadioButtonNode_t
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
const GLuint *typedef void(APIENTRY *GenRenderbuffersEXT_t)(GLsizei
Definition: r_gl.h:189
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)
static swig_lua_method swig_uiMessageList_Sf_SwigStatic_methods[]
static int _wrap_getvar__SWIG_3(lua_State *L)
static int _wrap_create_textentry(lua_State *L)
SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self, bool value)
const char * str
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
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[]
struct swig_type_info *(* swig_dycast_func)(void **)
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))
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
int(* swig_lua_base_iterator_func)(lua_State *, swig_type_info *, int, int *ret)
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
lua_CFunction set
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[]
struct swig_type_info swig_type_info
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[]
inventory definition for our menus
Definition: inv_shared.h:371
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)
Option definition.
static swig_lua_class _wrap_class_uiTimer
static int _wrap_uiNode_is_function(lua_State *L)
static int _wrap_create_vscrollbar(lua_State *L)
static swig_lua_method swig_uiBar_methods[]
static swig_lua_class * swig_uiAbstractScrollableNode_bases[]
static int _wrap_uiNode_set_bordersize(lua_State *L)
static swig_lua_const_info swig_uiVideo_Sf_SwigStatic_constants[]
static swig_cast_info _swigc__p_invDef_t[]
#define SWIGTYPE_p_vec3_struct_t
static void swig_delete_uiPanel(void *obj)
static swig_lua_method swig_uiOptionList_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiLineChart_methods[]
static swig_lua_const_info swig_uiSequence_Sf_SwigStatic_constants[]
int UI_AbstractOption_Scroll_FullSize(uiNode_t *node)
static void * _p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiBaseInventory_Sf_SwigStatic_methods[]
static int _wrap_create_image(lua_State *L)
static int _wrap_uiNode_on_wheel_get(lua_State *L)
uiNode_t * firstChild
Definition: ui_nodes.h:89
SWIGINTERN bool uiNode_t_is_virtual(uiNode_t *self)
struct swig_cast_info * prev
struct swig_lua_class ** bases
static int _wrap_uiSpinner_set_horizontal(lua_State *L)
static swig_lua_class * swig_uiZone_bases[]
static swig_lua_const_info swig_uiRadar_Sf_SwigStatic_constants[]
static swig_lua_class _wrap_class_uiNode
static swig_lua_attribute swig_uiAbstractOptionNode_attributes[]
static swig_lua_method swig_uiContainer_methods[]
static void swig_delete_uiTexture(void *obj)
static swig_lua_attribute swig_uiTBar_attributes[]
SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self, bool value)
SWIGINTERN void uiTextEntryNode_t_focus(uiTextEntryNode_t *self)
static swig_lua_namespace swig_uiTextEntry_Sf_SwigStatic
static uiContainerNode_t * UI_CreateContainer(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiText_lineselected(lua_State *L)
static int _wrap_UI_CreateZone(lua_State *L)
static swig_lua_method swig_uiRadar_Sf_SwigStatic_methods[]
static swig_lua_class _wrap_class_uiLineChart
static int _wrap_uiSequence_lua_onEnd_set(lua_State *L)
static void * _p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_new_uiTBar(lua_State *L)
static int _wrap_uiNode_set_image(lua_State *L)
GLsizei const GLvoid * data
Definition: r_gl.h:152
uiNode_t uiContainerNode_t
static swig_lua_class * swig_uiContainer_Sf_SwigStatic_classes[]
static void * _p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiText_bases[]
static swig_lua_class * swig_uiSequence_Sf_SwigStatic_classes[]
swig_cast_info ** cast_initial
static int _wrap_new_uiText(lua_State *L)
static int _wrap_new_uiGeoscape(lua_State *L)
static void swig_delete_uiNode(void *obj)
SWIGINTERN void uiRadioButtonNode_t_set_flipicon(uiRadioButtonNode_t *self, bool value)
void UI_AbstractOption_SetDataId(uiNode_t *node, int id)
static swig_cast_info _swigc__p_uiSelectBoxNode_t[]
cvar_t * Cvar_Set(const char *varName, const char *value,...)
Sets a cvar value.
Definition: cvar.cpp:615
SWIGRUNTIME void * SWIG_Lua_MustGetPtr(lua_State *L, int index, swig_type_info *type, int flags, int argnum, const char *func_name)
linkedList_t * Com_LuaTableToStringList(lua_State *L, int index)
Convert a lua table to a linkedList of character strings.
Definition: scripts_lua.cpp:36
#define SWIG_SetModule(clientdata, pointer)
static void swig_delete_uiOption(void *obj)
SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self, float r, float g, float b, float a)
static int _proxy__wrap_new_uiWidget(lua_State *L)
static int _wrap_uiWindow_set_modal(lua_State *L)
SWIGINTERN void uiNode_t_set_box(uiNode_t *self, float left, float top, float width, float height)
SWIGINTERN void uiButtonNode_t_set_icon(uiButtonNode_t *self, char const *name)
SWIGINTERN void uiLineChartNode_t_set_axescolor(uiLineChartNode_t *self, float r, float g, float b, float a)
static swig_cast_info _swigc__p_uiTextNode_t[]
SWIGINTERN void SWIG_Lua_AddMetatable(lua_State *L, swig_type_info *type)
static swig_type_info _swigt__p_uiTextNode_t
static int _wrap_uiLineChart_set_axescolor(lua_State *L)
static int _wrap_uiModel_animation(lua_State *L)
void(* destructor)(void *)
static swig_lua_namespace swig_uiTextList_Sf_SwigStatic
uiNode_t uiBaseLayoutNode_t
static void swig_delete_uiLineChart(void *obj)
static swig_lua_method swig_uiConFunc_methods[]
static int _wrap_UI_CreateSequence(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_first(uiNode_t *self)
static int _wrap_create_sequence(lua_State *L)
static int _wrap_uiTBar_texl(lua_State *L)
static int _wrap_uiNode_set_padding(lua_State *L)
static int _wrap_uiModel_is_mouserotate(lua_State *L)
static int _wrap_push_window(lua_State *L)
void UI_Model_SetTagSource(uiNode_t *node, const char *tagName)
SWIGINTERN char const * uiNode_t_name(uiNode_t *self)
static int _wrap_uiNode_is_ghost(lua_State *L)
static void * _p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_uiOptionTreeNode_t[]
static void * _p_uiTextListNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self, char const *text)
SWIGINTERN int uiNode_t_contentalign(uiNode_t *self)
static int _wrap_new_invDef(lua_State *L)
static swig_lua_method swig_uiTexture_Sf_SwigStatic_methods[]
SWIGINTERN int uiAbstractScrollbarNode_t_viewsize(uiAbstractScrollbarNode_t *self)
static swig_lua_attribute swig_uiRadar_Sf_SwigStatic_attributes[]
static int _wrap_uiSequence_is_playing(lua_State *L)
static int _proxy__wrap_new_uiVideo(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayavailableontop(uiBaseInventoryNode_t *self, bool value)
static int _wrap_uiAbstractScrollableNode_pagedown(lua_State *L)
static void * _p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiWindowNode_t_is_starlayout(uiWindowNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_1(uiAbstractValueNode_t *self, char const *min)
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
SWIGINTERN void uiSpinnerNode_t_set_mode(uiSpinnerNode_t *self, int mode)
bool UI_Node_IsFunction(uiNode_t const *node)
Definition: ui_node.cpp:85
static swig_lua_const_info swig_cvar_Sf_SwigStatic_constants[]
static int _wrap_getvar__SWIG_0(lua_State *L)
SWIGINTERN char const * uiAbstractOptionNode_t_cvar(uiAbstractOptionNode_t *self)
static int _wrap_uiSpinner_set_bottomicon(lua_State *L)
SWIGINTERN int uiTextNode_t_dataid(uiTextNode_t *self)
static swig_lua_const_info swig_uiString_Sf_SwigStatic_constants[]
static swig_lua_method swig_uiModel_Sf_SwigStatic_methods[]
static int _wrap_uiBaseInventory_is_displayunavailableammo(lua_State *L)
swig_type_info ** type_initial
static swig_lua_class * swig_uiAbstractOptionNode_Sf_SwigStatic_classes[]
static swig_type_info _swigt__p_uiVScrollBarNode_t
static int _wrap_create_button(lua_State *L)
SWIGINTERN int uiAbstractOptionNode_t_current(uiAbstractOptionNode_t *self)
static swig_type_info _swigt__p_uiSequenceNode_t
SWIGINTERN vec3_struct_t * uiModelNode_t_origin(uiModelNode_t *self)
static const char * swig_uiAbstractOptionNode_base_names[]
static LUA_EVENT uiTextEntryNode_t_lua_onTextEntryAbort_get(uiTextEntryNode_t *node)
static int _wrap_UI_CreateOption(lua_State *L)
static swig_lua_class * swig_uiOptionList_bases[]
SWIGINTERN void uiStringNode_t_set_longlines(uiStringNode_t *self, int value)
#define SWIG_init_user
static swig_lua_class * swig_uiAbstractScrollbarNode_bases[]
static swig_lua_class * swig_uiString_Sf_SwigStatic_classes[]
static int _wrap_findvar(lua_State *L)
static int _wrap_cvar_set_value__SWIG_1(lua_State *L)
static int _wrap_create_control(lua_State *L)
static swig_cast_info _swigc__p_uiNode_t[]
#define SWIGTYPE_p_uiVScrollBarNode_t
static int _wrap_create_bar(lua_State *L)
static int _wrap_create_option(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_background(uiAbstractOptionNode_t *self, char const *name)
static swig_lua_class * swig_uiTextEntry_bases[]
static swig_lua_method swig_uiButton_methods[]
SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self, bool value)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayammo(uiBaseInventoryNode_t *self)
SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self, char const *id, int x, int y)
static int _wrap_uiOption_set_value(lua_State *L)
uiNode_t uiModelNode_t
static swig_cast_info _swigc__p_uiTextEntryNode_t[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailable(uiBaseInventoryNode_t *self)
const char * name
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[]
static void swig_delete_uiMessageList(void *obj)
cvar_t * Cvar_FindVar(const char *varName)
Searches for a cvar given by parameter.
Definition: cvar.cpp:106
static swig_lua_class * swig_uiVScrollbar_Sf_SwigStatic_classes[]
static int _wrap_UI_CreateWindow(lua_State *L)
SWIGINTERN float uiAbstractValueNode_t_shiftmultiplier(uiAbstractValueNode_t *self)
SWIGINTERN uiNode_t * uiNode_t_child(uiNode_t *self, char const *name)
static swig_lua_attribute swig_uiMessageList_attributes[]
#define SWIGTYPE_p_uiBarNode_t
SWIGINTERN void uiWindowNode_t_set_noticepos(uiWindowNode_t *self, float x, float y)
SWIGINTERN void uiPanelNode_t_set_background(uiPanelNode_t *self, char const *name)
static int _proxy__wrap_new_uiModel(lua_State *L)
static int _proxy__wrap_new_invDef(lua_State *L)
static swig_type_info _swigt__p_uiAbstractScrollbarNode_t
#define SWIGTYPE_p_invDef_t
static swig_type_info _swigt__p_uiItemNode_t
static int _wrap_uiModel_omega(lua_State *L)
static int _wrap_uiPanel_set_wheelscrollable(lua_State *L)
static swig_lua_method swig_uiOptionList_methods[]
static swig_lua_class _wrap_class_uiAbstractScrollableNode
uiNode_t uiDataNode_t
static int _wrap_uiAbstractOptionNode_set_viewsize(lua_State *L)
SWIGINTERN void SWIG_Lua_add_class_instance_details(lua_State *L, swig_lua_class *clss)
static int _wrap_uiCheckBox_set_iconunchecked(lua_State *L)
static swig_lua_class _wrap_class_uiRadar
#define SWIG_LUA_FLOAT
SWIGINTERN void uiAbstractScrollbarNode_t_set_autoshowscroll(uiAbstractScrollbarNode_t *self, bool value)
static void * _p_uiCheckBoxNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiAbstractScrollbarNode_t_is_autoshowscroll(uiAbstractScrollbarNode_t *self)
SWIGINTERN bool uiWindowNode_t_is_modal(uiWindowNode_t *self)
static swig_lua_class * swig_uiOption_bases[]
static int _wrap_uiAbstractValueNode_shiftmultiplier(lua_State *L)
static int _wrap_create_container(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_0(uiRadioButtonNode_t *self, char const *value)
static swig_cast_info _swigc__p_uiVideoNode_t[]
static swig_cast_info _swigc__p_uiSequenceNode_t[]
static swig_lua_attribute swig_uiWidget_attributes[]
void UI_TextNodeSelectLine(uiNode_t *node, int num)
Change the selected line.
static int _wrap_UI_CreateContainer(lua_State *L)
static void swig_delete_uiString(void *obj)
void UI_NodeSetSize(uiNode_t *node, vec2_t size)
Update the node size and fire the size callback.
Definition: ui_node.cpp:666
static const char * swig_uiPanel_base_names[]
static swig_lua_attribute swig_uiAbstractScrollableNode_attributes[]
static swig_lua_namespace swig_uiAbstractValueNode_Sf_SwigStatic
static int _wrap_uiButton_set_flipicon(lua_State *L)
void UI_Panel_SetBackgroundByName(uiNode_t *node, const char *name)
static int _wrap_uiTextEntry_cursorposition(lua_State *L)
bool UI_CheckBox_ValueAsBoolean(uiNode_t *node)
#define SWIGTYPE_p_uiTabNode_t
void UI_AbstractValue_SetShiftIncreaseFactor(uiNode_t *node, float factor)
static swig_type_info _swigt__p_uiOptionNode_t
SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss)
SWIGINTERN void uiModelNode_t_set_tag(uiModelNode_t *self, char const *name)
static swig_lua_class _wrap_class_uiTextEntry
static int _wrap_cvar_name(lua_State *L)
static swig_type_info _swigt__p_uiGeoscapeNode_t
static swig_type_info _swigt__p_uiAbstractOptionNode_t
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
static int _wrap_uiNode_on_activate_get(lua_State *L)
SWIGINTERN char const * uiNode_t_type(uiNode_t *self)
static swig_lua_method swig_uiWindow_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiNode_Sf_SwigStatic_methods[]
SWIGINTERN void uiSpinnerNode_t_set_horizontal(uiSpinnerNode_t *self, bool value)
SWIGINTERN int uiZoneNode_t_clickdelay(uiZoneNode_t *self)
static swig_lua_namespace swig_uiOptionTree_Sf_SwigStatic
static int _wrap_UI_CreateText2(lua_State *L)
static const char * swig_uiRows_base_names[]
SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self)
static swig_lua_namespace swig_uiSpinner_Sf_SwigStatic
swig_lua_attribute * attributes
static swig_lua_class * swig_cvar_bases[]
#define SWIG_Lua_add_boolean(L, n, b)
SWIGINTERN int SWIG_Lua_namespace_get(lua_State *L)
static swig_lua_class * swig_uiAbstractOptionNode_bases[]
#define SWIG_Lua_add_function(L, n, f)
static int _wrap_uiModel_set_angles(lua_State *L)
SWIGINTERN int uiStringNode_t_longlines(uiStringNode_t *self)
static swig_lua_attribute swig_uiNode_Sf_SwigStatic_attributes[]
SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self, float number)
static int _wrap_uiSequence_lua_onEnd_get(lua_State *L)
static int _wrap_uiBaseInventory_set_viewpos(lua_State *L)
void UI_AbstractValue_SetValueCvar(uiNode_t *node, const char *value)
SWIGINTERN void uiNode_t_set_image(uiNode_t *self, char const *name)
static void swig_delete_uiSequence(void *obj)
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
static uiOptionNode_t * UI_CreateOption(uiNode_t *parent, const char *name, const char *super)
static int _wrap_create_linechart(lua_State *L)
static swig_lua_method swig_uiTab_methods[]
SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L)
static swig_lua_method swig_uiTextList_Sf_SwigStatic_methods[]
static const char * swig_uiString_base_names[]
void UI_AbstractOption_SetCvar(uiNode_t *node, const char *name)
SWIGINTERN bool uiTextEntryNode_t_is_password(uiTextEntryNode_t *self)
static const char * swig_uiImage_base_names[]
SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self, float r, float g, float b, float a)
static swig_lua_method swig_uiText_methods[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayimplant(uiBaseInventoryNode_t *self)
static swig_type_info _swigt__p_uiPanelNode_t
static int _wrap_uiBar_direction(lua_State *L)
static int _wrap_new_uiTimer(lua_State *L)
static void * _p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiSpinner_bases[]
void UI_TextEntryNodeFocus(uiNode_t *node, const uiCallContext_t *context)
force edition of a textentry node
static int _wrap_uiVideo_is_nosound(lua_State *L)
static swig_lua_class * swig_uiVideo_bases[]
#define SWIGTYPE_p_uiTBarNode_t
#define SWIGTYPE_p_uiButtonNode_t
static swig_lua_const_info swig_uiAbstractOptionNode_Sf_SwigStatic_constants[]
static int _wrap_uiData_as_string(lua_State *L)
static swig_lua_class * swig_uiRows_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiAbstractScrollbarNode_methods[]
static LUA_EVENT uiVideoNode_t_lua_onEnd_get(uiVideoNode_t *node)
SWIGINTERN void uiPanelNode_t_set_layout(uiPanelNode_t *self, int value)
SWIGINTERN int SWIG_Lua_class_set(lua_State *L)
static int _proxy__wrap_new_uiSelectBox(lua_State *L)
int Com_LuaIsNilOrTable(lua_State *L, int index)
Definition: scripts_lua.cpp:29
static swig_lua_method swig_uiRows_methods[]
SWIGINTERN void uiNode_t_set_top(uiNode_t *self, float value)
SWIGINTERN void uiAbstractScrollableNode_t_set_viewpos(uiAbstractScrollableNode_t *self, int pos)
extradata for the panel node
static void * _p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_create_video(lua_State *L)
static const char * swig_uiRadar_base_names[]
static swig_type_info _swigt__p_uiTextListNode_t
static int _wrap_UI_CreateTBar(lua_State *L)
static void uiVideoNode_t_lua_onEnd_set(uiVideoNode_t *node, LUA_EVENT fn)
static int _wrap_UI_CreateImage(lua_State *L)
static swig_lua_method swig_uiMessageList_meta[]
static int _wrap_uiAbstractScrollableNode_set_viewsize(lua_State *L)
static int _proxy__wrap_new_uiNode(lua_State *L)
#define SWIGINTERN
static swig_lua_namespace swig_uiOption_Sf_SwigStatic
static swig_lua_class * swig_uiWidget_Sf_SwigStatic_classes[]
uiNode_t uiTextureNode_t
static int _wrap_new_uiText2(lua_State *L)
static int _wrap_create_radar(lua_State *L)
uiNode_t uiTimerNode_t
void UI_Spinner_SetBackgroundByName(uiNode_t *node, const char *name)
SWIGINTERN uiNode_t * uiNode_t_last(uiNode_t *self)
static swig_lua_namespace swig_uiOptionList_Sf_SwigStatic
static int _wrap_new_uiWidget(lua_State *L)
#define SWIGTYPE_p_uiImageNode_t
static swig_lua_method swig_uiTextEntry_methods[]
static swig_lua_method swig_uiBar_meta[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailableammo(uiBaseInventoryNode_t *self)
static int _wrap_uiLineChart_clear(lua_State *L)
#define SWIGTYPE_p_uiOptionNode_t
static int _wrap_uiAbstractValueNode_set_delta(lua_State *L)
static int _wrap_uiBaseInventory_is_displayweapon(lua_State *L)
static void * _p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_uiAbstractScrollableNode_base_names[]
SWIGINTERN int uiNode_t_padding(uiNode_t *self)
static swig_lua_attribute swig_uiSpinner_Sf_SwigStatic_attributes[]
void UI_AbstractValue_SetMaxCvar(uiNode_t *node, const char *max)
SWIGINTERN void uiBaseInventoryNode_t_set_fullsize(uiBaseInventoryNode_t *self, int size)
SWIGINTERN int uiBarNode_t_direction(uiBarNode_t *self)
static uiBarNode_t * UI_CreateBar(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiGeoscape_attributes[]
static swig_lua_attribute swig_uiZone_attributes[]