UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_lua_shared.cpp
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 4.0.2
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11
12#ifndef SWIGLUA
13#define SWIGLUA
14#endif
15
16#define SWIG_LUA_TARGET SWIG_LUA_FLAVOR_LUA
17#define SWIG_LUA_MODULE_GLOBAL
18
19
20#ifdef __cplusplus
21/* SwigValueWrapper is described in swig.swg */
22template<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);
31public:
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
38template <typename T> T SwigValueInit() {
39 return T();
40}
41#endif
42
43/* -----------------------------------------------------------------------------
44 * This section contains generic SWIG labels for method/variable
45 * declarations/attributes, and other compiler dependent labels.
46 * ----------------------------------------------------------------------------- */
47
48/* template workaround for compilers that cannot correctly implement the C++ standard */
49#ifndef SWIGTEMPLATEDISAMBIGUATOR
50# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
51# define SWIGTEMPLATEDISAMBIGUATOR template
52# elif defined(__HP_aCC)
53/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
54/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
55# define SWIGTEMPLATEDISAMBIGUATOR template
56# else
57# define SWIGTEMPLATEDISAMBIGUATOR
58# endif
59#endif
60
61/* inline attribute */
62#ifndef SWIGINLINE
63# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
64# define SWIGINLINE inline
65# else
66# define SWIGINLINE
67# endif
68#endif
69
70/* attribute recognised by some compilers to avoid 'unused' warnings */
71#ifndef SWIGUNUSED
72# if defined(__GNUC__)
73# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
74# define SWIGUNUSED __attribute__ ((__unused__))
75# else
76# define SWIGUNUSED
77# endif
78# elif defined(__ICC)
79# define SWIGUNUSED __attribute__ ((__unused__))
80# else
81# define SWIGUNUSED
82# endif
83#endif
84
85#ifndef SWIG_MSC_UNSUPPRESS_4505
86# if defined(_MSC_VER)
87# pragma warning(disable : 4505) /* unreferenced local function has been removed */
88# endif
89#endif
90
91#ifndef SWIGUNUSEDPARM
92# ifdef __cplusplus
93# define SWIGUNUSEDPARM(p)
94# else
95# define SWIGUNUSEDPARM(p) p SWIGUNUSED
96# endif
97#endif
98
99/* internal SWIG method */
100#ifndef SWIGINTERN
101# define SWIGINTERN static SWIGUNUSED
102#endif
103
104/* internal inline SWIG method */
105#ifndef SWIGINTERNINLINE
106# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
107#endif
108
109/* exporting methods */
110#if defined(__GNUC__)
111# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
112# ifndef GCC_HASCLASSVISIBILITY
113# define GCC_HASCLASSVISIBILITY
114# endif
115# endif
116#endif
117
118#ifndef SWIGEXPORT
119# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
120# if defined(STATIC_LINKED)
121# define SWIGEXPORT
122# else
123# define SWIGEXPORT __declspec(dllexport)
124# endif
125# else
126# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
127# define SWIGEXPORT __attribute__ ((visibility("default")))
128# else
129# define SWIGEXPORT
130# endif
131# endif
132#endif
133
134/* calling conventions for Windows */
135#ifndef SWIGSTDCALL
136# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
137# define SWIGSTDCALL __stdcall
138# else
139# define SWIGSTDCALL
140# endif
141#endif
142
143/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
144#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
145# define _CRT_SECURE_NO_DEPRECATE
146#endif
147
148/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
149#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
150# define _SCL_SECURE_NO_DEPRECATE
151#endif
152
153/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
154#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
155# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
156#endif
157
158/* Intel's compiler complains if a variable which was never initialised is
159 * cast to void, which is a common idiom which we use to indicate that we
160 * are aware a variable isn't used. So we just silence that warning.
161 * See: https://github.com/swig/swig/issues/192 for more discussion.
162 */
163#ifdef __INTEL_COMPILER
164# pragma warning disable 592
165#endif
166
167/* -----------------------------------------------------------------------------
168 * swigrun.swg
169 *
170 * This file contains generic C API SWIG runtime support for pointer
171 * type checking.
172 * ----------------------------------------------------------------------------- */
173
174/* This should only be incremented when either the layout of swig_type_info changes,
175 or for whatever reason, the runtime changes incompatibly */
176#define SWIG_RUNTIME_VERSION "4"
177
178/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
179#ifdef SWIG_TYPE_TABLE
180# define SWIG_QUOTE_STRING(x) #x
181# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
182# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
183#else
184# define SWIG_TYPE_TABLE_NAME
185#endif
186
187/*
188 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
189 creating a static or dynamic library from the SWIG runtime code.
190 In 99.9% of the cases, SWIG just needs to declare them as 'static'.
191
192 But only do this if strictly necessary, ie, if you have problems
193 with your compiler or suchlike.
194*/
195
196#ifndef SWIGRUNTIME
197# define SWIGRUNTIME SWIGINTERN
198#endif
199
200#ifndef SWIGRUNTIMEINLINE
201# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
202#endif
203
204/* Generic buffer size */
205#ifndef SWIG_BUFFER_SIZE
206# define SWIG_BUFFER_SIZE 1024
207#endif
208
209/* Flags for pointer conversions */
210#define SWIG_POINTER_DISOWN 0x1
211#define SWIG_CAST_NEW_MEMORY 0x2
212#define SWIG_POINTER_NO_NULL 0x4
213
214/* Flags for new pointer objects */
215#define SWIG_POINTER_OWN 0x1
216
217
218/*
219 Flags/methods for returning states.
220
221 The SWIG conversion methods, as ConvertPtr, return an integer
222 that tells if the conversion was successful or not. And if not,
223 an error code can be returned (see swigerrors.swg for the codes).
224
225 Use the following macros/flags to set or process the returning
226 states.
227
228 In old versions of SWIG, code such as the following was usually written:
229
230 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
231 // success code
232 } else {
233 //fail code
234 }
235
236 Now you can be more explicit:
237
238 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
239 if (SWIG_IsOK(res)) {
240 // success code
241 } else {
242 // fail code
243 }
244
245 which is the same really, but now you can also do
246
247 Type *ptr;
248 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
249 if (SWIG_IsOK(res)) {
250 // success code
251 if (SWIG_IsNewObj(res) {
252 ...
253 delete *ptr;
254 } else {
255 ...
256 }
257 } else {
258 // fail code
259 }
260
261 I.e., now SWIG_ConvertPtr can return new objects and you can
262 identify the case and take care of the deallocation. Of course that
263 also requires SWIG_ConvertPtr to return new result values, such as
264
265 int SWIG_ConvertPtr(obj, ptr,...) {
266 if (<obj is ok>) {
267 if (<need new object>) {
268 *ptr = <ptr to new allocated object>;
269 return SWIG_NEWOBJ;
270 } else {
271 *ptr = <ptr to old object>;
272 return SWIG_OLDOBJ;
273 }
274 } else {
275 return SWIG_BADOBJ;
276 }
277 }
278
279 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
280 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
281 SWIG errors code.
282
283 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
284 allows to return the 'cast rank', for example, if you have this
285
286 int food(double)
287 int fooi(int);
288
289 and you call
290
291 food(1) // cast rank '1' (1 -> 1.0)
292 fooi(1) // cast rank '0'
293
294 just use the SWIG_AddCast()/SWIG_CheckState()
295*/
296
297#define SWIG_OK (0)
298#define SWIG_ERROR (-1)
299#define SWIG_IsOK(r) (r >= 0)
300#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
301
302/* The CastRankLimit says how many bits are used for the cast rank */
303#define SWIG_CASTRANKLIMIT (1 << 8)
304/* The NewMask denotes the object was created (using new/malloc) */
305#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
306/* The TmpMask is for in/out typemaps that use temporal objects */
307#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
308/* Simple returning values */
309#define SWIG_BADOBJ (SWIG_ERROR)
310#define SWIG_OLDOBJ (SWIG_OK)
311#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
312#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
313/* Check, add and del mask methods */
314#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
315#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
316#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
317#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
318#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
319#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
320
321/* Cast-Rank Mode */
322#if defined(SWIG_CASTRANK_MODE)
323# ifndef SWIG_TypeRank
324# define SWIG_TypeRank unsigned long
325# endif
326# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
327# define SWIG_MAXCASTRANK (2)
328# endif
329# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
330# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
332 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
333}
335 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
336}
337#else /* no cast-rank mode */
338# define SWIG_AddCast(r) (r)
339# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
340#endif
341
342
343#include <string.h>
344
345#ifdef __cplusplus
346extern "C" {
347#endif
348
349typedef void *(*swig_converter_func)(void *, int *);
350typedef struct swig_type_info *(*swig_dycast_func)(void **);
351
352/* Structure to store information on one type */
353typedef struct swig_type_info {
354 const char *name; /* mangled name of this type */
355 const char *str; /* human readable name of this type */
356 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
357 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
358 void *clientdata; /* language specific type data */
359 int owndata; /* flag if the structure owns the clientdata */
361
362/* Structure to store a type and conversion function used for casting */
363typedef struct swig_cast_info {
364 swig_type_info *type; /* pointer to type that is equivalent to this type */
365 swig_converter_func converter; /* function to cast the void pointers */
366 struct swig_cast_info *next; /* pointer to next cast in linked list */
367 struct swig_cast_info *prev; /* pointer to the previous cast */
369
370/* Structure used to store module information
371 * Each module generates one structure like this, and the runtime collects
372 * all of these structures and stores them in a circularly linked list.*/
373typedef struct swig_module_info {
374 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
375 size_t size; /* Number of types in this module */
376 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
377 swig_type_info **type_initial; /* Array of initially generated type structures */
378 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
379 void *clientdata; /* Language specific module data */
381
382/*
383 Compare two type names skipping the space characters, therefore
384 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
385
386 Return 0 when the two name types are equivalent, as in
387 strncmp, but skipping ' '.
388*/
389SWIGRUNTIME int
390SWIG_TypeNameComp(const char *f1, const char *l1,
391 const char *f2, const char *l2) {
392 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
393 while ((*f1 == ' ') && (f1 != l1)) ++f1;
394 while ((*f2 == ' ') && (f2 != l2)) ++f2;
395 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
396 }
397 return (int)((l1 - f1) - (l2 - f2));
398}
399
400/*
401 Check type equivalence in a name list like <name1>|<name2>|...
402 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
403*/
404SWIGRUNTIME int
405SWIG_TypeCmp(const char *nb, const char *tb) {
406 int equiv = 1;
407 const char* te = tb + strlen(tb);
408 const char* ne = nb;
409 while (equiv != 0 && *ne) {
410 for (nb = ne; *ne; ++ne) {
411 if (*ne == '|') break;
412 }
413 equiv = SWIG_TypeNameComp(nb, ne, tb, te);
414 if (*ne) ++ne;
415 }
416 return equiv;
417}
418
419/*
420 Check type equivalence in a name list like <name1>|<name2>|...
421 Return 0 if not equal, 1 if equal
422*/
423SWIGRUNTIME int
424SWIG_TypeEquiv(const char *nb, const char *tb) {
425 return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
426}
427
428/*
429 Check the typename
430*/
432SWIG_TypeCheck(const char *c, swig_type_info *ty) {
433 if (ty) {
434 swig_cast_info *iter = ty->cast;
435 while (iter) {
436 if (strcmp(iter->type->name, c) == 0) {
437 if (iter == ty->cast)
438 return iter;
439 /* Move iter to the top of the linked list */
440 iter->prev->next = iter->next;
441 if (iter->next)
442 iter->next->prev = iter->prev;
443 iter->next = ty->cast;
444 iter->prev = 0;
445 if (ty->cast) ty->cast->prev = iter;
446 ty->cast = iter;
447 return iter;
448 }
449 iter = iter->next;
450 }
451 }
452 return 0;
453}
454
455/*
456 Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
457*/
460 if (ty) {
461 swig_cast_info *iter = ty->cast;
462 while (iter) {
463 if (iter->type == from) {
464 if (iter == ty->cast)
465 return iter;
466 /* Move iter to the top of the linked list */
467 iter->prev->next = iter->next;
468 if (iter->next)
469 iter->next->prev = iter->prev;
470 iter->next = ty->cast;
471 iter->prev = 0;
472 if (ty->cast) ty->cast->prev = iter;
473 ty->cast = iter;
474 return iter;
475 }
476 iter = iter->next;
477 }
478 }
479 return 0;
480}
481
482/*
483 Cast a pointer up an inheritance hierarchy
484*/
486SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
487 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
488}
489
490/*
491 Dynamic pointer casting. Down an inheritance hierarchy
492*/
495 swig_type_info *lastty = ty;
496 if (!ty || !ty->dcast) return ty;
497 while (ty && (ty->dcast)) {
498 ty = (*ty->dcast)(ptr);
499 if (ty) lastty = ty;
500 }
501 return lastty;
502}
503
504/*
505 Return the name associated with this type
506*/
507SWIGRUNTIMEINLINE const char *
509 return ty->name;
510}
511
512/*
513 Return the pretty name associated with this type,
514 that is an unmangled type name in a form presentable to the user.
515*/
516SWIGRUNTIME const char *
518 /* The "str" field contains the equivalent pretty names of the
519 type, separated by vertical-bar characters. We choose
520 to print the last name, as it is often (?) the most
521 specific. */
522 if (!type) return NULL;
523 if (type->str != NULL) {
524 const char *last_name = type->str;
525 const char *s;
526 for (s = type->str; *s; s++)
527 if (*s == '|') last_name = s+1;
528 return last_name;
529 }
530 else
531 return type->name;
532}
533
534/*
535 Set the clientdata field for a type
536*/
537SWIGRUNTIME void
539 swig_cast_info *cast = ti->cast;
540 /* if (ti->clientdata == clientdata) return; */
542
543 while (cast) {
544 if (!cast->converter) {
545 swig_type_info *tc = cast->type;
546 if (!tc->clientdata) {
548 }
549 }
550 cast = cast->next;
551 }
552}
553SWIGRUNTIME void
558
559/*
560 Search for a swig_type_info structure only by mangled name
561 Search is a O(log #types)
562
563 We start searching at module start, and finish searching when start == end.
564 Note: if start == end at the beginning of the function, we go all the way around
565 the circular list.
566*/
569 swig_module_info *end,
570 const char *name) {
571 swig_module_info *iter = start;
572 do {
573 if (iter->size) {
574 size_t l = 0;
575 size_t r = iter->size - 1;
576 do {
577 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
578 size_t i = (l + r) >> 1;
579 const char *iname = iter->types[i]->name;
580 if (iname) {
581 int compare = strcmp(name, iname);
582 if (compare == 0) {
583 return iter->types[i];
584 } else if (compare < 0) {
585 if (i) {
586 r = i - 1;
587 } else {
588 break;
589 }
590 } else if (compare > 0) {
591 l = i + 1;
592 }
593 } else {
594 break; /* should never happen */
595 }
596 } while (l <= r);
597 }
598 iter = iter->next;
599 } while (iter != end);
600 return 0;
601}
602
603/*
604 Search for a swig_type_info structure for either a mangled name or a human readable name.
605 It first searches the mangled names of the types, which is a O(log #types)
606 If a type is not found it then searches the human readable names, which is O(#types).
607
608 We start searching at module start, and finish searching when start == end.
609 Note: if start == end at the beginning of the function, we go all the way around
610 the circular list.
611*/
614 swig_module_info *end,
615 const char *name) {
616 /* STEP 1: Search the name field using binary search */
618 if (ret) {
619 return ret;
620 } else {
621 /* STEP 2: If the type hasn't been found, do a complete search
622 of the str field (the human readable name) */
623 swig_module_info *iter = start;
624 do {
625 size_t i = 0;
626 for (; i < iter->size; ++i) {
627 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
628 return iter->types[i];
629 }
630 iter = iter->next;
631 } while (iter != end);
632 }
633
634 /* neither found a match */
635 return 0;
636}
637
638/*
639 Pack binary data into a string
640*/
641SWIGRUNTIME char *
642SWIG_PackData(char *c, void *ptr, size_t sz) {
643 static const char hex[17] = "0123456789abcdef";
644 const unsigned char *u = (unsigned char *) ptr;
645 const unsigned char *eu = u + sz;
646 for (; u != eu; ++u) {
647 unsigned char uu = *u;
648 *(c++) = hex[(uu & 0xf0) >> 4];
649 *(c++) = hex[uu & 0xf];
650 }
651 return c;
652}
653
654/*
655 Unpack binary data from a string
656*/
657SWIGRUNTIME const char *
658SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
659 unsigned char *u = (unsigned char *) ptr;
660 const unsigned char *eu = u + sz;
661 for (; u != eu; ++u) {
662 char d = *(c++);
663 unsigned char uu;
664 if ((d >= '0') && (d <= '9'))
665 uu = (unsigned char)((d - '0') << 4);
666 else if ((d >= 'a') && (d <= 'f'))
667 uu = (unsigned char)((d - ('a'-10)) << 4);
668 else
669 return (char *) 0;
670 d = *(c++);
671 if ((d >= '0') && (d <= '9'))
672 uu |= (unsigned char)(d - '0');
673 else if ((d >= 'a') && (d <= 'f'))
674 uu |= (unsigned char)(d - ('a'-10));
675 else
676 return (char *) 0;
677 *u = uu;
678 }
679 return c;
680}
681
682/*
683 Pack 'void *' into a string buffer.
684*/
685SWIGRUNTIME char *
686SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
687 char *r = buff;
688 if ((2*sizeof(void *) + 2) > bsz) return 0;
689 *(r++) = '_';
690 r = SWIG_PackData(r,&ptr,sizeof(void *));
691 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
692 strcpy(r,name);
693 return buff;
694}
695
696SWIGRUNTIME const char *
697SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
698 if (*c != '_') {
699 if (strcmp(c,"NULL") == 0) {
700 *ptr = (void *) 0;
701 return name;
702 } else {
703 return 0;
704 }
705 }
706 return SWIG_UnpackData(++c,ptr,sizeof(void *));
707}
708
709SWIGRUNTIME char *
710SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
711 char *r = buff;
712 size_t lname = (name ? strlen(name) : 0);
713 if ((2*sz + 2 + lname) > bsz) return 0;
714 *(r++) = '_';
715 r = SWIG_PackData(r,ptr,sz);
716 if (lname) {
717 strncpy(r,name,lname+1);
718 } else {
719 *r = 0;
720 }
721 return buff;
722}
723
724SWIGRUNTIME const char *
725SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
726 if (*c != '_') {
727 if (strcmp(c,"NULL") == 0) {
728 memset(ptr,0,sz);
729 return name;
730 } else {
731 return 0;
732 }
733 }
734 return SWIG_UnpackData(++c,ptr,sz);
735}
736
737#ifdef __cplusplus
738}
739#endif
740
741/* Errors in SWIG */
742#define SWIG_UnknownError -1
743#define SWIG_IOError -2
744#define SWIG_RuntimeError -3
745#define SWIG_IndexError -4
746#define SWIG_TypeError -5
747#define SWIG_DivisionByZero -6
748#define SWIG_OverflowError -7
749#define SWIG_SyntaxError -8
750#define SWIG_ValueError -9
751#define SWIG_SystemError -10
752#define SWIG_AttributeError -11
753#define SWIG_MemoryError -12
754#define SWIG_NullReferenceError -13
755
756
757
758/* -----------------------------------------------------------------------------
759 * luarun.swg
760 *
761 * This file contains the runtime support for Lua modules
762 * and includes code for managing global variables and pointer
763 * type checking.
764 * ----------------------------------------------------------------------------- */
765
766#ifdef __cplusplus
767extern "C" {
768#endif
769
770#include "lua.h"
771#include "lauxlib.h"
772#include <stdlib.h> /* for malloc */
773#include <assert.h> /* for a few sanity tests */
774
775/* -----------------------------------------------------------------------------
776 * Lua flavors
777 * ----------------------------------------------------------------------------- */
778
779#define SWIG_LUA_FLAVOR_LUA 1
780#define SWIG_LUA_FLAVOR_ELUA 2
781#define SWIG_LUA_FLAVOR_ELUAC 3
782
783#if !defined(SWIG_LUA_TARGET)
784# error SWIG_LUA_TARGET not defined
785#endif
786
787#if defined(SWIG_LUA_ELUA_EMULATE)
788
789struct swig_elua_entry;
790
791typedef struct swig_elua_key {
792 int type;
793 union {
794 const char* strkey;
795 lua_Number numkey;
796 } key;
797} swig_elua_key;
798
799typedef struct swig_elua_val {
800 int type;
801 union {
802 lua_Number number;
803 const struct swig_elua_entry *table;
804 const char *string;
805 lua_CFunction function;
806 struct {
807 char member;
808 long lvalue;
809 void *pvalue;
810 swig_type_info **ptype;
811 } userdata;
812 } value;
813} swig_elua_val;
814
815typedef struct swig_elua_entry {
816 swig_elua_key key;
817 swig_elua_val value;
818} swig_elua_entry;
819
820#define LSTRKEY(x) {LUA_TSTRING, {.strkey = x} }
821#define LNUMKEY(x) {LUA_TNUMBER, {.numkey = x} }
822#define LNILKEY {LUA_TNIL, {.strkey = 0} }
823
824#define LNUMVAL(x) {LUA_TNUMBER, {.number = x} }
825#define LFUNCVAL(x) {LUA_TFUNCTION, {.function = x} }
826#define LROVAL(x) {LUA_TTABLE, {.table = x} }
827#define LNILVAL {LUA_TNIL, {.string = 0} }
828#define LSTRVAL(x) {LUA_TSTRING, {.string = x} }
829
830#define LUA_REG_TYPE swig_elua_entry
831
832#define SWIG_LUA_ELUA_EMUL_METATABLE_KEY "__metatable"
833
834#define lua_pushrotable(L,p)\
835 lua_newtable(L);\
836 assert(p);\
837 SWIG_Lua_elua_emulate_register(L,(swig_elua_entry*)(p));
838
839#define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
840 LSTRKEY(B), {LUA_TUSERDATA, { .userdata={0,0,(void*)(C),&D} } }
841
842#define SWIG_LUA_CONSTTAB_BINARY(B,S,C,D)\
843 LSTRKEY(B), {LUA_TUSERDATA, { .userdata={1,S,(void*)(C),&D} } }
844#endif
845
846#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
847# define SWIG_LUA_CONSTTAB_INT(B, C) LSTRKEY(B), LNUMVAL(C)
848# define SWIG_LUA_CONSTTAB_FLOAT(B, C) LSTRKEY(B), LNUMVAL(C)
849# define SWIG_LUA_CONSTTAB_STRING(B, C) LSTRKEY(B), LSTRVAL(C)
850# define SWIG_LUA_CONSTTAB_CHAR(B, C) LSTRKEY(B), LNUMVAL(C)
851 /* Those two types of constants are not supported in elua */
852
853#ifndef SWIG_LUA_CONSTTAB_POINTER
854#warning eLua does not support pointers as constants. By default, nil will be used as value
855#define SWIG_LUA_CONSTTAB_POINTER(B,C,D) LSTRKEY(B), LNILVAL
856#endif
857
858#ifndef SWIG_LUA_CONSTTAB_BINARY
859#warning eLua does not support pointers to member as constants. By default, nil will be used as value
860#define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D) LSTRKEY(B), LNILVAL
861#endif
862#else /* SWIG_LUA_FLAVOR_LUA */
863# define SWIG_LUA_CONSTTAB_INT(B, C) SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
864# define SWIG_LUA_CONSTTAB_FLOAT(B, C) SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
865# define SWIG_LUA_CONSTTAB_STRING(B, C) SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
866# define SWIG_LUA_CONSTTAB_CHAR(B, C) SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
867# define SWIG_LUA_CONSTTAB_POINTER(B,C,D)\
868 SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D
869# define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D)\
870 SWIG_LUA_BINARY, (char *)B, S, 0, (void *)C, &D
871#endif
872
873#ifndef SWIG_LUA_ELUA_EMULATE
874#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
875# define LRO_STRVAL(v) {{.p = (char *) v}, LUA_TSTRING}
876# define LSTRVAL LRO_STRVAL
877#endif
878#endif /* SWIG_LUA_ELUA_EMULATE*/
879
880#ifndef SWIG_LUA_ELUA_EMULATE
881#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
882
883#ifndef MIN_OPT_LEVEL
884#define MIN_OPT_LEVEL 2
885#endif
886
887#include "lrodefs.h"
888#include "lrotable.h"
889#endif
890#endif /* SWIG_LUA_ELUA_EMULATE*/
891/* -----------------------------------------------------------------------------
892 * compatibility defines
893 * ----------------------------------------------------------------------------- */
894
895/* History of Lua C API length functions: In Lua 5.0 (and before?)
896 there was "lua_strlen". In Lua 5.1, this was renamed "lua_objlen",
897 but a compatibility define of "lua_strlen" was added. In Lua 5.2,
898 this function was again renamed, to "lua_rawlen" (to emphasize that
899 it doesn't call the "__len" metamethod), and the compatibility
900 define of lua_strlen was removed. All SWIG uses have been updated
901 to "lua_rawlen", and we add our own defines of that here for older
902 versions of Lua. */
903#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 501
904# define lua_rawlen lua_strlen
905#elif LUA_VERSION_NUM == 501
906# define lua_rawlen lua_objlen
907#endif
908
909
910/* lua_pushglobaltable is the recommended "future-proof" way to get
911 the global table for Lua 5.2 and later. Here we define
912 lua_pushglobaltable ourselves for Lua versions before 5.2. */
913#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
914# define lua_pushglobaltable(L) lua_pushvalue(L, LUA_GLOBALSINDEX)
915#endif
916
917/* lua_absindex was introduced in Lua 5.2 */
918#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
919# define lua_absindex(L,i) ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1)
920#endif
921
922/* lua_rawsetp was introduced in Lua 5.2 */
923#if !defined(LUA_VERSION_NUM) || LUA_VERSION_NUM < 502
924#define lua_rawsetp(L,index,ptr)\
925 lua_pushlightuserdata(L,(void*)(ptr));\
926 lua_insert(L,-2);\
927 lua_rawset(L,index);
928
929#define lua_rawgetp(L,index,ptr)\
930 lua_pushlightuserdata(L,(void*)(ptr));\
931 lua_rawget(L,index);
932
933#endif
934
935/* --------------------------------------------------------------------------
936 * Helper functions for error handling
937 * -------------------------------------------------------------------------- */
938
939/* Push the string STR on the Lua stack, like lua_pushstring, but
940 prefixed with the location of the innermost Lua call-point
941 (as formatted by luaL_where). */
942SWIGRUNTIME void
943SWIG_Lua_pusherrstring (lua_State *L, const char *str)
944{
945 luaL_where (L, 1);
946 lua_pushstring (L, str);
947 lua_concat (L, 2);
948}
949
950/* Push a formatted string generated from FMT and following args on
951 the Lua stack, like lua_pushfstring, but prefixed with the
952 location of the innermost Lua call-point (as formatted by luaL_where). */
953SWIGRUNTIME void
954SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...)
955{
956 va_list argp;
957 va_start(argp, fmt);
958 luaL_where(L, 1);
959 lua_pushvfstring(L, fmt, argp);
960 va_end(argp);
961 lua_concat(L, 2);
962}
963
964
965/* -----------------------------------------------------------------------------
966 * global swig types
967 * ----------------------------------------------------------------------------- */
968/* Constant table */
969#define SWIG_LUA_INT 1
970#define SWIG_LUA_FLOAT 2
971#define SWIG_LUA_STRING 3
972#define SWIG_LUA_POINTER 4
973#define SWIG_LUA_BINARY 5
974#define SWIG_LUA_CHAR 6
975
976/* Structure for variable linking table */
977typedef struct {
978 const char *name;
979 lua_CFunction get;
980 lua_CFunction set;
982
983#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
984typedef const LUA_REG_TYPE swig_lua_method;
985typedef const LUA_REG_TYPE swig_lua_const_info;
986#else /* Normal lua */
987typedef luaL_Reg swig_lua_method;
988
989/* Constant information structure */
990typedef struct {
991 int type;
992 char *name;
993 long lvalue;
994 double dvalue;
995 void *pvalue;
998
999#endif
1000
1001typedef struct {
1002 const char *name;
1003 lua_CFunction getmethod;
1004 lua_CFunction setmethod;
1006
1007
1008struct swig_lua_class;
1009/* Can be used to create namespaces. Currently used to wrap class static methods/variables/constants */
1018
1019typedef struct swig_lua_class {
1020 const char *name; /* Name that this class has in Lua */
1021 const char *fqname; /* Fully qualified name - Scope + class name */
1023 lua_CFunction constructor;
1024 void (*destructor)(void *);
1028 swig_lua_method *metatable; /* 0 for -eluac */
1030 const char **base_names;
1032
1033/* this is the struct for wrapping all pointers in SwigLua
1034*/
1035typedef struct {
1037 int own; /* 1 if owned & must be destroyed */
1038 void *ptr;
1040
1041/* this is the struct for wrapping arbitrary packed binary data
1042(currently it is only used for member function pointers)
1043the data ordering is similar to swig_lua_userdata, but it is currently not possible
1044to tell the two structures apart within SWIG, other than by looking at the type
1045*/
1046typedef struct {
1048 int own; /* 1 if owned & must be destroyed */
1049 char data[1]; /* arbitrary amount of data */
1051
1052/* Common SWIG API */
1053#define SWIG_NewPointerObj(L, ptr, type, owner) SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
1054#define SWIG_ConvertPtr(L,idx, ptr, type, flags) SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
1055#define SWIG_MustGetPtr(L,idx, type,flags, argnum,fnname) SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
1056/* for C++ member pointers, ie, member methods */
1057#define SWIG_ConvertMember(L, idx, ptr, sz, ty) SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
1058#define SWIG_NewMemberObj(L, ptr, sz, type) SWIG_Lua_NewPackedObj(L, ptr, sz, type)
1059
1060/* Runtime API */
1061#define SWIG_GetModule(clientdata) SWIG_Lua_GetModule((lua_State*)(clientdata))
1062#define SWIG_SetModule(clientdata, pointer) SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
1063#define SWIG_MODULE_CLIENTDATA_TYPE lua_State*
1064
1065/* Contract support */
1066#define SWIG_contract_assert(expr, msg) \
1067 if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else
1068
1069
1070/* helper #defines */
1071#define SWIG_fail {goto fail;}
1072#define SWIG_fail_arg(func_name,argnum,type) \
1073 {SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
1074 func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
1075 goto fail;}
1076#define SWIG_fail_ptr(func_name,argnum,type) \
1077 SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
1078#define SWIG_check_num_args(func_name,a,b) \
1079 if (lua_gettop(L)<a || lua_gettop(L)>b) \
1080 {SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
1081 goto fail;}
1082
1083
1084#define SWIG_Lua_get_table(L,n) \
1085 (lua_pushstring(L, n), lua_rawget(L,-2))
1086
1087#define SWIG_Lua_add_function(L,n,f) \
1088 (lua_pushstring(L, n), \
1089 lua_pushcfunction(L, f), \
1090 lua_rawset(L,-3))
1091
1092#define SWIG_Lua_add_boolean(L,n,b) \
1093 (lua_pushstring(L, n), \
1094 lua_pushboolean(L, b), \
1095 lua_rawset(L,-3))
1096
1097/* special helper for allowing 'nil' for usertypes */
1098#define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
1099
1100#ifdef __cplusplus
1101/* Special helper for member function pointers
1102it gets the address, casts it, then dereferences it */
1103/*#define SWIG_mem_fn_as_voidptr(a) (*((char**)&(a))) */
1104#endif
1105
1106/* storing/access of swig_module_info */
1108SWIG_Lua_GetModule(lua_State *L) {
1109 swig_module_info *ret = 0;
1110 lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1111 lua_rawget(L,LUA_REGISTRYINDEX);
1112 if (lua_islightuserdata(L,-1))
1113 ret=(swig_module_info*)lua_touserdata(L,-1);
1114 lua_pop(L,1); /* tidy */
1115 return ret;
1116}
1117
1118SWIGRUNTIME void
1119SWIG_Lua_SetModule(lua_State *L, swig_module_info *module) {
1120 /* add this all into the Lua registry: */
1121 lua_pushstring(L,"swig_runtime_data_type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME);
1122 lua_pushlightuserdata(L,(void*)module);
1123 lua_rawset(L,LUA_REGISTRYINDEX);
1124}
1125
1126/* -----------------------------------------------------------------------------
1127 * global variable support code: modules
1128 * ----------------------------------------------------------------------------- */
1129
1130/* this function is called when trying to set an immutable.
1131default action is to print an error.
1132This can removed with a compile flag SWIGLUA_IGNORE_SET_IMMUTABLE */
1134{
1135/* there should be 1 param passed in: the new value */
1136#ifndef SWIGLUA_IGNORE_SET_IMMUTABLE
1137 lua_pop(L,1); /* remove it */
1138 luaL_error(L,"This variable is immutable");
1139#endif
1140 return 0; /* should not return anything */
1141}
1142
1143#ifdef SWIG_LUA_ELUA_EMULATE
1144
1145SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own);
1146SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type);
1147static int swig_lua_elua_emulate_unique_key;
1148
1149/* This function emulates eLua rotables behaviour. It loads a rotable definition into the usual lua table. */
1150SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_entry *table)
1151{
1152 int i, table_parsed, parsed_tables_array, target_table;
1153 assert(lua_istable(L,-1));
1154 target_table = lua_gettop(L);
1155 /* Get the registry where we put all parsed tables to avoid loops */
1156 lua_rawgetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1157 if(lua_isnil(L,-1)) {
1158 lua_pop(L,1);
1159 lua_newtable(L);
1160 lua_pushvalue(L,-1);
1161 lua_rawsetp(L,LUA_REGISTRYINDEX,(void*)(&swig_lua_elua_emulate_unique_key));
1162 }
1163 parsed_tables_array = lua_gettop(L);
1164 lua_pushvalue(L,target_table);
1165 lua_rawsetp(L, parsed_tables_array, table);
1166 table_parsed = 0;
1167 const int SWIGUNUSED pairs_start = lua_gettop(L);
1168 for(i = 0;table[i].key.type != LUA_TNIL || table[i].value.type != LUA_TNIL;i++)
1169 {
1170 const swig_elua_entry *entry = table + i;
1171 int is_metatable = 0;
1172 switch(entry->key.type) {
1173 case LUA_TSTRING:
1174 lua_pushstring(L,entry->key.key.strkey);
1175 if(strcmp(entry->key.key.strkey, SWIG_LUA_ELUA_EMUL_METATABLE_KEY) == 0)
1176 is_metatable = 1;
1177 break;
1178 case LUA_TNUMBER:
1179 lua_pushnumber(L,entry->key.key.numkey);
1180 break;
1181 case LUA_TNIL:
1182 lua_pushnil(L);
1183 break;
1184 default:
1185 assert(0);
1186 }
1187 switch(entry->value.type) {
1188 case LUA_TSTRING:
1189 lua_pushstring(L,entry->value.value.string);
1190 break;
1191 case LUA_TNUMBER:
1192 lua_pushnumber(L,entry->value.value.number);
1193 break;
1194 case LUA_TFUNCTION:
1195 lua_pushcfunction(L,entry->value.value.function);
1196 break;
1197 case LUA_TTABLE:
1198 lua_rawgetp(L,parsed_tables_array, entry->value.value.table);
1199 table_parsed = !lua_isnil(L,-1);
1200 if(!table_parsed) {
1201 lua_pop(L,1); /*remove nil */
1202 lua_newtable(L);
1203 SWIG_Lua_elua_emulate_register(L,entry->value.value.table);
1204 }
1205 if(is_metatable) {
1206 assert(lua_istable(L,-1));
1207 lua_pushvalue(L,-1);
1208 lua_setmetatable(L,target_table);
1209 }
1210
1211 break;
1212 case LUA_TUSERDATA:
1213 if(entry->value.value.userdata.member)
1214 SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue,
1215 entry->value.value.userdata.lvalue,
1216 *(entry->value.value.userdata.ptype));
1217 else
1218 SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue,
1219 *(entry->value.value.userdata.ptype),0);
1220 break;
1221 case LUA_TNIL:
1222 lua_pushnil(L);
1223 break;
1224 default:
1225 assert(0);
1226 }
1227 assert(lua_gettop(L) == pairs_start + 2);
1228 lua_rawset(L,target_table);
1229 }
1230 lua_pop(L,1); /* Removing parsed tables storage */
1231 assert(lua_gettop(L) == target_table);
1232}
1233
1234SWIGINTERN void SWIG_Lua_elua_emulate_register_clear(lua_State *L)
1235{
1236 lua_pushnil(L);
1237 lua_rawsetp(L, LUA_REGISTRYINDEX, &swig_lua_elua_emulate_unique_key);
1238}
1239
1240SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L);
1241
1242SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_State *L)
1243{
1244 SWIG_check_num_args("getmetatable(SWIG eLua emulation)", 1, 1);
1246 lua_getfield(L,-1,"lua_getmetatable");
1247 lua_remove(L,-2); /* remove the registry*/
1248 assert(!lua_isnil(L,-1));
1249 lua_pushvalue(L,1);
1250 assert(lua_gettop(L) == 3); /* object | function | object again */
1251 lua_call(L,1,1);
1252 if(!lua_isnil(L,-1)) /*There is an ordinary metatable */
1253 return 1;
1254 /*if it is a table, then emulate elua behaviour - check for __metatable attribute of a table*/
1255 assert(lua_gettop(L) == 2);
1256 if(lua_istable(L,-2)) {
1257 lua_pop(L,1); /*remove the nil*/
1258 lua_getfield(L,-1, SWIG_LUA_ELUA_EMUL_METATABLE_KEY);
1259 }
1260 assert(lua_gettop(L) == 2);
1261 return 1;
1262
1263fail:
1264 lua_error(L);
1265 return 0;
1266}
1267
1268SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatable(lua_State *L)
1269{
1272 lua_pushstring(L,"lua_getmetatable");
1273 lua_getfield(L,-2,"getmetatable");
1274 assert(!lua_isnil(L,-1));
1275 lua_rawset(L,-4);
1276 lua_pushstring(L, "getmetatable");
1277 lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable);
1278 lua_rawset(L,-3);
1279 lua_pop(L,2);
1280
1281}
1282/* END OF REMOVE */
1283
1284#endif
1285/* -----------------------------------------------------------------------------
1286 * global variable support code: namespaces and modules (which are the same thing)
1287 * ----------------------------------------------------------------------------- */
1288
1290{
1291/* there should be 2 params passed in
1292 (1) table (not the meta table)
1293 (2) string name of the attribute
1294*/
1295 assert(lua_istable(L,-2)); /* just in case */
1296 lua_getmetatable(L,-2);
1297 assert(lua_istable(L,-1));
1298 SWIG_Lua_get_table(L,".get"); /* find the .get table */
1299 assert(lua_istable(L,-1));
1300 /* look for the key in the .get table */
1301 lua_pushvalue(L,2); /* key */
1302 lua_rawget(L,-2);
1303 lua_remove(L,-2); /* stack tidy, remove .get table */
1304 if (lua_iscfunction(L,-1))
1305 { /* found it so call the fn & return its value */
1306 lua_call(L,0,1); /* 1 value in (userdata),1 out (result) */
1307 lua_remove(L,-2); /* stack tidy, remove metatable */
1308 return 1;
1309 }
1310 lua_pop(L,1); /* remove whatever was there */
1311 /* ok, so try the .fn table */
1312 SWIG_Lua_get_table(L,".fn"); /* find the .get table */
1313 assert(lua_istable(L,-1)); /* just in case */
1314 lua_pushvalue(L,2); /* key */
1315 lua_rawget(L,-2); /* look for the fn */
1316 lua_remove(L,-2); /* stack tidy, remove .fn table */
1317 if (lua_isfunction(L,-1)) /* note: whether it's a C function or lua function */
1318 { /* found it so return the fn & let lua call it */
1319 lua_remove(L,-2); /* stack tidy, remove metatable */
1320 return 1;
1321 }
1322 lua_pop(L,1); /* remove whatever was there */
1323 return 0;
1324}
1325
1327{
1328/* there should be 3 params passed in
1329 (1) table (not the meta table)
1330 (2) string name of the attribute
1331 (3) any for the new value
1332*/
1333
1334 assert(lua_istable(L,1));
1335 lua_getmetatable(L,1); /* get the meta table */
1336 assert(lua_istable(L,-1));
1337
1338 SWIG_Lua_get_table(L,".set"); /* find the .set table */
1339 if (lua_istable(L,-1))
1340 {
1341 /* look for the key in the .set table */
1342 lua_pushvalue(L,2); /* key */
1343 lua_rawget(L,-2);
1344 if (lua_iscfunction(L,-1))
1345 { /* found it so call the fn & return its value */
1346 lua_pushvalue(L,3); /* value */
1347 lua_call(L,1,0);
1348 return 0;
1349 }
1350 lua_pop(L,1); /* remove the value */
1351 }
1352 lua_pop(L,1); /* remove the value .set table */
1353 lua_pop(L,1); /* remote metatable */
1354 lua_rawset(L,-3);
1355 return 0;
1356}
1357
1358#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
1359SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]); /* forward declaration */
1360SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn); /* forward declaration */
1361SWIGINTERN void SWIG_Lua_class_register(lua_State *L,swig_lua_class *clss);
1362
1363/* helper function - register namespace methods and attributes into namespace */
1365{
1366 int i;
1367 /* There must be namespace table (not metatable) at the top of the stack */
1368 assert(lua_istable(L,-1));
1370
1371 /* add methods to the namespace/module table */
1372 for(i=0;ns->ns_methods[i].name;i++){
1373 SWIG_Lua_add_function(L,ns->ns_methods[i].name,ns->ns_methods[i].func);
1374 }
1375 lua_getmetatable(L,-1);
1376
1377 /* add fns */
1378 for(i=0;ns->ns_attributes[i].name;i++){
1380 }
1381
1382 /* clear stack - remove metatble */
1383 lua_pop(L,1);
1384 return 0;
1385}
1386
1387/* Register all classes in the namespace */
1389{
1390 swig_lua_class **classes;
1391
1392 /* There must be a module/namespace table at the top of the stack */
1393 assert(lua_istable(L,-1));
1394
1395 classes = ns->ns_classes;
1396
1397 if( classes != 0 ) {
1398 while(*classes != 0) {
1399 SWIG_Lua_class_register(L, *classes);
1400 classes++;
1401 }
1402 }
1403}
1404
1405/* Helper function. Creates namespace table and adds it to module table
1406 if 'reg' is true, then will register namespace table to parent one (must be on top of the stack
1407 when function is called).
1408 Function always returns newly registered table on top of the stack.
1409*/
1411{
1412 swig_lua_namespace **sub_namespace;
1413 /* 1 argument - table on the top of the stack */
1414 const int SWIGUNUSED begin = lua_gettop(L);
1415 assert(lua_istable(L,-1)); /* just in case. This is supposed to be module table or parent namespace table */
1416 lua_checkstack(L,5);
1417 lua_newtable(L); /* namespace itself */
1418 lua_newtable(L); /* metatable for namespace */
1419
1420 /* add a table called ".get" */
1421 lua_pushstring(L,".get");
1422 lua_newtable(L);
1423 lua_rawset(L,-3);
1424 /* add a table called ".set" */
1425 lua_pushstring(L,".set");
1426 lua_newtable(L);
1427 lua_rawset(L,-3);
1428 /* add a table called ".fn" */
1429 lua_pushstring(L,".fn");
1430 lua_newtable(L);
1431 lua_rawset(L,-3);
1432
1433 /* add accessor fns for using the .get,.set&.fn */
1436
1437 lua_setmetatable(L,-2); /* set metatable */
1438
1439 /* Register all functions, variables etc */
1441 /* Register classes */
1443
1444 sub_namespace = ns->ns_namespaces;
1445 if( sub_namespace != 0) {
1446 while(*sub_namespace != 0) {
1447 SWIG_Lua_namespace_register(L, *sub_namespace, 1);
1448 lua_pop(L,1); /* removing sub-namespace table */
1449 sub_namespace++;
1450 }
1451 }
1452
1453 if (reg) {
1454 lua_pushstring(L,ns->name);
1455 lua_pushvalue(L,-2);
1456 lua_rawset(L,-4); /* add namespace to module table */
1457 }
1458 assert(lua_gettop(L) == begin+1);
1459}
1460#endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
1461
1462/* -----------------------------------------------------------------------------
1463 * global variable support code: classes
1464 * ----------------------------------------------------------------------------- */
1465
1466SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname);
1467
1468typedef int (*swig_lua_base_iterator_func)(lua_State*,swig_type_info*, int, int *ret);
1469
1471 int first_arg, swig_lua_base_iterator_func func, int *const ret)
1472{
1473 /* first_arg - position of the object in stack. Everything that is above are arguments
1474 * and is passed to every evocation of the func */
1475 int last_arg = lua_gettop(L);/* position of last argument */
1476 int original_metatable = last_arg + 1;
1477 size_t bases_count;
1478 int result = SWIG_ERROR;
1479 int bases_table;
1480 (void)swig_type;
1481 lua_getmetatable(L,first_arg);
1482
1483 /* initialise base search */
1484#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1485 SWIG_Lua_get_table(L,".bases");
1486 assert(lua_istable(L,-1));
1487 bases_count = lua_rawlen(L,-1);
1488 bases_table = lua_gettop(L);
1489#else
1490 /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1491 (void)bases_table;
1492 assert(swig_type!=0);
1494 swig_lua_class **bases= ((swig_lua_class*)(swig_type->clientdata))->bases;
1495 const char **base_names= ((swig_lua_class*)(swig_type->clientdata))->base_names;
1496 bases_count = 0;
1497 for(;base_names[bases_count];
1498 bases_count++);/* get length of bases */
1499#endif
1500
1501 if(ret)
1502 *ret = 0;
1503 if(bases_count>0)
1504 {
1505 int to_remove;
1506 size_t i;
1507 int j;
1508 int subcall_last_arg;
1509 int subcall_first_arg = lua_gettop(L) + 1;/* Here a copy of first_arg and arguments begin */
1510 int valid = 1;
1511 swig_type_info *base_swig_type = 0;
1512 for(j=first_arg;j<=last_arg;j++)
1513 lua_pushvalue(L,j);
1514 subcall_last_arg = lua_gettop(L);
1515
1516 /* Trick: temporarily replacing original metatable with metatable for base class and call getter */
1517 for(i=0;i<bases_count;i++) {
1518 /* Iteration through class bases */
1519#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1520 lua_rawgeti(L,bases_table,i+1);
1521 base_swig_type = 0;
1522 if(lua_isnil(L,-1)) {
1523 valid = 0;
1524 lua_pop(L,1);
1525 } else {
1526 valid = 1;
1527 }
1528#else /* In elua .bases table doesn't exist. Use table from swig_lua_class */
1529 swig_lua_class *base_class = bases[i];
1530 if(!base_class) {
1531 valid = 0;
1532 } else {
1533 valid = 1;
1534 SWIG_Lua_get_class_metatable(L,base_class->fqname);
1535 base_swig_type = SWIG_TypeQueryModule(module,module,base_names[i]);
1536 assert(base_swig_type != 0);
1537 }
1538#endif
1539
1540 if(!valid)
1541 continue;
1542 assert(lua_isuserdata(L, subcall_first_arg));
1543 assert(lua_istable(L,-1));
1544 lua_setmetatable(L,subcall_first_arg); /* Set new metatable */
1545 assert(lua_gettop(L) == subcall_last_arg);
1546 result = func(L, base_swig_type,subcall_first_arg, ret); /* Forward call */
1547 if(result != SWIG_ERROR) {
1548 break;
1549 }
1550 }
1551 /* Restore original metatable */
1552 lua_pushvalue(L,original_metatable);
1553 lua_setmetatable(L,first_arg);
1554 /* Clear - remove everything between last_arg and subcall_last_arg including */
1555 to_remove = subcall_last_arg - last_arg;
1556 for(j=0;j<to_remove;j++)
1557 lua_remove(L,last_arg+1);
1558 } else {
1559 /* Remove everything after last_arg */
1560 lua_pop(L, lua_gettop(L) - last_arg);
1561 }
1562 if(ret) assert(lua_gettop(L) == last_arg + *ret);
1563 return result;
1564}
1565
1566/* The class.get method helper, performs the lookup of class attributes.
1567 * It returns an error code. Number of function return values is passed inside 'ret'.
1568 * first_arg is not used in this function because function always has 2 arguments.
1569 */
1570SWIGINTERN int SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1571{
1572/* there should be 2 params passed in
1573 (1) userdata (not the meta table)
1574 (2) string name of the attribute
1575*/
1576 int bases_search_result;
1577 int substack_start = lua_gettop(L)-2;
1578 assert(first_arg == substack_start+1);
1579 lua_checkstack(L,5);
1580 assert(lua_isuserdata(L,-2)); /* just in case */
1581 lua_getmetatable(L,-2); /* get the meta table */
1582 assert(lua_istable(L,-1)); /* just in case */
1583 /* NEW: looks for the __getitem() fn
1584 this is a user provided get fn */
1585 SWIG_Lua_get_table(L,"__getitem"); /* find the __getitem fn */
1586 if (lua_iscfunction(L,-1)) /* if its there */
1587 { /* found it so call the fn & return its value */
1588 lua_pushvalue(L,substack_start+1); /* the userdata */
1589 lua_pushvalue(L,substack_start+2); /* the parameter */
1590 lua_call(L,2,1); /* 2 value in (userdata),1 out (result) */
1591 lua_remove(L,-2); /* stack tidy, remove metatable */
1592 if(ret) *ret = 1;
1593 return SWIG_OK;
1594 }
1595 lua_pop(L,1);
1596 /* Remove the metatable */
1597 lua_pop(L,1);
1598 /* Search in base classes */
1599 bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get_item,ret);
1600 return bases_search_result; /* sorry not known */
1601}
1602
1603
1604/* The class.get method helper, performs the lookup of class attributes.
1605 * It returns an error code. Number of function return values is passed inside 'ret'.
1606 * first_arg is not used in this function because function always has 2 arguments.
1607 */
1608SWIGINTERN int SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
1609{
1610/* there should be 2 params passed in
1611 (1) userdata (not the meta table)
1612 (2) string name of the attribute
1613*/
1614 int bases_search_result;
1615 int substack_start = lua_gettop(L)-2;
1616 assert(first_arg == substack_start+1);
1617 lua_checkstack(L,5);
1618 assert(lua_isuserdata(L,-2)); /* just in case */
1619 lua_getmetatable(L,-2); /* get the meta table */
1620 assert(lua_istable(L,-1)); /* just in case */
1621 SWIG_Lua_get_table(L,".get"); /* find the .get table */
1622 assert(lua_istable(L,-1)); /* just in case */
1623 /* look for the key in the .get table */
1624 lua_pushvalue(L,substack_start+2); /* key */
1625 lua_rawget(L,-2);
1626 lua_remove(L,-2); /* stack tidy, remove .get table */
1627 if (lua_iscfunction(L,-1))
1628 { /* found it so call the fn & return its value */
1629 lua_pushvalue(L,substack_start+1); /* the userdata */
1630 lua_call(L,1,1); /* 1 value in (userdata),1 out (result) */
1631 lua_remove(L,-2); /* stack tidy, remove metatable */
1632 if(ret)
1633 *ret = 1;
1634 return SWIG_OK;
1635 }
1636 lua_pop(L,1); /* remove whatever was there */
1637 /* ok, so try the .fn table */
1638 SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
1639 assert(lua_istable(L,-1)); /* just in case */
1640 lua_pushvalue(L,substack_start+2); /* key */
1641 lua_rawget(L,-2); /* look for the fn */
1642 lua_remove(L,-2); /* stack tidy, remove .fn table */
1643 if (lua_isfunction(L,-1)) /* note: if its a C function or lua function */
1644 { /* found it so return the fn & let lua call it */
1645 lua_remove(L,-2); /* stack tidy, remove metatable */
1646 if(ret)
1647 *ret = 1;
1648 return SWIG_OK;
1649 }
1650 lua_pop(L,1); /* remove whatever was there */
1651 /* Remove the metatable */
1652 lua_pop(L,1);
1653 /* Search in base classes */
1654 bases_search_result = SWIG_Lua_iterate_bases(L,type,substack_start+1,SWIG_Lua_class_do_get,ret);
1655 return bases_search_result; /* sorry not known */
1656}
1657
1658/* the class.get method, performs the lookup of class attributes
1659 */
1661{
1662/* there should be 2 params passed in
1663 (1) userdata (not the meta table)
1664 (2) string name of the attribute
1665*/
1666 int result;
1667 swig_lua_userdata *usr;
1669 int ret = 0;
1670 assert(lua_isuserdata(L,1));
1671 usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1672 type = usr->type;
1673 result = SWIG_Lua_class_do_get(L,type,1,&ret);
1674 if(result == SWIG_OK)
1675 return ret;
1676
1677 result = SWIG_Lua_class_do_get_item(L,type,1,&ret);
1678 if(result == SWIG_OK)
1679 return ret;
1680
1681 return 0;
1682}
1683
1684/* helper for the class.set method, performs the lookup of class attributes
1685 * It returns error code. Number of function return values is passed inside 'ret'
1686 */
1687SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret)
1688{
1689/* there should be 3 params passed in
1690 (1) table (not the meta table)
1691 (2) string name of the attribute
1692 (3) any for the new value
1693 */
1694
1695 int bases_search_result;
1696 int substack_start = lua_gettop(L) - 3;
1697 lua_checkstack(L,5);
1698 assert(lua_isuserdata(L,substack_start+1)); /* just in case */
1699 lua_getmetatable(L,substack_start+1); /* get the meta table */
1700 assert(lua_istable(L,-1)); /* just in case */
1701 if(ret)
1702 *ret = 0; /* it is setter - number of return values is always 0 */
1703
1704 SWIG_Lua_get_table(L,".set"); /* find the .set table */
1705 if (lua_istable(L,-1))
1706 {
1707 /* look for the key in the .set table */
1708 lua_pushvalue(L,substack_start+2); /* key */
1709 lua_rawget(L,-2);
1710 lua_remove(L,-2); /* tidy stack, remove .set table */
1711 if (lua_iscfunction(L,-1))
1712 { /* found it so call the fn & return its value */
1713 lua_pushvalue(L,substack_start+1); /* userdata */
1714 lua_pushvalue(L,substack_start+3); /* value */
1715 lua_call(L,2,0);
1716 lua_remove(L,substack_start+4); /*remove metatable*/
1717 return SWIG_OK;
1718 }
1719 lua_pop(L,1); /* remove the value */
1720 } else {
1721 lua_pop(L,1); /* remove the answer for .set table request*/
1722 }
1723 /* NEW: looks for the __setitem() fn
1724 this is a user provided set fn */
1725 SWIG_Lua_get_table(L,"__setitem"); /* find the fn */
1726 if (lua_iscfunction(L,-1)) /* if its there */
1727 { /* found it so call the fn & return its value */
1728 lua_pushvalue(L,substack_start+1); /* the userdata */
1729 lua_pushvalue(L,substack_start+2); /* the parameter */
1730 lua_pushvalue(L,substack_start+3); /* the value */
1731 lua_call(L,3,0); /* 3 values in ,0 out */
1732 lua_remove(L,-2); /* stack tidy, remove metatable */
1733 return SWIG_OK;
1734 }
1735 lua_pop(L,1); /* remove value */
1736
1737 lua_pop(L,1); /* remove metatable */
1738 /* Search among bases */
1739 bases_search_result = SWIG_Lua_iterate_bases(L,type,first_arg,SWIG_Lua_class_do_set,ret);
1740 if(ret)
1741 assert(*ret == 0);
1742 assert(lua_gettop(L) == substack_start + 3);
1743 return bases_search_result;
1744}
1745
1746/* This is the actual method exported to Lua. It calls SWIG_Lua_class_do_set and correctly
1747 * handles return values.
1748 */
1750{
1751/* There should be 3 params passed in
1752 (1) table (not the meta table)
1753 (2) string name of the attribute
1754 (3) any for the new value
1755 */
1756 int ret = 0;
1757 int result;
1758 swig_lua_userdata *usr;
1760 assert(lua_isuserdata(L,1));
1761 usr=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1762 type = usr->type;
1763 result = SWIG_Lua_class_do_set(L,type,1,&ret);
1764 if(result != SWIG_OK) {
1765 SWIG_Lua_pushferrstring(L,"Assignment not possible. No setter/member with this name. For custom assignments implement __setitem method.");
1766 lua_error(L);
1767 } else {
1768 assert(ret==0);
1769 }
1770 return 0;
1771}
1772
1773/* the class.destruct method called by the interpreter */
1775{
1776/* there should be 1 params passed in
1777 (1) userdata (not the meta table) */
1778 swig_lua_userdata *usr;
1779 swig_lua_class *clss;
1780 assert(lua_isuserdata(L,-1)); /* just in case */
1781 usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1782 /* if must be destroyed & has a destructor */
1783 if (usr->own) /* if must be destroyed */
1784 {
1785 clss=(swig_lua_class*)usr->type->clientdata; /* get the class */
1786 if (clss && clss->destructor) /* there is a destroy fn */
1787 {
1788 clss->destructor(usr->ptr); /* bye bye */
1789 }
1790 }
1791 return 0;
1792}
1793
1794/* the class.__tostring method called by the interpreter and print */
1796{
1797/* there should be 1 param passed in
1798 (1) userdata (not the metatable) */
1799 swig_lua_userdata* userData;
1800 assert(lua_isuserdata(L,1)); /* just in case */
1801 userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address */
1802
1803 lua_pushfstring(L, "<userdata of type '%s' at %p>", userData->type->str, userData->ptr);
1804 return 1;
1805}
1806
1807/* to manually disown some userdata */
1809{
1810/* there should be 1 params passed in
1811 (1) userdata (not the meta table) */
1812 swig_lua_userdata *usr;
1813 assert(lua_isuserdata(L,-1)); /* just in case */
1814 usr=(swig_lua_userdata*)lua_touserdata(L,-1); /* get it */
1815
1816 usr->own = 0; /* clear our ownership */
1817 return 0;
1818}
1819
1820/* lua callable function to compare userdata's value
1821the issue is that two userdata may point to the same thing
1822but to lua, they are different objects */
1824{
1825 int result;
1826 swig_lua_userdata *usr1,*usr2;
1827 if (!lua_isuserdata(L,1) || !lua_isuserdata(L,2)) /* just in case */
1828 return 0; /* nil reply */
1829 usr1=(swig_lua_userdata*)lua_touserdata(L,1); /* get data */
1830 usr2=(swig_lua_userdata*)lua_touserdata(L,2); /* get data */
1831 /*result=(usr1->ptr==usr2->ptr && usr1->type==usr2->type); only works if type is the same*/
1832 result=(usr1->ptr==usr2->ptr);
1833 lua_pushboolean(L,result);
1834 return 1;
1835}
1836
1837/* populate table at the top of the stack with metamethods that ought to be inherited */
1839{
1840 SWIG_Lua_add_boolean(L, "__add", 1);
1841 SWIG_Lua_add_boolean(L, "__sub", 1);
1842 SWIG_Lua_add_boolean(L, "__mul", 1);
1843 SWIG_Lua_add_boolean(L, "__div", 1);
1844 SWIG_Lua_add_boolean(L, "__mod", 1);
1845 SWIG_Lua_add_boolean(L, "__pow", 1);
1846 SWIG_Lua_add_boolean(L, "__unm", 1);
1847 SWIG_Lua_add_boolean(L, "__len", 1 );
1848 SWIG_Lua_add_boolean(L, "__concat", 1 );
1849 SWIG_Lua_add_boolean(L, "__eq", 1);
1850 SWIG_Lua_add_boolean(L, "__lt", 1);
1851 SWIG_Lua_add_boolean(L, "__le", 1);
1852 SWIG_Lua_add_boolean(L, "__call", 1);
1853 SWIG_Lua_add_boolean(L, "__tostring", 1);
1854 SWIG_Lua_add_boolean(L, "__gc", 0);
1855}
1856
1857/* creates the swig registry */
1859{
1860 /* create main SWIG registry table */
1861 lua_pushstring(L,"SWIG");
1862 lua_newtable(L);
1863 /* populate it with some predefined data */
1864
1865 /* .library table. Placeholder */
1866 lua_pushstring(L,".library");
1867 lua_newtable(L);
1868 {
1869 /* list of metamethods that class inherits from its bases */
1870 lua_pushstring(L,"inheritable_metamethods");
1871 lua_newtable(L);
1872 /* populate with list of metamethods */
1874 lua_rawset(L,-3);
1875 }
1876 lua_rawset(L,-3);
1877
1878 lua_rawset(L,LUA_REGISTRYINDEX);
1879}
1880
1881/* gets the swig registry (or creates it) */
1883{
1884 /* add this all into the swig registry: */
1885 lua_pushstring(L,"SWIG");
1886 lua_rawget(L,LUA_REGISTRYINDEX); /* get the registry */
1887 if (!lua_istable(L,-1)) /* not there */
1888 { /* must be first time, so add it */
1889 lua_pop(L,1); /* remove the result */
1891 /* then get it */
1892 lua_pushstring(L,"SWIG");
1893 lua_rawget(L,LUA_REGISTRYINDEX);
1894 }
1895}
1896
1898{
1900 lua_pushstring(L, ".library");
1901 lua_rawget(L,-2);
1902 assert( !lua_isnil(L,-1) );
1903 lua_pushstring(L, "inheritable_metamethods");
1904 lua_rawget(L,-2);
1905
1906 /* Remove class registry and library table */
1907 lua_remove(L,-2);
1908 lua_remove(L,-2);
1909}
1910
1911/* Helper function to get the classes metatable from the register */
1912SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L,const char *cname)
1913{
1914 SWIG_Lua_get_class_registry(L); /* get the registry */
1915 lua_pushstring(L,cname); /* get the name */
1916 lua_rawget(L,-2); /* get it */
1917 lua_remove(L,-2); /* tidy up (remove registry) */
1918}
1919
1920/* Set up the base classes pointers.
1921Each class structure has a list of pointers to the base class structures.
1922This function fills them.
1923It cannot be done at compile time, as this will not work with hireachies
1924spread over more than one swig file.
1925Therefore it must be done at runtime, querying the SWIG type system.
1926*/
1928{
1929 int i=0;
1931 for(i=0;clss->base_names[i];i++)
1932 {
1933 if (clss->bases[i]==0) /* not found yet */
1934 {
1935 /* lookup and cache the base class */
1936 swig_type_info *info = SWIG_TypeQueryModule(module,module,clss->base_names[i]);
1937 if (info) clss->bases[i] = (swig_lua_class *) info->clientdata;
1938 }
1939 }
1940}
1941
1942#if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
1943/* Merges two tables */
1944SWIGINTERN void SWIG_Lua_merge_tables_by_index(lua_State *L, int target, int source)
1945{
1946 /* iterating */
1947 lua_pushnil(L);
1948 while (lua_next(L,source) != 0) {
1949 /* -1 - value, -2 - index */
1950 /* have to copy to assign */
1951 lua_pushvalue(L,-2); /* copy of index */
1952 lua_pushvalue(L,-2); /* copy of value */
1953 lua_rawset(L, target);
1954 lua_pop(L,1);
1955 /* only key is left */
1956 }
1957}
1958
1959/* Merges two tables with given name. original - index of target metatable, base - index of source metatable */
1960SWIGINTERN void SWIG_Lua_merge_tables(lua_State *L, const char* name, int original, int base)
1961{
1962 /* push original[name], then base[name] */
1963 lua_pushstring(L,name);
1964 lua_rawget(L,original);
1965 int original_table = lua_gettop(L);
1966 lua_pushstring(L,name);
1967 lua_rawget(L,base);
1968 int base_table = lua_gettop(L);
1969 SWIG_Lua_merge_tables_by_index(L, original_table, base_table);
1970 /* clearing stack */
1971 lua_pop(L,2);
1972}
1973
1974/* Function takes all symbols from base and adds it to derived class. It's just a helper. */
1975SWIGINTERN void SWIG_Lua_class_squash_base(lua_State *L, swig_lua_class *base_cls)
1976{
1977 /* There is one parameter - original, i.e. 'derived' class metatable */
1978 assert(lua_istable(L,-1));
1979 int original = lua_gettop(L);
1981 int base = lua_gettop(L);
1982 SWIG_Lua_merge_tables(L, ".fn", original, base );
1983 SWIG_Lua_merge_tables(L, ".set", original, base );
1984 SWIG_Lua_merge_tables(L, ".get", original, base );
1985 lua_pop(L,1);
1986}
1987
1988/* Function squashes all symbols from 'clss' bases into itself */
1989SWIGINTERN void SWIG_Lua_class_squash_bases(lua_State *L, swig_lua_class *clss)
1990{
1991 int i;
1993 for(i=0;clss->base_names[i];i++)
1994 {
1995 if (clss->bases[i]==0) /* Somehow it's not found. Skip it */
1996 continue;
1997 /* Thing is: all bases are already registered. Thus they have already executed
1998 * this function. So we just need to squash them into us, because their bases
1999 * are already squashed into them. No need for recursion here!
2000 */
2001 SWIG_Lua_class_squash_base(L, clss->bases[i]);
2002 }
2003 lua_pop(L,1); /*tidy stack*/
2004}
2005#endif
2006
2007#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA) /* In elua this is useless */
2008/* helper add a variable to a registered class */
2009SWIGINTERN void SWIG_Lua_add_variable(lua_State *L,const char *name,lua_CFunction getFn,lua_CFunction setFn)
2010{
2011 assert(lua_istable(L,-1)); /* just in case */
2012 SWIG_Lua_get_table(L,".get"); /* find the .get table */
2013 assert(lua_istable(L,-1)); /* just in case */
2014 SWIG_Lua_add_function(L,name,getFn);
2015 lua_pop(L,1); /* tidy stack (remove table) */
2016 if (setFn)
2017 {
2018 SWIG_Lua_get_table(L,".set"); /* find the .set table */
2019 assert(lua_istable(L,-1)); /* just in case */
2020 SWIG_Lua_add_function(L,name,setFn);
2021 lua_pop(L,1); /* tidy stack (remove table) */
2022 }
2023}
2024
2025/* helper to recursively add class static details (static attributes, operations and constants) */
2027{
2028 int i = 0;
2029 /* The class namespace table must be on the top of the stack */
2030 assert(lua_istable(L,-1));
2031 /* call all the base classes first: we can then override these later: */
2032 for(i=0;clss->bases[i];i++)
2033 {
2035 }
2036
2038}
2039
2040SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss); /* forward declaration */
2041
2042/* helper to recursively add class details (attributes & operations) */
2044{
2045 int i;
2046 size_t bases_count = 0;
2047 /* Add bases to .bases table */
2048 SWIG_Lua_get_table(L,".bases");
2049 assert(lua_istable(L,-1)); /* just in case */
2050 for(i=0;clss->bases[i];i++)
2051 {
2053 /* Base class must be already registered */
2054 assert(lua_istable(L,-1));
2055 lua_rawseti(L,-2,i+1); /* In lua indexing starts from 1 */
2056 bases_count++;
2057 }
2058 assert(lua_rawlen(L,-1) == bases_count);
2059 lua_pop(L,1); /* remove .bases table */
2060 /* add attributes */
2061 for(i=0;clss->attributes[i].name;i++){
2063 }
2064 /* add methods to the metatable */
2065 SWIG_Lua_get_table(L,".fn"); /* find the .fn table */
2066 assert(lua_istable(L,-1)); /* just in case */
2067 for(i=0;clss->methods[i].name;i++){
2068 SWIG_Lua_add_function(L,clss->methods[i].name,clss->methods[i].func);
2069 }
2070 lua_pop(L,1); /* tidy stack (remove table) */
2071 /* add operator overloads
2072 This adds methods from metatable array to metatable. Can mess up garbage
2073 collectind if someone defines __gc method
2074 */
2075 if(clss->metatable) {
2076 for(i=0;clss->metatable[i].name;i++) {
2077 SWIG_Lua_add_function(L,clss->metatable[i].name,clss->metatable[i].func);
2078 }
2079 }
2080
2081#if !defined(SWIG_LUA_SQUASH_BASES)
2082 /* Adding metamethods that are defined in base classes. If bases were squashed
2083 * then it is obviously unnecessary
2084 */
2086#endif
2087}
2088
2089/* Helpers to add user defined class metamedhods - __add, __sub etc. The helpers are needed
2090 for the following issue: Lua runtime checks for metamethod existence with rawget function
2091 ignoring our SWIG-provided __index and __newindex functions. Thus our inheritance-aware method
2092 search algorithm doesn't work in such case. (Not to say that Lua runtime queries metamethod directly
2093 in metatable and not in object).
2094 Current solution is this: if somewhere in hierarchy metamethod __x is defined, then all descendants
2095 are automatically given a special proxy __x that calls the real __x method.
2096 Obvious idea - to copy __x instead of creating __x-proxy is wrong because if someone changes __x in runtime,
2097 those changes must be reflected in all descendants.
2098*/
2099
2100SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L); /*forward declaration*/
2101
2102/* The real function that resolves a metamethod.
2103 * Function searches given class and all it's bases(recursively) for first instance of something that is
2104 * not equal to SWIG_Lua_resolve_metatmethod. (Almost always this 'something' is actual metamethod implementation
2105 * and it is a SWIG-generated C function.). It returns value on the top of the L and there is no garbage below the
2106 * answer.
2107 * Returns 1 if found, 0 otherwise.
2108 * clss is class which metatable we will search for method
2109 * metamethod_name_idx is index in L where metamethod name (as string) lies
2110 * skip_check allows to skip searching metamethod in givel clss and immideatelly go to searching in bases. skip_check
2111 * is not caried to subsequent recursive calls - false is always passed. It is set to true only at first call from
2112 * SWIG_Lua_resolve_metamethod
2113 * */
2114SWIGINTERN int SWIG_Lua_do_resolve_metamethod(lua_State *L, const swig_lua_class *clss, int metamethod_name_idx,
2115 int skip_check)
2116{
2117 /* This function is called recursively */
2118 int result = 0;
2119 int i = 0;
2120
2121 if (!skip_check) {
2123 lua_pushvalue(L, metamethod_name_idx);
2124 lua_rawget(L,-2);
2125 /* If this is cfunction and it is equal to SWIG_Lua_resolve_metamethod then
2126 * this isn't the function we are looking for :)
2127 * lua_tocfunction will return NULL if not cfunction
2128 */
2129 if (!lua_isnil(L,-1) && lua_tocfunction(L,-1) != SWIG_Lua_resolve_metamethod ) {
2130 lua_remove(L,-2); /* removing class metatable */
2131 return 1;
2132 }
2133 lua_pop(L,2); /* remove class metatable and query result */
2134 }
2135
2136 /* Forwarding calls to bases */
2137 for(i=0;clss->bases[i];i++)
2138 {
2139 result = SWIG_Lua_do_resolve_metamethod(L, clss->bases[i], metamethod_name_idx, 0);
2140 if (result)
2141 break;
2142 }
2143
2144 return result;
2145}
2146
2147/* The proxy function for metamethod. All parameters are passed as cclosure. Searches for actual method
2148 * and calls it */
2150{
2151 int numargs;
2152 int metamethod_name_idx;
2153 const swig_lua_class* clss;
2154 int result;
2155
2156 lua_checkstack(L,5);
2157 numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */
2158
2159 /* Get upvalues from closure */
2160 lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/
2161 metamethod_name_idx = lua_gettop(L);
2162
2163 lua_pushvalue(L, lua_upvalueindex(2));
2164 clss = (const swig_lua_class*)(lua_touserdata(L,-1));
2165 lua_pop(L,1); /* remove lightuserdata with clss from stack */
2166
2167 /* Actual work */
2168 result = SWIG_Lua_do_resolve_metamethod(L, clss, metamethod_name_idx, 1);
2169 if (!result) {
2170 SWIG_Lua_pushferrstring(L,"The metamethod proxy is set, but it failed to find actual metamethod. Memory corruption is most likely explanation.");
2171 lua_error(L);
2172 return 0;
2173 }
2174
2175 lua_remove(L,-2); /* remove metamethod key */
2176 lua_insert(L,1); /* move function to correct position */
2177 lua_call(L, numargs, LUA_MULTRET);
2178 return lua_gettop(L); /* return all results */
2179}
2180
2181
2182/* If given metamethod must be present in given class, then creates appropriate proxy
2183 * Returns 1 if successfully added, 0 if not added because no base class has it, -1
2184 * if method is defined in the class metatable itself
2185 */
2186SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
2187{
2188 int key_index;
2189 int success = 0;
2190 int i = 0;
2191
2192 /* metamethod name - on the top of the stack */
2193 assert(lua_isstring(L,-1));
2194
2195 key_index = lua_gettop(L);
2196
2197 /* Check whether method is already defined in metatable */
2198 lua_pushvalue(L,key_index); /* copy of the key */
2199 lua_gettable(L,metatable_index);
2200 if( !lua_isnil(L,-1) ) {
2201 lua_pop(L,1);
2202 return -1;
2203 }
2204 lua_pop(L,1);
2205
2206 /* Iterating over immediate bases */
2207 for(i=0;clss->bases[i];i++)
2208 {
2209 const swig_lua_class *base = clss->bases[i];
2211 lua_pushvalue(L, key_index);
2212 lua_rawget(L, -2);
2213 if( !lua_isnil(L,-1) ) {
2214 lua_pushvalue(L, key_index);
2215
2216 /* Add proxy function */
2217 lua_pushvalue(L, key_index); /* first closure value is function name */
2218 lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */
2219 lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2);
2220
2221 lua_rawset(L, metatable_index);
2222 success = 1;
2223 }
2224 lua_pop(L,1); /* remove function or nil */
2225 lua_pop(L,1); /* remove base class metatable */
2226
2227 if( success )
2228 break;
2229 }
2230
2231 return success;
2232}
2233
2235{
2236 int metatable_index;
2237 int metamethods_info_index;
2238 int tostring_undefined;
2239 int eq_undefined = 0;
2240
2242 metatable_index = lua_gettop(L);
2244 assert(lua_istable(L,-1));
2245 metamethods_info_index = lua_gettop(L);
2246 lua_pushnil(L); /* first key */
2247 while(lua_next(L, metamethods_info_index) != 0 ) {
2248 /* key at index -2, value at index -1 */
2249 const int is_inheritable = lua_toboolean(L,-2);
2250 lua_pop(L,1); /* remove value - we don't need it anymore */
2251
2252 if(is_inheritable) { /* if metamethod is inheritable */
2253 SWIG_Lua_add_class_user_metamethod(L,clss,metatable_index);
2254 }
2255 }
2256
2257 lua_pop(L,1); /* remove inheritable metatmethods table */
2258
2259 /* Special handling for __tostring method */
2260 lua_pushstring(L, "__tostring");
2261 lua_pushvalue(L,-1);
2262 lua_rawget(L,metatable_index);
2263 tostring_undefined = lua_isnil(L,-1);
2264 lua_pop(L,1);
2265 if( tostring_undefined ) {
2266 lua_pushcfunction(L, SWIG_Lua_class_tostring);
2267 lua_rawset(L, metatable_index);
2268 } else {
2269 lua_pop(L,1); /* remove copy of the key */
2270 }
2271
2272 /* Special handling for __eq method */
2273 lua_pushstring(L, "__eq");
2274 lua_pushvalue(L,-1);
2275 lua_rawget(L,metatable_index);
2276 eq_undefined = lua_isnil(L,-1);
2277 lua_pop(L,1);
2278 if( eq_undefined ) {
2279 lua_pushcfunction(L, SWIG_Lua_class_equal);
2280 lua_rawset(L, metatable_index);
2281 } else {
2282 lua_pop(L,1); /* remove copy of the key */
2283 }
2284 /* Warning: __index and __newindex are SWIG-defined. For user-defined operator[]
2285 * a __getitem/__setitem method should be defined
2286 */
2287 lua_pop(L,1); /* pop class metatable */
2288}
2289
2290/* Register class static methods,attributes etc as well as constructor proxy */
2292{
2293 const int SWIGUNUSED begin = lua_gettop(L);
2294 lua_checkstack(L,5); /* just in case */
2295 assert(lua_istable(L,-1)); /* just in case */
2296 assert(strcmp(clss->name, clss->cls_static->name) == 0); /* in class those 2 must be equal */
2297
2299
2300 assert(lua_istable(L,-1)); /* just in case */
2301
2302 /* add its constructor to module with the name of the class
2303 so you can do MyClass(...) as well as new_MyClass(...)
2304 BUT only if a constructor is defined
2305 (this overcomes the problem of pure virtual classes without constructors)*/
2306 if (clss->constructor)
2307 {
2308 lua_getmetatable(L,-1);
2309 assert(lua_istable(L,-1)); /* just in case */
2310 SWIG_Lua_add_function(L,"__call", clss->constructor);
2311 lua_pop(L,1);
2312 }
2313
2314 assert(lua_istable(L,-1)); /* just in case */
2316
2317 /* clear stack */
2318 lua_pop(L,1);
2319 assert( lua_gettop(L) == begin );
2320}
2321
2322/* Performs the instance (non-static) class registration process. Metatable for class is created
2323 * and added to the class registry.
2324 */
2326{
2327 const int SWIGUNUSED begin = lua_gettop(L);
2328 int i;
2329 /* if name already there (class is already registered) then do nothing */
2330 SWIG_Lua_get_class_registry(L); /* get the registry */
2331 lua_pushstring(L,clss->fqname); /* get the name */
2332 lua_rawget(L,-2);
2333 if(!lua_isnil(L,-1)) {
2334 lua_pop(L,2);
2335 assert(lua_gettop(L)==begin);
2336 return;
2337 }
2338 lua_pop(L,2); /* tidy stack */
2339 /* Recursively initialize all bases */
2340 for(i=0;clss->bases[i];i++)
2341 {
2343 }
2344 /* Again, get registry and push name */
2345 SWIG_Lua_get_class_registry(L); /* get the registry */
2346 lua_pushstring(L,clss->fqname); /* get the name */
2347 lua_newtable(L); /* create the metatable */
2348#if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2349 /* If squashing is requested, then merges all bases metatable into this one.
2350 * It would get us all special methods: __getitem, __add etc.
2351 * This would set .fn, .type, and other .xxx incorrectly, but we will overwrite it right away
2352 */
2353 {
2354 int new_metatable_index = lua_absindex(L,-1);
2355 for(i=0;clss->bases[i];i++)
2356 {
2357 int base_metatable;
2359 base_metatable = lua_absindex(L,-1);
2360 SWIG_Lua_merge_tables_by_index(L,new_metatable_index, base_metatable);
2361 lua_pop(L,1);
2362 }
2363 }
2364 /* And now we will overwrite all incorrectly set data */
2365#endif
2366 /* add string of class name called ".type" */
2367 lua_pushstring(L,".type");
2368 lua_pushstring(L,clss->fqname);
2369 lua_rawset(L,-3);
2370 /* add a table called bases */
2371 lua_pushstring(L,".bases");
2372 lua_newtable(L);
2373 lua_rawset(L,-3);
2374 /* add a table called ".get" */
2375 lua_pushstring(L,".get");
2376 lua_newtable(L);
2377 lua_rawset(L,-3);
2378 /* add a table called ".set" */
2379 lua_pushstring(L,".set");
2380 lua_newtable(L);
2381 lua_rawset(L,-3);
2382 /* add a table called ".fn" */
2383 lua_pushstring(L,".fn");
2384 lua_newtable(L);
2385 /* add manual disown method */
2387 lua_rawset(L,-3);
2388 /* add accessor fns for using the .get,.set&.fn */
2392 /* add it */
2393 lua_rawset(L,-3); /* metatable into registry */
2394 lua_pop(L,1); /* tidy stack (remove registry) */
2395 assert(lua_gettop(L) == begin);
2396
2397#if defined(SWIG_LUA_SQUASH_BASES) && (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
2398 /* Now merge all symbols from .fn, .set, .get etc from bases to our tables */
2399 SWIG_Lua_class_squash_bases(L,clss);
2400#endif
2402 SWIG_Lua_add_class_instance_details(L,clss); /* recursive adding of details (atts & ops) */
2403 lua_pop(L,1); /* tidy stack (remove class metatable) */
2404 assert( lua_gettop(L) == begin );
2405}
2406
2408{
2409 int SWIGUNUSED begin;
2410 assert(lua_istable(L,-1)); /* This is a table (module or namespace) where classes will be added */
2413
2414 /* Add links from static part to instance part and vice versa */
2415 /* [SWIG registry] [Module]
2416 * "MyClass" ----> [MyClass metatable] <===== "MyClass" -+> [static part]
2417 * ".get" ----> ... | | getmetatable()----|
2418 * ".set" ----> ... | | |
2419 * ".static" --------------)----------------/ [static part metatable]
2420 * | ".get" --> ...
2421 * | ".set" --> ....
2422 * |=============================== ".instance"
2423 */
2424 begin = lua_gettop(L);
2425 lua_pushstring(L,clss->cls_static->name);
2426 lua_rawget(L,-2); /* get class static table */
2427 assert(lua_istable(L,-1));
2428 lua_getmetatable(L,-1);
2429 assert(lua_istable(L,-1)); /* get class static metatable */
2430 lua_pushstring(L,".instance"); /* prepare key */
2431
2432 SWIG_Lua_get_class_metatable(L,clss->fqname); /* get class metatable */
2433 assert(lua_istable(L,-1));
2434 lua_pushstring(L,".static"); /* prepare key */
2435 lua_pushvalue(L, -4); /* push static class TABLE */
2436 assert(lua_istable(L,-1));
2437 lua_rawset(L,-3); /* assign static class table(!NOT metatable) as ".static" member of class metatable */
2438 lua_rawset(L,-3); /* assign class metatable as ".instance" member of class static METATABLE */
2439 lua_pop(L,2);
2440 assert(lua_gettop(L) == begin);
2441}
2442#endif /* SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA */
2443
2444#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
2445SWIGINTERN void SWIG_Lua_elua_class_register_instance(lua_State *L, swig_lua_class *clss)
2446{
2447 const int SWIGUNUSED begin = lua_gettop(L);
2448 int i;
2449 /* if name already there (class is already registered) then do nothing */
2450 SWIG_Lua_get_class_registry(L); /* get the registry */
2451 lua_pushstring(L,clss->fqname); /* get the name */
2452 lua_rawget(L,-2);
2453 if(!lua_isnil(L,-1)) {
2454 lua_pop(L,2);
2455 assert(lua_gettop(L)==begin);
2456 return;
2457 }
2458 lua_pop(L,2); /* tidy stack */
2459 /* Recursively initialize all bases */
2460 for(i=0;clss->bases[i];i++)
2461 {
2462 SWIG_Lua_elua_class_register_instance(L,clss->bases[i]);
2463 }
2464 /* Again, get registry and push name */
2465 SWIG_Lua_get_class_registry(L); /* get the registry */
2466 lua_pushstring(L,clss->fqname); /* get the name */
2467 assert(clss->metatable);
2468 lua_pushrotable(L, (void*)(clss->metatable)); /* create the metatable */
2469 lua_rawset(L,-3);
2470 lua_pop(L,1);
2471 assert(lua_gettop(L) == begin);
2472}
2473#endif /* elua && eluac */
2474
2475/* -----------------------------------------------------------------------------
2476 * Class/structure conversion fns
2477 * ----------------------------------------------------------------------------- */
2478
2479/* helper to add metatable to new lua object */
2481{
2482 if (type->clientdata) /* there is clientdata: so add the metatable */
2483 {
2484 SWIG_Lua_get_class_metatable(L,((swig_lua_class*)(type->clientdata))->fqname);
2485 if (lua_istable(L,-1))
2486 {
2487 lua_setmetatable(L,-2);
2488 }
2489 else
2490 {
2491 lua_pop(L,1);
2492 }
2493 }
2494}
2495
2496/* pushes a new object into the lua stack */
2497SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L,void *ptr,swig_type_info *type, int own)
2498{
2499 swig_lua_userdata *usr;
2500 if (!ptr){
2501 lua_pushnil(L);
2502 return;
2503 }
2504 usr=(swig_lua_userdata*)lua_newuserdata(L,sizeof(swig_lua_userdata)); /* get data */
2505 usr->ptr=ptr; /* set the ptr */
2506 usr->type=type;
2507 usr->own=own;
2508#if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
2509 SWIG_Lua_AddMetatable(L,type); /* add metatable */
2510#endif
2511}
2512
2513/* takes a object from the lua stack & converts it into an object of the correct type
2514 (if possible) */
2515SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type_info *type,int flags)
2516{
2517 swig_lua_userdata *usr;
2518 swig_cast_info *cast;
2519 /* special case: lua nil => NULL pointer */
2520 if (lua_isnil(L,index))
2521 {
2522 *ptr=0;
2524 }
2525 if (lua_islightuserdata(L,index))
2526 {
2527 *ptr=lua_touserdata(L,index);
2529 }
2530 usr=(swig_lua_userdata*)lua_touserdata(L,index); /* get data */
2531 if (usr)
2532 {
2533 if (flags & SWIG_POINTER_DISOWN) /* must disown the object */
2534 {
2535 usr->own=0;
2536 }
2537 if (!type) /* special cast void*, no casting fn */
2538 {
2539 *ptr=usr->ptr;
2540 return SWIG_OK; /* ok */
2541 }
2542 cast=SWIG_TypeCheckStruct(usr->type,type); /* performs normal type checking */
2543 if (cast)
2544 {
2545 int newmemory = 0;
2546 *ptr=SWIG_TypeCast(cast,usr->ptr,&newmemory);
2547 assert(!newmemory); /* newmemory handling not yet implemented */
2548 return SWIG_OK; /* ok */
2549 }
2550 }
2551 return SWIG_ERROR; /* error */
2552}
2553
2554SWIGRUNTIME void* SWIG_Lua_MustGetPtr(lua_State *L,int index,swig_type_info *type,int flags,
2555 int argnum,const char *func_name){
2556 void *result;
2557 if (!SWIG_IsOK(SWIG_ConvertPtr(L,index,&result,type,flags))){
2558 luaL_error (L,"Error in %s, expected a %s at argument number %d\n",
2559 func_name,(type && type->str)?type->str:"void*",argnum);
2560 }
2561 return result;
2562}
2563
2564/* pushes a packed userdata. user for member fn pointers only */
2565SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_type_info *type)
2566{
2567 swig_lua_rawdata *raw;
2568 assert(ptr); /* not acceptable to pass in a NULL value */
2569 raw=(swig_lua_rawdata*)lua_newuserdata(L,sizeof(swig_lua_rawdata)-1+size); /* alloc data */
2570 raw->type=type;
2571 raw->own=0;
2572 memcpy(raw->data,ptr,size); /* copy the data */
2573 SWIG_Lua_AddMetatable(L,type); /* add metatable */
2574}
2575
2576/* converts a packed userdata. user for member fn pointers only */
2577SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type)
2578{
2579 swig_lua_rawdata *raw;
2580 raw=(swig_lua_rawdata*)lua_touserdata(L,index); /* get data */
2581 if (!raw) return SWIG_ERROR; /* error */
2582 if (type==0 || type==raw->type) /* void* or identical type */
2583 {
2584 memcpy(ptr,raw->data,size); /* copy it */
2585 return SWIG_OK; /* ok */
2586 }
2587 return SWIG_ERROR; /* error */
2588}
2589
2590/* a function to get the typestring of a piece of data */
2591SWIGRUNTIME const char *SWIG_Lua_typename(lua_State *L, int tp)
2592{
2593 swig_lua_userdata *usr;
2594 if (lua_isuserdata(L,tp))
2595 {
2596 usr=(swig_lua_userdata*)lua_touserdata(L,tp); /* get data */
2597 if (usr && usr->type && usr->type->str)
2598 return usr->type->str;
2599 return "userdata (unknown type)";
2600 }
2601 return lua_typename(L,lua_type(L,tp));
2602}
2603
2604/* lua callable function to get the userdata's type */
2606{
2607 lua_pushstring(L,SWIG_Lua_typename(L,1));
2608 return 1;
2609}
2610
2611/* -----------------------------------------------------------------------------
2612 * global variable support code: class/struct typemap functions
2613 * ----------------------------------------------------------------------------- */
2614
2615#if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC))
2616/* Install Constants */
2617SWIGINTERN void
2619 int i;
2620 for (i = 0; constants[i].type; i++) {
2621 switch(constants[i].type) {
2622 case SWIG_LUA_INT:
2623 lua_pushstring(L,constants[i].name);
2624 lua_pushinteger(L,(lua_Integer)constants[i].lvalue);
2625 lua_rawset(L,-3);
2626 break;
2627 case SWIG_LUA_FLOAT:
2628 lua_pushstring(L,constants[i].name);
2629 lua_pushnumber(L,(lua_Number)constants[i].dvalue);
2630 lua_rawset(L,-3);
2631 break;
2632 case SWIG_LUA_CHAR:
2633 lua_pushstring(L,constants[i].name);
2634 {
2635 char c = (char)constants[i].lvalue;
2636 lua_pushlstring(L,&c,1);
2637 }
2638 lua_rawset(L,-3);
2639 break;
2640 case SWIG_LUA_STRING:
2641 lua_pushstring(L,constants[i].name);
2642 lua_pushstring(L,(char *) constants[i].pvalue);
2643 lua_rawset(L,-3);
2644 break;
2645 case SWIG_LUA_POINTER:
2646 lua_pushstring(L,constants[i].name);
2647 SWIG_NewPointerObj(L,constants[i].pvalue, *(constants[i]).ptype,0);
2648 lua_rawset(L,-3);
2649 break;
2650 case SWIG_LUA_BINARY:
2651 lua_pushstring(L,constants[i].name);
2652 SWIG_NewMemberObj(L,constants[i].pvalue,constants[i].lvalue,*(constants[i]).ptype);
2653 lua_rawset(L,-3);
2654 break;
2655 default:
2656 break;
2657 }
2658 }
2659}
2660#endif
2661
2662/* -----------------------------------------------------------------------------
2663 * executing lua code from within the wrapper
2664 * ----------------------------------------------------------------------------- */
2665
2666#ifndef SWIG_DOSTRING_FAIL /* Allows redefining of error function */
2667#define SWIG_DOSTRING_FAIL(S) fprintf(stderr,"%s\n",S)
2668#endif
2669/* Executes a C string in Lua which is a really simple way of calling lua from C
2670Unfortunately lua keeps changing its APIs, so we need a conditional compile
2671In lua 5.0.X it's lua_dostring()
2672In lua 5.1.X it's luaL_dostring()
2673*/
2674SWIGINTERN int
2675SWIG_Lua_dostring(lua_State *L, const char *str) {
2676 int ok,top;
2677 if (str==0 || str[0]==0) return 0; /* nothing to do */
2678 top=lua_gettop(L); /* save stack */
2679#if (defined(LUA_VERSION_NUM) && (LUA_VERSION_NUM>=501))
2680 ok=luaL_dostring(L,str); /* looks like this is lua 5.1.X or later, good */
2681#else
2682 ok=lua_dostring(L,str); /* might be lua 5.0.x, using lua_dostring */
2683#endif
2684 if (ok!=0) {
2685 SWIG_DOSTRING_FAIL(lua_tostring(L,-1));
2686 }
2687 lua_settop(L,top); /* restore the stack */
2688 return ok;
2689}
2690
2691#ifdef __cplusplus
2692}
2693#endif
2694
2695/* ------------------------------ end luarun.swg ------------------------------ */
2696
2697
2698/* -------- TYPES TABLE (BEGIN) -------- */
2699
2700#define SWIGTYPE_p_LUA_EVENT swig_types[0]
2701#define SWIGTYPE_p_LUA_FUNCTION swig_types[1]
2702#define SWIGTYPE_p_LUA_METHOD swig_types[2]
2703#define SWIGTYPE_p_align_t swig_types[3]
2704#define SWIGTYPE_p_cvar_t swig_types[4]
2705#define SWIGTYPE_p_invDef_t swig_types[5]
2706#define SWIGTYPE_p_itemFilterTypes_t swig_types[6]
2707#define SWIGTYPE_p_layoutAlign_t swig_types[7]
2708#define SWIGTYPE_p_linkedList_t swig_types[8]
2709#define SWIGTYPE_p_longlines_t swig_types[9]
2710#define SWIGTYPE_p_panelLayout_t swig_types[10]
2711#define SWIGTYPE_p_uiAbstractOptionNode_t swig_types[11]
2712#define SWIGTYPE_p_uiAbstractScrollableNode_t swig_types[12]
2713#define SWIGTYPE_p_uiAbstractScrollbarNode_t swig_types[13]
2714#define SWIGTYPE_p_uiAbstractValueNode_t swig_types[14]
2715#define SWIGTYPE_p_uiBarNode_t swig_types[15]
2716#define SWIGTYPE_p_uiBaseInventoryNode_t swig_types[16]
2717#define SWIGTYPE_p_uiBaseLayoutNode_t swig_types[17]
2718#define SWIGTYPE_p_uiButtonNode_t swig_types[18]
2719#define SWIGTYPE_p_uiCheckBoxNode_t swig_types[19]
2720#define SWIGTYPE_p_uiConFuncNode_t swig_types[20]
2721#define SWIGTYPE_p_uiContainerNode_t swig_types[21]
2722#define SWIGTYPE_p_uiDataNode_t swig_types[22]
2723#define SWIGTYPE_p_uiGeoscapeNode_t swig_types[23]
2724#define SWIGTYPE_p_uiImageNode_t swig_types[24]
2725#define SWIGTYPE_p_uiItemNode_t swig_types[25]
2726#define SWIGTYPE_p_uiLineChartNode_t swig_types[26]
2727#define SWIGTYPE_p_uiMessageListNode_t swig_types[27]
2728#define SWIGTYPE_p_uiModelNode_t swig_types[28]
2729#define SWIGTYPE_p_uiNode_t swig_types[29]
2730#define SWIGTYPE_p_uiOptionListNode_t swig_types[30]
2731#define SWIGTYPE_p_uiOptionNode_t swig_types[31]
2732#define SWIGTYPE_p_uiOptionTreeNode_t swig_types[32]
2733#define SWIGTYPE_p_uiPanelNode_t swig_types[33]
2734#define SWIGTYPE_p_uiRadarNode_t swig_types[34]
2735#define SWIGTYPE_p_uiRadioButtonNode_t swig_types[35]
2736#define SWIGTYPE_p_uiRowsNode_t swig_types[36]
2737#define SWIGTYPE_p_uiSelectBoxNode_t swig_types[37]
2738#define SWIGTYPE_p_uiSequenceNode_t swig_types[38]
2739#define SWIGTYPE_p_uiSpinnerNode_t swig_types[39]
2740#define SWIGTYPE_p_uiStringNode_t swig_types[40]
2741#define SWIGTYPE_p_uiTBarNode_t swig_types[41]
2742#define SWIGTYPE_p_uiTabNode_t swig_types[42]
2743#define SWIGTYPE_p_uiText2Node_t swig_types[43]
2744#define SWIGTYPE_p_uiTextEntryNode_t swig_types[44]
2745#define SWIGTYPE_p_uiTextListNode_t swig_types[45]
2746#define SWIGTYPE_p_uiTextNode_t swig_types[46]
2747#define SWIGTYPE_p_uiTextureNode_t swig_types[47]
2748#define SWIGTYPE_p_uiTimerNode_t swig_types[48]
2749#define SWIGTYPE_p_uiVScrollBarNode_t swig_types[49]
2750#define SWIGTYPE_p_uiVideoNode_t swig_types[50]
2751#define SWIGTYPE_p_uiWidgetNode_t swig_types[51]
2752#define SWIGTYPE_p_uiWindowNode_t swig_types[52]
2753#define SWIGTYPE_p_uiZoneNode_t swig_types[53]
2754#define SWIGTYPE_p_vec2_struct_t swig_types[54]
2755#define SWIGTYPE_p_vec3_struct_t swig_types[55]
2757static swig_module_info swig_module = {swig_types, 56, 0, 0, 0, 0};
2758#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2759#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2760
2761/* -------- TYPES TABLE (END) -------- */
2762
2763#define SWIG_name "ufo"
2764#define SWIG_init luaopen_ufo
2765#define SWIG_init_user luaopen_ufo_user
2766
2767#define SWIG_LUACODE luaopen_ufo_luacode
2768
2769namespace swig {
2770typedef struct{} LANGUAGE_OBJ;
2771}
2772
2773
2774/* Control GCC warnings (this is generated code) */
2775#pragma GCC diagnostic ignored "-Wcast-qual"
2776#pragma GCC diagnostic ignored "-Wformat-security"
2777
2778/* common client stuff */
2779#include "../../../shared/shared.h"
2780#include "../../../shared/vector.h"
2782#include "../../../common/cvar.h"
2785
2786#include "../../cl_renderer.h"
2787#include "../../cl_inventory.h"
2788
2789/* ui specific stuff */
2790#include "../ui_behaviour.h"
2791#include "../ui_data.h"
2792#include "../ui_dataids.h"
2793#include "../ui_node.h"
2794#include "../ui_nodes.h"
2795#include "../ui_main.h"
2796#include "../ui_sprite.h"
2797
2803
2804#include "../node/ui_node_bar.h"
2805#include "../node/ui_node_base.h"
2808#include "../node/ui_node_button.h"
2812#include "../node/ui_node_data.h"
2814#include "../node/ui_node_image.h"
2815#include "../node/ui_node_item.h"
2818#include "../node/ui_node_model.h"
2819#include "../node/ui_node_option.h"
2822#include "../node/ui_node_panel.h"
2823#include "../node/ui_node_radar.h"
2825#include "../node/ui_node_rows.h"
2830#include "../node/ui_node_string.h"
2831#include "../node/ui_node_tab.h"
2832#include "../node/ui_node_tbar.h"
2833#include "../node/ui_node_text.h"
2834#include "../node/ui_node_text2.h"
2838#include "../node/ui_node_timer.h"
2839#include "../node/ui_node_video.h"
2841#include "../node/ui_node_window.h"
2842#include "../node/ui_node_zone.h"
2843
2844#include "../ui_lua.h"
2845
2846/* other game stuff */
2848
2857
2893typedef uiNode_t uiWidgetNode_t; /* note: ufo class = "controls" */
2896
2897// skipped: uiFuncNode, uiNullNode
2898
2903void* UI_SWIG_TypeQuery (const char* name)
2904{
2906 if (!info) {
2907 info = SWIG_TypeQuery("uiNode_t *");
2908 }
2909 return info;
2910}
2911
2915const char* UI_SWIG_NodeTypeName (void* node)
2916{
2917 swig_type_info* info = (swig_type_info*)((uiNode_t*)node)->behaviour->lua_SWIG_typeinfo;
2918 return info->str;
2919}
2920
2921
2922SWIGINTERN char *cvar_t_name(cvar_t *self){ return self->name; }
2923SWIGINTERN char *cvar_t_as_string(cvar_t *self){ return self->string; }
2924SWIGINTERN float cvar_t_as_float(cvar_t *self){ return self->value; }
2925SWIGINTERN int cvar_t_as_integer(cvar_t *self){ return self->integer; }
2926SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self,float number){ Cvar_SetValue(self->name, number); }
2927
2928SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx) {
2929 int ret = lua_isstring(L, idx);
2930 if (!ret)
2931 ret = lua_isnil(L, idx);
2932 return ret;
2933}
2934
2935SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self,char const *text){ Cvar_Set(self->name, "%s", text); }
2936SWIGINTERN char *invDef_t_name(invDef_t *self){ return self->name; }
2945SWIGINTERN float uiNode_t_left(uiNode_t *self){ return self->box.pos[0]; }
2946SWIGINTERN float uiNode_t_top(uiNode_t *self){ return self->box.pos[1]; }
2947SWIGINTERN float uiNode_t_width(uiNode_t *self){ return self->box.size[0]; }
2948SWIGINTERN float uiNode_t_height(uiNode_t *self){ return self->box.size[1]; }
2950SWIGINTERN char const *uiNode_t_name(uiNode_t *self){ return self->name; }
2951SWIGINTERN char const *uiNode_t_type(uiNode_t *self){ return self->behaviour->name; }
2952SWIGINTERN char const *uiNode_t_text(uiNode_t *self){ return UI_Node_GetText(self); }
2953SWIGINTERN char const *uiNode_t_font(uiNode_t *self){ return self->font; }
2954SWIGINTERN char const *uiNode_t_image(uiNode_t *self){ return self->image; }
2958SWIGINTERN int uiNode_t_padding(uiNode_t *self){ return self->padding; }
2964SWIGINTERN uiNode_t *uiNode_t_child(uiNode_t *self,char const *name){ return UI_GetNode(self, name); }
2965SWIGINTERN uiNode_t *uiNode_t_find(uiNode_t *self,char const *name){ return UI_FindNode(self, name); }
2967SWIGINTERN void uiNode_t_insert_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_InsertNode(self, prev, node); }
2968SWIGINTERN void uiNode_t_move_node(uiNode_t *self,uiNode_t *node,uiNode_t *prev){ UI_MoveNode(self, prev, node); }
2971SWIGINTERN void uiNode_t_set_left(uiNode_t *self,float value){ UI_NodeSetBox(self, value, -1, -1, -1); }
2972SWIGINTERN void uiNode_t_set_top(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, value, -1, -1); }
2973SWIGINTERN void uiNode_t_set_width(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, value, -1); }
2974SWIGINTERN void uiNode_t_set_height(uiNode_t *self,float value){ UI_NodeSetBox(self, -1, -1, -1, value); }
2975SWIGINTERN void uiNode_t_set_box(uiNode_t *self,float left,float top,float width,float height){ UI_NodeSetBox(self, left, top, width, height); }
2976SWIGINTERN void uiNode_t_set_flashing(uiNode_t *self,bool value){ self->flash = value; }
2977SWIGINTERN void uiNode_t_set_flashspeed(uiNode_t *self,float value){ self->flashSpeed = value; }
2978SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self,bool value){ self->invis = value; }
2979SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self,bool value){ self->ghost = value; }
2980SWIGINTERN void uiNode_t_set_pos(uiNode_t *self,float x,float y){ UI_NodeSetPos(self, x, y); }
2981SWIGINTERN void uiNode_t_set_size(uiNode_t *self,float w,float h){ UI_NodeSetSize(self, w, h); }
2982SWIGINTERN void uiNode_t_set_color(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->color, r, g, b, a); }
2983SWIGINTERN void uiNode_t_set_disabledcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->disabledColor, r, g, b, a); }
2984SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->flashColor, r, g, b, a); }
2985SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->selectedColor, r, g, b, a); }
2986SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bgcolor, r, g, b, a); }
2988SWIGINTERN void uiNode_t_set_bordercolor(uiNode_t *self,float r,float g,float b,float a){ Vector4Set(self->bordercolor, r, g, b, a); }
2989SWIGINTERN void uiNode_t_set_text(uiNode_t *self,char const *text){ UI_Node_SetText(self, text); }
2992SWIGINTERN void uiNode_t_set_contentalign(uiNode_t *self,int value){ self->contentAlign = value; }
2993SWIGINTERN void uiNode_t_set_layoutalign(uiNode_t *self,int value){ self->align = value; }
2994SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self,char const *text){ UI_Node_SetTooltip(self, text); }
2995SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self,bool value){ UI_Node_SetDisabled(self, value); }
2996SWIGINTERN void uiNode_t_set_borderthickness(uiNode_t *self,int value){ self->border = value; }
2997SWIGINTERN void uiNode_t_set_padding(uiNode_t *self,int value){ self->padding = value; }
2998SWIGINTERN void uiNode_t___setitem(uiNode_t *self,char const *name,LUA_METHOD fcn){ UI_Node_SetItem(self, name, fcn); }
3016
3023
3036
3043
3073SWIGINTERN void uiBarNode_t_set_direction(uiBarNode_t *self,int value){ UI_EXTRADATA(self, barExtraData_t).orientation = (align_t)value; }
3074SWIGINTERN void uiBarNode_t_set_readonly(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).readOnly = value; }
3075SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self,bool value){ UI_EXTRADATA(self, barExtraData_t).noHover = value; }
3090
3095 UI_EXTRADATA(node, containerExtraData_t).lua_onSelect = fn;
3096}
3097
3120
3125
3130
3131SWIGINTERN char *uiDataNode_t_as_string(uiDataNode_t *self){ return const_cast<char*>(UI_Node_GetText(self)); }
3134SWIGINTERN void uiDataNode_t_set_value__SWIG_0(uiDataNode_t *self,char const *value){ UI_Node_SetText(self, value); }
3136SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self,float value){ UI_EXTRADATA(self, dataExtraData_t).number = value; }
3139SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self){ dynamic_cast<uiGeoscapeNode*>(self->behaviour->manager.get())->zoom(self, false); }
3145SWIGINTERN void uiImageNode_t_set_keepratio(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).preventRatio = value; }
3146SWIGINTERN void uiImageNode_t_set_mousefx(uiImageNode_t *self,bool value){ UI_EXTRADATA(self, imageExtraData_t).mousefx = value; }
3148SWIGINTERN void uiImageNode_t_set_texh(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texh, v1, v2); }
3149SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, imageExtraData_t).texl, v1, v2); }
3152SWIGINTERN 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); }
3154SWIGINTERN void uiLineChartNode_t_add_line(uiLineChartNode_t *self,char const *id,bool visible,float r,float g,float b,float a,bool dots,int num_points){
3155 float color[] = {r, g, b, a};
3156 UI_AddLineChartLine(self, id, visible, color, dots, num_points);
3157 }
3158SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self,char const *id,int x,int y){ UI_AddLineChartCoord(self, id, x, y); }
3165SWIGINTERN char *uiModelNode_t_model(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).model); }
3166SWIGINTERN char *uiModelNode_t_skin(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).skin); }
3167SWIGINTERN char *uiModelNode_t_animation(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).animation); }
3168SWIGINTERN char *uiModelNode_t_tag(uiModelNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, modelExtraData_t).tag); }
3169SWIGINTERN void uiModelNode_t_set_autoscale(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).autoscale = value; }
3170SWIGINTERN void uiModelNode_t_set_mouserotate(uiModelNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).rotateWithMouse = value; }
3171SWIGINTERN void uiModelNode_t_set_angles(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).angles, a1, a2, a3); }
3172SWIGINTERN void uiModelNode_t_set_origin(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).origin, a1, a2, a3); }
3173SWIGINTERN void uiModelNode_t_set_omega(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).omega, a1, a2, a3); }
3174SWIGINTERN void uiModelNode_t_set_scale(uiModelNode_t *self,float a1,float a2,float a3){ VectorSet(UI_EXTRADATA(self, modelExtraData_t).scale, a1, a2, a3); }
3180SWIGINTERN void uiItemNode_t_set_containerlike(uiItemNode_t *self,bool value){ UI_EXTRADATA(self, modelExtraData_t).containerLike = value; }
3187SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self,char const *text){ UI_Option_SetLabel (self, text); }
3188SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self,char const *text){ UI_Option_SetValue (self, text); }
3199SWIGINTERN void uiPanelNode_t_set_layoutmargin(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutMargin = value; }
3200SWIGINTERN void uiPanelNode_t_set_layoutcolumns(uiPanelNode_t *self,int value){ UI_EXTRADATA(self, panelExtraData_t).layoutColumns = value; }
3201SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self,bool value){ UI_EXTRADATA(self, panelExtraData_t).wheelScrollable = value; }
3215SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).current = value; }
3216SWIGINTERN void uiRowsNode_t_set_lineheight(uiRowsNode_t *self,int value){ UI_EXTRADATA(self, rowsExtraData_t).lineHeight = value; }
3219
3221{
3222 return UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd;
3223}
3224
3226{
3227 UI_EXTRADATA(node, sequenceExtraData_t).lua_onEnd = fn;
3228}
3229
3244SWIGINTERN void uiTBarNode_t_set_texh(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texh, v1, v2); }
3245SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self,float v1,float v2){ Vector2Set(UI_EXTRADATA(self, tbarExtraData_t).texl, v1, v2); }
3250SWIGINTERN char *uiTextNode_t_textselected(uiTextNode_t *self){ return const_cast<char*>(UI_EXTRADATA(self, textExtraData_t).textSelected); }
3253SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).longlines = value; }
3254SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).lineHeight = value; }
3256SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self,int value){ UI_EXTRADATA(self, textExtraData_t).tabWidth = value; }
3258SWIGINTERN bool uiTextEntryNode_t_is_clickoutabort(uiTextEntryNode_t *self){return UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort; }
3259SWIGINTERN int uiTextEntryNode_t_cursorposition(uiTextEntryNode_t *self){ return UI_EXTRADATA(self, textEntryExtraData_s).cursorPosition; }
3260SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).isPassword = value; }
3261SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self,bool value){ UI_EXTRADATA(self, textEntryExtraData_s).clickOutAbort = value; }
3265
3267{
3268 return UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort;
3269}
3270
3272{
3273 UI_EXTRADATA(node, textEntryExtraData_s).lua_onTextEntryAbort = fn;
3274}
3275
3279
3281{
3282 return UI_EXTRADATA(node, timerExtraData_t).lua_onEvent;
3283}
3284
3286{
3287 UI_EXTRADATA(node, timerExtraData_t).lua_onEvent = fn;
3288}
3289
3291SWIGINTERN void uiVideoNode_t_set_nosound(uiVideoNode_t *self,bool value){ UI_EXTRADATA(self, videoExtraData_t).nosound = value; }
3293
3295{
3296 return UI_EXTRADATA(node, videoExtraData_t).lua_onEnd;
3297}
3298
3300{
3301 UI_EXTRADATA(node, videoExtraData_t).lua_onEnd = fn;
3302}
3303
3308SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self){ UI_PushWindow(self->name, nullptr, nullptr); }
3310SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).isFullScreen = value; }
3312SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self,bool value){ dynamic_cast<uiWindowNode*>(self->behaviour->manager.get())->setFill(self, value); }
3316SWIGINTERN void uiWindowNode_t_set_preventtypingescape(uiWindowNode_t *self,bool value){ UI_EXTRADATA(self, windowExtraData_t).preventTypingEscape = value; }
3319
3321 return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened;
3322}
3324 UI_EXTRADATA(node, windowExtraData_t).lua_onWindowOpened = fn;
3325}
3327 return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate;
3328}
3330 UI_EXTRADATA(node, windowExtraData_t).lua_onWindowActivate = fn;
3331}
3333 return UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed;
3334}
3336 UI_EXTRADATA(node, windowExtraData_t).lua_onWindowClosed = fn;
3337}
3338
3341SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self,bool value){ UI_EXTRADATA(self, zoneExtraData_t).repeat = value; }
3342SWIGINTERN void uiZoneNode_t_set_clickdelay(uiZoneNode_t *self,int value){ UI_EXTRADATA(self, zoneExtraData_t).clickDelay = value; }
3343
3344static uiBarNode_t* UI_CreateBar (uiNode_t* parent, const char* name, const char* super) {
3345 return UI_CreateControl (parent, "bar", name, super);
3346}
3347static uiBaseLayoutNode_t* UI_CreateBaseLayout (uiNode_t* parent, const char* name, const char* super) {
3348 return UI_CreateControl (parent, "baselayout", name, super);
3349}
3350static uiBaseInventoryNode_t* UI_CreateBaseInventory (uiNode_t* parent, const char* name, const char* super) {
3351 return UI_CreateControl (parent, "baseinventory", name, super);
3352}
3353static uiButtonNode_t* UI_CreateButton (uiNode_t* parent, const char* name, const char* super) {
3354 return UI_CreateControl (parent, "button", name, super);
3355}
3356static uiCheckBoxNode_t* UI_CreateCheckBox (uiNode_t* parent, const char* name, const char* super) {
3357 return UI_CreateControl (parent, "checkbox", name, super);
3358}
3359static uiConFuncNode_t* UI_CreateConFunc (uiNode_t* parent, const char* name, const char* super) {
3360 return UI_CreateControl (parent, "confunc", name, super);
3361}
3362static uiContainerNode_t* UI_CreateContainer (uiNode_t* parent, const char* name, const char* super) {
3363 return UI_CreateControl (parent, "container", name, super);
3364}
3365static uiDataNode_t* UI_CreateData (uiNode_t* parent, const char* name, const char* super) {
3366 return UI_CreateControl (parent, "data", name, super);
3367}
3368static uiGeoscapeNode_t* UI_CreateGeoscape (uiNode_t* parent, const char* name, const char* super) {
3369 return UI_CreateControl (parent, "geoscape", name, super);
3370}
3371static uiImageNode_t* UI_CreateImage (uiNode_t* parent, const char* name, const char* super) {
3372 return UI_CreateControl (parent, "image", name, super);
3373}
3374static uiItemNode_t* UI_CreateItem (uiNode_t* parent, const char* name, const char* super) {
3375 return UI_CreateControl (parent, "item", name, super);
3376}
3377static uiLineChartNode_t* UI_CreateLineChart(uiNode_t* parent, const char* name, const char* super) {
3378 return UI_CreateControl (parent, "linechart", name, super);
3379}
3380static uiMessageListNode_t* UI_CreateMessageList (uiNode_t* parent, const char* name, const char* super) {
3381 return UI_CreateControl (parent, "messagelist", name, super);
3382}
3383static uiModelNode_t* UI_CreateModel (uiNode_t* parent, const char* name, const char* super) {
3384 return UI_CreateControl (parent, "model", name, super);
3385}
3386static uiOptionNode_t* UI_CreateOption (uiNode_t* parent, const char* name, const char* super) {
3387 return UI_CreateControl (parent, "option", name, super);
3388}
3389static uiOptionListNode_t* UI_CreateOptionList (uiNode_t* parent, const char* name, const char* super) {
3390 return UI_CreateControl (parent, "optionlist", name, super);
3391}
3392static uiOptionTreeNode_t* UI_CreateOptionTree (uiNode_t* parent, const char* name, const char* super) {
3393 return UI_CreateControl (parent, "optiontree", name, super);
3394}
3395static uiPanelNode_t* UI_CreatePanel (uiNode_t* parent, const char* name, const char* super) {
3396 return UI_CreateControl (parent, "panel", name, super);
3397}
3398static uiRadarNode_t* UI_CreateRadar (uiNode_t* parent, const char* name, const char* super) {
3399 return UI_CreateControl (parent, "radar", name, super);
3400}
3401static uiRadioButtonNode_t* UI_CreateRadioButton (uiNode_t* parent, const char* name, const char* super) {
3402 return UI_CreateControl (parent, "radiobutton", name, super);
3403}
3404static uiRowsNode_t* UI_CreateRows (uiNode_t* parent, const char* name, const char* super) {
3405 return UI_CreateControl (parent, "rows", name, super);
3406}
3407static uiSelectBoxNode_t* UI_CreateSelectBox (uiNode_t* parent, const char* name, const char* super) {
3408 return UI_CreateControl (parent, "selectbox", name, super);
3409}
3410static uiSequenceNode_t* UI_CreateSequence (uiNode_t* parent, const char* name, const char* super) {
3411 return UI_CreateControl (parent, "sequence", name, super);
3412}
3413static uiSpinnerNode_t* UI_CreateSpinner (uiNode_t* parent, const char* name, const char* super) {
3414 return UI_CreateControl (parent, "spinner", name, super);
3415}
3416static uiStringNode_t* UI_CreateString (uiNode_t* parent, const char* name, const char* super) {
3417 return UI_CreateControl (parent, "string", name, super);
3418}
3419static uiTabNode_t* UI_CreateTab (uiNode_t* parent, const char* name, const char* super) {
3420 return UI_CreateControl (parent, "tab", name, super);
3421}
3422static uiTBarNode_t* UI_CreateTBar (uiNode_t* parent, const char* name, const char* super) {
3423 return UI_CreateControl (parent, "tbar", name, super);
3424}
3425static uiTextNode_t* UI_CreateText (uiNode_t* parent, const char* name, const char* super) {
3426 return UI_CreateControl (parent, "text", name, super);
3427}
3428static uiText2Node_t* UI_CreateText2 (uiNode_t* parent, const char* name, const char* super) {
3429 return UI_CreateControl (parent, "text2", name, super);
3430}
3431static uiTextEntryNode_t* UI_CreateTextEntry (uiNode_t* parent, const char* name, const char* super) {
3432 return UI_CreateControl (parent, "textentry", name, super);
3433}
3434static uiTextListNode_t* UI_CreateTextList (uiNode_t* parent, const char* name, const char* super) {
3435 return UI_CreateControl (parent, "textlist", name, super);
3436}
3437static uiTextureNode_t* UI_CreateTexture (uiNode_t* parent, const char* name, const char* super) {
3438 return UI_CreateControl (parent, "texture", name, super);
3439}
3440static uiTimerNode_t* UI_CreateTimer (uiNode_t* parent, const char* name, const char* super) {
3441 return UI_CreateControl (parent, "timer", name, super);
3442}
3443static uiVideoNode_t* UI_CreateVideo (uiNode_t* parent, const char* name, const char* super) {
3444 return UI_CreateControl (parent, "video", name, super);
3445}
3446static uiVScrollBarNode_t* UI_CreateVScrollbar (uiNode_t* parent, const char* name, const char* super) {
3447 return UI_CreateControl (parent, "vscrollbar", name, super);
3448}
3449static uiWidgetNode_t* UI_CreateWidget (uiNode_t* parent, const char* name, const char* super) {
3450 return UI_CreateControl (parent, "controls", name, super);
3451}
3452static uiWindowNode_t* UI_CreateWindow (const char* name, const char* super) {
3453 return UI_CreateWindow("window", name, super);
3454}
3455static uiZoneNode_t* UI_CreateZone (uiNode_t* parent, const char* name, const char* super) {
3456 return UI_CreateControl (parent, "zone", name, super);
3457}
3458
3459#ifdef __cplusplus
3460extern "C" {
3461#endif
3462static int _wrap_cvar_name(lua_State* L) {
3463 int SWIG_arg = 0;
3464 cvar_t *arg1 = (cvar_t *) 0 ;
3465 char *result = 0 ;
3466
3467 SWIG_check_num_args("cvar_t::name",1,1)
3468 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::name",1,"cvar_t *");
3469
3470 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3471 SWIG_fail_ptr("cvar_name",1,SWIGTYPE_p_cvar_t);
3472 }
3473
3474 result = (char *)cvar_t_name(arg1);
3475 lua_pushstring(L,(const char *)result); SWIG_arg++;
3476 return SWIG_arg;
3477
3478 if(0) SWIG_fail;
3479
3480fail:
3481 lua_error(L);
3482 return SWIG_arg;
3483}
3484
3485
3486static int _wrap_cvar_as_string(lua_State* L) {
3487 int SWIG_arg = 0;
3488 cvar_t *arg1 = (cvar_t *) 0 ;
3489 char *result = 0 ;
3490
3491 SWIG_check_num_args("cvar_t::as_string",1,1)
3492 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_string",1,"cvar_t *");
3493
3494 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3495 SWIG_fail_ptr("cvar_as_string",1,SWIGTYPE_p_cvar_t);
3496 }
3497
3498 result = (char *)cvar_t_as_string(arg1);
3499 lua_pushstring(L,(const char *)result); SWIG_arg++;
3500 return SWIG_arg;
3501
3502 if(0) SWIG_fail;
3503
3504fail:
3505 lua_error(L);
3506 return SWIG_arg;
3507}
3508
3509
3510static int _wrap_cvar_as_float(lua_State* L) {
3511 int SWIG_arg = 0;
3512 cvar_t *arg1 = (cvar_t *) 0 ;
3513 float result;
3514
3515 SWIG_check_num_args("cvar_t::as_float",1,1)
3516 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_float",1,"cvar_t *");
3517
3518 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3519 SWIG_fail_ptr("cvar_as_float",1,SWIGTYPE_p_cvar_t);
3520 }
3521
3522 result = (float)cvar_t_as_float(arg1);
3523 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3524 return SWIG_arg;
3525
3526 if(0) SWIG_fail;
3527
3528fail:
3529 lua_error(L);
3530 return SWIG_arg;
3531}
3532
3533
3534static int _wrap_cvar_as_integer(lua_State* L) {
3535 int SWIG_arg = 0;
3536 cvar_t *arg1 = (cvar_t *) 0 ;
3537 int result;
3538
3539 SWIG_check_num_args("cvar_t::as_integer",1,1)
3540 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::as_integer",1,"cvar_t *");
3541
3542 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3543 SWIG_fail_ptr("cvar_as_integer",1,SWIGTYPE_p_cvar_t);
3544 }
3545
3546 result = (int)cvar_t_as_integer(arg1);
3547 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
3548 return SWIG_arg;
3549
3550 if(0) SWIG_fail;
3551
3552fail:
3553 lua_error(L);
3554 return SWIG_arg;
3555}
3556
3557
3558static int _wrap_cvar_set_value__SWIG_0(lua_State* L) {
3559 int SWIG_arg = 0;
3560 cvar_t *arg1 = (cvar_t *) 0 ;
3561 float arg2 ;
3562
3563 SWIG_check_num_args("cvar_t::set_value",2,2)
3564 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3565 if(!lua_isnumber(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"float");
3566
3567 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3568 SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3569 }
3570
3571 arg2 = (float)lua_tonumber(L, 2);
3572 cvar_t_set_value__SWIG_0(arg1,arg2);
3573
3574 return SWIG_arg;
3575
3576 if(0) SWIG_fail;
3577
3578fail:
3579 lua_error(L);
3580 return SWIG_arg;
3581}
3582
3583
3584static int _wrap_cvar_set_value__SWIG_1(lua_State* L) {
3585 int SWIG_arg = 0;
3586 cvar_t *arg1 = (cvar_t *) 0 ;
3587 char *arg2 = (char *) 0 ;
3588
3589 SWIG_check_num_args("cvar_t::set_value",2,2)
3590 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("cvar_t::set_value",1,"cvar_t *");
3591 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("cvar_t::set_value",2,"char const *");
3592
3593 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_cvar_t,0))){
3594 SWIG_fail_ptr("cvar_set_value",1,SWIGTYPE_p_cvar_t);
3595 }
3596
3597 arg2 = (char *)lua_tostring(L, 2);
3598 cvar_t_set_value__SWIG_1(arg1,(char const *)arg2);
3599
3600 return SWIG_arg;
3601
3602 if(0) SWIG_fail;
3603
3604fail:
3605 lua_error(L);
3606 return SWIG_arg;
3607}
3608
3609
3610static int _wrap_cvar_set_value(lua_State* L) {
3611 int argc;
3612 int argv[3]={
3613 1,2,3
3614 };
3615
3616 argc = lua_gettop(L);
3617 if (argc == 2) {
3618 int _v;
3619 {
3620 void *ptr;
3621 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3622 _v = 0;
3623 } else {
3624 _v = 1;
3625 }
3626 }
3627 if (_v) {
3628 {
3629 _v = lua_isnumber(L,argv[1]);
3630 }
3631 if (_v) {
3633 }
3634 }
3635 }
3636 if (argc == 2) {
3637 int _v;
3638 {
3639 void *ptr;
3640 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_cvar_t, 0)) {
3641 _v = 0;
3642 } else {
3643 _v = 1;
3644 }
3645 }
3646 if (_v) {
3647 {
3648 _v = SWIG_lua_isnilstring(L,argv[1]);
3649 }
3650 if (_v) {
3652 }
3653 }
3654 }
3655
3656 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'cvar_set_value'\n"
3657 " Possible C/C++ prototypes are:\n"
3658 " cvar_t::set_value(float)\n"
3659 " cvar_t::set_value(char const *)\n");
3660 lua_error(L);return 0;
3661}
3662
3663
3664static int _wrap_new_cvar(lua_State* L) {
3665 int SWIG_arg = 0;
3666 cvar_t *result = 0 ;
3667
3668 SWIG_check_num_args("cvar_t::cvar_t",0,0)
3669 result = (cvar_t *)new cvar_t();
3670 SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,1); SWIG_arg++;
3671 return SWIG_arg;
3672
3673 if(0) SWIG_fail;
3674
3675fail:
3676 lua_error(L);
3677 return SWIG_arg;
3678}
3679
3680
3681static void swig_delete_cvar(void *obj) {
3682cvar_t *arg1 = (cvar_t *) obj;
3683delete arg1;
3684}
3685static int _proxy__wrap_new_cvar(lua_State *L) {
3686 assert(lua_istable(L,1));
3687 lua_pushcfunction(L,_wrap_new_cvar);
3688 assert(!lua_isnil(L,-1));
3689 lua_replace(L,1); /* replace our table with real constructor */
3690 lua_call(L,lua_gettop(L)-1,1);
3691 return 1;
3692}
3694 {0,0,0}
3695};
3697 { "name", _wrap_cvar_name},
3698 { "as_string", _wrap_cvar_as_string},
3699 { "as_float", _wrap_cvar_as_float},
3700 { "as_integer", _wrap_cvar_as_integer},
3701 { "set_value", _wrap_cvar_set_value},
3702 {0,0}
3703};
3705 {0,0}
3706};
3707
3712 {0,0,0,0,0,0}
3713};
3720
3730static const char *swig_cvar_base_names[] = {0};
3732
3733static int _wrap_findvar(lua_State* L) {
3734 int SWIG_arg = 0;
3735 char *arg1 = (char *) 0 ;
3736 cvar_t *result = 0 ;
3737
3738 SWIG_check_num_args("Cvar_FindVar",1,1)
3739 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_FindVar",1,"char const *");
3740 arg1 = (char *)lua_tostring(L, 1);
3741 result = (cvar_t *)Cvar_FindVar((char const *)arg1);
3742 SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3743 return SWIG_arg;
3744
3745 if(0) SWIG_fail;
3746
3747fail:
3748 lua_error(L);
3749 return SWIG_arg;
3750}
3751
3752
3753static int _wrap_getvar__SWIG_0(lua_State* L) {
3754 int SWIG_arg = 0;
3755 char *arg1 = (char *) 0 ;
3756 char *arg2 = (char *) 0 ;
3757 int arg3 ;
3758 char *arg4 = (char *) 0 ;
3759 cvar_t *result = 0 ;
3760
3761 SWIG_check_num_args("Cvar_Get",4,4)
3762 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3763 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3764 if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3765 if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("Cvar_Get",4,"char const *");
3766 arg1 = (char *)lua_tostring(L, 1);
3767 arg2 = (char *)lua_tostring(L, 2);
3768 arg3 = (int)lua_tonumber(L, 3);
3769 arg4 = (char *)lua_tostring(L, 4);
3770 result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3,(char const *)arg4);
3771 SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3772 return SWIG_arg;
3773
3774 if(0) SWIG_fail;
3775
3776fail:
3777 lua_error(L);
3778 return SWIG_arg;
3779}
3780
3781
3782static int _wrap_getvar__SWIG_1(lua_State* L) {
3783 int SWIG_arg = 0;
3784 char *arg1 = (char *) 0 ;
3785 char *arg2 = (char *) 0 ;
3786 int arg3 ;
3787 cvar_t *result = 0 ;
3788
3789 SWIG_check_num_args("Cvar_Get",3,3)
3790 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3791 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3792 if(!lua_isnumber(L,3)) SWIG_fail_arg("Cvar_Get",3,"int");
3793 arg1 = (char *)lua_tostring(L, 1);
3794 arg2 = (char *)lua_tostring(L, 2);
3795 arg3 = (int)lua_tonumber(L, 3);
3796 result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2,arg3);
3797 SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3798 return SWIG_arg;
3799
3800 if(0) SWIG_fail;
3801
3802fail:
3803 lua_error(L);
3804 return SWIG_arg;
3805}
3806
3807
3808static int _wrap_getvar__SWIG_2(lua_State* L) {
3809 int SWIG_arg = 0;
3810 char *arg1 = (char *) 0 ;
3811 char *arg2 = (char *) 0 ;
3812 cvar_t *result = 0 ;
3813
3814 SWIG_check_num_args("Cvar_Get",2,2)
3815 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3816 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Cvar_Get",2,"char const *");
3817 arg1 = (char *)lua_tostring(L, 1);
3818 arg2 = (char *)lua_tostring(L, 2);
3819 result = (cvar_t *)Cvar_Get((char const *)arg1,(char const *)arg2);
3820 SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3821 return SWIG_arg;
3822
3823 if(0) SWIG_fail;
3824
3825fail:
3826 lua_error(L);
3827 return SWIG_arg;
3828}
3829
3830
3831static int _wrap_getvar__SWIG_3(lua_State* L) {
3832 int SWIG_arg = 0;
3833 char *arg1 = (char *) 0 ;
3834 cvar_t *result = 0 ;
3835
3836 SWIG_check_num_args("Cvar_Get",1,1)
3837 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Get",1,"char const *");
3838 arg1 = (char *)lua_tostring(L, 1);
3839 result = (cvar_t *)Cvar_Get((char const *)arg1);
3840 SWIG_NewPointerObj(L,result,SWIGTYPE_p_cvar_t,0); SWIG_arg++;
3841 return SWIG_arg;
3842
3843 if(0) SWIG_fail;
3844
3845fail:
3846 lua_error(L);
3847 return SWIG_arg;
3848}
3849
3850
3851static int _wrap_getvar(lua_State* L) {
3852 int argc;
3853 int argv[5]={
3854 1,2,3,4,5
3855 };
3856
3857 argc = lua_gettop(L);
3858 if (argc == 1) {
3859 int _v;
3860 {
3861 _v = SWIG_lua_isnilstring(L,argv[0]);
3862 }
3863 if (_v) {
3864 return _wrap_getvar__SWIG_3(L);
3865 }
3866 }
3867 if (argc == 2) {
3868 int _v;
3869 {
3870 _v = SWIG_lua_isnilstring(L,argv[0]);
3871 }
3872 if (_v) {
3873 {
3874 _v = SWIG_lua_isnilstring(L,argv[1]);
3875 }
3876 if (_v) {
3877 return _wrap_getvar__SWIG_2(L);
3878 }
3879 }
3880 }
3881 if (argc == 3) {
3882 int _v;
3883 {
3884 _v = SWIG_lua_isnilstring(L,argv[0]);
3885 }
3886 if (_v) {
3887 {
3888 _v = SWIG_lua_isnilstring(L,argv[1]);
3889 }
3890 if (_v) {
3891 {
3892 _v = lua_isnumber(L,argv[2]);
3893 }
3894 if (_v) {
3895 return _wrap_getvar__SWIG_1(L);
3896 }
3897 }
3898 }
3899 }
3900 if (argc == 4) {
3901 int _v;
3902 {
3903 _v = SWIG_lua_isnilstring(L,argv[0]);
3904 }
3905 if (_v) {
3906 {
3907 _v = SWIG_lua_isnilstring(L,argv[1]);
3908 }
3909 if (_v) {
3910 {
3911 _v = lua_isnumber(L,argv[2]);
3912 }
3913 if (_v) {
3914 {
3915 _v = SWIG_lua_isnilstring(L,argv[3]);
3916 }
3917 if (_v) {
3918 return _wrap_getvar__SWIG_0(L);
3919 }
3920 }
3921 }
3922 }
3923 }
3924
3925 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'getvar'\n"
3926 " Possible C/C++ prototypes are:\n"
3927 " Cvar_Get(char const *,char const *,int,char const *)\n"
3928 " Cvar_Get(char const *,char const *,int)\n"
3929 " Cvar_Get(char const *,char const *)\n"
3930 " Cvar_Get(char const *)\n");
3931 lua_error(L);return 0;
3932}
3933
3934
3935static int _wrap_delvar(lua_State* L) {
3936 int SWIG_arg = 0;
3937 char *arg1 = (char *) 0 ;
3938 bool result;
3939
3940 SWIG_check_num_args("Cvar_Delete",1,1)
3941 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cvar_Delete",1,"char const *");
3942 arg1 = (char *)lua_tostring(L, 1);
3943 result = (bool)Cvar_Delete((char const *)arg1);
3944 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
3945 return SWIG_arg;
3946
3947 if(0) SWIG_fail;
3948
3949fail:
3950 lua_error(L);
3951 return SWIG_arg;
3952}
3953
3954
3955static int _wrap_invDef_name(lua_State* L) {
3956 int SWIG_arg = 0;
3957 invDef_t *arg1 = (invDef_t *) 0 ;
3958 char *result = 0 ;
3959
3960 SWIG_check_num_args("invDef_t::name",1,1)
3961 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("invDef_t::name",1,"invDef_t *");
3962
3963 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_invDef_t,0))){
3964 SWIG_fail_ptr("invDef_name",1,SWIGTYPE_p_invDef_t);
3965 }
3966
3967 result = (char *)invDef_t_name(arg1);
3968 lua_pushstring(L,(const char *)result); SWIG_arg++;
3969 return SWIG_arg;
3970
3971 if(0) SWIG_fail;
3972
3973fail:
3974 lua_error(L);
3975 return SWIG_arg;
3976}
3977
3978
3979static int _wrap_new_invDef(lua_State* L) {
3980 int SWIG_arg = 0;
3981 invDef_t *result = 0 ;
3982
3983 SWIG_check_num_args("invDef_t::invDef_t",0,0)
3984 result = (invDef_t *)new invDef_t();
3985 SWIG_NewPointerObj(L,result,SWIGTYPE_p_invDef_t,1); SWIG_arg++;
3986 return SWIG_arg;
3987
3988 if(0) SWIG_fail;
3989
3990fail:
3991 lua_error(L);
3992 return SWIG_arg;
3993}
3994
3995
3996static void swig_delete_invDef(void *obj) {
3997invDef_t *arg1 = (invDef_t *) obj;
3998delete arg1;
3999}
4000static int _proxy__wrap_new_invDef(lua_State *L) {
4001 assert(lua_istable(L,1));
4002 lua_pushcfunction(L,_wrap_new_invDef);
4003 assert(!lua_isnil(L,-1));
4004 lua_replace(L,1); /* replace our table with real constructor */
4005 lua_call(L,lua_gettop(L)-1,1);
4006 return 1;
4007}
4009 {0,0,0}
4010};
4012 { "name", _wrap_invDef_name},
4013 {0,0}
4014};
4016 {0,0}
4017};
4018
4023 {0,0,0,0,0,0}
4024};
4031
4041static const char *swig_invDef_base_names[] = {0};
4043
4044static int _wrap_uiNode_on_click_set(lua_State* L) {
4045 int SWIG_arg = 0;
4046 uiNode_t *arg1 = (uiNode_t *) 0 ;
4047 LUA_EVENT arg2 ;
4048
4049 SWIG_check_num_args("uiNode_t::lua_onClick",2,2)
4050 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4051
4052 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4053 SWIG_fail_ptr("uiNode_on_click_set",1,SWIGTYPE_p_uiNode_t);
4054 }
4055
4056 {
4057 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4058 }
4059 if (arg1) (arg1)->lua_onClick = arg2;
4060
4061 return SWIG_arg;
4062
4063 if(0) SWIG_fail;
4064
4065fail:
4066 lua_error(L);
4067 return SWIG_arg;
4068}
4069
4070
4071static int _wrap_uiNode_on_click_get(lua_State* L) {
4072 int SWIG_arg = 0;
4073 uiNode_t *arg1 = (uiNode_t *) 0 ;
4074 LUA_EVENT result;
4075
4076 SWIG_check_num_args("uiNode_t::lua_onClick",1,1)
4077 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onClick",1,"uiNode_t *");
4078
4079 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4080 SWIG_fail_ptr("uiNode_on_click_get",1,SWIGTYPE_p_uiNode_t);
4081 }
4082
4083 result = ((arg1)->lua_onClick);
4084 {
4085 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4086 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4087 }
4088 return SWIG_arg;
4089
4090 if(0) SWIG_fail;
4091
4092fail:
4093 lua_error(L);
4094 return SWIG_arg;
4095}
4096
4097
4098static int _wrap_uiNode_on_rightclick_set(lua_State* L) {
4099 int SWIG_arg = 0;
4100 uiNode_t *arg1 = (uiNode_t *) 0 ;
4101 LUA_EVENT arg2 ;
4102
4103 SWIG_check_num_args("uiNode_t::lua_onRightClick",2,2)
4104 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4105
4106 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4107 SWIG_fail_ptr("uiNode_on_rightclick_set",1,SWIGTYPE_p_uiNode_t);
4108 }
4109
4110 {
4111 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4112 }
4113 if (arg1) (arg1)->lua_onRightClick = arg2;
4114
4115 return SWIG_arg;
4116
4117 if(0) SWIG_fail;
4118
4119fail:
4120 lua_error(L);
4121 return SWIG_arg;
4122}
4123
4124
4125static int _wrap_uiNode_on_rightclick_get(lua_State* L) {
4126 int SWIG_arg = 0;
4127 uiNode_t *arg1 = (uiNode_t *) 0 ;
4128 LUA_EVENT result;
4129
4130 SWIG_check_num_args("uiNode_t::lua_onRightClick",1,1)
4131 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onRightClick",1,"uiNode_t *");
4132
4133 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4134 SWIG_fail_ptr("uiNode_on_rightclick_get",1,SWIGTYPE_p_uiNode_t);
4135 }
4136
4137 result = ((arg1)->lua_onRightClick);
4138 {
4139 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4140 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4141 }
4142 return SWIG_arg;
4143
4144 if(0) SWIG_fail;
4145
4146fail:
4147 lua_error(L);
4148 return SWIG_arg;
4149}
4150
4151
4152static int _wrap_uiNode_on_middleclick_set(lua_State* L) {
4153 int SWIG_arg = 0;
4154 uiNode_t *arg1 = (uiNode_t *) 0 ;
4155 LUA_EVENT arg2 ;
4156
4157 SWIG_check_num_args("uiNode_t::lua_onMiddleClick",2,2)
4158 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4159
4160 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4161 SWIG_fail_ptr("uiNode_on_middleclick_set",1,SWIGTYPE_p_uiNode_t);
4162 }
4163
4164 {
4165 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4166 }
4167 if (arg1) (arg1)->lua_onMiddleClick = arg2;
4168
4169 return SWIG_arg;
4170
4171 if(0) SWIG_fail;
4172
4173fail:
4174 lua_error(L);
4175 return SWIG_arg;
4176}
4177
4178
4179static int _wrap_uiNode_on_middleclick_get(lua_State* L) {
4180 int SWIG_arg = 0;
4181 uiNode_t *arg1 = (uiNode_t *) 0 ;
4182 LUA_EVENT result;
4183
4184 SWIG_check_num_args("uiNode_t::lua_onMiddleClick",1,1)
4185 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMiddleClick",1,"uiNode_t *");
4186
4187 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4188 SWIG_fail_ptr("uiNode_on_middleclick_get",1,SWIGTYPE_p_uiNode_t);
4189 }
4190
4191 result = ((arg1)->lua_onMiddleClick);
4192 {
4193 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4194 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4195 }
4196 return SWIG_arg;
4197
4198 if(0) SWIG_fail;
4199
4200fail:
4201 lua_error(L);
4202 return SWIG_arg;
4203}
4204
4205
4206static int _wrap_uiNode_on_wheelup_set(lua_State* L) {
4207 int SWIG_arg = 0;
4208 uiNode_t *arg1 = (uiNode_t *) 0 ;
4209 LUA_EVENT arg2 ;
4210
4211 SWIG_check_num_args("uiNode_t::lua_onWheelUp",2,2)
4212 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4213
4214 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4215 SWIG_fail_ptr("uiNode_on_wheelup_set",1,SWIGTYPE_p_uiNode_t);
4216 }
4217
4218 {
4219 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4220 }
4221 if (arg1) (arg1)->lua_onWheelUp = arg2;
4222
4223 return SWIG_arg;
4224
4225 if(0) SWIG_fail;
4226
4227fail:
4228 lua_error(L);
4229 return SWIG_arg;
4230}
4231
4232
4233static int _wrap_uiNode_on_wheelup_get(lua_State* L) {
4234 int SWIG_arg = 0;
4235 uiNode_t *arg1 = (uiNode_t *) 0 ;
4236 LUA_EVENT result;
4237
4238 SWIG_check_num_args("uiNode_t::lua_onWheelUp",1,1)
4239 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelUp",1,"uiNode_t *");
4240
4241 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4242 SWIG_fail_ptr("uiNode_on_wheelup_get",1,SWIGTYPE_p_uiNode_t);
4243 }
4244
4245 result = ((arg1)->lua_onWheelUp);
4246 {
4247 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4248 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4249 }
4250 return SWIG_arg;
4251
4252 if(0) SWIG_fail;
4253
4254fail:
4255 lua_error(L);
4256 return SWIG_arg;
4257}
4258
4259
4260static int _wrap_uiNode_on_wheeldown_set(lua_State* L) {
4261 int SWIG_arg = 0;
4262 uiNode_t *arg1 = (uiNode_t *) 0 ;
4263 LUA_EVENT arg2 ;
4264
4265 SWIG_check_num_args("uiNode_t::lua_onWheelDown",2,2)
4266 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4267
4268 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4269 SWIG_fail_ptr("uiNode_on_wheeldown_set",1,SWIGTYPE_p_uiNode_t);
4270 }
4271
4272 {
4273 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4274 }
4275 if (arg1) (arg1)->lua_onWheelDown = arg2;
4276
4277 return SWIG_arg;
4278
4279 if(0) SWIG_fail;
4280
4281fail:
4282 lua_error(L);
4283 return SWIG_arg;
4284}
4285
4286
4287static int _wrap_uiNode_on_wheeldown_get(lua_State* L) {
4288 int SWIG_arg = 0;
4289 uiNode_t *arg1 = (uiNode_t *) 0 ;
4290 LUA_EVENT result;
4291
4292 SWIG_check_num_args("uiNode_t::lua_onWheelDown",1,1)
4293 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheelDown",1,"uiNode_t *");
4294
4295 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4296 SWIG_fail_ptr("uiNode_on_wheeldown_get",1,SWIGTYPE_p_uiNode_t);
4297 }
4298
4299 result = ((arg1)->lua_onWheelDown);
4300 {
4301 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4302 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4303 }
4304 return SWIG_arg;
4305
4306 if(0) SWIG_fail;
4307
4308fail:
4309 lua_error(L);
4310 return SWIG_arg;
4311}
4312
4313
4314static int _wrap_uiNode_on_wheel_set(lua_State* L) {
4315 int SWIG_arg = 0;
4316 uiNode_t *arg1 = (uiNode_t *) 0 ;
4317 LUA_EVENT arg2 ;
4318
4319 SWIG_check_num_args("uiNode_t::lua_onWheel",2,2)
4320 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4321
4322 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4323 SWIG_fail_ptr("uiNode_on_wheel_set",1,SWIGTYPE_p_uiNode_t);
4324 }
4325
4326 {
4327 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4328 }
4329 if (arg1) (arg1)->lua_onWheel = arg2;
4330
4331 return SWIG_arg;
4332
4333 if(0) SWIG_fail;
4334
4335fail:
4336 lua_error(L);
4337 return SWIG_arg;
4338}
4339
4340
4341static int _wrap_uiNode_on_wheel_get(lua_State* L) {
4342 int SWIG_arg = 0;
4343 uiNode_t *arg1 = (uiNode_t *) 0 ;
4344 LUA_EVENT result;
4345
4346 SWIG_check_num_args("uiNode_t::lua_onWheel",1,1)
4347 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onWheel",1,"uiNode_t *");
4348
4349 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4350 SWIG_fail_ptr("uiNode_on_wheel_get",1,SWIGTYPE_p_uiNode_t);
4351 }
4352
4353 result = ((arg1)->lua_onWheel);
4354 {
4355 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4356 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4357 }
4358 return SWIG_arg;
4359
4360 if(0) SWIG_fail;
4361
4362fail:
4363 lua_error(L);
4364 return SWIG_arg;
4365}
4366
4367
4368static int _wrap_uiNode_on_focusgained_set(lua_State* L) {
4369 int SWIG_arg = 0;
4370 uiNode_t *arg1 = (uiNode_t *) 0 ;
4371 LUA_EVENT arg2 ;
4372
4373 SWIG_check_num_args("uiNode_t::lua_onFocusGained",2,2)
4374 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4375
4376 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4377 SWIG_fail_ptr("uiNode_on_focusgained_set",1,SWIGTYPE_p_uiNode_t);
4378 }
4379
4380 {
4381 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4382 }
4383 if (arg1) (arg1)->lua_onFocusGained = arg2;
4384
4385 return SWIG_arg;
4386
4387 if(0) SWIG_fail;
4388
4389fail:
4390 lua_error(L);
4391 return SWIG_arg;
4392}
4393
4394
4395static int _wrap_uiNode_on_focusgained_get(lua_State* L) {
4396 int SWIG_arg = 0;
4397 uiNode_t *arg1 = (uiNode_t *) 0 ;
4398 LUA_EVENT result;
4399
4400 SWIG_check_num_args("uiNode_t::lua_onFocusGained",1,1)
4401 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusGained",1,"uiNode_t *");
4402
4403 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4404 SWIG_fail_ptr("uiNode_on_focusgained_get",1,SWIGTYPE_p_uiNode_t);
4405 }
4406
4407 result = ((arg1)->lua_onFocusGained);
4408 {
4409 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4410 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4411 }
4412 return SWIG_arg;
4413
4414 if(0) SWIG_fail;
4415
4416fail:
4417 lua_error(L);
4418 return SWIG_arg;
4419}
4420
4421
4422static int _wrap_uiNode_on_focuslost_set(lua_State* L) {
4423 int SWIG_arg = 0;
4424 uiNode_t *arg1 = (uiNode_t *) 0 ;
4425 LUA_EVENT arg2 ;
4426
4427 SWIG_check_num_args("uiNode_t::lua_onFocusLost",2,2)
4428 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4429
4430 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4431 SWIG_fail_ptr("uiNode_on_focuslost_set",1,SWIGTYPE_p_uiNode_t);
4432 }
4433
4434 {
4435 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4436 }
4437 if (arg1) (arg1)->lua_onFocusLost = arg2;
4438
4439 return SWIG_arg;
4440
4441 if(0) SWIG_fail;
4442
4443fail:
4444 lua_error(L);
4445 return SWIG_arg;
4446}
4447
4448
4449static int _wrap_uiNode_on_focuslost_get(lua_State* L) {
4450 int SWIG_arg = 0;
4451 uiNode_t *arg1 = (uiNode_t *) 0 ;
4452 LUA_EVENT result;
4453
4454 SWIG_check_num_args("uiNode_t::lua_onFocusLost",1,1)
4455 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onFocusLost",1,"uiNode_t *");
4456
4457 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4458 SWIG_fail_ptr("uiNode_on_focuslost_get",1,SWIGTYPE_p_uiNode_t);
4459 }
4460
4461 result = ((arg1)->lua_onFocusLost);
4462 {
4463 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4464 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4465 }
4466 return SWIG_arg;
4467
4468 if(0) SWIG_fail;
4469
4470fail:
4471 lua_error(L);
4472 return SWIG_arg;
4473}
4474
4475
4476static int _wrap_uiNode_on_keypressed_set(lua_State* L) {
4477 int SWIG_arg = 0;
4478 uiNode_t *arg1 = (uiNode_t *) 0 ;
4479 LUA_EVENT arg2 ;
4480
4481 SWIG_check_num_args("uiNode_t::lua_onKeyPressed",2,2)
4482 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4483
4484 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4485 SWIG_fail_ptr("uiNode_on_keypressed_set",1,SWIGTYPE_p_uiNode_t);
4486 }
4487
4488 {
4489 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4490 }
4491 if (arg1) (arg1)->lua_onKeyPressed = arg2;
4492
4493 return SWIG_arg;
4494
4495 if(0) SWIG_fail;
4496
4497fail:
4498 lua_error(L);
4499 return SWIG_arg;
4500}
4501
4502
4503static int _wrap_uiNode_on_keypressed_get(lua_State* L) {
4504 int SWIG_arg = 0;
4505 uiNode_t *arg1 = (uiNode_t *) 0 ;
4506 LUA_EVENT result;
4507
4508 SWIG_check_num_args("uiNode_t::lua_onKeyPressed",1,1)
4509 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyPressed",1,"uiNode_t *");
4510
4511 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4512 SWIG_fail_ptr("uiNode_on_keypressed_get",1,SWIGTYPE_p_uiNode_t);
4513 }
4514
4515 result = ((arg1)->lua_onKeyPressed);
4516 {
4517 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4518 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4519 }
4520 return SWIG_arg;
4521
4522 if(0) SWIG_fail;
4523
4524fail:
4525 lua_error(L);
4526 return SWIG_arg;
4527}
4528
4529
4530static int _wrap_uiNode_on_keyreleased_set(lua_State* L) {
4531 int SWIG_arg = 0;
4532 uiNode_t *arg1 = (uiNode_t *) 0 ;
4533 LUA_EVENT arg2 ;
4534
4535 SWIG_check_num_args("uiNode_t::lua_onKeyReleased",2,2)
4536 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4537
4538 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4539 SWIG_fail_ptr("uiNode_on_keyreleased_set",1,SWIGTYPE_p_uiNode_t);
4540 }
4541
4542 {
4543 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4544 }
4545 if (arg1) (arg1)->lua_onKeyReleased = arg2;
4546
4547 return SWIG_arg;
4548
4549 if(0) SWIG_fail;
4550
4551fail:
4552 lua_error(L);
4553 return SWIG_arg;
4554}
4555
4556
4557static int _wrap_uiNode_on_keyreleased_get(lua_State* L) {
4558 int SWIG_arg = 0;
4559 uiNode_t *arg1 = (uiNode_t *) 0 ;
4560 LUA_EVENT result;
4561
4562 SWIG_check_num_args("uiNode_t::lua_onKeyReleased",1,1)
4563 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onKeyReleased",1,"uiNode_t *");
4564
4565 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4566 SWIG_fail_ptr("uiNode_on_keyreleased_get",1,SWIGTYPE_p_uiNode_t);
4567 }
4568
4569 result = ((arg1)->lua_onKeyReleased);
4570 {
4571 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4572 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4573 }
4574 return SWIG_arg;
4575
4576 if(0) SWIG_fail;
4577
4578fail:
4579 lua_error(L);
4580 return SWIG_arg;
4581}
4582
4583
4584static int _wrap_uiNode_on_loaded_set(lua_State* L) {
4585 int SWIG_arg = 0;
4586 uiNode_t *arg1 = (uiNode_t *) 0 ;
4587 LUA_EVENT arg2 ;
4588
4589 SWIG_check_num_args("uiNode_t::lua_onLoaded",2,2)
4590 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4591
4592 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4593 SWIG_fail_ptr("uiNode_on_loaded_set",1,SWIGTYPE_p_uiNode_t);
4594 }
4595
4596 {
4597 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4598 }
4599 if (arg1) (arg1)->lua_onLoaded = arg2;
4600
4601 return SWIG_arg;
4602
4603 if(0) SWIG_fail;
4604
4605fail:
4606 lua_error(L);
4607 return SWIG_arg;
4608}
4609
4610
4611static int _wrap_uiNode_on_loaded_get(lua_State* L) {
4612 int SWIG_arg = 0;
4613 uiNode_t *arg1 = (uiNode_t *) 0 ;
4614 LUA_EVENT result;
4615
4616 SWIG_check_num_args("uiNode_t::lua_onLoaded",1,1)
4617 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onLoaded",1,"uiNode_t *");
4618
4619 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4620 SWIG_fail_ptr("uiNode_on_loaded_get",1,SWIGTYPE_p_uiNode_t);
4621 }
4622
4623 result = ((arg1)->lua_onLoaded);
4624 {
4625 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4626 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4627 }
4628 return SWIG_arg;
4629
4630 if(0) SWIG_fail;
4631
4632fail:
4633 lua_error(L);
4634 return SWIG_arg;
4635}
4636
4637
4638static int _wrap_uiNode_on_activate_set(lua_State* L) {
4639 int SWIG_arg = 0;
4640 uiNode_t *arg1 = (uiNode_t *) 0 ;
4641 LUA_EVENT arg2 ;
4642
4643 SWIG_check_num_args("uiNode_t::lua_onActivate",2,2)
4644 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4645
4646 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4647 SWIG_fail_ptr("uiNode_on_activate_set",1,SWIGTYPE_p_uiNode_t);
4648 }
4649
4650 {
4651 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4652 }
4653 if (arg1) (arg1)->lua_onActivate = arg2;
4654
4655 return SWIG_arg;
4656
4657 if(0) SWIG_fail;
4658
4659fail:
4660 lua_error(L);
4661 return SWIG_arg;
4662}
4663
4664
4665static int _wrap_uiNode_on_activate_get(lua_State* L) {
4666 int SWIG_arg = 0;
4667 uiNode_t *arg1 = (uiNode_t *) 0 ;
4668 LUA_EVENT result;
4669
4670 SWIG_check_num_args("uiNode_t::lua_onActivate",1,1)
4671 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onActivate",1,"uiNode_t *");
4672
4673 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4674 SWIG_fail_ptr("uiNode_on_activate_get",1,SWIGTYPE_p_uiNode_t);
4675 }
4676
4677 result = ((arg1)->lua_onActivate);
4678 {
4679 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4680 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4681 }
4682 return SWIG_arg;
4683
4684 if(0) SWIG_fail;
4685
4686fail:
4687 lua_error(L);
4688 return SWIG_arg;
4689}
4690
4691
4692static int _wrap_uiNode_on_mouseenter_set(lua_State* L) {
4693 int SWIG_arg = 0;
4694 uiNode_t *arg1 = (uiNode_t *) 0 ;
4695 LUA_EVENT arg2 ;
4696
4697 SWIG_check_num_args("uiNode_t::lua_onMouseEnter",2,2)
4698 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4699
4700 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4701 SWIG_fail_ptr("uiNode_on_mouseenter_set",1,SWIGTYPE_p_uiNode_t);
4702 }
4703
4704 {
4705 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4706 }
4707 if (arg1) (arg1)->lua_onMouseEnter = arg2;
4708
4709 return SWIG_arg;
4710
4711 if(0) SWIG_fail;
4712
4713fail:
4714 lua_error(L);
4715 return SWIG_arg;
4716}
4717
4718
4719static int _wrap_uiNode_on_mouseenter_get(lua_State* L) {
4720 int SWIG_arg = 0;
4721 uiNode_t *arg1 = (uiNode_t *) 0 ;
4722 LUA_EVENT result;
4723
4724 SWIG_check_num_args("uiNode_t::lua_onMouseEnter",1,1)
4725 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseEnter",1,"uiNode_t *");
4726
4727 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4728 SWIG_fail_ptr("uiNode_on_mouseenter_get",1,SWIGTYPE_p_uiNode_t);
4729 }
4730
4731 result = ((arg1)->lua_onMouseEnter);
4732 {
4733 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4734 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4735 }
4736 return SWIG_arg;
4737
4738 if(0) SWIG_fail;
4739
4740fail:
4741 lua_error(L);
4742 return SWIG_arg;
4743}
4744
4745
4746static int _wrap_uiNode_on_mouseleave_set(lua_State* L) {
4747 int SWIG_arg = 0;
4748 uiNode_t *arg1 = (uiNode_t *) 0 ;
4749 LUA_EVENT arg2 ;
4750
4751 SWIG_check_num_args("uiNode_t::lua_onMouseLeave",2,2)
4752 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4753
4754 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4755 SWIG_fail_ptr("uiNode_on_mouseleave_set",1,SWIGTYPE_p_uiNode_t);
4756 }
4757
4758 {
4759 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4760 }
4761 if (arg1) (arg1)->lua_onMouseLeave = arg2;
4762
4763 return SWIG_arg;
4764
4765 if(0) SWIG_fail;
4766
4767fail:
4768 lua_error(L);
4769 return SWIG_arg;
4770}
4771
4772
4773static int _wrap_uiNode_on_mouseleave_get(lua_State* L) {
4774 int SWIG_arg = 0;
4775 uiNode_t *arg1 = (uiNode_t *) 0 ;
4776 LUA_EVENT result;
4777
4778 SWIG_check_num_args("uiNode_t::lua_onMouseLeave",1,1)
4779 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onMouseLeave",1,"uiNode_t *");
4780
4781 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4782 SWIG_fail_ptr("uiNode_on_mouseleave_get",1,SWIGTYPE_p_uiNode_t);
4783 }
4784
4785 result = ((arg1)->lua_onMouseLeave);
4786 {
4787 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4788 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4789 }
4790 return SWIG_arg;
4791
4792 if(0) SWIG_fail;
4793
4794fail:
4795 lua_error(L);
4796 return SWIG_arg;
4797}
4798
4799
4800static int _wrap_uiNode_on_change_set(lua_State* L) {
4801 int SWIG_arg = 0;
4802 uiNode_t *arg1 = (uiNode_t *) 0 ;
4803 LUA_EVENT arg2 ;
4804
4805 SWIG_check_num_args("uiNode_t::lua_onChange",2,2)
4806 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4807
4808 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4809 SWIG_fail_ptr("uiNode_on_change_set",1,SWIGTYPE_p_uiNode_t);
4810 }
4811
4812 {
4813 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4814 }
4815 if (arg1) (arg1)->lua_onChange = arg2;
4816
4817 return SWIG_arg;
4818
4819 if(0) SWIG_fail;
4820
4821fail:
4822 lua_error(L);
4823 return SWIG_arg;
4824}
4825
4826
4827static int _wrap_uiNode_on_change_get(lua_State* L) {
4828 int SWIG_arg = 0;
4829 uiNode_t *arg1 = (uiNode_t *) 0 ;
4830 LUA_EVENT result;
4831
4832 SWIG_check_num_args("uiNode_t::lua_onChange",1,1)
4833 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onChange",1,"uiNode_t *");
4834
4835 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4836 SWIG_fail_ptr("uiNode_on_change_get",1,SWIGTYPE_p_uiNode_t);
4837 }
4838
4839 result = ((arg1)->lua_onChange);
4840 {
4841 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4842 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4843 }
4844 return SWIG_arg;
4845
4846 if(0) SWIG_fail;
4847
4848fail:
4849 lua_error(L);
4850 return SWIG_arg;
4851}
4852
4853
4854static int _wrap_uiNode_on_visiblewhen_set(lua_State* L) {
4855 int SWIG_arg = 0;
4856 uiNode_t *arg1 = (uiNode_t *) 0 ;
4857 LUA_EVENT arg2 ;
4858
4859 SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",2,2)
4860 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4861
4862 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4863 SWIG_fail_ptr("uiNode_on_visiblewhen_set",1,SWIGTYPE_p_uiNode_t);
4864 }
4865
4866 {
4867 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
4868 }
4869 if (arg1) (arg1)->lua_onVisibleWhen = arg2;
4870
4871 return SWIG_arg;
4872
4873 if(0) SWIG_fail;
4874
4875fail:
4876 lua_error(L);
4877 return SWIG_arg;
4878}
4879
4880
4881static int _wrap_uiNode_on_visiblewhen_get(lua_State* L) {
4882 int SWIG_arg = 0;
4883 uiNode_t *arg1 = (uiNode_t *) 0 ;
4884 LUA_EVENT result;
4885
4886 SWIG_check_num_args("uiNode_t::lua_onVisibleWhen",1,1)
4887 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::lua_onVisibleWhen",1,"uiNode_t *");
4888
4889 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4890 SWIG_fail_ptr("uiNode_on_visiblewhen_get",1,SWIGTYPE_p_uiNode_t);
4891 }
4892
4893 result = ((arg1)->lua_onVisibleWhen);
4894 {
4895 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
4896 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
4897 }
4898 return SWIG_arg;
4899
4900 if(0) SWIG_fail;
4901
4902fail:
4903 lua_error(L);
4904 return SWIG_arg;
4905}
4906
4907
4908static int _wrap_uiNode_is_window(lua_State* L) {
4909 int SWIG_arg = 0;
4910 uiNode_t *arg1 = (uiNode_t *) 0 ;
4911 bool result;
4912
4913 SWIG_check_num_args("uiNode_t::is_window",1,1)
4914 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_window",1,"uiNode_t *");
4915
4916 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4917 SWIG_fail_ptr("uiNode_is_window",1,SWIGTYPE_p_uiNode_t);
4918 }
4919
4920 result = (bool)uiNode_t_is_window(arg1);
4921 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4922 return SWIG_arg;
4923
4924 if(0) SWIG_fail;
4925
4926fail:
4927 lua_error(L);
4928 return SWIG_arg;
4929}
4930
4931
4932static int _wrap_uiNode_is_disabled(lua_State* L) {
4933 int SWIG_arg = 0;
4934 uiNode_t *arg1 = (uiNode_t *) 0 ;
4935 bool result;
4936
4937 SWIG_check_num_args("uiNode_t::is_disabled",1,1)
4938 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_disabled",1,"uiNode_t *");
4939
4940 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4941 SWIG_fail_ptr("uiNode_is_disabled",1,SWIGTYPE_p_uiNode_t);
4942 }
4943
4944 result = (bool)uiNode_t_is_disabled(arg1);
4945 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4946 return SWIG_arg;
4947
4948 if(0) SWIG_fail;
4949
4950fail:
4951 lua_error(L);
4952 return SWIG_arg;
4953}
4954
4955
4956static int _wrap_uiNode_is_invisible(lua_State* L) {
4957 int SWIG_arg = 0;
4958 uiNode_t *arg1 = (uiNode_t *) 0 ;
4959 bool result;
4960
4961 SWIG_check_num_args("uiNode_t::is_invisible",1,1)
4962 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_invisible",1,"uiNode_t *");
4963
4964 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4965 SWIG_fail_ptr("uiNode_is_invisible",1,SWIGTYPE_p_uiNode_t);
4966 }
4967
4968 result = (bool)uiNode_t_is_invisible(arg1);
4969 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4970 return SWIG_arg;
4971
4972 if(0) SWIG_fail;
4973
4974fail:
4975 lua_error(L);
4976 return SWIG_arg;
4977}
4978
4979
4980static int _wrap_uiNode_is_ghost(lua_State* L) {
4981 int SWIG_arg = 0;
4982 uiNode_t *arg1 = (uiNode_t *) 0 ;
4983 bool result;
4984
4985 SWIG_check_num_args("uiNode_t::is_ghost",1,1)
4986 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_ghost",1,"uiNode_t *");
4987
4988 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
4989 SWIG_fail_ptr("uiNode_is_ghost",1,SWIGTYPE_p_uiNode_t);
4990 }
4991
4992 result = (bool)uiNode_t_is_ghost(arg1);
4993 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
4994 return SWIG_arg;
4995
4996 if(0) SWIG_fail;
4997
4998fail:
4999 lua_error(L);
5000 return SWIG_arg;
5001}
5002
5003
5004static int _wrap_uiNode_is_flashing(lua_State* L) {
5005 int SWIG_arg = 0;
5006 uiNode_t *arg1 = (uiNode_t *) 0 ;
5007 bool result;
5008
5009 SWIG_check_num_args("uiNode_t::is_flashing",1,1)
5010 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_flashing",1,"uiNode_t *");
5011
5012 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5013 SWIG_fail_ptr("uiNode_is_flashing",1,SWIGTYPE_p_uiNode_t);
5014 }
5015
5016 result = (bool)uiNode_t_is_flashing(arg1);
5017 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5018 return SWIG_arg;
5019
5020 if(0) SWIG_fail;
5021
5022fail:
5023 lua_error(L);
5024 return SWIG_arg;
5025}
5026
5027
5028static int _wrap_uiNode_is_function(lua_State* L) {
5029 int SWIG_arg = 0;
5030 uiNode_t *arg1 = (uiNode_t *) 0 ;
5031 bool result;
5032
5033 SWIG_check_num_args("uiNode_t::is_function",1,1)
5034 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_function",1,"uiNode_t *");
5035
5036 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5037 SWIG_fail_ptr("uiNode_is_function",1,SWIGTYPE_p_uiNode_t);
5038 }
5039
5040 result = (bool)uiNode_t_is_function(arg1);
5041 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5042 return SWIG_arg;
5043
5044 if(0) SWIG_fail;
5045
5046fail:
5047 lua_error(L);
5048 return SWIG_arg;
5049}
5050
5051
5052static int _wrap_uiNode_is_virtual(lua_State* L) {
5053 int SWIG_arg = 0;
5054 uiNode_t *arg1 = (uiNode_t *) 0 ;
5055 bool result;
5056
5057 SWIG_check_num_args("uiNode_t::is_virtual",1,1)
5058 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_virtual",1,"uiNode_t *");
5059
5060 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5061 SWIG_fail_ptr("uiNode_is_virtual",1,SWIGTYPE_p_uiNode_t);
5062 }
5063
5064 result = (bool)uiNode_t_is_virtual(arg1);
5065 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5066 return SWIG_arg;
5067
5068 if(0) SWIG_fail;
5069
5070fail:
5071 lua_error(L);
5072 return SWIG_arg;
5073}
5074
5075
5076static int _wrap_uiNode_is_abstract(lua_State* L) {
5077 int SWIG_arg = 0;
5078 uiNode_t *arg1 = (uiNode_t *) 0 ;
5079 bool result;
5080
5081 SWIG_check_num_args("uiNode_t::is_abstract",1,1)
5082 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::is_abstract",1,"uiNode_t *");
5083
5084 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5085 SWIG_fail_ptr("uiNode_is_abstract",1,SWIGTYPE_p_uiNode_t);
5086 }
5087
5088 result = (bool)uiNode_t_is_abstract(arg1);
5089 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
5090 return SWIG_arg;
5091
5092 if(0) SWIG_fail;
5093
5094fail:
5095 lua_error(L);
5096 return SWIG_arg;
5097}
5098
5099
5100static int _wrap_uiNode_left(lua_State* L) {
5101 int SWIG_arg = 0;
5102 uiNode_t *arg1 = (uiNode_t *) 0 ;
5103 float result;
5104
5105 SWIG_check_num_args("uiNode_t::left",1,1)
5106 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::left",1,"uiNode_t *");
5107
5108 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5109 SWIG_fail_ptr("uiNode_left",1,SWIGTYPE_p_uiNode_t);
5110 }
5111
5112 result = (float)uiNode_t_left(arg1);
5113 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5114 return SWIG_arg;
5115
5116 if(0) SWIG_fail;
5117
5118fail:
5119 lua_error(L);
5120 return SWIG_arg;
5121}
5122
5123
5124static int _wrap_uiNode_top(lua_State* L) {
5125 int SWIG_arg = 0;
5126 uiNode_t *arg1 = (uiNode_t *) 0 ;
5127 float result;
5128
5129 SWIG_check_num_args("uiNode_t::top",1,1)
5130 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::top",1,"uiNode_t *");
5131
5132 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5133 SWIG_fail_ptr("uiNode_top",1,SWIGTYPE_p_uiNode_t);
5134 }
5135
5136 result = (float)uiNode_t_top(arg1);
5137 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5138 return SWIG_arg;
5139
5140 if(0) SWIG_fail;
5141
5142fail:
5143 lua_error(L);
5144 return SWIG_arg;
5145}
5146
5147
5148static int _wrap_uiNode_width(lua_State* L) {
5149 int SWIG_arg = 0;
5150 uiNode_t *arg1 = (uiNode_t *) 0 ;
5151 float result;
5152
5153 SWIG_check_num_args("uiNode_t::width",1,1)
5154 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::width",1,"uiNode_t *");
5155
5156 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5157 SWIG_fail_ptr("uiNode_width",1,SWIGTYPE_p_uiNode_t);
5158 }
5159
5160 result = (float)uiNode_t_width(arg1);
5161 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5162 return SWIG_arg;
5163
5164 if(0) SWIG_fail;
5165
5166fail:
5167 lua_error(L);
5168 return SWIG_arg;
5169}
5170
5171
5172static int _wrap_uiNode_height(lua_State* L) {
5173 int SWIG_arg = 0;
5174 uiNode_t *arg1 = (uiNode_t *) 0 ;
5175 float result;
5176
5177 SWIG_check_num_args("uiNode_t::height",1,1)
5178 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::height",1,"uiNode_t *");
5179
5180 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5181 SWIG_fail_ptr("uiNode_height",1,SWIGTYPE_p_uiNode_t);
5182 }
5183
5184 result = (float)uiNode_t_height(arg1);
5185 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5186 return SWIG_arg;
5187
5188 if(0) SWIG_fail;
5189
5190fail:
5191 lua_error(L);
5192 return SWIG_arg;
5193}
5194
5195
5196static int _wrap_uiNode_bordersize(lua_State* L) {
5197 int SWIG_arg = 0;
5198 uiNode_t *arg1 = (uiNode_t *) 0 ;
5199 int result;
5200
5201 SWIG_check_num_args("uiNode_t::bordersize",1,1)
5202 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::bordersize",1,"uiNode_t *");
5203
5204 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5205 SWIG_fail_ptr("uiNode_bordersize",1,SWIGTYPE_p_uiNode_t);
5206 }
5207
5208 result = (int)uiNode_t_bordersize(arg1);
5209 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5210 return SWIG_arg;
5211
5212 if(0) SWIG_fail;
5213
5214fail:
5215 lua_error(L);
5216 return SWIG_arg;
5217}
5218
5219
5220static int _wrap_uiNode_name(lua_State* L) {
5221 int SWIG_arg = 0;
5222 uiNode_t *arg1 = (uiNode_t *) 0 ;
5223 char *result = 0 ;
5224
5225 SWIG_check_num_args("uiNode_t::name",1,1)
5226 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::name",1,"uiNode_t *");
5227
5228 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5229 SWIG_fail_ptr("uiNode_name",1,SWIGTYPE_p_uiNode_t);
5230 }
5231
5232 result = (char *)uiNode_t_name(arg1);
5233 lua_pushstring(L,(const char *)result); SWIG_arg++;
5234 return SWIG_arg;
5235
5236 if(0) SWIG_fail;
5237
5238fail:
5239 lua_error(L);
5240 return SWIG_arg;
5241}
5242
5243
5244static int _wrap_uiNode_type(lua_State* L) {
5245 int SWIG_arg = 0;
5246 uiNode_t *arg1 = (uiNode_t *) 0 ;
5247 char *result = 0 ;
5248
5249 SWIG_check_num_args("uiNode_t::type",1,1)
5250 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::type",1,"uiNode_t *");
5251
5252 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5253 SWIG_fail_ptr("uiNode_type",1,SWIGTYPE_p_uiNode_t);
5254 }
5255
5256 result = (char *)uiNode_t_type(arg1);
5257 lua_pushstring(L,(const char *)result); SWIG_arg++;
5258 return SWIG_arg;
5259
5260 if(0) SWIG_fail;
5261
5262fail:
5263 lua_error(L);
5264 return SWIG_arg;
5265}
5266
5267
5268static int _wrap_uiNode_text(lua_State* L) {
5269 int SWIG_arg = 0;
5270 uiNode_t *arg1 = (uiNode_t *) 0 ;
5271 char *result = 0 ;
5272
5273 SWIG_check_num_args("uiNode_t::text",1,1)
5274 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::text",1,"uiNode_t *");
5275
5276 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5277 SWIG_fail_ptr("uiNode_text",1,SWIGTYPE_p_uiNode_t);
5278 }
5279
5280 result = (char *)uiNode_t_text(arg1);
5281 lua_pushstring(L,(const char *)result); SWIG_arg++;
5282 return SWIG_arg;
5283
5284 if(0) SWIG_fail;
5285
5286fail:
5287 lua_error(L);
5288 return SWIG_arg;
5289}
5290
5291
5292static int _wrap_uiNode_font(lua_State* L) {
5293 int SWIG_arg = 0;
5294 uiNode_t *arg1 = (uiNode_t *) 0 ;
5295 char *result = 0 ;
5296
5297 SWIG_check_num_args("uiNode_t::font",1,1)
5298 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::font",1,"uiNode_t *");
5299
5300 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5301 SWIG_fail_ptr("uiNode_font",1,SWIGTYPE_p_uiNode_t);
5302 }
5303
5304 result = (char *)uiNode_t_font(arg1);
5305 lua_pushstring(L,(const char *)result); SWIG_arg++;
5306 return SWIG_arg;
5307
5308 if(0) SWIG_fail;
5309
5310fail:
5311 lua_error(L);
5312 return SWIG_arg;
5313}
5314
5315
5316static int _wrap_uiNode_image(lua_State* L) {
5317 int SWIG_arg = 0;
5318 uiNode_t *arg1 = (uiNode_t *) 0 ;
5319 char *result = 0 ;
5320
5321 SWIG_check_num_args("uiNode_t::image",1,1)
5322 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::image",1,"uiNode_t *");
5323
5324 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5325 SWIG_fail_ptr("uiNode_image",1,SWIGTYPE_p_uiNode_t);
5326 }
5327
5328 result = (char *)uiNode_t_image(arg1);
5329 lua_pushstring(L,(const char *)result); SWIG_arg++;
5330 return SWIG_arg;
5331
5332 if(0) SWIG_fail;
5333
5334fail:
5335 lua_error(L);
5336 return SWIG_arg;
5337}
5338
5339
5340static int _wrap_uiNode_contentalign(lua_State* L) {
5341 int SWIG_arg = 0;
5342 uiNode_t *arg1 = (uiNode_t *) 0 ;
5343 int result;
5344
5345 SWIG_check_num_args("uiNode_t::contentalign",1,1)
5346 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::contentalign",1,"uiNode_t *");
5347
5348 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5349 SWIG_fail_ptr("uiNode_contentalign",1,SWIGTYPE_p_uiNode_t);
5350 }
5351
5352 result = (int)uiNode_t_contentalign(arg1);
5353 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5354 return SWIG_arg;
5355
5356 if(0) SWIG_fail;
5357
5358fail:
5359 lua_error(L);
5360 return SWIG_arg;
5361}
5362
5363
5364static int _wrap_uiNode_layoutalign(lua_State* L) {
5365 int SWIG_arg = 0;
5366 uiNode_t *arg1 = (uiNode_t *) 0 ;
5367 int result;
5368
5369 SWIG_check_num_args("uiNode_t::layoutalign",1,1)
5370 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::layoutalign",1,"uiNode_t *");
5371
5372 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5373 SWIG_fail_ptr("uiNode_layoutalign",1,SWIGTYPE_p_uiNode_t);
5374 }
5375
5376 result = (int)uiNode_t_layoutalign(arg1);
5377 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5378 return SWIG_arg;
5379
5380 if(0) SWIG_fail;
5381
5382fail:
5383 lua_error(L);
5384 return SWIG_arg;
5385}
5386
5387
5388static int _wrap_uiNode_flashspeed(lua_State* L) {
5389 int SWIG_arg = 0;
5390 uiNode_t *arg1 = (uiNode_t *) 0 ;
5391 float result;
5392
5393 SWIG_check_num_args("uiNode_t::flashspeed",1,1)
5394 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::flashspeed",1,"uiNode_t *");
5395
5396 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5397 SWIG_fail_ptr("uiNode_flashspeed",1,SWIGTYPE_p_uiNode_t);
5398 }
5399
5400 result = (float)uiNode_t_flashspeed(arg1);
5401 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5402 return SWIG_arg;
5403
5404 if(0) SWIG_fail;
5405
5406fail:
5407 lua_error(L);
5408 return SWIG_arg;
5409}
5410
5411
5412static int _wrap_uiNode_padding(lua_State* L) {
5413 int SWIG_arg = 0;
5414 uiNode_t *arg1 = (uiNode_t *) 0 ;
5415 int result;
5416
5417 SWIG_check_num_args("uiNode_t::padding",1,1)
5418 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::padding",1,"uiNode_t *");
5419
5420 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5421 SWIG_fail_ptr("uiNode_padding",1,SWIGTYPE_p_uiNode_t);
5422 }
5423
5424 result = (int)uiNode_t_padding(arg1);
5425 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
5426 return SWIG_arg;
5427
5428 if(0) SWIG_fail;
5429
5430fail:
5431 lua_error(L);
5432 return SWIG_arg;
5433}
5434
5435
5436static int _wrap_uiNode_first(lua_State* L) {
5437 int SWIG_arg = 0;
5438 uiNode_t *arg1 = (uiNode_t *) 0 ;
5439 uiNode_t *result = 0 ;
5440
5441 SWIG_check_num_args("uiNode_t::first",1,1)
5442 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::first",1,"uiNode_t *");
5443
5444 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5445 SWIG_fail_ptr("uiNode_first",1,SWIGTYPE_p_uiNode_t);
5446 }
5447
5448 result = (uiNode_t *)uiNode_t_first(arg1);
5449 {
5450 if (result) {
5452 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5453 } else {
5454 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5455 }
5456 }
5457 return SWIG_arg;
5458
5459 if(0) SWIG_fail;
5460
5461fail:
5462 lua_error(L);
5463 return SWIG_arg;
5464}
5465
5466
5467static int _wrap_uiNode_last(lua_State* L) {
5468 int SWIG_arg = 0;
5469 uiNode_t *arg1 = (uiNode_t *) 0 ;
5470 uiNode_t *result = 0 ;
5471
5472 SWIG_check_num_args("uiNode_t::last",1,1)
5473 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::last",1,"uiNode_t *");
5474
5475 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5476 SWIG_fail_ptr("uiNode_last",1,SWIGTYPE_p_uiNode_t);
5477 }
5478
5479 result = (uiNode_t *)uiNode_t_last(arg1);
5480 {
5481 if (result) {
5483 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5484 } else {
5485 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5486 }
5487 }
5488 return SWIG_arg;
5489
5490 if(0) SWIG_fail;
5491
5492fail:
5493 lua_error(L);
5494 return SWIG_arg;
5495}
5496
5497
5498static int _wrap_uiNode_next(lua_State* L) {
5499 int SWIG_arg = 0;
5500 uiNode_t *arg1 = (uiNode_t *) 0 ;
5501 uiNode_t *result = 0 ;
5502
5503 SWIG_check_num_args("uiNode_t::next",1,1)
5504 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::next",1,"uiNode_t *");
5505
5506 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5507 SWIG_fail_ptr("uiNode_next",1,SWIGTYPE_p_uiNode_t);
5508 }
5509
5510 result = (uiNode_t *)uiNode_t_next(arg1);
5511 {
5512 if (result) {
5514 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5515 } else {
5516 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5517 }
5518 }
5519 return SWIG_arg;
5520
5521 if(0) SWIG_fail;
5522
5523fail:
5524 lua_error(L);
5525 return SWIG_arg;
5526}
5527
5528
5529static int _wrap_uiNode_parent(lua_State* L) {
5530 int SWIG_arg = 0;
5531 uiNode_t *arg1 = (uiNode_t *) 0 ;
5532 uiNode_t *result = 0 ;
5533
5534 SWIG_check_num_args("uiNode_t::parent",1,1)
5535 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::parent",1,"uiNode_t *");
5536
5537 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5538 SWIG_fail_ptr("uiNode_parent",1,SWIGTYPE_p_uiNode_t);
5539 }
5540
5541 result = (uiNode_t *)uiNode_t_parent(arg1);
5542 {
5543 if (result) {
5545 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5546 } else {
5547 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5548 }
5549 }
5550 return SWIG_arg;
5551
5552 if(0) SWIG_fail;
5553
5554fail:
5555 lua_error(L);
5556 return SWIG_arg;
5557}
5558
5559
5560static int _wrap_uiNode_root(lua_State* L) {
5561 int SWIG_arg = 0;
5562 uiNode_t *arg1 = (uiNode_t *) 0 ;
5563 uiNode_t *result = 0 ;
5564
5565 SWIG_check_num_args("uiNode_t::root",1,1)
5566 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::root",1,"uiNode_t *");
5567
5568 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5569 SWIG_fail_ptr("uiNode_root",1,SWIGTYPE_p_uiNode_t);
5570 }
5571
5572 result = (uiNode_t *)uiNode_t_root(arg1);
5573 {
5574 if (result) {
5576 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5577 } else {
5578 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5579 }
5580 }
5581 return SWIG_arg;
5582
5583 if(0) SWIG_fail;
5584
5585fail:
5586 lua_error(L);
5587 return SWIG_arg;
5588}
5589
5590
5591static int _wrap_uiNode_child(lua_State* L) {
5592 int SWIG_arg = 0;
5593 uiNode_t *arg1 = (uiNode_t *) 0 ;
5594 char *arg2 = (char *) 0 ;
5595 uiNode_t *result = 0 ;
5596
5597 SWIG_check_num_args("uiNode_t::child",2,2)
5598 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::child",1,"uiNode_t *");
5599 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::child",2,"char const *");
5600
5601 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5602 SWIG_fail_ptr("uiNode_child",1,SWIGTYPE_p_uiNode_t);
5603 }
5604
5605 arg2 = (char *)lua_tostring(L, 2);
5606 result = (uiNode_t *)uiNode_t_child(arg1,(char const *)arg2);
5607 {
5608 if (result) {
5610 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5611 } else {
5612 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5613 }
5614 }
5615 return SWIG_arg;
5616
5617 if(0) SWIG_fail;
5618
5619fail:
5620 lua_error(L);
5621 return SWIG_arg;
5622}
5623
5624
5625static int _wrap_uiNode_find(lua_State* L) {
5626 int SWIG_arg = 0;
5627 uiNode_t *arg1 = (uiNode_t *) 0 ;
5628 char *arg2 = (char *) 0 ;
5629 uiNode_t *result = 0 ;
5630
5631 SWIG_check_num_args("uiNode_t::find",2,2)
5632 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::find",1,"uiNode_t *");
5633 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::find",2,"char const *");
5634
5635 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5636 SWIG_fail_ptr("uiNode_find",1,SWIGTYPE_p_uiNode_t);
5637 }
5638
5639 arg2 = (char *)lua_tostring(L, 2);
5640 result = (uiNode_t *)uiNode_t_find(arg1,(char const *)arg2);
5641 {
5642 if (result) {
5644 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
5645 } else {
5646 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
5647 }
5648 }
5649 return SWIG_arg;
5650
5651 if(0) SWIG_fail;
5652
5653fail:
5654 lua_error(L);
5655 return SWIG_arg;
5656}
5657
5658
5659static int _wrap_uiNode_append_node(lua_State* L) {
5660 int SWIG_arg = 0;
5661 uiNode_t *arg1 = (uiNode_t *) 0 ;
5662 uiNode_t *arg2 = (uiNode_t *) 0 ;
5663
5664 SWIG_check_num_args("uiNode_t::append_node",2,2)
5665 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::append_node",1,"uiNode_t *");
5666 if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::append_node",2,"uiNode_t *");
5667
5668 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5669 SWIG_fail_ptr("uiNode_append_node",1,SWIGTYPE_p_uiNode_t);
5670 }
5671
5672
5673 if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5674 SWIG_fail_ptr("uiNode_append_node",2,SWIGTYPE_p_uiNode_t);
5675 }
5676
5677 uiNode_t_append_node(arg1,arg2);
5678
5679 return SWIG_arg;
5680
5681 if(0) SWIG_fail;
5682
5683fail:
5684 lua_error(L);
5685 return SWIG_arg;
5686}
5687
5688
5689static int _wrap_uiNode_insert_node(lua_State* L) {
5690 int SWIG_arg = 0;
5691 uiNode_t *arg1 = (uiNode_t *) 0 ;
5692 uiNode_t *arg2 = (uiNode_t *) 0 ;
5693 uiNode_t *arg3 = (uiNode_t *) 0 ;
5694
5695 SWIG_check_num_args("uiNode_t::insert_node",3,3)
5696 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::insert_node",1,"uiNode_t *");
5697 if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::insert_node",2,"uiNode_t *");
5698 if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::insert_node",3,"uiNode_t *");
5699
5700 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5701 SWIG_fail_ptr("uiNode_insert_node",1,SWIGTYPE_p_uiNode_t);
5702 }
5703
5704
5705 if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5706 SWIG_fail_ptr("uiNode_insert_node",2,SWIGTYPE_p_uiNode_t);
5707 }
5708
5709
5710 if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5711 SWIG_fail_ptr("uiNode_insert_node",3,SWIGTYPE_p_uiNode_t);
5712 }
5713
5714 uiNode_t_insert_node(arg1,arg2,arg3);
5715
5716 return SWIG_arg;
5717
5718 if(0) SWIG_fail;
5719
5720fail:
5721 lua_error(L);
5722 return SWIG_arg;
5723}
5724
5725
5726static int _wrap_uiNode_move_node(lua_State* L) {
5727 int SWIG_arg = 0;
5728 uiNode_t *arg1 = (uiNode_t *) 0 ;
5729 uiNode_t *arg2 = (uiNode_t *) 0 ;
5730 uiNode_t *arg3 = (uiNode_t *) 0 ;
5731
5732 SWIG_check_num_args("uiNode_t::move_node",3,3)
5733 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::move_node",1,"uiNode_t *");
5734 if(!SWIG_isptrtype(L,2)) SWIG_fail_arg("uiNode_t::move_node",2,"uiNode_t *");
5735 if(!SWIG_isptrtype(L,3)) SWIG_fail_arg("uiNode_t::move_node",3,"uiNode_t *");
5736
5737 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5738 SWIG_fail_ptr("uiNode_move_node",1,SWIGTYPE_p_uiNode_t);
5739 }
5740
5741
5742 if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_uiNode_t,0))){
5743 SWIG_fail_ptr("uiNode_move_node",2,SWIGTYPE_p_uiNode_t);
5744 }
5745
5746
5747 if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_uiNode_t,0))){
5748 SWIG_fail_ptr("uiNode_move_node",3,SWIGTYPE_p_uiNode_t);
5749 }
5750
5751 uiNode_t_move_node(arg1,arg2,arg3);
5752
5753 return SWIG_arg;
5754
5755 if(0) SWIG_fail;
5756
5757fail:
5758 lua_error(L);
5759 return SWIG_arg;
5760}
5761
5762
5763static int _wrap_uiNode_delete_node(lua_State* L) {
5764 int SWIG_arg = 0;
5765 uiNode_t *arg1 = (uiNode_t *) 0 ;
5766
5767 SWIG_check_num_args("uiNode_t::delete_node",1,1)
5768 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::delete_node",1,"uiNode_t *");
5769
5770 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5771 SWIG_fail_ptr("uiNode_delete_node",1,SWIGTYPE_p_uiNode_t);
5772 }
5773
5775
5776 return SWIG_arg;
5777
5778 if(0) SWIG_fail;
5779
5780fail:
5781 lua_error(L);
5782 return SWIG_arg;
5783}
5784
5785
5786static int _wrap_uiNode_remove_children(lua_State* L) {
5787 int SWIG_arg = 0;
5788 uiNode_t *arg1 = (uiNode_t *) 0 ;
5789
5790 SWIG_check_num_args("uiNode_t::remove_children",1,1)
5791 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::remove_children",1,"uiNode_t *");
5792
5793 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5794 SWIG_fail_ptr("uiNode_remove_children",1,SWIGTYPE_p_uiNode_t);
5795 }
5796
5798
5799 return SWIG_arg;
5800
5801 if(0) SWIG_fail;
5802
5803fail:
5804 lua_error(L);
5805 return SWIG_arg;
5806}
5807
5808
5809static int _wrap_uiNode_set_left(lua_State* L) {
5810 int SWIG_arg = 0;
5811 uiNode_t *arg1 = (uiNode_t *) 0 ;
5812 float arg2 ;
5813
5814 SWIG_check_num_args("uiNode_t::set_left",2,2)
5815 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_left",1,"uiNode_t *");
5816 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_left",2,"float");
5817
5818 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5819 SWIG_fail_ptr("uiNode_set_left",1,SWIGTYPE_p_uiNode_t);
5820 }
5821
5822 arg2 = (float)lua_tonumber(L, 2);
5823 uiNode_t_set_left(arg1,arg2);
5824
5825 return SWIG_arg;
5826
5827 if(0) SWIG_fail;
5828
5829fail:
5830 lua_error(L);
5831 return SWIG_arg;
5832}
5833
5834
5835static int _wrap_uiNode_set_top(lua_State* L) {
5836 int SWIG_arg = 0;
5837 uiNode_t *arg1 = (uiNode_t *) 0 ;
5838 float arg2 ;
5839
5840 SWIG_check_num_args("uiNode_t::set_top",2,2)
5841 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_top",1,"uiNode_t *");
5842 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_top",2,"float");
5843
5844 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5845 SWIG_fail_ptr("uiNode_set_top",1,SWIGTYPE_p_uiNode_t);
5846 }
5847
5848 arg2 = (float)lua_tonumber(L, 2);
5849 uiNode_t_set_top(arg1,arg2);
5850
5851 return SWIG_arg;
5852
5853 if(0) SWIG_fail;
5854
5855fail:
5856 lua_error(L);
5857 return SWIG_arg;
5858}
5859
5860
5861static int _wrap_uiNode_set_width(lua_State* L) {
5862 int SWIG_arg = 0;
5863 uiNode_t *arg1 = (uiNode_t *) 0 ;
5864 float arg2 ;
5865
5866 SWIG_check_num_args("uiNode_t::set_width",2,2)
5867 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_width",1,"uiNode_t *");
5868 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_width",2,"float");
5869
5870 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5871 SWIG_fail_ptr("uiNode_set_width",1,SWIGTYPE_p_uiNode_t);
5872 }
5873
5874 arg2 = (float)lua_tonumber(L, 2);
5875 uiNode_t_set_width(arg1,arg2);
5876
5877 return SWIG_arg;
5878
5879 if(0) SWIG_fail;
5880
5881fail:
5882 lua_error(L);
5883 return SWIG_arg;
5884}
5885
5886
5887static int _wrap_uiNode_set_height(lua_State* L) {
5888 int SWIG_arg = 0;
5889 uiNode_t *arg1 = (uiNode_t *) 0 ;
5890 float arg2 ;
5891
5892 SWIG_check_num_args("uiNode_t::set_height",2,2)
5893 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_height",1,"uiNode_t *");
5894 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_height",2,"float");
5895
5896 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5897 SWIG_fail_ptr("uiNode_set_height",1,SWIGTYPE_p_uiNode_t);
5898 }
5899
5900 arg2 = (float)lua_tonumber(L, 2);
5901 uiNode_t_set_height(arg1,arg2);
5902
5903 return SWIG_arg;
5904
5905 if(0) SWIG_fail;
5906
5907fail:
5908 lua_error(L);
5909 return SWIG_arg;
5910}
5911
5912
5913static int _wrap_uiNode_set_box(lua_State* L) {
5914 int SWIG_arg = 0;
5915 uiNode_t *arg1 = (uiNode_t *) 0 ;
5916 float arg2 ;
5917 float arg3 ;
5918 float arg4 ;
5919 float arg5 ;
5920
5921 SWIG_check_num_args("uiNode_t::set_box",5,5)
5922 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_box",1,"uiNode_t *");
5923 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_box",2,"float");
5924 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_box",3,"float");
5925 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_box",4,"float");
5926 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_box",5,"float");
5927
5928 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5929 SWIG_fail_ptr("uiNode_set_box",1,SWIGTYPE_p_uiNode_t);
5930 }
5931
5932 arg2 = (float)lua_tonumber(L, 2);
5933 arg3 = (float)lua_tonumber(L, 3);
5934 arg4 = (float)lua_tonumber(L, 4);
5935 arg5 = (float)lua_tonumber(L, 5);
5936 uiNode_t_set_box(arg1,arg2,arg3,arg4,arg5);
5937
5938 return SWIG_arg;
5939
5940 if(0) SWIG_fail;
5941
5942fail:
5943 lua_error(L);
5944 return SWIG_arg;
5945}
5946
5947
5948static int _wrap_uiNode_set_flashing(lua_State* L) {
5949 int SWIG_arg = 0;
5950 uiNode_t *arg1 = (uiNode_t *) 0 ;
5951 bool arg2 ;
5952
5953 SWIG_check_num_args("uiNode_t::set_flashing",2,2)
5954 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashing",1,"uiNode_t *");
5955 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_flashing",2,"bool");
5956
5957 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5958 SWIG_fail_ptr("uiNode_set_flashing",1,SWIGTYPE_p_uiNode_t);
5959 }
5960
5961 arg2 = (lua_toboolean(L, 2)!=0);
5962 uiNode_t_set_flashing(arg1,arg2);
5963
5964 return SWIG_arg;
5965
5966 if(0) SWIG_fail;
5967
5968fail:
5969 lua_error(L);
5970 return SWIG_arg;
5971}
5972
5973
5974static int _wrap_uiNode_set_flashspeed(lua_State* L) {
5975 int SWIG_arg = 0;
5976 uiNode_t *arg1 = (uiNode_t *) 0 ;
5977 float arg2 ;
5978
5979 SWIG_check_num_args("uiNode_t::set_flashspeed",2,2)
5980 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashspeed",1,"uiNode_t *");
5981 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashspeed",2,"float");
5982
5983 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
5984 SWIG_fail_ptr("uiNode_set_flashspeed",1,SWIGTYPE_p_uiNode_t);
5985 }
5986
5987 arg2 = (float)lua_tonumber(L, 2);
5988 uiNode_t_set_flashspeed(arg1,arg2);
5989
5990 return SWIG_arg;
5991
5992 if(0) SWIG_fail;
5993
5994fail:
5995 lua_error(L);
5996 return SWIG_arg;
5997}
5998
5999
6000static int _wrap_uiNode_set_invisible(lua_State* L) {
6001 int SWIG_arg = 0;
6002 uiNode_t *arg1 = (uiNode_t *) 0 ;
6003 bool arg2 ;
6004
6005 SWIG_check_num_args("uiNode_t::set_invisible",2,2)
6006 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_invisible",1,"uiNode_t *");
6007 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_invisible",2,"bool");
6008
6009 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6010 SWIG_fail_ptr("uiNode_set_invisible",1,SWIGTYPE_p_uiNode_t);
6011 }
6012
6013 arg2 = (lua_toboolean(L, 2)!=0);
6014 uiNode_t_set_invisible(arg1,arg2);
6015
6016 return SWIG_arg;
6017
6018 if(0) SWIG_fail;
6019
6020fail:
6021 lua_error(L);
6022 return SWIG_arg;
6023}
6024
6025
6026static int _wrap_uiNode_set_ghost(lua_State* L) {
6027 int SWIG_arg = 0;
6028 uiNode_t *arg1 = (uiNode_t *) 0 ;
6029 bool arg2 ;
6030
6031 SWIG_check_num_args("uiNode_t::set_ghost",2,2)
6032 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_ghost",1,"uiNode_t *");
6033 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_ghost",2,"bool");
6034
6035 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6036 SWIG_fail_ptr("uiNode_set_ghost",1,SWIGTYPE_p_uiNode_t);
6037 }
6038
6039 arg2 = (lua_toboolean(L, 2)!=0);
6040 uiNode_t_set_ghost(arg1,arg2);
6041
6042 return SWIG_arg;
6043
6044 if(0) SWIG_fail;
6045
6046fail:
6047 lua_error(L);
6048 return SWIG_arg;
6049}
6050
6051
6052static int _wrap_uiNode_set_pos(lua_State* L) {
6053 int SWIG_arg = 0;
6054 uiNode_t *arg1 = (uiNode_t *) 0 ;
6055 float arg2 ;
6056 float arg3 ;
6057
6058 SWIG_check_num_args("uiNode_t::set_pos",3,3)
6059 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_pos",1,"uiNode_t *");
6060 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_pos",2,"float");
6061 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_pos",3,"float");
6062
6063 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6064 SWIG_fail_ptr("uiNode_set_pos",1,SWIGTYPE_p_uiNode_t);
6065 }
6066
6067 arg2 = (float)lua_tonumber(L, 2);
6068 arg3 = (float)lua_tonumber(L, 3);
6069 uiNode_t_set_pos(arg1,arg2,arg3);
6070
6071 return SWIG_arg;
6072
6073 if(0) SWIG_fail;
6074
6075fail:
6076 lua_error(L);
6077 return SWIG_arg;
6078}
6079
6080
6081static int _wrap_uiNode_set_size(lua_State* L) {
6082 int SWIG_arg = 0;
6083 uiNode_t *arg1 = (uiNode_t *) 0 ;
6084 float arg2 ;
6085 float arg3 ;
6086
6087 SWIG_check_num_args("uiNode_t::set_size",3,3)
6088 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_size",1,"uiNode_t *");
6089 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_size",2,"float");
6090 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_size",3,"float");
6091
6092 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6093 SWIG_fail_ptr("uiNode_set_size",1,SWIGTYPE_p_uiNode_t);
6094 }
6095
6096 arg2 = (float)lua_tonumber(L, 2);
6097 arg3 = (float)lua_tonumber(L, 3);
6098 uiNode_t_set_size(arg1,arg2,arg3);
6099
6100 return SWIG_arg;
6101
6102 if(0) SWIG_fail;
6103
6104fail:
6105 lua_error(L);
6106 return SWIG_arg;
6107}
6108
6109
6110static int _wrap_uiNode_set_color(lua_State* L) {
6111 int SWIG_arg = 0;
6112 uiNode_t *arg1 = (uiNode_t *) 0 ;
6113 float arg2 ;
6114 float arg3 ;
6115 float arg4 ;
6116 float arg5 ;
6117
6118 SWIG_check_num_args("uiNode_t::set_color",5,5)
6119 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_color",1,"uiNode_t *");
6120 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_color",2,"float");
6121 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_color",3,"float");
6122 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_color",4,"float");
6123 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_color",5,"float");
6124
6125 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6126 SWIG_fail_ptr("uiNode_set_color",1,SWIGTYPE_p_uiNode_t);
6127 }
6128
6129 arg2 = (float)lua_tonumber(L, 2);
6130 arg3 = (float)lua_tonumber(L, 3);
6131 arg4 = (float)lua_tonumber(L, 4);
6132 arg5 = (float)lua_tonumber(L, 5);
6133 uiNode_t_set_color(arg1,arg2,arg3,arg4,arg5);
6134
6135 return SWIG_arg;
6136
6137 if(0) SWIG_fail;
6138
6139fail:
6140 lua_error(L);
6141 return SWIG_arg;
6142}
6143
6144
6145static int _wrap_uiNode_set_disabledcolor(lua_State* L) {
6146 int SWIG_arg = 0;
6147 uiNode_t *arg1 = (uiNode_t *) 0 ;
6148 float arg2 ;
6149 float arg3 ;
6150 float arg4 ;
6151 float arg5 ;
6152
6153 SWIG_check_num_args("uiNode_t::set_disabledcolor",5,5)
6154 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabledcolor",1,"uiNode_t *");
6155 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_disabledcolor",2,"float");
6156 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_disabledcolor",3,"float");
6157 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_disabledcolor",4,"float");
6158 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_disabledcolor",5,"float");
6159
6160 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6161 SWIG_fail_ptr("uiNode_set_disabledcolor",1,SWIGTYPE_p_uiNode_t);
6162 }
6163
6164 arg2 = (float)lua_tonumber(L, 2);
6165 arg3 = (float)lua_tonumber(L, 3);
6166 arg4 = (float)lua_tonumber(L, 4);
6167 arg5 = (float)lua_tonumber(L, 5);
6168 uiNode_t_set_disabledcolor(arg1,arg2,arg3,arg4,arg5);
6169
6170 return SWIG_arg;
6171
6172 if(0) SWIG_fail;
6173
6174fail:
6175 lua_error(L);
6176 return SWIG_arg;
6177}
6178
6179
6180static int _wrap_uiNode_set_flashcolor(lua_State* L) {
6181 int SWIG_arg = 0;
6182 uiNode_t *arg1 = (uiNode_t *) 0 ;
6183 float arg2 ;
6184 float arg3 ;
6185 float arg4 ;
6186 float arg5 ;
6187
6188 SWIG_check_num_args("uiNode_t::set_flashcolor",5,5)
6189 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_flashcolor",1,"uiNode_t *");
6190 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_flashcolor",2,"float");
6191 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_flashcolor",3,"float");
6192 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_flashcolor",4,"float");
6193 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_flashcolor",5,"float");
6194
6195 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6196 SWIG_fail_ptr("uiNode_set_flashcolor",1,SWIGTYPE_p_uiNode_t);
6197 }
6198
6199 arg2 = (float)lua_tonumber(L, 2);
6200 arg3 = (float)lua_tonumber(L, 3);
6201 arg4 = (float)lua_tonumber(L, 4);
6202 arg5 = (float)lua_tonumber(L, 5);
6203 uiNode_t_set_flashcolor(arg1,arg2,arg3,arg4,arg5);
6204
6205 return SWIG_arg;
6206
6207 if(0) SWIG_fail;
6208
6209fail:
6210 lua_error(L);
6211 return SWIG_arg;
6212}
6213
6214
6215static int _wrap_uiNode_set_selectcolor(lua_State* L) {
6216 int SWIG_arg = 0;
6217 uiNode_t *arg1 = (uiNode_t *) 0 ;
6218 float arg2 ;
6219 float arg3 ;
6220 float arg4 ;
6221 float arg5 ;
6222
6223 SWIG_check_num_args("uiNode_t::set_selectcolor",5,5)
6224 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_selectcolor",1,"uiNode_t *");
6225 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_selectcolor",2,"float");
6226 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_selectcolor",3,"float");
6227 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_selectcolor",4,"float");
6228 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_selectcolor",5,"float");
6229
6230 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6231 SWIG_fail_ptr("uiNode_set_selectcolor",1,SWIGTYPE_p_uiNode_t);
6232 }
6233
6234 arg2 = (float)lua_tonumber(L, 2);
6235 arg3 = (float)lua_tonumber(L, 3);
6236 arg4 = (float)lua_tonumber(L, 4);
6237 arg5 = (float)lua_tonumber(L, 5);
6238 uiNode_t_set_selectcolor(arg1,arg2,arg3,arg4,arg5);
6239
6240 return SWIG_arg;
6241
6242 if(0) SWIG_fail;
6243
6244fail:
6245 lua_error(L);
6246 return SWIG_arg;
6247}
6248
6249
6250static int _wrap_uiNode_set_backgroundcolor(lua_State* L) {
6251 int SWIG_arg = 0;
6252 uiNode_t *arg1 = (uiNode_t *) 0 ;
6253 float arg2 ;
6254 float arg3 ;
6255 float arg4 ;
6256 float arg5 ;
6257
6258 SWIG_check_num_args("uiNode_t::set_backgroundcolor",5,5)
6259 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",1,"uiNode_t *");
6260 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",2,"float");
6261 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",3,"float");
6262 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",4,"float");
6263 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_backgroundcolor",5,"float");
6264
6265 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6266 SWIG_fail_ptr("uiNode_set_backgroundcolor",1,SWIGTYPE_p_uiNode_t);
6267 }
6268
6269 arg2 = (float)lua_tonumber(L, 2);
6270 arg3 = (float)lua_tonumber(L, 3);
6271 arg4 = (float)lua_tonumber(L, 4);
6272 arg5 = (float)lua_tonumber(L, 5);
6273 uiNode_t_set_backgroundcolor(arg1,arg2,arg3,arg4,arg5);
6274
6275 return SWIG_arg;
6276
6277 if(0) SWIG_fail;
6278
6279fail:
6280 lua_error(L);
6281 return SWIG_arg;
6282}
6283
6284
6285static int _wrap_uiNode_set_bordersize(lua_State* L) {
6286 int SWIG_arg = 0;
6287 uiNode_t *arg1 = (uiNode_t *) 0 ;
6288 int arg2 ;
6289
6290 SWIG_check_num_args("uiNode_t::set_bordersize",2,2)
6291 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordersize",1,"uiNode_t *");
6292 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordersize",2,"int");
6293
6294 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6295 SWIG_fail_ptr("uiNode_set_bordersize",1,SWIGTYPE_p_uiNode_t);
6296 }
6297
6298 arg2 = (int)lua_tonumber(L, 2);
6299 uiNode_t_set_bordersize(arg1,arg2);
6300
6301 return SWIG_arg;
6302
6303 if(0) SWIG_fail;
6304
6305fail:
6306 lua_error(L);
6307 return SWIG_arg;
6308}
6309
6310
6311static int _wrap_uiNode_set_bordercolor(lua_State* L) {
6312 int SWIG_arg = 0;
6313 uiNode_t *arg1 = (uiNode_t *) 0 ;
6314 float arg2 ;
6315 float arg3 ;
6316 float arg4 ;
6317 float arg5 ;
6318
6319 SWIG_check_num_args("uiNode_t::set_bordercolor",5,5)
6320 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_bordercolor",1,"uiNode_t *");
6321 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_bordercolor",2,"float");
6322 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiNode_t::set_bordercolor",3,"float");
6323 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiNode_t::set_bordercolor",4,"float");
6324 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiNode_t::set_bordercolor",5,"float");
6325
6326 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6327 SWIG_fail_ptr("uiNode_set_bordercolor",1,SWIGTYPE_p_uiNode_t);
6328 }
6329
6330 arg2 = (float)lua_tonumber(L, 2);
6331 arg3 = (float)lua_tonumber(L, 3);
6332 arg4 = (float)lua_tonumber(L, 4);
6333 arg5 = (float)lua_tonumber(L, 5);
6334 uiNode_t_set_bordercolor(arg1,arg2,arg3,arg4,arg5);
6335
6336 return SWIG_arg;
6337
6338 if(0) SWIG_fail;
6339
6340fail:
6341 lua_error(L);
6342 return SWIG_arg;
6343}
6344
6345
6346static int _wrap_uiNode_set_text(lua_State* L) {
6347 int SWIG_arg = 0;
6348 uiNode_t *arg1 = (uiNode_t *) 0 ;
6349 char *arg2 = (char *) 0 ;
6350
6351 SWIG_check_num_args("uiNode_t::set_text",2,2)
6352 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_text",1,"uiNode_t *");
6353 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_text",2,"char const *");
6354
6355 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6356 SWIG_fail_ptr("uiNode_set_text",1,SWIGTYPE_p_uiNode_t);
6357 }
6358
6359 arg2 = (char *)lua_tostring(L, 2);
6360 uiNode_t_set_text(arg1,(char const *)arg2);
6361
6362 return SWIG_arg;
6363
6364 if(0) SWIG_fail;
6365
6366fail:
6367 lua_error(L);
6368 return SWIG_arg;
6369}
6370
6371
6372static int _wrap_uiNode_set_font(lua_State* L) {
6373 int SWIG_arg = 0;
6374 uiNode_t *arg1 = (uiNode_t *) 0 ;
6375 char *arg2 = (char *) 0 ;
6376
6377 SWIG_check_num_args("uiNode_t::set_font",2,2)
6378 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_font",1,"uiNode_t *");
6379 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_font",2,"char const *");
6380
6381 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6382 SWIG_fail_ptr("uiNode_set_font",1,SWIGTYPE_p_uiNode_t);
6383 }
6384
6385 arg2 = (char *)lua_tostring(L, 2);
6386 uiNode_t_set_font(arg1,(char const *)arg2);
6387
6388 return SWIG_arg;
6389
6390 if(0) SWIG_fail;
6391
6392fail:
6393 lua_error(L);
6394 return SWIG_arg;
6395}
6396
6397
6398static int _wrap_uiNode_set_image(lua_State* L) {
6399 int SWIG_arg = 0;
6400 uiNode_t *arg1 = (uiNode_t *) 0 ;
6401 char *arg2 = (char *) 0 ;
6402
6403 SWIG_check_num_args("uiNode_t::set_image",2,2)
6404 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_image",1,"uiNode_t *");
6405 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_image",2,"char const *");
6406
6407 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6408 SWIG_fail_ptr("uiNode_set_image",1,SWIGTYPE_p_uiNode_t);
6409 }
6410
6411 arg2 = (char *)lua_tostring(L, 2);
6412 uiNode_t_set_image(arg1,(char const *)arg2);
6413
6414 return SWIG_arg;
6415
6416 if(0) SWIG_fail;
6417
6418fail:
6419 lua_error(L);
6420 return SWIG_arg;
6421}
6422
6423
6424static int _wrap_uiNode_set_contentalign(lua_State* L) {
6425 int SWIG_arg = 0;
6426 uiNode_t *arg1 = (uiNode_t *) 0 ;
6427 int arg2 ;
6428
6429 SWIG_check_num_args("uiNode_t::set_contentalign",2,2)
6430 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_contentalign",1,"uiNode_t *");
6431 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_contentalign",2,"int");
6432
6433 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6434 SWIG_fail_ptr("uiNode_set_contentalign",1,SWIGTYPE_p_uiNode_t);
6435 }
6436
6437 arg2 = (int)lua_tonumber(L, 2);
6438 uiNode_t_set_contentalign(arg1,arg2);
6439
6440 return SWIG_arg;
6441
6442 if(0) SWIG_fail;
6443
6444fail:
6445 lua_error(L);
6446 return SWIG_arg;
6447}
6448
6449
6450static int _wrap_uiNode_set_layoutalign(lua_State* L) {
6451 int SWIG_arg = 0;
6452 uiNode_t *arg1 = (uiNode_t *) 0 ;
6453 int arg2 ;
6454
6455 SWIG_check_num_args("uiNode_t::set_layoutalign",2,2)
6456 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_layoutalign",1,"uiNode_t *");
6457 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_layoutalign",2,"int");
6458
6459 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6460 SWIG_fail_ptr("uiNode_set_layoutalign",1,SWIGTYPE_p_uiNode_t);
6461 }
6462
6463 arg2 = (int)lua_tonumber(L, 2);
6464 uiNode_t_set_layoutalign(arg1,arg2);
6465
6466 return SWIG_arg;
6467
6468 if(0) SWIG_fail;
6469
6470fail:
6471 lua_error(L);
6472 return SWIG_arg;
6473}
6474
6475
6476static int _wrap_uiNode_set_tooltip(lua_State* L) {
6477 int SWIG_arg = 0;
6478 uiNode_t *arg1 = (uiNode_t *) 0 ;
6479 char *arg2 = (char *) 0 ;
6480
6481 SWIG_check_num_args("uiNode_t::set_tooltip",2,2)
6482 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_tooltip",1,"uiNode_t *");
6483 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::set_tooltip",2,"char const *");
6484
6485 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6486 SWIG_fail_ptr("uiNode_set_tooltip",1,SWIGTYPE_p_uiNode_t);
6487 }
6488
6489 arg2 = (char *)lua_tostring(L, 2);
6490 uiNode_t_set_tooltip(arg1,(char const *)arg2);
6491
6492 return SWIG_arg;
6493
6494 if(0) SWIG_fail;
6495
6496fail:
6497 lua_error(L);
6498 return SWIG_arg;
6499}
6500
6501
6502static int _wrap_uiNode_set_disabled(lua_State* L) {
6503 int SWIG_arg = 0;
6504 uiNode_t *arg1 = (uiNode_t *) 0 ;
6505 bool arg2 ;
6506
6507 SWIG_check_num_args("uiNode_t::set_disabled",2,2)
6508 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_disabled",1,"uiNode_t *");
6509 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiNode_t::set_disabled",2,"bool");
6510
6511 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6512 SWIG_fail_ptr("uiNode_set_disabled",1,SWIGTYPE_p_uiNode_t);
6513 }
6514
6515 arg2 = (lua_toboolean(L, 2)!=0);
6516 uiNode_t_set_disabled(arg1,arg2);
6517
6518 return SWIG_arg;
6519
6520 if(0) SWIG_fail;
6521
6522fail:
6523 lua_error(L);
6524 return SWIG_arg;
6525}
6526
6527
6528static int _wrap_uiNode_set_borderthickness(lua_State* L) {
6529 int SWIG_arg = 0;
6530 uiNode_t *arg1 = (uiNode_t *) 0 ;
6531 int arg2 ;
6532
6533 SWIG_check_num_args("uiNode_t::set_borderthickness",2,2)
6534 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_borderthickness",1,"uiNode_t *");
6535 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_borderthickness",2,"int");
6536
6537 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6538 SWIG_fail_ptr("uiNode_set_borderthickness",1,SWIGTYPE_p_uiNode_t);
6539 }
6540
6541 arg2 = (int)lua_tonumber(L, 2);
6543
6544 return SWIG_arg;
6545
6546 if(0) SWIG_fail;
6547
6548fail:
6549 lua_error(L);
6550 return SWIG_arg;
6551}
6552
6553
6554static int _wrap_uiNode_set_padding(lua_State* L) {
6555 int SWIG_arg = 0;
6556 uiNode_t *arg1 = (uiNode_t *) 0 ;
6557 int arg2 ;
6558
6559 SWIG_check_num_args("uiNode_t::set_padding",2,2)
6560 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::set_padding",1,"uiNode_t *");
6561 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiNode_t::set_padding",2,"int");
6562
6563 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6564 SWIG_fail_ptr("uiNode_set_padding",1,SWIGTYPE_p_uiNode_t);
6565 }
6566
6567 arg2 = (int)lua_tonumber(L, 2);
6568 uiNode_t_set_padding(arg1,arg2);
6569
6570 return SWIG_arg;
6571
6572 if(0) SWIG_fail;
6573
6574fail:
6575 lua_error(L);
6576 return SWIG_arg;
6577}
6578
6579
6580static int _wrap_uiNode___setitem(lua_State* L) {
6581 int SWIG_arg = 0;
6582 uiNode_t *arg1 = (uiNode_t *) 0 ;
6583 char *arg2 = (char *) 0 ;
6584 LUA_METHOD arg3 ;
6585
6586 SWIG_check_num_args("uiNode_t::__setitem",3,3)
6587 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__setitem",1,"uiNode_t *");
6588 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__setitem",2,"char const *");
6589
6590 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6591 SWIG_fail_ptr("uiNode___setitem",1,SWIGTYPE_p_uiNode_t);
6592 }
6593
6594 arg2 = (char *)lua_tostring(L, 2);
6595 {
6596 arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6597 }
6598 uiNode_t___setitem(arg1,(char const *)arg2,arg3);
6599
6600 return SWIG_arg;
6601
6602 if(0) SWIG_fail;
6603
6604fail:
6605 lua_error(L);
6606 return SWIG_arg;
6607}
6608
6609
6610static int _wrap_uiNode___getitem(lua_State* L) {
6611 int SWIG_arg = 0;
6612 uiNode_t *arg1 = (uiNode_t *) 0 ;
6613 char *arg2 = (char *) 0 ;
6614 LUA_METHOD result;
6615
6616 SWIG_check_num_args("uiNode_t::__getitem",2,2)
6617 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::__getitem",1,"uiNode_t *");
6618 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::__getitem",2,"char const *");
6619
6620 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6621 SWIG_fail_ptr("uiNode___getitem",1,SWIGTYPE_p_uiNode_t);
6622 }
6623
6624 arg2 = (char *)lua_tostring(L, 2);
6625 result = uiNode_t___getitem(arg1,(char const *)arg2);
6626 {
6627 lua_rawgeti(L, LUA_REGISTRYINDEX, result); SWIG_arg++;
6628 }
6629 return SWIG_arg;
6630
6631 if(0) SWIG_fail;
6632
6633fail:
6634 lua_error(L);
6635 return SWIG_arg;
6636}
6637
6638
6639static int _wrap_uiNode_add_classmethod(lua_State* L) {
6640 int SWIG_arg = 0;
6641 uiNode_t *arg1 = (uiNode_t *) 0 ;
6642 char *arg2 = (char *) 0 ;
6643 LUA_METHOD arg3 ;
6644
6645 SWIG_check_num_args("uiNode_t::add_classmethod",3,3)
6646 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_classmethod",1,"uiNode_t *");
6647 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_classmethod",2,"char const *");
6648
6649 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6650 SWIG_fail_ptr("uiNode_add_classmethod",1,SWIGTYPE_p_uiNode_t);
6651 }
6652
6653 arg2 = (char *)lua_tostring(L, 2);
6654 {
6655 arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6656 }
6657 uiNode_t_add_classmethod(arg1,(char const *)arg2,arg3);
6658
6659 return SWIG_arg;
6660
6661 if(0) SWIG_fail;
6662
6663fail:
6664 lua_error(L);
6665 return SWIG_arg;
6666}
6667
6668
6669static int _wrap_uiNode_add_nodemethod(lua_State* L) {
6670 int SWIG_arg = 0;
6671 uiNode_t *arg1 = (uiNode_t *) 0 ;
6672 char *arg2 = (char *) 0 ;
6673 LUA_METHOD arg3 ;
6674
6675 SWIG_check_num_args("uiNode_t::add_nodemethod",3,3)
6676 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiNode_t::add_nodemethod",1,"uiNode_t *");
6677 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiNode_t::add_nodemethod",2,"char const *");
6678
6679 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
6680 SWIG_fail_ptr("uiNode_add_nodemethod",1,SWIGTYPE_p_uiNode_t);
6681 }
6682
6683 arg2 = (char *)lua_tostring(L, 2);
6684 {
6685 arg3 = (LUA_METHOD)luaL_ref (L, LUA_REGISTRYINDEX);
6686 }
6687 uiNode_t_add_nodemethod(arg1,(char const *)arg2,arg3);
6688
6689 return SWIG_arg;
6690
6691 if(0) SWIG_fail;
6692
6693fail:
6694 lua_error(L);
6695 return SWIG_arg;
6696}
6697
6698
6699static int _wrap_new_uiNode(lua_State* L) {
6700 int SWIG_arg = 0;
6701 uiNode_t *result = 0 ;
6702
6703 SWIG_check_num_args("uiNode_t::uiNode_t",0,0)
6704 result = (uiNode_t *)new uiNode_t();
6705 {
6706 if (result) {
6708 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
6709 } else {
6710 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
6711 }
6712 }
6713 return SWIG_arg;
6714
6715 if(0) SWIG_fail;
6716
6717fail:
6718 lua_error(L);
6719 return SWIG_arg;
6720}
6721
6722
6723static void swig_delete_uiNode(void *obj) {
6724uiNode_t *arg1 = (uiNode_t *) obj;
6725delete arg1;
6726}
6727static int _proxy__wrap_new_uiNode(lua_State *L) {
6728 assert(lua_istable(L,1));
6729 lua_pushcfunction(L,_wrap_new_uiNode);
6730 assert(!lua_isnil(L,-1));
6731 lua_replace(L,1); /* replace our table with real constructor */
6732 lua_call(L,lua_gettop(L)-1,1);
6733 return 1;
6734}
6755 { "is_window", _wrap_uiNode_is_window},
6756 { "is_disabled", _wrap_uiNode_is_disabled},
6757 { "is_invisible", _wrap_uiNode_is_invisible},
6758 { "is_ghost", _wrap_uiNode_is_ghost},
6759 { "is_flashing", _wrap_uiNode_is_flashing},
6760 { "is_function", _wrap_uiNode_is_function},
6761 { "is_virtual", _wrap_uiNode_is_virtual},
6762 { "is_abstract", _wrap_uiNode_is_abstract},
6763 { "left", _wrap_uiNode_left},
6764 { "top", _wrap_uiNode_top},
6765 { "width", _wrap_uiNode_width},
6766 { "height", _wrap_uiNode_height},
6767 { "bordersize", _wrap_uiNode_bordersize},
6768 { "name", _wrap_uiNode_name},
6769 { "type", _wrap_uiNode_type},
6770 { "text", _wrap_uiNode_text},
6771 { "font", _wrap_uiNode_font},
6772 { "image", _wrap_uiNode_image},
6773 { "contentalign", _wrap_uiNode_contentalign},
6774 { "layoutalign", _wrap_uiNode_layoutalign},
6775 { "flashspeed", _wrap_uiNode_flashspeed},
6776 { "padding", _wrap_uiNode_padding},
6777 { "first", _wrap_uiNode_first},
6778 { "last", _wrap_uiNode_last},
6779 { "next", _wrap_uiNode_next},
6780 { "parent", _wrap_uiNode_parent},
6781 { "root", _wrap_uiNode_root},
6782 { "child", _wrap_uiNode_child},
6783 { "find", _wrap_uiNode_find},
6784 { "append_node", _wrap_uiNode_append_node},
6785 { "insert_node", _wrap_uiNode_insert_node},
6786 { "move_node", _wrap_uiNode_move_node},
6787 { "delete_node", _wrap_uiNode_delete_node},
6788 { "remove_children", _wrap_uiNode_remove_children},
6789 { "set_left", _wrap_uiNode_set_left},
6790 { "set_top", _wrap_uiNode_set_top},
6791 { "set_width", _wrap_uiNode_set_width},
6792 { "set_height", _wrap_uiNode_set_height},
6793 { "set_box", _wrap_uiNode_set_box},
6794 { "set_flashing", _wrap_uiNode_set_flashing},
6795 { "set_flashspeed", _wrap_uiNode_set_flashspeed},
6796 { "set_invisible", _wrap_uiNode_set_invisible},
6797 { "set_ghost", _wrap_uiNode_set_ghost},
6798 { "set_pos", _wrap_uiNode_set_pos},
6799 { "set_size", _wrap_uiNode_set_size},
6800 { "set_color", _wrap_uiNode_set_color},
6801 { "set_disabledcolor", _wrap_uiNode_set_disabledcolor},
6802 { "set_flashcolor", _wrap_uiNode_set_flashcolor},
6803 { "set_selectcolor", _wrap_uiNode_set_selectcolor},
6804 { "set_backgroundcolor", _wrap_uiNode_set_backgroundcolor},
6805 { "set_bordersize", _wrap_uiNode_set_bordersize},
6806 { "set_bordercolor", _wrap_uiNode_set_bordercolor},
6807 { "set_text", _wrap_uiNode_set_text},
6808 { "set_font", _wrap_uiNode_set_font},
6809 { "set_image", _wrap_uiNode_set_image},
6810 { "set_contentalign", _wrap_uiNode_set_contentalign},
6811 { "set_layoutalign", _wrap_uiNode_set_layoutalign},
6812 { "set_tooltip", _wrap_uiNode_set_tooltip},
6813 { "set_disabled", _wrap_uiNode_set_disabled},
6814 { "set_borderthickness", _wrap_uiNode_set_borderthickness},
6815 { "set_padding", _wrap_uiNode_set_padding},
6816 { "__setitem", _wrap_uiNode___setitem},
6817 { "__getitem", _wrap_uiNode___getitem},
6818 { "add_classmethod", _wrap_uiNode_add_classmethod},
6819 { "add_nodemethod", _wrap_uiNode_add_nodemethod},
6820 {0,0}
6821};
6823 { "__setitem", _wrap_uiNode___setitem},
6824 { "__getitem", _wrap_uiNode___getitem},
6825 {0,0}
6826};
6827
6832 {0,0,0,0,0,0}
6833};
6840
6850static const char *swig_uiNode_base_names[] = {0};
6852
6853static int _wrap_uiAbstractOptionNode_dataid(lua_State* L) {
6854 int SWIG_arg = 0;
6856 int result;
6857
6858 SWIG_check_num_args("uiAbstractOptionNode_t::dataid",1,1)
6859 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::dataid",1,"uiAbstractOptionNode_t *");
6860
6862 SWIG_fail_ptr("uiAbstractOptionNode_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6863 }
6864
6865 result = (int)uiAbstractOptionNode_t_dataid(arg1);
6866 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6867 return SWIG_arg;
6868
6869 if(0) SWIG_fail;
6870
6871fail:
6872 lua_error(L);
6873 return SWIG_arg;
6874}
6875
6876
6877static int _wrap_uiAbstractOptionNode_count(lua_State* L) {
6878 int SWIG_arg = 0;
6880 int result;
6881
6882 SWIG_check_num_args("uiAbstractOptionNode_t::count",1,1)
6883 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::count",1,"uiAbstractOptionNode_t *");
6884
6886 SWIG_fail_ptr("uiAbstractOptionNode_count",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6887 }
6888
6889 result = (int)uiAbstractOptionNode_t_count(arg1);
6890 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6891 return SWIG_arg;
6892
6893 if(0) SWIG_fail;
6894
6895fail:
6896 lua_error(L);
6897 return SWIG_arg;
6898}
6899
6900
6902 int SWIG_arg = 0;
6904 int result;
6905
6906 SWIG_check_num_args("uiAbstractOptionNode_t::lineheight",1,1)
6907 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lineheight",1,"uiAbstractOptionNode_t *");
6908
6910 SWIG_fail_ptr("uiAbstractOptionNode_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6911 }
6912
6913 result = (int)uiAbstractOptionNode_t_lineheight(arg1);
6914 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6915 return SWIG_arg;
6916
6917 if(0) SWIG_fail;
6918
6919fail:
6920 lua_error(L);
6921 return SWIG_arg;
6922}
6923
6924
6925static int _wrap_uiAbstractOptionNode_cvar(lua_State* L) {
6926 int SWIG_arg = 0;
6928 char *result = 0 ;
6929
6930 SWIG_check_num_args("uiAbstractOptionNode_t::cvar",1,1)
6931 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::cvar",1,"uiAbstractOptionNode_t *");
6932
6934 SWIG_fail_ptr("uiAbstractOptionNode_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6935 }
6936
6937 result = (char *)uiAbstractOptionNode_t_cvar(arg1);
6938 lua_pushstring(L,(const char *)result); SWIG_arg++;
6939 return SWIG_arg;
6940
6941 if(0) SWIG_fail;
6942
6943fail:
6944 lua_error(L);
6945 return SWIG_arg;
6946}
6947
6948
6949static int _wrap_uiAbstractOptionNode_current(lua_State* L) {
6950 int SWIG_arg = 0;
6952 int result;
6953
6954 SWIG_check_num_args("uiAbstractOptionNode_t::current",1,1)
6955 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::current",1,"uiAbstractOptionNode_t *");
6956
6958 SWIG_fail_ptr("uiAbstractOptionNode_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6959 }
6960
6961 result = (int)uiAbstractOptionNode_t_current(arg1);
6962 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6963 return SWIG_arg;
6964
6965 if(0) SWIG_fail;
6966
6967fail:
6968 lua_error(L);
6969 return SWIG_arg;
6970}
6971
6972
6973static int _wrap_uiAbstractOptionNode_viewsize(lua_State* L) {
6974 int SWIG_arg = 0;
6976 int result;
6977
6978 SWIG_check_num_args("uiAbstractOptionNode_t::viewsize",1,1)
6979 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::viewsize",1,"uiAbstractOptionNode_t *");
6980
6982 SWIG_fail_ptr("uiAbstractOptionNode_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
6983 }
6984
6985 result = (int)uiAbstractOptionNode_t_viewsize(arg1);
6986 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
6987 return SWIG_arg;
6988
6989 if(0) SWIG_fail;
6990
6991fail:
6992 lua_error(L);
6993 return SWIG_arg;
6994}
6995
6996
6997static int _wrap_uiAbstractOptionNode_fullsize(lua_State* L) {
6998 int SWIG_arg = 0;
7000 int result;
7001
7002 SWIG_check_num_args("uiAbstractOptionNode_t::fullsize",1,1)
7003 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::fullsize",1,"uiAbstractOptionNode_t *");
7004
7006 SWIG_fail_ptr("uiAbstractOptionNode_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7007 }
7008
7009 result = (int)uiAbstractOptionNode_t_fullsize(arg1);
7010 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7011 return SWIG_arg;
7012
7013 if(0) SWIG_fail;
7014
7015fail:
7016 lua_error(L);
7017 return SWIG_arg;
7018}
7019
7020
7022 int SWIG_arg = 0;
7024 int arg2 ;
7025
7026 SWIG_check_num_args("uiAbstractOptionNode_t::set_dataid",2,2)
7027 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",1,"uiAbstractOptionNode_t *");
7028 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_dataid",2,"int");
7029
7031 SWIG_fail_ptr("uiAbstractOptionNode_set_dataid",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7032 }
7033
7034 arg2 = (int)lua_tonumber(L, 2);
7036
7037 return SWIG_arg;
7038
7039 if(0) SWIG_fail;
7040
7041fail:
7042 lua_error(L);
7043 return SWIG_arg;
7044}
7045
7046
7047static int _wrap_uiAbstractOptionNode_set_cvar(lua_State* L) {
7048 int SWIG_arg = 0;
7050 char *arg2 = (char *) 0 ;
7051
7052 SWIG_check_num_args("uiAbstractOptionNode_t::set_cvar",2,2)
7053 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",1,"uiAbstractOptionNode_t *");
7054 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_cvar",2,"char const *");
7055
7057 SWIG_fail_ptr("uiAbstractOptionNode_set_cvar",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7058 }
7059
7060 arg2 = (char *)lua_tostring(L, 2);
7061 uiAbstractOptionNode_t_set_cvar(arg1,(char const *)arg2);
7062
7063 return SWIG_arg;
7064
7065 if(0) SWIG_fail;
7066
7067fail:
7068 lua_error(L);
7069 return SWIG_arg;
7070}
7071
7072
7074 int SWIG_arg = 0;
7076 int arg2 ;
7077
7078 SWIG_check_num_args("uiAbstractOptionNode_t::set_lineheight",2,2)
7079 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",1,"uiAbstractOptionNode_t *");
7080 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_lineheight",2,"int");
7081
7083 SWIG_fail_ptr("uiAbstractOptionNode_set_lineheight",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7084 }
7085
7086 arg2 = (int)lua_tonumber(L, 2);
7088
7089 return SWIG_arg;
7090
7091 if(0) SWIG_fail;
7092
7093fail:
7094 lua_error(L);
7095 return SWIG_arg;
7096}
7097
7098
7100 int SWIG_arg = 0;
7102 char *arg2 = (char *) 0 ;
7103
7104 SWIG_check_num_args("uiAbstractOptionNode_t::set_background",2,2)
7105 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",1,"uiAbstractOptionNode_t *");
7106 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_background",2,"char const *");
7107
7109 SWIG_fail_ptr("uiAbstractOptionNode_set_background",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7110 }
7111
7112 arg2 = (char *)lua_tostring(L, 2);
7113 uiAbstractOptionNode_t_set_background(arg1,(char const *)arg2);
7114
7115 return SWIG_arg;
7116
7117 if(0) SWIG_fail;
7118
7119fail:
7120 lua_error(L);
7121 return SWIG_arg;
7122}
7123
7124
7126 int SWIG_arg = 0;
7128 int arg2 ;
7129
7130 SWIG_check_num_args("uiAbstractOptionNode_t::set_current",2,2)
7131 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",1,"uiAbstractOptionNode_t *");
7132 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_current",2,"int");
7133
7135 SWIG_fail_ptr("uiAbstractOptionNode_set_current",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7136 }
7137
7138 arg2 = (int)lua_tonumber(L, 2);
7140
7141 return SWIG_arg;
7142
7143 if(0) SWIG_fail;
7144
7145fail:
7146 lua_error(L);
7147 return SWIG_arg;
7148}
7149
7150
7152 int SWIG_arg = 0;
7154 int arg2 ;
7155
7156 SWIG_check_num_args("uiAbstractOptionNode_t::set_viewsize",2,2)
7157 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",1,"uiAbstractOptionNode_t *");
7158 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_viewsize",2,"int");
7159
7161 SWIG_fail_ptr("uiAbstractOptionNode_set_viewsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7162 }
7163
7164 arg2 = (int)lua_tonumber(L, 2);
7166
7167 return SWIG_arg;
7168
7169 if(0) SWIG_fail;
7170
7171fail:
7172 lua_error(L);
7173 return SWIG_arg;
7174}
7175
7176
7178 int SWIG_arg = 0;
7180 int arg2 ;
7181
7182 SWIG_check_num_args("uiAbstractOptionNode_t::set_fullsize",2,2)
7183 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",1,"uiAbstractOptionNode_t *");
7184 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractOptionNode_t::set_fullsize",2,"int");
7185
7187 SWIG_fail_ptr("uiAbstractOptionNode_set_fullsize",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7188 }
7189
7190 arg2 = (int)lua_tonumber(L, 2);
7192
7193 return SWIG_arg;
7194
7195 if(0) SWIG_fail;
7196
7197fail:
7198 lua_error(L);
7199 return SWIG_arg;
7200}
7201
7202
7204 int SWIG_arg = 0;
7206 LUA_EVENT arg2 ;
7207
7208 SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",2,2)
7209 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7210
7212 SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7213 }
7214
7215 {
7216 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7217 }
7219
7220 return SWIG_arg;
7221
7222 if(0) SWIG_fail;
7223
7224fail:
7225 lua_error(L);
7226 return SWIG_arg;
7227}
7228
7229
7231 int SWIG_arg = 0;
7233 LUA_EVENT result;
7234
7235 SWIG_check_num_args("uiAbstractOptionNode_t::lua_onViewChange",1,1)
7236 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractOptionNode_t::lua_onViewChange",1,"uiAbstractOptionNode_t *");
7237
7239 SWIG_fail_ptr("uiAbstractOptionNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractOptionNode_t);
7240 }
7241
7243 {
7244 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7245 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7246 }
7247 return SWIG_arg;
7248
7249 if(0) SWIG_fail;
7250
7251fail:
7252 lua_error(L);
7253 return SWIG_arg;
7254}
7255
7256
7257static int _wrap_new_uiAbstractOptionNode(lua_State* L) {
7258 int SWIG_arg = 0;
7259 uiAbstractOptionNode_t *result = 0 ;
7260
7261 SWIG_check_num_args("uiAbstractOptionNode_t::uiAbstractOptionNode_t",0,0)
7264 return SWIG_arg;
7265
7266 if(0) SWIG_fail;
7267
7268fail:
7269 lua_error(L);
7270 return SWIG_arg;
7271}
7272
7273
7274static void swig_delete_uiAbstractOptionNode(void *obj) {
7276delete arg1;
7277}
7279 assert(lua_istable(L,1));
7280 lua_pushcfunction(L,_wrap_new_uiAbstractOptionNode);
7281 assert(!lua_isnil(L,-1));
7282 lua_replace(L,1); /* replace our table with real constructor */
7283 lua_call(L,lua_gettop(L)-1,1);
7284 return 1;
7285}
7310
7323
7333static const char *swig_uiAbstractOptionNode_base_names[] = {"uiNode_t *",0};
7335
7337 int SWIG_arg = 0;
7339 int result;
7340
7341 SWIG_check_num_args("uiAbstractScrollableNode_t::viewpos",1,1)
7342 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewpos",1,"uiAbstractScrollableNode_t *");
7343
7345 SWIG_fail_ptr("uiAbstractScrollableNode_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7346 }
7347
7349 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7350 return SWIG_arg;
7351
7352 if(0) SWIG_fail;
7353
7354fail:
7355 lua_error(L);
7356 return SWIG_arg;
7357}
7358
7359
7361 int SWIG_arg = 0;
7363 int result;
7364
7365 SWIG_check_num_args("uiAbstractScrollableNode_t::viewsize",1,1)
7366 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::viewsize",1,"uiAbstractScrollableNode_t *");
7367
7369 SWIG_fail_ptr("uiAbstractScrollableNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7370 }
7371
7373 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7374 return SWIG_arg;
7375
7376 if(0) SWIG_fail;
7377
7378fail:
7379 lua_error(L);
7380 return SWIG_arg;
7381}
7382
7383
7385 int SWIG_arg = 0;
7387 int result;
7388
7389 SWIG_check_num_args("uiAbstractScrollableNode_t::fullsize",1,1)
7390 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::fullsize",1,"uiAbstractScrollableNode_t *");
7391
7393 SWIG_fail_ptr("uiAbstractScrollableNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7394 }
7395
7397 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7398 return SWIG_arg;
7399
7400 if(0) SWIG_fail;
7401
7402fail:
7403 lua_error(L);
7404 return SWIG_arg;
7405}
7406
7407
7409 int SWIG_arg = 0;
7411
7412 SWIG_check_num_args("uiAbstractScrollableNode_t::pageup",1,1)
7413 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pageup",1,"uiAbstractScrollableNode_t *");
7414
7416 SWIG_fail_ptr("uiAbstractScrollableNode_pageup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7417 }
7418
7420
7421 return SWIG_arg;
7422
7423 if(0) SWIG_fail;
7424
7425fail:
7426 lua_error(L);
7427 return SWIG_arg;
7428}
7429
7430
7432 int SWIG_arg = 0;
7434
7435 SWIG_check_num_args("uiAbstractScrollableNode_t::pagedown",1,1)
7436 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::pagedown",1,"uiAbstractScrollableNode_t *");
7437
7439 SWIG_fail_ptr("uiAbstractScrollableNode_pagedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7440 }
7441
7443
7444 return SWIG_arg;
7445
7446 if(0) SWIG_fail;
7447
7448fail:
7449 lua_error(L);
7450 return SWIG_arg;
7451}
7452
7453
7455 int SWIG_arg = 0;
7457
7458 SWIG_check_num_args("uiAbstractScrollableNode_t::moveup",1,1)
7459 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveup",1,"uiAbstractScrollableNode_t *");
7460
7462 SWIG_fail_ptr("uiAbstractScrollableNode_moveup",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7463 }
7464
7466
7467 return SWIG_arg;
7468
7469 if(0) SWIG_fail;
7470
7471fail:
7472 lua_error(L);
7473 return SWIG_arg;
7474}
7475
7476
7478 int SWIG_arg = 0;
7480
7481 SWIG_check_num_args("uiAbstractScrollableNode_t::movedown",1,1)
7482 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movedown",1,"uiAbstractScrollableNode_t *");
7483
7485 SWIG_fail_ptr("uiAbstractScrollableNode_movedown",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7486 }
7487
7489
7490 return SWIG_arg;
7491
7492 if(0) SWIG_fail;
7493
7494fail:
7495 lua_error(L);
7496 return SWIG_arg;
7497}
7498
7499
7501 int SWIG_arg = 0;
7503
7504 SWIG_check_num_args("uiAbstractScrollableNode_t::movehome",1,1)
7505 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::movehome",1,"uiAbstractScrollableNode_t *");
7506
7508 SWIG_fail_ptr("uiAbstractScrollableNode_movehome",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7509 }
7510
7512
7513 return SWIG_arg;
7514
7515 if(0) SWIG_fail;
7516
7517fail:
7518 lua_error(L);
7519 return SWIG_arg;
7520}
7521
7522
7524 int SWIG_arg = 0;
7526
7527 SWIG_check_num_args("uiAbstractScrollableNode_t::moveend",1,1)
7528 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::moveend",1,"uiAbstractScrollableNode_t *");
7529
7531 SWIG_fail_ptr("uiAbstractScrollableNode_moveend",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7532 }
7533
7535
7536 return SWIG_arg;
7537
7538 if(0) SWIG_fail;
7539
7540fail:
7541 lua_error(L);
7542 return SWIG_arg;
7543}
7544
7545
7547 int SWIG_arg = 0;
7549 int arg2 ;
7550
7551 SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewpos",2,2)
7552 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",1,"uiAbstractScrollableNode_t *");
7553 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewpos",2,"int");
7554
7556 SWIG_fail_ptr("uiAbstractScrollableNode_set_viewpos",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7557 }
7558
7559 arg2 = (int)lua_tonumber(L, 2);
7561
7562 return SWIG_arg;
7563
7564 if(0) SWIG_fail;
7565
7566fail:
7567 lua_error(L);
7568 return SWIG_arg;
7569}
7570
7571
7573 int SWIG_arg = 0;
7575 int arg2 ;
7576
7577 SWIG_check_num_args("uiAbstractScrollableNode_t::set_viewsize",2,2)
7578 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",1,"uiAbstractScrollableNode_t *");
7579 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_viewsize",2,"int");
7580
7582 SWIG_fail_ptr("uiAbstractScrollableNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7583 }
7584
7585 arg2 = (int)lua_tonumber(L, 2);
7587
7588 return SWIG_arg;
7589
7590 if(0) SWIG_fail;
7591
7592fail:
7593 lua_error(L);
7594 return SWIG_arg;
7595}
7596
7597
7599 int SWIG_arg = 0;
7601 int arg2 ;
7602
7603 SWIG_check_num_args("uiAbstractScrollableNode_t::set_fullsize",2,2)
7604 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",1,"uiAbstractScrollableNode_t *");
7605 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollableNode_t::set_fullsize",2,"int");
7606
7608 SWIG_fail_ptr("uiAbstractScrollableNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7609 }
7610
7611 arg2 = (int)lua_tonumber(L, 2);
7613
7614 return SWIG_arg;
7615
7616 if(0) SWIG_fail;
7617
7618fail:
7619 lua_error(L);
7620 return SWIG_arg;
7621}
7622
7623
7625 int SWIG_arg = 0;
7627 LUA_EVENT arg2 ;
7628
7629 SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",2,2)
7630 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7631
7633 SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_set",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7634 }
7635
7636 {
7637 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
7638 }
7640
7641 return SWIG_arg;
7642
7643 if(0) SWIG_fail;
7644
7645fail:
7646 lua_error(L);
7647 return SWIG_arg;
7648}
7649
7650
7652 int SWIG_arg = 0;
7654 LUA_EVENT result;
7655
7656 SWIG_check_num_args("uiAbstractScrollableNode_t::lua_onViewChange",1,1)
7657 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollableNode_t::lua_onViewChange",1,"uiAbstractScrollableNode_t *");
7658
7660 SWIG_fail_ptr("uiAbstractScrollableNode_on_viewchange_get",1,SWIGTYPE_p_uiAbstractScrollableNode_t);
7661 }
7662
7664 {
7665 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
7666 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
7667 }
7668 return SWIG_arg;
7669
7670 if(0) SWIG_fail;
7671
7672fail:
7673 lua_error(L);
7674 return SWIG_arg;
7675}
7676
7677
7678static int _wrap_new_uiAbstractScrollableNode(lua_State* L) {
7679 int SWIG_arg = 0;
7680 uiAbstractScrollableNode_t *result = 0 ;
7681
7682 SWIG_check_num_args("uiAbstractScrollableNode_t::uiAbstractScrollableNode_t",0,0)
7685 return SWIG_arg;
7686
7687 if(0) SWIG_fail;
7688
7689fail:
7690 lua_error(L);
7691 return SWIG_arg;
7692}
7693
7694
7697delete arg1;
7698}
7700 assert(lua_istable(L,1));
7701 lua_pushcfunction(L,_wrap_new_uiAbstractScrollableNode);
7702 assert(!lua_isnil(L,-1));
7703 lua_replace(L,1); /* replace our table with real constructor */
7704 lua_call(L,lua_gettop(L)-1,1);
7705 return 1;
7706}
7729
7742
7752static const char *swig_uiAbstractScrollableNode_base_names[] = {"uiNode_t *",0};
7754
7756 int SWIG_arg = 0;
7758 bool result;
7759
7760 SWIG_check_num_args("uiAbstractScrollbarNode_t::is_autoshowscroll",1,1)
7761 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::is_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7762
7764 SWIG_fail_ptr("uiAbstractScrollbarNode_is_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7765 }
7766
7768 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
7769 return SWIG_arg;
7770
7771 if(0) SWIG_fail;
7772
7773fail:
7774 lua_error(L);
7775 return SWIG_arg;
7776}
7777
7778
7780 int SWIG_arg = 0;
7782 int result;
7783
7784 SWIG_check_num_args("uiAbstractScrollbarNode_t::current",1,1)
7785 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::current",1,"uiAbstractScrollbarNode_t *");
7786
7788 SWIG_fail_ptr("uiAbstractScrollbarNode_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7789 }
7790
7791 result = (int)uiAbstractScrollbarNode_t_current(arg1);
7792 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7793 return SWIG_arg;
7794
7795 if(0) SWIG_fail;
7796
7797fail:
7798 lua_error(L);
7799 return SWIG_arg;
7800}
7801
7802
7804 int SWIG_arg = 0;
7806 int result;
7807
7808 SWIG_check_num_args("uiAbstractScrollbarNode_t::viewsize",1,1)
7809 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::viewsize",1,"uiAbstractScrollbarNode_t *");
7810
7812 SWIG_fail_ptr("uiAbstractScrollbarNode_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7813 }
7814
7816 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7817 return SWIG_arg;
7818
7819 if(0) SWIG_fail;
7820
7821fail:
7822 lua_error(L);
7823 return SWIG_arg;
7824}
7825
7826
7828 int SWIG_arg = 0;
7830 int result;
7831
7832 SWIG_check_num_args("uiAbstractScrollbarNode_t::fullsize",1,1)
7833 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::fullsize",1,"uiAbstractScrollbarNode_t *");
7834
7836 SWIG_fail_ptr("uiAbstractScrollbarNode_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7837 }
7838
7840 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
7841 return SWIG_arg;
7842
7843 if(0) SWIG_fail;
7844
7845fail:
7846 lua_error(L);
7847 return SWIG_arg;
7848}
7849
7850
7852 int SWIG_arg = 0;
7854 bool arg2 ;
7855
7856 SWIG_check_num_args("uiAbstractScrollbarNode_t::set_autoshowscroll",2,2)
7857 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",1,"uiAbstractScrollbarNode_t *");
7858 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_autoshowscroll",2,"bool");
7859
7861 SWIG_fail_ptr("uiAbstractScrollbarNode_set_autoshowscroll",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7862 }
7863
7864 arg2 = (lua_toboolean(L, 2)!=0);
7866
7867 return SWIG_arg;
7868
7869 if(0) SWIG_fail;
7870
7871fail:
7872 lua_error(L);
7873 return SWIG_arg;
7874}
7875
7876
7878 int SWIG_arg = 0;
7880 int arg2 ;
7881
7882 SWIG_check_num_args("uiAbstractScrollbarNode_t::set_current",2,2)
7883 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",1,"uiAbstractScrollbarNode_t *");
7884 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_current",2,"int");
7885
7887 SWIG_fail_ptr("uiAbstractScrollbarNode_set_current",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7888 }
7889
7890 arg2 = (int)lua_tonumber(L, 2);
7892
7893 return SWIG_arg;
7894
7895 if(0) SWIG_fail;
7896
7897fail:
7898 lua_error(L);
7899 return SWIG_arg;
7900}
7901
7902
7904 int SWIG_arg = 0;
7906 int arg2 ;
7907
7908 SWIG_check_num_args("uiAbstractScrollbarNode_t::set_viewsize",2,2)
7909 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",1,"uiAbstractScrollbarNode_t *");
7910 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_viewsize",2,"int");
7911
7913 SWIG_fail_ptr("uiAbstractScrollbarNode_set_viewsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7914 }
7915
7916 arg2 = (int)lua_tonumber(L, 2);
7918
7919 return SWIG_arg;
7920
7921 if(0) SWIG_fail;
7922
7923fail:
7924 lua_error(L);
7925 return SWIG_arg;
7926}
7927
7928
7930 int SWIG_arg = 0;
7932 int arg2 ;
7933
7934 SWIG_check_num_args("uiAbstractScrollbarNode_t::set_fullsize",2,2)
7935 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",1,"uiAbstractScrollbarNode_t *");
7936 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractScrollbarNode_t::set_fullsize",2,"int");
7937
7939 SWIG_fail_ptr("uiAbstractScrollbarNode_set_fullsize",1,SWIGTYPE_p_uiAbstractScrollbarNode_t);
7940 }
7941
7942 arg2 = (int)lua_tonumber(L, 2);
7944
7945 return SWIG_arg;
7946
7947 if(0) SWIG_fail;
7948
7949fail:
7950 lua_error(L);
7951 return SWIG_arg;
7952}
7953
7954
7955static int _wrap_new_uiAbstractScrollbarNode(lua_State* L) {
7956 int SWIG_arg = 0;
7957 uiAbstractScrollbarNode_t *result = 0 ;
7958
7959 SWIG_check_num_args("uiAbstractScrollbarNode_t::uiAbstractScrollbarNode_t",0,0)
7962 return SWIG_arg;
7963
7964 if(0) SWIG_fail;
7965
7966fail:
7967 lua_error(L);
7968 return SWIG_arg;
7969}
7970
7971
7974delete arg1;
7975}
7977 assert(lua_istable(L,1));
7978 lua_pushcfunction(L,_wrap_new_uiAbstractScrollbarNode);
7979 assert(!lua_isnil(L,-1));
7980 lua_replace(L,1); /* replace our table with real constructor */
7981 lua_call(L,lua_gettop(L)-1,1);
7982 return 1;
7983}
8001
8014
8024static const char *swig_uiAbstractScrollbarNode_base_names[] = {"uiNode_t *",0};
8026
8027static int _wrap_uiAbstractValueNode_min(lua_State* L) {
8028 int SWIG_arg = 0;
8030 float result;
8031
8032 SWIG_check_num_args("uiAbstractValueNode_t::min",1,1)
8033 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::min",1,"uiAbstractValueNode_t *");
8034
8036 SWIG_fail_ptr("uiAbstractValueNode_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8037 }
8038
8039 result = (float)uiAbstractValueNode_t_min(arg1);
8040 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8041 return SWIG_arg;
8042
8043 if(0) SWIG_fail;
8044
8045fail:
8046 lua_error(L);
8047 return SWIG_arg;
8048}
8049
8050
8051static int _wrap_uiAbstractValueNode_max(lua_State* L) {
8052 int SWIG_arg = 0;
8054 float result;
8055
8056 SWIG_check_num_args("uiAbstractValueNode_t::max",1,1)
8057 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::max",1,"uiAbstractValueNode_t *");
8058
8060 SWIG_fail_ptr("uiAbstractValueNode_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8061 }
8062
8063 result = (float)uiAbstractValueNode_t_max(arg1);
8064 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8065 return SWIG_arg;
8066
8067 if(0) SWIG_fail;
8068
8069fail:
8070 lua_error(L);
8071 return SWIG_arg;
8072}
8073
8074
8075static int _wrap_uiAbstractValueNode_value(lua_State* L) {
8076 int SWIG_arg = 0;
8078 float result;
8079
8080 SWIG_check_num_args("uiAbstractValueNode_t::value",1,1)
8081 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::value",1,"uiAbstractValueNode_t *");
8082
8084 SWIG_fail_ptr("uiAbstractValueNode_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8085 }
8086
8087 result = (float)uiAbstractValueNode_t_value(arg1);
8088 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8089 return SWIG_arg;
8090
8091 if(0) SWIG_fail;
8092
8093fail:
8094 lua_error(L);
8095 return SWIG_arg;
8096}
8097
8098
8099static int _wrap_uiAbstractValueNode_delta(lua_State* L) {
8100 int SWIG_arg = 0;
8102 float result;
8103
8104 SWIG_check_num_args("uiAbstractValueNode_t::delta",1,1)
8105 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::delta",1,"uiAbstractValueNode_t *");
8106
8108 SWIG_fail_ptr("uiAbstractValueNode_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8109 }
8110
8111 result = (float)uiAbstractValueNode_t_delta(arg1);
8112 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8113 return SWIG_arg;
8114
8115 if(0) SWIG_fail;
8116
8117fail:
8118 lua_error(L);
8119 return SWIG_arg;
8120}
8121
8122
8123static int _wrap_uiAbstractValueNode_lastdiff(lua_State* L) {
8124 int SWIG_arg = 0;
8126 float result;
8127
8128 SWIG_check_num_args("uiAbstractValueNode_t::lastdiff",1,1)
8129 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::lastdiff",1,"uiAbstractValueNode_t *");
8130
8132 SWIG_fail_ptr("uiAbstractValueNode_lastdiff",1,SWIGTYPE_p_uiAbstractValueNode_t);
8133 }
8134
8135 result = (float)uiAbstractValueNode_t_lastdiff(arg1);
8136 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8137 return SWIG_arg;
8138
8139 if(0) SWIG_fail;
8140
8141fail:
8142 lua_error(L);
8143 return SWIG_arg;
8144}
8145
8146
8148 int SWIG_arg = 0;
8150 float result;
8151
8152 SWIG_check_num_args("uiAbstractValueNode_t::shiftmultiplier",1,1)
8153 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::shiftmultiplier",1,"uiAbstractValueNode_t *");
8154
8156 SWIG_fail_ptr("uiAbstractValueNode_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8157 }
8158
8159 result = (float)uiAbstractValueNode_t_shiftmultiplier(arg1);
8160 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8161 return SWIG_arg;
8162
8163 if(0) SWIG_fail;
8164
8165fail:
8166 lua_error(L);
8167 return SWIG_arg;
8168}
8169
8170
8171static int _wrap_uiAbstractValueNode_inc_value(lua_State* L) {
8172 int SWIG_arg = 0;
8174
8175 SWIG_check_num_args("uiAbstractValueNode_t::inc_value",1,1)
8176 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::inc_value",1,"uiAbstractValueNode_t *");
8177
8179 SWIG_fail_ptr("uiAbstractValueNode_inc_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8180 }
8181
8183
8184 return SWIG_arg;
8185
8186 if(0) SWIG_fail;
8187
8188fail:
8189 lua_error(L);
8190 return SWIG_arg;
8191}
8192
8193
8194static int _wrap_uiAbstractValueNode_dec_value(lua_State* L) {
8195 int SWIG_arg = 0;
8197
8198 SWIG_check_num_args("uiAbstractValueNode_t::dec_value",1,1)
8199 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::dec_value",1,"uiAbstractValueNode_t *");
8200
8202 SWIG_fail_ptr("uiAbstractValueNode_dec_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8203 }
8204
8206
8207 return SWIG_arg;
8208
8209 if(0) SWIG_fail;
8210
8211fail:
8212 lua_error(L);
8213 return SWIG_arg;
8214}
8215
8216
8218 int SWIG_arg = 0;
8220 float arg2 ;
8221 float arg3 ;
8222
8223 SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8224 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8225 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"float");
8226 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"float");
8227
8229 SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8230 }
8231
8232 arg2 = (float)lua_tonumber(L, 2);
8233 arg3 = (float)lua_tonumber(L, 3);
8235
8236 return SWIG_arg;
8237
8238 if(0) SWIG_fail;
8239
8240fail:
8241 lua_error(L);
8242 return SWIG_arg;
8243}
8244
8245
8247 int SWIG_arg = 0;
8249 char *arg2 = (char *) 0 ;
8250 char *arg3 = (char *) 0 ;
8251
8252 SWIG_check_num_args("uiAbstractValueNode_t::set_range",3,3)
8253 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",1,"uiAbstractValueNode_t *");
8254 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",2,"char const *");
8255 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("uiAbstractValueNode_t::set_range",3,"char const *");
8256
8258 SWIG_fail_ptr("uiAbstractValueNode_set_range",1,SWIGTYPE_p_uiAbstractValueNode_t);
8259 }
8260
8261 arg2 = (char *)lua_tostring(L, 2);
8262 arg3 = (char *)lua_tostring(L, 3);
8263 uiAbstractValueNode_t_set_range__SWIG_1(arg1,(char const *)arg2,(char const *)arg3);
8264
8265 return SWIG_arg;
8266
8267 if(0) SWIG_fail;
8268
8269fail:
8270 lua_error(L);
8271 return SWIG_arg;
8272}
8273
8274
8275static int _wrap_uiAbstractValueNode_set_range(lua_State* L) {
8276 int argc;
8277 int argv[4]={
8278 1,2,3,4
8279 };
8280
8281 argc = lua_gettop(L);
8282 if (argc == 3) {
8283 int _v;
8284 {
8285 void *ptr;
8286 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8287 _v = 0;
8288 } else {
8289 _v = 1;
8290 }
8291 }
8292 if (_v) {
8293 {
8294 _v = lua_isnumber(L,argv[1]);
8295 }
8296 if (_v) {
8297 {
8298 _v = lua_isnumber(L,argv[2]);
8299 }
8300 if (_v) {
8302 }
8303 }
8304 }
8305 }
8306 if (argc == 3) {
8307 int _v;
8308 {
8309 void *ptr;
8310 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8311 _v = 0;
8312 } else {
8313 _v = 1;
8314 }
8315 }
8316 if (_v) {
8317 {
8318 _v = SWIG_lua_isnilstring(L,argv[1]);
8319 }
8320 if (_v) {
8321 {
8322 _v = SWIG_lua_isnilstring(L,argv[2]);
8323 }
8324 if (_v) {
8326 }
8327 }
8328 }
8329 }
8330
8331 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_range'\n"
8332 " Possible C/C++ prototypes are:\n"
8333 " uiAbstractValueNode_t::set_range(float,float)\n"
8334 " uiAbstractValueNode_t::set_range(char const *,char const *)\n");
8335 lua_error(L);return 0;
8336}
8337
8338
8340 int SWIG_arg = 0;
8342 float arg2 ;
8343
8344 SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8345 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8346 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"float");
8347
8349 SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8350 }
8351
8352 arg2 = (float)lua_tonumber(L, 2);
8354
8355 return SWIG_arg;
8356
8357 if(0) SWIG_fail;
8358
8359fail:
8360 lua_error(L);
8361 return SWIG_arg;
8362}
8363
8364
8366 int SWIG_arg = 0;
8368 float arg2 ;
8369
8370 SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8371 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8372 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"float");
8373
8375 SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8376 }
8377
8378 arg2 = (float)lua_tonumber(L, 2);
8380
8381 return SWIG_arg;
8382
8383 if(0) SWIG_fail;
8384
8385fail:
8386 lua_error(L);
8387 return SWIG_arg;
8388}
8389
8390
8392 int SWIG_arg = 0;
8394 float arg2 ;
8395
8396 SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8397 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8398 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"float");
8399
8401 SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8402 }
8403
8404 arg2 = (float)lua_tonumber(L, 2);
8406
8407 return SWIG_arg;
8408
8409 if(0) SWIG_fail;
8410
8411fail:
8412 lua_error(L);
8413 return SWIG_arg;
8414}
8415
8416
8418 int SWIG_arg = 0;
8420 char *arg2 = (char *) 0 ;
8421
8422 SWIG_check_num_args("uiAbstractValueNode_t::set_min",2,2)
8423 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",1,"uiAbstractValueNode_t *");
8424 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_min",2,"char const *");
8425
8427 SWIG_fail_ptr("uiAbstractValueNode_set_min",1,SWIGTYPE_p_uiAbstractValueNode_t);
8428 }
8429
8430 arg2 = (char *)lua_tostring(L, 2);
8431 uiAbstractValueNode_t_set_min__SWIG_1(arg1,(char const *)arg2);
8432
8433 return SWIG_arg;
8434
8435 if(0) SWIG_fail;
8436
8437fail:
8438 lua_error(L);
8439 return SWIG_arg;
8440}
8441
8442
8443static int _wrap_uiAbstractValueNode_set_min(lua_State* L) {
8444 int argc;
8445 int argv[3]={
8446 1,2,3
8447 };
8448
8449 argc = lua_gettop(L);
8450 if (argc == 2) {
8451 int _v;
8452 {
8453 void *ptr;
8454 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8455 _v = 0;
8456 } else {
8457 _v = 1;
8458 }
8459 }
8460 if (_v) {
8461 {
8462 _v = lua_isnumber(L,argv[1]);
8463 }
8464 if (_v) {
8466 }
8467 }
8468 }
8469 if (argc == 2) {
8470 int _v;
8471 {
8472 void *ptr;
8473 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8474 _v = 0;
8475 } else {
8476 _v = 1;
8477 }
8478 }
8479 if (_v) {
8480 {
8481 _v = SWIG_lua_isnilstring(L,argv[1]);
8482 }
8483 if (_v) {
8485 }
8486 }
8487 }
8488
8489 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_min'\n"
8490 " Possible C/C++ prototypes are:\n"
8491 " uiAbstractValueNode_t::set_min(float)\n"
8492 " uiAbstractValueNode_t::set_min(char const *)\n");
8493 lua_error(L);return 0;
8494}
8495
8496
8498 int SWIG_arg = 0;
8500 char *arg2 = (char *) 0 ;
8501
8502 SWIG_check_num_args("uiAbstractValueNode_t::set_max",2,2)
8503 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",1,"uiAbstractValueNode_t *");
8504 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_max",2,"char const *");
8505
8507 SWIG_fail_ptr("uiAbstractValueNode_set_max",1,SWIGTYPE_p_uiAbstractValueNode_t);
8508 }
8509
8510 arg2 = (char *)lua_tostring(L, 2);
8511 uiAbstractValueNode_t_set_max__SWIG_1(arg1,(char const *)arg2);
8512
8513 return SWIG_arg;
8514
8515 if(0) SWIG_fail;
8516
8517fail:
8518 lua_error(L);
8519 return SWIG_arg;
8520}
8521
8522
8523static int _wrap_uiAbstractValueNode_set_max(lua_State* L) {
8524 int argc;
8525 int argv[3]={
8526 1,2,3
8527 };
8528
8529 argc = lua_gettop(L);
8530 if (argc == 2) {
8531 int _v;
8532 {
8533 void *ptr;
8534 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8535 _v = 0;
8536 } else {
8537 _v = 1;
8538 }
8539 }
8540 if (_v) {
8541 {
8542 _v = lua_isnumber(L,argv[1]);
8543 }
8544 if (_v) {
8546 }
8547 }
8548 }
8549 if (argc == 2) {
8550 int _v;
8551 {
8552 void *ptr;
8553 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8554 _v = 0;
8555 } else {
8556 _v = 1;
8557 }
8558 }
8559 if (_v) {
8560 {
8561 _v = SWIG_lua_isnilstring(L,argv[1]);
8562 }
8563 if (_v) {
8565 }
8566 }
8567 }
8568
8569 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_max'\n"
8570 " Possible C/C++ prototypes are:\n"
8571 " uiAbstractValueNode_t::set_max(float)\n"
8572 " uiAbstractValueNode_t::set_max(char const *)\n");
8573 lua_error(L);return 0;
8574}
8575
8576
8578 int SWIG_arg = 0;
8580 char *arg2 = (char *) 0 ;
8581
8582 SWIG_check_num_args("uiAbstractValueNode_t::set_value",2,2)
8583 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",1,"uiAbstractValueNode_t *");
8584 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_value",2,"char const *");
8585
8587 SWIG_fail_ptr("uiAbstractValueNode_set_value",1,SWIGTYPE_p_uiAbstractValueNode_t);
8588 }
8589
8590 arg2 = (char *)lua_tostring(L, 2);
8591 uiAbstractValueNode_t_set_value__SWIG_1(arg1,(char const *)arg2);
8592
8593 return SWIG_arg;
8594
8595 if(0) SWIG_fail;
8596
8597fail:
8598 lua_error(L);
8599 return SWIG_arg;
8600}
8601
8602
8603static int _wrap_uiAbstractValueNode_set_value(lua_State* L) {
8604 int argc;
8605 int argv[3]={
8606 1,2,3
8607 };
8608
8609 argc = lua_gettop(L);
8610 if (argc == 2) {
8611 int _v;
8612 {
8613 void *ptr;
8614 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8615 _v = 0;
8616 } else {
8617 _v = 1;
8618 }
8619 }
8620 if (_v) {
8621 {
8622 _v = lua_isnumber(L,argv[1]);
8623 }
8624 if (_v) {
8626 }
8627 }
8628 }
8629 if (argc == 2) {
8630 int _v;
8631 {
8632 void *ptr;
8633 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiAbstractValueNode_t, 0)) {
8634 _v = 0;
8635 } else {
8636 _v = 1;
8637 }
8638 }
8639 if (_v) {
8640 {
8641 _v = SWIG_lua_isnilstring(L,argv[1]);
8642 }
8643 if (_v) {
8645 }
8646 }
8647 }
8648
8649 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiAbstractValueNode_set_value'\n"
8650 " Possible C/C++ prototypes are:\n"
8651 " uiAbstractValueNode_t::set_value(float)\n"
8652 " uiAbstractValueNode_t::set_value(char const *)\n");
8653 lua_error(L);return 0;
8654}
8655
8656
8657static int _wrap_uiAbstractValueNode_set_delta(lua_State* L) {
8658 int SWIG_arg = 0;
8660 float arg2 ;
8661
8662 SWIG_check_num_args("uiAbstractValueNode_t::set_delta",2,2)
8663 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",1,"uiAbstractValueNode_t *");
8664 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_delta",2,"float");
8665
8667 SWIG_fail_ptr("uiAbstractValueNode_set_delta",1,SWIGTYPE_p_uiAbstractValueNode_t);
8668 }
8669
8670 arg2 = (float)lua_tonumber(L, 2);
8672
8673 return SWIG_arg;
8674
8675 if(0) SWIG_fail;
8676
8677fail:
8678 lua_error(L);
8679 return SWIG_arg;
8680}
8681
8682
8684 int SWIG_arg = 0;
8686 float arg2 ;
8687
8688 SWIG_check_num_args("uiAbstractValueNode_t::set_shiftmultiplier",2,2)
8689 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",1,"uiAbstractValueNode_t *");
8690 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiAbstractValueNode_t::set_shiftmultiplier",2,"float");
8691
8693 SWIG_fail_ptr("uiAbstractValueNode_set_shiftmultiplier",1,SWIGTYPE_p_uiAbstractValueNode_t);
8694 }
8695
8696 arg2 = (float)lua_tonumber(L, 2);
8698
8699 return SWIG_arg;
8700
8701 if(0) SWIG_fail;
8702
8703fail:
8704 lua_error(L);
8705 return SWIG_arg;
8706}
8707
8708
8709static int _wrap_new_uiAbstractValueNode(lua_State* L) {
8710 int SWIG_arg = 0;
8711 uiAbstractValueNode_t *result = 0 ;
8712
8713 SWIG_check_num_args("uiAbstractValueNode_t::uiAbstractValueNode_t",0,0)
8716 return SWIG_arg;
8717
8718 if(0) SWIG_fail;
8719
8720fail:
8721 lua_error(L);
8722 return SWIG_arg;
8723}
8724
8725
8726static void swig_delete_uiAbstractValueNode(void *obj) {
8728delete arg1;
8729}
8731 assert(lua_istable(L,1));
8732 lua_pushcfunction(L,_wrap_new_uiAbstractValueNode);
8733 assert(!lua_isnil(L,-1));
8734 lua_replace(L,1); /* replace our table with real constructor */
8735 lua_call(L,lua_gettop(L)-1,1);
8736 return 1;
8737}
8759 {0,0}
8760};
8761
8774
8784static const char *swig_uiAbstractValueNode_base_names[] = {"uiNode_t *",0};
8786
8787static int _wrap_uiBar_is_readonly(lua_State* L) {
8788 int SWIG_arg = 0;
8789 uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8790 bool result;
8791
8792 SWIG_check_num_args("uiBarNode_t::is_readonly",1,1)
8793 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_readonly",1,"uiBarNode_t *");
8794
8795 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8796 SWIG_fail_ptr("uiBar_is_readonly",1,SWIGTYPE_p_uiBarNode_t);
8797 }
8798
8799 result = (bool)uiBarNode_t_is_readonly(arg1);
8800 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8801 return SWIG_arg;
8802
8803 if(0) SWIG_fail;
8804
8805fail:
8806 lua_error(L);
8807 return SWIG_arg;
8808}
8809
8810
8811static int _wrap_uiBar_is_nohover(lua_State* L) {
8812 int SWIG_arg = 0;
8813 uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8814 bool result;
8815
8816 SWIG_check_num_args("uiBarNode_t::is_nohover",1,1)
8817 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::is_nohover",1,"uiBarNode_t *");
8818
8819 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8820 SWIG_fail_ptr("uiBar_is_nohover",1,SWIGTYPE_p_uiBarNode_t);
8821 }
8822
8823 result = (bool)uiBarNode_t_is_nohover(arg1);
8824 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
8825 return SWIG_arg;
8826
8827 if(0) SWIG_fail;
8828
8829fail:
8830 lua_error(L);
8831 return SWIG_arg;
8832}
8833
8834
8835static int _wrap_uiBar_direction(lua_State* L) {
8836 int SWIG_arg = 0;
8837 uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8838 int result;
8839
8840 SWIG_check_num_args("uiBarNode_t::direction",1,1)
8841 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::direction",1,"uiBarNode_t *");
8842
8843 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8844 SWIG_fail_ptr("uiBar_direction",1,SWIGTYPE_p_uiBarNode_t);
8845 }
8846
8847 result = (int)uiBarNode_t_direction(arg1);
8848 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
8849 return SWIG_arg;
8850
8851 if(0) SWIG_fail;
8852
8853fail:
8854 lua_error(L);
8855 return SWIG_arg;
8856}
8857
8858
8859static int _wrap_uiBar_set_direction(lua_State* L) {
8860 int SWIG_arg = 0;
8861 uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8862 int arg2 ;
8863
8864 SWIG_check_num_args("uiBarNode_t::set_direction",2,2)
8865 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_direction",1,"uiBarNode_t *");
8866 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBarNode_t::set_direction",2,"int");
8867
8868 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8869 SWIG_fail_ptr("uiBar_set_direction",1,SWIGTYPE_p_uiBarNode_t);
8870 }
8871
8872 arg2 = (int)lua_tonumber(L, 2);
8873 uiBarNode_t_set_direction(arg1,arg2);
8874
8875 return SWIG_arg;
8876
8877 if(0) SWIG_fail;
8878
8879fail:
8880 lua_error(L);
8881 return SWIG_arg;
8882}
8883
8884
8885static int _wrap_uiBar_set_readonly(lua_State* L) {
8886 int SWIG_arg = 0;
8887 uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8888 bool arg2 ;
8889
8890 SWIG_check_num_args("uiBarNode_t::set_readonly",2,2)
8891 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_readonly",1,"uiBarNode_t *");
8892 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_readonly",2,"bool");
8893
8894 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8895 SWIG_fail_ptr("uiBar_set_readonly",1,SWIGTYPE_p_uiBarNode_t);
8896 }
8897
8898 arg2 = (lua_toboolean(L, 2)!=0);
8899 uiBarNode_t_set_readonly(arg1,arg2);
8900
8901 return SWIG_arg;
8902
8903 if(0) SWIG_fail;
8904
8905fail:
8906 lua_error(L);
8907 return SWIG_arg;
8908}
8909
8910
8911static int _wrap_uiBar_set_nohover(lua_State* L) {
8912 int SWIG_arg = 0;
8913 uiBarNode_t *arg1 = (uiBarNode_t *) 0 ;
8914 bool arg2 ;
8915
8916 SWIG_check_num_args("uiBarNode_t::set_nohover",2,2)
8917 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBarNode_t::set_nohover",1,"uiBarNode_t *");
8918 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBarNode_t::set_nohover",2,"bool");
8919
8920 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBarNode_t,0))){
8921 SWIG_fail_ptr("uiBar_set_nohover",1,SWIGTYPE_p_uiBarNode_t);
8922 }
8923
8924 arg2 = (lua_toboolean(L, 2)!=0);
8925 uiBarNode_t_set_nohover(arg1,arg2);
8926
8927 return SWIG_arg;
8928
8929 if(0) SWIG_fail;
8930
8931fail:
8932 lua_error(L);
8933 return SWIG_arg;
8934}
8935
8936
8937static int _wrap_new_uiBar(lua_State* L) {
8938 int SWIG_arg = 0;
8939 uiBarNode_t *result = 0 ;
8940
8941 SWIG_check_num_args("uiBarNode_t::uiBarNode_t",0,0)
8942 result = (uiBarNode_t *)new uiBarNode_t();
8943 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,1); SWIG_arg++;
8944 return SWIG_arg;
8945
8946 if(0) SWIG_fail;
8947
8948fail:
8949 lua_error(L);
8950 return SWIG_arg;
8951}
8952
8953
8954static void swig_delete_uiBar(void *obj) {
8955uiBarNode_t *arg1 = (uiBarNode_t *) obj;
8956delete arg1;
8957}
8958static int _proxy__wrap_new_uiBar(lua_State *L) {
8959 assert(lua_istable(L,1));
8960 lua_pushcfunction(L,_wrap_new_uiBar);
8961 assert(!lua_isnil(L,-1));
8962 lua_replace(L,1); /* replace our table with real constructor */
8963 lua_call(L,lua_gettop(L)-1,1);
8964 return 1;
8965}
8967 {0,0,0}
8968};
8970 { "is_readonly", _wrap_uiBar_is_readonly},
8971 { "is_nohover", _wrap_uiBar_is_nohover},
8972 { "direction", _wrap_uiBar_direction},
8973 { "set_direction", _wrap_uiBar_set_direction},
8974 { "set_readonly", _wrap_uiBar_set_readonly},
8975 { "set_nohover", _wrap_uiBar_set_nohover},
8976 {0,0}
8977};
8979 {0,0}
8980};
8981
8986 {0,0,0,0,0,0}
8987};
8994
9004static const char *swig_uiBar_base_names[] = {"uiAbstractValueNode_t *",0};
9006
9007static int _wrap_uiBaseLayout_baseid(lua_State* L) {
9008 int SWIG_arg = 0;
9010 int result;
9011
9012 SWIG_check_num_args("uiBaseLayoutNode_t::baseid",1,1)
9013 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::baseid",1,"uiBaseLayoutNode_t *");
9014
9015 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9016 SWIG_fail_ptr("uiBaseLayout_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9017 }
9018
9019 result = (int)uiBaseLayoutNode_t_baseid(arg1);
9020 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9021 return SWIG_arg;
9022
9023 if(0) SWIG_fail;
9024
9025fail:
9026 lua_error(L);
9027 return SWIG_arg;
9028}
9029
9030
9031static int _wrap_uiBaseLayout_set_baseid(lua_State* L) {
9032 int SWIG_arg = 0;
9034 int arg2 ;
9035
9036 SWIG_check_num_args("uiBaseLayoutNode_t::set_baseid",2,2)
9037 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",1,"uiBaseLayoutNode_t *");
9038 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseLayoutNode_t::set_baseid",2,"int");
9039
9040 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiBaseLayoutNode_t,0))){
9041 SWIG_fail_ptr("uiBaseLayout_set_baseid",1,SWIGTYPE_p_uiBaseLayoutNode_t);
9042 }
9043
9044 arg2 = (int)lua_tonumber(L, 2);
9046
9047 return SWIG_arg;
9048
9049 if(0) SWIG_fail;
9050
9051fail:
9052 lua_error(L);
9053 return SWIG_arg;
9054}
9055
9056
9057static int _wrap_new_uiBaseLayout(lua_State* L) {
9058 int SWIG_arg = 0;
9059 uiBaseLayoutNode_t *result = 0 ;
9060
9061 SWIG_check_num_args("uiBaseLayoutNode_t::uiBaseLayoutNode_t",0,0)
9062 result = (uiBaseLayoutNode_t *)new uiBaseLayoutNode_t();
9063 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,1); SWIG_arg++;
9064 return SWIG_arg;
9065
9066 if(0) SWIG_fail;
9067
9068fail:
9069 lua_error(L);
9070 return SWIG_arg;
9071}
9072
9073
9074static void swig_delete_uiBaseLayout(void *obj) {
9076delete arg1;
9077}
9078static int _proxy__wrap_new_uiBaseLayout(lua_State *L) {
9079 assert(lua_istable(L,1));
9080 lua_pushcfunction(L,_wrap_new_uiBaseLayout);
9081 assert(!lua_isnil(L,-1));
9082 lua_replace(L,1); /* replace our table with real constructor */
9083 lua_call(L,lua_gettop(L)-1,1);
9084 return 1;
9085}
9087 {0,0,0}
9088};
9090 { "baseid", _wrap_uiBaseLayout_baseid},
9091 { "set_baseid", _wrap_uiBaseLayout_set_baseid},
9092 {0,0}
9093};
9095 {0,0}
9096};
9097
9110
9120static const char *swig_uiBaseLayout_base_names[] = {"uiNode_t *",0};
9122
9123static int _wrap_uiButton_flipicon(lua_State* L) {
9124 int SWIG_arg = 0;
9125 uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9126 bool result;
9127
9128 SWIG_check_num_args("uiButtonNode_t::flipicon",1,1)
9129 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::flipicon",1,"uiButtonNode_t *");
9130
9131 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9132 SWIG_fail_ptr("uiButton_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9133 }
9134
9135 result = (bool)uiButtonNode_t_flipicon(arg1);
9136 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9137 return SWIG_arg;
9138
9139 if(0) SWIG_fail;
9140
9141fail:
9142 lua_error(L);
9143 return SWIG_arg;
9144}
9145
9146
9147static int _wrap_uiButton_set_flipicon(lua_State* L) {
9148 int SWIG_arg = 0;
9149 uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9150 bool arg2 ;
9151
9152 SWIG_check_num_args("uiButtonNode_t::set_flipicon",2,2)
9153 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",1,"uiButtonNode_t *");
9154 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiButtonNode_t::set_flipicon",2,"bool");
9155
9156 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9157 SWIG_fail_ptr("uiButton_set_flipicon",1,SWIGTYPE_p_uiButtonNode_t);
9158 }
9159
9160 arg2 = (lua_toboolean(L, 2)!=0);
9161 uiButtonNode_t_set_flipicon(arg1,arg2);
9162
9163 return SWIG_arg;
9164
9165 if(0) SWIG_fail;
9166
9167fail:
9168 lua_error(L);
9169 return SWIG_arg;
9170}
9171
9172
9173static int _wrap_uiButton_set_background(lua_State* L) {
9174 int SWIG_arg = 0;
9175 uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9176 char *arg2 = (char *) 0 ;
9177
9178 SWIG_check_num_args("uiButtonNode_t::set_background",2,2)
9179 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_background",1,"uiButtonNode_t *");
9180 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_background",2,"char const *");
9181
9182 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9183 SWIG_fail_ptr("uiButton_set_background",1,SWIGTYPE_p_uiButtonNode_t);
9184 }
9185
9186 arg2 = (char *)lua_tostring(L, 2);
9187 uiButtonNode_t_set_background(arg1,(char const *)arg2);
9188
9189 return SWIG_arg;
9190
9191 if(0) SWIG_fail;
9192
9193fail:
9194 lua_error(L);
9195 return SWIG_arg;
9196}
9197
9198
9199static int _wrap_uiButton_set_icon(lua_State* L) {
9200 int SWIG_arg = 0;
9201 uiButtonNode_t *arg1 = (uiButtonNode_t *) 0 ;
9202 char *arg2 = (char *) 0 ;
9203
9204 SWIG_check_num_args("uiButtonNode_t::set_icon",2,2)
9205 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiButtonNode_t::set_icon",1,"uiButtonNode_t *");
9206 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiButtonNode_t::set_icon",2,"char const *");
9207
9208 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiButtonNode_t,0))){
9209 SWIG_fail_ptr("uiButton_set_icon",1,SWIGTYPE_p_uiButtonNode_t);
9210 }
9211
9212 arg2 = (char *)lua_tostring(L, 2);
9213 uiButtonNode_t_set_icon(arg1,(char const *)arg2);
9214
9215 return SWIG_arg;
9216
9217 if(0) SWIG_fail;
9218
9219fail:
9220 lua_error(L);
9221 return SWIG_arg;
9222}
9223
9224
9225static int _wrap_new_uiButton(lua_State* L) {
9226 int SWIG_arg = 0;
9227 uiButtonNode_t *result = 0 ;
9228
9229 SWIG_check_num_args("uiButtonNode_t::uiButtonNode_t",0,0)
9230 result = (uiButtonNode_t *)new uiButtonNode_t();
9231 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,1); SWIG_arg++;
9232 return SWIG_arg;
9233
9234 if(0) SWIG_fail;
9235
9236fail:
9237 lua_error(L);
9238 return SWIG_arg;
9239}
9240
9241
9242static void swig_delete_uiButton(void *obj) {
9243uiButtonNode_t *arg1 = (uiButtonNode_t *) obj;
9244delete arg1;
9245}
9246static int _proxy__wrap_new_uiButton(lua_State *L) {
9247 assert(lua_istable(L,1));
9248 lua_pushcfunction(L,_wrap_new_uiButton);
9249 assert(!lua_isnil(L,-1));
9250 lua_replace(L,1); /* replace our table with real constructor */
9251 lua_call(L,lua_gettop(L)-1,1);
9252 return 1;
9253}
9255 {0,0,0}
9256};
9258 { "flipicon", _wrap_uiButton_flipicon},
9259 { "set_flipicon", _wrap_uiButton_set_flipicon},
9260 { "set_background", _wrap_uiButton_set_background},
9261 { "set_icon", _wrap_uiButton_set_icon},
9262 {0,0}
9263};
9265 {0,0}
9266};
9267
9280
9290static const char *swig_uiButton_base_names[] = {"uiNode_t *",0};
9292
9293static int _wrap_uiCheckBox_as_boolean(lua_State* L) {
9294 int SWIG_arg = 0;
9295 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9296 bool result;
9297
9298 SWIG_check_num_args("uiCheckBoxNode_t::as_boolean",1,1)
9299 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_boolean",1,"uiCheckBoxNode_t *");
9300
9301 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9302 SWIG_fail_ptr("uiCheckBox_as_boolean",1,SWIGTYPE_p_uiCheckBoxNode_t);
9303 }
9304
9305 result = (bool)uiCheckBoxNode_t_as_boolean(arg1);
9306 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9307 return SWIG_arg;
9308
9309 if(0) SWIG_fail;
9310
9311fail:
9312 lua_error(L);
9313 return SWIG_arg;
9314}
9315
9316
9317static int _wrap_uiCheckBox_as_integer(lua_State* L) {
9318 int SWIG_arg = 0;
9319 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9320 int result;
9321
9322 SWIG_check_num_args("uiCheckBoxNode_t::as_integer",1,1)
9323 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::as_integer",1,"uiCheckBoxNode_t *");
9324
9325 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9326 SWIG_fail_ptr("uiCheckBox_as_integer",1,SWIGTYPE_p_uiCheckBoxNode_t);
9327 }
9328
9329 result = (int)uiCheckBoxNode_t_as_integer(arg1);
9330 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9331 return SWIG_arg;
9332
9333 if(0) SWIG_fail;
9334
9335fail:
9336 lua_error(L);
9337 return SWIG_arg;
9338}
9339
9340
9341static int _wrap_uiCheckBox_set_background(lua_State* L) {
9342 int SWIG_arg = 0;
9343 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9344 char *arg2 = (char *) 0 ;
9345
9346 SWIG_check_num_args("uiCheckBoxNode_t::set_background",2,2)
9347 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",1,"uiCheckBoxNode_t *");
9348 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_background",2,"char const *");
9349
9350 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9351 SWIG_fail_ptr("uiCheckBox_set_background",1,SWIGTYPE_p_uiCheckBoxNode_t);
9352 }
9353
9354 arg2 = (char *)lua_tostring(L, 2);
9355 uiCheckBoxNode_t_set_background(arg1,(char const *)arg2);
9356
9357 return SWIG_arg;
9358
9359 if(0) SWIG_fail;
9360
9361fail:
9362 lua_error(L);
9363 return SWIG_arg;
9364}
9365
9366
9367static int _wrap_uiCheckBox_set_iconchecked(lua_State* L) {
9368 int SWIG_arg = 0;
9369 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9370 char *arg2 = (char *) 0 ;
9371
9372 SWIG_check_num_args("uiCheckBoxNode_t::set_iconchecked",2,2)
9373 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",1,"uiCheckBoxNode_t *");
9374 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconchecked",2,"char const *");
9375
9376 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9377 SWIG_fail_ptr("uiCheckBox_set_iconchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9378 }
9379
9380 arg2 = (char *)lua_tostring(L, 2);
9381 uiCheckBoxNode_t_set_iconchecked(arg1,(char const *)arg2);
9382
9383 return SWIG_arg;
9384
9385 if(0) SWIG_fail;
9386
9387fail:
9388 lua_error(L);
9389 return SWIG_arg;
9390}
9391
9392
9393static int _wrap_uiCheckBox_set_iconunchecked(lua_State* L) {
9394 int SWIG_arg = 0;
9395 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9396 char *arg2 = (char *) 0 ;
9397
9398 SWIG_check_num_args("uiCheckBoxNode_t::set_iconunchecked",2,2)
9399 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",1,"uiCheckBoxNode_t *");
9400 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunchecked",2,"char const *");
9401
9402 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9403 SWIG_fail_ptr("uiCheckBox_set_iconunchecked",1,SWIGTYPE_p_uiCheckBoxNode_t);
9404 }
9405
9406 arg2 = (char *)lua_tostring(L, 2);
9407 uiCheckBoxNode_t_set_iconunchecked(arg1,(char const *)arg2);
9408
9409 return SWIG_arg;
9410
9411 if(0) SWIG_fail;
9412
9413fail:
9414 lua_error(L);
9415 return SWIG_arg;
9416}
9417
9418
9419static int _wrap_uiCheckBox_set_iconunknown(lua_State* L) {
9420 int SWIG_arg = 0;
9421 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9422 char *arg2 = (char *) 0 ;
9423
9424 SWIG_check_num_args("uiCheckBoxNode_t::set_iconunknown",2,2)
9425 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",1,"uiCheckBoxNode_t *");
9426 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiCheckBoxNode_t::set_iconunknown",2,"char const *");
9427
9428 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9429 SWIG_fail_ptr("uiCheckBox_set_iconunknown",1,SWIGTYPE_p_uiCheckBoxNode_t);
9430 }
9431
9432 arg2 = (char *)lua_tostring(L, 2);
9433 uiCheckBoxNode_t_set_iconunknown(arg1,(char const *)arg2);
9434
9435 return SWIG_arg;
9436
9437 if(0) SWIG_fail;
9438
9439fail:
9440 lua_error(L);
9441 return SWIG_arg;
9442}
9443
9444
9445static int _wrap_uiCheckBox_toggle(lua_State* L) {
9446 int SWIG_arg = 0;
9447 uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) 0 ;
9448
9449 SWIG_check_num_args("uiCheckBoxNode_t::toggle",1,1)
9450 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiCheckBoxNode_t::toggle",1,"uiCheckBoxNode_t *");
9451
9452 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiCheckBoxNode_t,0))){
9453 SWIG_fail_ptr("uiCheckBox_toggle",1,SWIGTYPE_p_uiCheckBoxNode_t);
9454 }
9455
9457
9458 return SWIG_arg;
9459
9460 if(0) SWIG_fail;
9461
9462fail:
9463 lua_error(L);
9464 return SWIG_arg;
9465}
9466
9467
9468static int _wrap_new_uiCheckBox(lua_State* L) {
9469 int SWIG_arg = 0;
9470 uiCheckBoxNode_t *result = 0 ;
9471
9472 SWIG_check_num_args("uiCheckBoxNode_t::uiCheckBoxNode_t",0,0)
9473 result = (uiCheckBoxNode_t *)new uiCheckBoxNode_t();
9474 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,1); SWIG_arg++;
9475 return SWIG_arg;
9476
9477 if(0) SWIG_fail;
9478
9479fail:
9480 lua_error(L);
9481 return SWIG_arg;
9482}
9483
9484
9485static void swig_delete_uiCheckBox(void *obj) {
9486uiCheckBoxNode_t *arg1 = (uiCheckBoxNode_t *) obj;
9487delete arg1;
9488}
9489static int _proxy__wrap_new_uiCheckBox(lua_State *L) {
9490 assert(lua_istable(L,1));
9491 lua_pushcfunction(L,_wrap_new_uiCheckBox);
9492 assert(!lua_isnil(L,-1));
9493 lua_replace(L,1); /* replace our table with real constructor */
9494 lua_call(L,lua_gettop(L)-1,1);
9495 return 1;
9496}
9498 {0,0,0}
9499};
9501 { "as_boolean", _wrap_uiCheckBox_as_boolean},
9502 { "as_integer", _wrap_uiCheckBox_as_integer},
9503 { "set_background", _wrap_uiCheckBox_set_background},
9504 { "set_iconchecked", _wrap_uiCheckBox_set_iconchecked},
9505 { "set_iconunchecked", _wrap_uiCheckBox_set_iconunchecked},
9506 { "set_iconunknown", _wrap_uiCheckBox_set_iconunknown},
9507 { "toggle", _wrap_uiCheckBox_toggle},
9508 {0,0}
9509};
9511 {0,0}
9512};
9513
9526
9536static const char *swig_uiCheckBox_base_names[] = {"uiAbstractValueNode_t *",0};
9538
9539static int _wrap_new_uiConFunc(lua_State* L) {
9540 int SWIG_arg = 0;
9541 uiConFuncNode_t *result = 0 ;
9542
9543 SWIG_check_num_args("uiConFuncNode_t::uiConFuncNode_t",0,0)
9544 result = (uiConFuncNode_t *)new uiConFuncNode_t();
9545 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,1); SWIG_arg++;
9546 return SWIG_arg;
9547
9548 if(0) SWIG_fail;
9549
9550fail:
9551 lua_error(L);
9552 return SWIG_arg;
9553}
9554
9555
9556static void swig_delete_uiConFunc(void *obj) {
9557uiConFuncNode_t *arg1 = (uiConFuncNode_t *) obj;
9558delete arg1;
9559}
9560static int _proxy__wrap_new_uiConFunc(lua_State *L) {
9561 assert(lua_istable(L,1));
9562 lua_pushcfunction(L,_wrap_new_uiConFunc);
9563 assert(!lua_isnil(L,-1));
9564 lua_replace(L,1); /* replace our table with real constructor */
9565 lua_call(L,lua_gettop(L)-1,1);
9566 return 1;
9567}
9569 {0,0,0}
9570};
9572 {0,0}
9573};
9575 {0,0}
9576};
9577
9590
9600static const char *swig_uiConFunc_base_names[] = {"uiNode_t *",0};
9602
9603static int _wrap_uiContainer_selectedid(lua_State* L) {
9604 int SWIG_arg = 0;
9605 uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9606 int result;
9607
9608 SWIG_check_num_args("uiContainerNode_t::selectedid",1,1)
9609 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::selectedid",1,"uiContainerNode_t *");
9610
9611 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9612 SWIG_fail_ptr("uiContainer_selectedid",1,SWIGTYPE_p_uiContainerNode_t);
9613 }
9614
9615 result = (int)uiContainerNode_t_selectedid(arg1);
9616 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9617 return SWIG_arg;
9618
9619 if(0) SWIG_fail;
9620
9621fail:
9622 lua_error(L);
9623 return SWIG_arg;
9624}
9625
9626
9627static int _wrap_uiContainer_on_select_set(lua_State* L) {
9628 int SWIG_arg = 0;
9629 uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9630 LUA_EVENT arg2 ;
9631
9632 SWIG_check_num_args("uiContainerNode_t::lua_onSelect",2,2)
9633 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9634
9635 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9636 SWIG_fail_ptr("uiContainer_on_select_set",1,SWIGTYPE_p_uiContainerNode_t);
9637 }
9638
9639 {
9640 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
9641 }
9643
9644 return SWIG_arg;
9645
9646 if(0) SWIG_fail;
9647
9648fail:
9649 lua_error(L);
9650 return SWIG_arg;
9651}
9652
9653
9654static int _wrap_uiContainer_on_select_get(lua_State* L) {
9655 int SWIG_arg = 0;
9656 uiContainerNode_t *arg1 = (uiContainerNode_t *) 0 ;
9657 LUA_EVENT result;
9658
9659 SWIG_check_num_args("uiContainerNode_t::lua_onSelect",1,1)
9660 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiContainerNode_t::lua_onSelect",1,"uiContainerNode_t *");
9661
9662 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiContainerNode_t,0))){
9663 SWIG_fail_ptr("uiContainer_on_select_get",1,SWIGTYPE_p_uiContainerNode_t);
9664 }
9665
9667 {
9668 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
9669 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
9670 }
9671 return SWIG_arg;
9672
9673 if(0) SWIG_fail;
9674
9675fail:
9676 lua_error(L);
9677 return SWIG_arg;
9678}
9679
9680
9681static int _wrap_new_uiContainer(lua_State* L) {
9682 int SWIG_arg = 0;
9683 uiContainerNode_t *result = 0 ;
9684
9685 SWIG_check_num_args("uiContainerNode_t::uiContainerNode_t",0,0)
9686 result = (uiContainerNode_t *)new uiContainerNode_t();
9687 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,1); SWIG_arg++;
9688 return SWIG_arg;
9689
9690 if(0) SWIG_fail;
9691
9692fail:
9693 lua_error(L);
9694 return SWIG_arg;
9695}
9696
9697
9698static void swig_delete_uiContainer(void *obj) {
9699uiContainerNode_t *arg1 = (uiContainerNode_t *) obj;
9700delete arg1;
9701}
9702static int _proxy__wrap_new_uiContainer(lua_State *L) {
9703 assert(lua_istable(L,1));
9704 lua_pushcfunction(L,_wrap_new_uiContainer);
9705 assert(!lua_isnil(L,-1));
9706 lua_replace(L,1); /* replace our table with real constructor */
9707 lua_call(L,lua_gettop(L)-1,1);
9708 return 1;
9709}
9715 { "selectedid", _wrap_uiContainer_selectedid},
9716 {0,0}
9717};
9719 {0,0}
9720};
9721
9734
9744static const char *swig_uiContainer_base_names[] = {"uiNode_t *",0};
9746
9747static int _wrap_uiBaseInventory_filtertype(lua_State* L) {
9748 int SWIG_arg = 0;
9750 int result;
9751
9752 SWIG_check_num_args("uiBaseInventoryNode_t::filtertype",1,1)
9753 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::filtertype",1,"uiBaseInventoryNode_t *");
9754
9756 SWIG_fail_ptr("uiBaseInventory_filtertype",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9757 }
9758
9759 result = (int)uiBaseInventoryNode_t_filtertype(arg1);
9760 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9761 return SWIG_arg;
9762
9763 if(0) SWIG_fail;
9764
9765fail:
9766 lua_error(L);
9767 return SWIG_arg;
9768}
9769
9770
9771static int _wrap_uiBaseInventory_columns(lua_State* L) {
9772 int SWIG_arg = 0;
9774 int result;
9775
9776 SWIG_check_num_args("uiBaseInventoryNode_t::columns",1,1)
9777 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::columns",1,"uiBaseInventoryNode_t *");
9778
9780 SWIG_fail_ptr("uiBaseInventory_columns",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9781 }
9782
9783 result = (int)uiBaseInventoryNode_t_columns(arg1);
9784 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
9785 return SWIG_arg;
9786
9787 if(0) SWIG_fail;
9788
9789fail:
9790 lua_error(L);
9791 return SWIG_arg;
9792}
9793
9794
9796 int SWIG_arg = 0;
9798 bool result;
9799
9800 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweapon",1,1)
9801 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweapon",1,"uiBaseInventoryNode_t *");
9802
9804 SWIG_fail_ptr("uiBaseInventory_is_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9805 }
9806
9807 result = (bool)uiBaseInventoryNode_t_is_displayweapon(arg1);
9808 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9809 return SWIG_arg;
9810
9811 if(0) SWIG_fail;
9812
9813fail:
9814 lua_error(L);
9815 return SWIG_arg;
9816}
9817
9818
9820 int SWIG_arg = 0;
9822 bool result;
9823
9824 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayweaponammo",1,1)
9825 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayweaponammo",1,"uiBaseInventoryNode_t *");
9826
9828 SWIG_fail_ptr("uiBaseInventory_is_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9829 }
9830
9831 result = (bool)uiBaseInventoryNode_t_is_displayweaponammo(arg1);
9832 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9833 return SWIG_arg;
9834
9835 if(0) SWIG_fail;
9836
9837fail:
9838 lua_error(L);
9839 return SWIG_arg;
9840}
9841
9842
9844 int SWIG_arg = 0;
9846 bool result;
9847
9848 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayammo",1,1)
9849 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayammo",1,"uiBaseInventoryNode_t *");
9850
9852 SWIG_fail_ptr("uiBaseInventory_is_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9853 }
9854
9855 result = (bool)uiBaseInventoryNode_t_is_displayammo(arg1);
9856 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9857 return SWIG_arg;
9858
9859 if(0) SWIG_fail;
9860
9861fail:
9862 lua_error(L);
9863 return SWIG_arg;
9864}
9865
9866
9868 int SWIG_arg = 0;
9870 bool result;
9871
9872 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayimplant",1,1)
9873 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayimplant",1,"uiBaseInventoryNode_t *");
9874
9876 SWIG_fail_ptr("uiBaseInventory_is_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9877 }
9878
9879 result = (bool)uiBaseInventoryNode_t_is_displayimplant(arg1);
9880 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9881 return SWIG_arg;
9882
9883 if(0) SWIG_fail;
9884
9885fail:
9886 lua_error(L);
9887 return SWIG_arg;
9888}
9889
9890
9892 int SWIG_arg = 0;
9894 bool result;
9895
9896 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailable",1,1)
9897 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailable",1,"uiBaseInventoryNode_t *");
9898
9900 SWIG_fail_ptr("uiBaseInventory_is_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9901 }
9902
9904 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9905 return SWIG_arg;
9906
9907 if(0) SWIG_fail;
9908
9909fail:
9910 lua_error(L);
9911 return SWIG_arg;
9912}
9913
9914
9916 int SWIG_arg = 0;
9918 bool result;
9919
9920 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayunavailableammo",1,1)
9921 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayunavailableammo",1,"uiBaseInventoryNode_t *");
9922
9924 SWIG_fail_ptr("uiBaseInventory_is_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9925 }
9926
9928 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9929 return SWIG_arg;
9930
9931 if(0) SWIG_fail;
9932
9933fail:
9934 lua_error(L);
9935 return SWIG_arg;
9936}
9937
9938
9940 int SWIG_arg = 0;
9942 bool result;
9943
9944 SWIG_check_num_args("uiBaseInventoryNode_t::is_displayavailableontop",1,1)
9945 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::is_displayavailableontop",1,"uiBaseInventoryNode_t *");
9946
9948 SWIG_fail_ptr("uiBaseInventory_is_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9949 }
9950
9952 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
9953 return SWIG_arg;
9954
9955 if(0) SWIG_fail;
9956
9957fail:
9958 lua_error(L);
9959 return SWIG_arg;
9960}
9961
9962
9964 int SWIG_arg = 0;
9966 bool arg2 ;
9967
9968 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweapon",2,2)
9969 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",1,"uiBaseInventoryNode_t *");
9970 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweapon",2,"bool");
9971
9973 SWIG_fail_ptr("uiBaseInventory_set_displayweapon",1,SWIGTYPE_p_uiBaseInventoryNode_t);
9974 }
9975
9976 arg2 = (lua_toboolean(L, 2)!=0);
9978
9979 return SWIG_arg;
9980
9981 if(0) SWIG_fail;
9982
9983fail:
9984 lua_error(L);
9985 return SWIG_arg;
9986}
9987
9988
9990 int SWIG_arg = 0;
9992 bool arg2 ;
9993
9994 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayweaponammo",2,2)
9995 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",1,"uiBaseInventoryNode_t *");
9996 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayweaponammo",2,"bool");
9997
9999 SWIG_fail_ptr("uiBaseInventory_set_displayweaponammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10000 }
10001
10002 arg2 = (lua_toboolean(L, 2)!=0);
10004
10005 return SWIG_arg;
10006
10007 if(0) SWIG_fail;
10008
10009fail:
10010 lua_error(L);
10011 return SWIG_arg;
10012}
10013
10014
10016 int SWIG_arg = 0;
10018 bool arg2 ;
10019
10020 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayammo",2,2)
10021 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",1,"uiBaseInventoryNode_t *");
10022 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayammo",2,"bool");
10023
10025 SWIG_fail_ptr("uiBaseInventory_set_displayammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10026 }
10027
10028 arg2 = (lua_toboolean(L, 2)!=0);
10030
10031 return SWIG_arg;
10032
10033 if(0) SWIG_fail;
10034
10035fail:
10036 lua_error(L);
10037 return SWIG_arg;
10038}
10039
10040
10042 int SWIG_arg = 0;
10044 bool arg2 ;
10045
10046 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayimplant",2,2)
10047 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",1,"uiBaseInventoryNode_t *");
10048 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayimplant",2,"bool");
10049
10051 SWIG_fail_ptr("uiBaseInventory_set_displayimplant",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10052 }
10053
10054 arg2 = (lua_toboolean(L, 2)!=0);
10056
10057 return SWIG_arg;
10058
10059 if(0) SWIG_fail;
10060
10061fail:
10062 lua_error(L);
10063 return SWIG_arg;
10064}
10065
10066
10068 int SWIG_arg = 0;
10070 bool arg2 ;
10071
10072 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailable",2,2)
10073 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",1,"uiBaseInventoryNode_t *");
10074 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailable",2,"bool");
10075
10077 SWIG_fail_ptr("uiBaseInventory_set_displayunavailable",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10078 }
10079
10080 arg2 = (lua_toboolean(L, 2)!=0);
10082
10083 return SWIG_arg;
10084
10085 if(0) SWIG_fail;
10086
10087fail:
10088 lua_error(L);
10089 return SWIG_arg;
10090}
10091
10092
10094 int SWIG_arg = 0;
10096 bool arg2 ;
10097
10098 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayunavailableammo",2,2)
10099 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",1,"uiBaseInventoryNode_t *");
10100 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayunavailableammo",2,"bool");
10101
10103 SWIG_fail_ptr("uiBaseInventory_set_displayunavailableammo",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10104 }
10105
10106 arg2 = (lua_toboolean(L, 2)!=0);
10108
10109 return SWIG_arg;
10110
10111 if(0) SWIG_fail;
10112
10113fail:
10114 lua_error(L);
10115 return SWIG_arg;
10116}
10117
10118
10120 int SWIG_arg = 0;
10122 bool arg2 ;
10123
10124 SWIG_check_num_args("uiBaseInventoryNode_t::set_displayavailableontop",2,2)
10125 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",1,"uiBaseInventoryNode_t *");
10126 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_displayavailableontop",2,"bool");
10127
10129 SWIG_fail_ptr("uiBaseInventory_set_displayavailableontop",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10130 }
10131
10132 arg2 = (lua_toboolean(L, 2)!=0);
10134
10135 return SWIG_arg;
10136
10137 if(0) SWIG_fail;
10138
10139fail:
10140 lua_error(L);
10141 return SWIG_arg;
10142}
10143
10144
10145static int _wrap_uiBaseInventory_viewpos(lua_State* L) {
10146 int SWIG_arg = 0;
10148 int result;
10149
10150 SWIG_check_num_args("uiBaseInventoryNode_t::viewpos",1,1)
10151 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewpos",1,"uiBaseInventoryNode_t *");
10152
10154 SWIG_fail_ptr("uiBaseInventory_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10155 }
10156
10157 result = (int)uiBaseInventoryNode_t_viewpos(arg1);
10158 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10159 return SWIG_arg;
10160
10161 if(0) SWIG_fail;
10162
10163fail:
10164 lua_error(L);
10165 return SWIG_arg;
10166}
10167
10168
10169static int _wrap_uiBaseInventory_viewsize(lua_State* L) {
10170 int SWIG_arg = 0;
10172 int result;
10173
10174 SWIG_check_num_args("uiBaseInventoryNode_t::viewsize",1,1)
10175 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::viewsize",1,"uiBaseInventoryNode_t *");
10176
10178 SWIG_fail_ptr("uiBaseInventory_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10179 }
10180
10181 result = (int)uiBaseInventoryNode_t_viewsize(arg1);
10182 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10183 return SWIG_arg;
10184
10185 if(0) SWIG_fail;
10186
10187fail:
10188 lua_error(L);
10189 return SWIG_arg;
10190}
10191
10192
10193static int _wrap_uiBaseInventory_fullsize(lua_State* L) {
10194 int SWIG_arg = 0;
10196 int result;
10197
10198 SWIG_check_num_args("uiBaseInventoryNode_t::fullsize",1,1)
10199 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::fullsize",1,"uiBaseInventoryNode_t *");
10200
10202 SWIG_fail_ptr("uiBaseInventory_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10203 }
10204
10205 result = (int)uiBaseInventoryNode_t_fullsize(arg1);
10206 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10207 return SWIG_arg;
10208
10209 if(0) SWIG_fail;
10210
10211fail:
10212 lua_error(L);
10213 return SWIG_arg;
10214}
10215
10216
10217static int _wrap_uiBaseInventory_set_viewpos(lua_State* L) {
10218 int SWIG_arg = 0;
10220 int arg2 ;
10221
10222 SWIG_check_num_args("uiBaseInventoryNode_t::set_viewpos",2,2)
10223 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",1,"uiBaseInventoryNode_t *");
10224 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewpos",2,"int");
10225
10227 SWIG_fail_ptr("uiBaseInventory_set_viewpos",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10228 }
10229
10230 arg2 = (int)lua_tonumber(L, 2);
10232
10233 return SWIG_arg;
10234
10235 if(0) SWIG_fail;
10236
10237fail:
10238 lua_error(L);
10239 return SWIG_arg;
10240}
10241
10242
10243static int _wrap_uiBaseInventory_set_viewsize(lua_State* L) {
10244 int SWIG_arg = 0;
10246 int arg2 ;
10247
10248 SWIG_check_num_args("uiBaseInventoryNode_t::set_viewsize",2,2)
10249 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",1,"uiBaseInventoryNode_t *");
10250 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_viewsize",2,"int");
10251
10253 SWIG_fail_ptr("uiBaseInventory_set_viewsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10254 }
10255
10256 arg2 = (int)lua_tonumber(L, 2);
10258
10259 return SWIG_arg;
10260
10261 if(0) SWIG_fail;
10262
10263fail:
10264 lua_error(L);
10265 return SWIG_arg;
10266}
10267
10268
10269static int _wrap_uiBaseInventory_set_fullsize(lua_State* L) {
10270 int SWIG_arg = 0;
10272 int arg2 ;
10273
10274 SWIG_check_num_args("uiBaseInventoryNode_t::set_fullsize",2,2)
10275 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",1,"uiBaseInventoryNode_t *");
10276 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiBaseInventoryNode_t::set_fullsize",2,"int");
10277
10279 SWIG_fail_ptr("uiBaseInventory_set_fullsize",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10280 }
10281
10282 arg2 = (int)lua_tonumber(L, 2);
10284
10285 return SWIG_arg;
10286
10287 if(0) SWIG_fail;
10288
10289fail:
10290 lua_error(L);
10291 return SWIG_arg;
10292}
10293
10294
10296 int SWIG_arg = 0;
10298 LUA_EVENT arg2 ;
10299
10300 SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",2,2)
10301 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10302
10304 SWIG_fail_ptr("uiBaseInventory_on_viewchange_set",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10305 }
10306
10307 {
10308 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
10309 }
10311
10312 return SWIG_arg;
10313
10314 if(0) SWIG_fail;
10315
10316fail:
10317 lua_error(L);
10318 return SWIG_arg;
10319}
10320
10321
10323 int SWIG_arg = 0;
10325 LUA_EVENT result;
10326
10327 SWIG_check_num_args("uiBaseInventoryNode_t::lua_onViewChange",1,1)
10328 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiBaseInventoryNode_t::lua_onViewChange",1,"uiBaseInventoryNode_t *");
10329
10331 SWIG_fail_ptr("uiBaseInventory_on_viewchange_get",1,SWIGTYPE_p_uiBaseInventoryNode_t);
10332 }
10333
10335 {
10336 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
10337 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
10338 }
10339 return SWIG_arg;
10340
10341 if(0) SWIG_fail;
10342
10343fail:
10344 lua_error(L);
10345 return SWIG_arg;
10346}
10347
10348
10349static int _wrap_new_uiBaseInventory(lua_State* L) {
10350 int SWIG_arg = 0;
10351 uiBaseInventoryNode_t *result = 0 ;
10352
10353 SWIG_check_num_args("uiBaseInventoryNode_t::uiBaseInventoryNode_t",0,0)
10356 return SWIG_arg;
10357
10358 if(0) SWIG_fail;
10359
10360fail:
10361 lua_error(L);
10362 return SWIG_arg;
10363}
10364
10365
10366static void swig_delete_uiBaseInventory(void *obj) {
10368delete arg1;
10369}
10370static int _proxy__wrap_new_uiBaseInventory(lua_State *L) {
10371 assert(lua_istable(L,1));
10372 lua_pushcfunction(L,_wrap_new_uiBaseInventory);
10373 assert(!lua_isnil(L,-1));
10374 lua_replace(L,1); /* replace our table with real constructor */
10375 lua_call(L,lua_gettop(L)-1,1);
10376 return 1;
10377}
10383 { "filtertype", _wrap_uiBaseInventory_filtertype},
10384 { "columns", _wrap_uiBaseInventory_columns},
10385 { "is_displayweapon", _wrap_uiBaseInventory_is_displayweapon},
10386 { "is_displayweaponammo", _wrap_uiBaseInventory_is_displayweaponammo},
10387 { "is_displayammo", _wrap_uiBaseInventory_is_displayammo},
10388 { "is_displayimplant", _wrap_uiBaseInventory_is_displayimplant},
10389 { "is_displayunavailable", _wrap_uiBaseInventory_is_displayunavailable},
10390 { "is_displayunavailableammo", _wrap_uiBaseInventory_is_displayunavailableammo},
10391 { "is_displayavailableontop", _wrap_uiBaseInventory_is_displayavailableontop},
10392 { "set_displayweapon", _wrap_uiBaseInventory_set_displayweapon},
10393 { "set_displayweaponammo", _wrap_uiBaseInventory_set_displayweaponammo},
10394 { "set_displayammo", _wrap_uiBaseInventory_set_displayammo},
10395 { "set_displayimplant", _wrap_uiBaseInventory_set_displayimplant},
10396 { "set_displayunavailable", _wrap_uiBaseInventory_set_displayunavailable},
10397 { "set_displayunavailableammo", _wrap_uiBaseInventory_set_displayunavailableammo},
10398 { "set_displayavailableontop", _wrap_uiBaseInventory_set_displayavailableontop},
10399 { "viewpos", _wrap_uiBaseInventory_viewpos},
10400 { "viewsize", _wrap_uiBaseInventory_viewsize},
10401 { "fullsize", _wrap_uiBaseInventory_fullsize},
10402 { "set_viewpos", _wrap_uiBaseInventory_set_viewpos},
10403 { "set_viewsize", _wrap_uiBaseInventory_set_viewsize},
10404 { "set_fullsize", _wrap_uiBaseInventory_set_fullsize},
10405 {0,0}
10406};
10408 {0,0}
10409};
10410
10423
10433static const char *swig_uiBaseInventory_base_names[] = {"uiContainerNode_t *",0};
10435
10436static int _wrap_uiData_as_string(lua_State* L) {
10437 int SWIG_arg = 0;
10438 uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10439 char *result = 0 ;
10440
10441 SWIG_check_num_args("uiDataNode_t::as_string",1,1)
10442 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_string",1,"uiDataNode_t *");
10443
10444 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10445 SWIG_fail_ptr("uiData_as_string",1,SWIGTYPE_p_uiDataNode_t);
10446 }
10447
10448 result = (char *)uiDataNode_t_as_string(arg1);
10449 lua_pushstring(L,(const char *)result); SWIG_arg++;
10450 return SWIG_arg;
10451
10452 if(0) SWIG_fail;
10453
10454fail:
10455 lua_error(L);
10456 return SWIG_arg;
10457}
10458
10459
10460static int _wrap_uiData_as_integer(lua_State* L) {
10461 int SWIG_arg = 0;
10462 uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10463 int result;
10464
10465 SWIG_check_num_args("uiDataNode_t::as_integer",1,1)
10466 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_integer",1,"uiDataNode_t *");
10467
10468 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10469 SWIG_fail_ptr("uiData_as_integer",1,SWIGTYPE_p_uiDataNode_t);
10470 }
10471
10472 result = (int)uiDataNode_t_as_integer(arg1);
10473 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10474 return SWIG_arg;
10475
10476 if(0) SWIG_fail;
10477
10478fail:
10479 lua_error(L);
10480 return SWIG_arg;
10481}
10482
10483
10484static int _wrap_uiData_as_float(lua_State* L) {
10485 int SWIG_arg = 0;
10486 uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10487 float result;
10488
10489 SWIG_check_num_args("uiDataNode_t::as_float",1,1)
10490 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::as_float",1,"uiDataNode_t *");
10491
10492 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10493 SWIG_fail_ptr("uiData_as_float",1,SWIGTYPE_p_uiDataNode_t);
10494 }
10495
10496 result = (float)uiDataNode_t_as_float(arg1);
10497 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10498 return SWIG_arg;
10499
10500 if(0) SWIG_fail;
10501
10502fail:
10503 lua_error(L);
10504 return SWIG_arg;
10505}
10506
10507
10508static int _wrap_uiData_set_value__SWIG_0(lua_State* L) {
10509 int SWIG_arg = 0;
10510 uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10511 char *arg2 = (char *) 0 ;
10512
10513 SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10514 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10515 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"char const *");
10516
10517 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10518 SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10519 }
10520
10521 arg2 = (char *)lua_tostring(L, 2);
10522 uiDataNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
10523
10524 return SWIG_arg;
10525
10526 if(0) SWIG_fail;
10527
10528fail:
10529 lua_error(L);
10530 return SWIG_arg;
10531}
10532
10533
10534static int _wrap_uiData_set_value__SWIG_1(lua_State* L) {
10535 int SWIG_arg = 0;
10536 uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10537 int arg2 ;
10538
10539 SWIG_check_num_args("uiDataNode_t::set_value",2,2)
10540 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_value",1,"uiDataNode_t *");
10541 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_value",2,"int");
10542
10543 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10544 SWIG_fail_ptr("uiData_set_value",1,SWIGTYPE_p_uiDataNode_t);
10545 }
10546
10547 arg2 = (int)lua_tonumber(L, 2);
10549
10550 return SWIG_arg;
10551
10552 if(0) SWIG_fail;
10553
10554fail:
10555 lua_error(L);
10556 return SWIG_arg;
10557}
10558
10559
10560static int _wrap_uiData_set_value(lua_State* L) {
10561 int argc;
10562 int argv[3]={
10563 1,2,3
10564 };
10565
10566 argc = lua_gettop(L);
10567 if (argc == 2) {
10568 int _v;
10569 {
10570 void *ptr;
10571 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10572 _v = 0;
10573 } else {
10574 _v = 1;
10575 }
10576 }
10577 if (_v) {
10578 {
10579 _v = lua_isnumber(L,argv[1]);
10580 }
10581 if (_v) {
10583 }
10584 }
10585 }
10586 if (argc == 2) {
10587 int _v;
10588 {
10589 void *ptr;
10590 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiDataNode_t, 0)) {
10591 _v = 0;
10592 } else {
10593 _v = 1;
10594 }
10595 }
10596 if (_v) {
10597 {
10598 _v = SWIG_lua_isnilstring(L,argv[1]);
10599 }
10600 if (_v) {
10602 }
10603 }
10604 }
10605
10606 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiData_set_value'\n"
10607 " Possible C/C++ prototypes are:\n"
10608 " uiDataNode_t::set_value(char const *)\n"
10609 " uiDataNode_t::set_value(int)\n");
10610 lua_error(L);return 0;
10611}
10612
10613
10614static int _wrap_uiData_set_valuef(lua_State* L) {
10615 int SWIG_arg = 0;
10616 uiDataNode_t *arg1 = (uiDataNode_t *) 0 ;
10617 float arg2 ;
10618
10619 SWIG_check_num_args("uiDataNode_t::set_valuef",2,2)
10620 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiDataNode_t::set_valuef",1,"uiDataNode_t *");
10621 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiDataNode_t::set_valuef",2,"float");
10622
10623 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiDataNode_t,0))){
10624 SWIG_fail_ptr("uiData_set_valuef",1,SWIGTYPE_p_uiDataNode_t);
10625 }
10626
10627 arg2 = (float)lua_tonumber(L, 2);
10628 uiDataNode_t_set_valuef(arg1,arg2);
10629
10630 return SWIG_arg;
10631
10632 if(0) SWIG_fail;
10633
10634fail:
10635 lua_error(L);
10636 return SWIG_arg;
10637}
10638
10639
10640static int _wrap_new_uiData(lua_State* L) {
10641 int SWIG_arg = 0;
10642 uiDataNode_t *result = 0 ;
10643
10644 SWIG_check_num_args("uiDataNode_t::uiDataNode_t",0,0)
10645 result = (uiDataNode_t *)new uiDataNode_t();
10646 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,1); SWIG_arg++;
10647 return SWIG_arg;
10648
10649 if(0) SWIG_fail;
10650
10651fail:
10652 lua_error(L);
10653 return SWIG_arg;
10654}
10655
10656
10657static void swig_delete_uiData(void *obj) {
10658uiDataNode_t *arg1 = (uiDataNode_t *) obj;
10659delete arg1;
10660}
10661static int _proxy__wrap_new_uiData(lua_State *L) {
10662 assert(lua_istable(L,1));
10663 lua_pushcfunction(L,_wrap_new_uiData);
10664 assert(!lua_isnil(L,-1));
10665 lua_replace(L,1); /* replace our table with real constructor */
10666 lua_call(L,lua_gettop(L)-1,1);
10667 return 1;
10668}
10670 {0,0,0}
10671};
10673 { "as_string", _wrap_uiData_as_string},
10674 { "as_integer", _wrap_uiData_as_integer},
10675 { "as_float", _wrap_uiData_as_float},
10676 { "set_value", _wrap_uiData_set_value},
10677 { "set_valuef", _wrap_uiData_set_valuef},
10678 {0,0}
10679};
10681 {0,0}
10682};
10683
10688 {0,0,0,0,0,0}
10689};
10696
10706static const char *swig_uiData_base_names[] = {"uiNode_t *",0};
10708
10709static int _wrap_uiGeoscape_paddingright(lua_State* L) {
10710 int SWIG_arg = 0;
10711 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10712 int result;
10713
10714 SWIG_check_num_args("uiGeoscapeNode_t::paddingright",1,1)
10715 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::paddingright",1,"uiGeoscapeNode_t *");
10716
10717 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10718 SWIG_fail_ptr("uiGeoscape_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10719 }
10720
10721 result = (int)uiGeoscapeNode_t_paddingright(arg1);
10722 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
10723 return SWIG_arg;
10724
10725 if(0) SWIG_fail;
10726
10727fail:
10728 lua_error(L);
10729 return SWIG_arg;
10730}
10731
10732
10733static int _wrap_uiGeoscape_set_paddingright(lua_State* L) {
10734 int SWIG_arg = 0;
10735 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10736 int arg2 ;
10737
10738 SWIG_check_num_args("uiGeoscapeNode_t::set_paddingright",2,2)
10739 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",1,"uiGeoscapeNode_t *");
10740 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiGeoscapeNode_t::set_paddingright",2,"int");
10741
10742 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10743 SWIG_fail_ptr("uiGeoscape_set_paddingright",1,SWIGTYPE_p_uiGeoscapeNode_t);
10744 }
10745
10746 arg2 = (int)lua_tonumber(L, 2);
10748
10749 return SWIG_arg;
10750
10751 if(0) SWIG_fail;
10752
10753fail:
10754 lua_error(L);
10755 return SWIG_arg;
10756}
10757
10758
10759static int _wrap_uiGeoscape_zoomin(lua_State* L) {
10760 int SWIG_arg = 0;
10761 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10762
10763 SWIG_check_num_args("uiGeoscapeNode_t::zoomin",1,1)
10764 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomin",1,"uiGeoscapeNode_t *");
10765
10766 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10767 SWIG_fail_ptr("uiGeoscape_zoomin",1,SWIGTYPE_p_uiGeoscapeNode_t);
10768 }
10769
10771
10772 return SWIG_arg;
10773
10774 if(0) SWIG_fail;
10775
10776fail:
10777 lua_error(L);
10778 return SWIG_arg;
10779}
10780
10781
10782static int _wrap_uiGeoscape_zoomout(lua_State* L) {
10783 int SWIG_arg = 0;
10784 uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) 0 ;
10785
10786 SWIG_check_num_args("uiGeoscapeNode_t::zoomout",1,1)
10787 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiGeoscapeNode_t::zoomout",1,"uiGeoscapeNode_t *");
10788
10789 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiGeoscapeNode_t,0))){
10790 SWIG_fail_ptr("uiGeoscape_zoomout",1,SWIGTYPE_p_uiGeoscapeNode_t);
10791 }
10792
10794
10795 return SWIG_arg;
10796
10797 if(0) SWIG_fail;
10798
10799fail:
10800 lua_error(L);
10801 return SWIG_arg;
10802}
10803
10804
10805static int _wrap_new_uiGeoscape(lua_State* L) {
10806 int SWIG_arg = 0;
10807 uiGeoscapeNode_t *result = 0 ;
10808
10809 SWIG_check_num_args("uiGeoscapeNode_t::uiGeoscapeNode_t",0,0)
10810 result = (uiGeoscapeNode_t *)new uiGeoscapeNode_t();
10811 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,1); SWIG_arg++;
10812 return SWIG_arg;
10813
10814 if(0) SWIG_fail;
10815
10816fail:
10817 lua_error(L);
10818 return SWIG_arg;
10819}
10820
10821
10822static void swig_delete_uiGeoscape(void *obj) {
10823uiGeoscapeNode_t *arg1 = (uiGeoscapeNode_t *) obj;
10824delete arg1;
10825}
10826static int _proxy__wrap_new_uiGeoscape(lua_State *L) {
10827 assert(lua_istable(L,1));
10828 lua_pushcfunction(L,_wrap_new_uiGeoscape);
10829 assert(!lua_isnil(L,-1));
10830 lua_replace(L,1); /* replace our table with real constructor */
10831 lua_call(L,lua_gettop(L)-1,1);
10832 return 1;
10833}
10835 {0,0,0}
10836};
10838 { "paddingright", _wrap_uiGeoscape_paddingright},
10839 { "set_paddingright", _wrap_uiGeoscape_set_paddingright},
10840 { "zoomin", _wrap_uiGeoscape_zoomin},
10841 { "zoomout", _wrap_uiGeoscape_zoomout},
10842 {0,0}
10843};
10845 {0,0}
10846};
10847
10852 {0,0,0,0,0,0}
10853};
10860
10870static const char *swig_uiGeoscape_base_names[] = {"uiNode_t *",0};
10872
10873static int _wrap_uiImage_is_keepratio(lua_State* L) {
10874 int SWIG_arg = 0;
10875 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10876 bool result;
10877
10878 SWIG_check_num_args("uiImageNode_t::is_keepratio",1,1)
10879 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_keepratio",1,"uiImageNode_t *");
10880
10881 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10882 SWIG_fail_ptr("uiImage_is_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10883 }
10884
10885 result = (bool)uiImageNode_t_is_keepratio(arg1);
10886 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10887 return SWIG_arg;
10888
10889 if(0) SWIG_fail;
10890
10891fail:
10892 lua_error(L);
10893 return SWIG_arg;
10894}
10895
10896
10897static int _wrap_uiImage_is_mousefx(lua_State* L) {
10898 int SWIG_arg = 0;
10899 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10900 bool result;
10901
10902 SWIG_check_num_args("uiImageNode_t::is_mousefx",1,1)
10903 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::is_mousefx",1,"uiImageNode_t *");
10904
10905 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10906 SWIG_fail_ptr("uiImage_is_mousefx",1,SWIGTYPE_p_uiImageNode_t);
10907 }
10908
10909 result = (bool)uiImageNode_t_is_mousefx(arg1);
10910 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
10911 return SWIG_arg;
10912
10913 if(0) SWIG_fail;
10914
10915fail:
10916 lua_error(L);
10917 return SWIG_arg;
10918}
10919
10920
10921static int _wrap_uiImage_texh(lua_State* L) {
10922 int SWIG_arg = 0;
10923 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10924 vec2_struct_t *result = 0 ;
10925
10926 SWIG_check_num_args("uiImageNode_t::texh",1,1)
10927 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texh",1,"uiImageNode_t *");
10928
10929 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10930 SWIG_fail_ptr("uiImage_texh",1,SWIGTYPE_p_uiImageNode_t);
10931 }
10932
10933 result = (vec2_struct_t *)uiImageNode_t_texh(arg1);
10934 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10935 return SWIG_arg;
10936
10937 if(0) SWIG_fail;
10938
10939fail:
10940 lua_error(L);
10941 return SWIG_arg;
10942}
10943
10944
10945static int _wrap_uiImage_texl(lua_State* L) {
10946 int SWIG_arg = 0;
10947 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10948 vec2_struct_t *result = 0 ;
10949
10950 SWIG_check_num_args("uiImageNode_t::texl",1,1)
10951 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::texl",1,"uiImageNode_t *");
10952
10953 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10954 SWIG_fail_ptr("uiImage_texl",1,SWIGTYPE_p_uiImageNode_t);
10955 }
10956
10957 result = (vec2_struct_t *)uiImageNode_t_texl(arg1);
10958 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
10959 return SWIG_arg;
10960
10961 if(0) SWIG_fail;
10962
10963fail:
10964 lua_error(L);
10965 return SWIG_arg;
10966}
10967
10968
10969static int _wrap_uiImage_set_keepratio(lua_State* L) {
10970 int SWIG_arg = 0;
10971 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10972 bool arg2 ;
10973
10974 SWIG_check_num_args("uiImageNode_t::set_keepratio",2,2)
10975 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_keepratio",1,"uiImageNode_t *");
10976 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_keepratio",2,"bool");
10977
10978 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
10979 SWIG_fail_ptr("uiImage_set_keepratio",1,SWIGTYPE_p_uiImageNode_t);
10980 }
10981
10982 arg2 = (lua_toboolean(L, 2)!=0);
10983 uiImageNode_t_set_keepratio(arg1,arg2);
10984
10985 return SWIG_arg;
10986
10987 if(0) SWIG_fail;
10988
10989fail:
10990 lua_error(L);
10991 return SWIG_arg;
10992}
10993
10994
10995static int _wrap_uiImage_set_mousefx(lua_State* L) {
10996 int SWIG_arg = 0;
10997 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
10998 bool arg2 ;
10999
11000 SWIG_check_num_args("uiImageNode_t::set_mousefx",2,2)
11001 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_mousefx",1,"uiImageNode_t *");
11002 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiImageNode_t::set_mousefx",2,"bool");
11003
11004 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11005 SWIG_fail_ptr("uiImage_set_mousefx",1,SWIGTYPE_p_uiImageNode_t);
11006 }
11007
11008 arg2 = (lua_toboolean(L, 2)!=0);
11009 uiImageNode_t_set_mousefx(arg1,arg2);
11010
11011 return SWIG_arg;
11012
11013 if(0) SWIG_fail;
11014
11015fail:
11016 lua_error(L);
11017 return SWIG_arg;
11018}
11019
11020
11021static int _wrap_uiImage_set_source(lua_State* L) {
11022 int SWIG_arg = 0;
11023 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11024 char *arg2 = (char *) 0 ;
11025
11026 SWIG_check_num_args("uiImageNode_t::set_source",2,2)
11027 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_source",1,"uiImageNode_t *");
11028 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiImageNode_t::set_source",2,"char const *");
11029
11030 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11031 SWIG_fail_ptr("uiImage_set_source",1,SWIGTYPE_p_uiImageNode_t);
11032 }
11033
11034 arg2 = (char *)lua_tostring(L, 2);
11035 uiImageNode_t_set_source(arg1,(char const *)arg2);
11036
11037 return SWIG_arg;
11038
11039 if(0) SWIG_fail;
11040
11041fail:
11042 lua_error(L);
11043 return SWIG_arg;
11044}
11045
11046
11047static int _wrap_uiImage_set_texh(lua_State* L) {
11048 int SWIG_arg = 0;
11049 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11050 float arg2 ;
11051 float arg3 ;
11052
11053 SWIG_check_num_args("uiImageNode_t::set_texh",3,3)
11054 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texh",1,"uiImageNode_t *");
11055 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texh",2,"float");
11056 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texh",3,"float");
11057
11058 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11059 SWIG_fail_ptr("uiImage_set_texh",1,SWIGTYPE_p_uiImageNode_t);
11060 }
11061
11062 arg2 = (float)lua_tonumber(L, 2);
11063 arg3 = (float)lua_tonumber(L, 3);
11064 uiImageNode_t_set_texh(arg1,arg2,arg3);
11065
11066 return SWIG_arg;
11067
11068 if(0) SWIG_fail;
11069
11070fail:
11071 lua_error(L);
11072 return SWIG_arg;
11073}
11074
11075
11076static int _wrap_uiImage_set_texl(lua_State* L) {
11077 int SWIG_arg = 0;
11078 uiImageNode_t *arg1 = (uiImageNode_t *) 0 ;
11079 float arg2 ;
11080 float arg3 ;
11081
11082 SWIG_check_num_args("uiImageNode_t::set_texl",3,3)
11083 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiImageNode_t::set_texl",1,"uiImageNode_t *");
11084 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiImageNode_t::set_texl",2,"float");
11085 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiImageNode_t::set_texl",3,"float");
11086
11087 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiImageNode_t,0))){
11088 SWIG_fail_ptr("uiImage_set_texl",1,SWIGTYPE_p_uiImageNode_t);
11089 }
11090
11091 arg2 = (float)lua_tonumber(L, 2);
11092 arg3 = (float)lua_tonumber(L, 3);
11093 uiImageNode_t_set_texl(arg1,arg2,arg3);
11094
11095 return SWIG_arg;
11096
11097 if(0) SWIG_fail;
11098
11099fail:
11100 lua_error(L);
11101 return SWIG_arg;
11102}
11103
11104
11105static int _wrap_new_uiImage(lua_State* L) {
11106 int SWIG_arg = 0;
11107 uiImageNode_t *result = 0 ;
11108
11109 SWIG_check_num_args("uiImageNode_t::uiImageNode_t",0,0)
11110 result = (uiImageNode_t *)new uiImageNode_t();
11111 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,1); SWIG_arg++;
11112 return SWIG_arg;
11113
11114 if(0) SWIG_fail;
11115
11116fail:
11117 lua_error(L);
11118 return SWIG_arg;
11119}
11120
11121
11122static void swig_delete_uiImage(void *obj) {
11123uiImageNode_t *arg1 = (uiImageNode_t *) obj;
11124delete arg1;
11125}
11126static int _proxy__wrap_new_uiImage(lua_State *L) {
11127 assert(lua_istable(L,1));
11128 lua_pushcfunction(L,_wrap_new_uiImage);
11129 assert(!lua_isnil(L,-1));
11130 lua_replace(L,1); /* replace our table with real constructor */
11131 lua_call(L,lua_gettop(L)-1,1);
11132 return 1;
11133}
11135 {0,0,0}
11136};
11138 { "is_keepratio", _wrap_uiImage_is_keepratio},
11139 { "is_mousefx", _wrap_uiImage_is_mousefx},
11140 { "texh", _wrap_uiImage_texh},
11141 { "texl", _wrap_uiImage_texl},
11142 { "set_keepratio", _wrap_uiImage_set_keepratio},
11143 { "set_mousefx", _wrap_uiImage_set_mousefx},
11144 { "set_source", _wrap_uiImage_set_source},
11145 { "set_texh", _wrap_uiImage_set_texh},
11146 { "set_texl", _wrap_uiImage_set_texl},
11147 {0,0}
11148};
11150 {0,0}
11151};
11152
11157 {0,0,0,0,0,0}
11158};
11165
11175static const char *swig_uiImage_base_names[] = {"uiNode_t *",0};
11177
11178static int _wrap_uiLineChart_is_showaxes(lua_State* L) {
11179 int SWIG_arg = 0;
11180 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11181 bool result;
11182
11183 SWIG_check_num_args("uiLineChartNode_t::is_showaxes",1,1)
11184 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::is_showaxes",1,"uiLineChartNode_t *");
11185
11186 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11187 SWIG_fail_ptr("uiLineChart_is_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11188 }
11189
11190 result = (bool)uiLineChartNode_t_is_showaxes(arg1);
11191 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11192 return SWIG_arg;
11193
11194 if(0) SWIG_fail;
11195
11196fail:
11197 lua_error(L);
11198 return SWIG_arg;
11199}
11200
11201
11202static int _wrap_uiLineChart_set_showaxes(lua_State* L) {
11203 int SWIG_arg = 0;
11204 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11205 bool arg2 ;
11206
11207 SWIG_check_num_args("uiLineChartNode_t::set_showaxes",2,2)
11208 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",1,"uiLineChartNode_t *");
11209 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_showaxes",2,"bool");
11210
11211 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11212 SWIG_fail_ptr("uiLineChart_set_showaxes",1,SWIGTYPE_p_uiLineChartNode_t);
11213 }
11214
11215 arg2 = (lua_toboolean(L, 2)!=0);
11217
11218 return SWIG_arg;
11219
11220 if(0) SWIG_fail;
11221
11222fail:
11223 lua_error(L);
11224 return SWIG_arg;
11225}
11226
11227
11228static int _wrap_uiLineChart_set_axescolor(lua_State* L) {
11229 int SWIG_arg = 0;
11230 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11231 float arg2 ;
11232 float arg3 ;
11233 float arg4 ;
11234 float arg5 ;
11235
11236 SWIG_check_num_args("uiLineChartNode_t::set_axescolor",5,5)
11237 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",1,"uiLineChartNode_t *");
11238 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",2,"float");
11239 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",3,"float");
11240 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",4,"float");
11241 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::set_axescolor",5,"float");
11242
11243 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11244 SWIG_fail_ptr("uiLineChart_set_axescolor",1,SWIGTYPE_p_uiLineChartNode_t);
11245 }
11246
11247 arg2 = (float)lua_tonumber(L, 2);
11248 arg3 = (float)lua_tonumber(L, 3);
11249 arg4 = (float)lua_tonumber(L, 4);
11250 arg5 = (float)lua_tonumber(L, 5);
11251 uiLineChartNode_t_set_axescolor(arg1,arg2,arg3,arg4,arg5);
11252
11253 return SWIG_arg;
11254
11255 if(0) SWIG_fail;
11256
11257fail:
11258 lua_error(L);
11259 return SWIG_arg;
11260}
11261
11262
11263static int _wrap_uiLineChart_clear(lua_State* L) {
11264 int SWIG_arg = 0;
11265 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11266
11267 SWIG_check_num_args("uiLineChartNode_t::clear",1,1)
11268 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::clear",1,"uiLineChartNode_t *");
11269
11270 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11271 SWIG_fail_ptr("uiLineChart_clear",1,SWIGTYPE_p_uiLineChartNode_t);
11272 }
11273
11275
11276 return SWIG_arg;
11277
11278 if(0) SWIG_fail;
11279
11280fail:
11281 lua_error(L);
11282 return SWIG_arg;
11283}
11284
11285
11286static int _wrap_uiLineChart_add_line(lua_State* L) {
11287 int SWIG_arg = 0;
11288 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11289 char *arg2 = (char *) 0 ;
11290 bool arg3 ;
11291 float arg4 ;
11292 float arg5 ;
11293 float arg6 ;
11294 float arg7 ;
11295 bool arg8 ;
11296 int arg9 ;
11297
11298 SWIG_check_num_args("uiLineChartNode_t::add_line",9,9)
11299 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_line",1,"uiLineChartNode_t *");
11300 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_line",2,"char const *");
11301 if(!lua_isboolean(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_line",3,"bool");
11302 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_line",4,"float");
11303 if(!lua_isnumber(L,5)) SWIG_fail_arg("uiLineChartNode_t::add_line",5,"float");
11304 if(!lua_isnumber(L,6)) SWIG_fail_arg("uiLineChartNode_t::add_line",6,"float");
11305 if(!lua_isnumber(L,7)) SWIG_fail_arg("uiLineChartNode_t::add_line",7,"float");
11306 if(!lua_isboolean(L,8)) SWIG_fail_arg("uiLineChartNode_t::add_line",8,"bool");
11307 if(!lua_isnumber(L,9)) SWIG_fail_arg("uiLineChartNode_t::add_line",9,"int");
11308
11309 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11310 SWIG_fail_ptr("uiLineChart_add_line",1,SWIGTYPE_p_uiLineChartNode_t);
11311 }
11312
11313 arg2 = (char *)lua_tostring(L, 2);
11314 arg3 = (lua_toboolean(L, 3)!=0);
11315 arg4 = (float)lua_tonumber(L, 4);
11316 arg5 = (float)lua_tonumber(L, 5);
11317 arg6 = (float)lua_tonumber(L, 6);
11318 arg7 = (float)lua_tonumber(L, 7);
11319 arg8 = (lua_toboolean(L, 8)!=0);
11320 arg9 = (int)lua_tonumber(L, 9);
11321 uiLineChartNode_t_add_line(arg1,(char const *)arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9);
11322
11323 return SWIG_arg;
11324
11325 if(0) SWIG_fail;
11326
11327fail:
11328 lua_error(L);
11329 return SWIG_arg;
11330}
11331
11332
11333static int _wrap_uiLineChart_add_point(lua_State* L) {
11334 int SWIG_arg = 0;
11335 uiLineChartNode_t *arg1 = (uiLineChartNode_t *) 0 ;
11336 char *arg2 = (char *) 0 ;
11337 int arg3 ;
11338 int arg4 ;
11339
11340 SWIG_check_num_args("uiLineChartNode_t::add_point",4,4)
11341 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiLineChartNode_t::add_point",1,"uiLineChartNode_t *");
11342 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiLineChartNode_t::add_point",2,"char const *");
11343 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiLineChartNode_t::add_point",3,"int");
11344 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiLineChartNode_t::add_point",4,"int");
11345
11346 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiLineChartNode_t,0))){
11347 SWIG_fail_ptr("uiLineChart_add_point",1,SWIGTYPE_p_uiLineChartNode_t);
11348 }
11349
11350 arg2 = (char *)lua_tostring(L, 2);
11351 arg3 = (int)lua_tonumber(L, 3);
11352 arg4 = (int)lua_tonumber(L, 4);
11353 uiLineChartNode_t_add_point(arg1,(char const *)arg2,arg3,arg4);
11354
11355 return SWIG_arg;
11356
11357 if(0) SWIG_fail;
11358
11359fail:
11360 lua_error(L);
11361 return SWIG_arg;
11362}
11363
11364
11365static int _wrap_new_uiLineChart(lua_State* L) {
11366 int SWIG_arg = 0;
11367 uiLineChartNode_t *result = 0 ;
11368
11369 SWIG_check_num_args("uiLineChartNode_t::uiLineChartNode_t",0,0)
11370 result = (uiLineChartNode_t *)new uiLineChartNode_t();
11371 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,1); SWIG_arg++;
11372 return SWIG_arg;
11373
11374 if(0) SWIG_fail;
11375
11376fail:
11377 lua_error(L);
11378 return SWIG_arg;
11379}
11380
11381
11382static void swig_delete_uiLineChart(void *obj) {
11383uiLineChartNode_t *arg1 = (uiLineChartNode_t *) obj;
11384delete arg1;
11385}
11386static int _proxy__wrap_new_uiLineChart(lua_State *L) {
11387 assert(lua_istable(L,1));
11388 lua_pushcfunction(L,_wrap_new_uiLineChart);
11389 assert(!lua_isnil(L,-1));
11390 lua_replace(L,1); /* replace our table with real constructor */
11391 lua_call(L,lua_gettop(L)-1,1);
11392 return 1;
11393}
11395 {0,0,0}
11396};
11398 { "is_showaxes", _wrap_uiLineChart_is_showaxes},
11399 { "set_showaxes", _wrap_uiLineChart_set_showaxes},
11400 { "set_axescolor", _wrap_uiLineChart_set_axescolor},
11401 { "clear", _wrap_uiLineChart_clear},
11402 { "add_line", _wrap_uiLineChart_add_line},
11403 { "add_point", _wrap_uiLineChart_add_point},
11404 {0,0}
11405};
11407 {0,0}
11408};
11409
11414 {0,0,0,0,0,0}
11415};
11422
11432static const char *swig_uiLineChart_base_names[] = {"uiNode_t *",0};
11434
11435static int _wrap_new_uiMessageList(lua_State* L) {
11436 int SWIG_arg = 0;
11437 uiMessageListNode_t *result = 0 ;
11438
11439 SWIG_check_num_args("uiMessageListNode_t::uiMessageListNode_t",0,0)
11440 result = (uiMessageListNode_t *)new uiMessageListNode_t();
11441 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,1); SWIG_arg++;
11442 return SWIG_arg;
11443
11444 if(0) SWIG_fail;
11445
11446fail:
11447 lua_error(L);
11448 return SWIG_arg;
11449}
11450
11451
11452static void swig_delete_uiMessageList(void *obj) {
11454delete arg1;
11455}
11456static int _proxy__wrap_new_uiMessageList(lua_State *L) {
11457 assert(lua_istable(L,1));
11458 lua_pushcfunction(L,_wrap_new_uiMessageList);
11459 assert(!lua_isnil(L,-1));
11460 lua_replace(L,1); /* replace our table with real constructor */
11461 lua_call(L,lua_gettop(L)-1,1);
11462 return 1;
11463}
11465 {0,0,0}
11466};
11468 {0,0}
11469};
11471 {0,0}
11472};
11473
11486
11496static const char *swig_uiMessageList_base_names[] = {"uiAbstractScrollableNode_t *",0};
11498
11499static int _wrap_uiModel_is_autoscale(lua_State* L) {
11500 int SWIG_arg = 0;
11501 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11502 bool result;
11503
11504 SWIG_check_num_args("uiModelNode_t::is_autoscale",1,1)
11505 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_autoscale",1,"uiModelNode_t *");
11506
11507 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11508 SWIG_fail_ptr("uiModel_is_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11509 }
11510
11511 result = (bool)uiModelNode_t_is_autoscale(arg1);
11512 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11513 return SWIG_arg;
11514
11515 if(0) SWIG_fail;
11516
11517fail:
11518 lua_error(L);
11519 return SWIG_arg;
11520}
11521
11522
11523static int _wrap_uiModel_is_mouserotate(lua_State* L) {
11524 int SWIG_arg = 0;
11525 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11526 bool result;
11527
11528 SWIG_check_num_args("uiModelNode_t::is_mouserotate",1,1)
11529 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::is_mouserotate",1,"uiModelNode_t *");
11530
11531 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11532 SWIG_fail_ptr("uiModel_is_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11533 }
11534
11535 result = (bool)uiModelNode_t_is_mouserotate(arg1);
11536 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
11537 return SWIG_arg;
11538
11539 if(0) SWIG_fail;
11540
11541fail:
11542 lua_error(L);
11543 return SWIG_arg;
11544}
11545
11546
11547static int _wrap_uiModel_angles(lua_State* L) {
11548 int SWIG_arg = 0;
11549 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11550 vec3_struct_t *result = 0 ;
11551
11552 SWIG_check_num_args("uiModelNode_t::angles",1,1)
11553 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::angles",1,"uiModelNode_t *");
11554
11555 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11556 SWIG_fail_ptr("uiModel_angles",1,SWIGTYPE_p_uiModelNode_t);
11557 }
11558
11559 result = (vec3_struct_t *)uiModelNode_t_angles(arg1);
11560 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11561 return SWIG_arg;
11562
11563 if(0) SWIG_fail;
11564
11565fail:
11566 lua_error(L);
11567 return SWIG_arg;
11568}
11569
11570
11571static int _wrap_uiModel_origin(lua_State* L) {
11572 int SWIG_arg = 0;
11573 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11574 vec3_struct_t *result = 0 ;
11575
11576 SWIG_check_num_args("uiModelNode_t::origin",1,1)
11577 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::origin",1,"uiModelNode_t *");
11578
11579 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11580 SWIG_fail_ptr("uiModel_origin",1,SWIGTYPE_p_uiModelNode_t);
11581 }
11582
11583 result = (vec3_struct_t *)uiModelNode_t_origin(arg1);
11584 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11585 return SWIG_arg;
11586
11587 if(0) SWIG_fail;
11588
11589fail:
11590 lua_error(L);
11591 return SWIG_arg;
11592}
11593
11594
11595static int _wrap_uiModel_omega(lua_State* L) {
11596 int SWIG_arg = 0;
11597 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11598 vec3_struct_t *result = 0 ;
11599
11600 SWIG_check_num_args("uiModelNode_t::omega",1,1)
11601 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::omega",1,"uiModelNode_t *");
11602
11603 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11604 SWIG_fail_ptr("uiModel_omega",1,SWIGTYPE_p_uiModelNode_t);
11605 }
11606
11607 result = (vec3_struct_t *)uiModelNode_t_omega(arg1);
11608 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11609 return SWIG_arg;
11610
11611 if(0) SWIG_fail;
11612
11613fail:
11614 lua_error(L);
11615 return SWIG_arg;
11616}
11617
11618
11619static int _wrap_uiModel_scale(lua_State* L) {
11620 int SWIG_arg = 0;
11621 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11622 vec3_struct_t *result = 0 ;
11623
11624 SWIG_check_num_args("uiModelNode_t::scale",1,1)
11625 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::scale",1,"uiModelNode_t *");
11626
11627 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11628 SWIG_fail_ptr("uiModel_scale",1,SWIGTYPE_p_uiModelNode_t);
11629 }
11630
11631 result = (vec3_struct_t *)uiModelNode_t_scale(arg1);
11632 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec3_struct_t,0); SWIG_arg++;
11633 return SWIG_arg;
11634
11635 if(0) SWIG_fail;
11636
11637fail:
11638 lua_error(L);
11639 return SWIG_arg;
11640}
11641
11642
11643static int _wrap_uiModel_model(lua_State* L) {
11644 int SWIG_arg = 0;
11645 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11646 char *result = 0 ;
11647
11648 SWIG_check_num_args("uiModelNode_t::model",1,1)
11649 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::model",1,"uiModelNode_t *");
11650
11651 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11652 SWIG_fail_ptr("uiModel_model",1,SWIGTYPE_p_uiModelNode_t);
11653 }
11654
11655 result = (char *)uiModelNode_t_model(arg1);
11656 lua_pushstring(L,(const char *)result); SWIG_arg++;
11657 return SWIG_arg;
11658
11659 if(0) SWIG_fail;
11660
11661fail:
11662 lua_error(L);
11663 return SWIG_arg;
11664}
11665
11666
11667static int _wrap_uiModel_skin(lua_State* L) {
11668 int SWIG_arg = 0;
11669 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11670 char *result = 0 ;
11671
11672 SWIG_check_num_args("uiModelNode_t::skin",1,1)
11673 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::skin",1,"uiModelNode_t *");
11674
11675 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11676 SWIG_fail_ptr("uiModel_skin",1,SWIGTYPE_p_uiModelNode_t);
11677 }
11678
11679 result = (char *)uiModelNode_t_skin(arg1);
11680 lua_pushstring(L,(const char *)result); SWIG_arg++;
11681 return SWIG_arg;
11682
11683 if(0) SWIG_fail;
11684
11685fail:
11686 lua_error(L);
11687 return SWIG_arg;
11688}
11689
11690
11691static int _wrap_uiModel_animation(lua_State* L) {
11692 int SWIG_arg = 0;
11693 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11694 char *result = 0 ;
11695
11696 SWIG_check_num_args("uiModelNode_t::animation",1,1)
11697 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::animation",1,"uiModelNode_t *");
11698
11699 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11700 SWIG_fail_ptr("uiModel_animation",1,SWIGTYPE_p_uiModelNode_t);
11701 }
11702
11703 result = (char *)uiModelNode_t_animation(arg1);
11704 lua_pushstring(L,(const char *)result); SWIG_arg++;
11705 return SWIG_arg;
11706
11707 if(0) SWIG_fail;
11708
11709fail:
11710 lua_error(L);
11711 return SWIG_arg;
11712}
11713
11714
11715static int _wrap_uiModel_tag(lua_State* L) {
11716 int SWIG_arg = 0;
11717 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11718 char *result = 0 ;
11719
11720 SWIG_check_num_args("uiModelNode_t::tag",1,1)
11721 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::tag",1,"uiModelNode_t *");
11722
11723 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11724 SWIG_fail_ptr("uiModel_tag",1,SWIGTYPE_p_uiModelNode_t);
11725 }
11726
11727 result = (char *)uiModelNode_t_tag(arg1);
11728 lua_pushstring(L,(const char *)result); SWIG_arg++;
11729 return SWIG_arg;
11730
11731 if(0) SWIG_fail;
11732
11733fail:
11734 lua_error(L);
11735 return SWIG_arg;
11736}
11737
11738
11739static int _wrap_uiModel_set_autoscale(lua_State* L) {
11740 int SWIG_arg = 0;
11741 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11742 bool arg2 ;
11743
11744 SWIG_check_num_args("uiModelNode_t::set_autoscale",2,2)
11745 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_autoscale",1,"uiModelNode_t *");
11746 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_autoscale",2,"bool");
11747
11748 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11749 SWIG_fail_ptr("uiModel_set_autoscale",1,SWIGTYPE_p_uiModelNode_t);
11750 }
11751
11752 arg2 = (lua_toboolean(L, 2)!=0);
11753 uiModelNode_t_set_autoscale(arg1,arg2);
11754
11755 return SWIG_arg;
11756
11757 if(0) SWIG_fail;
11758
11759fail:
11760 lua_error(L);
11761 return SWIG_arg;
11762}
11763
11764
11765static int _wrap_uiModel_set_mouserotate(lua_State* L) {
11766 int SWIG_arg = 0;
11767 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11768 bool arg2 ;
11769
11770 SWIG_check_num_args("uiModelNode_t::set_mouserotate",2,2)
11771 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",1,"uiModelNode_t *");
11772 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiModelNode_t::set_mouserotate",2,"bool");
11773
11774 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11775 SWIG_fail_ptr("uiModel_set_mouserotate",1,SWIGTYPE_p_uiModelNode_t);
11776 }
11777
11778 arg2 = (lua_toboolean(L, 2)!=0);
11780
11781 return SWIG_arg;
11782
11783 if(0) SWIG_fail;
11784
11785fail:
11786 lua_error(L);
11787 return SWIG_arg;
11788}
11789
11790
11791static int _wrap_uiModel_set_angles(lua_State* L) {
11792 int SWIG_arg = 0;
11793 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11794 float arg2 ;
11795 float arg3 ;
11796 float arg4 ;
11797
11798 SWIG_check_num_args("uiModelNode_t::set_angles",4,4)
11799 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_angles",1,"uiModelNode_t *");
11800 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_angles",2,"float");
11801 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_angles",3,"float");
11802 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_angles",4,"float");
11803
11804 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11805 SWIG_fail_ptr("uiModel_set_angles",1,SWIGTYPE_p_uiModelNode_t);
11806 }
11807
11808 arg2 = (float)lua_tonumber(L, 2);
11809 arg3 = (float)lua_tonumber(L, 3);
11810 arg4 = (float)lua_tonumber(L, 4);
11811 uiModelNode_t_set_angles(arg1,arg2,arg3,arg4);
11812
11813 return SWIG_arg;
11814
11815 if(0) SWIG_fail;
11816
11817fail:
11818 lua_error(L);
11819 return SWIG_arg;
11820}
11821
11822
11823static int _wrap_uiModel_set_origin(lua_State* L) {
11824 int SWIG_arg = 0;
11825 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11826 float arg2 ;
11827 float arg3 ;
11828 float arg4 ;
11829
11830 SWIG_check_num_args("uiModelNode_t::set_origin",4,4)
11831 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_origin",1,"uiModelNode_t *");
11832 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_origin",2,"float");
11833 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_origin",3,"float");
11834 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_origin",4,"float");
11835
11836 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11837 SWIG_fail_ptr("uiModel_set_origin",1,SWIGTYPE_p_uiModelNode_t);
11838 }
11839
11840 arg2 = (float)lua_tonumber(L, 2);
11841 arg3 = (float)lua_tonumber(L, 3);
11842 arg4 = (float)lua_tonumber(L, 4);
11843 uiModelNode_t_set_origin(arg1,arg2,arg3,arg4);
11844
11845 return SWIG_arg;
11846
11847 if(0) SWIG_fail;
11848
11849fail:
11850 lua_error(L);
11851 return SWIG_arg;
11852}
11853
11854
11855static int _wrap_uiModel_set_omega(lua_State* L) {
11856 int SWIG_arg = 0;
11857 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11858 float arg2 ;
11859 float arg3 ;
11860 float arg4 ;
11861
11862 SWIG_check_num_args("uiModelNode_t::set_omega",4,4)
11863 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_omega",1,"uiModelNode_t *");
11864 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_omega",2,"float");
11865 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_omega",3,"float");
11866 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_omega",4,"float");
11867
11868 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11869 SWIG_fail_ptr("uiModel_set_omega",1,SWIGTYPE_p_uiModelNode_t);
11870 }
11871
11872 arg2 = (float)lua_tonumber(L, 2);
11873 arg3 = (float)lua_tonumber(L, 3);
11874 arg4 = (float)lua_tonumber(L, 4);
11875 uiModelNode_t_set_omega(arg1,arg2,arg3,arg4);
11876
11877 return SWIG_arg;
11878
11879 if(0) SWIG_fail;
11880
11881fail:
11882 lua_error(L);
11883 return SWIG_arg;
11884}
11885
11886
11887static int _wrap_uiModel_set_scale(lua_State* L) {
11888 int SWIG_arg = 0;
11889 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11890 float arg2 ;
11891 float arg3 ;
11892 float arg4 ;
11893
11894 SWIG_check_num_args("uiModelNode_t::set_scale",4,4)
11895 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_scale",1,"uiModelNode_t *");
11896 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiModelNode_t::set_scale",2,"float");
11897 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiModelNode_t::set_scale",3,"float");
11898 if(!lua_isnumber(L,4)) SWIG_fail_arg("uiModelNode_t::set_scale",4,"float");
11899
11900 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11901 SWIG_fail_ptr("uiModel_set_scale",1,SWIGTYPE_p_uiModelNode_t);
11902 }
11903
11904 arg2 = (float)lua_tonumber(L, 2);
11905 arg3 = (float)lua_tonumber(L, 3);
11906 arg4 = (float)lua_tonumber(L, 4);
11907 uiModelNode_t_set_scale(arg1,arg2,arg3,arg4);
11908
11909 return SWIG_arg;
11910
11911 if(0) SWIG_fail;
11912
11913fail:
11914 lua_error(L);
11915 return SWIG_arg;
11916}
11917
11918
11919static int _wrap_uiModel_set_model(lua_State* L) {
11920 int SWIG_arg = 0;
11921 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11922 char *arg2 = (char *) 0 ;
11923
11924 SWIG_check_num_args("uiModelNode_t::set_model",2,2)
11925 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_model",1,"uiModelNode_t *");
11926 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_model",2,"char const *");
11927
11928 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11929 SWIG_fail_ptr("uiModel_set_model",1,SWIGTYPE_p_uiModelNode_t);
11930 }
11931
11932 arg2 = (char *)lua_tostring(L, 2);
11933 uiModelNode_t_set_model(arg1,(char const *)arg2);
11934
11935 return SWIG_arg;
11936
11937 if(0) SWIG_fail;
11938
11939fail:
11940 lua_error(L);
11941 return SWIG_arg;
11942}
11943
11944
11945static int _wrap_uiModel_set_skin(lua_State* L) {
11946 int SWIG_arg = 0;
11947 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11948 char *arg2 = (char *) 0 ;
11949
11950 SWIG_check_num_args("uiModelNode_t::set_skin",2,2)
11951 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_skin",1,"uiModelNode_t *");
11952 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_skin",2,"char const *");
11953
11954 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11955 SWIG_fail_ptr("uiModel_set_skin",1,SWIGTYPE_p_uiModelNode_t);
11956 }
11957
11958 arg2 = (char *)lua_tostring(L, 2);
11959 uiModelNode_t_set_skin(arg1,(char const *)arg2);
11960
11961 return SWIG_arg;
11962
11963 if(0) SWIG_fail;
11964
11965fail:
11966 lua_error(L);
11967 return SWIG_arg;
11968}
11969
11970
11971static int _wrap_uiModel_set_animation(lua_State* L) {
11972 int SWIG_arg = 0;
11973 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
11974 char *arg2 = (char *) 0 ;
11975
11976 SWIG_check_num_args("uiModelNode_t::set_animation",2,2)
11977 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_animation",1,"uiModelNode_t *");
11978 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_animation",2,"char const *");
11979
11980 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
11981 SWIG_fail_ptr("uiModel_set_animation",1,SWIGTYPE_p_uiModelNode_t);
11982 }
11983
11984 arg2 = (char *)lua_tostring(L, 2);
11985 uiModelNode_t_set_animation(arg1,(char const *)arg2);
11986
11987 return SWIG_arg;
11988
11989 if(0) SWIG_fail;
11990
11991fail:
11992 lua_error(L);
11993 return SWIG_arg;
11994}
11995
11996
11997static int _wrap_uiModel_set_tag(lua_State* L) {
11998 int SWIG_arg = 0;
11999 uiModelNode_t *arg1 = (uiModelNode_t *) 0 ;
12000 char *arg2 = (char *) 0 ;
12001
12002 SWIG_check_num_args("uiModelNode_t::set_tag",2,2)
12003 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiModelNode_t::set_tag",1,"uiModelNode_t *");
12004 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiModelNode_t::set_tag",2,"char const *");
12005
12006 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiModelNode_t,0))){
12007 SWIG_fail_ptr("uiModel_set_tag",1,SWIGTYPE_p_uiModelNode_t);
12008 }
12009
12010 arg2 = (char *)lua_tostring(L, 2);
12011 uiModelNode_t_set_tag(arg1,(char const *)arg2);
12012
12013 return SWIG_arg;
12014
12015 if(0) SWIG_fail;
12016
12017fail:
12018 lua_error(L);
12019 return SWIG_arg;
12020}
12021
12022
12023static int _wrap_new_uiModel(lua_State* L) {
12024 int SWIG_arg = 0;
12025 uiModelNode_t *result = 0 ;
12026
12027 SWIG_check_num_args("uiModelNode_t::uiModelNode_t",0,0)
12028 result = (uiModelNode_t *)new uiModelNode_t();
12029 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,1); SWIG_arg++;
12030 return SWIG_arg;
12031
12032 if(0) SWIG_fail;
12033
12034fail:
12035 lua_error(L);
12036 return SWIG_arg;
12037}
12038
12039
12040static void swig_delete_uiModel(void *obj) {
12041uiModelNode_t *arg1 = (uiModelNode_t *) obj;
12042delete arg1;
12043}
12044static int _proxy__wrap_new_uiModel(lua_State *L) {
12045 assert(lua_istable(L,1));
12046 lua_pushcfunction(L,_wrap_new_uiModel);
12047 assert(!lua_isnil(L,-1));
12048 lua_replace(L,1); /* replace our table with real constructor */
12049 lua_call(L,lua_gettop(L)-1,1);
12050 return 1;
12051}
12053 {0,0,0}
12054};
12056 { "is_autoscale", _wrap_uiModel_is_autoscale},
12057 { "is_mouserotate", _wrap_uiModel_is_mouserotate},
12058 { "angles", _wrap_uiModel_angles},
12059 { "origin", _wrap_uiModel_origin},
12060 { "omega", _wrap_uiModel_omega},
12061 { "scale", _wrap_uiModel_scale},
12062 { "model", _wrap_uiModel_model},
12063 { "skin", _wrap_uiModel_skin},
12064 { "animation", _wrap_uiModel_animation},
12065 { "tag", _wrap_uiModel_tag},
12066 { "set_autoscale", _wrap_uiModel_set_autoscale},
12067 { "set_mouserotate", _wrap_uiModel_set_mouserotate},
12068 { "set_angles", _wrap_uiModel_set_angles},
12069 { "set_origin", _wrap_uiModel_set_origin},
12070 { "set_omega", _wrap_uiModel_set_omega},
12071 { "set_scale", _wrap_uiModel_set_scale},
12072 { "set_model", _wrap_uiModel_set_model},
12073 { "set_skin", _wrap_uiModel_set_skin},
12074 { "set_animation", _wrap_uiModel_set_animation},
12075 { "set_tag", _wrap_uiModel_set_tag},
12076 {0,0}
12077};
12079 {0,0}
12080};
12081
12086 {0,0,0,0,0,0}
12087};
12094
12104static const char *swig_uiModel_base_names[] = {"uiNode_t *",0};
12106
12107static int _wrap_uiItem_is_containerlike(lua_State* L) {
12108 int SWIG_arg = 0;
12109 uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12110 bool result;
12111
12112 SWIG_check_num_args("uiItemNode_t::is_containerlike",1,1)
12113 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::is_containerlike",1,"uiItemNode_t *");
12114
12115 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12116 SWIG_fail_ptr("uiItem_is_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12117 }
12118
12119 result = (bool)uiItemNode_t_is_containerlike(arg1);
12120 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12121 return SWIG_arg;
12122
12123 if(0) SWIG_fail;
12124
12125fail:
12126 lua_error(L);
12127 return SWIG_arg;
12128}
12129
12130
12131static int _wrap_uiItem_set_containerlike(lua_State* L) {
12132 int SWIG_arg = 0;
12133 uiItemNode_t *arg1 = (uiItemNode_t *) 0 ;
12134 bool arg2 ;
12135
12136 SWIG_check_num_args("uiItemNode_t::set_containerlike",2,2)
12137 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiItemNode_t::set_containerlike",1,"uiItemNode_t *");
12138 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiItemNode_t::set_containerlike",2,"bool");
12139
12140 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiItemNode_t,0))){
12141 SWIG_fail_ptr("uiItem_set_containerlike",1,SWIGTYPE_p_uiItemNode_t);
12142 }
12143
12144 arg2 = (lua_toboolean(L, 2)!=0);
12146
12147 return SWIG_arg;
12148
12149 if(0) SWIG_fail;
12150
12151fail:
12152 lua_error(L);
12153 return SWIG_arg;
12154}
12155
12156
12157static int _wrap_new_uiItem(lua_State* L) {
12158 int SWIG_arg = 0;
12159 uiItemNode_t *result = 0 ;
12160
12161 SWIG_check_num_args("uiItemNode_t::uiItemNode_t",0,0)
12162 result = (uiItemNode_t *)new uiItemNode_t();
12163 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,1); SWIG_arg++;
12164 return SWIG_arg;
12165
12166 if(0) SWIG_fail;
12167
12168fail:
12169 lua_error(L);
12170 return SWIG_arg;
12171}
12172
12173
12174static void swig_delete_uiItem(void *obj) {
12175uiItemNode_t *arg1 = (uiItemNode_t *) obj;
12176delete arg1;
12177}
12178static int _proxy__wrap_new_uiItem(lua_State *L) {
12179 assert(lua_istable(L,1));
12180 lua_pushcfunction(L,_wrap_new_uiItem);
12181 assert(!lua_isnil(L,-1));
12182 lua_replace(L,1); /* replace our table with real constructor */
12183 lua_call(L,lua_gettop(L)-1,1);
12184 return 1;
12185}
12187 {0,0,0}
12188};
12190 { "is_containerlike", _wrap_uiItem_is_containerlike},
12191 { "set_containerlike", _wrap_uiItem_set_containerlike},
12192 {0,0}
12193};
12195 {0,0}
12196};
12197
12202 {0,0,0,0,0,0}
12203};
12210
12220static const char *swig_uiItem_base_names[] = {"uiModelNode_t *",0};
12222
12223static int _wrap_uiOption_is_collapsed(lua_State* L) {
12224 int SWIG_arg = 0;
12225 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12226 bool result;
12227
12228 SWIG_check_num_args("uiOptionNode_t::is_collapsed",1,1)
12229 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_collapsed",1,"uiOptionNode_t *");
12230
12231 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12232 SWIG_fail_ptr("uiOption_is_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12233 }
12234
12235 result = (bool)uiOptionNode_t_is_collapsed(arg1);
12236 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12237 return SWIG_arg;
12238
12239 if(0) SWIG_fail;
12240
12241fail:
12242 lua_error(L);
12243 return SWIG_arg;
12244}
12245
12246
12247static int _wrap_uiOption_is_flipicion(lua_State* L) {
12248 int SWIG_arg = 0;
12249 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12250 bool result;
12251
12252 SWIG_check_num_args("uiOptionNode_t::is_flipicion",1,1)
12253 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_flipicion",1,"uiOptionNode_t *");
12254
12255 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12256 SWIG_fail_ptr("uiOption_is_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12257 }
12258
12259 result = (bool)uiOptionNode_t_is_flipicion(arg1);
12260 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12261 return SWIG_arg;
12262
12263 if(0) SWIG_fail;
12264
12265fail:
12266 lua_error(L);
12267 return SWIG_arg;
12268}
12269
12270
12271static int _wrap_uiOption_is_truncated(lua_State* L) {
12272 int SWIG_arg = 0;
12273 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12274 bool result;
12275
12276 SWIG_check_num_args("uiOptionNode_t::is_truncated",1,1)
12277 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::is_truncated",1,"uiOptionNode_t *");
12278
12279 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12280 SWIG_fail_ptr("uiOption_is_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12281 }
12282
12283 result = (bool)uiOptionNode_t_is_truncated(arg1);
12284 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12285 return SWIG_arg;
12286
12287 if(0) SWIG_fail;
12288
12289fail:
12290 lua_error(L);
12291 return SWIG_arg;
12292}
12293
12294
12295static int _wrap_uiOption_label(lua_State* L) {
12296 int SWIG_arg = 0;
12297 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12298 char *result = 0 ;
12299
12300 SWIG_check_num_args("uiOptionNode_t::label",1,1)
12301 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::label",1,"uiOptionNode_t *");
12302
12303 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12304 SWIG_fail_ptr("uiOption_label",1,SWIGTYPE_p_uiOptionNode_t);
12305 }
12306
12307 result = (char *)uiOptionNode_t_label(arg1);
12308 lua_pushstring(L,(const char *)result); SWIG_arg++;
12309 return SWIG_arg;
12310
12311 if(0) SWIG_fail;
12312
12313fail:
12314 lua_error(L);
12315 return SWIG_arg;
12316}
12317
12318
12319static int _wrap_uiOption_value(lua_State* L) {
12320 int SWIG_arg = 0;
12321 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12322 char *result = 0 ;
12323
12324 SWIG_check_num_args("uiOptionNode_t::value",1,1)
12325 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::value",1,"uiOptionNode_t *");
12326
12327 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12328 SWIG_fail_ptr("uiOption_value",1,SWIGTYPE_p_uiOptionNode_t);
12329 }
12330
12331 result = (char *)uiOptionNode_t_value(arg1);
12332 lua_pushstring(L,(const char *)result); SWIG_arg++;
12333 return SWIG_arg;
12334
12335 if(0) SWIG_fail;
12336
12337fail:
12338 lua_error(L);
12339 return SWIG_arg;
12340}
12341
12342
12343static int _wrap_uiOption_count(lua_State* L) {
12344 int SWIG_arg = 0;
12345 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12346 int result;
12347
12348 SWIG_check_num_args("uiOptionNode_t::count",1,1)
12349 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::count",1,"uiOptionNode_t *");
12350
12351 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12352 SWIG_fail_ptr("uiOption_count",1,SWIGTYPE_p_uiOptionNode_t);
12353 }
12354
12355 result = (int)uiOptionNode_t_count(arg1);
12356 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12357 return SWIG_arg;
12358
12359 if(0) SWIG_fail;
12360
12361fail:
12362 lua_error(L);
12363 return SWIG_arg;
12364}
12365
12366
12367static int _wrap_uiOption_set_label(lua_State* L) {
12368 int SWIG_arg = 0;
12369 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12370 char *arg2 = (char *) 0 ;
12371
12372 SWIG_check_num_args("uiOptionNode_t::set_label",2,2)
12373 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_label",1,"uiOptionNode_t *");
12374 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_label",2,"char const *");
12375
12376 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12377 SWIG_fail_ptr("uiOption_set_label",1,SWIGTYPE_p_uiOptionNode_t);
12378 }
12379
12380 arg2 = (char *)lua_tostring(L, 2);
12381 uiOptionNode_t_set_label(arg1,(char const *)arg2);
12382
12383 return SWIG_arg;
12384
12385 if(0) SWIG_fail;
12386
12387fail:
12388 lua_error(L);
12389 return SWIG_arg;
12390}
12391
12392
12393static int _wrap_uiOption_set_value(lua_State* L) {
12394 int SWIG_arg = 0;
12395 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12396 char *arg2 = (char *) 0 ;
12397
12398 SWIG_check_num_args("uiOptionNode_t::set_value",2,2)
12399 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_value",1,"uiOptionNode_t *");
12400 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_value",2,"char const *");
12401
12402 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12403 SWIG_fail_ptr("uiOption_set_value",1,SWIGTYPE_p_uiOptionNode_t);
12404 }
12405
12406 arg2 = (char *)lua_tostring(L, 2);
12407 uiOptionNode_t_set_value(arg1,(char const *)arg2);
12408
12409 return SWIG_arg;
12410
12411 if(0) SWIG_fail;
12412
12413fail:
12414 lua_error(L);
12415 return SWIG_arg;
12416}
12417
12418
12419static int _wrap_uiOption_set_collapsed(lua_State* L) {
12420 int SWIG_arg = 0;
12421 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12422 bool arg2 ;
12423
12424 SWIG_check_num_args("uiOptionNode_t::set_collapsed",2,2)
12425 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",1,"uiOptionNode_t *");
12426 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_collapsed",2,"bool");
12427
12428 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12429 SWIG_fail_ptr("uiOption_set_collapsed",1,SWIGTYPE_p_uiOptionNode_t);
12430 }
12431
12432 arg2 = (lua_toboolean(L, 2)!=0);
12434
12435 return SWIG_arg;
12436
12437 if(0) SWIG_fail;
12438
12439fail:
12440 lua_error(L);
12441 return SWIG_arg;
12442}
12443
12444
12445static int _wrap_uiOption_set_flipicion(lua_State* L) {
12446 int SWIG_arg = 0;
12447 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12448 bool arg2 ;
12449
12450 SWIG_check_num_args("uiOptionNode_t::set_flipicion",2,2)
12451 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",1,"uiOptionNode_t *");
12452 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_flipicion",2,"bool");
12453
12454 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12455 SWIG_fail_ptr("uiOption_set_flipicion",1,SWIGTYPE_p_uiOptionNode_t);
12456 }
12457
12458 arg2 = (lua_toboolean(L, 2)!=0);
12460
12461 return SWIG_arg;
12462
12463 if(0) SWIG_fail;
12464
12465fail:
12466 lua_error(L);
12467 return SWIG_arg;
12468}
12469
12470
12471static int _wrap_uiOption_set_truncated(lua_State* L) {
12472 int SWIG_arg = 0;
12473 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12474 bool arg2 ;
12475
12476 SWIG_check_num_args("uiOptionNode_t::set_truncated",2,2)
12477 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_truncated",1,"uiOptionNode_t *");
12478 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiOptionNode_t::set_truncated",2,"bool");
12479
12480 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12481 SWIG_fail_ptr("uiOption_set_truncated",1,SWIGTYPE_p_uiOptionNode_t);
12482 }
12483
12484 arg2 = (lua_toboolean(L, 2)!=0);
12486
12487 return SWIG_arg;
12488
12489 if(0) SWIG_fail;
12490
12491fail:
12492 lua_error(L);
12493 return SWIG_arg;
12494}
12495
12496
12497static int _wrap_uiOption_set_icon(lua_State* L) {
12498 int SWIG_arg = 0;
12499 uiOptionNode_t *arg1 = (uiOptionNode_t *) 0 ;
12500 char *arg2 = (char *) 0 ;
12501
12502 SWIG_check_num_args("uiOptionNode_t::set_icon",2,2)
12503 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionNode_t::set_icon",1,"uiOptionNode_t *");
12504 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionNode_t::set_icon",2,"char const *");
12505
12506 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionNode_t,0))){
12507 SWIG_fail_ptr("uiOption_set_icon",1,SWIGTYPE_p_uiOptionNode_t);
12508 }
12509
12510 arg2 = (char *)lua_tostring(L, 2);
12511 uiOptionNode_t_set_icon(arg1,(char const *)arg2);
12512
12513 return SWIG_arg;
12514
12515 if(0) SWIG_fail;
12516
12517fail:
12518 lua_error(L);
12519 return SWIG_arg;
12520}
12521
12522
12523static int _wrap_new_uiOption(lua_State* L) {
12524 int SWIG_arg = 0;
12525 uiOptionNode_t *result = 0 ;
12526
12527 SWIG_check_num_args("uiOptionNode_t::uiOptionNode_t",0,0)
12528 result = (uiOptionNode_t *)new uiOptionNode_t();
12529 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,1); SWIG_arg++;
12530 return SWIG_arg;
12531
12532 if(0) SWIG_fail;
12533
12534fail:
12535 lua_error(L);
12536 return SWIG_arg;
12537}
12538
12539
12540static void swig_delete_uiOption(void *obj) {
12541uiOptionNode_t *arg1 = (uiOptionNode_t *) obj;
12542delete arg1;
12543}
12544static int _proxy__wrap_new_uiOption(lua_State *L) {
12545 assert(lua_istable(L,1));
12546 lua_pushcfunction(L,_wrap_new_uiOption);
12547 assert(!lua_isnil(L,-1));
12548 lua_replace(L,1); /* replace our table with real constructor */
12549 lua_call(L,lua_gettop(L)-1,1);
12550 return 1;
12551}
12553 {0,0,0}
12554};
12556 { "is_collapsed", _wrap_uiOption_is_collapsed},
12557 { "is_flipicion", _wrap_uiOption_is_flipicion},
12558 { "is_truncated", _wrap_uiOption_is_truncated},
12559 { "label", _wrap_uiOption_label},
12560 { "value", _wrap_uiOption_value},
12561 { "count", _wrap_uiOption_count},
12562 { "set_label", _wrap_uiOption_set_label},
12563 { "set_value", _wrap_uiOption_set_value},
12564 { "set_collapsed", _wrap_uiOption_set_collapsed},
12565 { "set_flipicion", _wrap_uiOption_set_flipicion},
12566 { "set_truncated", _wrap_uiOption_set_truncated},
12567 { "set_icon", _wrap_uiOption_set_icon},
12568 {0,0}
12569};
12571 {0,0}
12572};
12573
12578 {0,0,0,0,0,0}
12579};
12586
12596static const char *swig_uiOption_base_names[] = {"uiNode_t *",0};
12598
12599static int _wrap_new_uiOptionList(lua_State* L) {
12600 int SWIG_arg = 0;
12601 uiOptionListNode_t *result = 0 ;
12602
12603 SWIG_check_num_args("uiOptionListNode_t::uiOptionListNode_t",0,0)
12604 result = (uiOptionListNode_t *)new uiOptionListNode_t();
12605 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,1); SWIG_arg++;
12606 return SWIG_arg;
12607
12608 if(0) SWIG_fail;
12609
12610fail:
12611 lua_error(L);
12612 return SWIG_arg;
12613}
12614
12615
12616static void swig_delete_uiOptionList(void *obj) {
12618delete arg1;
12619}
12620static int _proxy__wrap_new_uiOptionList(lua_State *L) {
12621 assert(lua_istable(L,1));
12622 lua_pushcfunction(L,_wrap_new_uiOptionList);
12623 assert(!lua_isnil(L,-1));
12624 lua_replace(L,1); /* replace our table with real constructor */
12625 lua_call(L,lua_gettop(L)-1,1);
12626 return 1;
12627}
12629 {0,0,0}
12630};
12632 {0,0}
12633};
12635 {0,0}
12636};
12637
12650
12660static const char *swig_uiOptionList_base_names[] = {"uiAbstractOptionNode_t *",0};
12662
12664 int SWIG_arg = 0;
12666 char *arg2 = (char *) 0 ;
12667
12668 SWIG_check_num_args("uiOptionTreeNode_t::set_selectedvalue",2,2)
12669 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",1,"uiOptionTreeNode_t *");
12670 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiOptionTreeNode_t::set_selectedvalue",2,"char const *");
12671
12672 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiOptionTreeNode_t,0))){
12673 SWIG_fail_ptr("uiOptionTree_set_selectedvalue",1,SWIGTYPE_p_uiOptionTreeNode_t);
12674 }
12675
12676 arg2 = (char *)lua_tostring(L, 2);
12677 uiOptionTreeNode_t_set_selectedvalue(arg1,(char const *)arg2);
12678
12679 return SWIG_arg;
12680
12681 if(0) SWIG_fail;
12682
12683fail:
12684 lua_error(L);
12685 return SWIG_arg;
12686}
12687
12688
12689static int _wrap_new_uiOptionTree(lua_State* L) {
12690 int SWIG_arg = 0;
12691 uiOptionTreeNode_t *result = 0 ;
12692
12693 SWIG_check_num_args("uiOptionTreeNode_t::uiOptionTreeNode_t",0,0)
12694 result = (uiOptionTreeNode_t *)new uiOptionTreeNode_t();
12695 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,1); SWIG_arg++;
12696 return SWIG_arg;
12697
12698 if(0) SWIG_fail;
12699
12700fail:
12701 lua_error(L);
12702 return SWIG_arg;
12703}
12704
12705
12706static void swig_delete_uiOptionTree(void *obj) {
12708delete arg1;
12709}
12710static int _proxy__wrap_new_uiOptionTree(lua_State *L) {
12711 assert(lua_istable(L,1));
12712 lua_pushcfunction(L,_wrap_new_uiOptionTree);
12713 assert(!lua_isnil(L,-1));
12714 lua_replace(L,1); /* replace our table with real constructor */
12715 lua_call(L,lua_gettop(L)-1,1);
12716 return 1;
12717}
12719 {0,0,0}
12720};
12722 { "set_selectedvalue", _wrap_uiOptionTree_set_selectedvalue},
12723 {0,0}
12724};
12726 {0,0}
12727};
12728
12741
12751static const char *swig_uiOptionTree_base_names[] = {"uiAbstractOptionNode_t *",0};
12753
12754static int _wrap_uiPanel_is_wheelscrollable(lua_State* L) {
12755 int SWIG_arg = 0;
12756 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12757 bool result;
12758
12759 SWIG_check_num_args("uiPanelNode_t::is_wheelscrollable",1,1)
12760 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::is_wheelscrollable",1,"uiPanelNode_t *");
12761
12762 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12763 SWIG_fail_ptr("uiPanel_is_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12764 }
12765
12766 result = (bool)uiPanelNode_t_is_wheelscrollable(arg1);
12767 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
12768 return SWIG_arg;
12769
12770 if(0) SWIG_fail;
12771
12772fail:
12773 lua_error(L);
12774 return SWIG_arg;
12775}
12776
12777
12778static int _wrap_uiPanel_layout(lua_State* L) {
12779 int SWIG_arg = 0;
12780 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12781 int result;
12782
12783 SWIG_check_num_args("uiPanelNode_t::layout",1,1)
12784 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layout",1,"uiPanelNode_t *");
12785
12786 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12787 SWIG_fail_ptr("uiPanel_layout",1,SWIGTYPE_p_uiPanelNode_t);
12788 }
12789
12790 result = (int)uiPanelNode_t_layout(arg1);
12791 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12792 return SWIG_arg;
12793
12794 if(0) SWIG_fail;
12795
12796fail:
12797 lua_error(L);
12798 return SWIG_arg;
12799}
12800
12801
12802static int _wrap_uiPanel_layoutmargin(lua_State* L) {
12803 int SWIG_arg = 0;
12804 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12805 int result;
12806
12807 SWIG_check_num_args("uiPanelNode_t::layoutmargin",1,1)
12808 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutmargin",1,"uiPanelNode_t *");
12809
12810 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12811 SWIG_fail_ptr("uiPanel_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12812 }
12813
12814 result = (int)uiPanelNode_t_layoutmargin(arg1);
12815 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12816 return SWIG_arg;
12817
12818 if(0) SWIG_fail;
12819
12820fail:
12821 lua_error(L);
12822 return SWIG_arg;
12823}
12824
12825
12826static int _wrap_uiPanel_layoutcolumns(lua_State* L) {
12827 int SWIG_arg = 0;
12828 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12829 int result;
12830
12831 SWIG_check_num_args("uiPanelNode_t::layoutcolumns",1,1)
12832 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::layoutcolumns",1,"uiPanelNode_t *");
12833
12834 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12835 SWIG_fail_ptr("uiPanel_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12836 }
12837
12838 result = (int)uiPanelNode_t_layoutcolumns(arg1);
12839 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
12840 return SWIG_arg;
12841
12842 if(0) SWIG_fail;
12843
12844fail:
12845 lua_error(L);
12846 return SWIG_arg;
12847}
12848
12849
12850static int _wrap_uiPanel_set_layout(lua_State* L) {
12851 int SWIG_arg = 0;
12852 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12853 int arg2 ;
12854
12855 SWIG_check_num_args("uiPanelNode_t::set_layout",2,2)
12856 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layout",1,"uiPanelNode_t *");
12857 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layout",2,"int");
12858
12859 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12860 SWIG_fail_ptr("uiPanel_set_layout",1,SWIGTYPE_p_uiPanelNode_t);
12861 }
12862
12863 arg2 = (int)lua_tonumber(L, 2);
12864 uiPanelNode_t_set_layout(arg1,arg2);
12865
12866 return SWIG_arg;
12867
12868 if(0) SWIG_fail;
12869
12870fail:
12871 lua_error(L);
12872 return SWIG_arg;
12873}
12874
12875
12876static int _wrap_uiPanel_set_layoutmargin(lua_State* L) {
12877 int SWIG_arg = 0;
12878 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12879 int arg2 ;
12880
12881 SWIG_check_num_args("uiPanelNode_t::set_layoutmargin",2,2)
12882 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",1,"uiPanelNode_t *");
12883 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutmargin",2,"int");
12884
12885 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12886 SWIG_fail_ptr("uiPanel_set_layoutmargin",1,SWIGTYPE_p_uiPanelNode_t);
12887 }
12888
12889 arg2 = (int)lua_tonumber(L, 2);
12891
12892 return SWIG_arg;
12893
12894 if(0) SWIG_fail;
12895
12896fail:
12897 lua_error(L);
12898 return SWIG_arg;
12899}
12900
12901
12902static int _wrap_uiPanel_set_layoutcolumns(lua_State* L) {
12903 int SWIG_arg = 0;
12904 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12905 int arg2 ;
12906
12907 SWIG_check_num_args("uiPanelNode_t::set_layoutcolumns",2,2)
12908 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",1,"uiPanelNode_t *");
12909 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiPanelNode_t::set_layoutcolumns",2,"int");
12910
12911 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12912 SWIG_fail_ptr("uiPanel_set_layoutcolumns",1,SWIGTYPE_p_uiPanelNode_t);
12913 }
12914
12915 arg2 = (int)lua_tonumber(L, 2);
12917
12918 return SWIG_arg;
12919
12920 if(0) SWIG_fail;
12921
12922fail:
12923 lua_error(L);
12924 return SWIG_arg;
12925}
12926
12927
12928static int _wrap_uiPanel_set_wheelscrollable(lua_State* L) {
12929 int SWIG_arg = 0;
12930 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12931 bool arg2 ;
12932
12933 SWIG_check_num_args("uiPanelNode_t::set_wheelscrollable",2,2)
12934 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",1,"uiPanelNode_t *");
12935 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiPanelNode_t::set_wheelscrollable",2,"bool");
12936
12937 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12938 SWIG_fail_ptr("uiPanel_set_wheelscrollable",1,SWIGTYPE_p_uiPanelNode_t);
12939 }
12940
12941 arg2 = (lua_toboolean(L, 2)!=0);
12943
12944 return SWIG_arg;
12945
12946 if(0) SWIG_fail;
12947
12948fail:
12949 lua_error(L);
12950 return SWIG_arg;
12951}
12952
12953
12954static int _wrap_uiPanel_set_background(lua_State* L) {
12955 int SWIG_arg = 0;
12956 uiPanelNode_t *arg1 = (uiPanelNode_t *) 0 ;
12957 char *arg2 = (char *) 0 ;
12958
12959 SWIG_check_num_args("uiPanelNode_t::set_background",2,2)
12960 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiPanelNode_t::set_background",1,"uiPanelNode_t *");
12961 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiPanelNode_t::set_background",2,"char const *");
12962
12963 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiPanelNode_t,0))){
12964 SWIG_fail_ptr("uiPanel_set_background",1,SWIGTYPE_p_uiPanelNode_t);
12965 }
12966
12967 arg2 = (char *)lua_tostring(L, 2);
12968 uiPanelNode_t_set_background(arg1,(char const *)arg2);
12969
12970 return SWIG_arg;
12971
12972 if(0) SWIG_fail;
12973
12974fail:
12975 lua_error(L);
12976 return SWIG_arg;
12977}
12978
12979
12980static int _wrap_new_uiPanel(lua_State* L) {
12981 int SWIG_arg = 0;
12982 uiPanelNode_t *result = 0 ;
12983
12984 SWIG_check_num_args("uiPanelNode_t::uiPanelNode_t",0,0)
12985 result = (uiPanelNode_t *)new uiPanelNode_t();
12986 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,1); SWIG_arg++;
12987 return SWIG_arg;
12988
12989 if(0) SWIG_fail;
12990
12991fail:
12992 lua_error(L);
12993 return SWIG_arg;
12994}
12995
12996
12997static void swig_delete_uiPanel(void *obj) {
12998uiPanelNode_t *arg1 = (uiPanelNode_t *) obj;
12999delete arg1;
13000}
13001static int _proxy__wrap_new_uiPanel(lua_State *L) {
13002 assert(lua_istable(L,1));
13003 lua_pushcfunction(L,_wrap_new_uiPanel);
13004 assert(!lua_isnil(L,-1));
13005 lua_replace(L,1); /* replace our table with real constructor */
13006 lua_call(L,lua_gettop(L)-1,1);
13007 return 1;
13008}
13010 {0,0,0}
13011};
13013 { "is_wheelscrollable", _wrap_uiPanel_is_wheelscrollable},
13014 { "layout", _wrap_uiPanel_layout},
13015 { "layoutmargin", _wrap_uiPanel_layoutmargin},
13016 { "layoutcolumns", _wrap_uiPanel_layoutcolumns},
13017 { "set_layout", _wrap_uiPanel_set_layout},
13018 { "set_layoutmargin", _wrap_uiPanel_set_layoutmargin},
13019 { "set_layoutcolumns", _wrap_uiPanel_set_layoutcolumns},
13020 { "set_wheelscrollable", _wrap_uiPanel_set_wheelscrollable},
13021 { "set_background", _wrap_uiPanel_set_background},
13022 {0,0}
13023};
13025 {0,0}
13026};
13027
13032 {0,0,0,0,0,0}
13033};
13040
13050static const char *swig_uiPanel_base_names[] = {"uiAbstractScrollableNode_t *",0};
13052
13053static int _wrap_new_uiRadar(lua_State* L) {
13054 int SWIG_arg = 0;
13055 uiRadarNode_t *result = 0 ;
13056
13057 SWIG_check_num_args("uiRadarNode_t::uiRadarNode_t",0,0)
13058 result = (uiRadarNode_t *)new uiRadarNode_t();
13059 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,1); SWIG_arg++;
13060 return SWIG_arg;
13061
13062 if(0) SWIG_fail;
13063
13064fail:
13065 lua_error(L);
13066 return SWIG_arg;
13067}
13068
13069
13070static void swig_delete_uiRadar(void *obj) {
13071uiRadarNode_t *arg1 = (uiRadarNode_t *) obj;
13072delete arg1;
13073}
13074static int _proxy__wrap_new_uiRadar(lua_State *L) {
13075 assert(lua_istable(L,1));
13076 lua_pushcfunction(L,_wrap_new_uiRadar);
13077 assert(!lua_isnil(L,-1));
13078 lua_replace(L,1); /* replace our table with real constructor */
13079 lua_call(L,lua_gettop(L)-1,1);
13080 return 1;
13081}
13083 {0,0,0}
13084};
13086 {0,0}
13087};
13089 {0,0}
13090};
13091
13096 {0,0,0,0,0,0}
13097};
13104
13114static const char *swig_uiRadar_base_names[] = {"uiNode_t *",0};
13116
13117static int _wrap_uiRadioButton_is_flipicon(lua_State* L) {
13118 int SWIG_arg = 0;
13120 bool result;
13121
13122 SWIG_check_num_args("uiRadioButtonNode_t::is_flipicon",1,1)
13123 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::is_flipicon",1,"uiRadioButtonNode_t *");
13124
13125 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13126 SWIG_fail_ptr("uiRadioButton_is_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13127 }
13128
13129 result = (bool)uiRadioButtonNode_t_is_flipicon(arg1);
13130 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13131 return SWIG_arg;
13132
13133 if(0) SWIG_fail;
13134
13135fail:
13136 lua_error(L);
13137 return SWIG_arg;
13138}
13139
13140
13141static int _wrap_uiRadioButton_as_string(lua_State* L) {
13142 int SWIG_arg = 0;
13144 char *result = 0 ;
13145
13146 SWIG_check_num_args("uiRadioButtonNode_t::as_string",1,1)
13147 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_string",1,"uiRadioButtonNode_t *");
13148
13149 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13150 SWIG_fail_ptr("uiRadioButton_as_string",1,SWIGTYPE_p_uiRadioButtonNode_t);
13151 }
13152
13153 result = (char *)uiRadioButtonNode_t_as_string(arg1);
13154 lua_pushstring(L,(const char *)result); SWIG_arg++;
13155 return SWIG_arg;
13156
13157 if(0) SWIG_fail;
13158
13159fail:
13160 lua_error(L);
13161 return SWIG_arg;
13162}
13163
13164
13165static int _wrap_uiRadioButton_as_float(lua_State* L) {
13166 int SWIG_arg = 0;
13168 float result;
13169
13170 SWIG_check_num_args("uiRadioButtonNode_t::as_float",1,1)
13171 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::as_float",1,"uiRadioButtonNode_t *");
13172
13173 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13174 SWIG_fail_ptr("uiRadioButton_as_float",1,SWIGTYPE_p_uiRadioButtonNode_t);
13175 }
13176
13177 result = (float)uiRadioButtonNode_t_as_float(arg1);
13178 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13179 return SWIG_arg;
13180
13181 if(0) SWIG_fail;
13182
13183fail:
13184 lua_error(L);
13185 return SWIG_arg;
13186}
13187
13188
13189static int _wrap_uiRadioButton_cvar(lua_State* L) {
13190 int SWIG_arg = 0;
13192 char *result = 0 ;
13193
13194 SWIG_check_num_args("uiRadioButtonNode_t::cvar",1,1)
13195 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::cvar",1,"uiRadioButtonNode_t *");
13196
13197 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13198 SWIG_fail_ptr("uiRadioButton_cvar",1,SWIGTYPE_p_uiRadioButtonNode_t);
13199 }
13200
13201 result = (char *)uiRadioButtonNode_t_cvar(arg1);
13202 lua_pushstring(L,(const char *)result); SWIG_arg++;
13203 return SWIG_arg;
13204
13205 if(0) SWIG_fail;
13206
13207fail:
13208 lua_error(L);
13209 return SWIG_arg;
13210}
13211
13212
13213static int _wrap_uiRadioButton_set_cvar(lua_State* L) {
13214 int SWIG_arg = 0;
13216 char *arg2 = (char *) 0 ;
13217
13218 SWIG_check_num_args("uiRadioButtonNode_t::set_cvar",2,2)
13219 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_cvar",1,"uiRadioButtonNode_t *");
13220 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_cvar",2,"char const *");
13221
13222 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13223 SWIG_fail_ptr("uiRadioButton_set_cvar",1,SWIGTYPE_p_uiRadioButtonNode_t);
13224 }
13225
13226 arg2 = (char *)lua_tostring(L, 2);
13227 uiRadioButtonNode_t_set_cvar(arg1,(char const *)arg2);
13228
13229 return SWIG_arg;
13230
13231 if(0) SWIG_fail;
13232
13233fail:
13234 lua_error(L);
13235 return SWIG_arg;
13236}
13237
13238
13240 int SWIG_arg = 0;
13242 char *arg2 = (char *) 0 ;
13243
13244 SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13245 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13246 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"char const *");
13247
13248 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13249 SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13250 }
13251
13252 arg2 = (char *)lua_tostring(L, 2);
13253 uiRadioButtonNode_t_set_value__SWIG_0(arg1,(char const *)arg2);
13254
13255 return SWIG_arg;
13256
13257 if(0) SWIG_fail;
13258
13259fail:
13260 lua_error(L);
13261 return SWIG_arg;
13262}
13263
13264
13266 int SWIG_arg = 0;
13268 float arg2 ;
13269
13270 SWIG_check_num_args("uiRadioButtonNode_t::set_value",2,2)
13271 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",1,"uiRadioButtonNode_t *");
13272 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_value",2,"float");
13273
13274 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13275 SWIG_fail_ptr("uiRadioButton_set_value",1,SWIGTYPE_p_uiRadioButtonNode_t);
13276 }
13277
13278 arg2 = (float)lua_tonumber(L, 2);
13280
13281 return SWIG_arg;
13282
13283 if(0) SWIG_fail;
13284
13285fail:
13286 lua_error(L);
13287 return SWIG_arg;
13288}
13289
13290
13291static int _wrap_uiRadioButton_set_value(lua_State* L) {
13292 int argc;
13293 int argv[3]={
13294 1,2,3
13295 };
13296
13297 argc = lua_gettop(L);
13298 if (argc == 2) {
13299 int _v;
13300 {
13301 void *ptr;
13302 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13303 _v = 0;
13304 } else {
13305 _v = 1;
13306 }
13307 }
13308 if (_v) {
13309 {
13310 _v = lua_isnumber(L,argv[1]);
13311 }
13312 if (_v) {
13314 }
13315 }
13316 }
13317 if (argc == 2) {
13318 int _v;
13319 {
13320 void *ptr;
13321 if (SWIG_isptrtype(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_uiRadioButtonNode_t, 0)) {
13322 _v = 0;
13323 } else {
13324 _v = 1;
13325 }
13326 }
13327 if (_v) {
13328 {
13329 _v = SWIG_lua_isnilstring(L,argv[1]);
13330 }
13331 if (_v) {
13333 }
13334 }
13335 }
13336
13337 SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'uiRadioButton_set_value'\n"
13338 " Possible C/C++ prototypes are:\n"
13339 " uiRadioButtonNode_t::set_value(char const *)\n"
13340 " uiRadioButtonNode_t::set_value(float)\n");
13341 lua_error(L);return 0;
13342}
13343
13344
13345static int _wrap_uiRadioButton_set_flipicon(lua_State* L) {
13346 int SWIG_arg = 0;
13348 bool arg2 ;
13349
13350 SWIG_check_num_args("uiRadioButtonNode_t::set_flipicon",2,2)
13351 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",1,"uiRadioButtonNode_t *");
13352 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_flipicon",2,"bool");
13353
13354 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13355 SWIG_fail_ptr("uiRadioButton_set_flipicon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13356 }
13357
13358 arg2 = (lua_toboolean(L, 2)!=0);
13360
13361 return SWIG_arg;
13362
13363 if(0) SWIG_fail;
13364
13365fail:
13366 lua_error(L);
13367 return SWIG_arg;
13368}
13369
13370
13371static int _wrap_uiRadioButton_set_background(lua_State* L) {
13372 int SWIG_arg = 0;
13374 char *arg2 = (char *) 0 ;
13375
13376 SWIG_check_num_args("uiRadioButtonNode_t::set_background",2,2)
13377 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",1,"uiRadioButtonNode_t *");
13378 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_background",2,"char const *");
13379
13380 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13381 SWIG_fail_ptr("uiRadioButton_set_background",1,SWIGTYPE_p_uiRadioButtonNode_t);
13382 }
13383
13384 arg2 = (char *)lua_tostring(L, 2);
13385 uiRadioButtonNode_t_set_background(arg1,(char const *)arg2);
13386
13387 return SWIG_arg;
13388
13389 if(0) SWIG_fail;
13390
13391fail:
13392 lua_error(L);
13393 return SWIG_arg;
13394}
13395
13396
13397static int _wrap_uiRadioButton_set_icon(lua_State* L) {
13398 int SWIG_arg = 0;
13400 char *arg2 = (char *) 0 ;
13401
13402 SWIG_check_num_args("uiRadioButtonNode_t::set_icon",2,2)
13403 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",1,"uiRadioButtonNode_t *");
13404 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiRadioButtonNode_t::set_icon",2,"char const *");
13405
13406 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRadioButtonNode_t,0))){
13407 SWIG_fail_ptr("uiRadioButton_set_icon",1,SWIGTYPE_p_uiRadioButtonNode_t);
13408 }
13409
13410 arg2 = (char *)lua_tostring(L, 2);
13411 uiRadioButtonNode_t_set_icon(arg1,(char const *)arg2);
13412
13413 return SWIG_arg;
13414
13415 if(0) SWIG_fail;
13416
13417fail:
13418 lua_error(L);
13419 return SWIG_arg;
13420}
13421
13422
13423static int _wrap_new_uiRadioButton(lua_State* L) {
13424 int SWIG_arg = 0;
13425 uiRadioButtonNode_t *result = 0 ;
13426
13427 SWIG_check_num_args("uiRadioButtonNode_t::uiRadioButtonNode_t",0,0)
13428 result = (uiRadioButtonNode_t *)new uiRadioButtonNode_t();
13429 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,1); SWIG_arg++;
13430 return SWIG_arg;
13431
13432 if(0) SWIG_fail;
13433
13434fail:
13435 lua_error(L);
13436 return SWIG_arg;
13437}
13438
13439
13440static void swig_delete_uiRadioButton(void *obj) {
13442delete arg1;
13443}
13444static int _proxy__wrap_new_uiRadioButton(lua_State *L) {
13445 assert(lua_istable(L,1));
13446 lua_pushcfunction(L,_wrap_new_uiRadioButton);
13447 assert(!lua_isnil(L,-1));
13448 lua_replace(L,1); /* replace our table with real constructor */
13449 lua_call(L,lua_gettop(L)-1,1);
13450 return 1;
13451}
13453 {0,0,0}
13454};
13456 { "is_flipicon", _wrap_uiRadioButton_is_flipicon},
13457 { "as_string", _wrap_uiRadioButton_as_string},
13458 { "as_float", _wrap_uiRadioButton_as_float},
13459 { "cvar", _wrap_uiRadioButton_cvar},
13460 { "set_cvar", _wrap_uiRadioButton_set_cvar},
13461 { "set_value", _wrap_uiRadioButton_set_value},
13462 { "set_flipicon", _wrap_uiRadioButton_set_flipicon},
13463 { "set_background", _wrap_uiRadioButton_set_background},
13464 { "set_icon", _wrap_uiRadioButton_set_icon},
13465 {0,0}
13466};
13468 {0,0}
13469};
13470
13483
13493static const char *swig_uiRadioButton_base_names[] = {"uiNode_t *",0};
13495
13496static int _wrap_uiRows_current(lua_State* L) {
13497 int SWIG_arg = 0;
13498 uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13499 int result;
13500
13501 SWIG_check_num_args("uiRowsNode_t::current",1,1)
13502 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::current",1,"uiRowsNode_t *");
13503
13504 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13505 SWIG_fail_ptr("uiRows_current",1,SWIGTYPE_p_uiRowsNode_t);
13506 }
13507
13508 result = (int)uiRowsNode_t_current(arg1);
13509 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13510 return SWIG_arg;
13511
13512 if(0) SWIG_fail;
13513
13514fail:
13515 lua_error(L);
13516 return SWIG_arg;
13517}
13518
13519
13520static int _wrap_uiRows_lineheight(lua_State* L) {
13521 int SWIG_arg = 0;
13522 uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13523 int result;
13524
13525 SWIG_check_num_args("uiRowsNode_t::lineheight",1,1)
13526 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::lineheight",1,"uiRowsNode_t *");
13527
13528 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13529 SWIG_fail_ptr("uiRows_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13530 }
13531
13532 result = (int)uiRowsNode_t_lineheight(arg1);
13533 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13534 return SWIG_arg;
13535
13536 if(0) SWIG_fail;
13537
13538fail:
13539 lua_error(L);
13540 return SWIG_arg;
13541}
13542
13543
13544static int _wrap_uiRows_set_current(lua_State* L) {
13545 int SWIG_arg = 0;
13546 uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13547 int arg2 ;
13548
13549 SWIG_check_num_args("uiRowsNode_t::set_current",2,2)
13550 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_current",1,"uiRowsNode_t *");
13551 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_current",2,"int");
13552
13553 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13554 SWIG_fail_ptr("uiRows_set_current",1,SWIGTYPE_p_uiRowsNode_t);
13555 }
13556
13557 arg2 = (int)lua_tonumber(L, 2);
13558 uiRowsNode_t_set_current(arg1,arg2);
13559
13560 return SWIG_arg;
13561
13562 if(0) SWIG_fail;
13563
13564fail:
13565 lua_error(L);
13566 return SWIG_arg;
13567}
13568
13569
13570static int _wrap_uiRows_set_lineheight(lua_State* L) {
13571 int SWIG_arg = 0;
13572 uiRowsNode_t *arg1 = (uiRowsNode_t *) 0 ;
13573 int arg2 ;
13574
13575 SWIG_check_num_args("uiRowsNode_t::set_lineheight",2,2)
13576 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",1,"uiRowsNode_t *");
13577 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiRowsNode_t::set_lineheight",2,"int");
13578
13579 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiRowsNode_t,0))){
13580 SWIG_fail_ptr("uiRows_set_lineheight",1,SWIGTYPE_p_uiRowsNode_t);
13581 }
13582
13583 arg2 = (int)lua_tonumber(L, 2);
13584 uiRowsNode_t_set_lineheight(arg1,arg2);
13585
13586 return SWIG_arg;
13587
13588 if(0) SWIG_fail;
13589
13590fail:
13591 lua_error(L);
13592 return SWIG_arg;
13593}
13594
13595
13596static int _wrap_new_uiRows(lua_State* L) {
13597 int SWIG_arg = 0;
13598 uiRowsNode_t *result = 0 ;
13599
13600 SWIG_check_num_args("uiRowsNode_t::uiRowsNode_t",0,0)
13601 result = (uiRowsNode_t *)new uiRowsNode_t();
13602 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,1); SWIG_arg++;
13603 return SWIG_arg;
13604
13605 if(0) SWIG_fail;
13606
13607fail:
13608 lua_error(L);
13609 return SWIG_arg;
13610}
13611
13612
13613static void swig_delete_uiRows(void *obj) {
13614uiRowsNode_t *arg1 = (uiRowsNode_t *) obj;
13615delete arg1;
13616}
13617static int _proxy__wrap_new_uiRows(lua_State *L) {
13618 assert(lua_istable(L,1));
13619 lua_pushcfunction(L,_wrap_new_uiRows);
13620 assert(!lua_isnil(L,-1));
13621 lua_replace(L,1); /* replace our table with real constructor */
13622 lua_call(L,lua_gettop(L)-1,1);
13623 return 1;
13624}
13626 {0,0,0}
13627};
13629 { "current", _wrap_uiRows_current},
13630 { "lineheight", _wrap_uiRows_lineheight},
13631 { "set_current", _wrap_uiRows_set_current},
13632 { "set_lineheight", _wrap_uiRows_set_lineheight},
13633 {0,0}
13634};
13636 {0,0}
13637};
13638
13643 {0,0,0,0,0,0}
13644};
13651
13661static const char *swig_uiRows_base_names[] = {"uiNode_t *",0};
13663
13664static int _wrap_new_uiSelectBox(lua_State* L) {
13665 int SWIG_arg = 0;
13666 uiSelectBoxNode_t *result = 0 ;
13667
13668 SWIG_check_num_args("uiSelectBoxNode_t::uiSelectBoxNode_t",0,0)
13669 result = (uiSelectBoxNode_t *)new uiSelectBoxNode_t();
13670 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,1); SWIG_arg++;
13671 return SWIG_arg;
13672
13673 if(0) SWIG_fail;
13674
13675fail:
13676 lua_error(L);
13677 return SWIG_arg;
13678}
13679
13680
13681static void swig_delete_uiSelectBox(void *obj) {
13682uiSelectBoxNode_t *arg1 = (uiSelectBoxNode_t *) obj;
13683delete arg1;
13684}
13685static int _proxy__wrap_new_uiSelectBox(lua_State *L) {
13686 assert(lua_istable(L,1));
13687 lua_pushcfunction(L,_wrap_new_uiSelectBox);
13688 assert(!lua_isnil(L,-1));
13689 lua_replace(L,1); /* replace our table with real constructor */
13690 lua_call(L,lua_gettop(L)-1,1);
13691 return 1;
13692}
13694 {0,0,0}
13695};
13697 {0,0}
13698};
13700 {0,0}
13701};
13702
13707 {0,0,0,0,0,0}
13708};
13715
13725static const char *swig_uiSelectBox_base_names[] = {"uiAbstractOptionNode_t *",0};
13727
13728static int _wrap_uiSequence_is_playing(lua_State* L) {
13729 int SWIG_arg = 0;
13730 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13731 bool result;
13732
13733 SWIG_check_num_args("uiSequenceNode_t::is_playing",1,1)
13734 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::is_playing",1,"uiSequenceNode_t *");
13735
13736 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13737 SWIG_fail_ptr("uiSequence_is_playing",1,SWIGTYPE_p_uiSequenceNode_t);
13738 }
13739
13740 result = (bool)uiSequenceNode_t_is_playing(arg1);
13741 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13742 return SWIG_arg;
13743
13744 if(0) SWIG_fail;
13745
13746fail:
13747 lua_error(L);
13748 return SWIG_arg;
13749}
13750
13751
13752static int _wrap_uiSequence_set_source(lua_State* L) {
13753 int SWIG_arg = 0;
13754 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13755 char *arg2 = (char *) 0 ;
13756
13757 SWIG_check_num_args("uiSequenceNode_t::set_source",2,2)
13758 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::set_source",1,"uiSequenceNode_t *");
13759 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSequenceNode_t::set_source",2,"char const *");
13760
13761 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13762 SWIG_fail_ptr("uiSequence_set_source",1,SWIGTYPE_p_uiSequenceNode_t);
13763 }
13764
13765 arg2 = (char *)lua_tostring(L, 2);
13766 uiSequenceNode_t_set_source(arg1,(char const *)arg2);
13767
13768 return SWIG_arg;
13769
13770 if(0) SWIG_fail;
13771
13772fail:
13773 lua_error(L);
13774 return SWIG_arg;
13775}
13776
13777
13778static int _wrap_uiSequence_lua_onEnd_set(lua_State* L) {
13779 int SWIG_arg = 0;
13780 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13781 LUA_EVENT arg2 ;
13782
13783 SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",2,2)
13784 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13785
13786 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13787 SWIG_fail_ptr("uiSequence_lua_onEnd_set",1,SWIGTYPE_p_uiSequenceNode_t);
13788 }
13789
13790 {
13791 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
13792 }
13794
13795 return SWIG_arg;
13796
13797 if(0) SWIG_fail;
13798
13799fail:
13800 lua_error(L);
13801 return SWIG_arg;
13802}
13803
13804
13805static int _wrap_uiSequence_lua_onEnd_get(lua_State* L) {
13806 int SWIG_arg = 0;
13807 uiSequenceNode_t *arg1 = (uiSequenceNode_t *) 0 ;
13808 LUA_EVENT result;
13809
13810 SWIG_check_num_args("uiSequenceNode_t::lua_onEnd",1,1)
13811 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSequenceNode_t::lua_onEnd",1,"uiSequenceNode_t *");
13812
13813 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSequenceNode_t,0))){
13814 SWIG_fail_ptr("uiSequence_lua_onEnd_get",1,SWIGTYPE_p_uiSequenceNode_t);
13815 }
13816
13817 result = uiSequenceNode_t_lua_onEnd_get(arg1);
13818 {
13819 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
13820 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
13821 }
13822 return SWIG_arg;
13823
13824 if(0) SWIG_fail;
13825
13826fail:
13827 lua_error(L);
13828 return SWIG_arg;
13829}
13830
13831
13832static int _wrap_new_uiSequence(lua_State* L) {
13833 int SWIG_arg = 0;
13834 uiSequenceNode_t *result = 0 ;
13835
13836 SWIG_check_num_args("uiSequenceNode_t::uiSequenceNode_t",0,0)
13837 result = (uiSequenceNode_t *)new uiSequenceNode_t();
13838 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,1); SWIG_arg++;
13839 return SWIG_arg;
13840
13841 if(0) SWIG_fail;
13842
13843fail:
13844 lua_error(L);
13845 return SWIG_arg;
13846}
13847
13848
13849static void swig_delete_uiSequence(void *obj) {
13850uiSequenceNode_t *arg1 = (uiSequenceNode_t *) obj;
13851delete arg1;
13852}
13853static int _proxy__wrap_new_uiSequence(lua_State *L) {
13854 assert(lua_istable(L,1));
13855 lua_pushcfunction(L,_wrap_new_uiSequence);
13856 assert(!lua_isnil(L,-1));
13857 lua_replace(L,1); /* replace our table with real constructor */
13858 lua_call(L,lua_gettop(L)-1,1);
13859 return 1;
13860}
13866 { "is_playing", _wrap_uiSequence_is_playing},
13867 { "set_source", _wrap_uiSequence_set_source},
13868 {0,0}
13869};
13871 {0,0}
13872};
13873
13878 {0,0,0,0,0,0}
13879};
13886
13896static const char *swig_uiSequence_base_names[] = {"uiNode_t *",0};
13898
13899static int _wrap_uiSpinner_is_horizontal(lua_State* L) {
13900 int SWIG_arg = 0;
13901 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13902 bool result;
13903
13904 SWIG_check_num_args("uiSpinnerNode_t::is_horizontal",1,1)
13905 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_horizontal",1,"uiSpinnerNode_t *");
13906
13907 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13908 SWIG_fail_ptr("uiSpinner_is_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
13909 }
13910
13911 result = (bool)uiSpinnerNode_t_is_horizontal(arg1);
13912 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13913 return SWIG_arg;
13914
13915 if(0) SWIG_fail;
13916
13917fail:
13918 lua_error(L);
13919 return SWIG_arg;
13920}
13921
13922
13923static int _wrap_uiSpinner_is_inverted(lua_State* L) {
13924 int SWIG_arg = 0;
13925 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13926 bool result;
13927
13928 SWIG_check_num_args("uiSpinnerNode_t::is_inverted",1,1)
13929 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::is_inverted",1,"uiSpinnerNode_t *");
13930
13931 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13932 SWIG_fail_ptr("uiSpinner_is_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
13933 }
13934
13935 result = (bool)uiSpinnerNode_t_is_inverted(arg1);
13936 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
13937 return SWIG_arg;
13938
13939 if(0) SWIG_fail;
13940
13941fail:
13942 lua_error(L);
13943 return SWIG_arg;
13944}
13945
13946
13947static int _wrap_uiSpinner_mode(lua_State* L) {
13948 int SWIG_arg = 0;
13949 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13950 int result;
13951
13952 SWIG_check_num_args("uiSpinnerNode_t::mode",1,1)
13953 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::mode",1,"uiSpinnerNode_t *");
13954
13955 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13956 SWIG_fail_ptr("uiSpinner_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
13957 }
13958
13959 result = (int)uiSpinnerNode_t_mode(arg1);
13960 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
13961 return SWIG_arg;
13962
13963 if(0) SWIG_fail;
13964
13965fail:
13966 lua_error(L);
13967 return SWIG_arg;
13968}
13969
13970
13971static int _wrap_uiSpinner_set_background(lua_State* L) {
13972 int SWIG_arg = 0;
13973 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
13974 char *arg2 = (char *) 0 ;
13975
13976 SWIG_check_num_args("uiSpinnerNode_t::set_background",2,2)
13977 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_background",1,"uiSpinnerNode_t *");
13978 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_background",2,"char const *");
13979
13980 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
13981 SWIG_fail_ptr("uiSpinner_set_background",1,SWIGTYPE_p_uiSpinnerNode_t);
13982 }
13983
13984 arg2 = (char *)lua_tostring(L, 2);
13985 uiSpinnerNode_t_set_background(arg1,(char const *)arg2);
13986
13987 return SWIG_arg;
13988
13989 if(0) SWIG_fail;
13990
13991fail:
13992 lua_error(L);
13993 return SWIG_arg;
13994}
13995
13996
13997static int _wrap_uiSpinner_set_topicon(lua_State* L) {
13998 int SWIG_arg = 0;
13999 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14000 char *arg2 = (char *) 0 ;
14001
14002 SWIG_check_num_args("uiSpinnerNode_t::set_topicon",2,2)
14003 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",1,"uiSpinnerNode_t *");
14004 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_topicon",2,"char const *");
14005
14006 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14007 SWIG_fail_ptr("uiSpinner_set_topicon",1,SWIGTYPE_p_uiSpinnerNode_t);
14008 }
14009
14010 arg2 = (char *)lua_tostring(L, 2);
14011 uiSpinnerNode_t_set_topicon(arg1,(char const *)arg2);
14012
14013 return SWIG_arg;
14014
14015 if(0) SWIG_fail;
14016
14017fail:
14018 lua_error(L);
14019 return SWIG_arg;
14020}
14021
14022
14023static int _wrap_uiSpinner_set_bottomicon(lua_State* L) {
14024 int SWIG_arg = 0;
14025 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14026 char *arg2 = (char *) 0 ;
14027
14028 SWIG_check_num_args("uiSpinnerNode_t::set_bottomicon",2,2)
14029 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",1,"uiSpinnerNode_t *");
14030 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_bottomicon",2,"char const *");
14031
14032 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14033 SWIG_fail_ptr("uiSpinner_set_bottomicon",1,SWIGTYPE_p_uiSpinnerNode_t);
14034 }
14035
14036 arg2 = (char *)lua_tostring(L, 2);
14037 uiSpinnerNode_t_set_bottomicon(arg1,(char const *)arg2);
14038
14039 return SWIG_arg;
14040
14041 if(0) SWIG_fail;
14042
14043fail:
14044 lua_error(L);
14045 return SWIG_arg;
14046}
14047
14048
14049static int _wrap_uiSpinner_set_mode(lua_State* L) {
14050 int SWIG_arg = 0;
14051 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14052 int arg2 ;
14053
14054 SWIG_check_num_args("uiSpinnerNode_t::set_mode",2,2)
14055 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",1,"uiSpinnerNode_t *");
14056 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_mode",2,"int");
14057
14058 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14059 SWIG_fail_ptr("uiSpinner_set_mode",1,SWIGTYPE_p_uiSpinnerNode_t);
14060 }
14061
14062 arg2 = (int)lua_tonumber(L, 2);
14063 uiSpinnerNode_t_set_mode(arg1,arg2);
14064
14065 return SWIG_arg;
14066
14067 if(0) SWIG_fail;
14068
14069fail:
14070 lua_error(L);
14071 return SWIG_arg;
14072}
14073
14074
14075static int _wrap_uiSpinner_set_horizontal(lua_State* L) {
14076 int SWIG_arg = 0;
14077 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14078 bool arg2 ;
14079
14080 SWIG_check_num_args("uiSpinnerNode_t::set_horizontal",2,2)
14081 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",1,"uiSpinnerNode_t *");
14082 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_horizontal",2,"bool");
14083
14084 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14085 SWIG_fail_ptr("uiSpinner_set_horizontal",1,SWIGTYPE_p_uiSpinnerNode_t);
14086 }
14087
14088 arg2 = (lua_toboolean(L, 2)!=0);
14090
14091 return SWIG_arg;
14092
14093 if(0) SWIG_fail;
14094
14095fail:
14096 lua_error(L);
14097 return SWIG_arg;
14098}
14099
14100
14101static int _wrap_uiSpinner_set_inverted(lua_State* L) {
14102 int SWIG_arg = 0;
14103 uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) 0 ;
14104 bool arg2 ;
14105
14106 SWIG_check_num_args("uiSpinnerNode_t::set_inverted",2,2)
14107 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",1,"uiSpinnerNode_t *");
14108 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiSpinnerNode_t::set_inverted",2,"bool");
14109
14110 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiSpinnerNode_t,0))){
14111 SWIG_fail_ptr("uiSpinner_set_inverted",1,SWIGTYPE_p_uiSpinnerNode_t);
14112 }
14113
14114 arg2 = (lua_toboolean(L, 2)!=0);
14116
14117 return SWIG_arg;
14118
14119 if(0) SWIG_fail;
14120
14121fail:
14122 lua_error(L);
14123 return SWIG_arg;
14124}
14125
14126
14127static int _wrap_new_uiSpinner(lua_State* L) {
14128 int SWIG_arg = 0;
14129 uiSpinnerNode_t *result = 0 ;
14130
14131 SWIG_check_num_args("uiSpinnerNode_t::uiSpinnerNode_t",0,0)
14132 result = (uiSpinnerNode_t *)new uiSpinnerNode_t();
14133 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,1); SWIG_arg++;
14134 return SWIG_arg;
14135
14136 if(0) SWIG_fail;
14137
14138fail:
14139 lua_error(L);
14140 return SWIG_arg;
14141}
14142
14143
14144static void swig_delete_uiSpinner(void *obj) {
14145uiSpinnerNode_t *arg1 = (uiSpinnerNode_t *) obj;
14146delete arg1;
14147}
14148static int _proxy__wrap_new_uiSpinner(lua_State *L) {
14149 assert(lua_istable(L,1));
14150 lua_pushcfunction(L,_wrap_new_uiSpinner);
14151 assert(!lua_isnil(L,-1));
14152 lua_replace(L,1); /* replace our table with real constructor */
14153 lua_call(L,lua_gettop(L)-1,1);
14154 return 1;
14155}
14157 {0,0,0}
14158};
14160 { "is_horizontal", _wrap_uiSpinner_is_horizontal},
14161 { "is_inverted", _wrap_uiSpinner_is_inverted},
14162 { "mode", _wrap_uiSpinner_mode},
14163 { "set_background", _wrap_uiSpinner_set_background},
14164 { "set_topicon", _wrap_uiSpinner_set_topicon},
14165 { "set_bottomicon", _wrap_uiSpinner_set_bottomicon},
14166 { "set_mode", _wrap_uiSpinner_set_mode},
14167 { "set_horizontal", _wrap_uiSpinner_set_horizontal},
14168 { "set_inverted", _wrap_uiSpinner_set_inverted},
14169 {0,0}
14170};
14172 {0,0}
14173};
14174
14179 {0,0,0,0,0,0}
14180};
14187
14197static const char *swig_uiSpinner_base_names[] = {"uiAbstractValueNode_t *",0};
14199
14200static int _wrap_uiString_longlines(lua_State* L) {
14201 int SWIG_arg = 0;
14202 uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14203 int result;
14204
14205 SWIG_check_num_args("uiStringNode_t::longlines",1,1)
14206 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::longlines",1,"uiStringNode_t *");
14207
14208 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14209 SWIG_fail_ptr("uiString_longlines",1,SWIGTYPE_p_uiStringNode_t);
14210 }
14211
14212 result = (int)uiStringNode_t_longlines(arg1);
14213 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14214 return SWIG_arg;
14215
14216 if(0) SWIG_fail;
14217
14218fail:
14219 lua_error(L);
14220 return SWIG_arg;
14221}
14222
14223
14224static int _wrap_uiString_set_longlines(lua_State* L) {
14225 int SWIG_arg = 0;
14226 uiStringNode_t *arg1 = (uiStringNode_t *) 0 ;
14227 int arg2 ;
14228
14229 SWIG_check_num_args("uiStringNode_t::set_longlines",2,2)
14230 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiStringNode_t::set_longlines",1,"uiStringNode_t *");
14231 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiStringNode_t::set_longlines",2,"int");
14232
14233 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiStringNode_t,0))){
14234 SWIG_fail_ptr("uiString_set_longlines",1,SWIGTYPE_p_uiStringNode_t);
14235 }
14236
14237 arg2 = (int)lua_tonumber(L, 2);
14239
14240 return SWIG_arg;
14241
14242 if(0) SWIG_fail;
14243
14244fail:
14245 lua_error(L);
14246 return SWIG_arg;
14247}
14248
14249
14250static int _wrap_new_uiString(lua_State* L) {
14251 int SWIG_arg = 0;
14252 uiStringNode_t *result = 0 ;
14253
14254 SWIG_check_num_args("uiStringNode_t::uiStringNode_t",0,0)
14255 result = (uiStringNode_t *)new uiStringNode_t();
14256 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,1); SWIG_arg++;
14257 return SWIG_arg;
14258
14259 if(0) SWIG_fail;
14260
14261fail:
14262 lua_error(L);
14263 return SWIG_arg;
14264}
14265
14266
14267static void swig_delete_uiString(void *obj) {
14268uiStringNode_t *arg1 = (uiStringNode_t *) obj;
14269delete arg1;
14270}
14271static int _proxy__wrap_new_uiString(lua_State *L) {
14272 assert(lua_istable(L,1));
14273 lua_pushcfunction(L,_wrap_new_uiString);
14274 assert(!lua_isnil(L,-1));
14275 lua_replace(L,1); /* replace our table with real constructor */
14276 lua_call(L,lua_gettop(L)-1,1);
14277 return 1;
14278}
14280 {0,0,0}
14281};
14283 { "longlines", _wrap_uiString_longlines},
14284 { "set_longlines", _wrap_uiString_set_longlines},
14285 {0,0}
14286};
14288 {0,0}
14289};
14290
14295 {0,0,0,0,0,0}
14296};
14303
14313static const char *swig_uiString_base_names[] = {"uiNode_t *",0};
14315
14316static int _wrap_new_uiTab(lua_State* L) {
14317 int SWIG_arg = 0;
14318 uiTabNode_t *result = 0 ;
14319
14320 SWIG_check_num_args("uiTabNode_t::uiTabNode_t",0,0)
14321 result = (uiTabNode_t *)new uiTabNode_t();
14322 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,1); SWIG_arg++;
14323 return SWIG_arg;
14324
14325 if(0) SWIG_fail;
14326
14327fail:
14328 lua_error(L);
14329 return SWIG_arg;
14330}
14331
14332
14333static void swig_delete_uiTab(void *obj) {
14334uiTabNode_t *arg1 = (uiTabNode_t *) obj;
14335delete arg1;
14336}
14337static int _proxy__wrap_new_uiTab(lua_State *L) {
14338 assert(lua_istable(L,1));
14339 lua_pushcfunction(L,_wrap_new_uiTab);
14340 assert(!lua_isnil(L,-1));
14341 lua_replace(L,1); /* replace our table with real constructor */
14342 lua_call(L,lua_gettop(L)-1,1);
14343 return 1;
14344}
14346 {0,0,0}
14347};
14349 {0,0}
14350};
14352 {0,0}
14353};
14354
14359 {0,0,0,0,0,0}
14360};
14362 {0,0}
14363};
14367
14377static const char *swig_uiTab_base_names[] = {"uiAbstractOptionNode_t *",0};
14379
14380static int _wrap_uiTBar_texh(lua_State* L) {
14381 int SWIG_arg = 0;
14382 uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14383 vec2_struct_t *result = 0 ;
14384
14385 SWIG_check_num_args("uiTBarNode_t::texh",1,1)
14386 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texh",1,"uiTBarNode_t *");
14387
14388 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14389 SWIG_fail_ptr("uiTBar_texh",1,SWIGTYPE_p_uiTBarNode_t);
14390 }
14391
14392 result = (vec2_struct_t *)uiTBarNode_t_texh(arg1);
14393 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14394 return SWIG_arg;
14395
14396 if(0) SWIG_fail;
14397
14398fail:
14399 lua_error(L);
14400 return SWIG_arg;
14401}
14402
14403
14404static int _wrap_uiTBar_texl(lua_State* L) {
14405 int SWIG_arg = 0;
14406 uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14407 vec2_struct_t *result = 0 ;
14408
14409 SWIG_check_num_args("uiTBarNode_t::texl",1,1)
14410 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::texl",1,"uiTBarNode_t *");
14411
14412 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14413 SWIG_fail_ptr("uiTBar_texl",1,SWIGTYPE_p_uiTBarNode_t);
14414 }
14415
14416 result = (vec2_struct_t *)uiTBarNode_t_texl(arg1);
14417 SWIG_NewPointerObj(L,result,SWIGTYPE_p_vec2_struct_t,0); SWIG_arg++;
14418 return SWIG_arg;
14419
14420 if(0) SWIG_fail;
14421
14422fail:
14423 lua_error(L);
14424 return SWIG_arg;
14425}
14426
14427
14428static int _wrap_uiTBar_set_source(lua_State* L) {
14429 int SWIG_arg = 0;
14430 uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14431 char *arg2 = (char *) 0 ;
14432
14433 SWIG_check_num_args("uiTBarNode_t::set_source",2,2)
14434 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_source",1,"uiTBarNode_t *");
14435 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTBarNode_t::set_source",2,"char const *");
14436
14437 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14438 SWIG_fail_ptr("uiTBar_set_source",1,SWIGTYPE_p_uiTBarNode_t);
14439 }
14440
14441 arg2 = (char *)lua_tostring(L, 2);
14442 uiTBarNode_t_set_source(arg1,(char const *)arg2);
14443
14444 return SWIG_arg;
14445
14446 if(0) SWIG_fail;
14447
14448fail:
14449 lua_error(L);
14450 return SWIG_arg;
14451}
14452
14453
14454static int _wrap_uiTBar_set_texh(lua_State* L) {
14455 int SWIG_arg = 0;
14456 uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14457 float arg2 ;
14458 float arg3 ;
14459
14460 SWIG_check_num_args("uiTBarNode_t::set_texh",3,3)
14461 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texh",1,"uiTBarNode_t *");
14462 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texh",2,"float");
14463 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texh",3,"float");
14464
14465 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14466 SWIG_fail_ptr("uiTBar_set_texh",1,SWIGTYPE_p_uiTBarNode_t);
14467 }
14468
14469 arg2 = (float)lua_tonumber(L, 2);
14470 arg3 = (float)lua_tonumber(L, 3);
14471 uiTBarNode_t_set_texh(arg1,arg2,arg3);
14472
14473 return SWIG_arg;
14474
14475 if(0) SWIG_fail;
14476
14477fail:
14478 lua_error(L);
14479 return SWIG_arg;
14480}
14481
14482
14483static int _wrap_uiTBar_set_texl(lua_State* L) {
14484 int SWIG_arg = 0;
14485 uiTBarNode_t *arg1 = (uiTBarNode_t *) 0 ;
14486 float arg2 ;
14487 float arg3 ;
14488
14489 SWIG_check_num_args("uiTBarNode_t::set_texl",3,3)
14490 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTBarNode_t::set_texl",1,"uiTBarNode_t *");
14491 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTBarNode_t::set_texl",2,"float");
14492 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiTBarNode_t::set_texl",3,"float");
14493
14494 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTBarNode_t,0))){
14495 SWIG_fail_ptr("uiTBar_set_texl",1,SWIGTYPE_p_uiTBarNode_t);
14496 }
14497
14498 arg2 = (float)lua_tonumber(L, 2);
14499 arg3 = (float)lua_tonumber(L, 3);
14500 uiTBarNode_t_set_texl(arg1,arg2,arg3);
14501
14502 return SWIG_arg;
14503
14504 if(0) SWIG_fail;
14505
14506fail:
14507 lua_error(L);
14508 return SWIG_arg;
14509}
14510
14511
14512static int _wrap_new_uiTBar(lua_State* L) {
14513 int SWIG_arg = 0;
14514 uiTBarNode_t *result = 0 ;
14515
14516 SWIG_check_num_args("uiTBarNode_t::uiTBarNode_t",0,0)
14517 result = (uiTBarNode_t *)new uiTBarNode_t();
14518 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,1); SWIG_arg++;
14519 return SWIG_arg;
14520
14521 if(0) SWIG_fail;
14522
14523fail:
14524 lua_error(L);
14525 return SWIG_arg;
14526}
14527
14528
14529static void swig_delete_uiTBar(void *obj) {
14530uiTBarNode_t *arg1 = (uiTBarNode_t *) obj;
14531delete arg1;
14532}
14533static int _proxy__wrap_new_uiTBar(lua_State *L) {
14534 assert(lua_istable(L,1));
14535 lua_pushcfunction(L,_wrap_new_uiTBar);
14536 assert(!lua_isnil(L,-1));
14537 lua_replace(L,1); /* replace our table with real constructor */
14538 lua_call(L,lua_gettop(L)-1,1);
14539 return 1;
14540}
14542 {0,0,0}
14543};
14545 { "texh", _wrap_uiTBar_texh},
14546 { "texl", _wrap_uiTBar_texl},
14547 { "set_source", _wrap_uiTBar_set_source},
14548 { "set_texh", _wrap_uiTBar_set_texh},
14549 { "set_texl", _wrap_uiTBar_set_texl},
14550 {0,0}
14551};
14553 {0,0}
14554};
14555
14560 {0,0,0,0,0,0}
14561};
14568
14578static const char *swig_uiTBar_base_names[] = {"uiAbstractValueNode_t *",0};
14580
14581static int _wrap_uiText_dataid(lua_State* L) {
14582 int SWIG_arg = 0;
14583 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14584 int result;
14585
14586 SWIG_check_num_args("uiTextNode_t::dataid",1,1)
14587 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::dataid",1,"uiTextNode_t *");
14588
14589 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14590 SWIG_fail_ptr("uiText_dataid",1,SWIGTYPE_p_uiTextNode_t);
14591 }
14592
14593 result = (int)uiTextNode_t_dataid(arg1);
14594 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14595 return SWIG_arg;
14596
14597 if(0) SWIG_fail;
14598
14599fail:
14600 lua_error(L);
14601 return SWIG_arg;
14602}
14603
14604
14605static int _wrap_uiText_lineheight(lua_State* L) {
14606 int SWIG_arg = 0;
14607 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14608 int result;
14609
14610 SWIG_check_num_args("uiTextNode_t::lineheight",1,1)
14611 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineheight",1,"uiTextNode_t *");
14612
14613 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14614 SWIG_fail_ptr("uiText_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14615 }
14616
14617 result = (int)uiTextNode_t_lineheight(arg1);
14618 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14619 return SWIG_arg;
14620
14621 if(0) SWIG_fail;
14622
14623fail:
14624 lua_error(L);
14625 return SWIG_arg;
14626}
14627
14628
14629static int _wrap_uiText_lineselected(lua_State* L) {
14630 int SWIG_arg = 0;
14631 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14632 int result;
14633
14634 SWIG_check_num_args("uiTextNode_t::lineselected",1,1)
14635 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::lineselected",1,"uiTextNode_t *");
14636
14637 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14638 SWIG_fail_ptr("uiText_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14639 }
14640
14641 result = (int)uiTextNode_t_lineselected(arg1);
14642 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14643 return SWIG_arg;
14644
14645 if(0) SWIG_fail;
14646
14647fail:
14648 lua_error(L);
14649 return SWIG_arg;
14650}
14651
14652
14653static int _wrap_uiText_longlines(lua_State* L) {
14654 int SWIG_arg = 0;
14655 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14656 int result;
14657
14658 SWIG_check_num_args("uiTextNode_t::longlines",1,1)
14659 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::longlines",1,"uiTextNode_t *");
14660
14661 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14662 SWIG_fail_ptr("uiText_longlines",1,SWIGTYPE_p_uiTextNode_t);
14663 }
14664
14665 result = (int)uiTextNode_t_longlines(arg1);
14666 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14667 return SWIG_arg;
14668
14669 if(0) SWIG_fail;
14670
14671fail:
14672 lua_error(L);
14673 return SWIG_arg;
14674}
14675
14676
14677static int _wrap_uiText_textselected(lua_State* L) {
14678 int SWIG_arg = 0;
14679 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14680 char *result = 0 ;
14681
14682 SWIG_check_num_args("uiTextNode_t::textselected",1,1)
14683 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::textselected",1,"uiTextNode_t *");
14684
14685 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14686 SWIG_fail_ptr("uiText_textselected",1,SWIGTYPE_p_uiTextNode_t);
14687 }
14688
14689 result = (char *)uiTextNode_t_textselected(arg1);
14690 lua_pushstring(L,(const char *)result); SWIG_arg++;
14691 return SWIG_arg;
14692
14693 if(0) SWIG_fail;
14694
14695fail:
14696 lua_error(L);
14697 return SWIG_arg;
14698}
14699
14700
14701static int _wrap_uiText_tabwidth(lua_State* L) {
14702 int SWIG_arg = 0;
14703 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14704 int result;
14705
14706 SWIG_check_num_args("uiTextNode_t::tabwidth",1,1)
14707 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::tabwidth",1,"uiTextNode_t *");
14708
14709 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14710 SWIG_fail_ptr("uiText_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14711 }
14712
14713 result = (int)uiTextNode_t_tabwidth(arg1);
14714 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
14715 return SWIG_arg;
14716
14717 if(0) SWIG_fail;
14718
14719fail:
14720 lua_error(L);
14721 return SWIG_arg;
14722}
14723
14724
14725static int _wrap_uiText_set_dataid(lua_State* L) {
14726 int SWIG_arg = 0;
14727 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14728 int arg2 ;
14729
14730 SWIG_check_num_args("uiTextNode_t::set_dataid",2,2)
14731 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_dataid",1,"uiTextNode_t *");
14732 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_dataid",2,"int");
14733
14734 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14735 SWIG_fail_ptr("uiText_set_dataid",1,SWIGTYPE_p_uiTextNode_t);
14736 }
14737
14738 arg2 = (int)lua_tonumber(L, 2);
14739 uiTextNode_t_set_dataid(arg1,arg2);
14740
14741 return SWIG_arg;
14742
14743 if(0) SWIG_fail;
14744
14745fail:
14746 lua_error(L);
14747 return SWIG_arg;
14748}
14749
14750
14751static int _wrap_uiText_set_longlines(lua_State* L) {
14752 int SWIG_arg = 0;
14753 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14754 int arg2 ;
14755
14756 SWIG_check_num_args("uiTextNode_t::set_longlines",2,2)
14757 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_longlines",1,"uiTextNode_t *");
14758 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_longlines",2,"int");
14759
14760 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14761 SWIG_fail_ptr("uiText_set_longlines",1,SWIGTYPE_p_uiTextNode_t);
14762 }
14763
14764 arg2 = (int)lua_tonumber(L, 2);
14765 uiTextNode_t_set_longlines(arg1,arg2);
14766
14767 return SWIG_arg;
14768
14769 if(0) SWIG_fail;
14770
14771fail:
14772 lua_error(L);
14773 return SWIG_arg;
14774}
14775
14776
14777static int _wrap_uiText_set_lineheight(lua_State* L) {
14778 int SWIG_arg = 0;
14779 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14780 int arg2 ;
14781
14782 SWIG_check_num_args("uiTextNode_t::set_lineheight",2,2)
14783 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineheight",1,"uiTextNode_t *");
14784 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineheight",2,"int");
14785
14786 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14787 SWIG_fail_ptr("uiText_set_lineheight",1,SWIGTYPE_p_uiTextNode_t);
14788 }
14789
14790 arg2 = (int)lua_tonumber(L, 2);
14791 uiTextNode_t_set_lineheight(arg1,arg2);
14792
14793 return SWIG_arg;
14794
14795 if(0) SWIG_fail;
14796
14797fail:
14798 lua_error(L);
14799 return SWIG_arg;
14800}
14801
14802
14803static int _wrap_uiText_set_lineselected(lua_State* L) {
14804 int SWIG_arg = 0;
14805 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14806 int arg2 ;
14807
14808 SWIG_check_num_args("uiTextNode_t::set_lineselected",2,2)
14809 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_lineselected",1,"uiTextNode_t *");
14810 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_lineselected",2,"int");
14811
14812 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14813 SWIG_fail_ptr("uiText_set_lineselected",1,SWIGTYPE_p_uiTextNode_t);
14814 }
14815
14816 arg2 = (int)lua_tonumber(L, 2);
14818
14819 return SWIG_arg;
14820
14821 if(0) SWIG_fail;
14822
14823fail:
14824 lua_error(L);
14825 return SWIG_arg;
14826}
14827
14828
14829static int _wrap_uiText_set_tabwidth(lua_State* L) {
14830 int SWIG_arg = 0;
14831 uiTextNode_t *arg1 = (uiTextNode_t *) 0 ;
14832 int arg2 ;
14833
14834 SWIG_check_num_args("uiTextNode_t::set_tabwidth",2,2)
14835 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",1,"uiTextNode_t *");
14836 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTextNode_t::set_tabwidth",2,"int");
14837
14838 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextNode_t,0))){
14839 SWIG_fail_ptr("uiText_set_tabwidth",1,SWIGTYPE_p_uiTextNode_t);
14840 }
14841
14842 arg2 = (int)lua_tonumber(L, 2);
14843 uiTextNode_t_set_tabwidth(arg1,arg2);
14844
14845 return SWIG_arg;
14846
14847 if(0) SWIG_fail;
14848
14849fail:
14850 lua_error(L);
14851 return SWIG_arg;
14852}
14853
14854
14855static int _wrap_new_uiText(lua_State* L) {
14856 int SWIG_arg = 0;
14857 uiTextNode_t *result = 0 ;
14858
14859 SWIG_check_num_args("uiTextNode_t::uiTextNode_t",0,0)
14860 result = (uiTextNode_t *)new uiTextNode_t();
14861 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,1); SWIG_arg++;
14862 return SWIG_arg;
14863
14864 if(0) SWIG_fail;
14865
14866fail:
14867 lua_error(L);
14868 return SWIG_arg;
14869}
14870
14871
14872static void swig_delete_uiText(void *obj) {
14873uiTextNode_t *arg1 = (uiTextNode_t *) obj;
14874delete arg1;
14875}
14876static int _proxy__wrap_new_uiText(lua_State *L) {
14877 assert(lua_istable(L,1));
14878 lua_pushcfunction(L,_wrap_new_uiText);
14879 assert(!lua_isnil(L,-1));
14880 lua_replace(L,1); /* replace our table with real constructor */
14881 lua_call(L,lua_gettop(L)-1,1);
14882 return 1;
14883}
14885 {0,0,0}
14886};
14888 { "dataid", _wrap_uiText_dataid},
14889 { "lineheight", _wrap_uiText_lineheight},
14890 { "lineselected", _wrap_uiText_lineselected},
14891 { "longlines", _wrap_uiText_longlines},
14892 { "textselected", _wrap_uiText_textselected},
14893 { "tabwidth", _wrap_uiText_tabwidth},
14894 { "set_dataid", _wrap_uiText_set_dataid},
14895 { "set_longlines", _wrap_uiText_set_longlines},
14896 { "set_lineheight", _wrap_uiText_set_lineheight},
14897 { "set_lineselected", _wrap_uiText_set_lineselected},
14898 { "set_tabwidth", _wrap_uiText_set_tabwidth},
14899 {0,0}
14900};
14902 {0,0}
14903};
14904
14909 {0,0,0,0,0,0}
14910};
14917
14927static const char *swig_uiText_base_names[] = {"uiAbstractScrollableNode_t *",0};
14929
14930static int _wrap_new_uiText2(lua_State* L) {
14931 int SWIG_arg = 0;
14932 uiText2Node_t *result = 0 ;
14933
14934 SWIG_check_num_args("uiText2Node_t::uiText2Node_t",0,0)
14935 result = (uiText2Node_t *)new uiText2Node_t();
14936 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,1); SWIG_arg++;
14937 return SWIG_arg;
14938
14939 if(0) SWIG_fail;
14940
14941fail:
14942 lua_error(L);
14943 return SWIG_arg;
14944}
14945
14946
14947static void swig_delete_uiText2(void *obj) {
14948uiText2Node_t *arg1 = (uiText2Node_t *) obj;
14949delete arg1;
14950}
14951static int _proxy__wrap_new_uiText2(lua_State *L) {
14952 assert(lua_istable(L,1));
14953 lua_pushcfunction(L,_wrap_new_uiText2);
14954 assert(!lua_isnil(L,-1));
14955 lua_replace(L,1); /* replace our table with real constructor */
14956 lua_call(L,lua_gettop(L)-1,1);
14957 return 1;
14958}
14960 {0,0,0}
14961};
14963 {0,0}
14964};
14966 {0,0}
14967};
14968
14973 {0,0,0,0,0,0}
14974};
14981
14991static const char *swig_uiText2_base_names[] = {"uiTextNode_t *",0};
14993
14994static int _wrap_uiTextEntry_is_password(lua_State* L) {
14995 int SWIG_arg = 0;
14996 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
14997 bool result;
14998
14999 SWIG_check_num_args("uiTextEntryNode_t::is_password",1,1)
15000 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_password",1,"uiTextEntryNode_t *");
15001
15002 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15003 SWIG_fail_ptr("uiTextEntry_is_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15004 }
15005
15006 result = (bool)uiTextEntryNode_t_is_password(arg1);
15007 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15008 return SWIG_arg;
15009
15010 if(0) SWIG_fail;
15011
15012fail:
15013 lua_error(L);
15014 return SWIG_arg;
15015}
15016
15017
15018static int _wrap_uiTextEntry_is_clickoutabort(lua_State* L) {
15019 int SWIG_arg = 0;
15020 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15021 bool result;
15022
15023 SWIG_check_num_args("uiTextEntryNode_t::is_clickoutabort",1,1)
15024 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::is_clickoutabort",1,"uiTextEntryNode_t *");
15025
15026 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15027 SWIG_fail_ptr("uiTextEntry_is_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15028 }
15029
15030 result = (bool)uiTextEntryNode_t_is_clickoutabort(arg1);
15031 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15032 return SWIG_arg;
15033
15034 if(0) SWIG_fail;
15035
15036fail:
15037 lua_error(L);
15038 return SWIG_arg;
15039}
15040
15041
15042static int _wrap_uiTextEntry_cursorposition(lua_State* L) {
15043 int SWIG_arg = 0;
15044 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15045 int result;
15046
15047 SWIG_check_num_args("uiTextEntryNode_t::cursorposition",1,1)
15048 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::cursorposition",1,"uiTextEntryNode_t *");
15049
15050 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15051 SWIG_fail_ptr("uiTextEntry_cursorposition",1,SWIGTYPE_p_uiTextEntryNode_t);
15052 }
15053
15054 result = (int)uiTextEntryNode_t_cursorposition(arg1);
15055 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15056 return SWIG_arg;
15057
15058 if(0) SWIG_fail;
15059
15060fail:
15061 lua_error(L);
15062 return SWIG_arg;
15063}
15064
15065
15066static int _wrap_uiTextEntry_set_password(lua_State* L) {
15067 int SWIG_arg = 0;
15068 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15069 bool arg2 ;
15070
15071 SWIG_check_num_args("uiTextEntryNode_t::set_password",2,2)
15072 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_password",1,"uiTextEntryNode_t *");
15073 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_password",2,"bool");
15074
15075 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15076 SWIG_fail_ptr("uiTextEntry_set_password",1,SWIGTYPE_p_uiTextEntryNode_t);
15077 }
15078
15079 arg2 = (lua_toboolean(L, 2)!=0);
15081
15082 return SWIG_arg;
15083
15084 if(0) SWIG_fail;
15085
15086fail:
15087 lua_error(L);
15088 return SWIG_arg;
15089}
15090
15091
15092static int _wrap_uiTextEntry_set_clickoutabort(lua_State* L) {
15093 int SWIG_arg = 0;
15094 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15095 bool arg2 ;
15096
15097 SWIG_check_num_args("uiTextEntryNode_t::set_clickoutabort",2,2)
15098 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",1,"uiTextEntryNode_t *");
15099 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_clickoutabort",2,"bool");
15100
15101 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15102 SWIG_fail_ptr("uiTextEntry_set_clickoutabort",1,SWIGTYPE_p_uiTextEntryNode_t);
15103 }
15104
15105 arg2 = (lua_toboolean(L, 2)!=0);
15107
15108 return SWIG_arg;
15109
15110 if(0) SWIG_fail;
15111
15112fail:
15113 lua_error(L);
15114 return SWIG_arg;
15115}
15116
15117
15118static int _wrap_uiTextEntry_set_background(lua_State* L) {
15119 int SWIG_arg = 0;
15120 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15121 char *arg2 = (char *) 0 ;
15122
15123 SWIG_check_num_args("uiTextEntryNode_t::set_background",2,2)
15124 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::set_background",1,"uiTextEntryNode_t *");
15125 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextEntryNode_t::set_background",2,"char const *");
15126
15127 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15128 SWIG_fail_ptr("uiTextEntry_set_background",1,SWIGTYPE_p_uiTextEntryNode_t);
15129 }
15130
15131 arg2 = (char *)lua_tostring(L, 2);
15132 uiTextEntryNode_t_set_background(arg1,(char const *)arg2);
15133
15134 return SWIG_arg;
15135
15136 if(0) SWIG_fail;
15137
15138fail:
15139 lua_error(L);
15140 return SWIG_arg;
15141}
15142
15143
15144static int _wrap_uiTextEntry_focus(lua_State* L) {
15145 int SWIG_arg = 0;
15146 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15147
15148 SWIG_check_num_args("uiTextEntryNode_t::focus",1,1)
15149 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::focus",1,"uiTextEntryNode_t *");
15150
15151 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15152 SWIG_fail_ptr("uiTextEntry_focus",1,SWIGTYPE_p_uiTextEntryNode_t);
15153 }
15154
15156
15157 return SWIG_arg;
15158
15159 if(0) SWIG_fail;
15160
15161fail:
15162 lua_error(L);
15163 return SWIG_arg;
15164}
15165
15166
15167static int _wrap_uiTextEntry_unfocus(lua_State* L) {
15168 int SWIG_arg = 0;
15169 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15170
15171 SWIG_check_num_args("uiTextEntryNode_t::unfocus",1,1)
15172 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::unfocus",1,"uiTextEntryNode_t *");
15173
15174 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15175 SWIG_fail_ptr("uiTextEntry_unfocus",1,SWIGTYPE_p_uiTextEntryNode_t);
15176 }
15177
15179
15180 return SWIG_arg;
15181
15182 if(0) SWIG_fail;
15183
15184fail:
15185 lua_error(L);
15186 return SWIG_arg;
15187}
15188
15189
15190static int _wrap_uiTextEntry_on_textabort_set(lua_State* L) {
15191 int SWIG_arg = 0;
15192 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15193 LUA_EVENT arg2 ;
15194
15195 SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",2,2)
15196 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15197
15198 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15199 SWIG_fail_ptr("uiTextEntry_on_textabort_set",1,SWIGTYPE_p_uiTextEntryNode_t);
15200 }
15201
15202 {
15203 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15204 }
15206
15207 return SWIG_arg;
15208
15209 if(0) SWIG_fail;
15210
15211fail:
15212 lua_error(L);
15213 return SWIG_arg;
15214}
15215
15216
15217static int _wrap_uiTextEntry_on_textabort_get(lua_State* L) {
15218 int SWIG_arg = 0;
15219 uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) 0 ;
15220 LUA_EVENT result;
15221
15222 SWIG_check_num_args("uiTextEntryNode_t::lua_onTextEntryAbort",1,1)
15223 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextEntryNode_t::lua_onTextEntryAbort",1,"uiTextEntryNode_t *");
15224
15225 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextEntryNode_t,0))){
15226 SWIG_fail_ptr("uiTextEntry_on_textabort_get",1,SWIGTYPE_p_uiTextEntryNode_t);
15227 }
15228
15230 {
15231 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15232 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15233 }
15234 return SWIG_arg;
15235
15236 if(0) SWIG_fail;
15237
15238fail:
15239 lua_error(L);
15240 return SWIG_arg;
15241}
15242
15243
15244static int _wrap_new_uiTextEntry(lua_State* L) {
15245 int SWIG_arg = 0;
15246 uiTextEntryNode_t *result = 0 ;
15247
15248 SWIG_check_num_args("uiTextEntryNode_t::uiTextEntryNode_t",0,0)
15249 result = (uiTextEntryNode_t *)new uiTextEntryNode_t();
15250 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,1); SWIG_arg++;
15251 return SWIG_arg;
15252
15253 if(0) SWIG_fail;
15254
15255fail:
15256 lua_error(L);
15257 return SWIG_arg;
15258}
15259
15260
15261static void swig_delete_uiTextEntry(void *obj) {
15262uiTextEntryNode_t *arg1 = (uiTextEntryNode_t *) obj;
15263delete arg1;
15264}
15265static int _proxy__wrap_new_uiTextEntry(lua_State *L) {
15266 assert(lua_istable(L,1));
15267 lua_pushcfunction(L,_wrap_new_uiTextEntry);
15268 assert(!lua_isnil(L,-1));
15269 lua_replace(L,1); /* replace our table with real constructor */
15270 lua_call(L,lua_gettop(L)-1,1);
15271 return 1;
15272}
15278 { "is_password", _wrap_uiTextEntry_is_password},
15279 { "is_clickoutabort", _wrap_uiTextEntry_is_clickoutabort},
15280 { "cursorposition", _wrap_uiTextEntry_cursorposition},
15281 { "set_password", _wrap_uiTextEntry_set_password},
15282 { "set_clickoutabort", _wrap_uiTextEntry_set_clickoutabort},
15283 { "set_background", _wrap_uiTextEntry_set_background},
15284 { "focus", _wrap_uiTextEntry_focus},
15285 { "unfocus", _wrap_uiTextEntry_unfocus},
15286 {0,0}
15287};
15289 {0,0}
15290};
15291
15296 {0,0,0,0,0,0}
15297};
15304
15314static const char *swig_uiTextEntry_base_names[] = {"uiNode_t *",0};
15316
15317static int _wrap_new_uiTextList(lua_State* L) {
15318 int SWIG_arg = 0;
15319 uiTextListNode_t *result = 0 ;
15320
15321 SWIG_check_num_args("uiTextListNode_t::uiTextListNode_t",0,0)
15322 result = (uiTextListNode_t *)new uiTextListNode_t();
15323 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,1); SWIG_arg++;
15324 return SWIG_arg;
15325
15326 if(0) SWIG_fail;
15327
15328fail:
15329 lua_error(L);
15330 return SWIG_arg;
15331}
15332
15333
15334static void swig_delete_uiTextList(void *obj) {
15335uiTextListNode_t *arg1 = (uiTextListNode_t *) obj;
15336delete arg1;
15337}
15338static int _proxy__wrap_new_uiTextList(lua_State *L) {
15339 assert(lua_istable(L,1));
15340 lua_pushcfunction(L,_wrap_new_uiTextList);
15341 assert(!lua_isnil(L,-1));
15342 lua_replace(L,1); /* replace our table with real constructor */
15343 lua_call(L,lua_gettop(L)-1,1);
15344 return 1;
15345}
15347 {0,0,0}
15348};
15350 {0,0}
15351};
15353 {0,0}
15354};
15355
15360 {0,0,0,0,0,0}
15361};
15368
15378static const char *swig_uiTextList_base_names[] = {"uiTextNode_t *",0};
15380
15381static int _wrap_uiTexture_set_source(lua_State* L) {
15382 int SWIG_arg = 0;
15383 uiTextureNode_t *arg1 = (uiTextureNode_t *) 0 ;
15384 char *arg2 = (char *) 0 ;
15385
15386 SWIG_check_num_args("uiTextureNode_t::set_source",2,2)
15387 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTextureNode_t::set_source",1,"uiTextureNode_t *");
15388 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiTextureNode_t::set_source",2,"char const *");
15389
15390 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTextureNode_t,0))){
15391 SWIG_fail_ptr("uiTexture_set_source",1,SWIGTYPE_p_uiTextureNode_t);
15392 }
15393
15394 arg2 = (char *)lua_tostring(L, 2);
15395 uiTextureNode_t_set_source(arg1,(char const *)arg2);
15396
15397 return SWIG_arg;
15398
15399 if(0) SWIG_fail;
15400
15401fail:
15402 lua_error(L);
15403 return SWIG_arg;
15404}
15405
15406
15407static int _wrap_new_uiTexture(lua_State* L) {
15408 int SWIG_arg = 0;
15409 uiTextureNode_t *result = 0 ;
15410
15411 SWIG_check_num_args("uiTextureNode_t::uiTextureNode_t",0,0)
15412 result = (uiTextureNode_t *)new uiTextureNode_t();
15413 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,1); SWIG_arg++;
15414 return SWIG_arg;
15415
15416 if(0) SWIG_fail;
15417
15418fail:
15419 lua_error(L);
15420 return SWIG_arg;
15421}
15422
15423
15424static void swig_delete_uiTexture(void *obj) {
15425uiTextureNode_t *arg1 = (uiTextureNode_t *) obj;
15426delete arg1;
15427}
15428static int _proxy__wrap_new_uiTexture(lua_State *L) {
15429 assert(lua_istable(L,1));
15430 lua_pushcfunction(L,_wrap_new_uiTexture);
15431 assert(!lua_isnil(L,-1));
15432 lua_replace(L,1); /* replace our table with real constructor */
15433 lua_call(L,lua_gettop(L)-1,1);
15434 return 1;
15435}
15437 {0,0,0}
15438};
15440 { "set_source", _wrap_uiTexture_set_source},
15441 {0,0}
15442};
15444 {0,0}
15445};
15446
15451 {0,0,0,0,0,0}
15452};
15459
15469static const char *swig_uiTexture_base_names[] = {"uiNode_t *",0};
15471
15472static int _wrap_uiTimer_timeout(lua_State* L) {
15473 int SWIG_arg = 0;
15474 uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15475 int result;
15476
15477 SWIG_check_num_args("uiTimerNode_t::timeout",1,1)
15478 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::timeout",1,"uiTimerNode_t *");
15479
15480 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15481 SWIG_fail_ptr("uiTimer_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15482 }
15483
15484 result = (int)uiTimerNode_t_timeout(arg1);
15485 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
15486 return SWIG_arg;
15487
15488 if(0) SWIG_fail;
15489
15490fail:
15491 lua_error(L);
15492 return SWIG_arg;
15493}
15494
15495
15496static int _wrap_uiTimer_set_timeout(lua_State* L) {
15497 int SWIG_arg = 0;
15498 uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15499 int arg2 ;
15500
15501 SWIG_check_num_args("uiTimerNode_t::set_timeout",2,2)
15502 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::set_timeout",1,"uiTimerNode_t *");
15503 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiTimerNode_t::set_timeout",2,"int");
15504
15505 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15506 SWIG_fail_ptr("uiTimer_set_timeout",1,SWIGTYPE_p_uiTimerNode_t);
15507 }
15508
15509 arg2 = (int)lua_tonumber(L, 2);
15510 uiTimerNode_t_set_timeout(arg1,arg2);
15511
15512 return SWIG_arg;
15513
15514 if(0) SWIG_fail;
15515
15516fail:
15517 lua_error(L);
15518 return SWIG_arg;
15519}
15520
15521
15522static int _wrap_uiTimer_lua_onEvent_set(lua_State* L) {
15523 int SWIG_arg = 0;
15524 uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15525 LUA_EVENT arg2 ;
15526
15527 SWIG_check_num_args("uiTimerNode_t::lua_onEvent",2,2)
15528 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15529
15530 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15531 SWIG_fail_ptr("uiTimer_lua_onEvent_set",1,SWIGTYPE_p_uiTimerNode_t);
15532 }
15533
15534 {
15535 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15536 }
15538
15539 return SWIG_arg;
15540
15541 if(0) SWIG_fail;
15542
15543fail:
15544 lua_error(L);
15545 return SWIG_arg;
15546}
15547
15548
15549static int _wrap_uiTimer_lua_onEvent_get(lua_State* L) {
15550 int SWIG_arg = 0;
15551 uiTimerNode_t *arg1 = (uiTimerNode_t *) 0 ;
15552 LUA_EVENT result;
15553
15554 SWIG_check_num_args("uiTimerNode_t::lua_onEvent",1,1)
15555 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiTimerNode_t::lua_onEvent",1,"uiTimerNode_t *");
15556
15557 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiTimerNode_t,0))){
15558 SWIG_fail_ptr("uiTimer_lua_onEvent_get",1,SWIGTYPE_p_uiTimerNode_t);
15559 }
15560
15561 result = uiTimerNode_t_lua_onEvent_get(arg1);
15562 {
15563 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15564 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15565 }
15566 return SWIG_arg;
15567
15568 if(0) SWIG_fail;
15569
15570fail:
15571 lua_error(L);
15572 return SWIG_arg;
15573}
15574
15575
15576static int _wrap_new_uiTimer(lua_State* L) {
15577 int SWIG_arg = 0;
15578 uiTimerNode_t *result = 0 ;
15579
15580 SWIG_check_num_args("uiTimerNode_t::uiTimerNode_t",0,0)
15581 result = (uiTimerNode_t *)new uiTimerNode_t();
15582 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,1); SWIG_arg++;
15583 return SWIG_arg;
15584
15585 if(0) SWIG_fail;
15586
15587fail:
15588 lua_error(L);
15589 return SWIG_arg;
15590}
15591
15592
15593static void swig_delete_uiTimer(void *obj) {
15594uiTimerNode_t *arg1 = (uiTimerNode_t *) obj;
15595delete arg1;
15596}
15597static int _proxy__wrap_new_uiTimer(lua_State *L) {
15598 assert(lua_istable(L,1));
15599 lua_pushcfunction(L,_wrap_new_uiTimer);
15600 assert(!lua_isnil(L,-1));
15601 lua_replace(L,1); /* replace our table with real constructor */
15602 lua_call(L,lua_gettop(L)-1,1);
15603 return 1;
15604}
15610 { "timeout", _wrap_uiTimer_timeout},
15611 { "set_timeout", _wrap_uiTimer_set_timeout},
15612 {0,0}
15613};
15615 {0,0}
15616};
15617
15622 {0,0,0,0,0,0}
15623};
15630
15640static const char *swig_uiTimer_base_names[] = {"uiNode_t *",0};
15642
15643static int _wrap_uiVideo_is_nosound(lua_State* L) {
15644 int SWIG_arg = 0;
15645 uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15646 bool result;
15647
15648 SWIG_check_num_args("uiVideoNode_t::is_nosound",1,1)
15649 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::is_nosound",1,"uiVideoNode_t *");
15650
15651 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15652 SWIG_fail_ptr("uiVideo_is_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15653 }
15654
15655 result = (bool)uiVideoNode_t_is_nosound(arg1);
15656 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15657 return SWIG_arg;
15658
15659 if(0) SWIG_fail;
15660
15661fail:
15662 lua_error(L);
15663 return SWIG_arg;
15664}
15665
15666
15667static int _wrap_uiVideo_set_nosound(lua_State* L) {
15668 int SWIG_arg = 0;
15669 uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15670 bool arg2 ;
15671
15672 SWIG_check_num_args("uiVideoNode_t::set_nosound",2,2)
15673 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_nosound",1,"uiVideoNode_t *");
15674 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiVideoNode_t::set_nosound",2,"bool");
15675
15676 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15677 SWIG_fail_ptr("uiVideo_set_nosound",1,SWIGTYPE_p_uiVideoNode_t);
15678 }
15679
15680 arg2 = (lua_toboolean(L, 2)!=0);
15681 uiVideoNode_t_set_nosound(arg1,arg2);
15682
15683 return SWIG_arg;
15684
15685 if(0) SWIG_fail;
15686
15687fail:
15688 lua_error(L);
15689 return SWIG_arg;
15690}
15691
15692
15693static int _wrap_uiVideo_set_source(lua_State* L) {
15694 int SWIG_arg = 0;
15695 uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15696 char *arg2 = (char *) 0 ;
15697
15698 SWIG_check_num_args("uiVideoNode_t::set_source",2,2)
15699 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::set_source",1,"uiVideoNode_t *");
15700 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiVideoNode_t::set_source",2,"char const *");
15701
15702 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15703 SWIG_fail_ptr("uiVideo_set_source",1,SWIGTYPE_p_uiVideoNode_t);
15704 }
15705
15706 arg2 = (char *)lua_tostring(L, 2);
15707 uiVideoNode_t_set_source(arg1,(char const *)arg2);
15708
15709 return SWIG_arg;
15710
15711 if(0) SWIG_fail;
15712
15713fail:
15714 lua_error(L);
15715 return SWIG_arg;
15716}
15717
15718
15719static int _wrap_uiVideo_lua_onEnd_set(lua_State* L) {
15720 int SWIG_arg = 0;
15721 uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15722 LUA_EVENT arg2 ;
15723
15724 SWIG_check_num_args("uiVideoNode_t::lua_onEnd",2,2)
15725 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15726
15727 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15728 SWIG_fail_ptr("uiVideo_lua_onEnd_set",1,SWIGTYPE_p_uiVideoNode_t);
15729 }
15730
15731 {
15732 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
15733 }
15734 uiVideoNode_t_lua_onEnd_set(arg1,arg2);
15735
15736 return SWIG_arg;
15737
15738 if(0) SWIG_fail;
15739
15740fail:
15741 lua_error(L);
15742 return SWIG_arg;
15743}
15744
15745
15746static int _wrap_uiVideo_lua_onEnd_get(lua_State* L) {
15747 int SWIG_arg = 0;
15748 uiVideoNode_t *arg1 = (uiVideoNode_t *) 0 ;
15749 LUA_EVENT result;
15750
15751 SWIG_check_num_args("uiVideoNode_t::lua_onEnd",1,1)
15752 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiVideoNode_t::lua_onEnd",1,"uiVideoNode_t *");
15753
15754 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiVideoNode_t,0))){
15755 SWIG_fail_ptr("uiVideo_lua_onEnd_get",1,SWIGTYPE_p_uiVideoNode_t);
15756 }
15757
15758 result = uiVideoNode_t_lua_onEnd_get(arg1);
15759 {
15760 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
15761 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
15762 }
15763 return SWIG_arg;
15764
15765 if(0) SWIG_fail;
15766
15767fail:
15768 lua_error(L);
15769 return SWIG_arg;
15770}
15771
15772
15773static int _wrap_new_uiVideo(lua_State* L) {
15774 int SWIG_arg = 0;
15775 uiVideoNode_t *result = 0 ;
15776
15777 SWIG_check_num_args("uiVideoNode_t::uiVideoNode_t",0,0)
15778 result = (uiVideoNode_t *)new uiVideoNode_t();
15779 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,1); SWIG_arg++;
15780 return SWIG_arg;
15781
15782 if(0) SWIG_fail;
15783
15784fail:
15785 lua_error(L);
15786 return SWIG_arg;
15787}
15788
15789
15790static void swig_delete_uiVideo(void *obj) {
15791uiVideoNode_t *arg1 = (uiVideoNode_t *) obj;
15792delete arg1;
15793}
15794static int _proxy__wrap_new_uiVideo(lua_State *L) {
15795 assert(lua_istable(L,1));
15796 lua_pushcfunction(L,_wrap_new_uiVideo);
15797 assert(!lua_isnil(L,-1));
15798 lua_replace(L,1); /* replace our table with real constructor */
15799 lua_call(L,lua_gettop(L)-1,1);
15800 return 1;
15801}
15807 { "is_nosound", _wrap_uiVideo_is_nosound},
15808 { "set_nosound", _wrap_uiVideo_set_nosound},
15809 { "set_source", _wrap_uiVideo_set_source},
15810 {0,0}
15811};
15813 {0,0}
15814};
15815
15820 {0,0,0,0,0,0}
15821};
15828
15838static const char *swig_uiVideo_base_names[] = {"uiNode_t *",0};
15840
15841static int _wrap_new_uiVScrollbar(lua_State* L) {
15842 int SWIG_arg = 0;
15843 uiVScrollBarNode_t *result = 0 ;
15844
15845 SWIG_check_num_args("uiVScrollBarNode_t::uiVScrollBarNode_t",0,0)
15846 result = (uiVScrollBarNode_t *)new uiVScrollBarNode_t();
15847 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,1); SWIG_arg++;
15848 return SWIG_arg;
15849
15850 if(0) SWIG_fail;
15851
15852fail:
15853 lua_error(L);
15854 return SWIG_arg;
15855}
15856
15857
15858static void swig_delete_uiVScrollbar(void *obj) {
15860delete arg1;
15861}
15862static int _proxy__wrap_new_uiVScrollbar(lua_State *L) {
15863 assert(lua_istable(L,1));
15864 lua_pushcfunction(L,_wrap_new_uiVScrollbar);
15865 assert(!lua_isnil(L,-1));
15866 lua_replace(L,1); /* replace our table with real constructor */
15867 lua_call(L,lua_gettop(L)-1,1);
15868 return 1;
15869}
15871 {0,0,0}
15872};
15874 {0,0}
15875};
15877 {0,0}
15878};
15879
15892
15902static const char *swig_uiVScrollbar_base_names[] = {"uiAbstractScrollbarNode_t *",0};
15904
15905static int _wrap_new_uiWidget(lua_State* L) {
15906 int SWIG_arg = 0;
15907 uiWidgetNode_t *result = 0 ;
15908
15909 SWIG_check_num_args("uiWidgetNode_t::uiWidgetNode_t",0,0)
15910 result = (uiWidgetNode_t *)new uiWidgetNode_t();
15911 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,1); SWIG_arg++;
15912 return SWIG_arg;
15913
15914 if(0) SWIG_fail;
15915
15916fail:
15917 lua_error(L);
15918 return SWIG_arg;
15919}
15920
15921
15922static void swig_delete_uiWidget(void *obj) {
15923uiWidgetNode_t *arg1 = (uiWidgetNode_t *) obj;
15924delete arg1;
15925}
15926static int _proxy__wrap_new_uiWidget(lua_State *L) {
15927 assert(lua_istable(L,1));
15928 lua_pushcfunction(L,_wrap_new_uiWidget);
15929 assert(!lua_isnil(L,-1));
15930 lua_replace(L,1); /* replace our table with real constructor */
15931 lua_call(L,lua_gettop(L)-1,1);
15932 return 1;
15933}
15935 {0,0,0}
15936};
15938 {0,0}
15939};
15941 {0,0}
15942};
15943
15948 {0,0,0,0,0,0}
15949};
15956
15966static const char *swig_uiWidget_base_names[] = {"uiImageNode_t *",0};
15968
15969static int _wrap_uiWindow_is_fullscreen(lua_State* L) {
15970 int SWIG_arg = 0;
15971 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15972 bool result;
15973
15974 SWIG_check_num_args("uiWindowNode_t::is_fullscreen",1,1)
15975 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_fullscreen",1,"uiWindowNode_t *");
15976
15977 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
15978 SWIG_fail_ptr("uiWindow_is_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
15979 }
15980
15981 result = (bool)uiWindowNode_t_is_fullscreen(arg1);
15982 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
15983 return SWIG_arg;
15984
15985 if(0) SWIG_fail;
15986
15987fail:
15988 lua_error(L);
15989 return SWIG_arg;
15990}
15991
15992
15993static int _wrap_uiWindow_is_modal(lua_State* L) {
15994 int SWIG_arg = 0;
15995 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
15996 bool result;
15997
15998 SWIG_check_num_args("uiWindowNode_t::is_modal",1,1)
15999 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_modal",1,"uiWindowNode_t *");
16000
16001 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16002 SWIG_fail_ptr("uiWindow_is_modal",1,SWIGTYPE_p_uiWindowNode_t);
16003 }
16004
16005 result = (bool)uiWindowNode_t_is_modal(arg1);
16006 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16007 return SWIG_arg;
16008
16009 if(0) SWIG_fail;
16010
16011fail:
16012 lua_error(L);
16013 return SWIG_arg;
16014}
16015
16016
16017static int _wrap_uiWindow_is_starlayout(lua_State* L) {
16018 int SWIG_arg = 0;
16019 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16020 bool result;
16021
16022 SWIG_check_num_args("uiWindowNode_t::is_starlayout",1,1)
16023 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::is_starlayout",1,"uiWindowNode_t *");
16024
16025 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16026 SWIG_fail_ptr("uiWindow_is_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16027 }
16028
16029 result = (bool)uiWindowNode_t_is_starlayout(arg1);
16030 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16031 return SWIG_arg;
16032
16033 if(0) SWIG_fail;
16034
16035fail:
16036 lua_error(L);
16037 return SWIG_arg;
16038}
16039
16040
16041static int _wrap_uiWindow_close(lua_State* L) {
16042 int SWIG_arg = 0;
16043 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16044
16045 SWIG_check_num_args("uiWindowNode_t::close",1,1)
16046 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::close",1,"uiWindowNode_t *");
16047
16048 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16049 SWIG_fail_ptr("uiWindow_close",1,SWIGTYPE_p_uiWindowNode_t);
16050 }
16051
16053
16054 return SWIG_arg;
16055
16056 if(0) SWIG_fail;
16057
16058fail:
16059 lua_error(L);
16060 return SWIG_arg;
16061}
16062
16063
16064static int _wrap_uiWindow_open(lua_State* L) {
16065 int SWIG_arg = 0;
16066 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16067
16068 SWIG_check_num_args("uiWindowNode_t::open",1,1)
16069 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::open",1,"uiWindowNode_t *");
16070
16071 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16072 SWIG_fail_ptr("uiWindow_open",1,SWIGTYPE_p_uiWindowNode_t);
16073 }
16074
16075 uiWindowNode_t_open(arg1);
16076
16077 return SWIG_arg;
16078
16079 if(0) SWIG_fail;
16080
16081fail:
16082 lua_error(L);
16083 return SWIG_arg;
16084}
16085
16086
16087static int _wrap_uiWindow_set_background(lua_State* L) {
16088 int SWIG_arg = 0;
16089 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16090 char *arg2 = (char *) 0 ;
16091
16092 SWIG_check_num_args("uiWindowNode_t::set_background",2,2)
16093 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_background",1,"uiWindowNode_t *");
16094 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("uiWindowNode_t::set_background",2,"char const *");
16095
16096 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16097 SWIG_fail_ptr("uiWindow_set_background",1,SWIGTYPE_p_uiWindowNode_t);
16098 }
16099
16100 arg2 = (char *)lua_tostring(L, 2);
16101 uiWindowNode_t_set_background(arg1,(char const *)arg2);
16102
16103 return SWIG_arg;
16104
16105 if(0) SWIG_fail;
16106
16107fail:
16108 lua_error(L);
16109 return SWIG_arg;
16110}
16111
16112
16113static int _wrap_uiWindow_set_fullscreen(lua_State* L) {
16114 int SWIG_arg = 0;
16115 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16116 bool arg2 ;
16117
16118 SWIG_check_num_args("uiWindowNode_t::set_fullscreen",2,2)
16119 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",1,"uiWindowNode_t *");
16120 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fullscreen",2,"bool");
16121
16122 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16123 SWIG_fail_ptr("uiWindow_set_fullscreen",1,SWIGTYPE_p_uiWindowNode_t);
16124 }
16125
16126 arg2 = (lua_toboolean(L, 2)!=0);
16128
16129 return SWIG_arg;
16130
16131 if(0) SWIG_fail;
16132
16133fail:
16134 lua_error(L);
16135 return SWIG_arg;
16136}
16137
16138
16139static int _wrap_uiWindow_set_modal(lua_State* L) {
16140 int SWIG_arg = 0;
16141 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16142 bool arg2 ;
16143
16144 SWIG_check_num_args("uiWindowNode_t::set_modal",2,2)
16145 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_modal",1,"uiWindowNode_t *");
16146 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_modal",2,"bool");
16147
16148 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16149 SWIG_fail_ptr("uiWindow_set_modal",1,SWIGTYPE_p_uiWindowNode_t);
16150 }
16151
16152 arg2 = (lua_toboolean(L, 2)!=0);
16153 uiWindowNode_t_set_modal(arg1,arg2);
16154
16155 return SWIG_arg;
16156
16157 if(0) SWIG_fail;
16158
16159fail:
16160 lua_error(L);
16161 return SWIG_arg;
16162}
16163
16164
16165static int _wrap_uiWindow_set_fill(lua_State* L) {
16166 int SWIG_arg = 0;
16167 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16168 bool arg2 ;
16169
16170 SWIG_check_num_args("uiWindowNode_t::set_fill",2,2)
16171 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_fill",1,"uiWindowNode_t *");
16172 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_fill",2,"bool");
16173
16174 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16175 SWIG_fail_ptr("uiWindow_set_fill",1,SWIGTYPE_p_uiWindowNode_t);
16176 }
16177
16178 arg2 = (lua_toboolean(L, 2)!=0);
16179 uiWindowNode_t_set_fill(arg1,arg2);
16180
16181 return SWIG_arg;
16182
16183 if(0) SWIG_fail;
16184
16185fail:
16186 lua_error(L);
16187 return SWIG_arg;
16188}
16189
16190
16191static int _wrap_uiWindow_set_dragbutton(lua_State* L) {
16192 int SWIG_arg = 0;
16193 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16194 bool arg2 ;
16195
16196 SWIG_check_num_args("uiWindowNode_t::set_dragbutton",2,2)
16197 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",1,"uiWindowNode_t *");
16198 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dragbutton",2,"bool");
16199
16200 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16201 SWIG_fail_ptr("uiWindow_set_dragbutton",1,SWIGTYPE_p_uiWindowNode_t);
16202 }
16203
16204 arg2 = (lua_toboolean(L, 2)!=0);
16206
16207 return SWIG_arg;
16208
16209 if(0) SWIG_fail;
16210
16211fail:
16212 lua_error(L);
16213 return SWIG_arg;
16214}
16215
16216
16217static int _wrap_uiWindow_set_closebutton(lua_State* L) {
16218 int SWIG_arg = 0;
16219 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16220 bool arg2 ;
16221
16222 SWIG_check_num_args("uiWindowNode_t::set_closebutton",2,2)
16223 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",1,"uiWindowNode_t *");
16224 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_closebutton",2,"bool");
16225
16226 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16227 SWIG_fail_ptr("uiWindow_set_closebutton",1,SWIGTYPE_p_uiWindowNode_t);
16228 }
16229
16230 arg2 = (lua_toboolean(L, 2)!=0);
16232
16233 return SWIG_arg;
16234
16235 if(0) SWIG_fail;
16236
16237fail:
16238 lua_error(L);
16239 return SWIG_arg;
16240}
16241
16242
16243static int _wrap_uiWindow_set_starlayout(lua_State* L) {
16244 int SWIG_arg = 0;
16245 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16246 bool arg2 ;
16247
16248 SWIG_check_num_args("uiWindowNode_t::set_starlayout",2,2)
16249 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",1,"uiWindowNode_t *");
16250 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_starlayout",2,"bool");
16251
16252 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16253 SWIG_fail_ptr("uiWindow_set_starlayout",1,SWIGTYPE_p_uiWindowNode_t);
16254 }
16255
16256 arg2 = (lua_toboolean(L, 2)!=0);
16258
16259 return SWIG_arg;
16260
16261 if(0) SWIG_fail;
16262
16263fail:
16264 lua_error(L);
16265 return SWIG_arg;
16266}
16267
16268
16270 int SWIG_arg = 0;
16271 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16272 bool arg2 ;
16273
16274 SWIG_check_num_args("uiWindowNode_t::set_preventtypingescape",2,2)
16275 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",1,"uiWindowNode_t *");
16276 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_preventtypingescape",2,"bool");
16277
16278 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16279 SWIG_fail_ptr("uiWindow_set_preventtypingescape",1,SWIGTYPE_p_uiWindowNode_t);
16280 }
16281
16282 arg2 = (lua_toboolean(L, 2)!=0);
16284
16285 return SWIG_arg;
16286
16287 if(0) SWIG_fail;
16288
16289fail:
16290 lua_error(L);
16291 return SWIG_arg;
16292}
16293
16294
16295static int _wrap_uiWindow_set_noticepos(lua_State* L) {
16296 int SWIG_arg = 0;
16297 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16298 float arg2 ;
16299 float arg3 ;
16300
16301 SWIG_check_num_args("uiWindowNode_t::set_noticepos",3,3)
16302 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",1,"uiWindowNode_t *");
16303 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",2,"float");
16304 if(!lua_isnumber(L,3)) SWIG_fail_arg("uiWindowNode_t::set_noticepos",3,"float");
16305
16306 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16307 SWIG_fail_ptr("uiWindow_set_noticepos",1,SWIGTYPE_p_uiWindowNode_t);
16308 }
16309
16310 arg2 = (float)lua_tonumber(L, 2);
16311 arg3 = (float)lua_tonumber(L, 3);
16312 uiWindowNode_t_set_noticepos(arg1,arg2,arg3);
16313
16314 return SWIG_arg;
16315
16316 if(0) SWIG_fail;
16317
16318fail:
16319 lua_error(L);
16320 return SWIG_arg;
16321}
16322
16323
16324static int _wrap_uiWindow_set_dropdown(lua_State* L) {
16325 int SWIG_arg = 0;
16326 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16327 bool arg2 ;
16328
16329 SWIG_check_num_args("uiWindowNode_t::set_dropdown",2,2)
16330 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",1,"uiWindowNode_t *");
16331 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiWindowNode_t::set_dropdown",2,"bool");
16332
16333 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16334 SWIG_fail_ptr("uiWindow_set_dropdown",1,SWIGTYPE_p_uiWindowNode_t);
16335 }
16336
16337 arg2 = (lua_toboolean(L, 2)!=0);
16338 uiWindowNode_t_set_dropdown(arg1,arg2);
16339
16340 return SWIG_arg;
16341
16342 if(0) SWIG_fail;
16343
16344fail:
16345 lua_error(L);
16346 return SWIG_arg;
16347}
16348
16349
16350static int _wrap_uiWindow_on_windowopened_set(lua_State* L) {
16351 int SWIG_arg = 0;
16352 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16353 LUA_EVENT arg2 ;
16354
16355 SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",2,2)
16356 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16357
16358 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16359 SWIG_fail_ptr("uiWindow_on_windowopened_set",1,SWIGTYPE_p_uiWindowNode_t);
16360 }
16361
16362 {
16363 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16364 }
16366
16367 return SWIG_arg;
16368
16369 if(0) SWIG_fail;
16370
16371fail:
16372 lua_error(L);
16373 return SWIG_arg;
16374}
16375
16376
16377static int _wrap_uiWindow_on_windowopened_get(lua_State* L) {
16378 int SWIG_arg = 0;
16379 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16380 LUA_EVENT result;
16381
16382 SWIG_check_num_args("uiWindowNode_t::lua_onWindowOpened",1,1)
16383 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowOpened",1,"uiWindowNode_t *");
16384
16385 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16386 SWIG_fail_ptr("uiWindow_on_windowopened_get",1,SWIGTYPE_p_uiWindowNode_t);
16387 }
16388
16390 {
16391 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16392 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16393 }
16394 return SWIG_arg;
16395
16396 if(0) SWIG_fail;
16397
16398fail:
16399 lua_error(L);
16400 return SWIG_arg;
16401}
16402
16403
16405 int SWIG_arg = 0;
16406 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16407 LUA_EVENT arg2 ;
16408
16409 SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",2,2)
16410 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16411
16412 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16413 SWIG_fail_ptr("uiWindow_on_windowactivate_set",1,SWIGTYPE_p_uiWindowNode_t);
16414 }
16415
16416 {
16417 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16418 }
16420
16421 return SWIG_arg;
16422
16423 if(0) SWIG_fail;
16424
16425fail:
16426 lua_error(L);
16427 return SWIG_arg;
16428}
16429
16430
16432 int SWIG_arg = 0;
16433 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16434 LUA_EVENT result;
16435
16436 SWIG_check_num_args("uiWindowNode_t::lua_onWindowActivate",1,1)
16437 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowActivate",1,"uiWindowNode_t *");
16438
16439 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16440 SWIG_fail_ptr("uiWindow_on_windowactivate_get",1,SWIGTYPE_p_uiWindowNode_t);
16441 }
16442
16444 {
16445 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16446 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16447 }
16448 return SWIG_arg;
16449
16450 if(0) SWIG_fail;
16451
16452fail:
16453 lua_error(L);
16454 return SWIG_arg;
16455}
16456
16457
16458static int _wrap_uiWindow_on_windowclosed_set(lua_State* L) {
16459 int SWIG_arg = 0;
16460 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16461 LUA_EVENT arg2 ;
16462
16463 SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",2,2)
16464 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16465
16466 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16467 SWIG_fail_ptr("uiWindow_on_windowclosed_set",1,SWIGTYPE_p_uiWindowNode_t);
16468 }
16469
16470 {
16471 arg2 = (LUA_EVENT)luaL_ref (L, LUA_REGISTRYINDEX);
16472 }
16474
16475 return SWIG_arg;
16476
16477 if(0) SWIG_fail;
16478
16479fail:
16480 lua_error(L);
16481 return SWIG_arg;
16482}
16483
16484
16485static int _wrap_uiWindow_on_windowclosed_get(lua_State* L) {
16486 int SWIG_arg = 0;
16487 uiWindowNode_t *arg1 = (uiWindowNode_t *) 0 ;
16488 LUA_EVENT result;
16489
16490 SWIG_check_num_args("uiWindowNode_t::lua_onWindowClosed",1,1)
16491 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiWindowNode_t::lua_onWindowClosed",1,"uiWindowNode_t *");
16492
16493 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiWindowNode_t,0))){
16494 SWIG_fail_ptr("uiWindow_on_windowclosed_get",1,SWIGTYPE_p_uiWindowNode_t);
16495 }
16496
16498 {
16499 LUA_EVENT * resultptr = new LUA_EVENT((const LUA_EVENT &) result);
16500 SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_LUA_EVENT,1); SWIG_arg++;
16501 }
16502 return SWIG_arg;
16503
16504 if(0) SWIG_fail;
16505
16506fail:
16507 lua_error(L);
16508 return SWIG_arg;
16509}
16510
16511
16512static int _wrap_new_uiWindow(lua_State* L) {
16513 int SWIG_arg = 0;
16514 uiWindowNode_t *result = 0 ;
16515
16516 SWIG_check_num_args("uiWindowNode_t::uiWindowNode_t",0,0)
16517 result = (uiWindowNode_t *)new uiWindowNode_t();
16518 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,1); SWIG_arg++;
16519 return SWIG_arg;
16520
16521 if(0) SWIG_fail;
16522
16523fail:
16524 lua_error(L);
16525 return SWIG_arg;
16526}
16527
16528
16529static void swig_delete_uiWindow(void *obj) {
16530uiWindowNode_t *arg1 = (uiWindowNode_t *) obj;
16531delete arg1;
16532}
16533static int _proxy__wrap_new_uiWindow(lua_State *L) {
16534 assert(lua_istable(L,1));
16535 lua_pushcfunction(L,_wrap_new_uiWindow);
16536 assert(!lua_isnil(L,-1));
16537 lua_replace(L,1); /* replace our table with real constructor */
16538 lua_call(L,lua_gettop(L)-1,1);
16539 return 1;
16540}
16548 { "is_fullscreen", _wrap_uiWindow_is_fullscreen},
16549 { "is_modal", _wrap_uiWindow_is_modal},
16550 { "is_starlayout", _wrap_uiWindow_is_starlayout},
16551 { "close", _wrap_uiWindow_close},
16552 { "open", _wrap_uiWindow_open},
16553 { "set_background", _wrap_uiWindow_set_background},
16554 { "set_fullscreen", _wrap_uiWindow_set_fullscreen},
16555 { "set_modal", _wrap_uiWindow_set_modal},
16556 { "set_fill", _wrap_uiWindow_set_fill},
16557 { "set_dragbutton", _wrap_uiWindow_set_dragbutton},
16558 { "set_closebutton", _wrap_uiWindow_set_closebutton},
16559 { "set_starlayout", _wrap_uiWindow_set_starlayout},
16560 { "set_preventtypingescape", _wrap_uiWindow_set_preventtypingescape},
16561 { "set_noticepos", _wrap_uiWindow_set_noticepos},
16562 { "set_dropdown", _wrap_uiWindow_set_dropdown},
16563 {0,0}
16564};
16566 {0,0}
16567};
16568
16573 {0,0,0,0,0,0}
16574};
16581
16591static const char *swig_uiWindow_base_names[] = {"uiNode_t *",0};
16593
16594static int _wrap_uiZone_is_repeat(lua_State* L) {
16595 int SWIG_arg = 0;
16596 uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16597 bool result;
16598
16599 SWIG_check_num_args("uiZoneNode_t::is_repeat",1,1)
16600 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::is_repeat",1,"uiZoneNode_t *");
16601
16602 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16603 SWIG_fail_ptr("uiZone_is_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16604 }
16605
16606 result = (bool)uiZoneNode_t_is_repeat(arg1);
16607 lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
16608 return SWIG_arg;
16609
16610 if(0) SWIG_fail;
16611
16612fail:
16613 lua_error(L);
16614 return SWIG_arg;
16615}
16616
16617
16618static int _wrap_uiZone_clickdelay(lua_State* L) {
16619 int SWIG_arg = 0;
16620 uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16621 int result;
16622
16623 SWIG_check_num_args("uiZoneNode_t::clickdelay",1,1)
16624 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::clickdelay",1,"uiZoneNode_t *");
16625
16626 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16627 SWIG_fail_ptr("uiZone_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16628 }
16629
16630 result = (int)uiZoneNode_t_clickdelay(arg1);
16631 lua_pushnumber(L, (lua_Number) result); SWIG_arg++;
16632 return SWIG_arg;
16633
16634 if(0) SWIG_fail;
16635
16636fail:
16637 lua_error(L);
16638 return SWIG_arg;
16639}
16640
16641
16642static int _wrap_uiZone_set_repeat(lua_State* L) {
16643 int SWIG_arg = 0;
16644 uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16645 bool arg2 ;
16646
16647 SWIG_check_num_args("uiZoneNode_t::set_repeat",2,2)
16648 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_repeat",1,"uiZoneNode_t *");
16649 if(!lua_isboolean(L,2)) SWIG_fail_arg("uiZoneNode_t::set_repeat",2,"bool");
16650
16651 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16652 SWIG_fail_ptr("uiZone_set_repeat",1,SWIGTYPE_p_uiZoneNode_t);
16653 }
16654
16655 arg2 = (lua_toboolean(L, 2)!=0);
16656 uiZoneNode_t_set_repeat(arg1,arg2);
16657
16658 return SWIG_arg;
16659
16660 if(0) SWIG_fail;
16661
16662fail:
16663 lua_error(L);
16664 return SWIG_arg;
16665}
16666
16667
16668static int _wrap_uiZone_set_clickdelay(lua_State* L) {
16669 int SWIG_arg = 0;
16670 uiZoneNode_t *arg1 = (uiZoneNode_t *) 0 ;
16671 int arg2 ;
16672
16673 SWIG_check_num_args("uiZoneNode_t::set_clickdelay",2,2)
16674 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",1,"uiZoneNode_t *");
16675 if(!lua_isnumber(L,2)) SWIG_fail_arg("uiZoneNode_t::set_clickdelay",2,"int");
16676
16677 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiZoneNode_t,0))){
16678 SWIG_fail_ptr("uiZone_set_clickdelay",1,SWIGTYPE_p_uiZoneNode_t);
16679 }
16680
16681 arg2 = (int)lua_tonumber(L, 2);
16682 uiZoneNode_t_set_clickdelay(arg1,arg2);
16683
16684 return SWIG_arg;
16685
16686 if(0) SWIG_fail;
16687
16688fail:
16689 lua_error(L);
16690 return SWIG_arg;
16691}
16692
16693
16694static int _wrap_new_uiZone(lua_State* L) {
16695 int SWIG_arg = 0;
16696 uiZoneNode_t *result = 0 ;
16697
16698 SWIG_check_num_args("uiZoneNode_t::uiZoneNode_t",0,0)
16699 result = (uiZoneNode_t *)new uiZoneNode_t();
16700 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,1); SWIG_arg++;
16701 return SWIG_arg;
16702
16703 if(0) SWIG_fail;
16704
16705fail:
16706 lua_error(L);
16707 return SWIG_arg;
16708}
16709
16710
16711static void swig_delete_uiZone(void *obj) {
16712uiZoneNode_t *arg1 = (uiZoneNode_t *) obj;
16713delete arg1;
16714}
16715static int _proxy__wrap_new_uiZone(lua_State *L) {
16716 assert(lua_istable(L,1));
16717 lua_pushcfunction(L,_wrap_new_uiZone);
16718 assert(!lua_isnil(L,-1));
16719 lua_replace(L,1); /* replace our table with real constructor */
16720 lua_call(L,lua_gettop(L)-1,1);
16721 return 1;
16722}
16724 {0,0,0}
16725};
16727 { "is_repeat", _wrap_uiZone_is_repeat},
16728 { "clickdelay", _wrap_uiZone_clickdelay},
16729 { "set_repeat", _wrap_uiZone_set_repeat},
16730 { "set_clickdelay", _wrap_uiZone_set_clickdelay},
16731 {0,0}
16732};
16734 {0,0}
16735};
16736
16741 {0,0,0,0,0,0}
16742};
16749
16759static const char *swig_uiZone_base_names[] = {"uiNode_t *",0};
16761
16762static int _wrap_create_control(lua_State* L) {
16763 int SWIG_arg = 0;
16764 uiNode_t *arg1 = (uiNode_t *) 0 ;
16765 char *arg2 = (char *) 0 ;
16766 char *arg3 = (char *) 0 ;
16767 char *arg4 = (char *) 0 ;
16768 uiNode_t *result = 0 ;
16769
16770 SWIG_check_num_args("UI_CreateControl",4,4)
16771 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateControl",1,"uiNode_t *");
16772 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateControl",2,"char const *");
16773 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateControl",3,"char const *");
16774 if(!SWIG_lua_isnilstring(L,4)) SWIG_fail_arg("UI_CreateControl",4,"char const *");
16775
16776 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16777 SWIG_fail_ptr("create_control",1,SWIGTYPE_p_uiNode_t);
16778 }
16779
16780 arg2 = (char *)lua_tostring(L, 2);
16781 arg3 = (char *)lua_tostring(L, 3);
16782 arg4 = (char *)lua_tostring(L, 4);
16783 result = (uiNode_t *)UI_CreateControl(arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4);
16784 {
16785 if (result) {
16787 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
16788 } else {
16789 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
16790 }
16791 }
16792 return SWIG_arg;
16793
16794 if(0) SWIG_fail;
16795
16796fail:
16797 lua_error(L);
16798 return SWIG_arg;
16799}
16800
16801
16802static int _wrap_UI_CreateBar(lua_State* L) {
16803 int SWIG_arg = 0;
16804 uiNode_t *arg1 = (uiNode_t *) 0 ;
16805 char *arg2 = (char *) 0 ;
16806 char *arg3 = (char *) 0 ;
16807 uiBarNode_t *result = 0 ;
16808
16809 SWIG_check_num_args("UI_CreateBar",3,3)
16810 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
16811 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
16812 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
16813
16814 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16815 SWIG_fail_ptr("UI_CreateBar",1,SWIGTYPE_p_uiNode_t);
16816 }
16817
16818 arg2 = (char *)lua_tostring(L, 2);
16819 arg3 = (char *)lua_tostring(L, 3);
16820 result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
16821 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
16822 return SWIG_arg;
16823
16824 if(0) SWIG_fail;
16825
16826fail:
16827 lua_error(L);
16828 return SWIG_arg;
16829}
16830
16831
16832static int _wrap_UI_CreateBaseLayout(lua_State* L) {
16833 int SWIG_arg = 0;
16834 uiNode_t *arg1 = (uiNode_t *) 0 ;
16835 char *arg2 = (char *) 0 ;
16836 char *arg3 = (char *) 0 ;
16837 uiBaseLayoutNode_t *result = 0 ;
16838
16839 SWIG_check_num_args("UI_CreateBaseLayout",3,3)
16840 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
16841 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
16842 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
16843
16844 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16845 SWIG_fail_ptr("UI_CreateBaseLayout",1,SWIGTYPE_p_uiNode_t);
16846 }
16847
16848 arg2 = (char *)lua_tostring(L, 2);
16849 arg3 = (char *)lua_tostring(L, 3);
16850 result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
16851 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
16852 return SWIG_arg;
16853
16854 if(0) SWIG_fail;
16855
16856fail:
16857 lua_error(L);
16858 return SWIG_arg;
16859}
16860
16861
16862static int _wrap_UI_CreateBaseInventory(lua_State* L) {
16863 int SWIG_arg = 0;
16864 uiNode_t *arg1 = (uiNode_t *) 0 ;
16865 char *arg2 = (char *) 0 ;
16866 char *arg3 = (char *) 0 ;
16867 uiBaseInventoryNode_t *result = 0 ;
16868
16869 SWIG_check_num_args("UI_CreateBaseInventory",3,3)
16870 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
16871 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
16872 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
16873
16874 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16875 SWIG_fail_ptr("UI_CreateBaseInventory",1,SWIGTYPE_p_uiNode_t);
16876 }
16877
16878 arg2 = (char *)lua_tostring(L, 2);
16879 arg3 = (char *)lua_tostring(L, 3);
16880 result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
16882 return SWIG_arg;
16883
16884 if(0) SWIG_fail;
16885
16886fail:
16887 lua_error(L);
16888 return SWIG_arg;
16889}
16890
16891
16892static int _wrap_UI_CreateButton(lua_State* L) {
16893 int SWIG_arg = 0;
16894 uiNode_t *arg1 = (uiNode_t *) 0 ;
16895 char *arg2 = (char *) 0 ;
16896 char *arg3 = (char *) 0 ;
16897 uiButtonNode_t *result = 0 ;
16898
16899 SWIG_check_num_args("UI_CreateButton",3,3)
16900 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
16901 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
16902 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
16903
16904 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16905 SWIG_fail_ptr("UI_CreateButton",1,SWIGTYPE_p_uiNode_t);
16906 }
16907
16908 arg2 = (char *)lua_tostring(L, 2);
16909 arg3 = (char *)lua_tostring(L, 3);
16910 result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
16911 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
16912 return SWIG_arg;
16913
16914 if(0) SWIG_fail;
16915
16916fail:
16917 lua_error(L);
16918 return SWIG_arg;
16919}
16920
16921
16922static int _wrap_UI_CreateCheckBox(lua_State* L) {
16923 int SWIG_arg = 0;
16924 uiNode_t *arg1 = (uiNode_t *) 0 ;
16925 char *arg2 = (char *) 0 ;
16926 char *arg3 = (char *) 0 ;
16927 uiCheckBoxNode_t *result = 0 ;
16928
16929 SWIG_check_num_args("UI_CreateCheckBox",3,3)
16930 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
16931 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
16932 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
16933
16934 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16935 SWIG_fail_ptr("UI_CreateCheckBox",1,SWIGTYPE_p_uiNode_t);
16936 }
16937
16938 arg2 = (char *)lua_tostring(L, 2);
16939 arg3 = (char *)lua_tostring(L, 3);
16940 result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
16941 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
16942 return SWIG_arg;
16943
16944 if(0) SWIG_fail;
16945
16946fail:
16947 lua_error(L);
16948 return SWIG_arg;
16949}
16950
16951
16952static int _wrap_UI_CreateConFunc(lua_State* L) {
16953 int SWIG_arg = 0;
16954 uiNode_t *arg1 = (uiNode_t *) 0 ;
16955 char *arg2 = (char *) 0 ;
16956 char *arg3 = (char *) 0 ;
16957 uiConFuncNode_t *result = 0 ;
16958
16959 SWIG_check_num_args("UI_CreateConFunc",3,3)
16960 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
16961 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
16962 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
16963
16964 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16965 SWIG_fail_ptr("UI_CreateConFunc",1,SWIGTYPE_p_uiNode_t);
16966 }
16967
16968 arg2 = (char *)lua_tostring(L, 2);
16969 arg3 = (char *)lua_tostring(L, 3);
16970 result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
16971 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
16972 return SWIG_arg;
16973
16974 if(0) SWIG_fail;
16975
16976fail:
16977 lua_error(L);
16978 return SWIG_arg;
16979}
16980
16981
16982static int _wrap_UI_CreateContainer(lua_State* L) {
16983 int SWIG_arg = 0;
16984 uiNode_t *arg1 = (uiNode_t *) 0 ;
16985 char *arg2 = (char *) 0 ;
16986 char *arg3 = (char *) 0 ;
16987 uiContainerNode_t *result = 0 ;
16988
16989 SWIG_check_num_args("UI_CreateContainer",3,3)
16990 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
16991 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
16992 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
16993
16994 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
16995 SWIG_fail_ptr("UI_CreateContainer",1,SWIGTYPE_p_uiNode_t);
16996 }
16997
16998 arg2 = (char *)lua_tostring(L, 2);
16999 arg3 = (char *)lua_tostring(L, 3);
17000 result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
17001 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
17002 return SWIG_arg;
17003
17004 if(0) SWIG_fail;
17005
17006fail:
17007 lua_error(L);
17008 return SWIG_arg;
17009}
17010
17011
17012static int _wrap_UI_CreateData(lua_State* L) {
17013 int SWIG_arg = 0;
17014 uiNode_t *arg1 = (uiNode_t *) 0 ;
17015 char *arg2 = (char *) 0 ;
17016 char *arg3 = (char *) 0 ;
17017 uiDataNode_t *result = 0 ;
17018
17019 SWIG_check_num_args("UI_CreateData",3,3)
17020 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
17021 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
17022 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
17023
17024 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17025 SWIG_fail_ptr("UI_CreateData",1,SWIGTYPE_p_uiNode_t);
17026 }
17027
17028 arg2 = (char *)lua_tostring(L, 2);
17029 arg3 = (char *)lua_tostring(L, 3);
17030 result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
17031 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
17032 return SWIG_arg;
17033
17034 if(0) SWIG_fail;
17035
17036fail:
17037 lua_error(L);
17038 return SWIG_arg;
17039}
17040
17041
17042static int _wrap_UI_CreateGeoscape(lua_State* L) {
17043 int SWIG_arg = 0;
17044 uiNode_t *arg1 = (uiNode_t *) 0 ;
17045 char *arg2 = (char *) 0 ;
17046 char *arg3 = (char *) 0 ;
17047 uiGeoscapeNode_t *result = 0 ;
17048
17049 SWIG_check_num_args("UI_CreateGeoscape",3,3)
17050 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
17051 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
17052 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
17053
17054 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17055 SWIG_fail_ptr("UI_CreateGeoscape",1,SWIGTYPE_p_uiNode_t);
17056 }
17057
17058 arg2 = (char *)lua_tostring(L, 2);
17059 arg3 = (char *)lua_tostring(L, 3);
17060 result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
17061 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
17062 return SWIG_arg;
17063
17064 if(0) SWIG_fail;
17065
17066fail:
17067 lua_error(L);
17068 return SWIG_arg;
17069}
17070
17071
17072static int _wrap_UI_CreateImage(lua_State* L) {
17073 int SWIG_arg = 0;
17074 uiNode_t *arg1 = (uiNode_t *) 0 ;
17075 char *arg2 = (char *) 0 ;
17076 char *arg3 = (char *) 0 ;
17077 uiImageNode_t *result = 0 ;
17078
17079 SWIG_check_num_args("UI_CreateImage",3,3)
17080 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
17081 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
17082 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
17083
17084 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17085 SWIG_fail_ptr("UI_CreateImage",1,SWIGTYPE_p_uiNode_t);
17086 }
17087
17088 arg2 = (char *)lua_tostring(L, 2);
17089 arg3 = (char *)lua_tostring(L, 3);
17090 result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
17091 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
17092 return SWIG_arg;
17093
17094 if(0) SWIG_fail;
17095
17096fail:
17097 lua_error(L);
17098 return SWIG_arg;
17099}
17100
17101
17102static int _wrap_UI_CreateItem(lua_State* L) {
17103 int SWIG_arg = 0;
17104 uiNode_t *arg1 = (uiNode_t *) 0 ;
17105 char *arg2 = (char *) 0 ;
17106 char *arg3 = (char *) 0 ;
17107 uiItemNode_t *result = 0 ;
17108
17109 SWIG_check_num_args("UI_CreateItem",3,3)
17110 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
17111 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
17112 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
17113
17114 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17115 SWIG_fail_ptr("UI_CreateItem",1,SWIGTYPE_p_uiNode_t);
17116 }
17117
17118 arg2 = (char *)lua_tostring(L, 2);
17119 arg3 = (char *)lua_tostring(L, 3);
17120 result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
17121 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
17122 return SWIG_arg;
17123
17124 if(0) SWIG_fail;
17125
17126fail:
17127 lua_error(L);
17128 return SWIG_arg;
17129}
17130
17131
17132static int _wrap_UI_CreateLineChart(lua_State* L) {
17133 int SWIG_arg = 0;
17134 uiNode_t *arg1 = (uiNode_t *) 0 ;
17135 char *arg2 = (char *) 0 ;
17136 char *arg3 = (char *) 0 ;
17137 uiLineChartNode_t *result = 0 ;
17138
17139 SWIG_check_num_args("UI_CreateLineChart",3,3)
17140 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
17141 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
17142 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
17143
17144 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17145 SWIG_fail_ptr("UI_CreateLineChart",1,SWIGTYPE_p_uiNode_t);
17146 }
17147
17148 arg2 = (char *)lua_tostring(L, 2);
17149 arg3 = (char *)lua_tostring(L, 3);
17150 result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
17151 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
17152 return SWIG_arg;
17153
17154 if(0) SWIG_fail;
17155
17156fail:
17157 lua_error(L);
17158 return SWIG_arg;
17159}
17160
17161
17162static int _wrap_UI_CreateMessageList(lua_State* L) {
17163 int SWIG_arg = 0;
17164 uiNode_t *arg1 = (uiNode_t *) 0 ;
17165 char *arg2 = (char *) 0 ;
17166 char *arg3 = (char *) 0 ;
17167 uiMessageListNode_t *result = 0 ;
17168
17169 SWIG_check_num_args("UI_CreateMessageList",3,3)
17170 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
17171 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
17172 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
17173
17174 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17175 SWIG_fail_ptr("UI_CreateMessageList",1,SWIGTYPE_p_uiNode_t);
17176 }
17177
17178 arg2 = (char *)lua_tostring(L, 2);
17179 arg3 = (char *)lua_tostring(L, 3);
17180 result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
17181 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
17182 return SWIG_arg;
17183
17184 if(0) SWIG_fail;
17185
17186fail:
17187 lua_error(L);
17188 return SWIG_arg;
17189}
17190
17191
17192static int _wrap_UI_CreateModel(lua_State* L) {
17193 int SWIG_arg = 0;
17194 uiNode_t *arg1 = (uiNode_t *) 0 ;
17195 char *arg2 = (char *) 0 ;
17196 char *arg3 = (char *) 0 ;
17197 uiModelNode_t *result = 0 ;
17198
17199 SWIG_check_num_args("UI_CreateModel",3,3)
17200 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
17201 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
17202 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
17203
17204 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17205 SWIG_fail_ptr("UI_CreateModel",1,SWIGTYPE_p_uiNode_t);
17206 }
17207
17208 arg2 = (char *)lua_tostring(L, 2);
17209 arg3 = (char *)lua_tostring(L, 3);
17210 result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
17211 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
17212 return SWIG_arg;
17213
17214 if(0) SWIG_fail;
17215
17216fail:
17217 lua_error(L);
17218 return SWIG_arg;
17219}
17220
17221
17222static int _wrap_UI_CreateOption(lua_State* L) {
17223 int SWIG_arg = 0;
17224 uiNode_t *arg1 = (uiNode_t *) 0 ;
17225 char *arg2 = (char *) 0 ;
17226 char *arg3 = (char *) 0 ;
17227 uiOptionNode_t *result = 0 ;
17228
17229 SWIG_check_num_args("UI_CreateOption",3,3)
17230 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
17231 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
17232 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
17233
17234 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17235 SWIG_fail_ptr("UI_CreateOption",1,SWIGTYPE_p_uiNode_t);
17236 }
17237
17238 arg2 = (char *)lua_tostring(L, 2);
17239 arg3 = (char *)lua_tostring(L, 3);
17240 result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
17241 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
17242 return SWIG_arg;
17243
17244 if(0) SWIG_fail;
17245
17246fail:
17247 lua_error(L);
17248 return SWIG_arg;
17249}
17250
17251
17252static int _wrap_UI_CreateOptionList(lua_State* L) {
17253 int SWIG_arg = 0;
17254 uiNode_t *arg1 = (uiNode_t *) 0 ;
17255 char *arg2 = (char *) 0 ;
17256 char *arg3 = (char *) 0 ;
17257 uiOptionListNode_t *result = 0 ;
17258
17259 SWIG_check_num_args("UI_CreateOptionList",3,3)
17260 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
17261 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
17262 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
17263
17264 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17265 SWIG_fail_ptr("UI_CreateOptionList",1,SWIGTYPE_p_uiNode_t);
17266 }
17267
17268 arg2 = (char *)lua_tostring(L, 2);
17269 arg3 = (char *)lua_tostring(L, 3);
17270 result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
17271 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
17272 return SWIG_arg;
17273
17274 if(0) SWIG_fail;
17275
17276fail:
17277 lua_error(L);
17278 return SWIG_arg;
17279}
17280
17281
17282static int _wrap_UI_CreateOptionTree(lua_State* L) {
17283 int SWIG_arg = 0;
17284 uiNode_t *arg1 = (uiNode_t *) 0 ;
17285 char *arg2 = (char *) 0 ;
17286 char *arg3 = (char *) 0 ;
17287 uiOptionTreeNode_t *result = 0 ;
17288
17289 SWIG_check_num_args("UI_CreateOptionTree",3,3)
17290 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
17291 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
17292 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
17293
17294 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17295 SWIG_fail_ptr("UI_CreateOptionTree",1,SWIGTYPE_p_uiNode_t);
17296 }
17297
17298 arg2 = (char *)lua_tostring(L, 2);
17299 arg3 = (char *)lua_tostring(L, 3);
17300 result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
17301 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
17302 return SWIG_arg;
17303
17304 if(0) SWIG_fail;
17305
17306fail:
17307 lua_error(L);
17308 return SWIG_arg;
17309}
17310
17311
17312static int _wrap_UI_CreatePanel(lua_State* L) {
17313 int SWIG_arg = 0;
17314 uiNode_t *arg1 = (uiNode_t *) 0 ;
17315 char *arg2 = (char *) 0 ;
17316 char *arg3 = (char *) 0 ;
17317 uiPanelNode_t *result = 0 ;
17318
17319 SWIG_check_num_args("UI_CreatePanel",3,3)
17320 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
17321 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
17322 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
17323
17324 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17325 SWIG_fail_ptr("UI_CreatePanel",1,SWIGTYPE_p_uiNode_t);
17326 }
17327
17328 arg2 = (char *)lua_tostring(L, 2);
17329 arg3 = (char *)lua_tostring(L, 3);
17330 result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
17331 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
17332 return SWIG_arg;
17333
17334 if(0) SWIG_fail;
17335
17336fail:
17337 lua_error(L);
17338 return SWIG_arg;
17339}
17340
17341
17342static int _wrap_UI_CreateRadar(lua_State* L) {
17343 int SWIG_arg = 0;
17344 uiNode_t *arg1 = (uiNode_t *) 0 ;
17345 char *arg2 = (char *) 0 ;
17346 char *arg3 = (char *) 0 ;
17347 uiRadarNode_t *result = 0 ;
17348
17349 SWIG_check_num_args("UI_CreateRadar",3,3)
17350 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
17351 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
17352 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
17353
17354 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17355 SWIG_fail_ptr("UI_CreateRadar",1,SWIGTYPE_p_uiNode_t);
17356 }
17357
17358 arg2 = (char *)lua_tostring(L, 2);
17359 arg3 = (char *)lua_tostring(L, 3);
17360 result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
17361 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
17362 return SWIG_arg;
17363
17364 if(0) SWIG_fail;
17365
17366fail:
17367 lua_error(L);
17368 return SWIG_arg;
17369}
17370
17371
17372static int _wrap_UI_CreateRadioButton(lua_State* L) {
17373 int SWIG_arg = 0;
17374 uiNode_t *arg1 = (uiNode_t *) 0 ;
17375 char *arg2 = (char *) 0 ;
17376 char *arg3 = (char *) 0 ;
17377 uiRadioButtonNode_t *result = 0 ;
17378
17379 SWIG_check_num_args("UI_CreateRadioButton",3,3)
17380 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
17381 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
17382 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
17383
17384 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17385 SWIG_fail_ptr("UI_CreateRadioButton",1,SWIGTYPE_p_uiNode_t);
17386 }
17387
17388 arg2 = (char *)lua_tostring(L, 2);
17389 arg3 = (char *)lua_tostring(L, 3);
17390 result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
17391 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
17392 return SWIG_arg;
17393
17394 if(0) SWIG_fail;
17395
17396fail:
17397 lua_error(L);
17398 return SWIG_arg;
17399}
17400
17401
17402static int _wrap_UI_CreateRows(lua_State* L) {
17403 int SWIG_arg = 0;
17404 uiNode_t *arg1 = (uiNode_t *) 0 ;
17405 char *arg2 = (char *) 0 ;
17406 char *arg3 = (char *) 0 ;
17407 uiRowsNode_t *result = 0 ;
17408
17409 SWIG_check_num_args("UI_CreateRows",3,3)
17410 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
17411 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
17412 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
17413
17414 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17415 SWIG_fail_ptr("UI_CreateRows",1,SWIGTYPE_p_uiNode_t);
17416 }
17417
17418 arg2 = (char *)lua_tostring(L, 2);
17419 arg3 = (char *)lua_tostring(L, 3);
17420 result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
17421 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
17422 return SWIG_arg;
17423
17424 if(0) SWIG_fail;
17425
17426fail:
17427 lua_error(L);
17428 return SWIG_arg;
17429}
17430
17431
17432static int _wrap_UI_CreateSelectBox(lua_State* L) {
17433 int SWIG_arg = 0;
17434 uiNode_t *arg1 = (uiNode_t *) 0 ;
17435 char *arg2 = (char *) 0 ;
17436 char *arg3 = (char *) 0 ;
17437 uiSelectBoxNode_t *result = 0 ;
17438
17439 SWIG_check_num_args("UI_CreateSelectBox",3,3)
17440 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
17441 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
17442 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
17443
17444 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17445 SWIG_fail_ptr("UI_CreateSelectBox",1,SWIGTYPE_p_uiNode_t);
17446 }
17447
17448 arg2 = (char *)lua_tostring(L, 2);
17449 arg3 = (char *)lua_tostring(L, 3);
17450 result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
17451 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
17452 return SWIG_arg;
17453
17454 if(0) SWIG_fail;
17455
17456fail:
17457 lua_error(L);
17458 return SWIG_arg;
17459}
17460
17461
17462static int _wrap_UI_CreateSequence(lua_State* L) {
17463 int SWIG_arg = 0;
17464 uiNode_t *arg1 = (uiNode_t *) 0 ;
17465 char *arg2 = (char *) 0 ;
17466 char *arg3 = (char *) 0 ;
17467 uiSequenceNode_t *result = 0 ;
17468
17469 SWIG_check_num_args("UI_CreateSequence",3,3)
17470 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
17471 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
17472 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
17473
17474 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17475 SWIG_fail_ptr("UI_CreateSequence",1,SWIGTYPE_p_uiNode_t);
17476 }
17477
17478 arg2 = (char *)lua_tostring(L, 2);
17479 arg3 = (char *)lua_tostring(L, 3);
17480 result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
17481 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
17482 return SWIG_arg;
17483
17484 if(0) SWIG_fail;
17485
17486fail:
17487 lua_error(L);
17488 return SWIG_arg;
17489}
17490
17491
17492static int _wrap_UI_CreateSpinner(lua_State* L) {
17493 int SWIG_arg = 0;
17494 uiNode_t *arg1 = (uiNode_t *) 0 ;
17495 char *arg2 = (char *) 0 ;
17496 char *arg3 = (char *) 0 ;
17497 uiSpinnerNode_t *result = 0 ;
17498
17499 SWIG_check_num_args("UI_CreateSpinner",3,3)
17500 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
17501 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
17502 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
17503
17504 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17505 SWIG_fail_ptr("UI_CreateSpinner",1,SWIGTYPE_p_uiNode_t);
17506 }
17507
17508 arg2 = (char *)lua_tostring(L, 2);
17509 arg3 = (char *)lua_tostring(L, 3);
17510 result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
17511 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
17512 return SWIG_arg;
17513
17514 if(0) SWIG_fail;
17515
17516fail:
17517 lua_error(L);
17518 return SWIG_arg;
17519}
17520
17521
17522static int _wrap_UI_CreateString(lua_State* L) {
17523 int SWIG_arg = 0;
17524 uiNode_t *arg1 = (uiNode_t *) 0 ;
17525 char *arg2 = (char *) 0 ;
17526 char *arg3 = (char *) 0 ;
17527 uiStringNode_t *result = 0 ;
17528
17529 SWIG_check_num_args("UI_CreateString",3,3)
17530 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
17531 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
17532 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
17533
17534 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17535 SWIG_fail_ptr("UI_CreateString",1,SWIGTYPE_p_uiNode_t);
17536 }
17537
17538 arg2 = (char *)lua_tostring(L, 2);
17539 arg3 = (char *)lua_tostring(L, 3);
17540 result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
17541 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
17542 return SWIG_arg;
17543
17544 if(0) SWIG_fail;
17545
17546fail:
17547 lua_error(L);
17548 return SWIG_arg;
17549}
17550
17551
17552static int _wrap_UI_CreateTab(lua_State* L) {
17553 int SWIG_arg = 0;
17554 uiNode_t *arg1 = (uiNode_t *) 0 ;
17555 char *arg2 = (char *) 0 ;
17556 char *arg3 = (char *) 0 ;
17557 uiTabNode_t *result = 0 ;
17558
17559 SWIG_check_num_args("UI_CreateTab",3,3)
17560 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
17561 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
17562 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
17563
17564 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17565 SWIG_fail_ptr("UI_CreateTab",1,SWIGTYPE_p_uiNode_t);
17566 }
17567
17568 arg2 = (char *)lua_tostring(L, 2);
17569 arg3 = (char *)lua_tostring(L, 3);
17570 result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
17571 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
17572 return SWIG_arg;
17573
17574 if(0) SWIG_fail;
17575
17576fail:
17577 lua_error(L);
17578 return SWIG_arg;
17579}
17580
17581
17582static int _wrap_UI_CreateTBar(lua_State* L) {
17583 int SWIG_arg = 0;
17584 uiNode_t *arg1 = (uiNode_t *) 0 ;
17585 char *arg2 = (char *) 0 ;
17586 char *arg3 = (char *) 0 ;
17587 uiTBarNode_t *result = 0 ;
17588
17589 SWIG_check_num_args("UI_CreateTBar",3,3)
17590 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
17591 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
17592 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
17593
17594 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17595 SWIG_fail_ptr("UI_CreateTBar",1,SWIGTYPE_p_uiNode_t);
17596 }
17597
17598 arg2 = (char *)lua_tostring(L, 2);
17599 arg3 = (char *)lua_tostring(L, 3);
17600 result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
17601 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
17602 return SWIG_arg;
17603
17604 if(0) SWIG_fail;
17605
17606fail:
17607 lua_error(L);
17608 return SWIG_arg;
17609}
17610
17611
17612static int _wrap_UI_CreateText(lua_State* L) {
17613 int SWIG_arg = 0;
17614 uiNode_t *arg1 = (uiNode_t *) 0 ;
17615 char *arg2 = (char *) 0 ;
17616 char *arg3 = (char *) 0 ;
17617 uiTextNode_t *result = 0 ;
17618
17619 SWIG_check_num_args("UI_CreateText",3,3)
17620 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
17621 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
17622 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
17623
17624 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17625 SWIG_fail_ptr("UI_CreateText",1,SWIGTYPE_p_uiNode_t);
17626 }
17627
17628 arg2 = (char *)lua_tostring(L, 2);
17629 arg3 = (char *)lua_tostring(L, 3);
17630 result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
17631 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
17632 return SWIG_arg;
17633
17634 if(0) SWIG_fail;
17635
17636fail:
17637 lua_error(L);
17638 return SWIG_arg;
17639}
17640
17641
17642static int _wrap_UI_CreateText2(lua_State* L) {
17643 int SWIG_arg = 0;
17644 uiNode_t *arg1 = (uiNode_t *) 0 ;
17645 char *arg2 = (char *) 0 ;
17646 char *arg3 = (char *) 0 ;
17647 uiText2Node_t *result = 0 ;
17648
17649 SWIG_check_num_args("UI_CreateText2",3,3)
17650 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
17651 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
17652 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
17653
17654 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17655 SWIG_fail_ptr("UI_CreateText2",1,SWIGTYPE_p_uiNode_t);
17656 }
17657
17658 arg2 = (char *)lua_tostring(L, 2);
17659 arg3 = (char *)lua_tostring(L, 3);
17660 result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
17661 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
17662 return SWIG_arg;
17663
17664 if(0) SWIG_fail;
17665
17666fail:
17667 lua_error(L);
17668 return SWIG_arg;
17669}
17670
17671
17672static int _wrap_UI_CreateTextEntry(lua_State* L) {
17673 int SWIG_arg = 0;
17674 uiNode_t *arg1 = (uiNode_t *) 0 ;
17675 char *arg2 = (char *) 0 ;
17676 char *arg3 = (char *) 0 ;
17677 uiTextEntryNode_t *result = 0 ;
17678
17679 SWIG_check_num_args("UI_CreateTextEntry",3,3)
17680 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
17681 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
17682 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
17683
17684 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17685 SWIG_fail_ptr("UI_CreateTextEntry",1,SWIGTYPE_p_uiNode_t);
17686 }
17687
17688 arg2 = (char *)lua_tostring(L, 2);
17689 arg3 = (char *)lua_tostring(L, 3);
17690 result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
17691 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
17692 return SWIG_arg;
17693
17694 if(0) SWIG_fail;
17695
17696fail:
17697 lua_error(L);
17698 return SWIG_arg;
17699}
17700
17701
17702static int _wrap_UI_CreateTextList(lua_State* L) {
17703 int SWIG_arg = 0;
17704 uiNode_t *arg1 = (uiNode_t *) 0 ;
17705 char *arg2 = (char *) 0 ;
17706 char *arg3 = (char *) 0 ;
17707 uiTextListNode_t *result = 0 ;
17708
17709 SWIG_check_num_args("UI_CreateTextList",3,3)
17710 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
17711 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
17712 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
17713
17714 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17715 SWIG_fail_ptr("UI_CreateTextList",1,SWIGTYPE_p_uiNode_t);
17716 }
17717
17718 arg2 = (char *)lua_tostring(L, 2);
17719 arg3 = (char *)lua_tostring(L, 3);
17720 result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
17721 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
17722 return SWIG_arg;
17723
17724 if(0) SWIG_fail;
17725
17726fail:
17727 lua_error(L);
17728 return SWIG_arg;
17729}
17730
17731
17732static int _wrap_UI_CreateTexture(lua_State* L) {
17733 int SWIG_arg = 0;
17734 uiNode_t *arg1 = (uiNode_t *) 0 ;
17735 char *arg2 = (char *) 0 ;
17736 char *arg3 = (char *) 0 ;
17737 uiTextureNode_t *result = 0 ;
17738
17739 SWIG_check_num_args("UI_CreateTexture",3,3)
17740 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
17741 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
17742 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
17743
17744 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17745 SWIG_fail_ptr("UI_CreateTexture",1,SWIGTYPE_p_uiNode_t);
17746 }
17747
17748 arg2 = (char *)lua_tostring(L, 2);
17749 arg3 = (char *)lua_tostring(L, 3);
17750 result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
17751 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
17752 return SWIG_arg;
17753
17754 if(0) SWIG_fail;
17755
17756fail:
17757 lua_error(L);
17758 return SWIG_arg;
17759}
17760
17761
17762static int _wrap_UI_CreateTimer(lua_State* L) {
17763 int SWIG_arg = 0;
17764 uiNode_t *arg1 = (uiNode_t *) 0 ;
17765 char *arg2 = (char *) 0 ;
17766 char *arg3 = (char *) 0 ;
17767 uiTimerNode_t *result = 0 ;
17768
17769 SWIG_check_num_args("UI_CreateTimer",3,3)
17770 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
17771 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
17772 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
17773
17774 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17775 SWIG_fail_ptr("UI_CreateTimer",1,SWIGTYPE_p_uiNode_t);
17776 }
17777
17778 arg2 = (char *)lua_tostring(L, 2);
17779 arg3 = (char *)lua_tostring(L, 3);
17780 result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
17781 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
17782 return SWIG_arg;
17783
17784 if(0) SWIG_fail;
17785
17786fail:
17787 lua_error(L);
17788 return SWIG_arg;
17789}
17790
17791
17792static int _wrap_UI_CreateVideo(lua_State* L) {
17793 int SWIG_arg = 0;
17794 uiNode_t *arg1 = (uiNode_t *) 0 ;
17795 char *arg2 = (char *) 0 ;
17796 char *arg3 = (char *) 0 ;
17797 uiVideoNode_t *result = 0 ;
17798
17799 SWIG_check_num_args("UI_CreateVideo",3,3)
17800 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
17801 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
17802 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
17803
17804 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17805 SWIG_fail_ptr("UI_CreateVideo",1,SWIGTYPE_p_uiNode_t);
17806 }
17807
17808 arg2 = (char *)lua_tostring(L, 2);
17809 arg3 = (char *)lua_tostring(L, 3);
17810 result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
17811 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
17812 return SWIG_arg;
17813
17814 if(0) SWIG_fail;
17815
17816fail:
17817 lua_error(L);
17818 return SWIG_arg;
17819}
17820
17821
17822static int _wrap_UI_CreateVScrollbar(lua_State* L) {
17823 int SWIG_arg = 0;
17824 uiNode_t *arg1 = (uiNode_t *) 0 ;
17825 char *arg2 = (char *) 0 ;
17826 char *arg3 = (char *) 0 ;
17827 uiVScrollBarNode_t *result = 0 ;
17828
17829 SWIG_check_num_args("UI_CreateVScrollbar",3,3)
17830 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
17831 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
17832 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
17833
17834 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17835 SWIG_fail_ptr("UI_CreateVScrollbar",1,SWIGTYPE_p_uiNode_t);
17836 }
17837
17838 arg2 = (char *)lua_tostring(L, 2);
17839 arg3 = (char *)lua_tostring(L, 3);
17840 result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
17841 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
17842 return SWIG_arg;
17843
17844 if(0) SWIG_fail;
17845
17846fail:
17847 lua_error(L);
17848 return SWIG_arg;
17849}
17850
17851
17852static int _wrap_UI_CreateWidget(lua_State* L) {
17853 int SWIG_arg = 0;
17854 uiNode_t *arg1 = (uiNode_t *) 0 ;
17855 char *arg2 = (char *) 0 ;
17856 char *arg3 = (char *) 0 ;
17857 uiWidgetNode_t *result = 0 ;
17858
17859 SWIG_check_num_args("UI_CreateWidget",3,3)
17860 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
17861 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
17862 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
17863
17864 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17865 SWIG_fail_ptr("UI_CreateWidget",1,SWIGTYPE_p_uiNode_t);
17866 }
17867
17868 arg2 = (char *)lua_tostring(L, 2);
17869 arg3 = (char *)lua_tostring(L, 3);
17870 result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
17871 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
17872 return SWIG_arg;
17873
17874 if(0) SWIG_fail;
17875
17876fail:
17877 lua_error(L);
17878 return SWIG_arg;
17879}
17880
17881
17882static int _wrap_UI_CreateWindow(lua_State* L) {
17883 int SWIG_arg = 0;
17884 char *arg1 = (char *) 0 ;
17885 char *arg2 = (char *) 0 ;
17886 uiWindowNode_t *result = 0 ;
17887
17888 SWIG_check_num_args("UI_CreateWindow",2,2)
17889 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
17890 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
17891 arg1 = (char *)lua_tostring(L, 1);
17892 arg2 = (char *)lua_tostring(L, 2);
17893 result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
17894 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
17895 return SWIG_arg;
17896
17897 if(0) SWIG_fail;
17898
17899fail:
17900 lua_error(L);
17901 return SWIG_arg;
17902}
17903
17904
17905static int _wrap_UI_CreateZone(lua_State* L) {
17906 int SWIG_arg = 0;
17907 uiNode_t *arg1 = (uiNode_t *) 0 ;
17908 char *arg2 = (char *) 0 ;
17909 char *arg3 = (char *) 0 ;
17910 uiZoneNode_t *result = 0 ;
17911
17912 SWIG_check_num_args("UI_CreateZone",3,3)
17913 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
17914 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
17915 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
17916
17917 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17918 SWIG_fail_ptr("UI_CreateZone",1,SWIGTYPE_p_uiNode_t);
17919 }
17920
17921 arg2 = (char *)lua_tostring(L, 2);
17922 arg3 = (char *)lua_tostring(L, 3);
17923 result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
17924 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
17925 return SWIG_arg;
17926
17927 if(0) SWIG_fail;
17928
17929fail:
17930 lua_error(L);
17931 return SWIG_arg;
17932}
17933
17934
17935static int _wrap_create_bar(lua_State* L) {
17936 int SWIG_arg = 0;
17937 uiNode_t *arg1 = (uiNode_t *) 0 ;
17938 char *arg2 = (char *) 0 ;
17939 char *arg3 = (char *) 0 ;
17940 uiBarNode_t *result = 0 ;
17941
17942 SWIG_check_num_args("UI_CreateBar",3,3)
17943 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBar",1,"uiNode_t *");
17944 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBar",2,"char const *");
17945 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBar",3,"char const *");
17946
17947 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17948 SWIG_fail_ptr("create_bar",1,SWIGTYPE_p_uiNode_t);
17949 }
17950
17951 arg2 = (char *)lua_tostring(L, 2);
17952 arg3 = (char *)lua_tostring(L, 3);
17953 result = (uiBarNode_t *)UI_CreateBar(arg1,(char const *)arg2,(char const *)arg3);
17954 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBarNode_t,0); SWIG_arg++;
17955 return SWIG_arg;
17956
17957 if(0) SWIG_fail;
17958
17959fail:
17960 lua_error(L);
17961 return SWIG_arg;
17962}
17963
17964
17965static int _wrap_create_button(lua_State* L) {
17966 int SWIG_arg = 0;
17967 uiNode_t *arg1 = (uiNode_t *) 0 ;
17968 char *arg2 = (char *) 0 ;
17969 char *arg3 = (char *) 0 ;
17970 uiButtonNode_t *result = 0 ;
17971
17972 SWIG_check_num_args("UI_CreateButton",3,3)
17973 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateButton",1,"uiNode_t *");
17974 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateButton",2,"char const *");
17975 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateButton",3,"char const *");
17976
17977 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
17978 SWIG_fail_ptr("create_button",1,SWIGTYPE_p_uiNode_t);
17979 }
17980
17981 arg2 = (char *)lua_tostring(L, 2);
17982 arg3 = (char *)lua_tostring(L, 3);
17983 result = (uiButtonNode_t *)UI_CreateButton(arg1,(char const *)arg2,(char const *)arg3);
17984 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiButtonNode_t,0); SWIG_arg++;
17985 return SWIG_arg;
17986
17987 if(0) SWIG_fail;
17988
17989fail:
17990 lua_error(L);
17991 return SWIG_arg;
17992}
17993
17994
17995static int _wrap_create_baselayout(lua_State* L) {
17996 int SWIG_arg = 0;
17997 uiNode_t *arg1 = (uiNode_t *) 0 ;
17998 char *arg2 = (char *) 0 ;
17999 char *arg3 = (char *) 0 ;
18000 uiBaseLayoutNode_t *result = 0 ;
18001
18002 SWIG_check_num_args("UI_CreateBaseLayout",3,3)
18003 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseLayout",1,"uiNode_t *");
18004 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseLayout",2,"char const *");
18005 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseLayout",3,"char const *");
18006
18007 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18008 SWIG_fail_ptr("create_baselayout",1,SWIGTYPE_p_uiNode_t);
18009 }
18010
18011 arg2 = (char *)lua_tostring(L, 2);
18012 arg3 = (char *)lua_tostring(L, 3);
18013 result = (uiBaseLayoutNode_t *)UI_CreateBaseLayout(arg1,(char const *)arg2,(char const *)arg3);
18014 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiBaseLayoutNode_t,0); SWIG_arg++;
18015 return SWIG_arg;
18016
18017 if(0) SWIG_fail;
18018
18019fail:
18020 lua_error(L);
18021 return SWIG_arg;
18022}
18023
18024
18025static int _wrap_create_baseinventory(lua_State* L) {
18026 int SWIG_arg = 0;
18027 uiNode_t *arg1 = (uiNode_t *) 0 ;
18028 char *arg2 = (char *) 0 ;
18029 char *arg3 = (char *) 0 ;
18030 uiBaseInventoryNode_t *result = 0 ;
18031
18032 SWIG_check_num_args("UI_CreateBaseInventory",3,3)
18033 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateBaseInventory",1,"uiNode_t *");
18034 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateBaseInventory",2,"char const *");
18035 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateBaseInventory",3,"char const *");
18036
18037 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18038 SWIG_fail_ptr("create_baseinventory",1,SWIGTYPE_p_uiNode_t);
18039 }
18040
18041 arg2 = (char *)lua_tostring(L, 2);
18042 arg3 = (char *)lua_tostring(L, 3);
18043 result = (uiBaseInventoryNode_t *)UI_CreateBaseInventory(arg1,(char const *)arg2,(char const *)arg3);
18045 return SWIG_arg;
18046
18047 if(0) SWIG_fail;
18048
18049fail:
18050 lua_error(L);
18051 return SWIG_arg;
18052}
18053
18054
18055static int _wrap_create_checkbox(lua_State* L) {
18056 int SWIG_arg = 0;
18057 uiNode_t *arg1 = (uiNode_t *) 0 ;
18058 char *arg2 = (char *) 0 ;
18059 char *arg3 = (char *) 0 ;
18060 uiCheckBoxNode_t *result = 0 ;
18061
18062 SWIG_check_num_args("UI_CreateCheckBox",3,3)
18063 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateCheckBox",1,"uiNode_t *");
18064 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateCheckBox",2,"char const *");
18065 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateCheckBox",3,"char const *");
18066
18067 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18068 SWIG_fail_ptr("create_checkbox",1,SWIGTYPE_p_uiNode_t);
18069 }
18070
18071 arg2 = (char *)lua_tostring(L, 2);
18072 arg3 = (char *)lua_tostring(L, 3);
18073 result = (uiCheckBoxNode_t *)UI_CreateCheckBox(arg1,(char const *)arg2,(char const *)arg3);
18074 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiCheckBoxNode_t,0); SWIG_arg++;
18075 return SWIG_arg;
18076
18077 if(0) SWIG_fail;
18078
18079fail:
18080 lua_error(L);
18081 return SWIG_arg;
18082}
18083
18084
18085static int _wrap_create_confunc(lua_State* L) {
18086 int SWIG_arg = 0;
18087 uiNode_t *arg1 = (uiNode_t *) 0 ;
18088 char *arg2 = (char *) 0 ;
18089 char *arg3 = (char *) 0 ;
18090 uiConFuncNode_t *result = 0 ;
18091
18092 SWIG_check_num_args("UI_CreateConFunc",3,3)
18093 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateConFunc",1,"uiNode_t *");
18094 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateConFunc",2,"char const *");
18095 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateConFunc",3,"char const *");
18096
18097 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18098 SWIG_fail_ptr("create_confunc",1,SWIGTYPE_p_uiNode_t);
18099 }
18100
18101 arg2 = (char *)lua_tostring(L, 2);
18102 arg3 = (char *)lua_tostring(L, 3);
18103 result = (uiConFuncNode_t *)UI_CreateConFunc(arg1,(char const *)arg2,(char const *)arg3);
18104 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiConFuncNode_t,0); SWIG_arg++;
18105 return SWIG_arg;
18106
18107 if(0) SWIG_fail;
18108
18109fail:
18110 lua_error(L);
18111 return SWIG_arg;
18112}
18113
18114
18115static int _wrap_create_container(lua_State* L) {
18116 int SWIG_arg = 0;
18117 uiNode_t *arg1 = (uiNode_t *) 0 ;
18118 char *arg2 = (char *) 0 ;
18119 char *arg3 = (char *) 0 ;
18120 uiContainerNode_t *result = 0 ;
18121
18122 SWIG_check_num_args("UI_CreateContainer",3,3)
18123 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateContainer",1,"uiNode_t *");
18124 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateContainer",2,"char const *");
18125 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateContainer",3,"char const *");
18126
18127 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18128 SWIG_fail_ptr("create_container",1,SWIGTYPE_p_uiNode_t);
18129 }
18130
18131 arg2 = (char *)lua_tostring(L, 2);
18132 arg3 = (char *)lua_tostring(L, 3);
18133 result = (uiContainerNode_t *)UI_CreateContainer(arg1,(char const *)arg2,(char const *)arg3);
18134 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiContainerNode_t,0); SWIG_arg++;
18135 return SWIG_arg;
18136
18137 if(0) SWIG_fail;
18138
18139fail:
18140 lua_error(L);
18141 return SWIG_arg;
18142}
18143
18144
18145static int _wrap_create_data(lua_State* L) {
18146 int SWIG_arg = 0;
18147 uiNode_t *arg1 = (uiNode_t *) 0 ;
18148 char *arg2 = (char *) 0 ;
18149 char *arg3 = (char *) 0 ;
18150 uiDataNode_t *result = 0 ;
18151
18152 SWIG_check_num_args("UI_CreateData",3,3)
18153 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateData",1,"uiNode_t *");
18154 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateData",2,"char const *");
18155 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateData",3,"char const *");
18156
18157 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18158 SWIG_fail_ptr("create_data",1,SWIGTYPE_p_uiNode_t);
18159 }
18160
18161 arg2 = (char *)lua_tostring(L, 2);
18162 arg3 = (char *)lua_tostring(L, 3);
18163 result = (uiDataNode_t *)UI_CreateData(arg1,(char const *)arg2,(char const *)arg3);
18164 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiDataNode_t,0); SWIG_arg++;
18165 return SWIG_arg;
18166
18167 if(0) SWIG_fail;
18168
18169fail:
18170 lua_error(L);
18171 return SWIG_arg;
18172}
18173
18174
18175static int _wrap_create_geoscape(lua_State* L) {
18176 int SWIG_arg = 0;
18177 uiNode_t *arg1 = (uiNode_t *) 0 ;
18178 char *arg2 = (char *) 0 ;
18179 char *arg3 = (char *) 0 ;
18180 uiGeoscapeNode_t *result = 0 ;
18181
18182 SWIG_check_num_args("UI_CreateGeoscape",3,3)
18183 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateGeoscape",1,"uiNode_t *");
18184 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateGeoscape",2,"char const *");
18185 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateGeoscape",3,"char const *");
18186
18187 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18188 SWIG_fail_ptr("create_geoscape",1,SWIGTYPE_p_uiNode_t);
18189 }
18190
18191 arg2 = (char *)lua_tostring(L, 2);
18192 arg3 = (char *)lua_tostring(L, 3);
18193 result = (uiGeoscapeNode_t *)UI_CreateGeoscape(arg1,(char const *)arg2,(char const *)arg3);
18194 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiGeoscapeNode_t,0); SWIG_arg++;
18195 return SWIG_arg;
18196
18197 if(0) SWIG_fail;
18198
18199fail:
18200 lua_error(L);
18201 return SWIG_arg;
18202}
18203
18204
18205static int _wrap_create_image(lua_State* L) {
18206 int SWIG_arg = 0;
18207 uiNode_t *arg1 = (uiNode_t *) 0 ;
18208 char *arg2 = (char *) 0 ;
18209 char *arg3 = (char *) 0 ;
18210 uiImageNode_t *result = 0 ;
18211
18212 SWIG_check_num_args("UI_CreateImage",3,3)
18213 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateImage",1,"uiNode_t *");
18214 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateImage",2,"char const *");
18215 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateImage",3,"char const *");
18216
18217 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18218 SWIG_fail_ptr("create_image",1,SWIGTYPE_p_uiNode_t);
18219 }
18220
18221 arg2 = (char *)lua_tostring(L, 2);
18222 arg3 = (char *)lua_tostring(L, 3);
18223 result = (uiImageNode_t *)UI_CreateImage(arg1,(char const *)arg2,(char const *)arg3);
18224 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiImageNode_t,0); SWIG_arg++;
18225 return SWIG_arg;
18226
18227 if(0) SWIG_fail;
18228
18229fail:
18230 lua_error(L);
18231 return SWIG_arg;
18232}
18233
18234
18235static int _wrap_create_item(lua_State* L) {
18236 int SWIG_arg = 0;
18237 uiNode_t *arg1 = (uiNode_t *) 0 ;
18238 char *arg2 = (char *) 0 ;
18239 char *arg3 = (char *) 0 ;
18240 uiItemNode_t *result = 0 ;
18241
18242 SWIG_check_num_args("UI_CreateItem",3,3)
18243 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateItem",1,"uiNode_t *");
18244 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateItem",2,"char const *");
18245 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateItem",3,"char const *");
18246
18247 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18248 SWIG_fail_ptr("create_item",1,SWIGTYPE_p_uiNode_t);
18249 }
18250
18251 arg2 = (char *)lua_tostring(L, 2);
18252 arg3 = (char *)lua_tostring(L, 3);
18253 result = (uiItemNode_t *)UI_CreateItem(arg1,(char const *)arg2,(char const *)arg3);
18254 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiItemNode_t,0); SWIG_arg++;
18255 return SWIG_arg;
18256
18257 if(0) SWIG_fail;
18258
18259fail:
18260 lua_error(L);
18261 return SWIG_arg;
18262}
18263
18264
18265static int _wrap_create_linechart(lua_State* L) {
18266 int SWIG_arg = 0;
18267 uiNode_t *arg1 = (uiNode_t *) 0 ;
18268 char *arg2 = (char *) 0 ;
18269 char *arg3 = (char *) 0 ;
18270 uiLineChartNode_t *result = 0 ;
18271
18272 SWIG_check_num_args("UI_CreateLineChart",3,3)
18273 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateLineChart",1,"uiNode_t *");
18274 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateLineChart",2,"char const *");
18275 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateLineChart",3,"char const *");
18276
18277 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18278 SWIG_fail_ptr("create_linechart",1,SWIGTYPE_p_uiNode_t);
18279 }
18280
18281 arg2 = (char *)lua_tostring(L, 2);
18282 arg3 = (char *)lua_tostring(L, 3);
18283 result = (uiLineChartNode_t *)UI_CreateLineChart(arg1,(char const *)arg2,(char const *)arg3);
18284 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiLineChartNode_t,0); SWIG_arg++;
18285 return SWIG_arg;
18286
18287 if(0) SWIG_fail;
18288
18289fail:
18290 lua_error(L);
18291 return SWIG_arg;
18292}
18293
18294
18295static int _wrap_create_messagelist(lua_State* L) {
18296 int SWIG_arg = 0;
18297 uiNode_t *arg1 = (uiNode_t *) 0 ;
18298 char *arg2 = (char *) 0 ;
18299 char *arg3 = (char *) 0 ;
18300 uiMessageListNode_t *result = 0 ;
18301
18302 SWIG_check_num_args("UI_CreateMessageList",3,3)
18303 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateMessageList",1,"uiNode_t *");
18304 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateMessageList",2,"char const *");
18305 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateMessageList",3,"char const *");
18306
18307 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18308 SWIG_fail_ptr("create_messagelist",1,SWIGTYPE_p_uiNode_t);
18309 }
18310
18311 arg2 = (char *)lua_tostring(L, 2);
18312 arg3 = (char *)lua_tostring(L, 3);
18313 result = (uiMessageListNode_t *)UI_CreateMessageList(arg1,(char const *)arg2,(char const *)arg3);
18314 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiMessageListNode_t,0); SWIG_arg++;
18315 return SWIG_arg;
18316
18317 if(0) SWIG_fail;
18318
18319fail:
18320 lua_error(L);
18321 return SWIG_arg;
18322}
18323
18324
18325static int _wrap_create_model(lua_State* L) {
18326 int SWIG_arg = 0;
18327 uiNode_t *arg1 = (uiNode_t *) 0 ;
18328 char *arg2 = (char *) 0 ;
18329 char *arg3 = (char *) 0 ;
18330 uiModelNode_t *result = 0 ;
18331
18332 SWIG_check_num_args("UI_CreateModel",3,3)
18333 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateModel",1,"uiNode_t *");
18334 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateModel",2,"char const *");
18335 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateModel",3,"char const *");
18336
18337 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18338 SWIG_fail_ptr("create_model",1,SWIGTYPE_p_uiNode_t);
18339 }
18340
18341 arg2 = (char *)lua_tostring(L, 2);
18342 arg3 = (char *)lua_tostring(L, 3);
18343 result = (uiModelNode_t *)UI_CreateModel(arg1,(char const *)arg2,(char const *)arg3);
18344 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiModelNode_t,0); SWIG_arg++;
18345 return SWIG_arg;
18346
18347 if(0) SWIG_fail;
18348
18349fail:
18350 lua_error(L);
18351 return SWIG_arg;
18352}
18353
18354
18355static int _wrap_create_option(lua_State* L) {
18356 int SWIG_arg = 0;
18357 uiNode_t *arg1 = (uiNode_t *) 0 ;
18358 char *arg2 = (char *) 0 ;
18359 char *arg3 = (char *) 0 ;
18360 uiOptionNode_t *result = 0 ;
18361
18362 SWIG_check_num_args("UI_CreateOption",3,3)
18363 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOption",1,"uiNode_t *");
18364 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOption",2,"char const *");
18365 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOption",3,"char const *");
18366
18367 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18368 SWIG_fail_ptr("create_option",1,SWIGTYPE_p_uiNode_t);
18369 }
18370
18371 arg2 = (char *)lua_tostring(L, 2);
18372 arg3 = (char *)lua_tostring(L, 3);
18373 result = (uiOptionNode_t *)UI_CreateOption(arg1,(char const *)arg2,(char const *)arg3);
18374 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionNode_t,0); SWIG_arg++;
18375 return SWIG_arg;
18376
18377 if(0) SWIG_fail;
18378
18379fail:
18380 lua_error(L);
18381 return SWIG_arg;
18382}
18383
18384
18385static int _wrap_create_optionlist(lua_State* L) {
18386 int SWIG_arg = 0;
18387 uiNode_t *arg1 = (uiNode_t *) 0 ;
18388 char *arg2 = (char *) 0 ;
18389 char *arg3 = (char *) 0 ;
18390 uiOptionListNode_t *result = 0 ;
18391
18392 SWIG_check_num_args("UI_CreateOptionList",3,3)
18393 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionList",1,"uiNode_t *");
18394 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionList",2,"char const *");
18395 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionList",3,"char const *");
18396
18397 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18398 SWIG_fail_ptr("create_optionlist",1,SWIGTYPE_p_uiNode_t);
18399 }
18400
18401 arg2 = (char *)lua_tostring(L, 2);
18402 arg3 = (char *)lua_tostring(L, 3);
18403 result = (uiOptionListNode_t *)UI_CreateOptionList(arg1,(char const *)arg2,(char const *)arg3);
18404 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionListNode_t,0); SWIG_arg++;
18405 return SWIG_arg;
18406
18407 if(0) SWIG_fail;
18408
18409fail:
18410 lua_error(L);
18411 return SWIG_arg;
18412}
18413
18414
18415static int _wrap_create_optiontree(lua_State* L) {
18416 int SWIG_arg = 0;
18417 uiNode_t *arg1 = (uiNode_t *) 0 ;
18418 char *arg2 = (char *) 0 ;
18419 char *arg3 = (char *) 0 ;
18420 uiOptionTreeNode_t *result = 0 ;
18421
18422 SWIG_check_num_args("UI_CreateOptionTree",3,3)
18423 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateOptionTree",1,"uiNode_t *");
18424 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateOptionTree",2,"char const *");
18425 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateOptionTree",3,"char const *");
18426
18427 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18428 SWIG_fail_ptr("create_optiontree",1,SWIGTYPE_p_uiNode_t);
18429 }
18430
18431 arg2 = (char *)lua_tostring(L, 2);
18432 arg3 = (char *)lua_tostring(L, 3);
18433 result = (uiOptionTreeNode_t *)UI_CreateOptionTree(arg1,(char const *)arg2,(char const *)arg3);
18434 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiOptionTreeNode_t,0); SWIG_arg++;
18435 return SWIG_arg;
18436
18437 if(0) SWIG_fail;
18438
18439fail:
18440 lua_error(L);
18441 return SWIG_arg;
18442}
18443
18444
18445static int _wrap_create_panel(lua_State* L) {
18446 int SWIG_arg = 0;
18447 uiNode_t *arg1 = (uiNode_t *) 0 ;
18448 char *arg2 = (char *) 0 ;
18449 char *arg3 = (char *) 0 ;
18450 uiPanelNode_t *result = 0 ;
18451
18452 SWIG_check_num_args("UI_CreatePanel",3,3)
18453 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreatePanel",1,"uiNode_t *");
18454 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreatePanel",2,"char const *");
18455 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreatePanel",3,"char const *");
18456
18457 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18458 SWIG_fail_ptr("create_panel",1,SWIGTYPE_p_uiNode_t);
18459 }
18460
18461 arg2 = (char *)lua_tostring(L, 2);
18462 arg3 = (char *)lua_tostring(L, 3);
18463 result = (uiPanelNode_t *)UI_CreatePanel(arg1,(char const *)arg2,(char const *)arg3);
18464 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiPanelNode_t,0); SWIG_arg++;
18465 return SWIG_arg;
18466
18467 if(0) SWIG_fail;
18468
18469fail:
18470 lua_error(L);
18471 return SWIG_arg;
18472}
18473
18474
18475static int _wrap_create_radar(lua_State* L) {
18476 int SWIG_arg = 0;
18477 uiNode_t *arg1 = (uiNode_t *) 0 ;
18478 char *arg2 = (char *) 0 ;
18479 char *arg3 = (char *) 0 ;
18480 uiRadarNode_t *result = 0 ;
18481
18482 SWIG_check_num_args("UI_CreateRadar",3,3)
18483 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadar",1,"uiNode_t *");
18484 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadar",2,"char const *");
18485 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadar",3,"char const *");
18486
18487 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18488 SWIG_fail_ptr("create_radar",1,SWIGTYPE_p_uiNode_t);
18489 }
18490
18491 arg2 = (char *)lua_tostring(L, 2);
18492 arg3 = (char *)lua_tostring(L, 3);
18493 result = (uiRadarNode_t *)UI_CreateRadar(arg1,(char const *)arg2,(char const *)arg3);
18494 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadarNode_t,0); SWIG_arg++;
18495 return SWIG_arg;
18496
18497 if(0) SWIG_fail;
18498
18499fail:
18500 lua_error(L);
18501 return SWIG_arg;
18502}
18503
18504
18505static int _wrap_create_radiobutton(lua_State* L) {
18506 int SWIG_arg = 0;
18507 uiNode_t *arg1 = (uiNode_t *) 0 ;
18508 char *arg2 = (char *) 0 ;
18509 char *arg3 = (char *) 0 ;
18510 uiRadioButtonNode_t *result = 0 ;
18511
18512 SWIG_check_num_args("UI_CreateRadioButton",3,3)
18513 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRadioButton",1,"uiNode_t *");
18514 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRadioButton",2,"char const *");
18515 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRadioButton",3,"char const *");
18516
18517 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18518 SWIG_fail_ptr("create_radiobutton",1,SWIGTYPE_p_uiNode_t);
18519 }
18520
18521 arg2 = (char *)lua_tostring(L, 2);
18522 arg3 = (char *)lua_tostring(L, 3);
18523 result = (uiRadioButtonNode_t *)UI_CreateRadioButton(arg1,(char const *)arg2,(char const *)arg3);
18524 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRadioButtonNode_t,0); SWIG_arg++;
18525 return SWIG_arg;
18526
18527 if(0) SWIG_fail;
18528
18529fail:
18530 lua_error(L);
18531 return SWIG_arg;
18532}
18533
18534
18535static int _wrap_create_rows(lua_State* L) {
18536 int SWIG_arg = 0;
18537 uiNode_t *arg1 = (uiNode_t *) 0 ;
18538 char *arg2 = (char *) 0 ;
18539 char *arg3 = (char *) 0 ;
18540 uiRowsNode_t *result = 0 ;
18541
18542 SWIG_check_num_args("UI_CreateRows",3,3)
18543 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateRows",1,"uiNode_t *");
18544 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateRows",2,"char const *");
18545 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateRows",3,"char const *");
18546
18547 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18548 SWIG_fail_ptr("create_rows",1,SWIGTYPE_p_uiNode_t);
18549 }
18550
18551 arg2 = (char *)lua_tostring(L, 2);
18552 arg3 = (char *)lua_tostring(L, 3);
18553 result = (uiRowsNode_t *)UI_CreateRows(arg1,(char const *)arg2,(char const *)arg3);
18554 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiRowsNode_t,0); SWIG_arg++;
18555 return SWIG_arg;
18556
18557 if(0) SWIG_fail;
18558
18559fail:
18560 lua_error(L);
18561 return SWIG_arg;
18562}
18563
18564
18565static int _wrap_create_selectbox(lua_State* L) {
18566 int SWIG_arg = 0;
18567 uiNode_t *arg1 = (uiNode_t *) 0 ;
18568 char *arg2 = (char *) 0 ;
18569 char *arg3 = (char *) 0 ;
18570 uiSelectBoxNode_t *result = 0 ;
18571
18572 SWIG_check_num_args("UI_CreateSelectBox",3,3)
18573 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSelectBox",1,"uiNode_t *");
18574 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSelectBox",2,"char const *");
18575 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSelectBox",3,"char const *");
18576
18577 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18578 SWIG_fail_ptr("create_selectbox",1,SWIGTYPE_p_uiNode_t);
18579 }
18580
18581 arg2 = (char *)lua_tostring(L, 2);
18582 arg3 = (char *)lua_tostring(L, 3);
18583 result = (uiSelectBoxNode_t *)UI_CreateSelectBox(arg1,(char const *)arg2,(char const *)arg3);
18584 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSelectBoxNode_t,0); SWIG_arg++;
18585 return SWIG_arg;
18586
18587 if(0) SWIG_fail;
18588
18589fail:
18590 lua_error(L);
18591 return SWIG_arg;
18592}
18593
18594
18595static int _wrap_create_sequence(lua_State* L) {
18596 int SWIG_arg = 0;
18597 uiNode_t *arg1 = (uiNode_t *) 0 ;
18598 char *arg2 = (char *) 0 ;
18599 char *arg3 = (char *) 0 ;
18600 uiSequenceNode_t *result = 0 ;
18601
18602 SWIG_check_num_args("UI_CreateSequence",3,3)
18603 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSequence",1,"uiNode_t *");
18604 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSequence",2,"char const *");
18605 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSequence",3,"char const *");
18606
18607 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18608 SWIG_fail_ptr("create_sequence",1,SWIGTYPE_p_uiNode_t);
18609 }
18610
18611 arg2 = (char *)lua_tostring(L, 2);
18612 arg3 = (char *)lua_tostring(L, 3);
18613 result = (uiSequenceNode_t *)UI_CreateSequence(arg1,(char const *)arg2,(char const *)arg3);
18614 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSequenceNode_t,0); SWIG_arg++;
18615 return SWIG_arg;
18616
18617 if(0) SWIG_fail;
18618
18619fail:
18620 lua_error(L);
18621 return SWIG_arg;
18622}
18623
18624
18625static int _wrap_create_spinner(lua_State* L) {
18626 int SWIG_arg = 0;
18627 uiNode_t *arg1 = (uiNode_t *) 0 ;
18628 char *arg2 = (char *) 0 ;
18629 char *arg3 = (char *) 0 ;
18630 uiSpinnerNode_t *result = 0 ;
18631
18632 SWIG_check_num_args("UI_CreateSpinner",3,3)
18633 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateSpinner",1,"uiNode_t *");
18634 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateSpinner",2,"char const *");
18635 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateSpinner",3,"char const *");
18636
18637 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18638 SWIG_fail_ptr("create_spinner",1,SWIGTYPE_p_uiNode_t);
18639 }
18640
18641 arg2 = (char *)lua_tostring(L, 2);
18642 arg3 = (char *)lua_tostring(L, 3);
18643 result = (uiSpinnerNode_t *)UI_CreateSpinner(arg1,(char const *)arg2,(char const *)arg3);
18644 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiSpinnerNode_t,0); SWIG_arg++;
18645 return SWIG_arg;
18646
18647 if(0) SWIG_fail;
18648
18649fail:
18650 lua_error(L);
18651 return SWIG_arg;
18652}
18653
18654
18655static int _wrap_create_string(lua_State* L) {
18656 int SWIG_arg = 0;
18657 uiNode_t *arg1 = (uiNode_t *) 0 ;
18658 char *arg2 = (char *) 0 ;
18659 char *arg3 = (char *) 0 ;
18660 uiStringNode_t *result = 0 ;
18661
18662 SWIG_check_num_args("UI_CreateString",3,3)
18663 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateString",1,"uiNode_t *");
18664 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateString",2,"char const *");
18665 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateString",3,"char const *");
18666
18667 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18668 SWIG_fail_ptr("create_string",1,SWIGTYPE_p_uiNode_t);
18669 }
18670
18671 arg2 = (char *)lua_tostring(L, 2);
18672 arg3 = (char *)lua_tostring(L, 3);
18673 result = (uiStringNode_t *)UI_CreateString(arg1,(char const *)arg2,(char const *)arg3);
18674 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiStringNode_t,0); SWIG_arg++;
18675 return SWIG_arg;
18676
18677 if(0) SWIG_fail;
18678
18679fail:
18680 lua_error(L);
18681 return SWIG_arg;
18682}
18683
18684
18685static int _wrap_create_tab(lua_State* L) {
18686 int SWIG_arg = 0;
18687 uiNode_t *arg1 = (uiNode_t *) 0 ;
18688 char *arg2 = (char *) 0 ;
18689 char *arg3 = (char *) 0 ;
18690 uiTabNode_t *result = 0 ;
18691
18692 SWIG_check_num_args("UI_CreateTab",3,3)
18693 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTab",1,"uiNode_t *");
18694 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTab",2,"char const *");
18695 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTab",3,"char const *");
18696
18697 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18698 SWIG_fail_ptr("create_tab",1,SWIGTYPE_p_uiNode_t);
18699 }
18700
18701 arg2 = (char *)lua_tostring(L, 2);
18702 arg3 = (char *)lua_tostring(L, 3);
18703 result = (uiTabNode_t *)UI_CreateTab(arg1,(char const *)arg2,(char const *)arg3);
18704 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTabNode_t,0); SWIG_arg++;
18705 return SWIG_arg;
18706
18707 if(0) SWIG_fail;
18708
18709fail:
18710 lua_error(L);
18711 return SWIG_arg;
18712}
18713
18714
18715static int _wrap_create_tbar(lua_State* L) {
18716 int SWIG_arg = 0;
18717 uiNode_t *arg1 = (uiNode_t *) 0 ;
18718 char *arg2 = (char *) 0 ;
18719 char *arg3 = (char *) 0 ;
18720 uiTBarNode_t *result = 0 ;
18721
18722 SWIG_check_num_args("UI_CreateTBar",3,3)
18723 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTBar",1,"uiNode_t *");
18724 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTBar",2,"char const *");
18725 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTBar",3,"char const *");
18726
18727 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18728 SWIG_fail_ptr("create_tbar",1,SWIGTYPE_p_uiNode_t);
18729 }
18730
18731 arg2 = (char *)lua_tostring(L, 2);
18732 arg3 = (char *)lua_tostring(L, 3);
18733 result = (uiTBarNode_t *)UI_CreateTBar(arg1,(char const *)arg2,(char const *)arg3);
18734 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTBarNode_t,0); SWIG_arg++;
18735 return SWIG_arg;
18736
18737 if(0) SWIG_fail;
18738
18739fail:
18740 lua_error(L);
18741 return SWIG_arg;
18742}
18743
18744
18745static int _wrap_create_text(lua_State* L) {
18746 int SWIG_arg = 0;
18747 uiNode_t *arg1 = (uiNode_t *) 0 ;
18748 char *arg2 = (char *) 0 ;
18749 char *arg3 = (char *) 0 ;
18750 uiTextNode_t *result = 0 ;
18751
18752 SWIG_check_num_args("UI_CreateText",3,3)
18753 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText",1,"uiNode_t *");
18754 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText",2,"char const *");
18755 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText",3,"char const *");
18756
18757 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18758 SWIG_fail_ptr("create_text",1,SWIGTYPE_p_uiNode_t);
18759 }
18760
18761 arg2 = (char *)lua_tostring(L, 2);
18762 arg3 = (char *)lua_tostring(L, 3);
18763 result = (uiTextNode_t *)UI_CreateText(arg1,(char const *)arg2,(char const *)arg3);
18764 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextNode_t,0); SWIG_arg++;
18765 return SWIG_arg;
18766
18767 if(0) SWIG_fail;
18768
18769fail:
18770 lua_error(L);
18771 return SWIG_arg;
18772}
18773
18774
18775static int _wrap_create_text2(lua_State* L) {
18776 int SWIG_arg = 0;
18777 uiNode_t *arg1 = (uiNode_t *) 0 ;
18778 char *arg2 = (char *) 0 ;
18779 char *arg3 = (char *) 0 ;
18780 uiText2Node_t *result = 0 ;
18781
18782 SWIG_check_num_args("UI_CreateText2",3,3)
18783 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateText2",1,"uiNode_t *");
18784 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateText2",2,"char const *");
18785 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateText2",3,"char const *");
18786
18787 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18788 SWIG_fail_ptr("create_text2",1,SWIGTYPE_p_uiNode_t);
18789 }
18790
18791 arg2 = (char *)lua_tostring(L, 2);
18792 arg3 = (char *)lua_tostring(L, 3);
18793 result = (uiText2Node_t *)UI_CreateText2(arg1,(char const *)arg2,(char const *)arg3);
18794 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiText2Node_t,0); SWIG_arg++;
18795 return SWIG_arg;
18796
18797 if(0) SWIG_fail;
18798
18799fail:
18800 lua_error(L);
18801 return SWIG_arg;
18802}
18803
18804
18805static int _wrap_create_textentry(lua_State* L) {
18806 int SWIG_arg = 0;
18807 uiNode_t *arg1 = (uiNode_t *) 0 ;
18808 char *arg2 = (char *) 0 ;
18809 char *arg3 = (char *) 0 ;
18810 uiTextEntryNode_t *result = 0 ;
18811
18812 SWIG_check_num_args("UI_CreateTextEntry",3,3)
18813 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextEntry",1,"uiNode_t *");
18814 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextEntry",2,"char const *");
18815 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextEntry",3,"char const *");
18816
18817 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18818 SWIG_fail_ptr("create_textentry",1,SWIGTYPE_p_uiNode_t);
18819 }
18820
18821 arg2 = (char *)lua_tostring(L, 2);
18822 arg3 = (char *)lua_tostring(L, 3);
18823 result = (uiTextEntryNode_t *)UI_CreateTextEntry(arg1,(char const *)arg2,(char const *)arg3);
18824 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextEntryNode_t,0); SWIG_arg++;
18825 return SWIG_arg;
18826
18827 if(0) SWIG_fail;
18828
18829fail:
18830 lua_error(L);
18831 return SWIG_arg;
18832}
18833
18834
18835static int _wrap_create_textlist(lua_State* L) {
18836 int SWIG_arg = 0;
18837 uiNode_t *arg1 = (uiNode_t *) 0 ;
18838 char *arg2 = (char *) 0 ;
18839 char *arg3 = (char *) 0 ;
18840 uiTextListNode_t *result = 0 ;
18841
18842 SWIG_check_num_args("UI_CreateTextList",3,3)
18843 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTextList",1,"uiNode_t *");
18844 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTextList",2,"char const *");
18845 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTextList",3,"char const *");
18846
18847 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18848 SWIG_fail_ptr("create_textlist",1,SWIGTYPE_p_uiNode_t);
18849 }
18850
18851 arg2 = (char *)lua_tostring(L, 2);
18852 arg3 = (char *)lua_tostring(L, 3);
18853 result = (uiTextListNode_t *)UI_CreateTextList(arg1,(char const *)arg2,(char const *)arg3);
18854 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextListNode_t,0); SWIG_arg++;
18855 return SWIG_arg;
18856
18857 if(0) SWIG_fail;
18858
18859fail:
18860 lua_error(L);
18861 return SWIG_arg;
18862}
18863
18864
18865static int _wrap_create_texture(lua_State* L) {
18866 int SWIG_arg = 0;
18867 uiNode_t *arg1 = (uiNode_t *) 0 ;
18868 char *arg2 = (char *) 0 ;
18869 char *arg3 = (char *) 0 ;
18870 uiTextureNode_t *result = 0 ;
18871
18872 SWIG_check_num_args("UI_CreateTexture",3,3)
18873 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTexture",1,"uiNode_t *");
18874 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTexture",2,"char const *");
18875 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTexture",3,"char const *");
18876
18877 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18878 SWIG_fail_ptr("create_texture",1,SWIGTYPE_p_uiNode_t);
18879 }
18880
18881 arg2 = (char *)lua_tostring(L, 2);
18882 arg3 = (char *)lua_tostring(L, 3);
18883 result = (uiTextureNode_t *)UI_CreateTexture(arg1,(char const *)arg2,(char const *)arg3);
18884 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTextureNode_t,0); SWIG_arg++;
18885 return SWIG_arg;
18886
18887 if(0) SWIG_fail;
18888
18889fail:
18890 lua_error(L);
18891 return SWIG_arg;
18892}
18893
18894
18895static int _wrap_create_timer(lua_State* L) {
18896 int SWIG_arg = 0;
18897 uiNode_t *arg1 = (uiNode_t *) 0 ;
18898 char *arg2 = (char *) 0 ;
18899 char *arg3 = (char *) 0 ;
18900 uiTimerNode_t *result = 0 ;
18901
18902 SWIG_check_num_args("UI_CreateTimer",3,3)
18903 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateTimer",1,"uiNode_t *");
18904 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateTimer",2,"char const *");
18905 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateTimer",3,"char const *");
18906
18907 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18908 SWIG_fail_ptr("create_timer",1,SWIGTYPE_p_uiNode_t);
18909 }
18910
18911 arg2 = (char *)lua_tostring(L, 2);
18912 arg3 = (char *)lua_tostring(L, 3);
18913 result = (uiTimerNode_t *)UI_CreateTimer(arg1,(char const *)arg2,(char const *)arg3);
18914 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiTimerNode_t,0); SWIG_arg++;
18915 return SWIG_arg;
18916
18917 if(0) SWIG_fail;
18918
18919fail:
18920 lua_error(L);
18921 return SWIG_arg;
18922}
18923
18924
18925static int _wrap_create_video(lua_State* L) {
18926 int SWIG_arg = 0;
18927 uiNode_t *arg1 = (uiNode_t *) 0 ;
18928 char *arg2 = (char *) 0 ;
18929 char *arg3 = (char *) 0 ;
18930 uiVideoNode_t *result = 0 ;
18931
18932 SWIG_check_num_args("UI_CreateVideo",3,3)
18933 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVideo",1,"uiNode_t *");
18934 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVideo",2,"char const *");
18935 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVideo",3,"char const *");
18936
18937 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18938 SWIG_fail_ptr("create_video",1,SWIGTYPE_p_uiNode_t);
18939 }
18940
18941 arg2 = (char *)lua_tostring(L, 2);
18942 arg3 = (char *)lua_tostring(L, 3);
18943 result = (uiVideoNode_t *)UI_CreateVideo(arg1,(char const *)arg2,(char const *)arg3);
18944 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVideoNode_t,0); SWIG_arg++;
18945 return SWIG_arg;
18946
18947 if(0) SWIG_fail;
18948
18949fail:
18950 lua_error(L);
18951 return SWIG_arg;
18952}
18953
18954
18955static int _wrap_create_vscrollbar(lua_State* L) {
18956 int SWIG_arg = 0;
18957 uiNode_t *arg1 = (uiNode_t *) 0 ;
18958 char *arg2 = (char *) 0 ;
18959 char *arg3 = (char *) 0 ;
18960 uiVScrollBarNode_t *result = 0 ;
18961
18962 SWIG_check_num_args("UI_CreateVScrollbar",3,3)
18963 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateVScrollbar",1,"uiNode_t *");
18964 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateVScrollbar",2,"char const *");
18965 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateVScrollbar",3,"char const *");
18966
18967 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18968 SWIG_fail_ptr("create_vscrollbar",1,SWIGTYPE_p_uiNode_t);
18969 }
18970
18971 arg2 = (char *)lua_tostring(L, 2);
18972 arg3 = (char *)lua_tostring(L, 3);
18973 result = (uiVScrollBarNode_t *)UI_CreateVScrollbar(arg1,(char const *)arg2,(char const *)arg3);
18974 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiVScrollBarNode_t,0); SWIG_arg++;
18975 return SWIG_arg;
18976
18977 if(0) SWIG_fail;
18978
18979fail:
18980 lua_error(L);
18981 return SWIG_arg;
18982}
18983
18984
18985static int _wrap_create_widget(lua_State* L) {
18986 int SWIG_arg = 0;
18987 uiNode_t *arg1 = (uiNode_t *) 0 ;
18988 char *arg2 = (char *) 0 ;
18989 char *arg3 = (char *) 0 ;
18990 uiWidgetNode_t *result = 0 ;
18991
18992 SWIG_check_num_args("UI_CreateWidget",3,3)
18993 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateWidget",1,"uiNode_t *");
18994 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWidget",2,"char const *");
18995 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateWidget",3,"char const *");
18996
18997 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
18998 SWIG_fail_ptr("create_widget",1,SWIGTYPE_p_uiNode_t);
18999 }
19000
19001 arg2 = (char *)lua_tostring(L, 2);
19002 arg3 = (char *)lua_tostring(L, 3);
19003 result = (uiWidgetNode_t *)UI_CreateWidget(arg1,(char const *)arg2,(char const *)arg3);
19004 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWidgetNode_t,0); SWIG_arg++;
19005 return SWIG_arg;
19006
19007 if(0) SWIG_fail;
19008
19009fail:
19010 lua_error(L);
19011 return SWIG_arg;
19012}
19013
19014
19015static int _wrap_create_window(lua_State* L) {
19016 int SWIG_arg = 0;
19017 char *arg1 = (char *) 0 ;
19018 char *arg2 = (char *) 0 ;
19019 uiWindowNode_t *result = 0 ;
19020
19021 SWIG_check_num_args("UI_CreateWindow",2,2)
19022 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateWindow",1,"char const *");
19023 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateWindow",2,"char const *");
19024 arg1 = (char *)lua_tostring(L, 1);
19025 arg2 = (char *)lua_tostring(L, 2);
19026 result = (uiWindowNode_t *)UI_CreateWindow((char const *)arg1,(char const *)arg2);
19027 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiWindowNode_t,0); SWIG_arg++;
19028 return SWIG_arg;
19029
19030 if(0) SWIG_fail;
19031
19032fail:
19033 lua_error(L);
19034 return SWIG_arg;
19035}
19036
19037
19038static int _wrap_create_zone(lua_State* L) {
19039 int SWIG_arg = 0;
19040 uiNode_t *arg1 = (uiNode_t *) 0 ;
19041 char *arg2 = (char *) 0 ;
19042 char *arg3 = (char *) 0 ;
19043 uiZoneNode_t *result = 0 ;
19044
19045 SWIG_check_num_args("UI_CreateZone",3,3)
19046 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_CreateZone",1,"uiNode_t *");
19047 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateZone",2,"char const *");
19048 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateZone",3,"char const *");
19049
19050 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19051 SWIG_fail_ptr("create_zone",1,SWIGTYPE_p_uiNode_t);
19052 }
19053
19054 arg2 = (char *)lua_tostring(L, 2);
19055 arg3 = (char *)lua_tostring(L, 3);
19056 result = (uiZoneNode_t *)UI_CreateZone(arg1,(char const *)arg2,(char const *)arg3);
19057 SWIG_NewPointerObj(L,result,SWIGTYPE_p_uiZoneNode_t,0); SWIG_arg++;
19058 return SWIG_arg;
19059
19060 if(0) SWIG_fail;
19061
19062fail:
19063 lua_error(L);
19064 return SWIG_arg;
19065}
19066
19067
19068static int _wrap_create_component(lua_State* L) {
19069 int SWIG_arg = 0;
19070 char *arg1 = (char *) 0 ;
19071 char *arg2 = (char *) 0 ;
19072 char *arg3 = (char *) 0 ;
19073 uiNode_t *result = 0 ;
19074
19075 SWIG_check_num_args("UI_CreateComponent",3,3)
19076 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_CreateComponent",1,"char const *");
19077 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_CreateComponent",2,"char const *");
19078 if(!SWIG_lua_isnilstring(L,3)) SWIG_fail_arg("UI_CreateComponent",3,"char const *");
19079 arg1 = (char *)lua_tostring(L, 1);
19080 arg2 = (char *)lua_tostring(L, 2);
19081 arg3 = (char *)lua_tostring(L, 3);
19082 result = (uiNode_t *)UI_CreateComponent((char const *)arg1,(char const *)arg2,(char const *)arg3);
19083 {
19084 if (result) {
19086 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19087 } else {
19088 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19089 }
19090 }
19091 return SWIG_arg;
19092
19093 if(0) SWIG_fail;
19094
19095fail:
19096 lua_error(L);
19097 return SWIG_arg;
19098}
19099
19100
19101static int _wrap_pop_window(lua_State* L) {
19102 int SWIG_arg = 0;
19103 bool arg1 ;
19104
19105 SWIG_check_num_args("UI_PopWindow",1,1)
19106 if(!lua_isboolean(L,1)) SWIG_fail_arg("UI_PopWindow",1,"bool");
19107 arg1 = (lua_toboolean(L, 1)!=0);
19108 UI_PopWindow(arg1);
19109
19110 return SWIG_arg;
19111
19112 if(0) SWIG_fail;
19113
19114fail:
19115 lua_error(L);
19116 return SWIG_arg;
19117}
19118
19119
19120static int _wrap_push_window(lua_State* L) {
19121 int SWIG_arg = 0;
19122 char *arg1 = (char *) 0 ;
19123 char *arg2 = (char *) 0 ;
19124 linkedList_t *arg3 = (linkedList_t *) 0 ;
19125 uiNode_t *result = 0 ;
19126
19127 SWIG_check_num_args("UI_PushWindow",3,3)
19128 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_PushWindow",1,"char const *");
19129 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("UI_PushWindow",2,"char const *");
19130 if(!Com_LuaIsNilOrTable(L,3)) SWIG_fail_arg("UI_PushWindow",3,"linkedList_t *");
19131 arg1 = (char *)lua_tostring(L, 1);
19132 arg2 = (char *)lua_tostring(L, 2);
19133 {
19134 arg3 = Com_LuaTableToStringList(L, 3);
19135 }
19136 result = (uiNode_t *)UI_PushWindow((char const *)arg1,(char const *)arg2,arg3);
19137 {
19138 if (result) {
19140 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19141 } else {
19142 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19143 }
19144 }
19145 {
19146 LIST_Delete(&arg3);
19147 }
19148 return SWIG_arg;
19149
19150 if(0) SWIG_fail;
19151
19152fail:
19153 {
19154 LIST_Delete(&arg3);
19155 }
19156 lua_error(L);
19157 return SWIG_arg;
19158}
19159
19160
19161static int _wrap_get_window(lua_State* L) {
19162 int SWIG_arg = 0;
19163 char *arg1 = (char *) 0 ;
19164 uiNode_t *result = 0 ;
19165
19166 SWIG_check_num_args("UI_GetWindow",1,1)
19167 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("UI_GetWindow",1,"char const *");
19168 arg1 = (char *)lua_tostring(L, 1);
19169 result = (uiNode_t *)UI_GetWindow((char const *)arg1);
19170 {
19171 if (result) {
19173 SWIG_NewPointerObj(L, result, info, 0); SWIG_arg++;
19174 } else {
19175 SWIG_NewPointerObj(L, nullptr, nullptr, 0); SWIG_arg++;
19176 }
19177 }
19178 return SWIG_arg;
19179
19180 if(0) SWIG_fail;
19181
19182fail:
19183 lua_error(L);
19184 return SWIG_arg;
19185}
19186
19187
19188static int _wrap_delete_node(lua_State* L) {
19189 int SWIG_arg = 0;
19190 uiNode_t *arg1 = (uiNode_t *) 0 ;
19191
19192 SWIG_check_num_args("UI_DeleteNode",1,1)
19193 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_DeleteNode",1,"uiNode_t *");
19194
19195 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19196 SWIG_fail_ptr("delete_node",1,SWIGTYPE_p_uiNode_t);
19197 }
19198
19199 UI_DeleteNode(arg1);
19200
19201 return SWIG_arg;
19202
19203 if(0) SWIG_fail;
19204
19205fail:
19206 lua_error(L);
19207 return SWIG_arg;
19208}
19209
19210
19211static int _wrap_cmd(lua_State* L) {
19212 int SWIG_arg = 0;
19213 char *arg1 = (char *) 0 ;
19214
19215 SWIG_check_num_args("Cbuf_AddText",1,1)
19216 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Cbuf_AddText",1,"char const *");
19217 arg1 = (char *)lua_tostring(L, 1);
19218 Cbuf_AddText((char const *)arg1);
19219
19220 return SWIG_arg;
19221
19222 if(0) SWIG_fail;
19223
19224fail:
19225 lua_error(L);
19226 return SWIG_arg;
19227}
19228
19229
19230static int _wrap_print(lua_State* L) {
19231 int SWIG_arg = 0;
19232 char *arg1 = (char *) 0 ;
19233
19234 SWIG_check_num_args("Com_Printf",1,1)
19235 if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("Com_Printf",1,"char const *");
19236 arg1 = (char *)lua_tostring(L, 1);
19237 Com_Printf((char const *)arg1);
19238
19239 return SWIG_arg;
19240
19241 if(0) SWIG_fail;
19242
19243fail:
19244 lua_error(L);
19245 return SWIG_arg;
19246}
19247
19248
19249static int _wrap_dprint(lua_State* L) {
19250 int SWIG_arg = 0;
19251 int arg1 ;
19252 char *arg2 = (char *) 0 ;
19253
19254 SWIG_check_num_args("Com_DPrintf",2,2)
19255 if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_DPrintf",1,"int");
19256 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_DPrintf",2,"char const *");
19257 arg1 = (int)lua_tonumber(L, 1);
19258 arg2 = (char *)lua_tostring(L, 2);
19259 Com_DPrintf(arg1,(char const *)arg2);
19260
19261 return SWIG_arg;
19262
19263 if(0) SWIG_fail;
19264
19265fail:
19266 lua_error(L);
19267 return SWIG_arg;
19268}
19269
19270
19271static int _wrap_error(lua_State* L) {
19272 int SWIG_arg = 0;
19273 int arg1 ;
19274 char *arg2 = (char *) 0 ;
19275
19276 SWIG_check_num_args("Com_Error",2,2)
19277 if(!lua_isnumber(L,1)) SWIG_fail_arg("Com_Error",1,"int");
19278 if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("Com_Error",2,"char const *");
19279 arg1 = (int)lua_tonumber(L, 1);
19280 arg2 = (char *)lua_tostring(L, 2);
19281 Com_Error(arg1,(char const *)arg2);
19282
19283 return SWIG_arg;
19284
19285 if(0) SWIG_fail;
19286
19287fail:
19288 lua_error(L);
19289 return SWIG_arg;
19290}
19291
19292
19293static int _wrap_nodetree(lua_State* L) {
19294 int SWIG_arg = 0;
19295 uiNode_t *arg1 = (uiNode_t *) 0 ;
19296
19297 SWIG_check_num_args("UI_PrintNodeTree",1,1)
19298 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_PrintNodeTree",1,"uiNode_t *");
19299
19300 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19301 SWIG_fail_ptr("nodetree",1,SWIGTYPE_p_uiNode_t);
19302 }
19303
19304 UI_PrintNodeTree(arg1);
19305
19306 return SWIG_arg;
19307
19308 if(0) SWIG_fail;
19309
19310fail:
19311 lua_error(L);
19312 return SWIG_arg;
19313}
19314
19315
19316static int _wrap_nodepath(lua_State* L) {
19317 int SWIG_arg = 0;
19318 uiNode_t *arg1 = (uiNode_t *) 0 ;
19319 char *result = 0 ;
19320
19321 SWIG_check_num_args("UI_GetPath",1,1)
19322 if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("UI_GetPath",1,"uiNode_t const *");
19323
19324 if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_uiNode_t,0))){
19325 SWIG_fail_ptr("nodepath",1,SWIGTYPE_p_uiNode_t);
19326 }
19327
19328 result = (char *)UI_GetPath((uiNode_t const *)arg1);
19329 lua_pushstring(L,(const char *)result); SWIG_arg++;
19330 return SWIG_arg;
19331
19332 if(0) SWIG_fail;
19333
19334fail:
19335 lua_error(L);
19336 return SWIG_arg;
19337}
19338
19339
19340static int _wrap_register_onload(lua_State* L) {
19341 int SWIG_arg = 0;
19342 LUA_FUNCTION arg1 ;
19343
19344 SWIG_check_num_args("UI_RegisterHandler_OnLoad",1,1)
19345 {
19346 arg1 = (LUA_FUNCTION)luaL_ref (L, LUA_REGISTRYINDEX);
19347 }
19349
19350 return SWIG_arg;
19351
19352 if(0) SWIG_fail;
19353
19354fail:
19355 lua_error(L);
19356 return SWIG_arg;
19357}
19358
19359
19361 {0,0,0}
19362};
19364 {SWIG_LUA_CONSTTAB_INT("TEXT_NULL", TEXT_NULL)},
19365 {SWIG_LUA_CONSTTAB_INT("TEXT_STANDARD", TEXT_STANDARD)},
19366 {SWIG_LUA_CONSTTAB_INT("TEXT_LIST", TEXT_LIST)},
19367 {SWIG_LUA_CONSTTAB_INT("TEXT_LIST2", TEXT_LIST2)},
19368 {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA", TEXT_UFOPEDIA)},
19369 {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_REQUIREMENT", TEXT_UFOPEDIA_REQUIREMENT)},
19370 {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDINGS", TEXT_BUILDINGS)},
19371 {SWIG_LUA_CONSTTAB_INT("TEXT_BUILDING_INFO", TEXT_BUILDING_INFO)},
19372 {SWIG_LUA_CONSTTAB_INT("TEXT_RESEARCH", TEXT_RESEARCH)},
19373 {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP", TEXT_POPUP)},
19374 {SWIG_LUA_CONSTTAB_INT("TEXT_POPUP_INFO", TEXT_POPUP_INFO)},
19375 {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_LIST", TEXT_AIRCRAFT_LIST)},
19376 {SWIG_LUA_CONSTTAB_INT("TEXT_AIRCRAFT_INFO", TEXT_AIRCRAFT_INFO)},
19377 {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_LIST", TEXT_PRODUCTION_LIST)},
19378 {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_AMOUNT", TEXT_PRODUCTION_AMOUNT)},
19379 {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_INFO", TEXT_PRODUCTION_INFO)},
19380 {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_RIGHT", TEXT_MOUSECURSOR_RIGHT)},
19381 {SWIG_LUA_CONSTTAB_INT("TEXT_PRODUCTION_QUEUED", TEXT_PRODUCTION_QUEUED)},
19382 {SWIG_LUA_CONSTTAB_INT("TEXT_BASE_LIST", TEXT_BASE_LIST)},
19383 {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_PLAYERNAMES", TEXT_MOUSECURSOR_PLAYERNAMES)},
19384 {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAILHEADER", TEXT_UFOPEDIA_MAILHEADER)},
19385 {SWIG_LUA_CONSTTAB_INT("TEXT_UFOPEDIA_MAIL", TEXT_UFOPEDIA_MAIL)},
19386 {SWIG_LUA_CONSTTAB_INT("TEXT_CHAT_WINDOW", TEXT_CHAT_WINDOW)},
19387 {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_1", TEXT_AIREQUIP_1)},
19388 {SWIG_LUA_CONSTTAB_INT("TEXT_AIREQUIP_2", TEXT_AIREQUIP_2)},
19389 {SWIG_LUA_CONSTTAB_INT("TEXT_BASEDEFENCE_LIST", TEXT_BASEDEFENCE_LIST)},
19390 {SWIG_LUA_CONSTTAB_INT("TEXT_TIPOFTHEDAY", TEXT_TIPOFTHEDAY)},
19391 {SWIG_LUA_CONSTTAB_INT("TEXT_GENERIC", TEXT_GENERIC)},
19392 {SWIG_LUA_CONSTTAB_INT("TEXT_XVI", TEXT_XVI)},
19393 {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_TOP", TEXT_MOUSECURSOR_TOP)},
19394 {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_BOTTOM", TEXT_MOUSECURSOR_BOTTOM)},
19395 {SWIG_LUA_CONSTTAB_INT("TEXT_MOUSECURSOR_LEFT", TEXT_MOUSECURSOR_LEFT)},
19396 {SWIG_LUA_CONSTTAB_INT("TEXT_MESSAGEOPTIONS", TEXT_MESSAGEOPTIONS)},
19397 {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_NATIONS", TEXT_UFORECOVERY_NATIONS)},
19398 {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_UFOYARDS", TEXT_UFORECOVERY_UFOYARDS)},
19399 {SWIG_LUA_CONSTTAB_INT("TEXT_UFORECOVERY_CAPACITIES", TEXT_UFORECOVERY_CAPACITIES)},
19400 {SWIG_LUA_CONSTTAB_INT("TEXT_MATERIAL_STAGES", TEXT_MATERIAL_STAGES)},
19401 {SWIG_LUA_CONSTTAB_INT("TEXT_IRCCONTENT", TEXT_IRCCONTENT)},
19402 {SWIG_LUA_CONSTTAB_INT("TEXT_IRCUSERS", TEXT_IRCUSERS)},
19403 {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERLIST", TEXT_MULTIPLAYER_USERLIST)},
19404 {SWIG_LUA_CONSTTAB_INT("TEXT_MULTIPLAYER_USERTEAM", TEXT_MULTIPLAYER_USERTEAM)},
19405 {SWIG_LUA_CONSTTAB_INT("TEXT_ITEMDESCRIPTION", TEXT_ITEMDESCRIPTION)},
19406 {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING", TEXT_MISSIONBRIEFING)},
19407 {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_TITLE", TEXT_MISSIONBRIEFING_TITLE)},
19408 {SWIG_LUA_CONSTTAB_INT("TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS", TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS)},
19409 {SWIG_LUA_CONSTTAB_INT("OPTION_LANGUAGES", OPTION_LANGUAGES)},
19410 {SWIG_LUA_CONSTTAB_INT("OPTION_JOYSTICKS", OPTION_JOYSTICKS)},
19411 {SWIG_LUA_CONSTTAB_INT("OPTION_VIDEO_RESOLUTIONS", OPTION_VIDEO_RESOLUTIONS)},
19412 {SWIG_LUA_CONSTTAB_INT("OPTION_SINGLEPLAYER_SKINS", OPTION_SINGLEPLAYER_SKINS)},
19413 {SWIG_LUA_CONSTTAB_INT("OPTION_MULTIPLAYER_SKINS", OPTION_MULTIPLAYER_SKINS)},
19414 {SWIG_LUA_CONSTTAB_INT("OPTION_UFOPEDIA", OPTION_UFOPEDIA)},
19415 {SWIG_LUA_CONSTTAB_INT("OPTION_UFOS", OPTION_UFOS)},
19416 {SWIG_LUA_CONSTTAB_INT("OPTION_DROPSHIPS", OPTION_DROPSHIPS)},
19417 {SWIG_LUA_CONSTTAB_INT("OPTION_BASELIST", OPTION_BASELIST)},
19418 {SWIG_LUA_CONSTTAB_INT("OPTION_TEAMDEFS", OPTION_TEAMDEFS)},
19419 {SWIG_LUA_CONSTTAB_INT("OPTION_PRODUCTION_REQUIREMENTS", OPTION_PRODUCTION_REQUIREMENTS)},
19420 {SWIG_LUA_CONSTTAB_INT("UI_MAX_DATAID", UI_MAX_DATAID)},
19421 {SWIG_LUA_CONSTTAB_INT("LONGLINES_WRAP", LONGLINES_WRAP)},
19422 {SWIG_LUA_CONSTTAB_INT("LONGLINES_CHOP", LONGLINES_CHOP)},
19423 {SWIG_LUA_CONSTTAB_INT("LONGLINES_PRETTYCHOP", LONGLINES_PRETTYCHOP)},
19424 {SWIG_LUA_CONSTTAB_INT("LONGLINES_LAST", LONGLINES_LAST)},
19425 {SWIG_LUA_CONSTTAB_INT("ALIGN_UL", ALIGN_UL)},
19426 {SWIG_LUA_CONSTTAB_INT("ALIGN_UC", ALIGN_UC)},
19427 {SWIG_LUA_CONSTTAB_INT("ALIGN_UR", ALIGN_UR)},
19428 {SWIG_LUA_CONSTTAB_INT("ALIGN_CL", ALIGN_CL)},
19429 {SWIG_LUA_CONSTTAB_INT("ALIGN_CC", ALIGN_CC)},
19430 {SWIG_LUA_CONSTTAB_INT("ALIGN_CR", ALIGN_CR)},
19431 {SWIG_LUA_CONSTTAB_INT("ALIGN_LL", ALIGN_LL)},
19432 {SWIG_LUA_CONSTTAB_INT("ALIGN_LC", ALIGN_LC)},
19433 {SWIG_LUA_CONSTTAB_INT("ALIGN_LR", ALIGN_LR)},
19434 {SWIG_LUA_CONSTTAB_INT("ALIGN_UL_RSL", ALIGN_UL_RSL)},
19435 {SWIG_LUA_CONSTTAB_INT("ALIGN_UC_RSL", ALIGN_UC_RSL)},
19436 {SWIG_LUA_CONSTTAB_INT("ALIGN_UR_RSL", ALIGN_UR_RSL)},
19437 {SWIG_LUA_CONSTTAB_INT("ALIGN_CL_RSL", ALIGN_CL_RSL)},
19438 {SWIG_LUA_CONSTTAB_INT("ALIGN_CC_RSL", ALIGN_CC_RSL)},
19439 {SWIG_LUA_CONSTTAB_INT("ALIGN_CR_RSL", ALIGN_CR_RSL)},
19440 {SWIG_LUA_CONSTTAB_INT("ALIGN_LL_RSL", ALIGN_LL_RSL)},
19441 {SWIG_LUA_CONSTTAB_INT("ALIGN_LC_RSL", ALIGN_LC_RSL)},
19442 {SWIG_LUA_CONSTTAB_INT("ALIGN_LR_RSL", ALIGN_LR_RSL)},
19443 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_NONE", LAYOUTALIGN_NONE)},
19444 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MASK", LAYOUTALIGN_H_MASK)},
19445 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_LEFT", LAYOUTALIGN_H_LEFT)},
19446 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_MIDDLE", LAYOUTALIGN_H_MIDDLE)},
19447 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_H_RIGHT", LAYOUTALIGN_H_RIGHT)},
19448 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MASK", LAYOUTALIGN_V_MASK)},
19449 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_TOP", LAYOUTALIGN_V_TOP)},
19450 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_MIDDLE", LAYOUTALIGN_V_MIDDLE)},
19451 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_V_BOTTOM", LAYOUTALIGN_V_BOTTOM)},
19452 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPLEFT", LAYOUTALIGN_TOPLEFT)},
19453 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOP", LAYOUTALIGN_TOP)},
19454 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_TOPRIGHT", LAYOUTALIGN_TOPRIGHT)},
19455 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_LEFT", LAYOUTALIGN_LEFT)},
19456 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MIDDLE", LAYOUTALIGN_MIDDLE)},
19457 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_RIGHT", LAYOUTALIGN_RIGHT)},
19458 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMLEFT", LAYOUTALIGN_BOTTOMLEFT)},
19459 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOM", LAYOUTALIGN_BOTTOM)},
19460 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_BOTTOMRIGHT", LAYOUTALIGN_BOTTOMRIGHT)},
19461 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_SPECIAL", LAYOUTALIGN_SPECIAL)},
19462 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_FILL", LAYOUTALIGN_FILL)},
19463 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_MAX", LAYOUTALIGN_MAX)},
19464 {SWIG_LUA_CONSTTAB_INT("LAYOUTALIGN_ENSURE_32BIT", LAYOUTALIGN_ENSURE_32BIT)},
19465 {SWIG_LUA_CONSTTAB_INT("LAYOUT_NONE", LAYOUT_NONE)},
19466 {SWIG_LUA_CONSTTAB_INT("LAYOUT_TOP_DOWN_FLOW", LAYOUT_TOP_DOWN_FLOW)},
19467 {SWIG_LUA_CONSTTAB_INT("LAYOUT_LEFT_RIGHT_FLOW", LAYOUT_LEFT_RIGHT_FLOW)},
19468 {SWIG_LUA_CONSTTAB_INT("LAYOUT_BORDER", LAYOUT_BORDER)},
19469 {SWIG_LUA_CONSTTAB_INT("LAYOUT_PACK", LAYOUT_PACK)},
19470 {SWIG_LUA_CONSTTAB_INT("LAYOUT_STAR", LAYOUT_STAR)},
19471 {SWIG_LUA_CONSTTAB_INT("LAYOUT_CLIENT", LAYOUT_CLIENT)},
19472 {SWIG_LUA_CONSTTAB_INT("LAYOUT_COLUMN", LAYOUT_COLUMN)},
19473 {SWIG_LUA_CONSTTAB_INT("LAYOUT_MAX", LAYOUT_MAX)},
19474 {SWIG_LUA_CONSTTAB_INT("LAYOUT_ENSURE_32BIT", LAYOUT_ENSURE_32BIT)},
19475 {SWIG_LUA_CONSTTAB_INT("SPINNER_NORMAL", SPINNER_NORMAL)},
19476 {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_INCREASE", SPINNER_ONLY_INCREASE)},
19477 {SWIG_LUA_CONSTTAB_INT("SPINNER_ONLY_DECREASE", SPINNER_ONLY_DECREASE)},
19478 {SWIG_LUA_CONSTTAB_INT("FILTER_S_PRIMARY", FILTER_S_PRIMARY)},
19479 {SWIG_LUA_CONSTTAB_INT("FILTER_S_SECONDARY", FILTER_S_SECONDARY)},
19480 {SWIG_LUA_CONSTTAB_INT("FILTER_S_HEAVY", FILTER_S_HEAVY)},
19481 {SWIG_LUA_CONSTTAB_INT("FILTER_S_MISC", FILTER_S_MISC)},
19482 {SWIG_LUA_CONSTTAB_INT("FILTER_S_ARMOUR", FILTER_S_ARMOUR)},
19483 {SWIG_LUA_CONSTTAB_INT("FILTER_S_IMPLANT", FILTER_S_IMPLANT)},
19484 {SWIG_LUA_CONSTTAB_INT("MAX_SOLDIER_FILTERTYPES", MAX_SOLDIER_FILTERTYPES)},
19485 {SWIG_LUA_CONSTTAB_INT("FILTER_CRAFTITEM", FILTER_CRAFTITEM)},
19486 {SWIG_LUA_CONSTTAB_INT("FILTER_UGVITEM", FILTER_UGVITEM)},
19487 {SWIG_LUA_CONSTTAB_INT("FILTER_AIRCRAFT", FILTER_AIRCRAFT)},
19488 {SWIG_LUA_CONSTTAB_INT("FILTER_DUMMY", FILTER_DUMMY)},
19489 {SWIG_LUA_CONSTTAB_INT("FILTER_DISASSEMBLY", FILTER_DISASSEMBLY)},
19490 {SWIG_LUA_CONSTTAB_INT("MAX_FILTERTYPES", MAX_FILTERTYPES)},
19491 {SWIG_LUA_CONSTTAB_INT("FILTER_ENSURE_32BIT", FILTER_ENSURE_32BIT)},
19492 {0,0,0,0,0,0}
19493};
19495 { "findvar", _wrap_findvar},
19496 { "getvar", _wrap_getvar},
19497 { "delvar", _wrap_delvar},
19498 { "create_control", _wrap_create_control},
19499 { "UI_CreateBar", _wrap_UI_CreateBar},
19500 { "UI_CreateBaseLayout", _wrap_UI_CreateBaseLayout},
19501 { "UI_CreateBaseInventory", _wrap_UI_CreateBaseInventory},
19502 { "UI_CreateButton", _wrap_UI_CreateButton},
19503 { "UI_CreateCheckBox", _wrap_UI_CreateCheckBox},
19504 { "UI_CreateConFunc", _wrap_UI_CreateConFunc},
19505 { "UI_CreateContainer", _wrap_UI_CreateContainer},
19506 { "UI_CreateData", _wrap_UI_CreateData},
19507 { "UI_CreateGeoscape", _wrap_UI_CreateGeoscape},
19508 { "UI_CreateImage", _wrap_UI_CreateImage},
19509 { "UI_CreateItem", _wrap_UI_CreateItem},
19510 { "UI_CreateLineChart", _wrap_UI_CreateLineChart},
19511 { "UI_CreateMessageList", _wrap_UI_CreateMessageList},
19512 { "UI_CreateModel", _wrap_UI_CreateModel},
19513 { "UI_CreateOption", _wrap_UI_CreateOption},
19514 { "UI_CreateOptionList", _wrap_UI_CreateOptionList},
19515 { "UI_CreateOptionTree", _wrap_UI_CreateOptionTree},
19516 { "UI_CreatePanel", _wrap_UI_CreatePanel},
19517 { "UI_CreateRadar", _wrap_UI_CreateRadar},
19518 { "UI_CreateRadioButton", _wrap_UI_CreateRadioButton},
19519 { "UI_CreateRows", _wrap_UI_CreateRows},
19520 { "UI_CreateSelectBox", _wrap_UI_CreateSelectBox},
19521 { "UI_CreateSequence", _wrap_UI_CreateSequence},
19522 { "UI_CreateSpinner", _wrap_UI_CreateSpinner},
19523 { "UI_CreateString", _wrap_UI_CreateString},
19524 { "UI_CreateTab", _wrap_UI_CreateTab},
19525 { "UI_CreateTBar", _wrap_UI_CreateTBar},
19526 { "UI_CreateText", _wrap_UI_CreateText},
19527 { "UI_CreateText2", _wrap_UI_CreateText2},
19528 { "UI_CreateTextEntry", _wrap_UI_CreateTextEntry},
19529 { "UI_CreateTextList", _wrap_UI_CreateTextList},
19530 { "UI_CreateTexture", _wrap_UI_CreateTexture},
19531 { "UI_CreateTimer", _wrap_UI_CreateTimer},
19532 { "UI_CreateVideo", _wrap_UI_CreateVideo},
19533 { "UI_CreateVScrollbar", _wrap_UI_CreateVScrollbar},
19534 { "UI_CreateWidget", _wrap_UI_CreateWidget},
19535 { "UI_CreateWindow", _wrap_UI_CreateWindow},
19536 { "UI_CreateZone", _wrap_UI_CreateZone},
19537 { "create_bar", _wrap_create_bar},
19538 { "create_button", _wrap_create_button},
19539 { "create_baselayout", _wrap_create_baselayout},
19540 { "create_baseinventory", _wrap_create_baseinventory},
19541 { "create_checkbox", _wrap_create_checkbox},
19542 { "create_confunc", _wrap_create_confunc},
19543 { "create_container", _wrap_create_container},
19544 { "create_data", _wrap_create_data},
19545 { "create_geoscape", _wrap_create_geoscape},
19546 { "create_image", _wrap_create_image},
19547 { "create_item", _wrap_create_item},
19548 { "create_linechart", _wrap_create_linechart},
19549 { "create_messagelist", _wrap_create_messagelist},
19550 { "create_model", _wrap_create_model},
19551 { "create_option", _wrap_create_option},
19552 { "create_optionlist", _wrap_create_optionlist},
19553 { "create_optiontree", _wrap_create_optiontree},
19554 { "create_panel", _wrap_create_panel},
19555 { "create_radar", _wrap_create_radar},
19556 { "create_radiobutton", _wrap_create_radiobutton},
19557 { "create_rows", _wrap_create_rows},
19558 { "create_selectbox", _wrap_create_selectbox},
19559 { "create_sequence", _wrap_create_sequence},
19560 { "create_spinner", _wrap_create_spinner},
19561 { "create_string", _wrap_create_string},
19562 { "create_tab", _wrap_create_tab},
19563 { "create_tbar", _wrap_create_tbar},
19564 { "create_text", _wrap_create_text},
19565 { "create_text2", _wrap_create_text2},
19566 { "create_textentry", _wrap_create_textentry},
19567 { "create_textlist", _wrap_create_textlist},
19568 { "create_texture", _wrap_create_texture},
19569 { "create_timer", _wrap_create_timer},
19570 { "create_video", _wrap_create_video},
19571 { "create_vscrollbar", _wrap_create_vscrollbar},
19572 { "create_widget", _wrap_create_widget},
19573 { "create_window", _wrap_create_window},
19574 { "create_zone", _wrap_create_zone},
19575 { "create_component", _wrap_create_component},
19576 { "pop_window", _wrap_pop_window},
19577 { "push_window", _wrap_push_window},
19578 { "get_window", _wrap_get_window},
19579 { "delete_node", _wrap_delete_node},
19580 { "cmd", _wrap_cmd},
19581 { "print", _wrap_print},
19582 { "dprint", _wrap_dprint},
19583 { "error", _wrap_error},
19584 { "nodetree", _wrap_nodetree},
19585 { "nodepath", _wrap_nodepath},
19586 { "register_onload", _wrap_register_onload},
19587 {0,0}
19588};
19638 0
19639};
19640
19649#ifdef __cplusplus
19650}
19651#endif
19652
19653/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
19654
19656 return (void *)((uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19657}
19658static void *_p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19659 return (void *)((uiModelNode_t *) ((uiItemNode_t *) x));
19660}
19662 return (void *)((uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19663}
19665 return (void *)((uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19666}
19667static void *_p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19668 return (void *)((uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19669}
19671 return (void *)((uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19672}
19673static void *_p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19674 return (void *)((uiTextNode_t *) ((uiText2Node_t *) x));
19675}
19676static void *_p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19677 return (void *)((uiTextNode_t *) ((uiTextListNode_t *) x));
19678}
19680 return (void *)((uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19681}
19682static void *_p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19683 return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiText2Node_t *) x));
19684}
19685static void *_p_uiTextNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19686 return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19687}
19688static void *_p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19689 return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19690}
19691static void *_p_uiTabNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19692 return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiTabNode_t *) x));
19693}
19694static void *_p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19695 return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19696}
19697static void *_p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19698 return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiSelectBoxNode_t *) x));
19699}
19700static void *_p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19701 return (void *)((uiNode_t *) ((uiRadioButtonNode_t *) x));
19702}
19703static void *_p_uiRadarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19704 return (void *)((uiNode_t *) ((uiRadarNode_t *) x));
19705}
19706static void *_p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19707 return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19708}
19709static void *_p_uiOptionListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19710 return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionListNode_t *) x));
19711}
19712static void *_p_uiOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19713 return (void *)((uiNode_t *) ((uiOptionNode_t *) x));
19714}
19715static void *_p_uiModelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19716 return (void *)((uiNode_t *) ((uiModelNode_t *) x));
19717}
19718static void *_p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19719 return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19720}
19721static void *_p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19722 return (void *)((uiNode_t *) ((uiLineChartNode_t *) x));
19723}
19724static void *_p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19725 return (void *)((uiNode_t *) ((uiAbstractOptionNode_t *) x));
19726}
19727static void *_p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19728 return (void *)((uiNode_t *) ((uiAbstractScrollbarNode_t *) x));
19729}
19730static void *_p_uiBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19731 return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19732}
19733static void *_p_uiBaseLayoutNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19734 return (void *)((uiNode_t *) ((uiBaseLayoutNode_t *) x));
19735}
19736static void *_p_uiButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19737 return (void *)((uiNode_t *) ((uiButtonNode_t *) x));
19738}
19739static void *_p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19740 return (void *)((uiNode_t *) (uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19741}
19742static void *_p_uiContainerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19743 return (void *)((uiNode_t *) ((uiContainerNode_t *) x));
19744}
19745static void *_p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19746 return (void *)((uiNode_t *) (uiAbstractScrollableNode_t *)(uiTextNode_t *) ((uiTextListNode_t *) x));
19747}
19748static void *_p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19749 return (void *)((uiNode_t *) ((uiTimerNode_t *) x));
19750}
19751static void *_p_uiVScrollBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19752 return (void *)((uiNode_t *) (uiAbstractScrollbarNode_t *) ((uiVScrollBarNode_t *) x));
19753}
19754static void *_p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19755 return (void *)((uiNode_t *) (uiImageNode_t *) ((uiWidgetNode_t *) x));
19756}
19757static void *_p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19758 return (void *)((uiNode_t *) ((uiTextEntryNode_t *) x));
19759}
19760static void *_p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19761 return (void *)((uiNode_t *) ((uiStringNode_t *) x));
19762}
19763static void *_p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19764 return (void *)((uiNode_t *) ((uiSequenceNode_t *) x));
19765}
19766static void *_p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19767 return (void *)((uiNode_t *) ((uiRowsNode_t *) x));
19768}
19769static void *_p_uiOptionTreeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19770 return (void *)((uiNode_t *) (uiAbstractOptionNode_t *) ((uiOptionTreeNode_t *) x));
19771}
19772static void *_p_uiItemNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19773 return (void *)((uiNode_t *) (uiModelNode_t *) ((uiItemNode_t *) x));
19774}
19775static void *_p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19776 return (void *)((uiNode_t *) ((uiAbstractScrollableNode_t *) x));
19777}
19778static void *_p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19779 return (void *)((uiNode_t *) ((uiAbstractValueNode_t *) x));
19780}
19781static void *_p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19782 return (void *)((uiNode_t *) ((uiConFuncNode_t *) x));
19783}
19784static void *_p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19785 return (void *)((uiNode_t *) (uiContainerNode_t *) ((uiBaseInventoryNode_t *) x));
19786}
19787static void *_p_uiDataNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19788 return (void *)((uiNode_t *) ((uiDataNode_t *) x));
19789}
19790static void *_p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19791 return (void *)((uiNode_t *) ((uiGeoscapeNode_t *) x));
19792}
19793static void *_p_uiImageNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19794 return (void *)((uiNode_t *) ((uiImageNode_t *) x));
19795}
19796static void *_p_uiTextureNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19797 return (void *)((uiNode_t *) ((uiTextureNode_t *) x));
19798}
19799static void *_p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19800 return (void *)((uiNode_t *) ((uiVideoNode_t *) x));
19801}
19802static void *_p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19803 return (void *)((uiNode_t *) ((uiWindowNode_t *) x));
19804}
19805static void *_p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19806 return (void *)((uiNode_t *) ((uiZoneNode_t *) x));
19807}
19808static void *_p_uiBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19809 return (void *)((uiAbstractValueNode_t *) ((uiBarNode_t *) x));
19810}
19812 return (void *)((uiAbstractValueNode_t *) ((uiCheckBoxNode_t *) x));
19813}
19814static void *_p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19815 return (void *)((uiAbstractValueNode_t *) ((uiSpinnerNode_t *) x));
19816}
19817static void *_p_uiTBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19818 return (void *)((uiAbstractValueNode_t *) ((uiTBarNode_t *) x));
19819}
19821 return (void *)((uiAbstractScrollableNode_t *) ((uiMessageListNode_t *) x));
19822}
19824 return (void *)((uiAbstractScrollableNode_t *) ((uiPanelNode_t *) x));
19825}
19827 return (void *)((uiAbstractScrollableNode_t *) ((uiTextNode_t *) x));
19828}
19830 return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiText2Node_t *) x));
19831}
19833 return (void *)((uiAbstractScrollableNode_t *) (uiTextNode_t *) ((uiTextListNode_t *) x));
19834}
19835static void *_p_uiWidgetNode_tTo_p_uiImageNode_t(void *x, int *SWIGUNUSEDPARM(newmemory)) {
19836 return (void *)((uiImageNode_t *) ((uiWidgetNode_t *) x));
19837}
19838static swig_type_info _swigt__p_LUA_EVENT = {"_p_LUA_EVENT", "LUA_EVENT *", 0, 0, (void*)0, 0};
19839static swig_type_info _swigt__p_LUA_FUNCTION = {"_p_LUA_FUNCTION", "LUA_FUNCTION *", 0, 0, (void*)0, 0};
19840static swig_type_info _swigt__p_LUA_METHOD = {"_p_LUA_METHOD", "LUA_METHOD *", 0, 0, (void*)0, 0};
19841static swig_type_info _swigt__p_align_t = {"_p_align_t", "enum align_t *|align_t *", 0, 0, (void*)0, 0};
19842static swig_type_info _swigt__p_cvar_t = {"_p_cvar_t", "cvar_t *", 0, 0, (void*)&_wrap_class_cvar, 0};
19843static swig_type_info _swigt__p_invDef_t = {"_p_invDef_t", "invDef_t *", 0, 0, (void*)&_wrap_class_invDef, 0};
19844static swig_type_info _swigt__p_itemFilterTypes_t = {"_p_itemFilterTypes_t", "enum itemFilterTypes_t *|itemFilterTypes_t *", 0, 0, (void*)0, 0};
19845static swig_type_info _swigt__p_layoutAlign_t = {"_p_layoutAlign_t", "enum layoutAlign_t *|layoutAlign_t *", 0, 0, (void*)0, 0};
19846static swig_type_info _swigt__p_linkedList_t = {"_p_linkedList_t", "linkedList_t *", 0, 0, (void*)0, 0};
19847static swig_type_info _swigt__p_longlines_t = {"_p_longlines_t", "enum longlines_t *|longlines_t *", 0, 0, (void*)0, 0};
19848static swig_type_info _swigt__p_panelLayout_t = {"_p_panelLayout_t", "enum panelLayout_t *|panelLayout_t *", 0, 0, (void*)0, 0};
19849static swig_type_info _swigt__p_uiAbstractOptionNode_t = {"_p_uiAbstractOptionNode_t", "uiAbstractOptionNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractOptionNode, 0};
19850static swig_type_info _swigt__p_uiAbstractScrollableNode_t = {"_p_uiAbstractScrollableNode_t", "uiAbstractScrollableNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollableNode, 0};
19851static swig_type_info _swigt__p_uiAbstractScrollbarNode_t = {"_p_uiAbstractScrollbarNode_t", "uiAbstractScrollbarNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractScrollbarNode, 0};
19852static swig_type_info _swigt__p_uiAbstractValueNode_t = {"_p_uiAbstractValueNode_t", "uiAbstractValueNode_t *", 0, 0, (void*)&_wrap_class_uiAbstractValueNode, 0};
19853static swig_type_info _swigt__p_uiBarNode_t = {"_p_uiBarNode_t", "uiBarNode_t *", 0, 0, (void*)&_wrap_class_uiBar, 0};
19854static swig_type_info _swigt__p_uiBaseInventoryNode_t = {"_p_uiBaseInventoryNode_t", "uiBaseInventoryNode_t *", 0, 0, (void*)&_wrap_class_uiBaseInventory, 0};
19855static swig_type_info _swigt__p_uiBaseLayoutNode_t = {"_p_uiBaseLayoutNode_t", "uiBaseLayoutNode_t *", 0, 0, (void*)&_wrap_class_uiBaseLayout, 0};
19856static swig_type_info _swigt__p_uiButtonNode_t = {"_p_uiButtonNode_t", "uiButtonNode_t *", 0, 0, (void*)&_wrap_class_uiButton, 0};
19857static swig_type_info _swigt__p_uiCheckBoxNode_t = {"_p_uiCheckBoxNode_t", "uiCheckBoxNode_t *", 0, 0, (void*)&_wrap_class_uiCheckBox, 0};
19858static swig_type_info _swigt__p_uiConFuncNode_t = {"_p_uiConFuncNode_t", "uiConFuncNode_t *", 0, 0, (void*)&_wrap_class_uiConFunc, 0};
19859static swig_type_info _swigt__p_uiContainerNode_t = {"_p_uiContainerNode_t", "uiContainerNode_t *", 0, 0, (void*)&_wrap_class_uiContainer, 0};
19860static swig_type_info _swigt__p_uiDataNode_t = {"_p_uiDataNode_t", "uiDataNode_t *", 0, 0, (void*)&_wrap_class_uiData, 0};
19861static swig_type_info _swigt__p_uiGeoscapeNode_t = {"_p_uiGeoscapeNode_t", "uiGeoscapeNode_t *", 0, 0, (void*)&_wrap_class_uiGeoscape, 0};
19862static swig_type_info _swigt__p_uiImageNode_t = {"_p_uiImageNode_t", "uiImageNode_t *", 0, 0, (void*)&_wrap_class_uiImage, 0};
19863static swig_type_info _swigt__p_uiItemNode_t = {"_p_uiItemNode_t", "uiItemNode_t *", 0, 0, (void*)&_wrap_class_uiItem, 0};
19864static swig_type_info _swigt__p_uiLineChartNode_t = {"_p_uiLineChartNode_t", "uiLineChartNode_t *", 0, 0, (void*)&_wrap_class_uiLineChart, 0};
19865static swig_type_info _swigt__p_uiMessageListNode_t = {"_p_uiMessageListNode_t", "uiMessageListNode_t *", 0, 0, (void*)&_wrap_class_uiMessageList, 0};
19866static swig_type_info _swigt__p_uiModelNode_t = {"_p_uiModelNode_t", "uiModelNode_t *", 0, 0, (void*)&_wrap_class_uiModel, 0};
19867static swig_type_info _swigt__p_uiNode_t = {"_p_uiNode_t", "uiNode_t *", 0, 0, (void*)&_wrap_class_uiNode, 0};
19868static swig_type_info _swigt__p_uiOptionListNode_t = {"_p_uiOptionListNode_t", "uiOptionListNode_t *", 0, 0, (void*)&_wrap_class_uiOptionList, 0};
19869static swig_type_info _swigt__p_uiOptionNode_t = {"_p_uiOptionNode_t", "uiOptionNode_t *", 0, 0, (void*)&_wrap_class_uiOption, 0};
19870static swig_type_info _swigt__p_uiOptionTreeNode_t = {"_p_uiOptionTreeNode_t", "uiOptionTreeNode_t *", 0, 0, (void*)&_wrap_class_uiOptionTree, 0};
19871static swig_type_info _swigt__p_uiPanelNode_t = {"_p_uiPanelNode_t", "uiPanelNode_t *", 0, 0, (void*)&_wrap_class_uiPanel, 0};
19872static swig_type_info _swigt__p_uiRadarNode_t = {"_p_uiRadarNode_t", "uiRadarNode_t *", 0, 0, (void*)&_wrap_class_uiRadar, 0};
19873static swig_type_info _swigt__p_uiRadioButtonNode_t = {"_p_uiRadioButtonNode_t", "uiRadioButtonNode_t *", 0, 0, (void*)&_wrap_class_uiRadioButton, 0};
19874static swig_type_info _swigt__p_uiRowsNode_t = {"_p_uiRowsNode_t", "uiRowsNode_t *", 0, 0, (void*)&_wrap_class_uiRows, 0};
19875static swig_type_info _swigt__p_uiSelectBoxNode_t = {"_p_uiSelectBoxNode_t", "uiSelectBoxNode_t *", 0, 0, (void*)&_wrap_class_uiSelectBox, 0};
19876static swig_type_info _swigt__p_uiSequenceNode_t = {"_p_uiSequenceNode_t", "uiSequenceNode_t *", 0, 0, (void*)&_wrap_class_uiSequence, 0};
19877static swig_type_info _swigt__p_uiSpinnerNode_t = {"_p_uiSpinnerNode_t", "uiSpinnerNode_t *", 0, 0, (void*)&_wrap_class_uiSpinner, 0};
19878static swig_type_info _swigt__p_uiStringNode_t = {"_p_uiStringNode_t", "uiStringNode_t *", 0, 0, (void*)&_wrap_class_uiString, 0};
19879static swig_type_info _swigt__p_uiTBarNode_t = {"_p_uiTBarNode_t", "uiTBarNode_t *", 0, 0, (void*)&_wrap_class_uiTBar, 0};
19880static swig_type_info _swigt__p_uiTabNode_t = {"_p_uiTabNode_t", "uiTabNode_t *", 0, 0, (void*)&_wrap_class_uiTab, 0};
19881static swig_type_info _swigt__p_uiText2Node_t = {"_p_uiText2Node_t", "uiText2Node_t *", 0, 0, (void*)&_wrap_class_uiText2, 0};
19882static swig_type_info _swigt__p_uiTextEntryNode_t = {"_p_uiTextEntryNode_t", "uiTextEntryNode_t *", 0, 0, (void*)&_wrap_class_uiTextEntry, 0};
19883static swig_type_info _swigt__p_uiTextListNode_t = {"_p_uiTextListNode_t", "uiTextListNode_t *", 0, 0, (void*)&_wrap_class_uiTextList, 0};
19884static swig_type_info _swigt__p_uiTextNode_t = {"_p_uiTextNode_t", "uiTextNode_t *", 0, 0, (void*)&_wrap_class_uiText, 0};
19885static swig_type_info _swigt__p_uiTextureNode_t = {"_p_uiTextureNode_t", "uiTextureNode_t *", 0, 0, (void*)&_wrap_class_uiTexture, 0};
19886static swig_type_info _swigt__p_uiTimerNode_t = {"_p_uiTimerNode_t", "uiTimerNode_t *", 0, 0, (void*)&_wrap_class_uiTimer, 0};
19887static swig_type_info _swigt__p_uiVScrollBarNode_t = {"_p_uiVScrollBarNode_t", "uiVScrollBarNode_t *", 0, 0, (void*)&_wrap_class_uiVScrollbar, 0};
19888static swig_type_info _swigt__p_uiVideoNode_t = {"_p_uiVideoNode_t", "uiVideoNode_t *", 0, 0, (void*)&_wrap_class_uiVideo, 0};
19889static swig_type_info _swigt__p_uiWidgetNode_t = {"_p_uiWidgetNode_t", "uiWidgetNode_t *", 0, 0, (void*)&_wrap_class_uiWidget, 0};
19890static swig_type_info _swigt__p_uiWindowNode_t = {"_p_uiWindowNode_t", "uiWindowNode_t *", 0, 0, (void*)&_wrap_class_uiWindow, 0};
19891static swig_type_info _swigt__p_uiZoneNode_t = {"_p_uiZoneNode_t", "uiZoneNode_t *", 0, 0, (void*)&_wrap_class_uiZone, 0};
19892static swig_type_info _swigt__p_vec2_struct_t = {"_p_vec2_struct_t", "vec2_struct_t *", 0, 0, (void*)0, 0};
19893static swig_type_info _swigt__p_vec3_struct_t = {"_p_vec3_struct_t", "vec3_struct_t *", 0, 0, (void*)0, 0};
19894
19952};
19953
19954static swig_cast_info _swigc__p_LUA_EVENT[] = { {&_swigt__p_LUA_EVENT, 0, 0, 0},{0, 0, 0, 0}};
19955static swig_cast_info _swigc__p_LUA_FUNCTION[] = { {&_swigt__p_LUA_FUNCTION, 0, 0, 0},{0, 0, 0, 0}};
19956static swig_cast_info _swigc__p_LUA_METHOD[] = { {&_swigt__p_LUA_METHOD, 0, 0, 0},{0, 0, 0, 0}};
19957static swig_cast_info _swigc__p_align_t[] = { {&_swigt__p_align_t, 0, 0, 0},{0, 0, 0, 0}};
19958static swig_cast_info _swigc__p_cvar_t[] = { {&_swigt__p_cvar_t, 0, 0, 0},{0, 0, 0, 0}};
19959static swig_cast_info _swigc__p_invDef_t[] = { {&_swigt__p_invDef_t, 0, 0, 0},{0, 0, 0, 0}};
19962static swig_cast_info _swigc__p_linkedList_t[] = { {&_swigt__p_linkedList_t, 0, 0, 0},{0, 0, 0, 0}};
19963static swig_cast_info _swigc__p_longlines_t[] = { {&_swigt__p_longlines_t, 0, 0, 0},{0, 0, 0, 0}};
19969static swig_cast_info _swigc__p_uiBarNode_t[] = { {&_swigt__p_uiBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19976static swig_cast_info _swigc__p_uiDataNode_t[] = { {&_swigt__p_uiDataNode_t, 0, 0, 0},{0, 0, 0, 0}};
19979static swig_cast_info _swigc__p_uiItemNode_t[] = { {&_swigt__p_uiItemNode_t, 0, 0, 0},{0, 0, 0, 0}};
19983static 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}};
19990static swig_cast_info _swigc__p_uiRowsNode_t[] = { {&_swigt__p_uiRowsNode_t, 0, 0, 0},{0, 0, 0, 0}};
19995static swig_cast_info _swigc__p_uiTBarNode_t[] = { {&_swigt__p_uiTBarNode_t, 0, 0, 0},{0, 0, 0, 0}};
19996static swig_cast_info _swigc__p_uiTabNode_t[] = { {&_swigt__p_uiTabNode_t, 0, 0, 0},{0, 0, 0, 0}};
20007static swig_cast_info _swigc__p_uiZoneNode_t[] = { {&_swigt__p_uiZoneNode_t, 0, 0, 0},{0, 0, 0, 0}};
20010
20068};
20069
20070
20071/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
20072
20073/* -----------------------------------------------------------------------------
20074 * Type initialization:
20075 * This problem is tough by the requirement that no dynamic
20076 * memory is used. Also, since swig_type_info structures store pointers to
20077 * swig_cast_info structures and swig_cast_info structures store pointers back
20078 * to swig_type_info structures, we need some lookup code at initialization.
20079 * The idea is that swig generates all the structures that are needed.
20080 * The runtime then collects these partially filled structures.
20081 * The SWIG_InitializeModule function takes these initial arrays out of
20082 * swig_module, and does all the lookup, filling in the swig_module.types
20083 * array with the correct data and linking the correct swig_cast_info
20084 * structures together.
20085 *
20086 * The generated swig_type_info structures are assigned statically to an initial
20087 * array. We just loop through that array, and handle each type individually.
20088 * First we lookup if this type has been already loaded, and if so, use the
20089 * loaded structure instead of the generated one. Then we have to fill in the
20090 * cast linked list. The cast data is initially stored in something like a
20091 * two-dimensional array. Each row corresponds to a type (there are the same
20092 * number of rows as there are in the swig_type_initial array). Each entry in
20093 * a column is one of the swig_cast_info structures for that type.
20094 * The cast_initial array is actually an array of arrays, because each row has
20095 * a variable number of columns. So to actually build the cast linked list,
20096 * we find the array of casts associated with the type, and loop through it
20097 * adding the casts to the list. The one last trick we need to do is making
20098 * sure the type pointer in the swig_cast_info struct is correct.
20099 *
20100 * First off, we lookup the cast->type name to see if it is already loaded.
20101 * There are three cases to handle:
20102 * 1) If the cast->type has already been loaded AND the type we are adding
20103 * casting info to has not been loaded (it is in this module), THEN we
20104 * replace the cast->type pointer with the type pointer that has already
20105 * been loaded.
20106 * 2) If BOTH types (the one we are adding casting info to, and the
20107 * cast->type) are loaded, THEN the cast info has already been loaded by
20108 * the previous module so we just ignore it.
20109 * 3) Finally, if cast->type has not already been loaded, then we add that
20110 * swig_cast_info to the linked list (because the cast->type) pointer will
20111 * be correct.
20112 * ----------------------------------------------------------------------------- */
20113
20114#ifdef __cplusplus
20115extern "C" {
20116#if 0
20117} /* c-mode */
20118#endif
20119#endif
20120
20121#if 0
20122#define SWIGRUNTIME_DEBUG
20123#endif
20124
20125
20126SWIGRUNTIME void
20127SWIG_InitializeModule(void *clientdata) {
20128 size_t i;
20129 swig_module_info *module_head, *iter;
20130 int init;
20131
20132 /* check to see if the circular list has been setup, if not, set it up */
20133 if (swig_module.next==0) {
20134 /* Initialize the swig_module */
20135 swig_module.type_initial = swig_type_initial;
20136 swig_module.cast_initial = swig_cast_initial;
20137 swig_module.next = &swig_module;
20138 init = 1;
20139 } else {
20140 init = 0;
20141 }
20142
20143 /* Try and load any already created modules */
20144 module_head = SWIG_GetModule(clientdata);
20145 if (!module_head) {
20146 /* This is the first module loaded for this interpreter */
20147 /* so set the swig module into the interpreter */
20148 SWIG_SetModule(clientdata, &swig_module);
20149 } else {
20150 /* the interpreter has loaded a SWIG module, but has it loaded this one? */
20151 iter=module_head;
20152 do {
20153 if (iter==&swig_module) {
20154 /* Our module is already in the list, so there's nothing more to do. */
20155 return;
20156 }
20157 iter=iter->next;
20158 } while (iter!= module_head);
20159
20160 /* otherwise we must add our module into the list */
20161 swig_module.next = module_head->next;
20162 module_head->next = &swig_module;
20163 }
20164
20165 /* When multiple interpreters are used, a module could have already been initialized in
20166 a different interpreter, but not yet have a pointer in this interpreter.
20167 In this case, we do not want to continue adding types... everything should be
20168 set up already */
20169 if (init == 0) return;
20170
20171 /* Now work on filling in swig_module.types */
20172#ifdef SWIGRUNTIME_DEBUG
20173 printf("SWIG_InitializeModule: size %lu\n", (unsigned long)swig_module.size);
20174#endif
20175 for (i = 0; i < swig_module.size; ++i) {
20176 swig_type_info *type = 0;
20177 swig_type_info *ret;
20178 swig_cast_info *cast;
20179
20180#ifdef SWIGRUNTIME_DEBUG
20181 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
20182#endif
20183
20184 /* if there is another module already loaded */
20185 if (swig_module.next != &swig_module) {
20187 }
20188 if (type) {
20189 /* Overwrite clientdata field */
20190#ifdef SWIGRUNTIME_DEBUG
20191 printf("SWIG_InitializeModule: found type %s\n", type->name);
20192#endif
20193 if (swig_module.type_initial[i]->clientdata) {
20194 type->clientdata = swig_module.type_initial[i]->clientdata;
20195#ifdef SWIGRUNTIME_DEBUG
20196 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
20197#endif
20198 }
20199 } else {
20200 type = swig_module.type_initial[i];
20201 }
20202
20203 /* Insert casting types */
20204 cast = swig_module.cast_initial[i];
20205 while (cast->type) {
20206
20207 /* Don't need to add information already in the list */
20208 ret = 0;
20209#ifdef SWIGRUNTIME_DEBUG
20210 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
20211#endif
20212 if (swig_module.next != &swig_module) {
20214#ifdef SWIGRUNTIME_DEBUG
20215 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
20216#endif
20217 }
20218 if (ret) {
20219 if (type == swig_module.type_initial[i]) {
20220#ifdef SWIGRUNTIME_DEBUG
20221 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
20222#endif
20223 cast->type = ret;
20224 ret = 0;
20225 } else {
20226 /* Check for casting already in the list */
20227 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
20228#ifdef SWIGRUNTIME_DEBUG
20229 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
20230#endif
20231 if (!ocast) ret = 0;
20232 }
20233 }
20234
20235 if (!ret) {
20236#ifdef SWIGRUNTIME_DEBUG
20237 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
20238#endif
20239 if (type->cast) {
20240 type->cast->prev = cast;
20241 cast->next = type->cast;
20242 }
20243 type->cast = cast;
20244 }
20245 cast++;
20246 }
20247 /* Set entry in modules->types array equal to the type */
20248 swig_module.types[i] = type;
20249 }
20250 swig_module.types[i] = 0;
20251
20252#ifdef SWIGRUNTIME_DEBUG
20253 printf("**** SWIG_InitializeModule: Cast List ******\n");
20254 for (i = 0; i < swig_module.size; ++i) {
20255 int j = 0;
20256 swig_cast_info *cast = swig_module.cast_initial[i];
20257 printf("SWIG_InitializeModule: type %lu %s\n", (unsigned long)i, swig_module.type_initial[i]->name);
20258 while (cast->type) {
20259 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
20260 cast++;
20261 ++j;
20262 }
20263 printf("---- Total casts: %d\n",j);
20264 }
20265 printf("**** SWIG_InitializeModule: Cast List ******\n");
20266#endif
20267}
20268
20269/* This function will propagate the clientdata field of type to
20270* any new swig_type_info structures that have been added into the list
20271* of equivalent types. It is like calling
20272* SWIG_TypeClientData(type, clientdata) a second time.
20273*/
20274SWIGRUNTIME void
20276 size_t i;
20277 swig_cast_info *equiv;
20278 static int init_run = 0;
20279
20280 if (init_run) return;
20281 init_run = 1;
20282
20283 for (i = 0; i < swig_module.size; i++) {
20284 if (swig_module.types[i]->clientdata) {
20285 equiv = swig_module.types[i]->cast;
20286 while (equiv) {
20287 if (!equiv->converter) {
20288 if (equiv->type && !equiv->type->clientdata)
20289 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
20290 }
20291 equiv = equiv->next;
20292 }
20293 }
20294 }
20295}
20296
20297#ifdef __cplusplus
20298#if 0
20299{ /* c-mode */
20300#endif
20301}
20302#endif
20303
20304
20305
20306/* Forward declaration of where the user's %init{} gets inserted */
20307void SWIG_init_user(lua_State* L );
20308
20309#ifdef __cplusplus
20310extern "C" {
20311#endif
20312/* this is the initialization function
20313 added at the very end of the code
20314 the function is always called SWIG_init, but an earlier #define will rename it
20315*/
20316#if ((SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC))
20317LUALIB_API int SWIG_init(lua_State* L)
20318#else
20319SWIGEXPORT int SWIG_init(lua_State* L) /* default Lua action */
20320#endif
20321{
20322#if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC) /* valid for both Lua and eLua */
20323 int i;
20324 int globalRegister = 0;
20325 /* start with global table */
20327 /* SWIG's internal initialisation */
20328 SWIG_InitializeModule((void*)L);
20330#endif
20331
20332#if ((SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUA) && (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)) || defined(SWIG_LUA_ELUA_EMULATE)
20333 /* add a global fn */
20334 SWIG_Lua_add_function(L,"swig_type",SWIG_Lua_type);
20336#endif
20337
20338#if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20339 /* set up base class pointers (the hierarchy) */
20340 for (i = 0; swig_types[i]; i++){
20341 if (swig_types[i]->clientdata){
20343 }
20344 }
20345#ifdef SWIG_LUA_MODULE_GLOBAL
20346 globalRegister = 1;
20347#endif
20348
20349
20350#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_LUA)
20351 SWIG_Lua_namespace_register(L,&swig_SwigModule, globalRegister);
20352#endif
20353
20354#if (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUA) || (SWIG_LUA_TARGET == SWIG_LUA_FLAVOR_ELUAC)
20355 for (i = 0; swig_types[i]; i++){
20356 if (swig_types[i]->clientdata){
20357 SWIG_Lua_elua_class_register_instance(L,(swig_lua_class*)(swig_types[i]->clientdata));
20358 }
20359 }
20360#endif
20361
20362#if defined(SWIG_LUA_ELUA_EMULATE)
20363 lua_newtable(L);
20364 SWIG_Lua_elua_emulate_register(L,swig_SwigModule.ns_methods);
20365 SWIG_Lua_elua_emulate_register_clear(L);
20366 if(globalRegister) {
20367 lua_pushstring(L,swig_SwigModule.name);
20368 lua_pushvalue(L,-2);
20369 lua_rawset(L,-4);
20370 }
20371#endif
20372
20373#endif
20374
20375#if (SWIG_LUA_TARGET != SWIG_LUA_FLAVOR_ELUAC)
20376 /* invoke user-specific initialization */
20377 SWIG_init_user(L);
20378 /* end module */
20379 /* Note: We do not clean up the stack here (Lua will do this for us). At this
20380 point, we have the globals table and out module table on the stack. Returning
20381 one value makes the module table the result of the require command. */
20382 return 1;
20383#else
20384 return 0;
20385#endif
20386}
20387
20388#ifdef __cplusplus
20389}
20390#endif
20391
20392
20393const char* SWIG_LUACODE=
20394 "";
20395
20396void SWIG_init_user(lua_State* L)
20397{
20398 /* exec Lua code if applicable */
20400}
20401
unsigned int key
Definition cl_input.cpp:64
Header file for inventory handling and Equipment menu.
@ FILTER_S_ARMOUR
@ FILTER_S_HEAVY
@ FILTER_CRAFTITEM
@ FILTER_S_PRIMARY
@ MAX_SOLDIER_FILTERTYPES
@ FILTER_AIRCRAFT
@ FILTER_S_MISC
@ FILTER_DUMMY
@ FILTER_S_IMPLANT
@ FILTER_S_SECONDARY
@ FILTER_ENSURE_32BIT
@ FILTER_DISASSEMBLY
@ MAX_FILTERTYPES
@ FILTER_UGVITEM
@ LONGLINES_WRAP
@ LONGLINES_LAST
@ LONGLINES_CHOP
@ LONGLINES_PRETTYCHOP
PointerType get() const
Definition sharedptr.h:197
bool setScrollY(uiNode_t *node, int viewPos, int viewSize, int fullSize)
Set the Y scroll to a position, and call event if need.
void zoom(uiNode_t *node, bool out)
void setFill(uiNode_t *node, bool value)
void Cbuf_AddText(const char *format,...)
Adds command text at the end of the buffer.
Definition cmd.cpp:126
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
Definition common.cpp:440
void Com_Error(int code, const char *fmt,...)
Definition common.cpp:459
void Com_Printf(const char *const fmt,...)
Definition common.cpp:428
void Cvar_SetValue(const char *varName, float value)
Expands value to a string and calls Cvar_Set.
Definition cvar.cpp:671
cvar_t * Cvar_Set(const char *varName, const char *value,...)
Sets a cvar value.
Definition cvar.cpp:615
bool Cvar_Delete(const char *varName)
Function to remove the cvar and free the space.
Definition cvar.cpp:279
cvar_t * Cvar_FindVar(const char *varName)
Searches for a cvar given by parameter.
Definition cvar.cpp:106
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
Cvar (console variable) header file.
common object-, inventory-, container- and firemode-related functions headers.
voidpf void uLong size
Definition ioapi.h:42
voidpf uLong int origin
Definition ioapi.h:45
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
const char int mode
Definition ioapi.h:41
void LIST_Delete(linkedList_t **list)
Definition list.cpp:195
QGL_EXTERN void(APIENTRY *qglActiveTexture)(GLenum texture)
QGL_EXTERN GLuint index
Definition r_gl.h:110
QGL_EXTERN GLint i
Definition r_gl.h:113
QGL_EXTERN GLint GLenum type
Definition r_gl.h:94
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition r_gl.h:110
QGL_EXTERN GLuint * id
Definition r_gl.h:86
QGL_EXTERN GLint GLenum GLboolean GLsizei const GLvoid * pointer
Definition r_gl.h:94
Header for script parsing functions.
align_t
We need this here for checking the boundaries from script values.
Definition scripts.h:89
@ ALIGN_CL_RSL
Definition scripts.h:102
@ ALIGN_CR
Definition scripts.h:95
@ ALIGN_LL_RSL
Definition scripts.h:105
@ ALIGN_CL
Definition scripts.h:93
@ ALIGN_LR_RSL
Definition scripts.h:107
@ ALIGN_UC_RSL
Definition scripts.h:100
@ ALIGN_CC_RSL
Definition scripts.h:103
@ ALIGN_CC
Definition scripts.h:94
@ ALIGN_UR_RSL
Definition scripts.h:101
@ ALIGN_UL_RSL
Definition scripts.h:99
@ ALIGN_LC
Definition scripts.h:97
@ ALIGN_UL
Definition scripts.h:90
@ ALIGN_UC
Definition scripts.h:91
@ ALIGN_LR
Definition scripts.h:98
@ ALIGN_UR
Definition scripts.h:92
@ ALIGN_LC_RSL
Definition scripts.h:106
@ ALIGN_LL
Definition scripts.h:96
@ ALIGN_CR_RSL
Definition scripts.h:104
linkedList_t * Com_LuaTableToStringList(lua_State *L, int index)
Convert a lua table to a linkedList of character strings.
int Com_LuaIsNilOrTable(lua_State *L, int index)
Header for lua script functions.
int LUA_FUNCTION
callback signatures for functions defined in Lua
Definition scripts_lua.h:45
int LUA_EVENT
holds a reference to a lua event handler
Definition scripts_lua.h:49
int LUA_METHOD
holds a reference to a lua event handler
Definition scripts_lua.h:53
extradata for scrollbar widget
extradata for the panel node
Definition ui_node_bar.h:43
extradata for container widget
This is a cvar definition. Cvars can be user modified and used in our menus e.g.
Definition cvar.h:71
float value
Definition cvar.h:80
int integer
Definition cvar.h:81
char * string
Definition cvar.h:73
char * name
Definition cvar.h:72
inventory definition for our menus
Definition inv_shared.h:371
char name[MAX_VAR]
Definition inv_shared.h:372
extradata for the linechart node
extradata for the model node
Option definition.
extradata for the panel node
swig_type_info * type
struct swig_cast_info * prev
struct swig_cast_info * next
swig_converter_func converter
lua_CFunction setmethod
lua_CFunction getmethod
swig_lua_method * metatable
const char * fqname
swig_type_info ** type
struct swig_lua_class ** bases
const char ** base_names
const char * name
swig_lua_namespace * cls_static
lua_CFunction constructor
swig_lua_method * methods
swig_lua_attribute * attributes
void(* destructor)(void *)
swig_type_info ** ptype
swig_lua_attribute * ns_attributes
swig_lua_const_info * ns_constants
struct swig_lua_class ** ns_classes
swig_lua_method * ns_methods
struct swig_lua_namespace ** ns_namespaces
swig_type_info * type
swig_type_info * type
swig_type_info ** types
swig_cast_info ** cast_initial
swig_type_info ** type_initial
struct swig_module_info * next
swig_dycast_func dcast
struct swig_cast_info * cast
const char * str
const char * name
extradata for the textentry, to custom draw and behaviour
extradata for the window node
const char * name
void * lua_SWIG_typeinfo
UINodePtr manager
vec2_t size
Definition ui_nodes.h:52
vec2_t pos
Definition ui_nodes.h:51
Atomic structure used to define most of the UI.
Definition ui_nodes.h:80
int border
Definition ui_nodes.h:124
vec4_t flashColor
Definition ui_nodes.h:129
uiNode_t * firstChild
Definition ui_nodes.h:89
bool invis
Definition ui_nodes.h:101
uiNode_t * next
Definition ui_nodes.h:91
bool flash
Definition ui_nodes.h:107
int contentAlign
Definition ui_nodes.h:120
vec4_t color
Definition ui_nodes.h:127
uiNode_t * lastChild
Definition ui_nodes.h:90
bool ghost
Definition ui_nodes.h:105
uiBehaviour_t * behaviour
Definition ui_nodes.h:83
char * font
Definition ui_nodes.h:122
uiNode_t * parent
Definition ui_nodes.h:92
int align
Definition ui_nodes.h:110
vec4_t selectedColor
Definition ui_nodes.h:128
uiBox_t box
Definition ui_nodes.h:96
float flashSpeed
Definition ui_nodes.h:108
char name[MAX_VAR]
Definition ui_nodes.h:82
int padding
Definition ui_nodes.h:109
vec4_t disabledColor
Definition ui_nodes.h:103
vec4_t bgcolor
Definition ui_nodes.h:125
char * image
Definition ui_nodes.h:123
vec4_t bordercolor
Definition ui_nodes.h:126
uiNode_t * root
Definition ui_nodes.h:93
extradata for the window node
void *(* swig_converter_func)(void *, int *)
Cross-platform type definitions.
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.
Data and interface to share data.
@ TEXT_UFORECOVERY_NATIONS
Definition ui_dataids.h:62
@ TEXT_GENERIC
Definition ui_dataids.h:56
@ OPTION_TEAMDEFS
Definition ui_dataids.h:84
@ TEXT_MISSIONBRIEFING
Definition ui_dataids.h:71
@ TEXT_UFOPEDIA_MAIL
Definition ui_dataids.h:50
@ TEXT_UFOPEDIA_MAILHEADER
Definition ui_dataids.h:49
@ UI_MAX_DATAID
Definition ui_dataids.h:87
@ TEXT_PRODUCTION_QUEUED
Definition ui_dataids.h:46
@ TEXT_MOUSECURSOR_LEFT
Definition ui_dataids.h:60
@ TEXT_UFOPEDIA_REQUIREMENT
Definition ui_dataids.h:34
@ TEXT_AIRCRAFT_INFO
Definition ui_dataids.h:41
@ TEXT_MOUSECURSOR_TOP
Definition ui_dataids.h:58
@ TEXT_BASEDEFENCE_LIST
Definition ui_dataids.h:54
@ TEXT_MISSIONBRIEFING_VICTORY_CONDITIONS
Definition ui_dataids.h:73
@ TEXT_MATERIAL_STAGES
Definition ui_dataids.h:65
@ TEXT_AIRCRAFT_LIST
Definition ui_dataids.h:40
@ OPTION_UFOS
Definition ui_dataids.h:81
@ TEXT_LIST2
Definition ui_dataids.h:32
@ TEXT_AIREQUIP_1
Definition ui_dataids.h:52
@ TEXT_XVI
Definition ui_dataids.h:57
@ TEXT_LIST
Definition ui_dataids.h:31
@ TEXT_BUILDINGS
Definition ui_dataids.h:35
@ OPTION_VIDEO_RESOLUTIONS
Definition ui_dataids.h:77
@ OPTION_JOYSTICKS
Definition ui_dataids.h:76
@ TEXT_CHAT_WINDOW
Definition ui_dataids.h:51
@ TEXT_STANDARD
Definition ui_dataids.h:30
@ TEXT_MOUSECURSOR_RIGHT
Definition ui_dataids.h:45
@ TEXT_PRODUCTION_LIST
Definition ui_dataids.h:42
@ TEXT_UFOPEDIA
Definition ui_dataids.h:33
@ TEXT_PRODUCTION_INFO
Definition ui_dataids.h:44
@ TEXT_MISSIONBRIEFING_TITLE
Definition ui_dataids.h:72
@ TEXT_PRODUCTION_AMOUNT
Definition ui_dataids.h:43
@ TEXT_ITEMDESCRIPTION
Definition ui_dataids.h:70
@ TEXT_MOUSECURSOR_BOTTOM
Definition ui_dataids.h:59
@ TEXT_NULL
Definition ui_dataids.h:29
@ TEXT_UFORECOVERY_CAPACITIES
Definition ui_dataids.h:64
@ TEXT_POPUP
Definition ui_dataids.h:38
@ TEXT_BUILDING_INFO
Definition ui_dataids.h:36
@ TEXT_IRCUSERS
Definition ui_dataids.h:67
@ TEXT_BASE_LIST
Definition ui_dataids.h:47
@ OPTION_SINGLEPLAYER_SKINS
Definition ui_dataids.h:78
@ OPTION_LANGUAGES
Definition ui_dataids.h:75
@ TEXT_MOUSECURSOR_PLAYERNAMES
Definition ui_dataids.h:48
@ TEXT_RESEARCH
Definition ui_dataids.h:37
@ OPTION_MULTIPLAYER_SKINS
Definition ui_dataids.h:79
@ TEXT_MULTIPLAYER_USERTEAM
Definition ui_dataids.h:69
@ TEXT_UFORECOVERY_UFOYARDS
Definition ui_dataids.h:63
@ TEXT_MULTIPLAYER_USERLIST
Definition ui_dataids.h:68
@ TEXT_AIREQUIP_2
Definition ui_dataids.h:53
@ TEXT_TIPOFTHEDAY
Definition ui_dataids.h:55
@ OPTION_BASELIST
Definition ui_dataids.h:83
@ TEXT_IRCCONTENT
Definition ui_dataids.h:66
@ TEXT_MESSAGEOPTIONS
Definition ui_dataids.h:61
@ TEXT_POPUP_INFO
Definition ui_dataids.h:39
@ OPTION_DROPSHIPS
Definition ui_dataids.h:82
@ OPTION_PRODUCTION_REQUIREMENTS
Definition ui_dataids.h:85
@ OPTION_UFOPEDIA
Definition ui_dataids.h:80
void UI_PrintNodeTree(uiNode_t *node, int level)
Definition ui_lua.cpp:513
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
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
void UI_RegisterHandler_OnLoad(LUA_FUNCTION fcn)
Register global lua callback function called after loading the module.
Definition ui_lua.cpp:363
Basic lua initialization for the ui.
static const char * swig_uiOption_base_names[]
static int _wrap_uiContainer_on_select_get(lua_State *L)
SWIGRUNTIME int SWIG_Lua_class_equal(lua_State *L)
static int _wrap_uiOption_set_collapsed(lua_State *L)
SWIGINTERN void uiAbstractScrollableNode_t_pagedown(uiAbstractScrollableNode_t *self)
static int _wrap_UI_CreateOptionTree(lua_State *L)
static swig_lua_method swig_uiTab_methods[]
static void swig_delete_uiWindow(void *obj)
static swig_lua_class _wrap_class_uiItem
static int _wrap_uiBaseInventory_filtertype(lua_State *L)
static void * _p_uiPanelNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void uiWindowNode_t_lua_onWindowOpened_set(uiWindowNode_t *node, LUA_EVENT fn)
static swig_type_info _swigt__p_uiTextEntryNode_t
static swig_lua_class * swig_uiMessageList_bases[]
static swig_type_info _swigt__p_uiAbstractValueNode_t
static swig_lua_class _wrap_class_uiButton
static swig_lua_namespace swig_uiBar_Sf_SwigStatic
static swig_lua_const_info swig_uiAbstractValueNode_Sf_SwigStatic_constants[]
SWIGINTERN void uiButtonNode_t_set_background(uiButtonNode_t *self, char const *name)
static void * _p_uiText2Node_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_attribute swig_uiTextList_attributes[]
SWIGINTERN int uiBarNode_t_direction(uiBarNode_t *self)
static int _wrap_UI_CreateBaseLayout(lua_State *L)
SWIGINTERN void uiImageNode_t_set_keepratio(uiImageNode_t *self, bool value)
static swig_lua_method swig_uiRadar_meta[]
SWIGINTERN void uiNode_t_set_borderthickness(uiNode_t *self, int value)
static int _wrap_uiLineChart_add_point(lua_State *L)
SWIGINTERN int uiStringNode_t_longlines(uiStringNode_t *self)
static int _wrap_uiNode_set_borderthickness(lua_State *L)
SWIGRUNTIME void * SWIG_Lua_MustGetPtr(lua_State *L, int index, swig_type_info *type, int flags, int argnum, const char *func_name)
SWIGINTERN void uiModelNode_t_set_animation(uiModelNode_t *self, char const *name)
static const char * swig_uiTextList_base_names[]
static int _wrap_new_uiWidget(lua_State *L)
static swig_lua_attribute swig_uiRows_Sf_SwigStatic_attributes[]
static int _wrap_uiAbstractOptionNode_set_dataid(lua_State *L)
#define SWIG_DOSTRING_FAIL(S)
SWIGINTERN void uiNode_t_set_text(uiNode_t *self, char const *text)
SWIGINTERN void uiNode_t_delete_node(uiNode_t *self)
static swig_lua_method swig_uiRadioButton_methods[]
static int _wrap_new_uiItem(lua_State *L)
static swig_lua_class * swig_uiBaseInventory_Sf_SwigStatic_classes[]
static uiTBarNode_t * UI_CreateTBar(uiNode_t *parent, const char *name, const char *super)
static swig_cast_info * swig_cast_initial[]
static swig_lua_attribute swig_uiOption_Sf_SwigStatic_attributes[]
static int _wrap_uiNode_on_wheelup_set(lua_State *L)
static const char * swig_uiAbstractScrollbarNode_base_names[]
static int _wrap_uiTextEntry_focus(lua_State *L)
static swig_lua_attribute swig_uiBar_Sf_SwigStatic_attributes[]
static LUA_EVENT uiTextEntryNode_t_lua_onTextEntryAbort_get(uiTextEntryNode_t *node)
static void swig_delete_uiCheckBox(void *obj)
static swig_lua_attribute swig_uiWidget_attributes[]
#define SWIGTYPE_p_uiOptionTreeNode_t
static int _wrap_uiNode_remove_children(lua_State *L)
static int _wrap_new_uiData(lua_State *L)
static int _proxy__wrap_new_uiBaseInventory(lua_State *L)
static int _wrap_uiContainer_selectedid(lua_State *L)
static uiRadioButtonNode_t * UI_CreateRadioButton(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN char * uiTextNode_t_textselected(uiTextNode_t *self)
static swig_lua_attribute swig_uiCheckBox_attributes[]
#define SWIGTYPE_p_uiWidgetNode_t
static int _wrap_uiModel_skin(lua_State *L)
SWIGINTERN void uiNode_t_add_classmethod(uiNode_t *self, char const *name, LUA_METHOD fcn)
#define lua_rawlen
static int _wrap_UI_CreatePanel(lua_State *L)
static int _wrap_new_uiRows(lua_State *L)
SWIGINTERN bool uiWindowNode_t_is_starlayout(uiWindowNode_t *self)
static swig_lua_method swig_uiPanel_Sf_SwigStatic_methods[]
static int _wrap_create_radiobutton(lua_State *L)
SWIGRUNTIME swig_cast_info * SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty)
static void * _p_uiDataNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiString_longlines(lua_State *L)
#define SWIGTYPE_p_uiGeoscapeNode_t
static int _wrap_uiNode_parent(lua_State *L)
static swig_type_info _swigt__p_uiModelNode_t
static void uiWindowNode_t_lua_onWindowActivate_set(uiWindowNode_t *node, LUA_EVENT fn)
static swig_cast_info _swigc__p_invDef_t[]
static swig_lua_method swig_uiTexture_meta[]
static swig_lua_const_info swig_uiWidget_Sf_SwigStatic_constants[]
static int _wrap_uiNode_on_mouseleave_get(lua_State *L)
SWIGINTERN void uiImageNode_t_set_mousefx(uiImageNode_t *self, bool value)
static swig_lua_method swig_uiSequence_meta[]
SWIGRUNTIME int SWIG_Lua_ConvertPtr(lua_State *L, int index, void **ptr, swig_type_info *type, int flags)
uiNode_t uiOptionNode_t
static int _wrap_uiNode_set_text(lua_State *L)
static int _wrap_uiImage_set_mousefx(lua_State *L)
static int _wrap_uiItem_is_containerlike(lua_State *L)
static swig_lua_method swig_uiVScrollbar_Sf_SwigStatic_methods[]
static int _wrap_create_control(lua_State *L)
static void * _p_uiAbstractValueNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_set_left(uiNode_t *self, float value)
static swig_lua_class _wrap_class_cvar
static int _wrap_UI_CreateModel(lua_State *L)
static swig_lua_attribute swig_uiRadar_Sf_SwigStatic_attributes[]
#define SWIGTYPE_p_vec3_struct_t
static int _proxy__wrap_new_uiWindow(lua_State *L)
SWIGINTERN bool uiLineChartNode_t_is_showaxes(uiLineChartNode_t *self)
static int _wrap_uiZone_clickdelay(lua_State *L)
static int _wrap_uiAbstractValueNode_set_shiftmultiplier(lua_State *L)
static swig_lua_method swig_uiWindow_Sf_SwigStatic_methods[]
static int _wrap_new_uiVScrollbar(lua_State *L)
static swig_type_info _swigt__p_uiTextureNode_t
static swig_lua_namespace swig_uiWidget_Sf_SwigStatic
static int _wrap_uiAbstractOptionNode_cvar(lua_State *L)
SWIGINTERN void uiNode_t_move_node(uiNode_t *self, uiNode_t *node, uiNode_t *prev)
static swig_type_info _swigt__p_uiConFuncNode_t
static void * _p_uiGeoscapeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace swig_uiOptionList_Sf_SwigStatic
static int _wrap_uiBaseInventory_set_viewpos(lua_State *L)
static swig_lua_class * swig_uiVScrollbar_bases[]
static int _wrap_new_uiOptionList(lua_State *L)
static int _wrap_uiModel_scale(lua_State *L)
static swig_lua_class _wrap_class_uiOption
SWIGINTERN void uiPanelNode_t_set_wheelscrollable(uiPanelNode_t *self, bool value)
static int _wrap_uiOption_is_collapsed(lua_State *L)
static int _wrap_create_vscrollbar(lua_State *L)
static int _wrap_uiSequence_lua_onEnd_get(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_meta[]
static int _wrap_uiAbstractScrollableNode_moveup(lua_State *L)
static int _wrap_uiNode_type(lua_State *L)
static void swig_delete_uiRows(void *obj)
static int _wrap_uiAbstractScrollableNode_viewsize(lua_State *L)
static int _wrap_uiImage_texl(lua_State *L)
SWIGINTERN void uiNode_t_append_node(uiNode_t *self, uiNode_t *node)
static swig_lua_attribute swig_uiPanel_Sf_SwigStatic_attributes[]
static int _wrap_uiSpinner_set_background(lua_State *L)
SWIGRUNTIME void SWIG_Lua_SetModule(lua_State *L, swig_module_info *module)
static swig_lua_class _wrap_class_uiVideo
static uiConFuncNode_t * UI_CreateConFunc(uiNode_t *parent, const char *name, const char *super)
static swig_lua_class _wrap_class_uiBaseLayout
static int _wrap_uiNode_layoutalign(lua_State *L)
static swig_type_info _swigt__p_uiZoneNode_t
static const char * swig_uiRadar_base_names[]
static swig_lua_namespace swig_uiItem_Sf_SwigStatic
static int _wrap_uiOption_value(lua_State *L)
SWIGINTERN void uiTextureNode_t_set_source(uiTextureNode_t *self, char const *name)
static uiZoneNode_t * UI_CreateZone(uiNode_t *parent, const char *name, const char *super)
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_create_panel(lua_State *L)
static swig_lua_class * swig_uiText_bases[]
static int _wrap_uiOption_set_label(lua_State *L)
SWIGINTERN int uiTextNode_t_dataid(uiTextNode_t *self)
static swig_lua_namespace swig_uiText_Sf_SwigStatic
SWIGINTERN void uiTextEntryNode_t_focus(uiTextEntryNode_t *self)
static int _wrap_cvar_as_float(lua_State *L)
static swig_lua_class * swig_uiVideo_bases[]
static void * _p_uiBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiNode_on_focusgained_set(lua_State *L)
SWIGINTERN int uiAbstractOptionNode_t_current(uiAbstractOptionNode_t *self)
static int _wrap_uiNode_image(lua_State *L)
static int _wrap_create_sequence(lua_State *L)
static swig_lua_const_info swig_uiSpinner_Sf_SwigStatic_constants[]
static int _wrap_uiVideo_lua_onEnd_set(lua_State *L)
#define SWIGTYPE_p_uiNode_t
static uiDataNode_t * UI_CreateData(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN bool uiBarNode_t_is_nohover(uiBarNode_t *self)
static swig_lua_class * swig_uiPanel_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiCheckBox_Sf_SwigStatic_methods[]
SWIGRUNTIME void SWIG_Lua_pusherrstring(lua_State *L, const char *str)
static swig_lua_namespace swig_uiTBar_Sf_SwigStatic
SWIGINTERN void uiNode_t_set_bordersize(uiNode_t *self, int size)
#define SWIG_TypeQuery(name)
static swig_lua_method swig_uiBaseLayout_methods[]
static int _wrap_uiAbstractOptionNode_fullsize(lua_State *L)
static swig_cast_info _swigc__p_uiStringNode_t[]
SWIGINTERN void uiWindowNode_t_set_dropdown(uiWindowNode_t *self, bool value)
static int _wrap_new_uiAbstractScrollbarNode(lua_State *L)
SWIGINTERN int SWIG_Lua_class_do_get(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
SWIGINTERN void uiTextNode_t_set_tabwidth(uiTextNode_t *self, int value)
static int _wrap_new_uiSelectBox(lua_State *L)
static int _wrap_new_uiVideo(lua_State *L)
static void swig_delete_uiString(void *obj)
SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L)
static int _wrap_uiNode_first(lua_State *L)
static int _wrap_uiPanel_is_wheelscrollable(lua_State *L)
static swig_lua_method swig_uiOptionTree_methods[]
SWIGINTERN int uiAbstractOptionNode_t_fullsize(uiAbstractOptionNode_t *self)
static int _wrap_cvar_name(lua_State *L)
static int _proxy__wrap_new_uiSpinner(lua_State *L)
uiNode_t uiBaseInventoryNode_t
static swig_lua_attribute swig_uiCheckBox_Sf_SwigStatic_attributes[]
SWIGINTERN void cvar_t_set_value__SWIG_1(cvar_t *self, char const *text)
SWIGINTERN float uiDataNode_t_as_float(uiDataNode_t *self)
uiNode_t uiAbstractScrollableNode_t
static int _wrap_UI_CreateWidget(lua_State *L)
static int _wrap_uiNode_delete_node(lua_State *L)
static int _proxy__wrap_new_uiLineChart(lua_State *L)
static int _wrap_uiWindow_set_preventtypingescape(lua_State *L)
SWIGINTERN void uiNode_t_set_flashcolor(uiNode_t *self, float r, float g, float b, float a)
SWIGINTERN bool uiSpinnerNode_t_is_horizontal(uiSpinnerNode_t *self)
static int _wrap_uiNode_top(lua_State *L)
SWIGINTERN char * uiRadioButtonNode_t_as_string(uiRadioButtonNode_t *self)
SWIGINTERN void uiNode_t_set_ghost(uiNode_t *self, bool value)
static int _wrap_uiNode_set_disabled(lua_State *L)
SWIGINTERN void uiModelNode_t_set_skin(uiModelNode_t *self, char const *name)
static swig_lua_method swig_uiVideo_Sf_SwigStatic_methods[]
static int _wrap_getvar__SWIG_0(lua_State *L)
static int _wrap_uiAbstractScrollableNode_set_viewpos(lua_State *L)
uiNode_t uiOptionListNode_t
static swig_lua_method swig_uiText2_Sf_SwigStatic_methods[]
static void swig_delete_uiImage(void *obj)
static void swig_delete_uiBar(void *obj)
uiNode_t uiTimerNode_t
static int _wrap_create_linechart(lua_State *L)
static swig_lua_method swig_uiTexture_methods[]
static int _wrap_uiNode_set_ghost(lua_State *L)
static swig_cast_info _swigc__p_uiContainerNode_t[]
static void swig_delete_uiConFunc(void *obj)
static swig_lua_attribute swig_uiZone_attributes[]
static int _wrap_new_uiZone(lua_State *L)
static swig_lua_method swig_uiTBar_meta[]
static int _wrap_uiNode_on_rightclick_get(lua_State *L)
SWIGINTERN void SWIG_Lua_add_namespace_classes(lua_State *L, swig_lua_namespace *ns)
static int _wrap_uiPanel_layoutcolumns(lua_State *L)
static int _wrap_UI_CreateOption(lua_State *L)
static swig_lua_attribute swig_uiAbstractOptionNode_Sf_SwigStatic_attributes[]
SWIGINTERN void uiButtonNode_t_set_flipicon(uiButtonNode_t *self, bool value)
static swig_lua_namespace swig_uiModel_Sf_SwigStatic
static int _wrap_uiCheckBox_set_iconunknown(lua_State *L)
static swig_cast_info _swigc__p_uiItemNode_t[]
static const char * swig_uiConFunc_base_names[]
static int _wrap_cmd(lua_State *L)
#define SWIG_CheckState(r)
SWIGINTERN int uiOptionNode_t_count(uiOptionNode_t *self)
static int _wrap_uiTextEntry_set_background(lua_State *L)
SWIGINTERN void uiWindowNode_t_set_dragbutton(uiWindowNode_t *self, bool value)
static swig_lua_class _wrap_class_uiTimer
#define SWIG_fail_ptr(func_name, argnum, type)
static swig_lua_class _wrap_class_uiMessageList
SWIGINTERN float cvar_t_as_float(cvar_t *self)
SWIGINTERN void uiBarNode_t_set_direction(uiBarNode_t *self, int value)
static int _wrap_cvar_set_value__SWIG_0(lua_State *L)
static int _wrap_uiBaseLayout_baseid(lua_State *L)
#define SWIG_NewMemberObj(L, ptr, sz, type)
static int _wrap_uiNode___getitem(lua_State *L)
static swig_cast_info _swigc__p_uiLineChartNode_t[]
static swig_lua_method swig_uiImage_methods[]
static swig_cast_info _swigc__p_uiAbstractScrollableNode_t[]
static int _wrap_uiTexture_set_source(lua_State *L)
SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss)
SWIGINTERN void uiAbstractValueNode_t_dec_value(uiAbstractValueNode_t *self)
SWIGINTERN void uiSpinnerNode_t_set_horizontal(uiSpinnerNode_t *self, bool value)
static int _wrap_uiModel_set_model(lua_State *L)
static swig_lua_method swig_uiButton_methods[]
static swig_cast_info _swigc__p_uiVScrollBarNode_t[]
uiNode_t uiGeoscapeNode_t
static swig_lua_method swig_cvar_Sf_SwigStatic_methods[]
static int _wrap_uiButton_set_icon(lua_State *L)
static int _wrap_uiModel_is_autoscale(lua_State *L)
static int _proxy__wrap_new_uiButton(lua_State *L)
static swig_lua_attribute swig_uiTBar_attributes[]
static void uiBaseInventoryNode_t_lua_onViewChange_set(uiBaseInventoryNode_t *node, LUA_EVENT fn)
SWIGRUNTIME int SWIG_TypeEquiv(const char *nb, const char *tb)
SWIGINTERN void SWIG_Lua_class_register_static(lua_State *L, swig_lua_class *clss)
SWIGRUNTIME const char * SWIG_Lua_typename(lua_State *L, int tp)
SWIGINTERN int uiNode_t_layoutalign(uiNode_t *self)
static int _wrap_uiNode_on_wheeldown_get(lua_State *L)
static swig_lua_class * swig_uiTimer_Sf_SwigStatic_classes[]
static int _wrap_create_button(lua_State *L)
static int _wrap_uiNode_last(lua_State *L)
static swig_lua_method swig_uiZone_Sf_SwigStatic_methods[]
static int _wrap_uiWindow_open(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_first(uiNode_t *self)
static int _wrap_uiTextEntry_cursorposition(lua_State *L)
static swig_lua_class _wrap_class_invDef
SWIGINTERN int uiNode_t_contentalign(uiNode_t *self)
uiNode_t uiSpinnerNode_t
static int _wrap_uiPanel_set_layoutcolumns(lua_State *L)
static int _proxy__wrap_new_uiMessageList(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_delta(uiAbstractValueNode_t *self, float delta)
static int _proxy__wrap_new_uiAbstractScrollableNode(lua_State *L)
static int _wrap_uiNode_on_keypressed_set(lua_State *L)
static swig_lua_method swig_uiRows_meta[]
static swig_lua_class * swig_uiData_bases[]
static int _wrap_uiAbstractOptionNode_lineheight(lua_State *L)
static swig_lua_class _wrap_class_uiModel
static int _wrap_uiAbstractScrollableNode_pagedown(lua_State *L)
static int _wrap_uiNode_move_node(lua_State *L)
static const char * swig_uiRows_base_names[]
static int _wrap_uiNode_set_layoutalign(lua_State *L)
SWIGINTERN void uiNode_t_set_pos(uiNode_t *self, float x, float y)
static int _wrap_uiText_tabwidth(lua_State *L)
static swig_cast_info _swigc__p_uiRadarNode_t[]
static int _proxy__wrap_new_uiRadar(lua_State *L)
static swig_lua_method swig_uiVScrollbar_meta[]
static int _wrap_new_uiString(lua_State *L)
static swig_lua_class * swig_uiAbstractScrollableNode_bases[]
#define SWIGTYPE_p_uiConFuncNode_t
static swig_cast_info _swigc__p_uiImageNode_t[]
static int _wrap_new_uiOptionTree(lua_State *L)
static int _wrap_create_optiontree(lua_State *L)
static int _wrap_uiTBar_texl(lua_State *L)
static LUA_EVENT uiVideoNode_t_lua_onEnd_get(uiVideoNode_t *node)
static int _wrap_uiTimer_lua_onEvent_set(lua_State *L)
static int _wrap_uiNode_on_focuslost_set(lua_State *L)
static int _wrap_uiAbstractValueNode_delta(lua_State *L)
static swig_type_info _swigt__p_uiAbstractOptionNode_t
SWIGINTERN uiNode_t * uiNode_t_parent(uiNode_t *self)
static swig_lua_method swig_uiTimer_meta[]
static int _wrap_print(lua_State *L)
static const char * swig_uiZone_base_names[]
SWIGINTERN uiNode_t * uiNode_t_child(uiNode_t *self, char const *name)
static void * _p_uiAbstractOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_new_uiRadioButton(lua_State *L)
SWIGINTERN void uiWindowNode_t_set_starlayout(uiWindowNode_t *self, bool value)
static swig_lua_attribute swig_uiText2_Sf_SwigStatic_attributes[]
SWIGINTERN void uiWindowNode_t_close(uiWindowNode_t *self)
static int _wrap_register_onload(lua_State *L)
static swig_lua_attribute swig_uiItem_attributes[]
static int _wrap_uiNode_flashspeed(lua_State *L)
static int _wrap_uiAbstractValueNode_set_delta(lua_State *L)
SWIGINTERN int uiCheckBoxNode_t_as_integer(uiCheckBoxNode_t *self)
static int _wrap_uiVideo_set_source(lua_State *L)
static int _wrap_create_geoscape(lua_State *L)
static int _wrap_uiGeoscape_set_paddingright(lua_State *L)
static int _wrap_uiWindow_set_starlayout(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_flipicon(uiRadioButtonNode_t *self, bool value)
#define SWIG_init
SWIGINTERN int uiNode_t_bordersize(uiNode_t *self)
static uiMessageListNode_t * UI_CreateMessageList(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiOptionNode_t_set_label(uiOptionNode_t *self, char const *text)
static int _wrap_uiLineChart_add_line(lua_State *L)
static int _wrap_uiBaseInventory_set_displayammo(lua_State *L)
static void * _p_uiSequenceNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiCheckBox_as_integer(lua_State *L)
static int _wrap_new_uiConFunc(lua_State *L)
static const char * swig_uiTab_base_names[]
static void * _p_uiTextNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_LUA_POINTER
static swig_type_info _swigt__p_uiCheckBoxNode_t
SWIGRUNTIME int SWIG_TypeNameComp(const char *f1, const char *l1, const char *f2, const char *l2)
static swig_lua_attribute swig_uiNode_attributes[]
static swig_lua_class * swig_uiItem_Sf_SwigStatic_classes[]
static swig_lua_attribute swig_uiSequence_attributes[]
static swig_lua_class _wrap_class_uiAbstractOptionNode
static swig_lua_const_info swig_uiConFunc_Sf_SwigStatic_constants[]
static swig_lua_method swig_uiTextEntry_methods[]
static swig_lua_namespace swig_uiVideo_Sf_SwigStatic
static void swig_delete_uiGeoscape(void *obj)
static int _wrap_uiNode_set_flashing(lua_State *L)
static int _wrap_new_uiTab(lua_State *L)
static int _wrap_create_text(lua_State *L)
static swig_lua_const_info swig_uiSelectBox_Sf_SwigStatic_constants[]
static int _wrap_uiAbstractScrollbarNode_is_autoshowscroll(lua_State *L)
SWIGINTERN void uiOptionTreeNode_t_set_selectedvalue(uiOptionTreeNode_t *self, char const *value)
static uiRadarNode_t * UI_CreateRadar(uiNode_t *parent, const char *name, const char *super)
static swig_lua_class * swig_uiImage_Sf_SwigStatic_classes[]
#define SWIGTYPE_p_uiOptionListNode_t
SWIGINTERN void uiNode_t_set_backgroundcolor(uiNode_t *self, float r, float g, float b, float a)
static swig_lua_class * swig_uiAbstractValueNode_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiTimer_methods[]
static void swig_delete_uiTab(void *obj)
uiNode_t uiRowsNode_t
static int _proxy__wrap_new_uiAbstractValueNode(lua_State *L)
static int _wrap_uiRadioButton_cvar(lua_State *L)
SWIGRUNTIME int SWIG_Lua_ConvertPacked(lua_State *L, int index, void *ptr, size_t size, swig_type_info *type)
static swig_lua_const_info swig_uiTimer_Sf_SwigStatic_constants[]
SWIGINTERN void uiSequenceNode_t_set_source(uiSequenceNode_t *self, char const *name)
static swig_lua_class * swig_uiButton_bases[]
static swig_cast_info _swigc__p_uiSpinnerNode_t[]
SWIGINTERN vec2_struct_t * uiTBarNode_t_texl(uiTBarNode_t *self)
static uiPanelNode_t * UI_CreatePanel(uiNode_t *parent, const char *name, const char *super)
static const char * swig_uiGeoscape_base_names[]
static int _wrap_uiNode_on_change_get(lua_State *L)
static int _wrap_uiRadioButton_set_cvar(lua_State *L)
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 int _wrap_uiData_set_value__SWIG_1(lua_State *L)
static swig_lua_method swig_uiMessageList_methods[]
static swig_lua_method swig_uiButton_meta[]
static int _proxy__wrap_new_uiTab(lua_State *L)
static int _wrap_uiWindow_set_fullscreen(lua_State *L)
static int _wrap_new_uiGeoscape(lua_State *L)
static int _wrap_UI_CreateItem(lua_State *L)
static void swig_delete_uiTexture(void *obj)
SWIGINTERN void uiTextEntryNode_t_set_clickoutabort(uiTextEntryNode_t *self, bool value)
static swig_lua_const_info swig_uiSequence_Sf_SwigStatic_constants[]
#define SWIGTYPE_p_uiSequenceNode_t
static const char * swig_uiText_base_names[]
static swig_lua_attribute swig_cvar_attributes[]
static int _wrap_uiData_set_valuef(lua_State *L)
static swig_lua_method swig_uiTBar_methods[]
static swig_type_info _swigt__p_uiLineChartNode_t
static int _proxy__wrap_new_uiTextEntry(lua_State *L)
static swig_lua_class _wrap_class_uiConFunc
static uiRowsNode_t * UI_CreateRows(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiAbstractValueNode_inc_value(lua_State *L)
static swig_type_info _swigt__p_vec3_struct_t
static int _proxy__wrap_new_uiTimer(lua_State *L)
SWIGINTERN int uiTextNode_t_longlines(uiTextNode_t *self)
static swig_lua_attribute swig_uiVideo_attributes[]
static int _wrap_uiAbstractOptionNode_set_current(lua_State *L)
SWIGINTERN int uiAbstractOptionNode_t_dataid(uiAbstractOptionNode_t *self)
static void * _p_uiItemNode_tTo_p_uiModelNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_set_disabledcolor(uiNode_t *self, float r, float g, float b, float a)
static uiTextEntryNode_t * UI_CreateTextEntry(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiWindowNode_t
static int _wrap_uiNode_set_padding(lua_State *L)
static void swig_delete_uiSpinner(void *obj)
static swig_lua_method swig_uiData_meta[]
static swig_type_info _swigt__p_uiTextNode_t
static swig_lua_namespace swig_uiButton_Sf_SwigStatic
static swig_type_info _swigt__p_uiSelectBoxNode_t
#define SWIG_ConvertPtr(L, idx, ptr, type, flags)
uiNode_t uiImageNode_t
static int _wrap_new_uiButton(lua_State *L)
static swig_lua_const_info swig_uiImage_Sf_SwigStatic_constants[]
static void * _p_uiCheckBoxNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailableammo(uiBaseInventoryNode_t *self)
SWIGINTERN int SWIG_Lua_dostring(lua_State *L, const char *str)
static const char * swig_uiText2_base_names[]
static swig_lua_method swig_uiWindow_meta[]
SWIGINTERN void uiVideoNode_t_set_nosound(uiVideoNode_t *self, bool value)
SWIGINTERN void uiAbstractScrollableNode_t_movedown(uiAbstractScrollableNode_t *self)
SWIGINTERN void uiCheckBoxNode_t_set_iconchecked(uiCheckBoxNode_t *self, char const *name)
#define SWIGTYPE_p_uiSelectBoxNode_t
SWIGINTERN float uiNode_t_top(uiNode_t *self)
static int _wrap_uiWindow_on_windowopened_get(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_viewsize(uiBaseInventoryNode_t *self, int size)
static int _wrap_uiBar_direction(lua_State *L)
static swig_lua_namespace swig_uiOption_Sf_SwigStatic
static swig_lua_method swig_invDef_Sf_SwigStatic_methods[]
SWIGINTERN bool uiBaseInventoryNode_t_is_displayammo(uiBaseInventoryNode_t *self)
static int _wrap_uiRadioButton_as_string(lua_State *L)
static int _wrap_uiNode_on_wheelup_get(lua_State *L)
SWIGINTERN void uiNode_t_set_color(uiNode_t *self, float r, float g, float b, float a)
static swig_lua_const_info swig_uiBar_Sf_SwigStatic_constants[]
static int _wrap_uiWindow_is_modal(lua_State *L)
static int _wrap_UI_CreateButton(lua_State *L)
static int _wrap_create_text2(lua_State *L)
static swig_lua_attribute swig_uiZone_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_uiSpinner_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiTextList_bases[]
static int _wrap_new_uiText2(lua_State *L)
static swig_type_info _swigt__p_LUA_EVENT
static swig_lua_class _wrap_class_uiLineChart
static swig_type_info _swigt__p_cvar_t
static swig_cast_info _swigc__p_uiSequenceNode_t[]
static const char * swig_uiWindow_base_names[]
static int _wrap_uiModel_set_tag(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_lineheight(uiAbstractOptionNode_t *self, int value)
static swig_lua_class * swig_uiRadar_bases[]
static int _proxy__wrap_new_uiModel(lua_State *L)
#define SWIGTYPE_p_uiTabNode_t
static swig_lua_class * swig_uiString_bases[]
static int _wrap_uiNode_on_click_get(lua_State *L)
static swig_lua_attribute swig_uiOptionList_Sf_SwigStatic_attributes[]
static int _wrap_uiWindow_on_windowopened_set(lua_State *L)
SWIGINTERN void uiLineChartNode_t_set_axescolor(uiLineChartNode_t *self, float r, float g, float b, float a)
static int _wrap_getvar__SWIG_1(lua_State *L)
SWIGINTERN void uiTextNode_t_set_longlines(uiTextNode_t *self, int value)
static swig_lua_attribute swig_invDef_attributes[]
static swig_lua_class _wrap_class_uiGeoscape
static int _wrap_uiNode_set_size(lua_State *L)
static int _wrap_uiRadioButton_set_value__SWIG_0(lua_State *L)
SWIGINTERN void uiGeoscapeNode_t_zoomin(uiGeoscapeNode_t *self)
static swig_lua_class _wrap_class_uiRadioButton
SWIGINTERN void uiOptionNode_t_set_truncated(uiOptionNode_t *self, bool value)
static swig_lua_class * swig_uiRows_Sf_SwigStatic_classes[]
static swig_lua_attribute swig_uiWidget_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiSpinner_Sf_SwigStatic_classes[]
SWIGINTERN void uiNode_t_set_layoutalign(uiNode_t *self, int value)
#define SWIG_fail_arg(func_name, argnum, type)
static const char * swig_uiPanel_base_names[]
SWIGINTERN void uiSpinnerNode_t_set_mode(uiSpinnerNode_t *self, int mode)
static int _wrap_new_uiBar(lua_State *L)
static int _wrap_uiData_as_integer(lua_State *L)
static void * _p_uiSelectBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiText2_meta[]
static void swig_delete_uiNode(void *obj)
static swig_lua_attribute swig_uiGeoscape_attributes[]
#define SWIGRUNTIME
static const char * swig_uiBaseInventory_base_names[]
static swig_lua_class * swig_uiPanel_bases[]
static int _wrap_cvar_set_value(lua_State *L)
#define SWIGTYPE_p_uiSpinnerNode_t
static swig_type_info _swigt__p_uiBaseInventoryNode_t
SWIGINTERN void uiWindowNode_t_set_preventtypingescape(uiWindowNode_t *self, bool value)
static int _wrap_UI_CreateTab(lua_State *L)
static int _wrap_UI_CreateText2(lua_State *L)
static int _wrap_uiData_set_value(lua_State *L)
static swig_lua_attribute swig_uiString_attributes[]
SWIGINTERN void uiNode_t_set_font(uiNode_t *self, char const *name)
#define SWIG_Lua_get_table(L, n)
static int _wrap_uiAbstractValueNode_set_max__SWIG_0(lua_State *L)
static swig_lua_method swig_uiItem_meta[]
SWIGINTERN void uiNode_t_set_tooltip(uiNode_t *self, char const *text)
static int _wrap_uiAbstractScrollableNode_set_fullsize(lua_State *L)
static int _wrap_uiNode_set_top(lua_State *L)
static swig_lua_attribute swig_uiImage_Sf_SwigStatic_attributes[]
static swig_lua_const_info swig_uiText2_Sf_SwigStatic_constants[]
static int _wrap_uiBar_is_nohover(lua_State *L)
SWIGINTERN void uiTextNode_t_set_lineselected(uiTextNode_t *self, int line)
static int _wrap_uiData_as_float(lua_State *L)
static int _wrap_uiNode_set_backgroundcolor(lua_State *L)
static int _wrap_uiAbstractValueNode_set_value__SWIG_0(lua_State *L)
static int _wrap_uiAbstractOptionNode_set_fullsize(lua_State *L)
static swig_lua_class _wrap_class_uiPanel
static swig_cast_info _swigc__p_longlines_t[]
static swig_lua_method swig_uiAbstractScrollbarNode_Sf_SwigStatic_methods[]
static int _wrap_uiOptionTree_set_selectedvalue(lua_State *L)
static int _wrap_uiNode_on_rightclick_set(lua_State *L)
static int _wrap_uiNode_next(lua_State *L)
static int _wrap_uiSequence_set_source(lua_State *L)
SWIGINTERN bool uiModelNode_t_is_autoscale(uiModelNode_t *self)
static swig_lua_namespace swig_uiBaseLayout_Sf_SwigStatic
#define SWIG_RUNTIME_VERSION
static int _proxy__wrap_new_uiZone(lua_State *L)
static const char * swig_uiRadioButton_base_names[]
static swig_lua_method swig_uiWidget_methods[]
static swig_lua_method swig_uiCheckBox_methods[]
uiNode_t uiCheckBoxNode_t
SWIGINTERN void uiCheckBoxNode_t_set_iconunchecked(uiCheckBoxNode_t *self, char const *name)
static void * _p_uiTimerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_UI_CreateContainer(lua_State *L)
static void * _p_uiOptionNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_attribute swig_uiBaseLayout_attributes[]
static swig_lua_const_info swig_uiRadar_Sf_SwigStatic_constants[]
SWIGINTERN char * uiModelNode_t_model(uiModelNode_t *self)
SWIGRUNTIME void SWIG_TypeClientData(swig_type_info *ti, void *clientdata)
static swig_lua_method swig_uiZone_methods[]
static swig_lua_class * swig_uiTextList_Sf_SwigStatic_classes[]
static int _wrap_uiModel_tag(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_TypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
SWIGINTERN void uiModelNode_t_set_angles(uiModelNode_t *self, float a1, float a2, float a3)
SWIGINTERN float uiNode_t_left(uiNode_t *self)
static int _wrap_uiBaseLayout_set_baseid(lua_State *L)
SWIGINTERN void uiModelNode_t_set_scale(uiModelNode_t *self, float a1, float a2, float a3)
static swig_lua_namespace swig_invDef_Sf_SwigStatic
SWIGINTERN vec3_struct_t * uiModelNode_t_omega(uiModelNode_t *self)
SWIGINTERN bool uiTextEntryNode_t_is_password(uiTextEntryNode_t *self)
static swig_type_info _swigt__p_itemFilterTypes_t
static void uiWindowNode_t_lua_onWindowClosed_set(uiWindowNode_t *node, LUA_EVENT fn)
static int _wrap_uiBaseInventory_is_displayavailableontop(lua_State *L)
static swig_lua_class * swig_uiGeoscape_bases[]
static swig_cast_info _swigc__p_uiWidgetNode_t[]
SWIGINTERN int SWIG_Lua_class_do_get_item(lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
static int _wrap_uiBaseInventory_on_viewchange_get(lua_State *L)
static uiImageNode_t * UI_CreateImage(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN float uiRadioButtonNode_t_as_float(uiRadioButtonNode_t *self)
static void swig_delete_uiMessageList(void *obj)
static int _wrap_nodetree(lua_State *L)
#define SWIG_Lua_add_function(L, n, f)
static int _wrap_uiBar_set_nohover(lua_State *L)
static swig_lua_attribute swig_uiText_Sf_SwigStatic_attributes[]
static swig_cast_info _swigc__p_panelLayout_t[]
SWIGINTERN vec3_struct_t * uiModelNode_t_origin(uiModelNode_t *self)
uiNode_t uiWidgetNode_t
#define SWIGTYPE_p_vec2_struct_t
SWIGINTERN void uiOptionNode_t_set_value(uiOptionNode_t *self, char const *text)
SWIGRUNTIME char * SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
static swig_lua_method swig_uiAbstractOptionNode_methods[]
static swig_lua_method swig_uiSelectBox_methods[]
static void swig_delete_uiButton(void *obj)
static swig_cast_info _swigc__p_uiAbstractOptionNode_t[]
#define SWIG_AddCast(r)
static int _wrap_new_uiText(lua_State *L)
static swig_lua_attribute swig_uiConFunc_Sf_SwigStatic_attributes[]
SWIGINTERN void uiBaseInventoryNode_t_set_viewpos(uiBaseInventoryNode_t *self, int pos)
static int _wrap_uiBaseInventory_set_viewsize(lua_State *L)
static int _wrap_create_string(lua_State *L)
#define SWIG_LUA_CHAR
static swig_lua_class * swig_uiTimer_bases[]
static int _wrap_uiAbstractScrollableNode_movedown(lua_State *L)
static void swig_delete_uiAbstractScrollbarNode(void *obj)
static void swig_delete_uiRadioButton(void *obj)
static const char * swig_uiOptionTree_base_names[]
static int _wrap_uiNode_find(lua_State *L)
static swig_lua_attribute swig_uiNode_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiText_meta[]
static swig_type_info _swigt__p_uiGeoscapeNode_t
static int _proxy__wrap_new_uiText(lua_State *L)
static int _wrap_UI_CreateRows(lua_State *L)
static int _wrap_uiModel_set_mouserotate(lua_State *L)
static swig_lua_class * swig_uiImage_bases[]
static int _wrap_uiNode_on_loaded_get(lua_State *L)
SWIGINTERN bool uiSequenceNode_t_is_playing(uiSequenceNode_t *self)
static int _wrap_new_uiCheckBox(lua_State *L)
SWIGINTERN void uiModelNode_t_set_omega(uiModelNode_t *self, float a1, float a2, float a3)
static int _wrap_uiAbstractValueNode_max(lua_State *L)
static int _wrap_uiAbstractValueNode_set_range(lua_State *L)
static int _wrap_new_uiTextList(lua_State *L)
static int _wrap_uiWindow_is_fullscreen(lua_State *L)
static int _wrap_uiTBar_set_texl(lua_State *L)
static swig_lua_attribute swig_uiTextEntry_Sf_SwigStatic_attributes[]
SWIGINTERN void uiOptionNode_t_set_icon(uiOptionNode_t *self, char const *name)
static void swig_delete_uiRadar(void *obj)
static int _wrap_uiNode_set_disabledcolor(lua_State *L)
static swig_lua_attribute swig_uiVideo_Sf_SwigStatic_attributes[]
static uiOptionTreeNode_t * UI_CreateOptionTree(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiTextEntryNode_t_set_password(uiTextEntryNode_t *self, bool value)
SWIGINTERN char * uiModelNode_t_tag(uiModelNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_shiftmultiplier(uiAbstractValueNode_t *self, float value)
static int _wrap_get_window(lua_State *L)
static swig_lua_method swig_uiNode_Sf_SwigStatic_methods[]
static swig_cast_info _swigc__p_uiGeoscapeNode_t[]
SWIGINTERN void uiAbstractScrollableNode_t_set_viewpos(uiAbstractScrollableNode_t *self, int pos)
static swig_lua_method swig_uiPanel_meta[]
#define SWIGTYPE_p_uiTBarNode_t
static const char * swig_invDef_base_names[]
SWIGINTERN int uiTextEntryNode_t_cursorposition(uiTextEntryNode_t *self)
SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_1(uiAbstractValueNode_t *self, char const *name)
SWIGINTERN void uiBaseInventoryNode_t_set_displayavailableontop(uiBaseInventoryNode_t *self, bool value)
uiNode_t uiSequenceNode_t
static int _wrap_new_uiContainer(lua_State *L)
static int _wrap_uiNode_set_height(lua_State *L)
static int _wrap_uiData_set_value__SWIG_0(lua_State *L)
static swig_lua_attribute swig_uiTab_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_uiSelectBox_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiButton_Sf_SwigStatic_classes[]
static int _wrap_uiNode_root(lua_State *L)
static swig_lua_class * swig_uiLineChart_bases[]
static int _wrap_UI_CreateData(lua_State *L)
static int _wrap_uiNode_set_flashcolor(lua_State *L)
static swig_lua_method swig_uiRadioButton_Sf_SwigStatic_methods[]
static int _wrap_create_radar(lua_State *L)
static int _wrap_uiTextEntry_unfocus(lua_State *L)
SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *clss, const int metatable_index)
SWIGINTERN bool uiNode_t_is_window(uiNode_t *self)
static swig_lua_attribute swig_uiAbstractValueNode_Sf_SwigStatic_attributes[]
SWIGINTERN void uiWindowNode_t_set_modal(uiWindowNode_t *self, bool value)
#define SWIGTYPE_p_uiMessageListNode_t
static swig_lua_class * swig_uiOption_bases[]
static swig_lua_method swig_uiConFunc_Sf_SwigStatic_methods[]
static void * _p_uiRowsNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_uiTextNode_t[]
SWIGINTERN void uiTimerNode_t_set_timeout(uiTimerNode_t *self, int value)
static int _wrap_uiLineChart_clear(lua_State *L)
static swig_lua_class * swig_uiBaseInventory_bases[]
static swig_lua_attribute swig_uiSelectBox_attributes[]
#define SWIGTYPE_p_uiAbstractOptionNode_t
static int _wrap_new_uiTexture(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_value__SWIG_0(uiAbstractValueNode_t *self, float value)
static int _wrap_UI_CreateVScrollbar(lua_State *L)
static swig_cast_info _swigc__p_uiDataNode_t[]
static const char * swig_uiTBar_base_names[]
static swig_lua_attribute swig_uiSelectBox_Sf_SwigStatic_attributes[]
static int _wrap_uiPanel_set_background(lua_State *L)
static void * _p_uiConFuncNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiWidgetNode_tTo_p_uiImageNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods(lua_State *L)
SWIGINTERN void uiModelNode_t_set_model(uiModelNode_t *self, char const *name)
uiNode_t uiVideoNode_t
static int _wrap_uiAbstractValueNode_set_max(lua_State *L)
static const char * swig_uiSelectBox_base_names[]
static swig_lua_class * swig_uiVideo_Sf_SwigStatic_classes[]
static swig_lua_attribute swig_uiPanel_attributes[]
static void * _p_uiBaseLayoutNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiOptionTreeNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiRadioButton_set_flipicon(lua_State *L)
static swig_lua_class * swig_uiData_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiContainer_meta[]
static int _wrap_uiOption_is_truncated(lua_State *L)
static swig_lua_attribute swig_uiLineChart_Sf_SwigStatic_attributes[]
SWIGINTERN void uiNode_t_set_contentalign(uiNode_t *self, int value)
static swig_lua_namespace swig_uiTexture_Sf_SwigStatic
static const char * swig_cvar_base_names[]
static swig_lua_class * swig_cvar_Sf_SwigStatic_classes[]
static int _wrap_uiAbstractScrollbarNode_set_autoshowscroll(lua_State *L)
static swig_lua_attribute swig_uiBaseInventory_Sf_SwigStatic_attributes[]
static int _wrap_uiNode_set_font(lua_State *L)
static swig_lua_namespace swig_uiZone_Sf_SwigStatic
SWIGINTERN void uiTextNode_t_set_lineheight(uiTextNode_t *self, int value)
SWIGRUNTIME const char * SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name)
static int _wrap_uiOption_set_icon(lua_State *L)
SWIGINTERN void uiWindowNode_t_set_fill(uiWindowNode_t *self, bool value)
static swig_lua_attribute swig_uiImage_attributes[]
static swig_module_info swig_module
static void swig_delete_uiTextList(void *obj)
SWIGINTERN void uiAbstractOptionNode_t_set_fullsize(uiAbstractOptionNode_t *self, int size)
static swig_lua_namespace swig_uiTimer_Sf_SwigStatic
static swig_lua_attribute swig_uiLineChart_attributes[]
static swig_lua_attribute swig_uiMessageList_attributes[]
static swig_lua_class _wrap_class_uiRows
static int _proxy__wrap_new_uiSequence(lua_State *L)
static int _wrap_uiNode_on_activate_get(lua_State *L)
static int _proxy__wrap_new_uiText2(lua_State *L)
static swig_lua_method swig_uiNode_meta[]
SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailable(uiBaseInventoryNode_t *self, bool value)
uiNode_t uiConFuncNode_t
static swig_lua_method swig_invDef_meta[]
static int _wrap_create_tab(lua_State *L)
static swig_lua_method swig_uiData_methods[]
SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_1(uiAbstractValueNode_t *self, char const *min)
static uiTabNode_t * UI_CreateTab(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiNode_on_mouseenter_set(lua_State *L)
static swig_lua_class * swig_uiText_Sf_SwigStatic_classes[]
static LUA_EVENT uiWindowNode_t_lua_onWindowActivate_get(uiWindowNode_t *node)
static swig_type_info _swigt__p_uiAbstractScrollbarNode_t
static swig_lua_method swig_uiRows_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiSpinner_methods[]
static const char * swig_uiString_base_names[]
uiNode_t uiText2Node_t
static swig_lua_method swig_uiAbstractOptionNode_Sf_SwigStatic_methods[]
static int _proxy__wrap_new_uiVideo(lua_State *L)
static int _wrap_uiNode_is_virtual(lua_State *L)
static swig_lua_method swig_uiWindow_methods[]
static int _wrap_new_invDef(lua_State *L)
static swig_type_info _swigt__p_uiOptionNode_t
static int _wrap_uiCheckBox_set_iconunchecked(lua_State *L)
static swig_lua_class * swig_uiContainer_Sf_SwigStatic_classes[]
static swig_cast_info _swigc__p_itemFilterTypes_t[]
static swig_lua_namespace swig_uiTextEntry_Sf_SwigStatic
static int _wrap_UI_CreateString(lua_State *L)
#define SWIGTYPE_p_uiTextListNode_t
static int _wrap_uiTBar_set_source(lua_State *L)
static int _wrap_uiNode_text(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayweaponammo(uiBaseInventoryNode_t *self, bool value)
SWIGINTERN void uiNode_t_set_flashing(uiNode_t *self, bool value)
static const char * swig_uiMessageList_base_names[]
static swig_lua_namespace swig_uiBaseInventory_Sf_SwigStatic
SWIGINTERN LUA_METHOD uiNode_t___getitem(uiNode_t *self, char const *name)
SWIGINTERN void uiModelNode_t_set_origin(uiModelNode_t *self, float a1, float a2, float a3)
static void * _p_uiTextEntryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_1(uiRadioButtonNode_t *self, float value)
static swig_lua_namespace swig_uiLineChart_Sf_SwigStatic
static swig_lua_const_info swig_uiAbstractScrollbarNode_Sf_SwigStatic_constants[]
#define SWIG_SetModule(clientdata, pointer)
static swig_cast_info _swigc__p_uiTextureNode_t[]
static void * _p_uiItemNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _proxy__wrap_new_uiImage(lua_State *L)
static swig_cast_info _swigc__p_uiTBarNode_t[]
static swig_lua_method swig_uiBaseInventory_meta[]
#define SWIGTYPE_p_uiVScrollBarNode_t
static swig_lua_method swig_uiRadioButton_meta[]
SWIGINTERN bool uiAbstractScrollbarNode_t_is_autoshowscroll(uiAbstractScrollbarNode_t *self)
SWIGINTERN void uiAbstractOptionNode_t_set_cvar(uiAbstractOptionNode_t *self, char const *name)
static int _wrap_cvar_as_string(lua_State *L)
#define SWIGTYPE_p_uiContainerNode_t
static int _wrap_uiVideo_lua_onEnd_get(lua_State *L)
static swig_lua_method swig_uiAbstractValueNode_meta[]
static uiText2Node_t * UI_CreateText2(uiNode_t *parent, const char *name, const char *super)
static int _wrap_create_option(lua_State *L)
static swig_cast_info _swigc__p_uiConFuncNode_t[]
static int _wrap_uiCheckBox_set_iconchecked(lua_State *L)
static LUA_EVENT uiSequenceNode_t_lua_onEnd_get(uiSequenceNode_t *node)
static swig_lua_class * swig_uiAbstractOptionNode_Sf_SwigStatic_classes[]
static uiButtonNode_t * UI_CreateButton(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiPanelNode_t_set_layoutmargin(uiPanelNode_t *self, int value)
#define SWIGUNUSEDPARM(p)
static int _wrap_uiWindow_set_modal(lua_State *L)
static swig_lua_class * swig_uiBar_Sf_SwigStatic_classes[]
static int _wrap_new_uiBaseInventory(lua_State *L)
static int _wrap_uiText_set_tabwidth(lua_State *L)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayavailableontop(uiBaseInventoryNode_t *self)
static swig_lua_namespace swig_uiWindow_Sf_SwigStatic
static swig_lua_class _wrap_class_uiText2
static int _wrap_uiButton_set_background(lua_State *L)
SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_1(uiAbstractValueNode_t *self, char const *max)
static swig_lua_attribute swig_uiString_Sf_SwigStatic_attributes[]
static void * _p_uiVScrollBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiCheckBoxNode_t_toggle(uiCheckBoxNode_t *self)
static swig_lua_namespace swig_uiPanel_Sf_SwigStatic
static swig_lua_class * swig_uiOptionTree_bases[]
static int _wrap_uiAbstractOptionNode_set_background(lua_State *L)
static swig_lua_class _wrap_class_uiTextList
SWIGINTERN void uiRowsNode_t_set_lineheight(uiRowsNode_t *self, int value)
SWIGINTERN void uiLineChartNode_t_set_showaxes(uiLineChartNode_t *self, bool value)
static swig_lua_class _wrap_class_uiString
static swig_type_info _swigt__p_uiItemNode_t
static swig_lua_method swig_cvar_methods[]
static swig_lua_class _wrap_class_uiTab
static swig_lua_const_info swig_uiPanel_Sf_SwigStatic_constants[]
static swig_lua_class * swig_SwigModule_classes[]
static const char * swig_uiAbstractScrollableNode_base_names[]
static swig_type_info _swigt__p_uiText2Node_t
SWIGRUNTIME swig_type_info * SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr)
static swig_lua_class * swig_uiWindow_Sf_SwigStatic_classes[]
SWIGRUNTIME swig_module_info * SWIG_Lua_GetModule(lua_State *L)
static swig_lua_const_info swig_uiBaseLayout_Sf_SwigStatic_constants[]
static void swig_delete_uiContainer(void *obj)
static swig_lua_class * swig_uiOptionList_bases[]
static swig_lua_attribute swig_uiVScrollbar_attributes[]
#define SWIGUNUSED
static swig_cast_info _swigc__p_uiPanelNode_t[]
static swig_lua_method swig_uiOption_meta[]
static swig_lua_class * swig_uiLineChart_Sf_SwigStatic_classes[]
static int _wrap_uiSpinner_set_inverted(lua_State *L)
static void swig_delete_uiWidget(void *obj)
static swig_lua_class * swig_uiText2_Sf_SwigStatic_classes[]
static int _wrap_uiTimer_timeout(lua_State *L)
static int _wrap_new_uiOption(lua_State *L)
static swig_lua_method swig_uiSelectBox_Sf_SwigStatic_methods[]
static void uiContainerNode_t_lua_onSelect_set(uiContainerNode_t *node, LUA_EVENT fn)
#define lua_rawsetp(L, index, ptr)
uiNode_t uiButtonNode_t
static const char * swig_uiAbstractValueNode_base_names[]
static int _wrap_uiCheckBox_toggle(lua_State *L)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayweapon(uiBaseInventoryNode_t *self)
static int _wrap_uiNode_set_color(lua_State *L)
SWIGINTERN bool uiNode_t_is_virtual(uiNode_t *self)
static swig_lua_attribute swig_uiAbstractScrollbarNode_attributes[]
SWIGRUNTIME void SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata)
static swig_type_info _swigt__p_LUA_METHOD
static int _wrap_uiString_set_longlines(lua_State *L)
SWIGINTERN int uiNode_t_padding(uiNode_t *self)
static int _proxy__wrap_new_uiBar(lua_State *L)
static swig_type_info _swigt__p_uiRadioButtonNode_t
static swig_lua_method swig_uiVideo_meta[]
static int _wrap_uiOption_is_flipicion(lua_State *L)
SWIGINTERN char * uiModelNode_t_skin(uiModelNode_t *self)
static swig_lua_class * swig_uiAbstractValueNode_bases[]
static void * _p_uiVideoNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_const_info swig_uiAbstractOptionNode_Sf_SwigStatic_constants[]
static int _wrap_new_uiNode(lua_State *L)
static int _wrap_uiWindow_set_fill(lua_State *L)
uiNode_t uiItemNode_t
static swig_type_info _swigt__p_align_t
static int _wrap_uiAbstractValueNode_set_value(lua_State *L)
static swig_lua_method swig_uiVideo_methods[]
static swig_lua_method swig_uiAbstractScrollbarNode_meta[]
static int _wrap_uiImage_texh(lua_State *L)
static int _wrap_UI_CreateRadioButton(lua_State *L)
static LUA_EVENT uiTimerNode_t_lua_onEvent_get(uiTimerNode_t *node)
SWIGINTERN void uiTBarNode_t_set_texh(uiTBarNode_t *self, float v1, float v2)
static swig_lua_class _wrap_class_uiTextEntry
SWIGRUNTIME int SWIG_TypeCmp(const char *nb, const char *tb)
static int _wrap_UI_CreateCheckBox(lua_State *L)
static swig_cast_info _swigc__p_uiWindowNode_t[]
static int _wrap_UI_CreateBar(lua_State *L)
SWIGINTERN int uiBaseInventoryNode_t_columns(uiBaseInventoryNode_t *self)
SWIGRUNTIME const char * SWIG_UnpackData(const char *c, void *ptr, size_t sz)
static swig_lua_class * swig_uiWidget_Sf_SwigStatic_classes[]
static swig_lua_class _wrap_class_uiWindow
static void * _p_uiTabNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiModel_meta[]
static const char * swig_uiTextEntry_base_names[]
static int _wrap_uiOption_label(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_last(uiNode_t *self)
SWIGINTERN void uiDataNode_t_set_valuef(uiDataNode_t *self, float value)
static swig_lua_class _wrap_class_uiTBar
#define SWIGTYPE_p_uiBaseLayoutNode_t
static swig_lua_attribute swig_uiButton_Sf_SwigStatic_attributes[]
static int _wrap_UI_CreateGeoscape(lua_State *L)
SWIGINTERN char * invDef_t_name(invDef_t *self)
static int _proxy__wrap_new_uiRows(lua_State *L)
static swig_lua_namespace swig_uiAbstractScrollbarNode_Sf_SwigStatic
static swig_lua_method swig_uiAbstractScrollbarNode_methods[]
SWIGINTERN vec2_struct_t * uiImageNode_t_texh(uiImageNode_t *self)
static int _wrap_uiTextEntry_on_textabort_get(lua_State *L)
SWIGINTERN int uiAbstractScrollableNode_t_viewsize(uiAbstractScrollableNode_t *self)
SWIGINTERN void uiNode_t_set_width(uiNode_t *self, float value)
static swig_lua_method swig_uiConFunc_meta[]
static swig_lua_method swig_uiTab_Sf_SwigStatic_methods[]
#define SWIGTYPE_p_uiDataNode_t
static swig_cast_info _swigc__p_uiText2Node_t[]
static int _wrap_uiNode_on_click_set(lua_State *L)
static int _wrap_uiPanel_layout(lua_State *L)
static void * _p_uiRadarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static void * _p_uiTBarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiNode_t_set_top(uiNode_t *self, float value)
static int _wrap_uiOption_set_value(lua_State *L)
static swig_lua_class * swig_uiBaseLayout_Sf_SwigStatic_classes[]
SWIGINTERN void uiAbstractScrollableNode_t_pageup(uiAbstractScrollableNode_t *self)
SWIGINTERN void SWIG_Lua_get_inheritable_metamethods(lua_State *L)
static int _wrap_uiAbstractScrollableNode_on_viewchange_set(lua_State *L)
static swig_lua_class _wrap_class_uiSelectBox
static swig_lua_method swig_uiTexture_Sf_SwigStatic_methods[]
static swig_cast_info _swigc__p_vec2_struct_t[]
static int _proxy__wrap_new_cvar(lua_State *L)
static swig_lua_method swig_uiSequence_Sf_SwigStatic_methods[]
static swig_lua_class * swig_uiAbstractScrollbarNode_bases[]
static int _wrap_uiSpinner_is_horizontal(lua_State *L)
SWIGINTERN bool uiButtonNode_t_flipicon(uiButtonNode_t *self)
static swig_lua_class * swig_uiSequence_bases[]
SWIGINTERN void uiNode_t_remove_children(uiNode_t *self)
static int _wrap_uiImage_is_mousefx(lua_State *L)
static int _wrap_findvar(lua_State *L)
static swig_type_info _swigt__p_uiBaseLayoutNode_t
static int _proxy__wrap_new_uiData(lua_State *L)
static void swig_delete_uiSelectBox(void *obj)
static void swig_delete_uiAbstractOptionNode(void *obj)
static const char * swig_uiContainer_base_names[]
static swig_type_info _swigt__p_uiVideoNode_t
static int _wrap_UI_CreateTextList(lua_State *L)
static int _wrap_uiAbstractScrollableNode_viewpos(lua_State *L)
SWIGINTERN void uiButtonNode_t_set_icon(uiButtonNode_t *self, char const *name)
static int _wrap_delvar(lua_State *L)
SWIGINTERN void uiSpinnerNode_t_set_bottomicon(uiSpinnerNode_t *self, char const *name)
static int _wrap_uiTextEntry_is_clickoutabort(lua_State *L)
static int _wrap_uiNode_bordersize(lua_State *L)
static int _wrap_new_uiTextEntry(lua_State *L)
SWIGINTERN void uiTextEntryNode_t_unfocus(uiTextEntryNode_t *self)
static int _wrap_uiBaseInventory_is_displayweaponammo(lua_State *L)
static int _wrap_new_uiWindow(lua_State *L)
static swig_lua_const_info swig_uiMessageList_Sf_SwigStatic_constants[]
static int _wrap_push_window(lua_State *L)
static swig_lua_namespace swig_uiRows_Sf_SwigStatic
SWIGINTERN float uiAbstractValueNode_t_delta(uiAbstractValueNode_t *self)
SWIGINTERN void SWIG_Lua_add_variable(lua_State *L, const char *name, lua_CFunction getFn, lua_CFunction setFn)
static swig_cast_info _swigc__p_uiAbstractValueNode_t[]
static swig_lua_attribute swig_uiBar_attributes[]
static swig_lua_namespace * swig_SwigModule_namespaces[]
static int _wrap_uiAbstractScrollbarNode_current(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_viewsize(uiAbstractOptionNode_t *self, int size)
static swig_lua_class * swig_uiRadar_Sf_SwigStatic_classes[]
#define SWIGTYPE_p_uiItemNode_t
static int _wrap_UI_CreateImage(lua_State *L)
static void * _p_uiTextListNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
#define SWIG_check_num_args(func_name, a, b)
static int _wrap_uiText_set_dataid(lua_State *L)
SWIGINTERN void uiBaseLayoutNode_t_set_baseid(uiBaseLayoutNode_t *self, int value)
static swig_lua_attribute swig_uiWindow_Sf_SwigStatic_attributes[]
SWIGINTERN void uiWindowNode_t_set_noticepos(uiWindowNode_t *self, float x, float y)
static int _wrap_uiNode_is_disabled(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayimplant(uiBaseInventoryNode_t *self, bool value)
#define SWIGTYPE_p_invDef_t
SWIGINTERN float uiNode_t_height(uiNode_t *self)
static void swig_delete_uiTextEntry(void *obj)
SWIGRUNTIME void SWIG_InitializeModule(void *clientdata)
SWIGINTERN int uiDataNode_t_as_integer(uiDataNode_t *self)
SWIGINTERN void uiGeoscapeNode_t_set_paddingright(uiGeoscapeNode_t *self, int value)
static swig_lua_attribute swig_uiText_attributes[]
SWIGINTERN void uiAbstractOptionNode_t_set_current(uiAbstractOptionNode_t *self, int pos)
static int _proxy__wrap_new_uiItem(lua_State *L)
uiNode_t uiVScrollBarNode_t
static swig_lua_const_info swig_uiModel_Sf_SwigStatic_constants[]
#define SWIG_LUA_CONSTTAB_INT(B, C)
static int _wrap_uiNode_is_flashing(lua_State *L)
static int _wrap_create_spinner(lua_State *L)
static swig_type_info _swigt__p_uiImageNode_t
static int _wrap_invDef_name(lua_State *L)
static int _wrap_uiButton_set_flipicon(lua_State *L)
static int _wrap_uiOption_count(lua_State *L)
static int _wrap_uiAbstractValueNode_set_range__SWIG_1(lua_State *L)
SWIGINTERN int SWIG_Lua_namespace_get(lua_State *L)
uiNode_t uiStringNode_t
static int _wrap_uiNode_add_classmethod(lua_State *L)
static const char * swig_uiLineChart_base_names[]
static uiBaseLayoutNode_t * UI_CreateBaseLayout(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN float uiAbstractValueNode_t_value(uiAbstractValueNode_t *self)
static void swig_delete_uiItem(void *obj)
static swig_lua_namespace swig_cvar_Sf_SwigStatic
static int _wrap_uiNode_on_mouseleave_set(lua_State *L)
static void * _p_uiModelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN bool uiNode_t_is_disabled(uiNode_t *self)
static int _wrap_UI_CreateSequence(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...
static swig_lua_class * swig_uiNode_Sf_SwigStatic_classes[]
static int _wrap_uiAbstractValueNode_set_range__SWIG_0(lua_State *L)
uiNode_t uiOptionTreeNode_t
static swig_lua_class _wrap_class_uiTexture
static swig_lua_method swig_uiSpinner_meta[]
static swig_type_info _swigt__p_uiRadarNode_t
static int _proxy__wrap_new_uiTexture(lua_State *L)
static const char * swig_uiTimer_base_names[]
static void * _p_uiSelectBoxNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_0(uiAbstractValueNode_t *self, float min, float max)
static swig_type_info _swigt__p_panelLayout_t
static int _wrap_UI_CreateBaseInventory(lua_State *L)
static swig_lua_class _wrap_class_uiData
static swig_lua_namespace swig_uiAbstractOptionNode_Sf_SwigStatic
SWIGINTERN int SWIG_Lua_class_get(lua_State *L)
SWIGRUNTIME int SWIG_Lua_type(lua_State *L)
static int _wrap_new_uiBaseLayout(lua_State *L)
SWIGINTERN void uiTBarNode_t_set_source(uiTBarNode_t *self, char const *name)
static int _wrap_uiAbstractOptionNode_set_lineheight(lua_State *L)
SWIGINTERN void SWIG_Lua_namespace_register(lua_State *L, swig_lua_namespace *ns, int reg)
static swig_lua_attribute swig_uiTab_attributes[]
static swig_cast_info _swigc__p_align_t[]
static int _wrap_uiNode_on_keyreleased_get(lua_State *L)
#define SWIGTYPE_p_uiVideoNode_t
static int _wrap_uiZone_set_repeat(lua_State *L)
SWIGINTERN char const * uiNode_t_name(uiNode_t *self)
SWIGINTERN void uiTextEntryNode_t_set_background(uiTextEntryNode_t *self, char const *name)
static int _wrap_uiBaseInventory_viewpos(lua_State *L)
static int _wrap_uiNode_on_keypressed_get(lua_State *L)
uiNode_t uiAbstractValueNode_t
static swig_lua_attribute swig_uiConFunc_attributes[]
static swig_lua_method swig_uiConFunc_methods[]
static int _wrap_uiNode_on_middleclick_set(lua_State *L)
#define SWIGTYPE_p_uiOptionNode_t
SWIGINTERN vec3_struct_t * uiModelNode_t_angles(uiModelNode_t *self)
SWIGINTERN int uiAbstractScrollableNode_t_viewpos(uiAbstractScrollableNode_t *self)
static int _wrap_create_checkbox(lua_State *L)
#define SWIGTYPE_p_uiRowsNode_t
static swig_cast_info _swigc__p_LUA_EVENT[]
#define SWIGTYPE_p_uiTimerNode_t
SWIGINTERN void uiBarNode_t_set_nohover(uiBarNode_t *self, bool value)
SWIGINTERN void SWIG_Lua_get_class_registry(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_icon(uiRadioButtonNode_t *self, char const *name)
static int _wrap_uiModel_model(lua_State *L)
static int _wrap_uiText_lineheight(lua_State *L)
#define SWIGTYPE_p_uiAbstractScrollableNode_t
SWIGINTERN void SWIG_Lua_add_class_static_details(lua_State *L, swig_lua_class *clss)
SWIGINTERN void uiAbstractScrollableNode_t_moveup(uiAbstractScrollableNode_t *self)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayunavailable(uiBaseInventoryNode_t *self)
static int _proxy__wrap_new_uiTBar(lua_State *L)
static swig_lua_class * swig_uiBaseLayout_bases[]
static swig_type_info _swigt__p_uiAbstractScrollableNode_t
luaL_Reg swig_lua_method
static int _wrap_uiAbstractScrollableNode_on_viewchange_get(lua_State *L)
SWIGINTERN void uiTextNode_t_set_dataid(uiTextNode_t *self, int id)
static int _wrap_uiPanel_set_layoutmargin(lua_State *L)
static int _proxy__wrap_new_uiGeoscape(lua_State *L)
static int _wrap_uiModel_set_omega(lua_State *L)
static void * _p_uiZoneNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_invDef_Sf_SwigStatic_classes[]
static swig_lua_class _wrap_class_uiSequence
static void * _p_uiRadioButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiNode_is_function(lua_State *L)
static int _wrap_create_image(lua_State *L)
SWIGINTERN void uiAbstractOptionNode_t_set_dataid(uiAbstractOptionNode_t *self, int id)
static swig_lua_attribute swig_uiOptionTree_Sf_SwigStatic_attributes[]
static swig_type_info _swigt__p_uiOptionListNode_t
static int _wrap_create_video(lua_State *L)
static int _proxy__wrap_new_uiOptionList(lua_State *L)
static int _wrap_uiAbstractScrollableNode_moveend(lua_State *L)
static void swig_delete_uiLineChart(void *obj)
uiNode_t uiTabNode_t
static swig_lua_method swig_uiItem_methods[]
static swig_lua_const_info swig_uiTab_Sf_SwigStatic_constants[]
static int _wrap_uiTextEntry_on_textabort_set(lua_State *L)
static swig_lua_class * swig_uiWindow_bases[]
static const char * swig_uiNode_base_names[]
static swig_lua_class _wrap_class_uiAbstractScrollbarNode
static void * _p_uiCheckBoxNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiNode
SWIGINTERN void uiNode_t_set_invisible(uiNode_t *self, bool value)
static swig_lua_class _wrap_class_uiImage
static swig_type_info _swigt__p_vec2_struct_t
static int _wrap_uiBaseInventory_columns(lua_State *L)
static swig_lua_method swig_uiWidget_Sf_SwigStatic_methods[]
static swig_lua_class * swig_uiTexture_bases[]
#define SWIG_NewPointerObj(L, ptr, type, owner)
static int _wrap_UI_CreateSpinner(lua_State *L)
static swig_lua_namespace swig_uiText2_Sf_SwigStatic
static int _wrap_uiAbstractOptionNode_set_cvar(lua_State *L)
static swig_lua_class _wrap_class_uiOptionTree
#define SWIGINTERN
static int _wrap_uiAbstractScrollbarNode_set_fullsize(lua_State *L)
static int _wrap_uiRadioButton_set_icon(lua_State *L)
SWIGINTERN void SWIG_Lua_AddMetatable(lua_State *L, swig_type_info *type)
SWIGINTERN void uiLineChartNode_t_clear(uiLineChartNode_t *self)
static int _wrap_create_confunc(lua_State *L)
static swig_lua_method swig_uiRadar_methods[]
static int _wrap_uiNode_is_ghost(lua_State *L)
static swig_cast_info _swigc__p_uiTextListNode_t[]
SWIGINTERN void uiCheckBoxNode_t_set_background(uiCheckBoxNode_t *self, char const *name)
static int _wrap_uiBaseInventory_set_displayavailableontop(lua_State *L)
static swig_type_info _swigt__p_uiMessageListNode_t
SWIGINTERN int uiBaseInventoryNode_t_fullsize(uiBaseInventoryNode_t *self)
static int _wrap_create_baselayout(lua_State *L)
static swig_lua_method swig_uiData_Sf_SwigStatic_methods[]
static int _wrap_uiBaseInventory_set_displayunavailableammo(lua_State *L)
static void * _p_uiMessageListNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiNode_left(lua_State *L)
static int _wrap_uiNode_set_tooltip(lua_State *L)
static int _wrap_uiAbstractScrollbarNode_set_current(lua_State *L)
static int _wrap_uiAbstractOptionNode_set_viewsize(lua_State *L)
static swig_cast_info _swigc__p_uiOptionTreeNode_t[]
uiNode_t uiWindowNode_t
static uiBarNode_t * UI_CreateBar(uiNode_t *parent, const char *name, const char *super)
static const char * swig_uiSequence_base_names[]
static uiTextNode_t * UI_CreateText(uiNode_t *parent, const char *name, const char *super)
static int _wrap_UI_CreateWindow(lua_State *L)
static swig_lua_method swig_uiMessageList_Sf_SwigStatic_methods[]
static int _proxy__wrap_new_uiRadioButton(lua_State *L)
static int _wrap_UI_CreateRadar(lua_State *L)
static int _wrap_create_rows(lua_State *L)
static int _proxy__wrap_new_uiNode(lua_State *L)
static int _wrap_uiVideo_is_nosound(lua_State *L)
SWIGRUNTIME swig_type_info * SWIG_MangledTypeQueryModule(swig_module_info *start, swig_module_info *end, const char *name)
static int _wrap_uiImage_set_texl(lua_State *L)
static const char * swig_uiSpinner_base_names[]
static void * _p_uiAbstractScrollbarNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_const_info swig_SwigModule_constants[]
static swig_lua_const_info swig_uiString_Sf_SwigStatic_constants[]
static const char * swig_uiTexture_base_names[]
static swig_lua_method swig_uiOptionTree_meta[]
static swig_lua_method swig_uiWidget_meta[]
static swig_lua_method swig_uiContainer_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractOptionNode_count(lua_State *L)
static swig_type_info _swigt__p_layoutAlign_t
static swig_lua_method swig_uiLineChart_meta[]
SWIGINTERN char * cvar_t_name(cvar_t *self)
static swig_lua_attribute swig_uiGeoscape_Sf_SwigStatic_attributes[]
SWIGINTERN void uiAbstractScrollableNode_t_set_fullsize(uiAbstractScrollableNode_t *self, int size)
static int _wrap_cvar_as_integer(lua_State *L)
static int _wrap_uiRows_set_current(lua_State *L)
static int _wrap_uiRows_lineheight(lua_State *L)
SWIGINTERN char const * uiNode_t_type(uiNode_t *self)
static void uiSequenceNode_t_lua_onEnd_set(uiSequenceNode_t *node, LUA_EVENT fn)
static int _wrap_uiBaseInventory_is_displayammo(lua_State *L)
static swig_type_info _swigt__p_uiSpinnerNode_t
static swig_lua_namespace swig_uiTab_Sf_SwigStatic
#define SWIGTYPE_p_uiStringNode_t
uiNode_t uiAbstractScrollbarNode_t
SWIGINTERN void SWIG_Lua_class_register(lua_State *L, swig_lua_class *clss)
SWIGINTERN void uiAbstractScrollableNode_t_movehome(uiAbstractScrollableNode_t *self)
SWIGRUNTIME void SWIG_Lua_NewPointerObj(lua_State *L, void *ptr, swig_type_info *type, int own)
static int _wrap_uiModel_set_origin(lua_State *L)
static swig_lua_namespace swig_uiGeoscape_Sf_SwigStatic
SWIGRUNTIME const char * SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name)
static swig_lua_namespace swig_uiAbstractScrollableNode_Sf_SwigStatic
static swig_lua_method swig_uiButton_Sf_SwigStatic_methods[]
static swig_lua_attribute swig_cvar_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_uiRows_attributes[]
static swig_lua_namespace swig_uiContainer_Sf_SwigStatic
SWIGINTERN void uiNode_t_set_image(uiNode_t *self, char const *name)
SWIGINTERN int SWIG_Lua_set_immutable(lua_State *L)
static void swig_delete_uiVideo(void *obj)
static swig_lua_class * swig_uiZone_bases[]
static swig_type_info * swig_types[57]
static int _wrap_create_timer(lua_State *L)
static int _wrap_uiNode_contentalign(lua_State *L)
SWIGINTERN int uiAbstractScrollableNode_t_fullsize(uiAbstractScrollableNode_t *self)
static swig_lua_method swig_uiTBar_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractValueNode_dec_value(lua_State *L)
SWIGINTERN void uiAbstractScrollbarNode_t_set_autoshowscroll(uiAbstractScrollbarNode_t *self, bool value)
SWIGINTERN void uiWindowNode_t_set_closebutton(uiWindowNode_t *self, bool value)
static void * _p_uiButtonNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiRadioButton_as_float(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayweapon(uiBaseInventoryNode_t *self, bool value)
static int _wrap_uiNode_on_mouseenter_get(lua_State *L)
static swig_lua_class * swig_uiCheckBox_bases[]
static swig_lua_class * swig_uiAbstractScrollableNode_Sf_SwigStatic_classes[]
#define SWIG_POINTER_NO_NULL
static int _wrap_uiNode_font(lua_State *L)
static void * _p_uiAbstractScrollableNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_create_container(lua_State *L)
SWIGINTERN void uiNode_t_insert_node(uiNode_t *self, uiNode_t *node, uiNode_t *prev)
#define SWIGTYPE_p_uiAbstractValueNode_t
static swig_lua_namespace swig_uiOptionTree_Sf_SwigStatic
SWIGINTERN char * uiOptionNode_t_label(uiOptionNode_t *self)
static swig_lua_class * swig_uiConFunc_bases[]
static int _wrap_create_messagelist(lua_State *L)
SWIGINTERN void uiCheckBoxNode_t_set_iconunknown(uiCheckBoxNode_t *self, char const *name)
static int _wrap_create_item(lua_State *L)
static int _proxy__wrap_new_uiVScrollbar(lua_State *L)
static swig_cast_info _swigc__p_uiVideoNode_t[]
#define lua_absindex(L, i)
#define SWIG_LUA_FLOAT
static int _wrap_cvar_set_value__SWIG_1(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayunavailableammo(uiBaseInventoryNode_t *self, bool value)
SWIGINTERN bool uiVideoNode_t_is_nosound(uiVideoNode_t *self)
static swig_lua_const_info swig_uiOptionTree_Sf_SwigStatic_constants[]
static void * _p_uiBaseInventoryNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_method swig_uiNode_methods[]
static int _wrap_create_model(lua_State *L)
static swig_lua_method swig_uiOptionTree_Sf_SwigStatic_methods[]
SWIGINTERN void uiImageNode_t_set_source(uiImageNode_t *self, char const *name)
static int _wrap_uiGeoscape_zoomin(lua_State *L)
static uiTextureNode_t * UI_CreateTexture(uiNode_t *parent, const char *name, const char *super)
static const char * swig_uiModel_base_names[]
static int _wrap_create_baseinventory(lua_State *L)
static int _wrap_uiNode_width(lua_State *L)
static swig_lua_method swig_invDef_methods[]
static int _wrap_uiModel_set_animation(lua_State *L)
uiNode_t uiRadarNode_t
SWIGINTERN void uiZoneNode_t_set_clickdelay(uiZoneNode_t *self, int value)
static int _wrap_uiWindow_close(lua_State *L)
static void * _p_uiWindowNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int SWIG_Lua_add_namespace_details(lua_State *L, swig_lua_namespace *ns)
SWIGINTERN int uiAbstractOptionNode_t_viewsize(uiAbstractOptionNode_t *self)
static void * _p_uiWidgetNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiContainer
#define SWIGTYPE_p_uiTextureNode_t
#define SWIGTYPE_p_uiBarNode_t
static int _wrap_nodepath(lua_State *L)
static swig_lua_namespace swig_uiConFunc_Sf_SwigStatic
static void * _p_uiContainerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class _wrap_class_uiZone
static int _wrap_uiBaseInventory_is_displayweapon(lua_State *L)
static swig_lua_method swig_uiAbstractValueNode_Sf_SwigStatic_methods[]
static int _wrap_uiBaseInventory_viewsize(lua_State *L)
static int _wrap_getvar__SWIG_3(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_methods[]
static int _wrap_create_window(lua_State *L)
SWIGINTERN void uiSpinnerNode_t_set_inverted(uiSpinnerNode_t *self, bool value)
#define SWIG_NullReferenceError
static swig_lua_method swig_uiString_Sf_SwigStatic_methods[]
SWIGINTERN void uiNode_t_set_flashspeed(uiNode_t *self, float value)
static swig_lua_const_info swig_uiAbstractScrollableNode_Sf_SwigStatic_constants[]
SWIGINTERN vec2_struct_t * uiTBarNode_t_texh(uiTBarNode_t *self)
static void * _p_uiTabNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiConFunc_Sf_SwigStatic_classes[]
static swig_lua_const_info swig_uiRadioButton_Sf_SwigStatic_constants[]
SWIGRUNTIMEINLINE const char * SWIG_TypeName(const swig_type_info *ty)
static int _wrap_uiNode_on_activate_set(lua_State *L)
SWIGINTERN bool uiImageNode_t_is_keepratio(uiImageNode_t *self)
static swig_cast_info _swigc__p_uiNode_t[]
SWIGINTERN char * uiOptionNode_t_value(uiOptionNode_t *self)
SWIGINTERN int uiAbstractScrollbarNode_t_fullsize(uiAbstractScrollbarNode_t *self)
static swig_lua_method swig_uiTextEntry_meta[]
static int _wrap_uiPanel_set_wheelscrollable(lua_State *L)
#define SWIGTYPE_p_cvar_t
static const char * swig_uiCheckBox_base_names[]
static int _wrap_uiTextEntry_set_clickoutabort(lua_State *L)
static int _wrap_UI_CreateTBar(lua_State *L)
SWIGINTERN char const * uiNode_t_font(uiNode_t *self)
static swig_lua_method swig_uiBar_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiOptionList_Sf_SwigStatic_methods[]
#define SWIGTYPE_p_uiBaseInventoryNode_t
static const char * swig_uiVScrollbar_base_names[]
SWIGINTERN void uiAbstractScrollbarNode_t_set_viewsize(uiAbstractScrollbarNode_t *self, int size)
static swig_lua_method swig_uiMessageList_meta[]
#define SWIG_POINTER_DISOWN
SWIGINTERN int SWIG_Lua_namespace_set(lua_State *L)
static swig_lua_class _wrap_class_uiOptionList
SWIGINTERN char const * uiAbstractOptionNode_t_cvar(uiAbstractOptionNode_t *self)
static int _wrap_uiAbstractScrollableNode_pageup(lua_State *L)
static swig_lua_method swig_uiItem_Sf_SwigStatic_methods[]
SWIGINTERN int uiTextNode_t_lineheight(uiTextNode_t *self)
SWIGINTERN void uiSpinnerNode_t_set_topicon(uiSpinnerNode_t *self, char const *name)
static int _wrap_new_uiTBar(lua_State *L)
static swig_lua_class * swig_uiString_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiRadioButton_Sf_SwigStatic_classes[]
static swig_lua_const_info swig_uiTextList_Sf_SwigStatic_constants[]
static swig_lua_const_info swig_uiGeoscape_Sf_SwigStatic_constants[]
SWIGINTERN int SWIG_Lua_class_disown(lua_State *L)
SWIGINTERN void uiZoneNode_t_set_repeat(uiZoneNode_t *self, bool value)
static void * _p_uiSpinnerNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_uiBaseLayout_base_names[]
static int _wrap_uiTextEntry_is_password(lua_State *L)
SWIGRUNTIME char * SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz)
static swig_lua_const_info swig_uiData_Sf_SwigStatic_constants[]
SWIGINTERN bool uiWindowNode_t_is_fullscreen(uiWindowNode_t *self)
SWIGINTERN void uiLineChartNode_t_add_point(uiLineChartNode_t *self, char const *id, int x, int y)
static swig_type_info _swigt__p_LUA_FUNCTION
static void swig_delete_uiAbstractValueNode(void *obj)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayimplant(uiBaseInventoryNode_t *self)
static swig_lua_namespace swig_uiSpinner_Sf_SwigStatic
static void * _p_uiImageNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractOptionNode_on_viewchange_set(lua_State *L)
static swig_lua_method swig_uiTextList_meta[]
uiNode_t uiTextNode_t
SWIGINTERN void SWIG_Lua_class_register_instance(lua_State *L, swig_lua_class *clss)
static swig_lua_method swig_uiText2_methods[]
static swig_lua_class * swig_uiContainer_bases[]
static int _wrap_new_uiAbstractOptionNode(lua_State *L)
static int _wrap_UI_CreateTexture(lua_State *L)
SWIGINTERN void uiStringNode_t_set_longlines(uiStringNode_t *self, int value)
static swig_lua_class * swig_uiTBar_Sf_SwigStatic_classes[]
#define SWIGTYPE_p_uiCheckBoxNode_t
uiNode_t uiPanelNode_t
static int _wrap_create_textentry(lua_State *L)
SWIGINTERN void uiBaseInventoryNode_t_set_displayammo(uiBaseInventoryNode_t *self, bool value)
static int _wrap_uiText_set_lineselected(lua_State *L)
SWIGRUNTIME char * SWIG_PackData(char *c, void *ptr, size_t sz)
SWIGINTERN void uiRowsNode_t_set_current(uiRowsNode_t *self, int value)
SWIGINTERN bool uiNode_t_is_invisible(uiNode_t *self)
static int _wrap_uiNode_on_focuslost_get(lua_State *L)
static swig_lua_const_info swig_uiOptionList_Sf_SwigStatic_constants[]
static swig_lua_method swig_uiOptionList_meta[]
static int _proxy__wrap_new_uiWidget(lua_State *L)
static int _proxy__wrap_new_uiTextList(lua_State *L)
SWIGINTERN void uiNode_t_add_nodemethod(uiNode_t *self, char const *name, LUA_METHOD fcn)
static int _wrap_uiBaseInventory_is_displayunavailable(lua_State *L)
static void swig_delete_uiText2(void *obj)
static swig_lua_const_info swig_uiTBar_Sf_SwigStatic_constants[]
static swig_cast_info _swigc__p_uiOptionNode_t[]
static swig_lua_class * swig_uiItem_bases[]
static uiGeoscapeNode_t * UI_CreateGeoscape(uiNode_t *parent, const char *name, const char *super)
uiNode_t uiContainerNode_t
static swig_type_info _swigt__p_uiDataNode_t
SWIGINTERN void uiAbstractValueNode_t_inc_value(uiAbstractValueNode_t *self)
static int _wrap_new_uiModel(lua_State *L)
static int _wrap_uiAbstractScrollbarNode_viewsize(lua_State *L)
static int _wrap_uiNode_set_width(lua_State *L)
static swig_lua_attribute swig_uiSequence_Sf_SwigStatic_attributes[]
SWIGINTERN bool uiImageNode_t_is_mousefx(uiImageNode_t *self)
SWIGINTERN void uiOptionNode_t_set_flipicion(uiOptionNode_t *self, bool value)
static swig_lua_method swig_uiLineChart_methods[]
static int _wrap_uiAbstractScrollbarNode_set_viewsize(lua_State *L)
static uiSelectBoxNode_t * UI_CreateSelectBox(uiNode_t *parent, const char *name, const char *super)
static int _wrap_new_uiLineChart(lua_State *L)
static swig_cast_info _swigc__p_uiRadioButtonNode_t[]
static swig_lua_attribute swig_uiModel_Sf_SwigStatic_attributes[]
static uiModelNode_t * UI_CreateModel(uiNode_t *parent, const char *name, const char *super)
static void swig_delete_uiOptionList(void *obj)
static int _wrap_uiWindow_on_windowclosed_get(lua_State *L)
static swig_cast_info _swigc__p_uiZoneNode_t[]
static int _wrap_new_uiTimer(lua_State *L)
static swig_lua_const_info swig_uiVScrollbar_Sf_SwigStatic_constants[]
static int _wrap_uiNode_set_image(lua_State *L)
SWIGINTERN void uiRadioButtonNode_t_set_background(uiRadioButtonNode_t *self, char const *name)
SWIGINTERN char * uiDataNode_t_as_string(uiDataNode_t *self)
SWIGINTERN void uiModelNode_t_set_tag(uiModelNode_t *self, char const *name)
static void * _p_uiTextNode_tTo_p_uiAbstractScrollableNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _proxy__wrap_new_uiString(lua_State *L)
SWIGINTERN bool uiZoneNode_t_is_repeat(uiZoneNode_t *self)
static swig_lua_class * swig_uiOptionList_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiBaseInventory_methods[]
static swig_lua_attribute swig_uiAbstractOptionNode_attributes[]
static swig_lua_class * swig_uiTextEntry_bases[]
static swig_lua_namespace swig_uiRadioButton_Sf_SwigStatic
SWIGINTERN char const * uiNode_t_text(uiNode_t *self)
static swig_lua_const_info swig_uiItem_Sf_SwigStatic_constants[]
static swig_lua_class * swig_uiAbstractScrollbarNode_Sf_SwigStatic_classes[]
static swig_type_info _swigt__p_uiContainerNode_t
static int _proxy__wrap_new_uiPanel(lua_State *L)
static swig_cast_info _swigc__p_uiTimerNode_t[]
static void * _p_uiTextureNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_uiMessageListNode_t[]
uiNode_t uiRadioButtonNode_t
static swig_lua_attribute swig_uiContainer_Sf_SwigStatic_attributes[]
static int _wrap_uiNode_set_bordersize(lua_State *L)
uiNode_t uiTextListNode_t
static int _wrap_uiWindow_set_closebutton(lua_State *L)
#define SWIGTYPE_p_LUA_EVENT
static void * _p_uiSpinnerNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int SWIG_Lua_class_do_set(lua_State *L, swig_type_info *type, int first_arg, int *ret)
static int _wrap_uiModel_set_scale(lua_State *L)
static int _wrap_uiNode_on_keyreleased_set(lua_State *L)
static int _wrap_new_cvar(lua_State *L)
static swig_lua_namespace swig_uiAbstractValueNode_Sf_SwigStatic
static int _wrap_UI_CreateText(lua_State *L)
static int _wrap_uiNode_set_contentalign(lua_State *L)
static uiSpinnerNode_t * UI_CreateSpinner(uiNode_t *parent, const char *name, const char *super)
static swig_lua_attribute swig_uiData_attributes[]
static int _wrap_uiNode_on_visiblewhen_set(lua_State *L)
static int _wrap_uiNode_on_change_set(lua_State *L)
static int _wrap_uiSpinner_mode(lua_State *L)
static swig_lua_method swig_uiSpinner_Sf_SwigStatic_methods[]
static void * _p_uiTBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace swig_uiSelectBox_Sf_SwigStatic
static swig_lua_method swig_uiTimer_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiTextList_Sf_SwigStatic_methods[]
SWIGINTERN int uiTextNode_t_lineselected(uiTextNode_t *self)
static int _proxy__wrap_new_uiBaseLayout(lua_State *L)
SWIGINTERN void uiSpinnerNode_t_set_background(uiSpinnerNode_t *self, char const *name)
static int _wrap_uiTimer_lua_onEvent_get(lua_State *L)
static swig_cast_info _swigc__p_uiBarNode_t[]
static void swig_delete_cvar(void *obj)
SWIGINTERN void uiPanelNode_t_set_background(uiPanelNode_t *self, char const *name)
SWIGINTERN void uiWindowNode_t_open(uiWindowNode_t *self)
SWIGINTERN bool uiNode_t_is_function(uiNode_t *self)
static int _wrap_uiOption_set_truncated(lua_State *L)
static uiSequenceNode_t * UI_CreateSequence(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN int uiAbstractOptionNode_t_count(uiAbstractOptionNode_t *self)
static swig_cast_info _swigc__p_uiOptionListNode_t[]
SWIGINTERN int SWIG_Lua_class_set(lua_State *L)
SWIGINTERN void uiNode_t_set_selectcolor(uiNode_t *self, float r, float g, float b, float a)
static int _wrap_uiImage_set_source(lua_State *L)
static void swig_delete_uiTimer(void *obj)
SWIGINTERN int SWIG_lua_isnilstring(lua_State *L, int idx)
#define SWIGTYPE_p_uiAbstractScrollbarNode_t
static int _proxy__wrap_new_uiAbstractScrollbarNode(lua_State *L)
static int _wrap_uiNode_height(lua_State *L)
static int _wrap_uiAbstractOptionNode_current(lua_State *L)
static swig_lua_method swig_uiTextList_methods[]
static swig_lua_attribute swig_uiTextEntry_attributes[]
SWIGINTERN int uiBaseInventoryNode_t_viewsize(uiBaseInventoryNode_t *self)
SWIGINTERN void cvar_t_set_value__SWIG_0(cvar_t *self, float number)
static swig_lua_namespace swig_uiString_Sf_SwigStatic
static const char * swig_uiAbstractOptionNode_base_names[]
SWIGINTERN int uiPanelNode_t_layoutcolumns(uiPanelNode_t *self)
static const char * swig_uiData_base_names[]
SWIGINTERN int uiBaseLayoutNode_t_baseid(uiBaseLayoutNode_t *self)
static int _wrap_uiNode___setitem(lua_State *L)
static swig_lua_namespace swig_uiRadar_Sf_SwigStatic
#define SWIG_GetModule(clientdata)
SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L, void *ptr, size_t size, swig_type_info *type)
static swig_lua_method swig_uiAbstractOptionNode_meta[]
static int _wrap_uiNode_set_left(lua_State *L)
static int _wrap_uiPanel_layoutmargin(lua_State *L)
static const char * swig_uiImage_base_names[]
static swig_lua_attribute swig_uiBaseLayout_Sf_SwigStatic_attributes[]
static void uiVideoNode_t_lua_onEnd_set(uiVideoNode_t *node, LUA_EVENT fn)
static int _wrap_UI_CreateConFunc(lua_State *L)
static uiTimerNode_t * UI_CreateTimer(uiNode_t *parent, const char *name, const char *super)
static swig_lua_method swig_uiCheckBox_meta[]
static void * _p_uiTextListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static const char * swig_uiButton_base_names[]
static const char * swig_uiVideo_base_names[]
SWIGINTERN int SWIG_Lua_class_destruct(lua_State *L)
#define SWIG_fail
static int _wrap_uiNode_on_wheel_set(lua_State *L)
static const char * swig_uiItem_base_names[]
static swig_cast_info _swigc__p_uiAbstractScrollbarNode_t[]
static void swig_delete_uiTBar(void *obj)
static swig_lua_method swig_uiOption_methods[]
SWIGINTERN void uiImageNode_t_set_texh(uiImageNode_t *self, float v1, float v2)
static void * _p_uiBaseInventoryNode_tTo_p_uiContainerNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiImage_is_keepratio(lua_State *L)
static swig_lua_method swig_SwigModule_methods[]
SWIGINTERN void uiAbstractValueNode_t_set_max__SWIG_0(uiAbstractValueNode_t *self, float max)
static LUA_EVENT uiWindowNode_t_lua_onWindowOpened_get(uiWindowNode_t *node)
#define SWIGTYPE_p_uiImageNode_t
static int _wrap_uiAbstractValueNode_min(lua_State *L)
static swig_lua_const_info swig_invDef_Sf_SwigStatic_constants[]
SWIGINTERN bool uiItemNode_t_is_containerlike(uiItemNode_t *self)
static swig_lua_attribute swig_uiVScrollbar_Sf_SwigStatic_attributes[]
SWIGRUNTIME void SWIG_PropagateClientData(void)
static int _wrap_uiWindow_set_noticepos(lua_State *L)
static int _wrap_new_uiRadar(lua_State *L)
static int _wrap_uiNode_set_pos(lua_State *L)
static swig_lua_const_info swig_uiVideo_Sf_SwigStatic_constants[]
static int _wrap_uiNode_set_bordercolor(lua_State *L)
static uiOptionNode_t * UI_CreateOption(uiNode_t *parent, const char *name, const char *super)
static int _wrap_uiZone_set_clickdelay(lua_State *L)
static int _wrap_uiTimer_set_timeout(lua_State *L)
SWIGINTERN bool uiPanelNode_t_is_wheelscrollable(uiPanelNode_t *self)
SWIGINTERN bool uiWindowNode_t_is_modal(uiWindowNode_t *self)
static int _wrap_uiWindow_on_windowclosed_set(lua_State *L)
SWIGINTERN void uiDataNode_t_set_value__SWIG_0(uiDataNode_t *self, char const *value)
static swig_type_info _swigt__p_uiTabNode_t
static int _wrap_UI_CreateTimer(lua_State *L)
SWIGINTERN float uiAbstractValueNode_t_shiftmultiplier(uiAbstractValueNode_t *self)
static int _wrap_uiAbstractScrollableNode_fullsize(lua_State *L)
static swig_lua_const_info swig_uiContainer_Sf_SwigStatic_constants[]
#define SWIGTYPE_p_uiText2Node_t
static swig_type_info _swigt__p_uiOptionTreeNode_t
static int _proxy__wrap_new_invDef(lua_State *L)
SWIGINTERN bool uiBaseInventoryNode_t_is_displayweaponammo(uiBaseInventoryNode_t *self)
static int _wrap_error(lua_State *L)
static int _wrap_uiNode_set_invisible(lua_State *L)
SWIGINTERN uiNode_t * uiNode_t_next(uiNode_t *self)
SWIGINTERN void uiItemNode_t_set_containerlike(uiItemNode_t *self, bool value)
SWIGINTERN void uiBarNode_t_set_readonly(uiBarNode_t *self, bool value)
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_uiWindow_attributes[]
#define lua_pushglobaltable(L)
static int _wrap_uiAbstractScrollbarNode_fullsize(lua_State *L)
#define SWIG_init_user
static int _wrap_create_data(lua_State *L)
static int _wrap_pop_window(lua_State *L)
SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type)
SWIGINTERN bool uiOptionNode_t_is_collapsed(uiOptionNode_t *self)
static swig_lua_method swig_uiString_methods[]
static int _wrap_uiText_longlines(lua_State *L)
static int _wrap_uiText_set_lineheight(lua_State *L)
static swig_lua_const_info swig_uiTexture_Sf_SwigStatic_constants[]
static int _wrap_uiAbstractScrollableNode_set_viewsize(lua_State *L)
static swig_lua_const_info swig_uiRows_Sf_SwigStatic_constants[]
SWIGRUNTIME swig_cast_info * SWIG_TypeCheck(const char *c, swig_type_info *ty)
static int _wrap_uiPanel_set_layout(lua_State *L)
static swig_lua_class _wrap_class_uiRadar
SWIGINTERN void uiModelNode_t_set_mouserotate(uiModelNode_t *self, bool value)
static int _wrap_uiBaseInventory_is_displayunavailableammo(lua_State *L)
static int _wrap_uiWindow_on_windowactivate_get(lua_State *L)
#define SWIG_isptrtype(L, I)
static swig_lua_attribute swig_uiMessageList_Sf_SwigStatic_attributes[]
static int _wrap_UI_CreateMessageList(lua_State *L)
static swig_lua_method swig_uiText_Sf_SwigStatic_methods[]
static int _wrap_UI_CreateVideo(lua_State *L)
static void swig_delete_uiText(void *obj)
SWIGINTERN void uiNode_t_set_size(uiNode_t *self, float w, float h)
SWIGINTERN void uiDataNode_t_set_value__SWIG_1(uiDataNode_t *self, int value)
static swig_lua_const_info swig_uiTextEntry_Sf_SwigStatic_constants[]
static int _wrap_uiRadioButton_is_flipicon(lua_State *L)
static int _wrap_uiRows_set_lineheight(lua_State *L)
static int _wrap_uiRadioButton_set_value(lua_State *L)
static swig_lua_method swig_uiSelectBox_meta[]
static swig_lua_class * swig_uiGeoscape_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiBaseLayout_meta[]
#define SWIG_TYPE_TABLE_NAME
static uiWindowNode_t * UI_CreateWindow(const char *name, const char *super)
static swig_lua_class _wrap_class_uiWidget
static swig_lua_class * swig_uiZone_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiMessageList_Sf_SwigStatic_classes[]
SWIGINTERN void uiNode_t_set_height(uiNode_t *self, float value)
SWIGINTERN void uiOptionNode_t_set_collapsed(uiOptionNode_t *self, bool value)
static int _wrap_create_bar(lua_State *L)
uiNode_t uiLineChartNode_t
static swig_lua_attribute swig_uiItem_Sf_SwigStatic_attributes[]
SWIGINTERN char * uiModelNode_t_animation(uiModelNode_t *self)
static swig_lua_attribute swig_uiButton_attributes[]
static swig_lua_const_info swig_uiOption_Sf_SwigStatic_constants[]
SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L, swig_lua_class *clss)
static int _wrap_new_uiPanel(lua_State *L)
static swig_cast_info _swigc__p_uiSelectBoxNode_t[]
static swig_lua_attribute swig_uiSpinner_attributes[]
static int _wrap_uiLineChart_is_showaxes(lua_State *L)
static int _wrap_uiBaseInventory_set_displayimplant(lua_State *L)
static int _wrap_uiModel_is_mouserotate(lua_State *L)
SWIGINTERN void uiNode_t_set_disabled(uiNode_t *self, bool value)
static swig_cast_info _swigc__p_uiBaseLayoutNode_t[]
static swig_lua_method swig_uiRows_methods[]
static swig_lua_method swig_uiAbstractValueNode_methods[]
static swig_lua_const_info swig_cvar_Sf_SwigStatic_constants[]
SWIGINTERN float uiAbstractValueNode_t_lastdiff(uiAbstractValueNode_t *self)
#define SWIGTYPE_p_uiZoneNode_t
static swig_lua_method swig_uiGeoscape_methods[]
SWIGINTERN bool uiRadioButtonNode_t_is_flipicon(uiRadioButtonNode_t *self)
SWIGINTERN bool uiSpinnerNode_t_is_inverted(uiSpinnerNode_t *self)
uiNode_t uiAbstractOptionNode_t
static swig_lua_attribute swig_uiBaseInventory_attributes[]
static int _wrap_uiGeoscape_paddingright(lua_State *L)
static swig_lua_class * swig_uiModel_Sf_SwigStatic_classes[]
#define SWIGTYPE_p_uiButtonNode_t
static int _wrap_uiAbstractValueNode_lastdiff(lua_State *L)
static swig_lua_method swig_uiContainer_methods[]
int(* swig_lua_base_iterator_func)(lua_State *, swig_type_info *, int, int *ret)
SWIGINTERN void uiVideoNode_t_set_source(uiVideoNode_t *self, char const *name)
SWIGINTERN int uiBaseInventoryNode_t_viewpos(uiBaseInventoryNode_t *self)
static int _wrap_uiText_lineselected(lua_State *L)
static void * _p_uiBarNode_tTo_p_uiAbstractValueNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_namespace swig_uiVScrollbar_Sf_SwigStatic
static int _wrap_uiNode_on_wheeldown_set(lua_State *L)
static int _wrap_uiAbstractOptionNode_dataid(lua_State *L)
static int _wrap_uiModel_animation(lua_State *L)
static int _wrap_uiWindow_on_windowactivate_set(lua_State *L)
static swig_lua_method swig_uiGeoscape_Sf_SwigStatic_methods[]
static swig_lua_class _wrap_class_uiText
static int _wrap_uiNode_padding(lua_State *L)
static swig_lua_class * swig_cvar_bases[]
static swig_lua_namespace swig_uiMessageList_Sf_SwigStatic
static int _wrap_new_uiImage(lua_State *L)
SWIGINTERN int uiRowsNode_t_lineheight(uiRowsNode_t *self)
static void uiAbstractOptionNode_t_lua_onViewChange_set(uiAbstractOptionNode_t *node, LUA_EVENT fn)
SWIGINTERN uiNode_t * uiNode_t_root(uiNode_t *self)
#define SWIGTYPE_p_uiTextEntryNode_t
static int _wrap_uiWindow_set_dragbutton(lua_State *L)
static int _wrap_create_selectbox(lua_State *L)
SWIGINTERN int uiSpinnerNode_t_mode(uiSpinnerNode_t *self)
static int _wrap_uiTextEntry_set_password(lua_State *L)
static int _wrap_uiVideo_set_nosound(lua_State *L)
SWIGINTERN vec3_struct_t * uiModelNode_t_scale(uiModelNode_t *self)
static swig_lua_const_info swig_uiLineChart_Sf_SwigStatic_constants[]
SWIGINTERN void SWIG_Lua_create_class_registry(lua_State *L)
static void * _p_uiPanelNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static uiContainerNode_t * UI_CreateContainer(uiNode_t *parent, const char *name, const char *super)
static void * _p_uiTextListNode_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiAbstractValueNode_shiftmultiplier(lua_State *L)
static swig_cast_info _swigc__p_uiRowsNode_t[]
static void uiAbstractScrollableNode_t_lua_onViewChange_set(uiAbstractScrollableNode_t *node, LUA_EVENT fn)
static int _wrap_getvar__SWIG_2(lua_State *L)
#define SWIG_ERROR
SWIGINTERN void uiModelNode_t_set_autoscale(uiModelNode_t *self, bool value)
SWIGINTERN bool uiCheckBoxNode_t_as_boolean(uiCheckBoxNode_t *self)
static swig_lua_namespace swig_SwigModule
static swig_lua_class * swig_uiRows_bases[]
static swig_cast_info _swigc__p_cvar_t[]
SWIGINTERN int uiZoneNode_t_clickdelay(uiZoneNode_t *self)
static int _wrap_uiBar_set_direction(lua_State *L)
static void swig_delete_uiBaseInventory(void *obj)
SWIGINTERN uiNode_t * uiNode_t_find(uiNode_t *self, char const *name)
static int _wrap_uiAbstractScrollableNode_movehome(lua_State *L)
static swig_lua_namespace swig_uiCheckBox_Sf_SwigStatic
static int _wrap_uiModel_angles(lua_State *L)
static int _wrap_uiSpinner_set_topicon(lua_State *L)
static int _wrap_uiCheckBox_as_boolean(lua_State *L)
uiNode_t uiZoneNode_t
static swig_lua_attribute swig_uiModel_attributes[]
static int _wrap_uiButton_flipicon(lua_State *L)
static int _wrap_uiOption_set_flipicion(lua_State *L)
static int _wrap_uiNode_on_middleclick_get(lua_State *L)
SWIGINTERN float uiNode_t_flashspeed(uiNode_t *self)
static const char * swig_uiBar_base_names[]
static swig_type_info _swigt__p_uiPanelNode_t
static swig_lua_attribute swig_uiRadar_attributes[]
static swig_lua_const_info swig_uiButton_Sf_SwigStatic_constants[]
static int _wrap_uiItem_set_containerlike(lua_State *L)
static uiStringNode_t * UI_CreateString(uiNode_t *parent, const char *name, const char *super)
const char * UI_SWIG_NodeTypeName(void *node)
This function returns the SWIG typename for the given node.
static swig_lua_class _wrap_class_uiBar
SWIGINTERN void uiAbstractValueNode_t_set_min__SWIG_0(uiAbstractValueNode_t *self, float min)
static swig_lua_method swig_uiModel_Sf_SwigStatic_methods[]
static swig_lua_class _wrap_class_uiSpinner
static swig_lua_namespace swig_uiTextList_Sf_SwigStatic
static void * _p_uiMessageListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGRUNTIME void SWIG_Lua_pushferrstring(lua_State *L, const char *fmt,...)
static swig_lua_class * swig_uiCheckBox_Sf_SwigStatic_classes[]
static swig_lua_method swig_uiPanel_methods[]
static swig_lua_method swig_uiTextEntry_Sf_SwigStatic_methods[]
static swig_lua_method swig_uiRadar_Sf_SwigStatic_methods[]
static swig_lua_const_info swig_uiText_Sf_SwigStatic_constants[]
SWIGINTERN int uiPanelNode_t_layoutmargin(uiPanelNode_t *self)
static swig_cast_info _swigc__p_vec3_struct_t[]
static const char * swig_uiOptionList_base_names[]
static int _wrap_uiContainer_on_select_set(lua_State *L)
static swig_cast_info _swigc__p_uiButtonNode_t[]
static uiWidgetNode_t * UI_CreateWidget(uiNode_t *parent, const char *name, const char *super)
static swig_type_info * swig_type_initial[]
static int _wrap_uiNode_on_focusgained_get(lua_State *L)
static int _wrap_UI_CreateLineChart(lua_State *L)
SWIGINTERN void uiAbstractScrollableNode_t_moveend(uiAbstractScrollableNode_t *self)
static int _wrap_uiBar_is_readonly(lua_State *L)
static void * _p_uiText2Node_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_cast_info _swigc__p_linkedList_t[]
static swig_lua_method swig_uiTab_meta[]
static swig_type_info _swigt__p_uiStringNode_t
uiNode_t uiTBarNode_t
static int _wrap_new_uiSpinner(lua_State *L)
static swig_lua_method swig_uiBaseLayout_Sf_SwigStatic_methods[]
SWIGINTERN void uiGeoscapeNode_t_zoomout(uiGeoscapeNode_t *self)
static int _wrap_uiNode_set_selectcolor(lua_State *L)
static int _proxy__wrap_new_uiOptionTree(lua_State *L)
SWIGINTERN void uiPanelNode_t_set_layout(uiPanelNode_t *self, int value)
static swig_lua_method swig_uiZone_meta[]
SWIGINTERN void uiTBarNode_t_set_texl(uiTBarNode_t *self, float v1, float v2)
static int _wrap_uiNode_set_flashspeed(lua_State *L)
SWIGINTERN float uiNode_t_width(uiNode_t *self)
SWIGINTERN void uiNode_t___setitem(uiNode_t *self, char const *name, LUA_METHOD fcn)
static swig_lua_attribute swig_uiTexture_attributes[]
static swig_lua_class * swig_uiModel_bases[]
static int _wrap_uiBaseInventory_set_displayweaponammo(lua_State *L)
static swig_lua_class * swig_uiVScrollbar_Sf_SwigStatic_classes[]
static swig_lua_class * swig_uiNode_bases[]
static swig_lua_class * swig_uiSequence_Sf_SwigStatic_classes[]
SWIGINTERN char const * uiNode_t_image(uiNode_t *self)
static swig_lua_attribute swig_uiAbstractScrollbarNode_Sf_SwigStatic_attributes[]
SWIGINTERN char const * uiRadioButtonNode_t_cvar(uiRadioButtonNode_t *self)
static int _wrap_new_uiAbstractValueNode(lua_State *L)
static swig_type_info _swigt__p_uiNode_t
static int _wrap_uiBaseInventory_fullsize(lua_State *L)
static int _wrap_uiWindow_set_dropdown(lua_State *L)
static swig_lua_method swig_uiText_methods[]
static int _wrap_uiAbstractValueNode_set_max__SWIG_1(lua_State *L)
SWIGINTERN void uiPanelNode_t_set_layoutcolumns(uiPanelNode_t *self, int value)
static int _wrap_uiTBar_texh(lua_State *L)
static swig_lua_method swig_uiAbstractScrollableNode_Sf_SwigStatic_methods[]
static swig_lua_class * swig_uiRadioButton_bases[]
static void * _p_uiOptionListNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static swig_lua_class * swig_uiTab_bases[]
static swig_lua_attribute swig_uiRadioButton_Sf_SwigStatic_attributes[]
static void * _p_uiVScrollBarNode_tTo_p_uiAbstractScrollbarNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_new_uiMessageList(lua_State *L)
static int _wrap_new_uiAbstractScrollableNode(lua_State *L)
static swig_lua_attribute swig_uiData_Sf_SwigStatic_attributes[]
static int _wrap_uiAbstractValueNode_set_min(lua_State *L)
static swig_lua_method swig_uiLineChart_Sf_SwigStatic_methods[]
#define SWIGTYPE_p_uiModelNode_t
static int _wrap_uiZone_is_repeat(lua_State *L)
static void uiTimerNode_t_lua_onEvent_set(uiTimerNode_t *node, LUA_EVENT fn)
static int _proxy__wrap_new_uiAbstractOptionNode(lua_State *L)
SWIGINTERN char * cvar_t_as_string(cvar_t *self)
static swig_lua_attribute swig_uiTextList_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_invDef_Sf_SwigStatic_attributes[]
static swig_lua_method swig_uiImage_Sf_SwigStatic_methods[]
static void swig_delete_uiBaseLayout(void *obj)
static int _wrap_uiAbstractOptionNode_viewsize(lua_State *L)
static swig_type_info _swigt__p_uiTBarNode_t
static swig_lua_class * swig_uiText2_bases[]
static int _wrap_uiText_textselected(lua_State *L)
static int _wrap_uiWindow_set_background(lua_State *L)
static swig_lua_class * swig_uiBar_bases[]
static swig_lua_const_info swig_uiBaseInventory_Sf_SwigStatic_constants[]
static swig_lua_attribute swig_uiOptionList_attributes[]
static int _wrap_UI_CreateSelectBox(lua_State *L)
static swig_lua_const_info swig_uiCheckBox_Sf_SwigStatic_constants[]
static uiLineChartNode_t * UI_CreateLineChart(uiNode_t *parent, const char *name, const char *super)
#define SWIGTYPE_p_uiTextNode_t
static int _proxy__wrap_new_uiOption(lua_State *L)
static swig_type_info _swigt__p_linkedList_t
SWIGINTERN void uiAbstractValueNode_t_set_range__SWIG_1(uiAbstractValueNode_t *self, char const *min, char const *max)
static swig_lua_class * swig_uiSpinner_bases[]
static swig_lua_attribute swig_SwigModule_attributes[]
static int _wrap_create_textlist(lua_State *L)
static int _proxy__wrap_new_uiContainer(lua_State *L)
static LUA_EVENT uiAbstractOptionNode_t_lua_onViewChange_get(uiAbstractOptionNode_t *node)
static swig_lua_namespace swig_uiImage_Sf_SwigStatic
SWIGINTERN bool uiNode_t_is_ghost(uiNode_t *self)
static void swig_delete_uiOptionTree(void *obj)
static int _wrap_uiNode_is_invisible(lua_State *L)
static const char * swig_uiWidget_base_names[]
static LUA_EVENT uiContainerNode_t_lua_onSelect_get(uiContainerNode_t *node)
static void * _p_uiOptionListNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int uiAbstractScrollbarNode_t_current(uiAbstractScrollbarNode_t *self)
static int _wrap_uiModel_set_skin(lua_State *L)
static swig_type_info _swigt__p_uiWidgetNode_t
static swig_lua_method swig_uiBar_meta[]
static swig_lua_attribute swig_uiAbstractValueNode_attributes[]
static int _wrap_create_tbar(lua_State *L)
SWIGINTERN int uiTextNode_t_tabwidth(uiTextNode_t *self)
#define SWIG_LUACODE
static swig_type_info _swigt__p_uiTextListNode_t
static int _wrap_uiNode_is_window(lua_State *L)
#define SWIG_LUA_INT
static int _proxy__wrap_new_uiConFunc(lua_State *L)
static swig_lua_method swig_uiOptionList_methods[]
SWIGINTERN void uiImageNode_t_set_texl(uiImageNode_t *self, float v1, float v2)
#define SWIGTYPE_p_uiLineChartNode_t
static swig_lua_method swig_cvar_meta[]
static int _wrap_uiRadioButton_set_background(lua_State *L)
static int _wrap_uiLineChart_set_axescolor(lua_State *L)
static int _proxy__wrap_new_uiSelectBox(lua_State *L)
static int _wrap_uiSequence_lua_onEnd_set(lua_State *L)
static int _wrap_create_component(lua_State *L)
static swig_lua_attribute swig_uiTimer_Sf_SwigStatic_attributes[]
static int _wrap_delete_node(lua_State *L)
static swig_type_info _swigt__p_invDef_t
static void swig_delete_uiAbstractScrollableNode(void *obj)
static int _wrap_uiNode_on_visiblewhen_get(lua_State *L)
SWIGINTERN int uiAbstractOptionNode_t_lineheight(uiAbstractOptionNode_t *self)
static swig_lua_attribute swig_uiTimer_attributes[]
static uiTextListNode_t * UI_CreateTextList(uiNode_t *parent, const char *name, const char *super)
static swig_lua_const_info swig_uiZone_Sf_SwigStatic_constants[]
uiNode_t uiModelNode_t
static int _wrap_uiNode_child(lua_State *L)
static int _wrap_uiNode_insert_node(lua_State *L)
static swig_lua_class * swig_uiOption_Sf_SwigStatic_classes[]
static swig_lua_attribute swig_uiOption_attributes[]
static swig_lua_class * swig_uiTab_Sf_SwigStatic_classes[]
static void swig_delete_uiSequence(void *obj)
#define SWIGTYPE_p_uiRadarNode_t
static swig_lua_method swig_uiSequence_methods[]
static int _wrap_uiNode_append_node(lua_State *L)
#define SWIGTYPE_p_uiRadioButtonNode_t
static int _wrap_uiSpinner_set_mode(lua_State *L)
static swig_lua_class _wrap_class_uiBaseInventory
static int _wrap_uiNode_on_loaded_set(lua_State *L)
static int _wrap_uiImage_set_keepratio(lua_State *L)
static swig_cast_info _swigc__p_uiTextEntryNode_t[]
static swig_lua_method swig_uiString_meta[]
static swig_lua_method swig_uiModel_methods[]
#define SWIGEXPORT
static swig_type_info _swigt__p_uiRowsNode_t
SWIGINTERN vec2_struct_t * uiImageNode_t_texl(uiImageNode_t *self)
static int _proxy__wrap_new_uiCheckBox(lua_State *L)
static int _wrap_UI_CreateOptionList(lua_State *L)
#define SWIG_IsOK(r)
SWIGINTERN bool uiNode_t_is_flashing(uiNode_t *self)
static int _wrap_uiLineChart_set_showaxes(lua_State *L)
SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L)
static swig_type_info _swigt__p_longlines_t
static int _wrap_uiNode_is_abstract(lua_State *L)
SWIGINTERN int uiTimerNode_t_timeout(uiTimerNode_t *self)
static int _wrap_uiSequence_is_playing(lua_State *L)
static swig_lua_class * swig_uiTextEntry_Sf_SwigStatic_classes[]
SWIGINTERN bool uiBarNode_t_is_readonly(uiBarNode_t *self)
static int _wrap_uiNode_name(lua_State *L)
static swig_lua_attribute swig_uiContainer_attributes[]
static swig_lua_class * swig_uiWidget_bases[]
static void swig_delete_uiData(void *obj)
static void * _p_uiText2Node_tTo_p_uiTextNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN int uiGeoscapeNode_t_paddingright(uiGeoscapeNode_t *self)
static swig_lua_class _wrap_class_uiVScrollbar
static swig_lua_attribute swig_uiRadioButton_attributes[]
static swig_type_info _swigt__p_uiButtonNode_t
static swig_lua_namespace swig_uiData_Sf_SwigStatic
static swig_lua_class _wrap_class_uiAbstractValueNode
static swig_lua_const_info swig_uiWindow_Sf_SwigStatic_constants[]
SWIGINTERN void uiAbstractOptionNode_t_set_background(uiAbstractOptionNode_t *self, char const *name)
SWIGINTERN void uiBaseInventoryNode_t_set_fullsize(uiBaseInventoryNode_t *self, int size)
static int _wrap_uiNode_add_nodemethod(lua_State *L)
static swig_lua_attribute swig_uiAbstractScrollableNode_Sf_SwigStatic_attributes[]
static swig_lua_attribute swig_uiTexture_Sf_SwigStatic_attributes[]
static int _wrap_uiText_set_longlines(lua_State *L)
static uiItemNode_t * UI_CreateItem(uiNode_t *parent, const char *name, const char *super)
SWIGINTERN void uiRadioButtonNode_t_set_value__SWIG_0(uiRadioButtonNode_t *self, char const *value)
static void * _p_uiLineChartNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_uiCheckBox_set_background(lua_State *L)
static swig_type_info _swigt__p_uiBarNode_t
static int _wrap_uiBaseInventory_set_displayunavailable(lua_State *L)
static int _wrap_uiWindow_is_starlayout(lua_State *L)
static int _wrap_uiRows_current(lua_State *L)
static int _wrap_create_widget(lua_State *L)
SWIGINTERN bool uiOptionNode_t_is_flipicion(uiOptionNode_t *self)
SWIGINTERN int uiAbstractScrollbarNode_t_viewsize(uiAbstractScrollbarNode_t *self)
static int _wrap_UI_CreateZone(lua_State *L)
static int _wrap_uiRadioButton_set_value__SWIG_1(lua_State *L)
static int _wrap_uiAbstractValueNode_set_min__SWIG_1(lua_State *L)
SWIGINTERN void uiNode_t_set_bordercolor(uiNode_t *self, float r, float g, float b, float a)
static int _wrap_uiModel_set_angles(lua_State *L)
static swig_type_info _swigt__p_uiSequenceNode_t
static int _wrap_uiData_as_string(lua_State *L)
SWIGINTERN int cvar_t_as_integer(cvar_t *self)
static swig_type_info _swigt__p_uiWindowNode_t
static swig_lua_method swig_uiBar_methods[]
static swig_cast_info _swigc__p_uiCheckBoxNode_t[]
static int _wrap_create_zone(lua_State *L)
static swig_cast_info _swigc__p_uiBaseInventoryNode_t[]
static int _wrap_UI_CreateTextEntry(lua_State *L)
SWIGINTERN float uiAbstractValueNode_t_min(uiAbstractValueNode_t *self)
#define SWIG_LUA_BINARY
static swig_cast_info _swigc__p_uiTabNode_t[]
static LUA_EVENT uiBaseInventoryNode_t_lua_onViewChange_get(uiBaseInventoryNode_t *node)
static swig_cast_info _swigc__p_LUA_FUNCTION[]
static swig_type_info _swigt__p_uiTimerNode_t
SWIGINTERN bool uiModelNode_t_is_mouserotate(uiModelNode_t *self)
static int _wrap_uiAbstractValueNode_value(lua_State *L)
static uiOptionListNode_t * UI_CreateOptionList(uiNode_t *parent, const char *name, const char *super)
static void swig_delete_uiPanel(void *obj)
static uiVideoNode_t * UI_CreateVideo(uiNode_t *parent, const char *name, const char *super)
static swig_cast_info _swigc__p_uiModelNode_t[]
static swig_lua_class * swig_uiTBar_bases[]
static int _wrap_uiBar_set_readonly(lua_State *L)
static swig_cast_info _swigc__p_LUA_METHOD[]
static void swig_delete_uiZone(void *obj)
SWIGINTERN int uiBaseInventoryNode_t_filtertype(uiBaseInventoryNode_t *self)
static swig_lua_attribute swig_uiOptionTree_attributes[]
SWIGINTERN int uiRowsNode_t_current(uiRowsNode_t *self)
static LUA_EVENT uiWindowNode_t_lua_onWindowClosed_get(uiWindowNode_t *node)
static int _wrap_uiBaseInventory_set_displayweapon(lua_State *L)
static swig_lua_method swig_uiGeoscape_meta[]
SWIGINTERN int uiContainerNode_t_selectedid(uiContainerNode_t *self)
SWIGINTERN int uiPanelNode_t_layout(uiPanelNode_t *self)
static int _wrap_uiSpinner_set_bottomicon(lua_State *L)
static uiCheckBoxNode_t * UI_CreateCheckBox(uiNode_t *parent, const char *name, const char *super)
static int _wrap_new_uiSequence(lua_State *L)
static int _wrap_uiText_dataid(lua_State *L)
static int _wrap_uiAbstractValueNode_set_value__SWIG_1(lua_State *L)
static int _wrap_create_texture(lua_State *L)
uiNode_t uiBaseLayoutNode_t
#define SWIG_LUA_STRING
uiNode_t uiDataNode_t
SWIGINTERN void SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[])
static int _wrap_uiSpinner_is_inverted(lua_State *L)
static int _wrap_uiModel_omega(lua_State *L)
static swig_lua_class _wrap_class_uiAbstractScrollableNode
uiNode_t uiBarNode_t
static void swig_delete_uiModel(void *obj)
static int _wrap_uiBaseInventory_is_displayimplant(lua_State *L)
SWIGINTERN void uiAbstractScrollbarNode_t_set_fullsize(uiAbstractScrollbarNode_t *self, int size)
uiNode_t uiTextEntryNode_t
SWIGINTERN void uiNode_t_set_box(uiNode_t *self, float left, float top, float width, float height)
static swig_lua_class _wrap_class_uiCheckBox
static int _wrap_uiNode_on_wheel_get(lua_State *L)
static int _wrap_uiBaseInventory_on_viewchange_set(lua_State *L)
static swig_lua_class * swig_uiOptionTree_Sf_SwigStatic_classes[]
static swig_cast_info _swigc__p_layoutAlign_t[]
static swig_lua_class * swig_uiTexture_Sf_SwigStatic_classes[]
static int _wrap_uiModel_origin(lua_State *L)
SWIGINTERN void SWIG_Lua_get_class_metatable(lua_State *L, const char *cname)
static swig_lua_method swig_uiImage_meta[]
static int _wrap_uiNode_set_box(lua_State *L)
static swig_type_info _swigt__p_uiVScrollBarNode_t
#define SWIG_OK
static swig_lua_method swig_uiVScrollbar_methods[]
static swig_lua_namespace swig_uiSequence_Sf_SwigStatic
uiNode_t uiTextureNode_t
static void * _p_uiStringNode_tTo_p_uiNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
static int _wrap_dprint(lua_State *L)
static swig_lua_namespace swig_uiNode_Sf_SwigStatic
uiNode_t uiMessageListNode_t
#define SWIGTYPE_p_uiPanelNode_t
static swig_lua_class * swig_uiSelectBox_bases[]
static swig_lua_class * swig_uiAbstractOptionNode_bases[]
static void swig_delete_invDef(void *obj)
SWIGINTERN bool uiTextEntryNode_t_is_clickoutabort(uiTextEntryNode_t *self)
static void * _p_uiOptionTreeNode_tTo_p_uiAbstractOptionNode_t(void *x, int *SWIGUNUSEDPARM(newmemory))
SWIGINTERN void uiWindowNode_t_set_background(uiWindowNode_t *self, char const *name)
SWIGINTERN void uiAbstractScrollableNode_t_set_viewsize(uiAbstractScrollableNode_t *self, int size)
SWIGINTERN void uiWindowNode_t_set_fullscreen(uiWindowNode_t *self, bool value)
static int _wrap_uiTBar_set_texh(lua_State *L)
static swig_lua_attribute swig_uiText2_attributes[]
SWIGINTERN bool uiNode_t_is_abstract(uiNode_t *self)
static swig_lua_attribute swig_uiAbstractScrollableNode_attributes[]
static int _wrap_uiGeoscape_zoomout(lua_State *L)
static int _wrap_uiImage_set_texh(lua_State *L)
SWIGINTERN void SWIG_Lua_add_class_instance_details(lua_State *L, swig_lua_class *clss)
static LUA_EVENT uiAbstractScrollableNode_t_lua_onViewChange_get(uiAbstractScrollableNode_t *node)
#define SWIGINTERNINLINE
SWIGINTERN void uiAbstractScrollbarNode_t_set_current(uiAbstractScrollbarNode_t *self, int pos)
static int _wrap_getvar(lua_State *L)
static uiVScrollBarNode_t * UI_CreateVScrollbar(uiNode_t *parent, const char *name, const char *super)
static int _wrap_create_optionlist(lua_State *L)
#define SWIG_Lua_add_boolean(L, n, b)
SWIGINTERN bool uiOptionNode_t_is_truncated(uiOptionNode_t *self)
uiNode_t uiSelectBoxNode_t
static uiBaseInventoryNode_t * UI_CreateBaseInventory(uiNode_t *parent, const char *name, const char *super)
#define lua_rawgetp(L, index, ptr)
static swig_lua_method swig_uiOption_Sf_SwigStatic_methods[]
static int _wrap_uiAbstractOptionNode_on_viewchange_get(lua_State *L)
SWIGINTERN float uiAbstractValueNode_t_max(uiAbstractValueNode_t *self)
static void uiTextEntryNode_t_lua_onTextEntryAbort_set(uiTextEntryNode_t *node, LUA_EVENT fn)
SWIGINTERN void uiRadioButtonNode_t_set_cvar(uiRadioButtonNode_t *self, char const *name)
static void swig_delete_uiOption(void *obj)
static void swig_delete_uiVScrollbar(void *obj)
SWIGINTERN void uiNode_t_set_padding(uiNode_t *self, int value)
static swig_lua_attribute swig_uiTBar_Sf_SwigStatic_attributes[]
static swig_lua_class * swig_invDef_bases[]
static int _wrap_uiAbstractValueNode_set_min__SWIG_0(lua_State *L)
static swig_lua_const_info swig_uiNode_Sf_SwigStatic_constants[]
static int _wrap_uiSpinner_set_horizontal(lua_State *L)
#define SWIGRUNTIMEINLINE
static int _wrap_uiBaseInventory_set_fullsize(lua_State *L)
static int _wrap_uiModel_set_autoscale(lua_State *L)
static swig_lua_method swig_uiBaseInventory_Sf_SwigStatic_methods[]
SWIGRUNTIMEINLINE void * SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory)
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:1094
bool UI_Node_IsFunction(uiNode_t const *node)
Definition ui_node.cpp:85
bool UI_Node_IsVirtual(uiNode_t const *node)
Definition ui_node.cpp:42
void UI_MoveNode(uiNode_t *const parent, uiNode_t *prevNode, uiNode_t *node)
Moves a node in the tree.
Definition ui_node.cpp:840
void UI_Node_SetImage(uiNode_t *node, const char *name)
Definition ui_node.cpp:398
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:699
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:1171
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:764
void UI_NodeSetSize(uiNode_t *node, vec2_t size)
Update the node size and fire the size callback.
Definition ui_node.cpp:678
bool UI_Node_IsGhost(uiNode_t const *node)
Definition ui_node.cpp:426
bool UI_Node_IsAbstract(uiNode_t const *node)
Definition ui_node.cpp:72
void UI_Node_SetTooltip(uiNode_t *node, const char *tooltip)
Definition ui_node.cpp:410
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:745
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:1159
bool UI_Node_IsWindow(uiNode_t const *node)
Definition ui_node.cpp:60
void UI_AppendNode(uiNode_t *const parent, uiNode_t *newNode)
add a node at the end of the node child
Definition ui_node.cpp:868
void UI_NodeSetPos(uiNode_t *node, vec2_t pos)
Update the node size and fire the pos callback.
Definition ui_node.cpp:658
const char * UI_Node_GetText(uiNode_t *node)
Definition ui_node.cpp:373
uiNode_t * UI_GetNode(const uiNode_t *node, const char *name)
Search a child node by given name.
Definition ui_node.cpp:714
bool UI_Node_IsDisabled(uiNode_t const *node)
Definition ui_node.cpp:418
void UI_Node_SetFont(uiNode_t *node, const char *name)
Definition ui_node.cpp:390
bool UI_Node_IsInvisible(uiNode_t const *node)
Definition ui_node.cpp:422
void UI_Node_SetDisabled(uiNode_t *node, const bool value)
Definition ui_node.cpp:434
void UI_Node_SetText(uiNode_t *node, const char *text)
Definition ui_node.cpp:382
bool UI_Node_IsFlashing(uiNode_t const *node)
Definition ui_node.cpp:430
C interface to allow to access to cpp node code.
void UI_AbstractOption_Scroll_SetCurrent(uiNode_t *node, int pos)
int UI_AbstractOption_GetCount(uiNode_t *node)
int UI_AbstractOption_Scroll_ViewSize(uiNode_t *node)
int UI_AbstractOption_GetDataId(uiNode_t *node)
void UI_AbstractOption_Scroll_SetViewSize(uiNode_t *node, int size)
void UI_AbstractOption_SetCvar(uiNode_t *node, const char *name)
int UI_AbstractOption_Scroll_Current(uiNode_t *node)
void UI_AbstractOption_SetDataId(uiNode_t *node, int id)
void UI_AbstractOption_Scroll_SetFullSize(uiNode_t *node, int size)
void UI_AbstractOption_SetBackgroundByName(uiNode_t *node, const char *name)
const char * UI_AbstractOption_GetCvar(uiNode_t *node)
int UI_AbstractOption_Scroll_FullSize(uiNode_t *node)
base code for scrollable node
void UI_AbstractScrollbarNodeSet(uiNode_t *node, int value)
Set the position of the scrollbar to a value.
void UI_AbstractValue_SetMin(uiNode_t *node, float min)
void UI_AbstractValue_SetValueCvar(uiNode_t *node, const char *value)
float UI_AbstractValue_GetLastDiff(uiNode_t *node)
void UI_AbstractValue_SetRange(uiNode_t *node, float min, float max)
float UI_AbstractValue_GetDelta(uiNode_t *node)
void UI_AbstractValue_SetRangeCvar(uiNode_t *node, const char *min, const char *max)
void UI_AbstractValue_SetMaxCvar(uiNode_t *node, const char *max)
void UI_AbstractValue_DecValue(uiNode_t *node)
float UI_AbstractValue_GetMin(uiNode_t *node)
float UI_AbstractValue_GetValue(uiNode_t *node)
void UI_AbstractValue_SetShiftIncreaseFactor(uiNode_t *node, float factor)
void UI_AbstractValue_SetMax(uiNode_t *node, float max)
void UI_AbstractValue_IncValue(uiNode_t *node)
void UI_AbstractValue_SetValue(uiNode_t *node, float value)
float UI_AbstractValue_GetMax(uiNode_t *node)
void UI_AbstractValue_SetMinCvar(uiNode_t *node, const char *min)
float UI_AbstractValue_GetShiftIncreaseFactor(uiNode_t *node)
void UI_AbstractValue_SetDelta(uiNode_t *node, float delta)
Define common thing for GUI controls which allow to edit a value (scroolbar, spinner,...
static const vec3_t scale
void UI_Button_SetBackgroundByName(uiNode_t *node, const char *name)
void UI_Button_SetIconByName(uiNode_t *node, const char *name)
int UI_CheckBox_ValueAsInteger(uiNode_t *node)
void UI_CheckBox_Toggle(uiNode_t *node)
void UI_CheckBox_SetIconUnknownByName(uiNode_t *node, const char *name)
void UI_CheckBox_SetIconCheckedByName(uiNode_t *node, const char *name)
bool UI_CheckBox_ValueAsBoolean(uiNode_t *node)
void UI_CheckBox_SetBackgroundByName(uiNode_t *node, const char *name)
void UI_CheckBox_SetIconUncheckedByName(uiNode_t *node, const char *name)
bool UI_AddLineChartCoord(uiNode_t *node, const char *id, int x, int y)
Add a data point to a line chart.
bool UI_ClearLineChart(uiNode_t *node)
Clears all drawings froma lineChart.
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.
void UI_Model_SetTagSource(uiNode_t *node, const char *tagName)
void UI_Model_SetAnimationSource(uiNode_t *node, const char *animName)
void UI_Model_SetModelSource(uiNode_t *node, const char *modelName)
void UI_Model_SetSkinSource(uiNode_t *node, const char *skinName)
void UI_Option_SetIconByName(uiNode_t *node, const char *name)
void UI_Option_SetLabel(uiNode_t *node, const char *text)
void UI_Option_SetValue(uiNode_t *node, const char *text)
void UI_OptionTree_SelectValue(uiNode_t *node, const char *value)
void UI_Panel_SetBackgroundByName(uiNode_t *node, const char *name)
@ LAYOUTALIGN_BOTTOMLEFT
@ LAYOUTALIGN_V_BOTTOM
@ LAYOUTALIGN_LEFT
@ LAYOUTALIGN_TOPRIGHT
@ LAYOUTALIGN_V_MASK
@ LAYOUTALIGN_V_TOP
@ LAYOUTALIGN_V_MIDDLE
@ LAYOUTALIGN_ENSURE_32BIT
@ LAYOUTALIGN_TOPLEFT
@ LAYOUTALIGN_BOTTOM
@ LAYOUTALIGN_RIGHT
@ LAYOUTALIGN_NONE
@ LAYOUTALIGN_H_RIGHT
@ LAYOUTALIGN_H_MASK
@ LAYOUTALIGN_H_LEFT
@ LAYOUTALIGN_H_MIDDLE
@ LAYOUTALIGN_SPECIAL
@ LAYOUTALIGN_BOTTOMRIGHT
@ LAYOUTALIGN_MAX
@ LAYOUTALIGN_TOP
@ LAYOUTALIGN_FILL
@ LAYOUTALIGN_MIDDLE
panelLayout_t
@ LAYOUT_COLUMN
@ LAYOUT_PACK
@ LAYOUT_LEFT_RIGHT_FLOW
@ LAYOUT_CLIENT
@ LAYOUT_ENSURE_32BIT
@ LAYOUT_BORDER
@ LAYOUT_TOP_DOWN_FLOW
@ LAYOUT_MAX
@ LAYOUT_NONE
@ LAYOUT_STAR
const char * UI_RadioButton_GetCvar(uiNode_t *node)
void UI_RadioButton_SetCvar(uiNode_t *node, const char *name)
void UI_RadioButton_SetBackgroundByName(uiNode_t *node, const char *name)
void UI_RadioButton_SetValue(uiNode_t *node, const char *value)
void UI_RadioButton_SetIconByName(uiNode_t *node, const char *name)
void UI_Sequence_SetSource(uiNode_t *node, const char *name)
void UI_Spinner_SetBottomIconByName(uiNode_t *node, const char *name)
void UI_Spinner_SetTopIconByName(uiNode_t *node, const char *name)
void UI_Spinner_SetBackgroundByName(uiNode_t *node, const char *name)
@ SPINNER_ONLY_DECREASE
@ SPINNER_ONLY_INCREASE
@ SPINNER_NORMAL
void UI_TBar_SetImage(uiNode_t *node, const char *name)
void UI_TextNodeSelectLine(uiNode_t *node, int num)
Change the selected line.
void UI_TextEntryNodeUnFocus(uiNode_t *node, const uiCallContext_t *context)
force exit the edit mode of a textentry node
void UI_TextEntryNodeFocus(uiNode_t *node, const uiCallContext_t *context)
force edition of a textentry node
void UI_TextEntry_SetBackgroundByName(uiNode_t *node, const char *name)
set background sprite
void UI_Video_SetSource(uiNode_t *node, const char *name)
void UI_Window_SetBackgroundByName(uiNode_t *node, const char *name)
set background sprite
void UI_Window_SetCloseButton(uiNode_t *node, bool value)
Create/remove close button on window.
void UI_Window_SetDragButton(uiNode_t *node, bool value)
Create/remove drag button.
void UI_DeleteAllChild(uiNode_t *node)
Remove all child from a node (only remove dynamic memory allocation nodes).
Definition ui_nodes.cpp:596
const char * UI_GetPath(const uiNode_t *node)
Return a path from a window to a node.
Definition ui_nodes.cpp:174
void UI_DeleteNode(uiNode_t *node)
Definition ui_nodes.cpp:618
#define UI_EXTRADATA(NODE, TYPE)
Definition ui_nodes.h:185
uiNode_t * UI_GetWindow(const char *name)
Searches all windows for the specified one.
uiNode_t * UI_PushWindow(const char *name, const char *parentName, linkedList_t *params)
Push a window onto the window stack.
void UI_PopWindow(bool all)
Pops a window from the window stack.
#define Vector4Set(v, r, g, b, a)
Definition vector.h:62
#define Vector2Set(v, x, y)
Definition vector.h:61
#define VectorSet(v, x, y, z)
Definition vector.h:59