Generated_Members_W.cpp 127 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128
  1. // DO NOT EDIT. This file is generated
  2. #include "../Precompiled.h"
  3. #include "../AngelScript/APITemplates.h"
  4. #include "../Core/WorkQueue.h"
  5. #include "../Graphics/Graphics.h"
  6. #include "../UI/Window.h"
  7. #include "../AngelScript/Manual.h"
  8. namespace Urho3D
  9. {
  10. void FakeAddRef(void* ptr);
  11. void FakeReleaseRef(void* ptr);
  12. // const Vector<SharedPtr<UIElement>>& UIElement::GetChildren() const | File: ../UI/UIElement.h
  13. static CScriptArray* Window_GetChildren_void(Window* ptr)
  14. {
  15. const Vector<SharedPtr<UIElement>>& result = ptr->GetChildren();
  16. return VectorToHandleArray(result, "Array<UIElement@>");
  17. }
  18. // PODVector<UIElement*> UIElement::GetChildren(bool recursive) const | File: ../UI/UIElement.h
  19. static CScriptArray* Window_GetChildren_bool(Window* ptr, bool recursive)
  20. {
  21. PODVector<UIElement*> result = ptr->GetChildren(recursive);
  22. return VectorToHandleArray(result, "Array<UIElement@>");
  23. }
  24. // PODVector<UIElement*> UIElement::GetChildrenWithTag(const String& tag, bool recursive=false) const | File: ../UI/UIElement.h
  25. static CScriptArray* Window_GetChildrenWithTag_String_bool(Window* ptr, const String& tag, bool recursive)
  26. {
  27. PODVector<UIElement*> result = ptr->GetChildrenWithTag(tag, recursive);
  28. return VectorToHandleArray(result, "Array<UIElement@>");
  29. }
  30. // const StringVector& UIElement::GetTags() const | File: ../UI/UIElement.h
  31. static CScriptArray* Window_GetTags_void(Window* ptr)
  32. {
  33. const StringVector& result = ptr->GetTags();
  34. return VectorToArray<String>(result, "Array<String>");
  35. }
  36. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  37. static void Window_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool(Window* ptr, CScriptArray* exceptions, bool onlyUserData)
  38. {
  39. PODVector<StringHash> param0 = ArrayToPODVector<StringHash>(exceptions);
  40. ptr->UnsubscribeFromAllEventsExcept(param0, onlyUserData);
  41. }
  42. // explicit Window::Window(Context* context) | File: ../UI/Window.h
  43. static Window* Window_Window_Context()
  44. {
  45. return new Window(GetScriptContext());
  46. }
  47. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  48. static void WorkQueue_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool(WorkQueue* ptr, CScriptArray* exceptions, bool onlyUserData)
  49. {
  50. PODVector<StringHash> param0 = ArrayToPODVector<StringHash>(exceptions);
  51. ptr->UnsubscribeFromAllEventsExcept(param0, onlyUserData);
  52. }
  53. // explicit WorkQueue::WorkQueue(Context* context) | File: ../Core/WorkQueue.h
  54. static WorkQueue* WorkQueue_WorkQueue_Context()
  55. {
  56. return new WorkQueue(GetScriptContext());
  57. }
  58. // WindowModeParams::~WindowModeParams() | Implicitly-declared
  59. static void WindowModeParams_Destructor(WindowModeParams* ptr)
  60. {
  61. ptr->~WindowModeParams();
  62. }
  63. void ASRegisterGenerated_Members_W(asIScriptEngine* engine)
  64. {
  65. // void UIElement::AddChild(UIElement* element) | File: ../UI/UIElement.h
  66. engine->RegisterObjectMethod("Window", "void AddChild(UIElement@+)", asMETHODPR(Window, AddChild, (UIElement*), void), asCALL_THISCALL);
  67. // void RefCounted::AddRef() | File: ../Container/RefCounted.h
  68. engine->RegisterObjectBehaviour("Window", asBEHAVE_ADDREF, "void f()", asMETHODPR(Window, AddRef, (), void), asCALL_THISCALL);
  69. // void UIElement::AddTag(const String& tag) | File: ../UI/UIElement.h
  70. engine->RegisterObjectMethod("Window", "void AddTag(const String&in)", asMETHODPR(Window, AddTag, (const String&), void), asCALL_THISCALL);
  71. // void UIElement::AddTags(const String& tags, char separator=';') | File: ../UI/UIElement.h
  72. engine->RegisterObjectMethod("Window", "void AddTags(const String&in, int8 = ';')", asMETHODPR(Window, AddTags, (const String&, char), void), asCALL_THISCALL);
  73. // void UIElement::AddTags(const StringVector& tags) | File: ../UI/UIElement.h
  74. // Error: type "const StringVector&" can not automatically bind
  75. // void UIElement::AdjustScissor(IntRect& currentScissor) | File: ../UI/UIElement.h
  76. engine->RegisterObjectMethod("Window", "void AdjustScissor(IntRect&)", asMETHODPR(Window, AdjustScissor, (IntRect&), void), asCALL_THISCALL);
  77. // void Serializable::AllocateNetworkState() | File: ../Scene/Serializable.h
  78. engine->RegisterObjectMethod("Window", "void AllocateNetworkState()", asMETHODPR(Window, AllocateNetworkState, (), void), asCALL_THISCALL);
  79. // void UIElement::ApplyAttributes() override | File: ../UI/UIElement.h
  80. engine->RegisterObjectMethod("Window", "void ApplyAttributes()", asMETHODPR(Window, ApplyAttributes, (), void), asCALL_THISCALL);
  81. // void UIElement::BringToFront() | File: ../UI/UIElement.h
  82. engine->RegisterObjectMethod("Window", "void BringToFront()", asMETHODPR(Window, BringToFront, (), void), asCALL_THISCALL);
  83. // template<typename T> T* Object::Cast() | File: ../Core/Object.h
  84. // Not registered because template
  85. // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
  86. // Not registered because template
  87. // UIElement* UIElement::CreateChild(StringHash type, const String& name=String::EMPTY, unsigned index=M_MAX_UNSIGNED) | File: ../UI/UIElement.h
  88. engine->RegisterObjectMethod("Window", "UIElement@+ CreateChild(StringHash, const String&in = String::EMPTY, uint = M_MAX_UNSIGNED)", asMETHODPR(Window, CreateChild, (StringHash, const String&, unsigned), UIElement*), asCALL_THISCALL);
  89. // template<class T> T* UIElement::CreateChild(const String& name=String::EMPTY, unsigned index=M_MAX_UNSIGNED) | File: ../UI/UIElement.h
  90. // Not registered because template
  91. // void UIElement::DisableLayoutUpdate() | File: ../UI/UIElement.h
  92. engine->RegisterObjectMethod("Window", "void DisableLayoutUpdate()", asMETHODPR(Window, DisableLayoutUpdate, (), void), asCALL_THISCALL);
  93. // virtual IntVector2 UIElement::ElementToScreen(const IntVector2& position) | File: ../UI/UIElement.h
  94. engine->RegisterObjectMethod("Window", "IntVector2 ElementToScreen(const IntVector2&in)", asMETHODPR(Window, ElementToScreen, (const IntVector2&), IntVector2), asCALL_THISCALL);
  95. // void UIElement::EnableLayoutUpdate() | File: ../UI/UIElement.h
  96. engine->RegisterObjectMethod("Window", "void EnableLayoutUpdate()", asMETHODPR(Window, EnableLayoutUpdate, (), void), asCALL_THISCALL);
  97. // bool UIElement::FilterAttributes(XMLElement& dest) const | File: ../UI/UIElement.h
  98. engine->RegisterObjectMethod("Window", "bool FilterAttributes(XMLElement&) const", asMETHODPR(Window, FilterAttributes, (XMLElement&) const, bool), asCALL_THISCALL);
  99. // unsigned UIElement::FindChild(UIElement* element) const | File: ../UI/UIElement.h
  100. engine->RegisterObjectMethod("Window", "uint FindChild(UIElement@+) const", asMETHODPR(Window, FindChild, (UIElement*) const, unsigned), asCALL_THISCALL);
  101. // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
  102. engine->RegisterObjectMethod("Window", "bool GetAnimationEnabled() const", asMETHODPR(Window, GetAnimationEnabled, () const, bool), asCALL_THISCALL);
  103. engine->RegisterObjectMethod("Window", "bool get_animationEnabled() const", asMETHODPR(Window, GetAnimationEnabled, () const, bool), asCALL_THISCALL);
  104. // const String& UIElement::GetAppliedStyle() const | File: ../UI/UIElement.h
  105. engine->RegisterObjectMethod("Window", "const String& GetAppliedStyle() const", asMETHODPR(Window, GetAppliedStyle, () const, const String&), asCALL_THISCALL);
  106. engine->RegisterObjectMethod("Window", "const String& get_style() const", asMETHODPR(Window, GetAppliedStyle, () const, const String&), asCALL_THISCALL);
  107. // Variant Serializable::GetAttribute(unsigned index) const | File: ../Scene/Serializable.h
  108. engine->RegisterObjectMethod("Window", "Variant GetAttribute(uint) const", asMETHODPR(Window, GetAttribute, (unsigned) const, Variant), asCALL_THISCALL);
  109. engine->RegisterObjectMethod("Window", "Variant get_attributes(uint) const", asMETHODPR(Window, GetAttribute, (unsigned) const, Variant), asCALL_THISCALL);
  110. // Variant Serializable::GetAttribute(const String& name) const | File: ../Scene/Serializable.h
  111. engine->RegisterObjectMethod("Window", "Variant GetAttribute(const String&in) const", asMETHODPR(Window, GetAttribute, (const String&) const, Variant), asCALL_THISCALL);
  112. // ValueAnimation* Animatable::GetAttributeAnimation(const String& name) const | File: ../Scene/Animatable.h
  113. engine->RegisterObjectMethod("Window", "ValueAnimation@+ GetAttributeAnimation(const String&in) const", asMETHODPR(Window, GetAttributeAnimation, (const String&) const, ValueAnimation*), asCALL_THISCALL);
  114. // float Animatable::GetAttributeAnimationSpeed(const String& name) const | File: ../Scene/Animatable.h
  115. engine->RegisterObjectMethod("Window", "float GetAttributeAnimationSpeed(const String&in) const", asMETHODPR(Window, GetAttributeAnimationSpeed, (const String&) const, float), asCALL_THISCALL);
  116. // float Animatable::GetAttributeAnimationTime(const String& name) const | File: ../Scene/Animatable.h
  117. engine->RegisterObjectMethod("Window", "float GetAttributeAnimationTime(const String&in) const", asMETHODPR(Window, GetAttributeAnimationTime, (const String&) const, float), asCALL_THISCALL);
  118. // WrapMode Animatable::GetAttributeAnimationWrapMode(const String& name) const | File: ../Scene/Animatable.h
  119. engine->RegisterObjectMethod("Window", "WrapMode GetAttributeAnimationWrapMode(const String&in) const", asMETHODPR(Window, GetAttributeAnimationWrapMode, (const String&) const, WrapMode), asCALL_THISCALL);
  120. // Variant Serializable::GetAttributeDefault(unsigned index) const | File: ../Scene/Serializable.h
  121. engine->RegisterObjectMethod("Window", "Variant GetAttributeDefault(uint) const", asMETHODPR(Window, GetAttributeDefault, (unsigned) const, Variant), asCALL_THISCALL);
  122. engine->RegisterObjectMethod("Window", "Variant get_attributeDefaults(uint) const", asMETHODPR(Window, GetAttributeDefault, (unsigned) const, Variant), asCALL_THISCALL);
  123. // Variant Serializable::GetAttributeDefault(const String& name) const | File: ../Scene/Serializable.h
  124. engine->RegisterObjectMethod("Window", "Variant GetAttributeDefault(const String&in) const", asMETHODPR(Window, GetAttributeDefault, (const String&) const, Variant), asCALL_THISCALL);
  125. // virtual const Vector<AttributeInfo>* Serializable::GetAttributes() const | File: ../Scene/Serializable.h
  126. // Error: type "const Vector<AttributeInfo>*" can not automatically bind
  127. // void Window::GetBatches(PODVector<UIBatch>& batches, PODVector<float>& vertexData, const IntRect& currentScissor) override | File: ../UI/Window.h
  128. // Error: type "PODVector<UIBatch>&" can not automatically bind
  129. // void UIElement::GetBatchesWithOffset(IntVector2& offset, PODVector<UIBatch>& batches, PODVector<float>& vertexData, IntRect currentScissor) | File: ../UI/UIElement.h
  130. // Error: type "PODVector<UIBatch>&" can not automatically bind
  131. // BlendMode BorderImage::GetBlendMode() const | File: ../UI/BorderImage.h
  132. engine->RegisterObjectMethod("Window", "BlendMode GetBlendMode() const", asMETHODPR(Window, GetBlendMode, () const, BlendMode), asCALL_THISCALL);
  133. engine->RegisterObjectMethod("Window", "BlendMode get_blendMode() const", asMETHODPR(Window, GetBlendMode, () const, BlendMode), asCALL_THISCALL);
  134. // bool Object::GetBlockEvents() const | File: ../Core/Object.h
  135. engine->RegisterObjectMethod("Window", "bool GetBlockEvents() const", asMETHODPR(Window, GetBlockEvents, () const, bool), asCALL_THISCALL);
  136. // const IntRect& BorderImage::GetBorder() const | File: ../UI/BorderImage.h
  137. engine->RegisterObjectMethod("Window", "const IntRect& GetBorder() const", asMETHODPR(Window, GetBorder, () const, const IntRect&), asCALL_THISCALL);
  138. engine->RegisterObjectMethod("Window", "const IntRect& get_border() const", asMETHODPR(Window, GetBorder, () const, const IntRect&), asCALL_THISCALL);
  139. // bool UIElement::GetBringToBack() const | File: ../UI/UIElement.h
  140. engine->RegisterObjectMethod("Window", "bool GetBringToBack() const", asMETHODPR(Window, GetBringToBack, () const, bool), asCALL_THISCALL);
  141. engine->RegisterObjectMethod("Window", "bool get_bringToBack() const", asMETHODPR(Window, GetBringToBack, () const, bool), asCALL_THISCALL);
  142. // bool UIElement::GetBringToFront() const | File: ../UI/UIElement.h
  143. engine->RegisterObjectMethod("Window", "bool GetBringToFront() const", asMETHODPR(Window, GetBringToFront, () const, bool), asCALL_THISCALL);
  144. engine->RegisterObjectMethod("Window", "bool get_bringToFront() const", asMETHODPR(Window, GetBringToFront, () const, bool), asCALL_THISCALL);
  145. // const String& Object::GetCategory() const | File: ../Core/Object.h
  146. engine->RegisterObjectMethod("Window", "const String& GetCategory() const", asMETHODPR(Window, GetCategory, () const, const String&), asCALL_THISCALL);
  147. engine->RegisterObjectMethod("Window", "const String& get_category() const", asMETHODPR(Window, GetCategory, () const, const String&), asCALL_THISCALL);
  148. // UIElement* UIElement::GetChild(unsigned index) const | File: ../UI/UIElement.h
  149. engine->RegisterObjectMethod("Window", "UIElement@+ GetChild(uint) const", asMETHODPR(Window, GetChild, (unsigned) const, UIElement*), asCALL_THISCALL);
  150. engine->RegisterObjectMethod("Window", "UIElement@+ get_children(uint) const", asMETHODPR(Window, GetChild, (unsigned) const, UIElement*), asCALL_THISCALL);
  151. // UIElement* UIElement::GetChild(const String& name, bool recursive=false) const | File: ../UI/UIElement.h
  152. engine->RegisterObjectMethod("Window", "UIElement@+ GetChild(const String&in, bool = false) const", asMETHODPR(Window, GetChild, (const String&, bool) const, UIElement*), asCALL_THISCALL);
  153. // UIElement* UIElement::GetChild(const StringHash& key, const Variant& value=Variant::EMPTY, bool recursive=false) const | File: ../UI/UIElement.h
  154. engine->RegisterObjectMethod("Window", "UIElement@+ GetChild(const StringHash&in, const Variant&in = Variant::EMPTY, bool = false) const", asMETHODPR(Window, GetChild, (const StringHash&, const Variant&, bool) const, UIElement*), asCALL_THISCALL);
  155. // template<class T> T* UIElement::GetChildDynamicCast(unsigned index) const | File: ../UI/UIElement.h
  156. // Not registered because template
  157. // template<class T> T* UIElement::GetChildDynamicCast(const String& name, bool recursive=false) const | File: ../UI/UIElement.h
  158. // Not registered because template
  159. // template<class T> T* UIElement::GetChildDynamicCast(const StringHash& key, const Variant& value=Variant::EMPTY, bool recursive=false) const | File: ../UI/UIElement.h
  160. // Not registered because template
  161. // const IntVector2& UIElement::GetChildOffset() const | File: ../UI/UIElement.h
  162. engine->RegisterObjectMethod("Window", "const IntVector2& GetChildOffset() const", asMETHODPR(Window, GetChildOffset, () const, const IntVector2&), asCALL_THISCALL);
  163. engine->RegisterObjectMethod("Window", "const IntVector2& get_childOffset() const", asMETHODPR(Window, GetChildOffset, () const, const IntVector2&), asCALL_THISCALL);
  164. // const Vector<SharedPtr<UIElement>>& UIElement::GetChildren() const | File: ../UI/UIElement.h
  165. engine->RegisterObjectMethod("Window", "Array<UIElement@>@ GetChildren() const", asFUNCTION(Window_GetChildren_void), asCALL_CDECL_OBJFIRST);
  166. // void UIElement::GetChildren(PODVector<UIElement*>& dest, bool recursive=false) const | File: ../UI/UIElement.h
  167. // Error: type "PODVector<UIElement*>&" can not automatically bind
  168. // PODVector<UIElement*> UIElement::GetChildren(bool recursive) const | File: ../UI/UIElement.h
  169. engine->RegisterObjectMethod("Window", "Array<UIElement@>@ GetChildren(bool) const", asFUNCTION(Window_GetChildren_bool), asCALL_CDECL_OBJFIRST);
  170. // void UIElement::GetChildrenWithTag(PODVector<UIElement*>& dest, const String& tag, bool recursive=false) const | File: ../UI/UIElement.h
  171. // Error: type "PODVector<UIElement*>&" can not automatically bind
  172. // PODVector<UIElement*> UIElement::GetChildrenWithTag(const String& tag, bool recursive=false) const | File: ../UI/UIElement.h
  173. engine->RegisterObjectMethod("Window", "Array<UIElement@>@ GetChildrenWithTag(const String&in, bool = false) const", asFUNCTION(Window_GetChildrenWithTag_String_bool), asCALL_CDECL_OBJFIRST);
  174. // template<class T> T* UIElement::GetChildStaticCast(unsigned index) const | File: ../UI/UIElement.h
  175. // Not registered because template
  176. // template<class T> T* UIElement::GetChildStaticCast(const String& name, bool recursive=false) const | File: ../UI/UIElement.h
  177. // Not registered because template
  178. // template<class T> T* UIElement::GetChildStaticCast(const StringHash& key, const Variant& value=Variant::EMPTY, bool recursive=false) const | File: ../UI/UIElement.h
  179. // Not registered because template
  180. // const IntRect& UIElement::GetClipBorder() const | File: ../UI/UIElement.h
  181. engine->RegisterObjectMethod("Window", "const IntRect& GetClipBorder() const", asMETHODPR(Window, GetClipBorder, () const, const IntRect&), asCALL_THISCALL);
  182. engine->RegisterObjectMethod("Window", "const IntRect& get_clipBorder() const", asMETHODPR(Window, GetClipBorder, () const, const IntRect&), asCALL_THISCALL);
  183. // bool UIElement::GetClipChildren() const | File: ../UI/UIElement.h
  184. engine->RegisterObjectMethod("Window", "bool GetClipChildren() const", asMETHODPR(Window, GetClipChildren, () const, bool), asCALL_THISCALL);
  185. engine->RegisterObjectMethod("Window", "bool get_clipChildren() const", asMETHODPR(Window, GetClipChildren, () const, bool), asCALL_THISCALL);
  186. // const Color& UIElement::GetColor(Corner corner) const | File: ../UI/UIElement.h
  187. engine->RegisterObjectMethod("Window", "const Color& GetColor(Corner) const", asMETHODPR(Window, GetColor, (Corner) const, const Color&), asCALL_THISCALL);
  188. engine->RegisterObjectMethod("Window", "const Color& get_colors(Corner) const", asMETHODPR(Window, GetColor, (Corner) const, const Color&), asCALL_THISCALL);
  189. // const Color& UIElement::GetColorAttr() const | File: ../UI/UIElement.h
  190. engine->RegisterObjectMethod("Window", "const Color& GetColorAttr() const", asMETHODPR(Window, GetColorAttr, () const, const Color&), asCALL_THISCALL);
  191. // IntRect UIElement::GetCombinedScreenRect() | File: ../UI/UIElement.h
  192. engine->RegisterObjectMethod("Window", "IntRect GetCombinedScreenRect()", asMETHODPR(Window, GetCombinedScreenRect, (), IntRect), asCALL_THISCALL);
  193. engine->RegisterObjectMethod("Window", "IntRect get_combinedScreenRect()", asMETHODPR(Window, GetCombinedScreenRect, (), IntRect), asCALL_THISCALL);
  194. // Context* Object::GetContext() const | File: ../Core/Object.h
  195. // Error: type "Context*" can not be returned
  196. // virtual void UIElement::GetDebugDrawBatches(PODVector<UIBatch>& batches, PODVector<float>& vertexData, const IntRect& currentScissor) | File: ../UI/UIElement.h
  197. // Error: type "PODVector<UIBatch>&" can not automatically bind
  198. // XMLFile* UIElement::GetDefaultStyle(bool recursiveUp=true) const | File: ../UI/UIElement.h
  199. engine->RegisterObjectMethod("Window", "XMLFile@+ GetDefaultStyle(bool = true) const", asMETHODPR(Window, GetDefaultStyle, (bool) const, XMLFile*), asCALL_THISCALL);
  200. // const Color& UIElement::GetDerivedColor() const | File: ../UI/UIElement.h
  201. engine->RegisterObjectMethod("Window", "const Color& GetDerivedColor() const", asMETHODPR(Window, GetDerivedColor, () const, const Color&), asCALL_THISCALL);
  202. // float UIElement::GetDerivedOpacity() const | File: ../UI/UIElement.h
  203. engine->RegisterObjectMethod("Window", "float GetDerivedOpacity() const", asMETHODPR(Window, GetDerivedOpacity, () const, float), asCALL_THISCALL);
  204. engine->RegisterObjectMethod("Window", "float get_derivedOpacity() const", asMETHODPR(Window, GetDerivedOpacity, () const, float), asCALL_THISCALL);
  205. // const IntVector2& BorderImage::GetDisabledOffset() const | File: ../UI/BorderImage.h
  206. engine->RegisterObjectMethod("Window", "const IntVector2& GetDisabledOffset() const", asMETHODPR(Window, GetDisabledOffset, () const, const IntVector2&), asCALL_THISCALL);
  207. engine->RegisterObjectMethod("Window", "const IntVector2& get_disabledOffset() const", asMETHODPR(Window, GetDisabledOffset, () const, const IntVector2&), asCALL_THISCALL);
  208. // MouseButtonFlags UIElement::GetDragButtonCombo() const | File: ../UI/UIElement.h
  209. engine->RegisterObjectMethod("Window", "MouseButtonFlags GetDragButtonCombo() const", asMETHODPR(Window, GetDragButtonCombo, () const, MouseButtonFlags), asCALL_THISCALL);
  210. engine->RegisterObjectMethod("Window", "MouseButtonFlags get_dragButtonCombo() const", asMETHODPR(Window, GetDragButtonCombo, () const, MouseButtonFlags), asCALL_THISCALL);
  211. // unsigned UIElement::GetDragButtonCount() const | File: ../UI/UIElement.h
  212. engine->RegisterObjectMethod("Window", "uint GetDragButtonCount() const", asMETHODPR(Window, GetDragButtonCount, () const, unsigned), asCALL_THISCALL);
  213. engine->RegisterObjectMethod("Window", "uint get_dragButtonCount() const", asMETHODPR(Window, GetDragButtonCount, () const, unsigned), asCALL_THISCALL);
  214. // DragAndDropModeFlags UIElement::GetDragDropMode() const | File: ../UI/UIElement.h
  215. engine->RegisterObjectMethod("Window", "DragAndDropModeFlags GetDragDropMode() const", asMETHODPR(Window, GetDragDropMode, () const, DragAndDropModeFlags), asCALL_THISCALL);
  216. engine->RegisterObjectMethod("Window", "DragAndDropModeFlags get_dragDropMode() const", asMETHODPR(Window, GetDragDropMode, () const, DragAndDropModeFlags), asCALL_THISCALL);
  217. // IntVector2 UIElement::GetEffectiveMinSize() const | File: ../UI/UIElement.h
  218. engine->RegisterObjectMethod("Window", "IntVector2 GetEffectiveMinSize() const", asMETHODPR(Window, GetEffectiveMinSize, () const, IntVector2), asCALL_THISCALL);
  219. // UIElement* UIElement::GetElementEventSender() const | File: ../UI/UIElement.h
  220. engine->RegisterObjectMethod("Window", "UIElement@+ GetElementEventSender() const", asMETHODPR(Window, GetElementEventSender, () const, UIElement*), asCALL_THISCALL);
  221. // bool UIElement::GetEnableAnchor() const | File: ../UI/UIElement.h
  222. engine->RegisterObjectMethod("Window", "bool GetEnableAnchor() const", asMETHODPR(Window, GetEnableAnchor, () const, bool), asCALL_THISCALL);
  223. engine->RegisterObjectMethod("Window", "bool get_enableAnchor() const", asMETHODPR(Window, GetEnableAnchor, () const, bool), asCALL_THISCALL);
  224. // VariantMap& Object::GetEventDataMap() const | File: ../Core/Object.h
  225. engine->RegisterObjectMethod("Window", "VariantMap& GetEventDataMap() const", asMETHODPR(Window, GetEventDataMap, () const, VariantMap&), asCALL_THISCALL);
  226. // EventHandler* Object::GetEventHandler() const | File: ../Core/Object.h
  227. // Error: type "EventHandler*" can not automatically bind
  228. // Object* Object::GetEventSender() const | File: ../Core/Object.h
  229. engine->RegisterObjectMethod("Window", "Object@+ GetEventSender() const", asMETHODPR(Window, GetEventSender, () const, Object*), asCALL_THISCALL);
  230. // bool Window::GetFixedHeightResizing() const | File: ../UI/Window.h
  231. engine->RegisterObjectMethod("Window", "bool GetFixedHeightResizing() const", asMETHODPR(Window, GetFixedHeightResizing, () const, bool), asCALL_THISCALL);
  232. engine->RegisterObjectMethod("Window", "bool get_fixedHeightResizing() const", asMETHODPR(Window, GetFixedHeightResizing, () const, bool), asCALL_THISCALL);
  233. // bool Window::GetFixedWidthResizing() const | File: ../UI/Window.h
  234. engine->RegisterObjectMethod("Window", "bool GetFixedWidthResizing() const", asMETHODPR(Window, GetFixedWidthResizing, () const, bool), asCALL_THISCALL);
  235. engine->RegisterObjectMethod("Window", "bool get_fixedWidthResizing() const", asMETHODPR(Window, GetFixedWidthResizing, () const, bool), asCALL_THISCALL);
  236. // FocusMode UIElement::GetFocusMode() const | File: ../UI/UIElement.h
  237. engine->RegisterObjectMethod("Window", "FocusMode GetFocusMode() const", asMETHODPR(Window, GetFocusMode, () const, FocusMode), asCALL_THISCALL);
  238. engine->RegisterObjectMethod("Window", "FocusMode get_focusMode() const", asMETHODPR(Window, GetFocusMode, () const, FocusMode), asCALL_THISCALL);
  239. // const Variant& Object::GetGlobalVar(StringHash key) const | File: ../Core/Object.h
  240. engine->RegisterObjectMethod("Window", "const Variant& GetGlobalVar(StringHash) const", asMETHODPR(Window, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  241. engine->RegisterObjectMethod("Window", "const Variant& get_globalVar(StringHash) const", asMETHODPR(Window, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  242. // const VariantMap& Object::GetGlobalVars() const | File: ../Core/Object.h
  243. engine->RegisterObjectMethod("Window", "const VariantMap& GetGlobalVars() const", asMETHODPR(Window, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  244. engine->RegisterObjectMethod("Window", "const VariantMap& get_globalVars() const", asMETHODPR(Window, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  245. // int UIElement::GetHeight() const | File: ../UI/UIElement.h
  246. engine->RegisterObjectMethod("Window", "int GetHeight() const", asMETHODPR(Window, GetHeight, () const, int), asCALL_THISCALL);
  247. engine->RegisterObjectMethod("Window", "int get_height() const", asMETHODPR(Window, GetHeight, () const, int), asCALL_THISCALL);
  248. // HorizontalAlignment UIElement::GetHorizontalAlignment() const | File: ../UI/UIElement.h
  249. engine->RegisterObjectMethod("Window", "HorizontalAlignment GetHorizontalAlignment() const", asMETHODPR(Window, GetHorizontalAlignment, () const, HorizontalAlignment), asCALL_THISCALL);
  250. engine->RegisterObjectMethod("Window", "HorizontalAlignment get_horizontalAlignment() const", asMETHODPR(Window, GetHorizontalAlignment, () const, HorizontalAlignment), asCALL_THISCALL);
  251. // const IntVector2& BorderImage::GetHoverOffset() const | File: ../UI/BorderImage.h
  252. engine->RegisterObjectMethod("Window", "const IntVector2& GetHoverOffset() const", asMETHODPR(Window, GetHoverOffset, () const, const IntVector2&), asCALL_THISCALL);
  253. engine->RegisterObjectMethod("Window", "const IntVector2& get_hoverOffset() const", asMETHODPR(Window, GetHoverOffset, () const, const IntVector2&), asCALL_THISCALL);
  254. // const IntRect& BorderImage::GetImageBorder() const | File: ../UI/BorderImage.h
  255. engine->RegisterObjectMethod("Window", "const IntRect& GetImageBorder() const", asMETHODPR(Window, GetImageBorder, () const, const IntRect&), asCALL_THISCALL);
  256. engine->RegisterObjectMethod("Window", "const IntRect& get_imageBorder() const", asMETHODPR(Window, GetImageBorder, () const, const IntRect&), asCALL_THISCALL);
  257. // const IntRect& BorderImage::GetImageRect() const | File: ../UI/BorderImage.h
  258. engine->RegisterObjectMethod("Window", "const IntRect& GetImageRect() const", asMETHODPR(Window, GetImageRect, () const, const IntRect&), asCALL_THISCALL);
  259. engine->RegisterObjectMethod("Window", "const IntRect& get_imageRect() const", asMETHODPR(Window, GetImageRect, () const, const IntRect&), asCALL_THISCALL);
  260. // int UIElement::GetIndent() const | File: ../UI/UIElement.h
  261. engine->RegisterObjectMethod("Window", "int GetIndent() const", asMETHODPR(Window, GetIndent, () const, int), asCALL_THISCALL);
  262. engine->RegisterObjectMethod("Window", "int get_indent() const", asMETHODPR(Window, GetIndent, () const, int), asCALL_THISCALL);
  263. // int UIElement::GetIndentSpacing() const | File: ../UI/UIElement.h
  264. engine->RegisterObjectMethod("Window", "int GetIndentSpacing() const", asMETHODPR(Window, GetIndentSpacing, () const, int), asCALL_THISCALL);
  265. engine->RegisterObjectMethod("Window", "int get_indentSpacing() const", asMETHODPR(Window, GetIndentSpacing, () const, int), asCALL_THISCALL);
  266. // int UIElement::GetIndentWidth() const | File: ../UI/UIElement.h
  267. engine->RegisterObjectMethod("Window", "int GetIndentWidth() const", asMETHODPR(Window, GetIndentWidth, () const, int), asCALL_THISCALL);
  268. engine->RegisterObjectMethod("Window", "int get_indentWidth() const", asMETHODPR(Window, GetIndentWidth, () const, int), asCALL_THISCALL);
  269. // bool Serializable::GetInterceptNetworkUpdate(const String& attributeName) const | File: ../Scene/Serializable.h
  270. engine->RegisterObjectMethod("Window", "bool GetInterceptNetworkUpdate(const String&in) const", asMETHODPR(Window, GetInterceptNetworkUpdate, (const String&) const, bool), asCALL_THISCALL);
  271. // const IntRect& UIElement::GetLayoutBorder() const | File: ../UI/UIElement.h
  272. engine->RegisterObjectMethod("Window", "const IntRect& GetLayoutBorder() const", asMETHODPR(Window, GetLayoutBorder, () const, const IntRect&), asCALL_THISCALL);
  273. engine->RegisterObjectMethod("Window", "const IntRect& get_layoutBorder() const", asMETHODPR(Window, GetLayoutBorder, () const, const IntRect&), asCALL_THISCALL);
  274. // int UIElement::GetLayoutElementMaxSize() const | File: ../UI/UIElement.h
  275. engine->RegisterObjectMethod("Window", "int GetLayoutElementMaxSize() const", asMETHODPR(Window, GetLayoutElementMaxSize, () const, int), asCALL_THISCALL);
  276. // const Vector2& UIElement::GetLayoutFlexScale() const | File: ../UI/UIElement.h
  277. engine->RegisterObjectMethod("Window", "const Vector2& GetLayoutFlexScale() const", asMETHODPR(Window, GetLayoutFlexScale, () const, const Vector2&), asCALL_THISCALL);
  278. engine->RegisterObjectMethod("Window", "const Vector2& get_layoutFlexScale() const", asMETHODPR(Window, GetLayoutFlexScale, () const, const Vector2&), asCALL_THISCALL);
  279. // LayoutMode UIElement::GetLayoutMode() const | File: ../UI/UIElement.h
  280. engine->RegisterObjectMethod("Window", "LayoutMode GetLayoutMode() const", asMETHODPR(Window, GetLayoutMode, () const, LayoutMode), asCALL_THISCALL);
  281. engine->RegisterObjectMethod("Window", "LayoutMode get_layoutMode() const", asMETHODPR(Window, GetLayoutMode, () const, LayoutMode), asCALL_THISCALL);
  282. // int UIElement::GetLayoutSpacing() const | File: ../UI/UIElement.h
  283. engine->RegisterObjectMethod("Window", "int GetLayoutSpacing() const", asMETHODPR(Window, GetLayoutSpacing, () const, int), asCALL_THISCALL);
  284. engine->RegisterObjectMethod("Window", "int get_layoutSpacing() const", asMETHODPR(Window, GetLayoutSpacing, () const, int), asCALL_THISCALL);
  285. // Material* BorderImage::GetMaterial() const | File: ../UI/BorderImage.h
  286. engine->RegisterObjectMethod("Window", "Material@+ GetMaterial() const", asMETHODPR(Window, GetMaterial, () const, Material*), asCALL_THISCALL);
  287. engine->RegisterObjectMethod("Window", "Material@+ get_material() const", asMETHODPR(Window, GetMaterial, () const, Material*), asCALL_THISCALL);
  288. // ResourceRef BorderImage::GetMaterialAttr() const | File: ../UI/BorderImage.h
  289. engine->RegisterObjectMethod("Window", "ResourceRef GetMaterialAttr() const", asMETHODPR(Window, GetMaterialAttr, () const, ResourceRef), asCALL_THISCALL);
  290. // const Vector2& UIElement::GetMaxAnchor() const | File: ../UI/UIElement.h
  291. engine->RegisterObjectMethod("Window", "const Vector2& GetMaxAnchor() const", asMETHODPR(Window, GetMaxAnchor, () const, const Vector2&), asCALL_THISCALL);
  292. engine->RegisterObjectMethod("Window", "const Vector2& get_maxAnchor() const", asMETHODPR(Window, GetMaxAnchor, () const, const Vector2&), asCALL_THISCALL);
  293. // int UIElement::GetMaxHeight() const | File: ../UI/UIElement.h
  294. engine->RegisterObjectMethod("Window", "int GetMaxHeight() const", asMETHODPR(Window, GetMaxHeight, () const, int), asCALL_THISCALL);
  295. engine->RegisterObjectMethod("Window", "int get_maxHeight() const", asMETHODPR(Window, GetMaxHeight, () const, int), asCALL_THISCALL);
  296. // const IntVector2& UIElement::GetMaxOffset() const | File: ../UI/UIElement.h
  297. engine->RegisterObjectMethod("Window", "const IntVector2& GetMaxOffset() const", asMETHODPR(Window, GetMaxOffset, () const, const IntVector2&), asCALL_THISCALL);
  298. engine->RegisterObjectMethod("Window", "const IntVector2& get_maxOffset() const", asMETHODPR(Window, GetMaxOffset, () const, const IntVector2&), asCALL_THISCALL);
  299. // const IntVector2& UIElement::GetMaxSize() const | File: ../UI/UIElement.h
  300. engine->RegisterObjectMethod("Window", "const IntVector2& GetMaxSize() const", asMETHODPR(Window, GetMaxSize, () const, const IntVector2&), asCALL_THISCALL);
  301. engine->RegisterObjectMethod("Window", "const IntVector2& get_maxSize() const", asMETHODPR(Window, GetMaxSize, () const, const IntVector2&), asCALL_THISCALL);
  302. // int UIElement::GetMaxWidth() const | File: ../UI/UIElement.h
  303. engine->RegisterObjectMethod("Window", "int GetMaxWidth() const", asMETHODPR(Window, GetMaxWidth, () const, int), asCALL_THISCALL);
  304. engine->RegisterObjectMethod("Window", "int get_maxWidth() const", asMETHODPR(Window, GetMaxWidth, () const, int), asCALL_THISCALL);
  305. // const Vector2& UIElement::GetMinAnchor() const | File: ../UI/UIElement.h
  306. engine->RegisterObjectMethod("Window", "const Vector2& GetMinAnchor() const", asMETHODPR(Window, GetMinAnchor, () const, const Vector2&), asCALL_THISCALL);
  307. engine->RegisterObjectMethod("Window", "const Vector2& get_minAnchor() const", asMETHODPR(Window, GetMinAnchor, () const, const Vector2&), asCALL_THISCALL);
  308. // int UIElement::GetMinHeight() const | File: ../UI/UIElement.h
  309. engine->RegisterObjectMethod("Window", "int GetMinHeight() const", asMETHODPR(Window, GetMinHeight, () const, int), asCALL_THISCALL);
  310. engine->RegisterObjectMethod("Window", "int get_minHeight() const", asMETHODPR(Window, GetMinHeight, () const, int), asCALL_THISCALL);
  311. // const IntVector2& UIElement::GetMinOffset() const | File: ../UI/UIElement.h
  312. engine->RegisterObjectMethod("Window", "const IntVector2& GetMinOffset() const", asMETHODPR(Window, GetMinOffset, () const, const IntVector2&), asCALL_THISCALL);
  313. engine->RegisterObjectMethod("Window", "const IntVector2& get_minOffset() const", asMETHODPR(Window, GetMinOffset, () const, const IntVector2&), asCALL_THISCALL);
  314. // const IntVector2& UIElement::GetMinSize() const | File: ../UI/UIElement.h
  315. engine->RegisterObjectMethod("Window", "const IntVector2& GetMinSize() const", asMETHODPR(Window, GetMinSize, () const, const IntVector2&), asCALL_THISCALL);
  316. engine->RegisterObjectMethod("Window", "const IntVector2& get_minSize() const", asMETHODPR(Window, GetMinSize, () const, const IntVector2&), asCALL_THISCALL);
  317. // int UIElement::GetMinWidth() const | File: ../UI/UIElement.h
  318. engine->RegisterObjectMethod("Window", "int GetMinWidth() const", asMETHODPR(Window, GetMinWidth, () const, int), asCALL_THISCALL);
  319. engine->RegisterObjectMethod("Window", "int get_minWidth() const", asMETHODPR(Window, GetMinWidth, () const, int), asCALL_THISCALL);
  320. // bool Window::GetModalAutoDismiss() const | File: ../UI/Window.h
  321. engine->RegisterObjectMethod("Window", "bool GetModalAutoDismiss() const", asMETHODPR(Window, GetModalAutoDismiss, () const, bool), asCALL_THISCALL);
  322. engine->RegisterObjectMethod("Window", "bool get_modalAutoDismiss() const", asMETHODPR(Window, GetModalAutoDismiss, () const, bool), asCALL_THISCALL);
  323. // const Color& Window::GetModalFrameColor() const | File: ../UI/Window.h
  324. engine->RegisterObjectMethod("Window", "const Color& GetModalFrameColor() const", asMETHODPR(Window, GetModalFrameColor, () const, const Color&), asCALL_THISCALL);
  325. engine->RegisterObjectMethod("Window", "const Color& get_modalFrameColor() const", asMETHODPR(Window, GetModalFrameColor, () const, const Color&), asCALL_THISCALL);
  326. // const IntVector2& Window::GetModalFrameSize() const | File: ../UI/Window.h
  327. engine->RegisterObjectMethod("Window", "const IntVector2& GetModalFrameSize() const", asMETHODPR(Window, GetModalFrameSize, () const, const IntVector2&), asCALL_THISCALL);
  328. engine->RegisterObjectMethod("Window", "const IntVector2& get_modalFrameSize() const", asMETHODPR(Window, GetModalFrameSize, () const, const IntVector2&), asCALL_THISCALL);
  329. // const Color& Window::GetModalShadeColor() const | File: ../UI/Window.h
  330. engine->RegisterObjectMethod("Window", "const Color& GetModalShadeColor() const", asMETHODPR(Window, GetModalShadeColor, () const, const Color&), asCALL_THISCALL);
  331. engine->RegisterObjectMethod("Window", "const Color& get_modalShadeColor() const", asMETHODPR(Window, GetModalShadeColor, () const, const Color&), asCALL_THISCALL);
  332. // const String& UIElement::GetName() const | File: ../UI/UIElement.h
  333. engine->RegisterObjectMethod("Window", "const String& GetName() const", asMETHODPR(Window, GetName, () const, const String&), asCALL_THISCALL);
  334. engine->RegisterObjectMethod("Window", "const String& get_name() const", asMETHODPR(Window, GetName, () const, const String&), asCALL_THISCALL);
  335. // virtual const Vector<AttributeInfo>* Serializable::GetNetworkAttributes() const | File: ../Scene/Serializable.h
  336. // Error: type "const Vector<AttributeInfo>*" can not automatically bind
  337. // NetworkState* Serializable::GetNetworkState() const | File: ../Scene/Serializable.h
  338. // Error: type "NetworkState*" can not automatically bind
  339. // unsigned Serializable::GetNumAttributes() const | File: ../Scene/Serializable.h
  340. engine->RegisterObjectMethod("Window", "uint GetNumAttributes() const", asMETHODPR(Window, GetNumAttributes, () const, unsigned), asCALL_THISCALL);
  341. engine->RegisterObjectMethod("Window", "uint get_numAttributes() const", asMETHODPR(Window, GetNumAttributes, () const, unsigned), asCALL_THISCALL);
  342. // unsigned UIElement::GetNumChildren(bool recursive=false) const | File: ../UI/UIElement.h
  343. engine->RegisterObjectMethod("Window", "uint GetNumChildren(bool = false) const", asMETHODPR(Window, GetNumChildren, (bool) const, unsigned), asCALL_THISCALL);
  344. engine->RegisterObjectMethod("Window", "uint get_numChildren(bool = false) const", asMETHODPR(Window, GetNumChildren, (bool) const, unsigned), asCALL_THISCALL);
  345. // unsigned Serializable::GetNumNetworkAttributes() const | File: ../Scene/Serializable.h
  346. engine->RegisterObjectMethod("Window", "uint GetNumNetworkAttributes() const", asMETHODPR(Window, GetNumNetworkAttributes, () const, unsigned), asCALL_THISCALL);
  347. // ObjectAnimation* Animatable::GetObjectAnimation() const | File: ../Scene/Animatable.h
  348. engine->RegisterObjectMethod("Window", "ObjectAnimation@+ GetObjectAnimation() const", asMETHODPR(Window, GetObjectAnimation, () const, ObjectAnimation*), asCALL_THISCALL);
  349. engine->RegisterObjectMethod("Window", "ObjectAnimation@+ get_objectAnimation() const", asMETHODPR(Window, GetObjectAnimation, () const, ObjectAnimation*), asCALL_THISCALL);
  350. // ResourceRef Animatable::GetObjectAnimationAttr() const | File: ../Scene/Animatable.h
  351. engine->RegisterObjectMethod("Window", "ResourceRef GetObjectAnimationAttr() const", asMETHODPR(Window, GetObjectAnimationAttr, () const, ResourceRef), asCALL_THISCALL);
  352. // float UIElement::GetOpacity() const | File: ../UI/UIElement.h
  353. engine->RegisterObjectMethod("Window", "float GetOpacity() const", asMETHODPR(Window, GetOpacity, () const, float), asCALL_THISCALL);
  354. engine->RegisterObjectMethod("Window", "float get_opacity() const", asMETHODPR(Window, GetOpacity, () const, float), asCALL_THISCALL);
  355. // UIElement* UIElement::GetParent() const | File: ../UI/UIElement.h
  356. engine->RegisterObjectMethod("Window", "UIElement@+ GetParent() const", asMETHODPR(Window, GetParent, () const, UIElement*), asCALL_THISCALL);
  357. engine->RegisterObjectMethod("Window", "UIElement@+ get_parent() const", asMETHODPR(Window, GetParent, () const, UIElement*), asCALL_THISCALL);
  358. // const Vector2& UIElement::GetPivot() const | File: ../UI/UIElement.h
  359. engine->RegisterObjectMethod("Window", "const Vector2& GetPivot() const", asMETHODPR(Window, GetPivot, () const, const Vector2&), asCALL_THISCALL);
  360. engine->RegisterObjectMethod("Window", "const Vector2& get_pivot() const", asMETHODPR(Window, GetPivot, () const, const Vector2&), asCALL_THISCALL);
  361. // const IntVector2& UIElement::GetPosition() const | File: ../UI/UIElement.h
  362. engine->RegisterObjectMethod("Window", "const IntVector2& GetPosition() const", asMETHODPR(Window, GetPosition, () const, const IntVector2&), asCALL_THISCALL);
  363. engine->RegisterObjectMethod("Window", "const IntVector2& get_position() const", asMETHODPR(Window, GetPosition, () const, const IntVector2&), asCALL_THISCALL);
  364. // int UIElement::GetPriority() const | File: ../UI/UIElement.h
  365. engine->RegisterObjectMethod("Window", "int GetPriority() const", asMETHODPR(Window, GetPriority, () const, int), asCALL_THISCALL);
  366. engine->RegisterObjectMethod("Window", "int get_priority() const", asMETHODPR(Window, GetPriority, () const, int), asCALL_THISCALL);
  367. // const IntRect& Window::GetResizeBorder() const | File: ../UI/Window.h
  368. engine->RegisterObjectMethod("Window", "const IntRect& GetResizeBorder() const", asMETHODPR(Window, GetResizeBorder, () const, const IntRect&), asCALL_THISCALL);
  369. engine->RegisterObjectMethod("Window", "const IntRect& get_resizeBorder() const", asMETHODPR(Window, GetResizeBorder, () const, const IntRect&), asCALL_THISCALL);
  370. // UIElement* UIElement::GetRoot() const | File: ../UI/UIElement.h
  371. engine->RegisterObjectMethod("Window", "UIElement@+ GetRoot() const", asMETHODPR(Window, GetRoot, () const, UIElement*), asCALL_THISCALL);
  372. engine->RegisterObjectMethod("Window", "UIElement@+ get_root() const", asMETHODPR(Window, GetRoot, () const, UIElement*), asCALL_THISCALL);
  373. // virtual const IntVector2& UIElement::GetScreenPosition() const | File: ../UI/UIElement.h
  374. engine->RegisterObjectMethod("Window", "const IntVector2& GetScreenPosition() const", asMETHODPR(Window, GetScreenPosition, () const, const IntVector2&), asCALL_THISCALL);
  375. engine->RegisterObjectMethod("Window", "const IntVector2& get_screenPosition() const", asMETHODPR(Window, GetScreenPosition, () const, const IntVector2&), asCALL_THISCALL);
  376. // const IntVector2& UIElement::GetSize() const | File: ../UI/UIElement.h
  377. engine->RegisterObjectMethod("Window", "const IntVector2& GetSize() const", asMETHODPR(Window, GetSize, () const, const IntVector2&), asCALL_THISCALL);
  378. engine->RegisterObjectMethod("Window", "const IntVector2& get_size() const", asMETHODPR(Window, GetSize, () const, const IntVector2&), asCALL_THISCALL);
  379. // bool UIElement::GetSortChildren() const | File: ../UI/UIElement.h
  380. engine->RegisterObjectMethod("Window", "bool GetSortChildren() const", asMETHODPR(Window, GetSortChildren, () const, bool), asCALL_THISCALL);
  381. engine->RegisterObjectMethod("Window", "bool get_sortChildren() const", asMETHODPR(Window, GetSortChildren, () const, bool), asCALL_THISCALL);
  382. // Object* Object::GetSubsystem(StringHash type) const | File: ../Core/Object.h
  383. engine->RegisterObjectMethod("Window", "Object@+ GetSubsystem(StringHash) const", asMETHODPR(Window, GetSubsystem, (StringHash) const, Object*), asCALL_THISCALL);
  384. // template<class T> T* Object::GetSubsystem() const | File: ../Core/Object.h
  385. // Not registered because template
  386. // const StringVector& UIElement::GetTags() const | File: ../UI/UIElement.h
  387. engine->RegisterObjectMethod("Window", "Array<String>@ GetTags() const", asFUNCTION(Window_GetTags_void), asCALL_CDECL_OBJFIRST);
  388. engine->RegisterObjectMethod("Window", "Array<String>@ get_tags() const", asFUNCTION(Window_GetTags_void), asCALL_CDECL_OBJFIRST);
  389. // Texture* BorderImage::GetTexture() const | File: ../UI/BorderImage.h
  390. engine->RegisterObjectMethod("Window", "Texture@+ GetTexture() const", asMETHODPR(Window, GetTexture, () const, Texture*), asCALL_THISCALL);
  391. engine->RegisterObjectMethod("Window", "Texture@+ get_texture() const", asMETHODPR(Window, GetTexture, () const, Texture*), asCALL_THISCALL);
  392. // ResourceRef BorderImage::GetTextureAttr() const | File: ../UI/BorderImage.h
  393. engine->RegisterObjectMethod("Window", "ResourceRef GetTextureAttr() const", asMETHODPR(Window, GetTextureAttr, () const, ResourceRef), asCALL_THISCALL);
  394. // TraversalMode UIElement::GetTraversalMode() const | File: ../UI/UIElement.h
  395. engine->RegisterObjectMethod("Window", "TraversalMode GetTraversalMode() const", asMETHODPR(Window, GetTraversalMode, () const, TraversalMode), asCALL_THISCALL);
  396. engine->RegisterObjectMethod("Window", "TraversalMode get_traversalMode() const", asMETHODPR(Window, GetTraversalMode, () const, TraversalMode), asCALL_THISCALL);
  397. // virtual StringHash Object::GetType() const =0 | File: ../Core/Object.h
  398. engine->RegisterObjectMethod("Window", "StringHash GetType() const", asMETHODPR(Window, GetType, () const, StringHash), asCALL_THISCALL);
  399. engine->RegisterObjectMethod("Window", "StringHash get_type() const", asMETHODPR(Window, GetType, () const, StringHash), asCALL_THISCALL);
  400. // virtual const TypeInfo* Object::GetTypeInfo() const =0 | File: ../Core/Object.h
  401. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  402. // static const TypeInfo* Object::GetTypeInfoStatic() | File: ../Core/Object.h
  403. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  404. // virtual const String& Object::GetTypeName() const =0 | File: ../Core/Object.h
  405. engine->RegisterObjectMethod("Window", "const String& GetTypeName() const", asMETHODPR(Window, GetTypeName, () const, const String&), asCALL_THISCALL);
  406. engine->RegisterObjectMethod("Window", "const String& get_typeName() const", asMETHODPR(Window, GetTypeName, () const, const String&), asCALL_THISCALL);
  407. // bool UIElement::GetUseDerivedOpacity() const | File: ../UI/UIElement.h
  408. engine->RegisterObjectMethod("Window", "bool GetUseDerivedOpacity() const", asMETHODPR(Window, GetUseDerivedOpacity, () const, bool), asCALL_THISCALL);
  409. engine->RegisterObjectMethod("Window", "bool get_useDerivedOpacity() const", asMETHODPR(Window, GetUseDerivedOpacity, () const, bool), asCALL_THISCALL);
  410. // const Variant& UIElement::GetVar(const StringHash& key) const | File: ../UI/UIElement.h
  411. engine->RegisterObjectMethod("Window", "const Variant& GetVar(const StringHash&in) const", asMETHODPR(Window, GetVar, (const StringHash&) const, const Variant&), asCALL_THISCALL);
  412. // const VariantMap& UIElement::GetVars() const | File: ../UI/UIElement.h
  413. engine->RegisterObjectMethod("Window", "const VariantMap& GetVars() const", asMETHODPR(Window, GetVars, () const, const VariantMap&), asCALL_THISCALL);
  414. // VerticalAlignment UIElement::GetVerticalAlignment() const | File: ../UI/UIElement.h
  415. engine->RegisterObjectMethod("Window", "VerticalAlignment GetVerticalAlignment() const", asMETHODPR(Window, GetVerticalAlignment, () const, VerticalAlignment), asCALL_THISCALL);
  416. engine->RegisterObjectMethod("Window", "VerticalAlignment get_verticalAlignment() const", asMETHODPR(Window, GetVerticalAlignment, () const, VerticalAlignment), asCALL_THISCALL);
  417. // int UIElement::GetWidth() const | File: ../UI/UIElement.h
  418. engine->RegisterObjectMethod("Window", "int GetWidth() const", asMETHODPR(Window, GetWidth, () const, int), asCALL_THISCALL);
  419. engine->RegisterObjectMethod("Window", "int get_width() const", asMETHODPR(Window, GetWidth, () const, int), asCALL_THISCALL);
  420. // bool UIElement::HasColorGradient() const | File: ../UI/UIElement.h
  421. engine->RegisterObjectMethod("Window", "bool HasColorGradient() const", asMETHODPR(Window, HasColorGradient, () const, bool), asCALL_THISCALL);
  422. engine->RegisterObjectMethod("Window", "bool get_colorGradient() const", asMETHODPR(Window, HasColorGradient, () const, bool), asCALL_THISCALL);
  423. // bool Object::HasEventHandlers() const | File: ../Core/Object.h
  424. engine->RegisterObjectMethod("Window", "bool HasEventHandlers() const", asMETHODPR(Window, HasEventHandlers, () const, bool), asCALL_THISCALL);
  425. // bool UIElement::HasFocus() const | File: ../UI/UIElement.h
  426. engine->RegisterObjectMethod("Window", "bool HasFocus() const", asMETHODPR(Window, HasFocus, () const, bool), asCALL_THISCALL);
  427. engine->RegisterObjectMethod("Window", "bool get_focus() const", asMETHODPR(Window, HasFocus, () const, bool), asCALL_THISCALL);
  428. // bool Object::HasSubscribedToEvent(StringHash eventType) const | File: ../Core/Object.h
  429. engine->RegisterObjectMethod("Window", "bool HasSubscribedToEvent(StringHash) const", asMETHODPR(Window, HasSubscribedToEvent, (StringHash) const, bool), asCALL_THISCALL);
  430. // bool Object::HasSubscribedToEvent(Object* sender, StringHash eventType) const | File: ../Core/Object.h
  431. engine->RegisterObjectMethod("Window", "bool HasSubscribedToEvent(Object@+, StringHash) const", asMETHODPR(Window, HasSubscribedToEvent, (Object*, StringHash) const, bool), asCALL_THISCALL);
  432. // bool UIElement::HasTag(const String& tag) const | File: ../UI/UIElement.h
  433. engine->RegisterObjectMethod("Window", "bool HasTag(const String&in) const", asMETHODPR(Window, HasTag, (const String&) const, bool), asCALL_THISCALL);
  434. // void UIElement::InsertChild(unsigned index, UIElement* element) | File: ../UI/UIElement.h
  435. engine->RegisterObjectMethod("Window", "void InsertChild(uint, UIElement@+)", asMETHODPR(Window, InsertChild, (unsigned, UIElement*), void), asCALL_THISCALL);
  436. // bool UIElement::IsChildOf(UIElement* element) const | File: ../UI/UIElement.h
  437. engine->RegisterObjectMethod("Window", "bool IsChildOf(UIElement@+) const", asMETHODPR(Window, IsChildOf, (UIElement*) const, bool), asCALL_THISCALL);
  438. // bool UIElement::IsEditable() const | File: ../UI/UIElement.h
  439. engine->RegisterObjectMethod("Window", "bool IsEditable() const", asMETHODPR(Window, IsEditable, () const, bool), asCALL_THISCALL);
  440. engine->RegisterObjectMethod("Window", "bool get_editable() const", asMETHODPR(Window, IsEditable, () const, bool), asCALL_THISCALL);
  441. // bool UIElement::IsElementEventSender() const | File: ../UI/UIElement.h
  442. engine->RegisterObjectMethod("Window", "bool IsElementEventSender() const", asMETHODPR(Window, IsElementEventSender, () const, bool), asCALL_THISCALL);
  443. engine->RegisterObjectMethod("Window", "bool get_elementEventSender() const", asMETHODPR(Window, IsElementEventSender, () const, bool), asCALL_THISCALL);
  444. // bool UIElement::IsEnabled() const | File: ../UI/UIElement.h
  445. engine->RegisterObjectMethod("Window", "bool IsEnabled() const", asMETHODPR(Window, IsEnabled, () const, bool), asCALL_THISCALL);
  446. engine->RegisterObjectMethod("Window", "bool get_enabled() const", asMETHODPR(Window, IsEnabled, () const, bool), asCALL_THISCALL);
  447. // bool UIElement::IsEnabledSelf() const | File: ../UI/UIElement.h
  448. engine->RegisterObjectMethod("Window", "bool IsEnabledSelf() const", asMETHODPR(Window, IsEnabledSelf, () const, bool), asCALL_THISCALL);
  449. engine->RegisterObjectMethod("Window", "bool get_enabledSelf() const", asMETHODPR(Window, IsEnabledSelf, () const, bool), asCALL_THISCALL);
  450. // bool UIElement::IsFixedHeight() const | File: ../UI/UIElement.h
  451. engine->RegisterObjectMethod("Window", "bool IsFixedHeight() const", asMETHODPR(Window, IsFixedHeight, () const, bool), asCALL_THISCALL);
  452. engine->RegisterObjectMethod("Window", "bool get_fixedHeight() const", asMETHODPR(Window, IsFixedHeight, () const, bool), asCALL_THISCALL);
  453. // bool UIElement::IsFixedSize() const | File: ../UI/UIElement.h
  454. engine->RegisterObjectMethod("Window", "bool IsFixedSize() const", asMETHODPR(Window, IsFixedSize, () const, bool), asCALL_THISCALL);
  455. engine->RegisterObjectMethod("Window", "bool get_fixedSize() const", asMETHODPR(Window, IsFixedSize, () const, bool), asCALL_THISCALL);
  456. // bool UIElement::IsFixedWidth() const | File: ../UI/UIElement.h
  457. engine->RegisterObjectMethod("Window", "bool IsFixedWidth() const", asMETHODPR(Window, IsFixedWidth, () const, bool), asCALL_THISCALL);
  458. engine->RegisterObjectMethod("Window", "bool get_fixedWidth() const", asMETHODPR(Window, IsFixedWidth, () const, bool), asCALL_THISCALL);
  459. // bool UIElement::IsHovering() const | File: ../UI/UIElement.h
  460. engine->RegisterObjectMethod("Window", "bool IsHovering() const", asMETHODPR(Window, IsHovering, () const, bool), asCALL_THISCALL);
  461. engine->RegisterObjectMethod("Window", "bool get_hovering() const", asMETHODPR(Window, IsHovering, () const, bool), asCALL_THISCALL);
  462. // bool UIElement::IsInside(IntVector2 position, bool isScreen) | File: ../UI/UIElement.h
  463. engine->RegisterObjectMethod("Window", "bool IsInside(IntVector2, bool)", asMETHODPR(Window, IsInside, (IntVector2, bool), bool), asCALL_THISCALL);
  464. // bool UIElement::IsInsideCombined(IntVector2 position, bool isScreen) | File: ../UI/UIElement.h
  465. engine->RegisterObjectMethod("Window", "bool IsInsideCombined(IntVector2, bool)", asMETHODPR(Window, IsInsideCombined, (IntVector2, bool), bool), asCALL_THISCALL);
  466. // bool Object::IsInstanceOf(StringHash type) const | File: ../Core/Object.h
  467. engine->RegisterObjectMethod("Window", "bool IsInstanceOf(StringHash) const", asMETHODPR(Window, IsInstanceOf, (StringHash) const, bool), asCALL_THISCALL);
  468. // bool Object::IsInstanceOf(const TypeInfo* typeInfo) const | File: ../Core/Object.h
  469. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  470. // template<typename T> bool Object::IsInstanceOf() const | File: ../Core/Object.h
  471. // Not registered because template
  472. // bool UIElement::IsInternal() const | File: ../UI/UIElement.h
  473. engine->RegisterObjectMethod("Window", "bool IsInternal() const", asMETHODPR(Window, IsInternal, () const, bool), asCALL_THISCALL);
  474. engine->RegisterObjectMethod("Window", "bool get_internal() const", asMETHODPR(Window, IsInternal, () const, bool), asCALL_THISCALL);
  475. // bool Window::IsModal() const | File: ../UI/Window.h
  476. engine->RegisterObjectMethod("Window", "bool IsModal() const", asMETHODPR(Window, IsModal, () const, bool), asCALL_THISCALL);
  477. engine->RegisterObjectMethod("Window", "bool get_modal() const", asMETHODPR(Window, IsModal, () const, bool), asCALL_THISCALL);
  478. // bool Window::IsMovable() const | File: ../UI/Window.h
  479. engine->RegisterObjectMethod("Window", "bool IsMovable() const", asMETHODPR(Window, IsMovable, () const, bool), asCALL_THISCALL);
  480. engine->RegisterObjectMethod("Window", "bool get_movable() const", asMETHODPR(Window, IsMovable, () const, bool), asCALL_THISCALL);
  481. // bool Window::IsResizable() const | File: ../UI/Window.h
  482. engine->RegisterObjectMethod("Window", "bool IsResizable() const", asMETHODPR(Window, IsResizable, () const, bool), asCALL_THISCALL);
  483. engine->RegisterObjectMethod("Window", "bool get_resizable() const", asMETHODPR(Window, IsResizable, () const, bool), asCALL_THISCALL);
  484. // bool UIElement::IsSelected() const | File: ../UI/UIElement.h
  485. engine->RegisterObjectMethod("Window", "bool IsSelected() const", asMETHODPR(Window, IsSelected, () const, bool), asCALL_THISCALL);
  486. engine->RegisterObjectMethod("Window", "bool get_selected() const", asMETHODPR(Window, IsSelected, () const, bool), asCALL_THISCALL);
  487. // bool Serializable::IsTemporary() const | File: ../Scene/Serializable.h
  488. engine->RegisterObjectMethod("Window", "bool IsTemporary() const", asMETHODPR(Window, IsTemporary, () const, bool), asCALL_THISCALL);
  489. engine->RegisterObjectMethod("Window", "bool get_temporary() const", asMETHODPR(Window, IsTemporary, () const, bool), asCALL_THISCALL);
  490. // bool BorderImage::IsTiled() const | File: ../UI/BorderImage.h
  491. engine->RegisterObjectMethod("Window", "bool IsTiled() const", asMETHODPR(Window, IsTiled, () const, bool), asCALL_THISCALL);
  492. engine->RegisterObjectMethod("Window", "bool get_tiled() const", asMETHODPR(Window, IsTiled, () const, bool), asCALL_THISCALL);
  493. // bool UIElement::IsVisible() const | File: ../UI/UIElement.h
  494. engine->RegisterObjectMethod("Window", "bool IsVisible() const", asMETHODPR(Window, IsVisible, () const, bool), asCALL_THISCALL);
  495. engine->RegisterObjectMethod("Window", "bool get_visible() const", asMETHODPR(Window, IsVisible, () const, bool), asCALL_THISCALL);
  496. // bool UIElement::IsVisibleEffective() const | File: ../UI/UIElement.h
  497. engine->RegisterObjectMethod("Window", "bool IsVisibleEffective() const", asMETHODPR(Window, IsVisibleEffective, () const, bool), asCALL_THISCALL);
  498. engine->RegisterObjectMethod("Window", "bool get_visibleEffective() const", asMETHODPR(Window, IsVisibleEffective, () const, bool), asCALL_THISCALL);
  499. // virtual bool UIElement::IsWheelHandler() const | File: ../UI/UIElement.h
  500. engine->RegisterObjectMethod("Window", "bool IsWheelHandler() const", asMETHODPR(Window, IsWheelHandler, () const, bool), asCALL_THISCALL);
  501. // virtual bool UIElement::IsWithinScissor(const IntRect& currentScissor) | File: ../UI/UIElement.h
  502. engine->RegisterObjectMethod("Window", "bool IsWithinScissor(const IntRect&in)", asMETHODPR(Window, IsWithinScissor, (const IntRect&), bool), asCALL_THISCALL);
  503. // virtual bool Serializable::Load(Deserializer& source) | File: ../Scene/Serializable.h
  504. engine->RegisterObjectMethod("Window", "bool Load(Deserializer&)", asMETHODPR(Window, Load, (Deserializer&), bool), asCALL_THISCALL);
  505. // virtual UIElement* UIElement::LoadChildXML(const XMLElement& childElem, XMLFile* styleFile) | File: ../UI/UIElement.h
  506. engine->RegisterObjectMethod("Window", "UIElement@+ LoadChildXML(const XMLElement&in, XMLFile@+)", asMETHODPR(Window, LoadChildXML, (const XMLElement&, XMLFile*), UIElement*), asCALL_THISCALL);
  507. // bool Animatable::LoadJSON(const JSONValue& source) override | File: ../Scene/Animatable.h
  508. engine->RegisterObjectMethod("Window", "bool LoadJSON(const JSONValue&in)", asMETHODPR(Window, LoadJSON, (const JSONValue&), bool), asCALL_THISCALL);
  509. // bool UIElement::LoadXML(const XMLElement& source) override | File: ../UI/UIElement.h
  510. engine->RegisterObjectMethod("Window", "bool LoadXML(const XMLElement&in)", asMETHODPR(Window, LoadXML, (const XMLElement&), bool), asCALL_THISCALL);
  511. // virtual bool UIElement::LoadXML(const XMLElement& source, XMLFile* styleFile) | File: ../UI/UIElement.h
  512. engine->RegisterObjectMethod("Window", "bool LoadXML(const XMLElement&in, XMLFile@+)", asMETHODPR(Window, LoadXML, (const XMLElement&, XMLFile*), bool), asCALL_THISCALL);
  513. // bool UIElement::LoadXML(Deserializer& source) | File: ../UI/UIElement.h
  514. engine->RegisterObjectMethod("Window", "bool LoadXML(Deserializer&)", asMETHODPR(Window, LoadXML, (Deserializer&), bool), asCALL_THISCALL);
  515. // virtual void Serializable::MarkNetworkUpdate() | File: ../Scene/Serializable.h
  516. engine->RegisterObjectMethod("Window", "void MarkNetworkUpdate()", asMETHODPR(Window, MarkNetworkUpdate, (), void), asCALL_THISCALL);
  517. // virtual void UIElement::OnClickBegin(const IntVector2& position, const IntVector2& screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor* cursor) | File: ../UI/UIElement.h
  518. engine->RegisterObjectMethod("Window", "void OnClickBegin(const IntVector2&in, const IntVector2&in, MouseButton, MouseButtonFlags, QualifierFlags, Cursor@+)", asMETHODPR(Window, OnClickBegin, (const IntVector2&, const IntVector2&, MouseButton, MouseButtonFlags, QualifierFlags, Cursor*), void), asCALL_THISCALL);
  519. // virtual void UIElement::OnClickEnd(const IntVector2& position, const IntVector2& screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor* cursor, UIElement* beginElement) | File: ../UI/UIElement.h
  520. engine->RegisterObjectMethod("Window", "void OnClickEnd(const IntVector2&in, const IntVector2&in, MouseButton, MouseButtonFlags, QualifierFlags, Cursor@+, UIElement@+)", asMETHODPR(Window, OnClickEnd, (const IntVector2&, const IntVector2&, MouseButton, MouseButtonFlags, QualifierFlags, Cursor*, UIElement*), void), asCALL_THISCALL);
  521. // virtual void UIElement::OnDoubleClick(const IntVector2& position, const IntVector2& screenPosition, MouseButton button, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor* cursor) | File: ../UI/UIElement.h
  522. engine->RegisterObjectMethod("Window", "void OnDoubleClick(const IntVector2&in, const IntVector2&in, MouseButton, MouseButtonFlags, QualifierFlags, Cursor@+)", asMETHODPR(Window, OnDoubleClick, (const IntVector2&, const IntVector2&, MouseButton, MouseButtonFlags, QualifierFlags, Cursor*), void), asCALL_THISCALL);
  523. // void Window::OnDragBegin(const IntVector2& position, const IntVector2& screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor* cursor) override | File: ../UI/Window.h
  524. engine->RegisterObjectMethod("Window", "void OnDragBegin(const IntVector2&in, const IntVector2&in, MouseButtonFlags, QualifierFlags, Cursor@+)", asMETHODPR(Window, OnDragBegin, (const IntVector2&, const IntVector2&, MouseButtonFlags, QualifierFlags, Cursor*), void), asCALL_THISCALL);
  525. // void Window::OnDragCancel(const IntVector2& position, const IntVector2& screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags cancelButtons, Cursor* cursor) override | File: ../UI/Window.h
  526. engine->RegisterObjectMethod("Window", "void OnDragCancel(const IntVector2&in, const IntVector2&in, MouseButtonFlags, MouseButtonFlags, Cursor@+)", asMETHODPR(Window, OnDragCancel, (const IntVector2&, const IntVector2&, MouseButtonFlags, MouseButtonFlags, Cursor*), void), asCALL_THISCALL);
  527. // virtual bool UIElement::OnDragDropFinish(UIElement* source) | File: ../UI/UIElement.h
  528. engine->RegisterObjectMethod("Window", "bool OnDragDropFinish(UIElement@+)", asMETHODPR(Window, OnDragDropFinish, (UIElement*), bool), asCALL_THISCALL);
  529. // virtual bool UIElement::OnDragDropTest(UIElement* source) | File: ../UI/UIElement.h
  530. engine->RegisterObjectMethod("Window", "bool OnDragDropTest(UIElement@+)", asMETHODPR(Window, OnDragDropTest, (UIElement*), bool), asCALL_THISCALL);
  531. // void Window::OnDragEnd(const IntVector2& position, const IntVector2& screenPosition, MouseButtonFlags dragButtons, MouseButtonFlags releaseButtons, Cursor* cursor) override | File: ../UI/Window.h
  532. engine->RegisterObjectMethod("Window", "void OnDragEnd(const IntVector2&in, const IntVector2&in, MouseButtonFlags, MouseButtonFlags, Cursor@+)", asMETHODPR(Window, OnDragEnd, (const IntVector2&, const IntVector2&, MouseButtonFlags, MouseButtonFlags, Cursor*), void), asCALL_THISCALL);
  533. // void Window::OnDragMove(const IntVector2& position, const IntVector2& screenPosition, const IntVector2& deltaPos, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor* cursor) override | File: ../UI/Window.h
  534. engine->RegisterObjectMethod("Window", "void OnDragMove(const IntVector2&in, const IntVector2&in, const IntVector2&in, MouseButtonFlags, QualifierFlags, Cursor@+)", asMETHODPR(Window, OnDragMove, (const IntVector2&, const IntVector2&, const IntVector2&, MouseButtonFlags, QualifierFlags, Cursor*), void), asCALL_THISCALL);
  535. // virtual void Object::OnEvent(Object* sender, StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  536. engine->RegisterObjectMethod("Window", "void OnEvent(Object@+, StringHash, VariantMap&)", asMETHODPR(Window, OnEvent, (Object*, StringHash, VariantMap&), void), asCALL_THISCALL);
  537. // virtual void Serializable::OnGetAttribute(const AttributeInfo& attr, Variant& dest) const | File: ../Scene/Serializable.h
  538. engine->RegisterObjectMethod("Window", "void OnGetAttribute(const AttributeInfo&in, Variant&) const", asMETHODPR(Window, OnGetAttribute, (const AttributeInfo&, Variant&) const, void), asCALL_THISCALL);
  539. // void Window::OnHover(const IntVector2& position, const IntVector2& screenPosition, MouseButtonFlags buttons, QualifierFlags qualifiers, Cursor* cursor) override | File: ../UI/Window.h
  540. engine->RegisterObjectMethod("Window", "void OnHover(const IntVector2&in, const IntVector2&in, MouseButtonFlags, QualifierFlags, Cursor@+)", asMETHODPR(Window, OnHover, (const IntVector2&, const IntVector2&, MouseButtonFlags, QualifierFlags, Cursor*), void), asCALL_THISCALL);
  541. // virtual void UIElement::OnIndentSet() | File: ../UI/UIElement.h
  542. engine->RegisterObjectMethod("Window", "void OnIndentSet()", asMETHODPR(Window, OnIndentSet, (), void), asCALL_THISCALL);
  543. // virtual void UIElement::OnKey(Key key, MouseButtonFlags buttons, QualifierFlags qualifiers) | File: ../UI/UIElement.h
  544. engine->RegisterObjectMethod("Window", "void OnKey(Key, MouseButtonFlags, QualifierFlags)", asMETHODPR(Window, OnKey, (Key, MouseButtonFlags, QualifierFlags), void), asCALL_THISCALL);
  545. // virtual void UIElement::OnPositionSet(const IntVector2& newPosition) | File: ../UI/UIElement.h
  546. engine->RegisterObjectMethod("Window", "void OnPositionSet(const IntVector2&in)", asMETHODPR(Window, OnPositionSet, (const IntVector2&), void), asCALL_THISCALL);
  547. // virtual void UIElement::OnResize(const IntVector2& newSize, const IntVector2& delta) | File: ../UI/UIElement.h
  548. engine->RegisterObjectMethod("Window", "void OnResize(const IntVector2&in, const IntVector2&in)", asMETHODPR(Window, OnResize, (const IntVector2&, const IntVector2&), void), asCALL_THISCALL);
  549. // virtual void Serializable::OnSetAttribute(const AttributeInfo& attr, const Variant& src) | File: ../Scene/Serializable.h
  550. engine->RegisterObjectMethod("Window", "void OnSetAttribute(const AttributeInfo&in, const Variant&in)", asMETHODPR(Window, OnSetAttribute, (const AttributeInfo&, const Variant&), void), asCALL_THISCALL);
  551. // virtual void UIElement::OnSetEditable() | File: ../UI/UIElement.h
  552. engine->RegisterObjectMethod("Window", "void OnSetEditable()", asMETHODPR(Window, OnSetEditable, (), void), asCALL_THISCALL);
  553. // virtual void UIElement::OnTextInput(const String& text) | File: ../UI/UIElement.h
  554. engine->RegisterObjectMethod("Window", "void OnTextInput(const String&in)", asMETHODPR(Window, OnTextInput, (const String&), void), asCALL_THISCALL);
  555. // virtual void UIElement::OnWheel(int delta, MouseButtonFlags buttons, QualifierFlags qualifiers) | File: ../UI/UIElement.h
  556. engine->RegisterObjectMethod("Window", "void OnWheel(int, MouseButtonFlags, QualifierFlags)", asMETHODPR(Window, OnWheel, (int, MouseButtonFlags, QualifierFlags), void), asCALL_THISCALL);
  557. // bool Serializable::ReadDeltaUpdate(Deserializer& source) | File: ../Scene/Serializable.h
  558. engine->RegisterObjectMethod("Window", "bool ReadDeltaUpdate(Deserializer&)", asMETHODPR(Window, ReadDeltaUpdate, (Deserializer&), bool), asCALL_THISCALL);
  559. // bool Serializable::ReadLatestDataUpdate(Deserializer& source) | File: ../Scene/Serializable.h
  560. engine->RegisterObjectMethod("Window", "bool ReadLatestDataUpdate(Deserializer&)", asMETHODPR(Window, ReadLatestDataUpdate, (Deserializer&), bool), asCALL_THISCALL);
  561. // RefCount* RefCounted::RefCountPtr() | File: ../Container/RefCounted.h
  562. // Error: type "RefCount*" can not automatically bind
  563. // int RefCounted::Refs() const | File: ../Container/RefCounted.h
  564. engine->RegisterObjectMethod("Window", "int Refs() const", asMETHODPR(Window, Refs, () const, int), asCALL_THISCALL);
  565. engine->RegisterObjectMethod("Window", "int get_refs() const", asMETHODPR(Window, Refs, () const, int), asCALL_THISCALL);
  566. // static void Window::RegisterObject(Context* context) | File: ../UI/Window.h
  567. // Context can be used as firs parameter of constructors only
  568. // void RefCounted::ReleaseRef() | File: ../Container/RefCounted.h
  569. engine->RegisterObjectBehaviour("Window", asBEHAVE_RELEASE, "void f()", asMETHODPR(Window, ReleaseRef, (), void), asCALL_THISCALL);
  570. // void UIElement::Remove() | File: ../UI/UIElement.h
  571. engine->RegisterObjectMethod("Window", "void Remove()", asMETHODPR(Window, Remove, (), void), asCALL_THISCALL);
  572. // void UIElement::RemoveAllChildren() | File: ../UI/UIElement.h
  573. engine->RegisterObjectMethod("Window", "void RemoveAllChildren()", asMETHODPR(Window, RemoveAllChildren, (), void), asCALL_THISCALL);
  574. // void UIElement::RemoveAllTags() | File: ../UI/UIElement.h
  575. engine->RegisterObjectMethod("Window", "void RemoveAllTags()", asMETHODPR(Window, RemoveAllTags, (), void), asCALL_THISCALL);
  576. // void Animatable::RemoveAttributeAnimation(const String& name) | File: ../Scene/Animatable.h
  577. engine->RegisterObjectMethod("Window", "void RemoveAttributeAnimation(const String&in)", asMETHODPR(Window, RemoveAttributeAnimation, (const String&), void), asCALL_THISCALL);
  578. // void UIElement::RemoveChild(UIElement* element, unsigned index=0) | File: ../UI/UIElement.h
  579. engine->RegisterObjectMethod("Window", "void RemoveChild(UIElement@+, uint = 0)", asMETHODPR(Window, RemoveChild, (UIElement*, unsigned), void), asCALL_THISCALL);
  580. // void UIElement::RemoveChildAtIndex(unsigned index) | File: ../UI/UIElement.h
  581. engine->RegisterObjectMethod("Window", "void RemoveChildAtIndex(uint)", asMETHODPR(Window, RemoveChildAtIndex, (unsigned), void), asCALL_THISCALL);
  582. // void Serializable::RemoveInstanceDefault() | File: ../Scene/Serializable.h
  583. engine->RegisterObjectMethod("Window", "void RemoveInstanceDefault()", asMETHODPR(Window, RemoveInstanceDefault, (), void), asCALL_THISCALL);
  584. // void Animatable::RemoveObjectAnimation() | File: ../Scene/Animatable.h
  585. engine->RegisterObjectMethod("Window", "void RemoveObjectAnimation()", asMETHODPR(Window, RemoveObjectAnimation, (), void), asCALL_THISCALL);
  586. // bool UIElement::RemoveTag(const String& tag) | File: ../UI/UIElement.h
  587. engine->RegisterObjectMethod("Window", "bool RemoveTag(const String&in)", asMETHODPR(Window, RemoveTag, (const String&), bool), asCALL_THISCALL);
  588. // void UIElement::ResetDeepEnabled() | File: ../UI/UIElement.h
  589. engine->RegisterObjectMethod("Window", "void ResetDeepEnabled()", asMETHODPR(Window, ResetDeepEnabled, (), void), asCALL_THISCALL);
  590. // void Serializable::ResetToDefault() | File: ../Scene/Serializable.h
  591. engine->RegisterObjectMethod("Window", "void ResetToDefault()", asMETHODPR(Window, ResetToDefault, (), void), asCALL_THISCALL);
  592. // virtual bool Serializable::Save(Serializer& dest) const | File: ../Scene/Serializable.h
  593. engine->RegisterObjectMethod("Window", "bool Save(Serializer&) const", asMETHODPR(Window, Save, (Serializer&) const, bool), asCALL_THISCALL);
  594. // virtual bool Serializable::SaveDefaultAttributes() const | File: ../Scene/Serializable.h
  595. engine->RegisterObjectMethod("Window", "bool SaveDefaultAttributes() const", asMETHODPR(Window, SaveDefaultAttributes, () const, bool), asCALL_THISCALL);
  596. // bool Animatable::SaveJSON(JSONValue& dest) const override | File: ../Scene/Animatable.h
  597. engine->RegisterObjectMethod("Window", "bool SaveJSON(JSONValue&) const", asMETHODPR(Window, SaveJSON, (JSONValue&) const, bool), asCALL_THISCALL);
  598. // bool UIElement::SaveXML(XMLElement& dest) const override | File: ../UI/UIElement.h
  599. engine->RegisterObjectMethod("Window", "bool SaveXML(XMLElement&) const", asMETHODPR(Window, SaveXML, (XMLElement&) const, bool), asCALL_THISCALL);
  600. // bool UIElement::SaveXML(Serializer& dest, const String& indentation="\t") const | File: ../UI/UIElement.h
  601. engine->RegisterObjectMethod("Window", "bool SaveXML(Serializer&, const String&in = \"\t\") const", asMETHODPR(Window, SaveXML, (Serializer&, const String&) const, bool), asCALL_THISCALL);
  602. // virtual IntVector2 UIElement::ScreenToElement(const IntVector2& screenPosition) | File: ../UI/UIElement.h
  603. engine->RegisterObjectMethod("Window", "IntVector2 ScreenToElement(const IntVector2&in)", asMETHODPR(Window, ScreenToElement, (const IntVector2&), IntVector2), asCALL_THISCALL);
  604. // void Object::SendEvent(StringHash eventType) | File: ../Core/Object.h
  605. engine->RegisterObjectMethod("Window", "void SendEvent(StringHash)", asMETHODPR(Window, SendEvent, (StringHash), void), asCALL_THISCALL);
  606. // void Object::SendEvent(StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  607. engine->RegisterObjectMethod("Window", "void SendEvent(StringHash, VariantMap&)", asMETHODPR(Window, SendEvent, (StringHash, VariantMap&), void), asCALL_THISCALL);
  608. // template<typename... Args> void Object::SendEvent(StringHash eventType, Args... args) | File: ../Core/Object.h
  609. // Not registered because template
  610. // void UIElement::SetAlignment(HorizontalAlignment hAlign, VerticalAlignment vAlign) | File: ../UI/UIElement.h
  611. engine->RegisterObjectMethod("Window", "void SetAlignment(HorizontalAlignment, VerticalAlignment)", asMETHODPR(Window, SetAlignment, (HorizontalAlignment, VerticalAlignment), void), asCALL_THISCALL);
  612. // void Animatable::SetAnimationEnabled(bool enable) | File: ../Scene/Animatable.h
  613. engine->RegisterObjectMethod("Window", "void SetAnimationEnabled(bool)", asMETHODPR(Window, SetAnimationEnabled, (bool), void), asCALL_THISCALL);
  614. engine->RegisterObjectMethod("Window", "void set_animationEnabled(bool)", asMETHODPR(Window, SetAnimationEnabled, (bool), void), asCALL_THISCALL);
  615. // void Animatable::SetAnimationTime(float time) | File: ../Scene/Animatable.h
  616. engine->RegisterObjectMethod("Window", "void SetAnimationTime(float)", asMETHODPR(Window, SetAnimationTime, (float), void), asCALL_THISCALL);
  617. // bool Serializable::SetAttribute(unsigned index, const Variant& value) | File: ../Scene/Serializable.h
  618. engine->RegisterObjectMethod("Window", "bool SetAttribute(uint, const Variant&in)", asMETHODPR(Window, SetAttribute, (unsigned, const Variant&), bool), asCALL_THISCALL);
  619. engine->RegisterObjectMethod("Window", "bool set_attributes(uint, const Variant&in)", asMETHODPR(Window, SetAttribute, (unsigned, const Variant&), bool), asCALL_THISCALL);
  620. // bool Serializable::SetAttribute(const String& name, const Variant& value) | File: ../Scene/Serializable.h
  621. engine->RegisterObjectMethod("Window", "bool SetAttribute(const String&in, const Variant&in)", asMETHODPR(Window, SetAttribute, (const String&, const Variant&), bool), asCALL_THISCALL);
  622. // void Animatable::SetAttributeAnimation(const String& name, ValueAnimation* attributeAnimation, WrapMode wrapMode=WM_LOOP, float speed=1.0f) | File: ../Scene/Animatable.h
  623. engine->RegisterObjectMethod("Window", "void SetAttributeAnimation(const String&in, ValueAnimation@+, WrapMode = WM_LOOP, float = 1.0f)", asMETHODPR(Window, SetAttributeAnimation, (const String&, ValueAnimation*, WrapMode, float), void), asCALL_THISCALL);
  624. // void Animatable::SetAttributeAnimationSpeed(const String& name, float speed) | File: ../Scene/Animatable.h
  625. engine->RegisterObjectMethod("Window", "void SetAttributeAnimationSpeed(const String&in, float)", asMETHODPR(Window, SetAttributeAnimationSpeed, (const String&, float), void), asCALL_THISCALL);
  626. // void Animatable::SetAttributeAnimationTime(const String& name, float time) | File: ../Scene/Animatable.h
  627. engine->RegisterObjectMethod("Window", "void SetAttributeAnimationTime(const String&in, float)", asMETHODPR(Window, SetAttributeAnimationTime, (const String&, float), void), asCALL_THISCALL);
  628. // void Animatable::SetAttributeAnimationWrapMode(const String& name, WrapMode wrapMode) | File: ../Scene/Animatable.h
  629. engine->RegisterObjectMethod("Window", "void SetAttributeAnimationWrapMode(const String&in, WrapMode)", asMETHODPR(Window, SetAttributeAnimationWrapMode, (const String&, WrapMode), void), asCALL_THISCALL);
  630. // void BorderImage::SetBlendMode(BlendMode mode) | File: ../UI/BorderImage.h
  631. engine->RegisterObjectMethod("Window", "void SetBlendMode(BlendMode)", asMETHODPR(Window, SetBlendMode, (BlendMode), void), asCALL_THISCALL);
  632. engine->RegisterObjectMethod("Window", "void set_blendMode(BlendMode)", asMETHODPR(Window, SetBlendMode, (BlendMode), void), asCALL_THISCALL);
  633. // void Object::SetBlockEvents(bool block) | File: ../Core/Object.h
  634. engine->RegisterObjectMethod("Window", "void SetBlockEvents(bool)", asMETHODPR(Window, SetBlockEvents, (bool), void), asCALL_THISCALL);
  635. // void BorderImage::SetBorder(const IntRect& rect) | File: ../UI/BorderImage.h
  636. engine->RegisterObjectMethod("Window", "void SetBorder(const IntRect&in)", asMETHODPR(Window, SetBorder, (const IntRect&), void), asCALL_THISCALL);
  637. engine->RegisterObjectMethod("Window", "void set_border(const IntRect&in)", asMETHODPR(Window, SetBorder, (const IntRect&), void), asCALL_THISCALL);
  638. // void UIElement::SetBringToBack(bool enable) | File: ../UI/UIElement.h
  639. engine->RegisterObjectMethod("Window", "void SetBringToBack(bool)", asMETHODPR(Window, SetBringToBack, (bool), void), asCALL_THISCALL);
  640. engine->RegisterObjectMethod("Window", "void set_bringToBack(bool)", asMETHODPR(Window, SetBringToBack, (bool), void), asCALL_THISCALL);
  641. // void UIElement::SetBringToFront(bool enable) | File: ../UI/UIElement.h
  642. engine->RegisterObjectMethod("Window", "void SetBringToFront(bool)", asMETHODPR(Window, SetBringToFront, (bool), void), asCALL_THISCALL);
  643. engine->RegisterObjectMethod("Window", "void set_bringToFront(bool)", asMETHODPR(Window, SetBringToFront, (bool), void), asCALL_THISCALL);
  644. // void UIElement::SetChildOffset(const IntVector2& offset) | File: ../UI/UIElement.h
  645. engine->RegisterObjectMethod("Window", "void SetChildOffset(const IntVector2&in)", asMETHODPR(Window, SetChildOffset, (const IntVector2&), void), asCALL_THISCALL);
  646. // void UIElement::SetClipBorder(const IntRect& rect) | File: ../UI/UIElement.h
  647. engine->RegisterObjectMethod("Window", "void SetClipBorder(const IntRect&in)", asMETHODPR(Window, SetClipBorder, (const IntRect&), void), asCALL_THISCALL);
  648. engine->RegisterObjectMethod("Window", "void set_clipBorder(const IntRect&in)", asMETHODPR(Window, SetClipBorder, (const IntRect&), void), asCALL_THISCALL);
  649. // void UIElement::SetClipChildren(bool enable) | File: ../UI/UIElement.h
  650. engine->RegisterObjectMethod("Window", "void SetClipChildren(bool)", asMETHODPR(Window, SetClipChildren, (bool), void), asCALL_THISCALL);
  651. engine->RegisterObjectMethod("Window", "void set_clipChildren(bool)", asMETHODPR(Window, SetClipChildren, (bool), void), asCALL_THISCALL);
  652. // void UIElement::SetColor(const Color& color) | File: ../UI/UIElement.h
  653. engine->RegisterObjectMethod("Window", "void SetColor(const Color&in)", asMETHODPR(Window, SetColor, (const Color&), void), asCALL_THISCALL);
  654. engine->RegisterObjectMethod("Window", "void set_color(const Color&in)", asMETHODPR(Window, SetColor, (const Color&), void), asCALL_THISCALL);
  655. // void UIElement::SetColor(Corner corner, const Color& color) | File: ../UI/UIElement.h
  656. engine->RegisterObjectMethod("Window", "void SetColor(Corner, const Color&in)", asMETHODPR(Window, SetColor, (Corner, const Color&), void), asCALL_THISCALL);
  657. engine->RegisterObjectMethod("Window", "void set_colors(Corner, const Color&in)", asMETHODPR(Window, SetColor, (Corner, const Color&), void), asCALL_THISCALL);
  658. // void UIElement::SetDeepEnabled(bool enable) | File: ../UI/UIElement.h
  659. engine->RegisterObjectMethod("Window", "void SetDeepEnabled(bool)", asMETHODPR(Window, SetDeepEnabled, (bool), void), asCALL_THISCALL);
  660. // void UIElement::SetDefaultStyle(XMLFile* style) | File: ../UI/UIElement.h
  661. engine->RegisterObjectMethod("Window", "void SetDefaultStyle(XMLFile@+)", asMETHODPR(Window, SetDefaultStyle, (XMLFile*), void), asCALL_THISCALL);
  662. engine->RegisterObjectMethod("Window", "void set_defaultStyle(XMLFile@+)", asMETHODPR(Window, SetDefaultStyle, (XMLFile*), void), asCALL_THISCALL);
  663. // void BorderImage::SetDisabledOffset(const IntVector2& offset) | File: ../UI/BorderImage.h
  664. engine->RegisterObjectMethod("Window", "void SetDisabledOffset(const IntVector2&in)", asMETHODPR(Window, SetDisabledOffset, (const IntVector2&), void), asCALL_THISCALL);
  665. engine->RegisterObjectMethod("Window", "void set_disabledOffset(const IntVector2&in)", asMETHODPR(Window, SetDisabledOffset, (const IntVector2&), void), asCALL_THISCALL);
  666. // void BorderImage::SetDisabledOffset(int x, int y) | File: ../UI/BorderImage.h
  667. engine->RegisterObjectMethod("Window", "void SetDisabledOffset(int, int)", asMETHODPR(Window, SetDisabledOffset, (int, int), void), asCALL_THISCALL);
  668. // void UIElement::SetDragDropMode(DragAndDropModeFlags mode) | File: ../UI/UIElement.h
  669. engine->RegisterObjectMethod("Window", "void SetDragDropMode(DragAndDropModeFlags)", asMETHODPR(Window, SetDragDropMode, (DragAndDropModeFlags), void), asCALL_THISCALL);
  670. engine->RegisterObjectMethod("Window", "void set_dragDropMode(DragAndDropModeFlags)", asMETHODPR(Window, SetDragDropMode, (DragAndDropModeFlags), void), asCALL_THISCALL);
  671. // void UIElement::SetEditable(bool enable) | File: ../UI/UIElement.h
  672. engine->RegisterObjectMethod("Window", "void SetEditable(bool)", asMETHODPR(Window, SetEditable, (bool), void), asCALL_THISCALL);
  673. engine->RegisterObjectMethod("Window", "void set_editable(bool)", asMETHODPR(Window, SetEditable, (bool), void), asCALL_THISCALL);
  674. // void UIElement::SetElementEventSender(bool flag) | File: ../UI/UIElement.h
  675. engine->RegisterObjectMethod("Window", "void SetElementEventSender(bool)", asMETHODPR(Window, SetElementEventSender, (bool), void), asCALL_THISCALL);
  676. engine->RegisterObjectMethod("Window", "void set_elementEventSender(bool)", asMETHODPR(Window, SetElementEventSender, (bool), void), asCALL_THISCALL);
  677. // void UIElement::SetEnableAnchor(bool enable) | File: ../UI/UIElement.h
  678. engine->RegisterObjectMethod("Window", "void SetEnableAnchor(bool)", asMETHODPR(Window, SetEnableAnchor, (bool), void), asCALL_THISCALL);
  679. engine->RegisterObjectMethod("Window", "void set_enableAnchor(bool)", asMETHODPR(Window, SetEnableAnchor, (bool), void), asCALL_THISCALL);
  680. // void UIElement::SetEnabled(bool enable) | File: ../UI/UIElement.h
  681. engine->RegisterObjectMethod("Window", "void SetEnabled(bool)", asMETHODPR(Window, SetEnabled, (bool), void), asCALL_THISCALL);
  682. engine->RegisterObjectMethod("Window", "void set_enabled(bool)", asMETHODPR(Window, SetEnabled, (bool), void), asCALL_THISCALL);
  683. // void UIElement::SetEnabledRecursive(bool enable) | File: ../UI/UIElement.h
  684. engine->RegisterObjectMethod("Window", "void SetEnabledRecursive(bool)", asMETHODPR(Window, SetEnabledRecursive, (bool), void), asCALL_THISCALL);
  685. // void UIElement::SetFixedHeight(int height) | File: ../UI/UIElement.h
  686. engine->RegisterObjectMethod("Window", "void SetFixedHeight(int)", asMETHODPR(Window, SetFixedHeight, (int), void), asCALL_THISCALL);
  687. // void Window::SetFixedHeightResizing(bool enable) | File: ../UI/Window.h
  688. engine->RegisterObjectMethod("Window", "void SetFixedHeightResizing(bool)", asMETHODPR(Window, SetFixedHeightResizing, (bool), void), asCALL_THISCALL);
  689. engine->RegisterObjectMethod("Window", "void set_fixedHeightResizing(bool)", asMETHODPR(Window, SetFixedHeightResizing, (bool), void), asCALL_THISCALL);
  690. // void UIElement::SetFixedSize(const IntVector2& size) | File: ../UI/UIElement.h
  691. engine->RegisterObjectMethod("Window", "void SetFixedSize(const IntVector2&in)", asMETHODPR(Window, SetFixedSize, (const IntVector2&), void), asCALL_THISCALL);
  692. // void UIElement::SetFixedSize(int width, int height) | File: ../UI/UIElement.h
  693. engine->RegisterObjectMethod("Window", "void SetFixedSize(int, int)", asMETHODPR(Window, SetFixedSize, (int, int), void), asCALL_THISCALL);
  694. // void UIElement::SetFixedWidth(int width) | File: ../UI/UIElement.h
  695. engine->RegisterObjectMethod("Window", "void SetFixedWidth(int)", asMETHODPR(Window, SetFixedWidth, (int), void), asCALL_THISCALL);
  696. // void Window::SetFixedWidthResizing(bool enable) | File: ../UI/Window.h
  697. engine->RegisterObjectMethod("Window", "void SetFixedWidthResizing(bool)", asMETHODPR(Window, SetFixedWidthResizing, (bool), void), asCALL_THISCALL);
  698. engine->RegisterObjectMethod("Window", "void set_fixedWidthResizing(bool)", asMETHODPR(Window, SetFixedWidthResizing, (bool), void), asCALL_THISCALL);
  699. // void UIElement::SetFocus(bool enable) | File: ../UI/UIElement.h
  700. engine->RegisterObjectMethod("Window", "void SetFocus(bool)", asMETHODPR(Window, SetFocus, (bool), void), asCALL_THISCALL);
  701. engine->RegisterObjectMethod("Window", "void set_focus(bool)", asMETHODPR(Window, SetFocus, (bool), void), asCALL_THISCALL);
  702. // void UIElement::SetFocusMode(FocusMode mode) | File: ../UI/UIElement.h
  703. engine->RegisterObjectMethod("Window", "void SetFocusMode(FocusMode)", asMETHODPR(Window, SetFocusMode, (FocusMode), void), asCALL_THISCALL);
  704. engine->RegisterObjectMethod("Window", "void set_focusMode(FocusMode)", asMETHODPR(Window, SetFocusMode, (FocusMode), void), asCALL_THISCALL);
  705. // void BorderImage::SetFullImageRect() | File: ../UI/BorderImage.h
  706. engine->RegisterObjectMethod("Window", "void SetFullImageRect()", asMETHODPR(Window, SetFullImageRect, (), void), asCALL_THISCALL);
  707. // void Object::SetGlobalVar(StringHash key, const Variant& value) | File: ../Core/Object.h
  708. engine->RegisterObjectMethod("Window", "void SetGlobalVar(StringHash, const Variant&in)", asMETHODPR(Window, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  709. engine->RegisterObjectMethod("Window", "void set_globalVar(StringHash, const Variant&in)", asMETHODPR(Window, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  710. // void UIElement::SetHeight(int height) | File: ../UI/UIElement.h
  711. engine->RegisterObjectMethod("Window", "void SetHeight(int)", asMETHODPR(Window, SetHeight, (int), void), asCALL_THISCALL);
  712. engine->RegisterObjectMethod("Window", "void set_height(int)", asMETHODPR(Window, SetHeight, (int), void), asCALL_THISCALL);
  713. // void UIElement::SetHorizontalAlignment(HorizontalAlignment align) | File: ../UI/UIElement.h
  714. engine->RegisterObjectMethod("Window", "void SetHorizontalAlignment(HorizontalAlignment)", asMETHODPR(Window, SetHorizontalAlignment, (HorizontalAlignment), void), asCALL_THISCALL);
  715. engine->RegisterObjectMethod("Window", "void set_horizontalAlignment(HorizontalAlignment)", asMETHODPR(Window, SetHorizontalAlignment, (HorizontalAlignment), void), asCALL_THISCALL);
  716. // void UIElement::SetHovering(bool enable) | File: ../UI/UIElement.h
  717. engine->RegisterObjectMethod("Window", "void SetHovering(bool)", asMETHODPR(Window, SetHovering, (bool), void), asCALL_THISCALL);
  718. // void BorderImage::SetHoverOffset(const IntVector2& offset) | File: ../UI/BorderImage.h
  719. engine->RegisterObjectMethod("Window", "void SetHoverOffset(const IntVector2&in)", asMETHODPR(Window, SetHoverOffset, (const IntVector2&), void), asCALL_THISCALL);
  720. engine->RegisterObjectMethod("Window", "void set_hoverOffset(const IntVector2&in)", asMETHODPR(Window, SetHoverOffset, (const IntVector2&), void), asCALL_THISCALL);
  721. // void BorderImage::SetHoverOffset(int x, int y) | File: ../UI/BorderImage.h
  722. engine->RegisterObjectMethod("Window", "void SetHoverOffset(int, int)", asMETHODPR(Window, SetHoverOffset, (int, int), void), asCALL_THISCALL);
  723. // void BorderImage::SetImageBorder(const IntRect& rect) | File: ../UI/BorderImage.h
  724. engine->RegisterObjectMethod("Window", "void SetImageBorder(const IntRect&in)", asMETHODPR(Window, SetImageBorder, (const IntRect&), void), asCALL_THISCALL);
  725. engine->RegisterObjectMethod("Window", "void set_imageBorder(const IntRect&in)", asMETHODPR(Window, SetImageBorder, (const IntRect&), void), asCALL_THISCALL);
  726. // void BorderImage::SetImageRect(const IntRect& rect) | File: ../UI/BorderImage.h
  727. engine->RegisterObjectMethod("Window", "void SetImageRect(const IntRect&in)", asMETHODPR(Window, SetImageRect, (const IntRect&), void), asCALL_THISCALL);
  728. engine->RegisterObjectMethod("Window", "void set_imageRect(const IntRect&in)", asMETHODPR(Window, SetImageRect, (const IntRect&), void), asCALL_THISCALL);
  729. // void UIElement::SetIndent(int indent) | File: ../UI/UIElement.h
  730. engine->RegisterObjectMethod("Window", "void SetIndent(int)", asMETHODPR(Window, SetIndent, (int), void), asCALL_THISCALL);
  731. engine->RegisterObjectMethod("Window", "void set_indent(int)", asMETHODPR(Window, SetIndent, (int), void), asCALL_THISCALL);
  732. // void UIElement::SetIndentSpacing(int indentSpacing) | File: ../UI/UIElement.h
  733. engine->RegisterObjectMethod("Window", "void SetIndentSpacing(int)", asMETHODPR(Window, SetIndentSpacing, (int), void), asCALL_THISCALL);
  734. engine->RegisterObjectMethod("Window", "void set_indentSpacing(int)", asMETHODPR(Window, SetIndentSpacing, (int), void), asCALL_THISCALL);
  735. // void Serializable::SetInstanceDefault(bool enable) | File: ../Scene/Serializable.h
  736. engine->RegisterObjectMethod("Window", "void SetInstanceDefault(bool)", asMETHODPR(Window, SetInstanceDefault, (bool), void), asCALL_THISCALL);
  737. // void Serializable::SetInterceptNetworkUpdate(const String& attributeName, bool enable) | File: ../Scene/Serializable.h
  738. engine->RegisterObjectMethod("Window", "void SetInterceptNetworkUpdate(const String&in, bool)", asMETHODPR(Window, SetInterceptNetworkUpdate, (const String&, bool), void), asCALL_THISCALL);
  739. // void UIElement::SetInternal(bool enable) | File: ../UI/UIElement.h
  740. engine->RegisterObjectMethod("Window", "void SetInternal(bool)", asMETHODPR(Window, SetInternal, (bool), void), asCALL_THISCALL);
  741. engine->RegisterObjectMethod("Window", "void set_internal(bool)", asMETHODPR(Window, SetInternal, (bool), void), asCALL_THISCALL);
  742. // void UIElement::SetLayout(LayoutMode mode, int spacing=0, const IntRect& border=IntRect::ZERO) | File: ../UI/UIElement.h
  743. engine->RegisterObjectMethod("Window", "void SetLayout(LayoutMode, int = 0, const IntRect&in = IntRect::ZERO)", asMETHODPR(Window, SetLayout, (LayoutMode, int, const IntRect&), void), asCALL_THISCALL);
  744. // void UIElement::SetLayoutBorder(const IntRect& border) | File: ../UI/UIElement.h
  745. engine->RegisterObjectMethod("Window", "void SetLayoutBorder(const IntRect&in)", asMETHODPR(Window, SetLayoutBorder, (const IntRect&), void), asCALL_THISCALL);
  746. engine->RegisterObjectMethod("Window", "void set_layoutBorder(const IntRect&in)", asMETHODPR(Window, SetLayoutBorder, (const IntRect&), void), asCALL_THISCALL);
  747. // void UIElement::SetLayoutFlexScale(const Vector2& scale) | File: ../UI/UIElement.h
  748. engine->RegisterObjectMethod("Window", "void SetLayoutFlexScale(const Vector2&in)", asMETHODPR(Window, SetLayoutFlexScale, (const Vector2&), void), asCALL_THISCALL);
  749. engine->RegisterObjectMethod("Window", "void set_layoutFlexScale(const Vector2&in)", asMETHODPR(Window, SetLayoutFlexScale, (const Vector2&), void), asCALL_THISCALL);
  750. // void UIElement::SetLayoutMode(LayoutMode mode) | File: ../UI/UIElement.h
  751. engine->RegisterObjectMethod("Window", "void SetLayoutMode(LayoutMode)", asMETHODPR(Window, SetLayoutMode, (LayoutMode), void), asCALL_THISCALL);
  752. engine->RegisterObjectMethod("Window", "void set_layoutMode(LayoutMode)", asMETHODPR(Window, SetLayoutMode, (LayoutMode), void), asCALL_THISCALL);
  753. // void UIElement::SetLayoutSpacing(int spacing) | File: ../UI/UIElement.h
  754. engine->RegisterObjectMethod("Window", "void SetLayoutSpacing(int)", asMETHODPR(Window, SetLayoutSpacing, (int), void), asCALL_THISCALL);
  755. engine->RegisterObjectMethod("Window", "void set_layoutSpacing(int)", asMETHODPR(Window, SetLayoutSpacing, (int), void), asCALL_THISCALL);
  756. // void BorderImage::SetMaterial(Material* material) | File: ../UI/BorderImage.h
  757. engine->RegisterObjectMethod("Window", "void SetMaterial(Material@+)", asMETHODPR(Window, SetMaterial, (Material*), void), asCALL_THISCALL);
  758. engine->RegisterObjectMethod("Window", "void set_material(Material@+)", asMETHODPR(Window, SetMaterial, (Material*), void), asCALL_THISCALL);
  759. // void BorderImage::SetMaterialAttr(const ResourceRef& value) | File: ../UI/BorderImage.h
  760. engine->RegisterObjectMethod("Window", "void SetMaterialAttr(const ResourceRef&in)", asMETHODPR(Window, SetMaterialAttr, (const ResourceRef&), void), asCALL_THISCALL);
  761. // void UIElement::SetMaxAnchor(const Vector2& anchor) | File: ../UI/UIElement.h
  762. engine->RegisterObjectMethod("Window", "void SetMaxAnchor(const Vector2&in)", asMETHODPR(Window, SetMaxAnchor, (const Vector2&), void), asCALL_THISCALL);
  763. engine->RegisterObjectMethod("Window", "void set_maxAnchor(const Vector2&in)", asMETHODPR(Window, SetMaxAnchor, (const Vector2&), void), asCALL_THISCALL);
  764. // void UIElement::SetMaxAnchor(float x, float y) | File: ../UI/UIElement.h
  765. engine->RegisterObjectMethod("Window", "void SetMaxAnchor(float, float)", asMETHODPR(Window, SetMaxAnchor, (float, float), void), asCALL_THISCALL);
  766. // void UIElement::SetMaxHeight(int height) | File: ../UI/UIElement.h
  767. engine->RegisterObjectMethod("Window", "void SetMaxHeight(int)", asMETHODPR(Window, SetMaxHeight, (int), void), asCALL_THISCALL);
  768. engine->RegisterObjectMethod("Window", "void set_maxHeight(int)", asMETHODPR(Window, SetMaxHeight, (int), void), asCALL_THISCALL);
  769. // void UIElement::SetMaxOffset(const IntVector2& offset) | File: ../UI/UIElement.h
  770. engine->RegisterObjectMethod("Window", "void SetMaxOffset(const IntVector2&in)", asMETHODPR(Window, SetMaxOffset, (const IntVector2&), void), asCALL_THISCALL);
  771. engine->RegisterObjectMethod("Window", "void set_maxOffset(const IntVector2&in)", asMETHODPR(Window, SetMaxOffset, (const IntVector2&), void), asCALL_THISCALL);
  772. // void UIElement::SetMaxSize(const IntVector2& maxSize) | File: ../UI/UIElement.h
  773. engine->RegisterObjectMethod("Window", "void SetMaxSize(const IntVector2&in)", asMETHODPR(Window, SetMaxSize, (const IntVector2&), void), asCALL_THISCALL);
  774. engine->RegisterObjectMethod("Window", "void set_maxSize(const IntVector2&in)", asMETHODPR(Window, SetMaxSize, (const IntVector2&), void), asCALL_THISCALL);
  775. // void UIElement::SetMaxSize(int width, int height) | File: ../UI/UIElement.h
  776. engine->RegisterObjectMethod("Window", "void SetMaxSize(int, int)", asMETHODPR(Window, SetMaxSize, (int, int), void), asCALL_THISCALL);
  777. // void UIElement::SetMaxWidth(int width) | File: ../UI/UIElement.h
  778. engine->RegisterObjectMethod("Window", "void SetMaxWidth(int)", asMETHODPR(Window, SetMaxWidth, (int), void), asCALL_THISCALL);
  779. engine->RegisterObjectMethod("Window", "void set_maxWidth(int)", asMETHODPR(Window, SetMaxWidth, (int), void), asCALL_THISCALL);
  780. // void UIElement::SetMinAnchor(const Vector2& anchor) | File: ../UI/UIElement.h
  781. engine->RegisterObjectMethod("Window", "void SetMinAnchor(const Vector2&in)", asMETHODPR(Window, SetMinAnchor, (const Vector2&), void), asCALL_THISCALL);
  782. engine->RegisterObjectMethod("Window", "void set_minAnchor(const Vector2&in)", asMETHODPR(Window, SetMinAnchor, (const Vector2&), void), asCALL_THISCALL);
  783. // void UIElement::SetMinAnchor(float x, float y) | File: ../UI/UIElement.h
  784. engine->RegisterObjectMethod("Window", "void SetMinAnchor(float, float)", asMETHODPR(Window, SetMinAnchor, (float, float), void), asCALL_THISCALL);
  785. // void UIElement::SetMinHeight(int height) | File: ../UI/UIElement.h
  786. engine->RegisterObjectMethod("Window", "void SetMinHeight(int)", asMETHODPR(Window, SetMinHeight, (int), void), asCALL_THISCALL);
  787. engine->RegisterObjectMethod("Window", "void set_minHeight(int)", asMETHODPR(Window, SetMinHeight, (int), void), asCALL_THISCALL);
  788. // void UIElement::SetMinOffset(const IntVector2& offset) | File: ../UI/UIElement.h
  789. engine->RegisterObjectMethod("Window", "void SetMinOffset(const IntVector2&in)", asMETHODPR(Window, SetMinOffset, (const IntVector2&), void), asCALL_THISCALL);
  790. engine->RegisterObjectMethod("Window", "void set_minOffset(const IntVector2&in)", asMETHODPR(Window, SetMinOffset, (const IntVector2&), void), asCALL_THISCALL);
  791. // void UIElement::SetMinSize(const IntVector2& minSize) | File: ../UI/UIElement.h
  792. engine->RegisterObjectMethod("Window", "void SetMinSize(const IntVector2&in)", asMETHODPR(Window, SetMinSize, (const IntVector2&), void), asCALL_THISCALL);
  793. engine->RegisterObjectMethod("Window", "void set_minSize(const IntVector2&in)", asMETHODPR(Window, SetMinSize, (const IntVector2&), void), asCALL_THISCALL);
  794. // void UIElement::SetMinSize(int width, int height) | File: ../UI/UIElement.h
  795. engine->RegisterObjectMethod("Window", "void SetMinSize(int, int)", asMETHODPR(Window, SetMinSize, (int, int), void), asCALL_THISCALL);
  796. // void UIElement::SetMinWidth(int width) | File: ../UI/UIElement.h
  797. engine->RegisterObjectMethod("Window", "void SetMinWidth(int)", asMETHODPR(Window, SetMinWidth, (int), void), asCALL_THISCALL);
  798. engine->RegisterObjectMethod("Window", "void set_minWidth(int)", asMETHODPR(Window, SetMinWidth, (int), void), asCALL_THISCALL);
  799. // void Window::SetModal(bool modal) | File: ../UI/Window.h
  800. engine->RegisterObjectMethod("Window", "void SetModal(bool)", asMETHODPR(Window, SetModal, (bool), void), asCALL_THISCALL);
  801. engine->RegisterObjectMethod("Window", "void set_modal(bool)", asMETHODPR(Window, SetModal, (bool), void), asCALL_THISCALL);
  802. // void Window::SetModalAutoDismiss(bool enable) | File: ../UI/Window.h
  803. engine->RegisterObjectMethod("Window", "void SetModalAutoDismiss(bool)", asMETHODPR(Window, SetModalAutoDismiss, (bool), void), asCALL_THISCALL);
  804. engine->RegisterObjectMethod("Window", "void set_modalAutoDismiss(bool)", asMETHODPR(Window, SetModalAutoDismiss, (bool), void), asCALL_THISCALL);
  805. // void Window::SetModalFrameColor(const Color& color) | File: ../UI/Window.h
  806. engine->RegisterObjectMethod("Window", "void SetModalFrameColor(const Color&in)", asMETHODPR(Window, SetModalFrameColor, (const Color&), void), asCALL_THISCALL);
  807. engine->RegisterObjectMethod("Window", "void set_modalFrameColor(const Color&in)", asMETHODPR(Window, SetModalFrameColor, (const Color&), void), asCALL_THISCALL);
  808. // void Window::SetModalFrameSize(const IntVector2& size) | File: ../UI/Window.h
  809. engine->RegisterObjectMethod("Window", "void SetModalFrameSize(const IntVector2&in)", asMETHODPR(Window, SetModalFrameSize, (const IntVector2&), void), asCALL_THISCALL);
  810. engine->RegisterObjectMethod("Window", "void set_modalFrameSize(const IntVector2&in)", asMETHODPR(Window, SetModalFrameSize, (const IntVector2&), void), asCALL_THISCALL);
  811. // void Window::SetModalShadeColor(const Color& color) | File: ../UI/Window.h
  812. engine->RegisterObjectMethod("Window", "void SetModalShadeColor(const Color&in)", asMETHODPR(Window, SetModalShadeColor, (const Color&), void), asCALL_THISCALL);
  813. engine->RegisterObjectMethod("Window", "void set_modalShadeColor(const Color&in)", asMETHODPR(Window, SetModalShadeColor, (const Color&), void), asCALL_THISCALL);
  814. // void Window::SetMovable(bool enable) | File: ../UI/Window.h
  815. engine->RegisterObjectMethod("Window", "void SetMovable(bool)", asMETHODPR(Window, SetMovable, (bool), void), asCALL_THISCALL);
  816. engine->RegisterObjectMethod("Window", "void set_movable(bool)", asMETHODPR(Window, SetMovable, (bool), void), asCALL_THISCALL);
  817. // void UIElement::SetName(const String& name) | File: ../UI/UIElement.h
  818. engine->RegisterObjectMethod("Window", "void SetName(const String&in)", asMETHODPR(Window, SetName, (const String&), void), asCALL_THISCALL);
  819. engine->RegisterObjectMethod("Window", "void set_name(const String&in)", asMETHODPR(Window, SetName, (const String&), void), asCALL_THISCALL);
  820. // void Animatable::SetObjectAnimation(ObjectAnimation* objectAnimation) | File: ../Scene/Animatable.h
  821. engine->RegisterObjectMethod("Window", "void SetObjectAnimation(ObjectAnimation@+)", asMETHODPR(Window, SetObjectAnimation, (ObjectAnimation*), void), asCALL_THISCALL);
  822. engine->RegisterObjectMethod("Window", "void set_objectAnimation(ObjectAnimation@+)", asMETHODPR(Window, SetObjectAnimation, (ObjectAnimation*), void), asCALL_THISCALL);
  823. // void Animatable::SetObjectAnimationAttr(const ResourceRef& value) | File: ../Scene/Animatable.h
  824. engine->RegisterObjectMethod("Window", "void SetObjectAnimationAttr(const ResourceRef&in)", asMETHODPR(Window, SetObjectAnimationAttr, (const ResourceRef&), void), asCALL_THISCALL);
  825. // void UIElement::SetOpacity(float opacity) | File: ../UI/UIElement.h
  826. engine->RegisterObjectMethod("Window", "void SetOpacity(float)", asMETHODPR(Window, SetOpacity, (float), void), asCALL_THISCALL);
  827. engine->RegisterObjectMethod("Window", "void set_opacity(float)", asMETHODPR(Window, SetOpacity, (float), void), asCALL_THISCALL);
  828. // void UIElement::SetParent(UIElement* parent, unsigned index=M_MAX_UNSIGNED) | File: ../UI/UIElement.h
  829. engine->RegisterObjectMethod("Window", "void SetParent(UIElement@+, uint = M_MAX_UNSIGNED)", asMETHODPR(Window, SetParent, (UIElement*, unsigned), void), asCALL_THISCALL);
  830. // void UIElement::SetPivot(const Vector2& pivot) | File: ../UI/UIElement.h
  831. engine->RegisterObjectMethod("Window", "void SetPivot(const Vector2&in)", asMETHODPR(Window, SetPivot, (const Vector2&), void), asCALL_THISCALL);
  832. engine->RegisterObjectMethod("Window", "void set_pivot(const Vector2&in)", asMETHODPR(Window, SetPivot, (const Vector2&), void), asCALL_THISCALL);
  833. // void UIElement::SetPivot(float x, float y) | File: ../UI/UIElement.h
  834. engine->RegisterObjectMethod("Window", "void SetPivot(float, float)", asMETHODPR(Window, SetPivot, (float, float), void), asCALL_THISCALL);
  835. // void UIElement::SetPosition(const IntVector2& position) | File: ../UI/UIElement.h
  836. engine->RegisterObjectMethod("Window", "void SetPosition(const IntVector2&in)", asMETHODPR(Window, SetPosition, (const IntVector2&), void), asCALL_THISCALL);
  837. engine->RegisterObjectMethod("Window", "void set_position(const IntVector2&in)", asMETHODPR(Window, SetPosition, (const IntVector2&), void), asCALL_THISCALL);
  838. // void UIElement::SetPosition(int x, int y) | File: ../UI/UIElement.h
  839. engine->RegisterObjectMethod("Window", "void SetPosition(int, int)", asMETHODPR(Window, SetPosition, (int, int), void), asCALL_THISCALL);
  840. // void UIElement::SetPriority(int priority) | File: ../UI/UIElement.h
  841. engine->RegisterObjectMethod("Window", "void SetPriority(int)", asMETHODPR(Window, SetPriority, (int), void), asCALL_THISCALL);
  842. engine->RegisterObjectMethod("Window", "void set_priority(int)", asMETHODPR(Window, SetPriority, (int), void), asCALL_THISCALL);
  843. // void UIElement::SetRenderTexture(Texture2D* texture) | File: ../UI/UIElement.h
  844. engine->RegisterObjectMethod("Window", "void SetRenderTexture(Texture2D@+)", asMETHODPR(Window, SetRenderTexture, (Texture2D*), void), asCALL_THISCALL);
  845. // void Window::SetResizable(bool enable) | File: ../UI/Window.h
  846. engine->RegisterObjectMethod("Window", "void SetResizable(bool)", asMETHODPR(Window, SetResizable, (bool), void), asCALL_THISCALL);
  847. engine->RegisterObjectMethod("Window", "void set_resizable(bool)", asMETHODPR(Window, SetResizable, (bool), void), asCALL_THISCALL);
  848. // void Window::SetResizeBorder(const IntRect& rect) | File: ../UI/Window.h
  849. engine->RegisterObjectMethod("Window", "void SetResizeBorder(const IntRect&in)", asMETHODPR(Window, SetResizeBorder, (const IntRect&), void), asCALL_THISCALL);
  850. engine->RegisterObjectMethod("Window", "void set_resizeBorder(const IntRect&in)", asMETHODPR(Window, SetResizeBorder, (const IntRect&), void), asCALL_THISCALL);
  851. // void UIElement::SetSelected(bool enable) | File: ../UI/UIElement.h
  852. engine->RegisterObjectMethod("Window", "void SetSelected(bool)", asMETHODPR(Window, SetSelected, (bool), void), asCALL_THISCALL);
  853. engine->RegisterObjectMethod("Window", "void set_selected(bool)", asMETHODPR(Window, SetSelected, (bool), void), asCALL_THISCALL);
  854. // void UIElement::SetSize(const IntVector2& size) | File: ../UI/UIElement.h
  855. engine->RegisterObjectMethod("Window", "void SetSize(const IntVector2&in)", asMETHODPR(Window, SetSize, (const IntVector2&), void), asCALL_THISCALL);
  856. engine->RegisterObjectMethod("Window", "void set_size(const IntVector2&in)", asMETHODPR(Window, SetSize, (const IntVector2&), void), asCALL_THISCALL);
  857. // void UIElement::SetSize(int width, int height) | File: ../UI/UIElement.h
  858. engine->RegisterObjectMethod("Window", "void SetSize(int, int)", asMETHODPR(Window, SetSize, (int, int), void), asCALL_THISCALL);
  859. // void UIElement::SetSortChildren(bool enable) | File: ../UI/UIElement.h
  860. engine->RegisterObjectMethod("Window", "void SetSortChildren(bool)", asMETHODPR(Window, SetSortChildren, (bool), void), asCALL_THISCALL);
  861. engine->RegisterObjectMethod("Window", "void set_sortChildren(bool)", asMETHODPR(Window, SetSortChildren, (bool), void), asCALL_THISCALL);
  862. // bool UIElement::SetStyle(const String& styleName, XMLFile* file=nullptr) | File: ../UI/UIElement.h
  863. engine->RegisterObjectMethod("Window", "bool SetStyle(const String&in, XMLFile@+ = null)", asMETHODPR(Window, SetStyle, (const String&, XMLFile*), bool), asCALL_THISCALL);
  864. // bool UIElement::SetStyle(const XMLElement& element) | File: ../UI/UIElement.h
  865. engine->RegisterObjectMethod("Window", "bool SetStyle(const XMLElement&in)", asMETHODPR(Window, SetStyle, (const XMLElement&), bool), asCALL_THISCALL);
  866. // bool UIElement::SetStyleAuto(XMLFile* file=nullptr) | File: ../UI/UIElement.h
  867. engine->RegisterObjectMethod("Window", "bool SetStyleAuto(XMLFile@+ = null)", asMETHODPR(Window, SetStyleAuto, (XMLFile*), bool), asCALL_THISCALL);
  868. // void UIElement::SetTags(const StringVector& tags) | File: ../UI/UIElement.h
  869. // Error: type "const StringVector&" can not automatically bind
  870. // void Serializable::SetTemporary(bool enable) | File: ../Scene/Serializable.h
  871. engine->RegisterObjectMethod("Window", "void SetTemporary(bool)", asMETHODPR(Window, SetTemporary, (bool), void), asCALL_THISCALL);
  872. engine->RegisterObjectMethod("Window", "void set_temporary(bool)", asMETHODPR(Window, SetTemporary, (bool), void), asCALL_THISCALL);
  873. // void BorderImage::SetTexture(Texture* texture) | File: ../UI/BorderImage.h
  874. engine->RegisterObjectMethod("Window", "void SetTexture(Texture@+)", asMETHODPR(Window, SetTexture, (Texture*), void), asCALL_THISCALL);
  875. engine->RegisterObjectMethod("Window", "void set_texture(Texture@+)", asMETHODPR(Window, SetTexture, (Texture*), void), asCALL_THISCALL);
  876. // void BorderImage::SetTextureAttr(const ResourceRef& value) | File: ../UI/BorderImage.h
  877. engine->RegisterObjectMethod("Window", "void SetTextureAttr(const ResourceRef&in)", asMETHODPR(Window, SetTextureAttr, (const ResourceRef&), void), asCALL_THISCALL);
  878. // void BorderImage::SetTiled(bool enable) | File: ../UI/BorderImage.h
  879. engine->RegisterObjectMethod("Window", "void SetTiled(bool)", asMETHODPR(Window, SetTiled, (bool), void), asCALL_THISCALL);
  880. engine->RegisterObjectMethod("Window", "void set_tiled(bool)", asMETHODPR(Window, SetTiled, (bool), void), asCALL_THISCALL);
  881. // void UIElement::SetTraversalMode(TraversalMode traversalMode) | File: ../UI/UIElement.h
  882. engine->RegisterObjectMethod("Window", "void SetTraversalMode(TraversalMode)", asMETHODPR(Window, SetTraversalMode, (TraversalMode), void), asCALL_THISCALL);
  883. engine->RegisterObjectMethod("Window", "void set_traversalMode(TraversalMode)", asMETHODPR(Window, SetTraversalMode, (TraversalMode), void), asCALL_THISCALL);
  884. // void UIElement::SetUseDerivedOpacity(bool enable) | File: ../UI/UIElement.h
  885. engine->RegisterObjectMethod("Window", "void SetUseDerivedOpacity(bool)", asMETHODPR(Window, SetUseDerivedOpacity, (bool), void), asCALL_THISCALL);
  886. engine->RegisterObjectMethod("Window", "void set_useDerivedOpacity(bool)", asMETHODPR(Window, SetUseDerivedOpacity, (bool), void), asCALL_THISCALL);
  887. // void UIElement::SetVar(StringHash key, const Variant& value) | File: ../UI/UIElement.h
  888. engine->RegisterObjectMethod("Window", "void SetVar(StringHash, const Variant&in)", asMETHODPR(Window, SetVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  889. // void UIElement::SetVerticalAlignment(VerticalAlignment align) | File: ../UI/UIElement.h
  890. engine->RegisterObjectMethod("Window", "void SetVerticalAlignment(VerticalAlignment)", asMETHODPR(Window, SetVerticalAlignment, (VerticalAlignment), void), asCALL_THISCALL);
  891. engine->RegisterObjectMethod("Window", "void set_verticalAlignment(VerticalAlignment)", asMETHODPR(Window, SetVerticalAlignment, (VerticalAlignment), void), asCALL_THISCALL);
  892. // void UIElement::SetVisible(bool enable) | File: ../UI/UIElement.h
  893. engine->RegisterObjectMethod("Window", "void SetVisible(bool)", asMETHODPR(Window, SetVisible, (bool), void), asCALL_THISCALL);
  894. engine->RegisterObjectMethod("Window", "void set_visible(bool)", asMETHODPR(Window, SetVisible, (bool), void), asCALL_THISCALL);
  895. // void UIElement::SetWidth(int width) | File: ../UI/UIElement.h
  896. engine->RegisterObjectMethod("Window", "void SetWidth(int)", asMETHODPR(Window, SetWidth, (int), void), asCALL_THISCALL);
  897. engine->RegisterObjectMethod("Window", "void set_width(int)", asMETHODPR(Window, SetWidth, (int), void), asCALL_THISCALL);
  898. // void UIElement::SortChildren() | File: ../UI/UIElement.h
  899. engine->RegisterObjectMethod("Window", "void SortChildren()", asMETHODPR(Window, SortChildren, (), void), asCALL_THISCALL);
  900. // void Object::SubscribeToEvent(StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  901. // Error: type "EventHandler*" can not automatically bind
  902. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  903. // Error: type "EventHandler*" can not automatically bind
  904. // void Object::SubscribeToEvent(StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  905. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  906. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  907. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  908. // void Object::UnsubscribeFromAllEvents() | File: ../Core/Object.h
  909. engine->RegisterObjectMethod("Window", "void UnsubscribeFromAllEvents()", asMETHODPR(Window, UnsubscribeFromAllEvents, (), void), asCALL_THISCALL);
  910. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  911. engine->RegisterObjectMethod("Window", "void UnsubscribeFromAllEventsExcept(Array<StringHash>@+, bool)", asFUNCTION(Window_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool), asCALL_CDECL_OBJFIRST);
  912. // void Object::UnsubscribeFromEvent(StringHash eventType) | File: ../Core/Object.h
  913. engine->RegisterObjectMethod("Window", "void UnsubscribeFromEvent(StringHash)", asMETHODPR(Window, UnsubscribeFromEvent, (StringHash), void), asCALL_THISCALL);
  914. // void Object::UnsubscribeFromEvent(Object* sender, StringHash eventType) | File: ../Core/Object.h
  915. engine->RegisterObjectMethod("Window", "void UnsubscribeFromEvent(Object@+, StringHash)", asMETHODPR(Window, UnsubscribeFromEvent, (Object*, StringHash), void), asCALL_THISCALL);
  916. // void Object::UnsubscribeFromEvents(Object* sender) | File: ../Core/Object.h
  917. engine->RegisterObjectMethod("Window", "void UnsubscribeFromEvents(Object@+)", asMETHODPR(Window, UnsubscribeFromEvents, (Object*), void), asCALL_THISCALL);
  918. // virtual void UIElement::Update(float timeStep) | File: ../UI/UIElement.h
  919. engine->RegisterObjectMethod("Window", "void Update(float)", asMETHODPR(Window, Update, (float), void), asCALL_THISCALL);
  920. // void UIElement::UpdateLayout() | File: ../UI/UIElement.h
  921. engine->RegisterObjectMethod("Window", "void UpdateLayout()", asMETHODPR(Window, UpdateLayout, (), void), asCALL_THISCALL);
  922. // int RefCounted::WeakRefs() const | File: ../Container/RefCounted.h
  923. engine->RegisterObjectMethod("Window", "int WeakRefs() const", asMETHODPR(Window, WeakRefs, () const, int), asCALL_THISCALL);
  924. engine->RegisterObjectMethod("Window", "int get_weakRefs() const", asMETHODPR(Window, WeakRefs, () const, int), asCALL_THISCALL);
  925. // explicit Window::Window(Context* context) | File: ../UI/Window.h
  926. engine->RegisterObjectBehaviour("Window", asBEHAVE_FACTORY, "Window@+ f()", asFUNCTION(Window_Window_Context), asCALL_CDECL);
  927. // void Serializable::WriteDeltaUpdate(Serializer& dest, const DirtyBits& attributeBits, unsigned char timeStamp) | File: ../Scene/Serializable.h
  928. engine->RegisterObjectMethod("Window", "void WriteDeltaUpdate(Serializer&, const DirtyBits&in, uint8)", asMETHODPR(Window, WriteDeltaUpdate, (Serializer&, const DirtyBits&, unsigned char), void), asCALL_THISCALL);
  929. // void Serializable::WriteInitialDeltaUpdate(Serializer& dest, unsigned char timeStamp) | File: ../Scene/Serializable.h
  930. engine->RegisterObjectMethod("Window", "void WriteInitialDeltaUpdate(Serializer&, uint8)", asMETHODPR(Window, WriteInitialDeltaUpdate, (Serializer&, unsigned char), void), asCALL_THISCALL);
  931. // void Serializable::WriteLatestDataUpdate(Serializer& dest, unsigned char timeStamp) | File: ../Scene/Serializable.h
  932. engine->RegisterObjectMethod("Window", "void WriteLatestDataUpdate(Serializer&, uint8)", asMETHODPR(Window, WriteLatestDataUpdate, (Serializer&, unsigned char), void), asCALL_THISCALL);
  933. #ifdef REGISTER_MANUAL_PART_BorderImage
  934. REGISTER_MANUAL_PART_BorderImage(Window, "Window")
  935. #endif
  936. #ifdef REGISTER_MANUAL_PART_UIElement
  937. REGISTER_MANUAL_PART_UIElement(Window, "Window")
  938. #endif
  939. #ifdef REGISTER_MANUAL_PART_Animatable
  940. REGISTER_MANUAL_PART_Animatable(Window, "Window")
  941. #endif
  942. #ifdef REGISTER_MANUAL_PART_Serializable
  943. REGISTER_MANUAL_PART_Serializable(Window, "Window")
  944. #endif
  945. #ifdef REGISTER_MANUAL_PART_Object
  946. REGISTER_MANUAL_PART_Object(Window, "Window")
  947. #endif
  948. #ifdef REGISTER_MANUAL_PART_RefCounted
  949. REGISTER_MANUAL_PART_RefCounted(Window, "Window")
  950. #endif
  951. #ifdef REGISTER_MANUAL_PART_Window
  952. REGISTER_MANUAL_PART_Window(Window, "Window")
  953. #endif
  954. RegisterSubclass<BorderImage, Window>(engine, "BorderImage", "Window");
  955. RegisterSubclass<UIElement, Window>(engine, "UIElement", "Window");
  956. RegisterSubclass<Animatable, Window>(engine, "Animatable", "Window");
  957. RegisterSubclass<Serializable, Window>(engine, "Serializable", "Window");
  958. RegisterSubclass<Object, Window>(engine, "Object", "Window");
  959. RegisterSubclass<RefCounted, Window>(engine, "RefCounted", "Window");
  960. // void RefCounted::AddRef() | File: ../Container/RefCounted.h
  961. engine->RegisterObjectBehaviour("WorkQueue", asBEHAVE_ADDREF, "void f()", asMETHODPR(WorkQueue, AddRef, (), void), asCALL_THISCALL);
  962. // void WorkQueue::AddWorkItem(const SharedPtr<WorkItem>& item) | File: ../Core/WorkQueue.h
  963. // Error: type "const SharedPtr<WorkItem>&" can not automatically bind
  964. // template<typename T> T* Object::Cast() | File: ../Core/Object.h
  965. // Not registered because template
  966. // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
  967. // Not registered because template
  968. // void WorkQueue::Complete(unsigned priority) | File: ../Core/WorkQueue.h
  969. engine->RegisterObjectMethod("WorkQueue", "void Complete(uint)", asMETHODPR(WorkQueue, Complete, (unsigned), void), asCALL_THISCALL);
  970. // void WorkQueue::CreateThreads(unsigned numThreads) | File: ../Core/WorkQueue.h
  971. engine->RegisterObjectMethod("WorkQueue", "void CreateThreads(uint)", asMETHODPR(WorkQueue, CreateThreads, (unsigned), void), asCALL_THISCALL);
  972. // bool Object::GetBlockEvents() const | File: ../Core/Object.h
  973. engine->RegisterObjectMethod("WorkQueue", "bool GetBlockEvents() const", asMETHODPR(WorkQueue, GetBlockEvents, () const, bool), asCALL_THISCALL);
  974. // const String& Object::GetCategory() const | File: ../Core/Object.h
  975. engine->RegisterObjectMethod("WorkQueue", "const String& GetCategory() const", asMETHODPR(WorkQueue, GetCategory, () const, const String&), asCALL_THISCALL);
  976. engine->RegisterObjectMethod("WorkQueue", "const String& get_category() const", asMETHODPR(WorkQueue, GetCategory, () const, const String&), asCALL_THISCALL);
  977. // Context* Object::GetContext() const | File: ../Core/Object.h
  978. // Error: type "Context*" can not be returned
  979. // VariantMap& Object::GetEventDataMap() const | File: ../Core/Object.h
  980. engine->RegisterObjectMethod("WorkQueue", "VariantMap& GetEventDataMap() const", asMETHODPR(WorkQueue, GetEventDataMap, () const, VariantMap&), asCALL_THISCALL);
  981. // EventHandler* Object::GetEventHandler() const | File: ../Core/Object.h
  982. // Error: type "EventHandler*" can not automatically bind
  983. // Object* Object::GetEventSender() const | File: ../Core/Object.h
  984. engine->RegisterObjectMethod("WorkQueue", "Object@+ GetEventSender() const", asMETHODPR(WorkQueue, GetEventSender, () const, Object*), asCALL_THISCALL);
  985. // SharedPtr<WorkItem> WorkQueue::GetFreeItem() | File: ../Core/WorkQueue.h
  986. // TODO
  987. // const Variant& Object::GetGlobalVar(StringHash key) const | File: ../Core/Object.h
  988. engine->RegisterObjectMethod("WorkQueue", "const Variant& GetGlobalVar(StringHash) const", asMETHODPR(WorkQueue, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  989. engine->RegisterObjectMethod("WorkQueue", "const Variant& get_globalVar(StringHash) const", asMETHODPR(WorkQueue, GetGlobalVar, (StringHash) const, const Variant&), asCALL_THISCALL);
  990. // const VariantMap& Object::GetGlobalVars() const | File: ../Core/Object.h
  991. engine->RegisterObjectMethod("WorkQueue", "const VariantMap& GetGlobalVars() const", asMETHODPR(WorkQueue, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  992. engine->RegisterObjectMethod("WorkQueue", "const VariantMap& get_globalVars() const", asMETHODPR(WorkQueue, GetGlobalVars, () const, const VariantMap&), asCALL_THISCALL);
  993. // int WorkQueue::GetNonThreadedWorkMs() const | File: ../Core/WorkQueue.h
  994. engine->RegisterObjectMethod("WorkQueue", "int GetNonThreadedWorkMs() const", asMETHODPR(WorkQueue, GetNonThreadedWorkMs, () const, int), asCALL_THISCALL);
  995. // unsigned WorkQueue::GetNumThreads() const | File: ../Core/WorkQueue.h
  996. engine->RegisterObjectMethod("WorkQueue", "uint GetNumThreads() const", asMETHODPR(WorkQueue, GetNumThreads, () const, unsigned), asCALL_THISCALL);
  997. // Object* Object::GetSubsystem(StringHash type) const | File: ../Core/Object.h
  998. engine->RegisterObjectMethod("WorkQueue", "Object@+ GetSubsystem(StringHash) const", asMETHODPR(WorkQueue, GetSubsystem, (StringHash) const, Object*), asCALL_THISCALL);
  999. // template<class T> T* Object::GetSubsystem() const | File: ../Core/Object.h
  1000. // Not registered because template
  1001. // int WorkQueue::GetTolerance() const | File: ../Core/WorkQueue.h
  1002. engine->RegisterObjectMethod("WorkQueue", "int GetTolerance() const", asMETHODPR(WorkQueue, GetTolerance, () const, int), asCALL_THISCALL);
  1003. // virtual StringHash Object::GetType() const =0 | File: ../Core/Object.h
  1004. engine->RegisterObjectMethod("WorkQueue", "StringHash GetType() const", asMETHODPR(WorkQueue, GetType, () const, StringHash), asCALL_THISCALL);
  1005. engine->RegisterObjectMethod("WorkQueue", "StringHash get_type() const", asMETHODPR(WorkQueue, GetType, () const, StringHash), asCALL_THISCALL);
  1006. // virtual const TypeInfo* Object::GetTypeInfo() const =0 | File: ../Core/Object.h
  1007. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  1008. // static const TypeInfo* Object::GetTypeInfoStatic() | File: ../Core/Object.h
  1009. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  1010. // virtual const String& Object::GetTypeName() const =0 | File: ../Core/Object.h
  1011. engine->RegisterObjectMethod("WorkQueue", "const String& GetTypeName() const", asMETHODPR(WorkQueue, GetTypeName, () const, const String&), asCALL_THISCALL);
  1012. engine->RegisterObjectMethod("WorkQueue", "const String& get_typeName() const", asMETHODPR(WorkQueue, GetTypeName, () const, const String&), asCALL_THISCALL);
  1013. // bool Object::HasEventHandlers() const | File: ../Core/Object.h
  1014. engine->RegisterObjectMethod("WorkQueue", "bool HasEventHandlers() const", asMETHODPR(WorkQueue, HasEventHandlers, () const, bool), asCALL_THISCALL);
  1015. // bool Object::HasSubscribedToEvent(StringHash eventType) const | File: ../Core/Object.h
  1016. engine->RegisterObjectMethod("WorkQueue", "bool HasSubscribedToEvent(StringHash) const", asMETHODPR(WorkQueue, HasSubscribedToEvent, (StringHash) const, bool), asCALL_THISCALL);
  1017. // bool Object::HasSubscribedToEvent(Object* sender, StringHash eventType) const | File: ../Core/Object.h
  1018. engine->RegisterObjectMethod("WorkQueue", "bool HasSubscribedToEvent(Object@+, StringHash) const", asMETHODPR(WorkQueue, HasSubscribedToEvent, (Object*, StringHash) const, bool), asCALL_THISCALL);
  1019. // bool WorkQueue::IsCompleted(unsigned priority) const | File: ../Core/WorkQueue.h
  1020. engine->RegisterObjectMethod("WorkQueue", "bool IsCompleted(uint) const", asMETHODPR(WorkQueue, IsCompleted, (unsigned) const, bool), asCALL_THISCALL);
  1021. // bool WorkQueue::IsCompleting() const | File: ../Core/WorkQueue.h
  1022. engine->RegisterObjectMethod("WorkQueue", "bool IsCompleting() const", asMETHODPR(WorkQueue, IsCompleting, () const, bool), asCALL_THISCALL);
  1023. // bool Object::IsInstanceOf(StringHash type) const | File: ../Core/Object.h
  1024. engine->RegisterObjectMethod("WorkQueue", "bool IsInstanceOf(StringHash) const", asMETHODPR(WorkQueue, IsInstanceOf, (StringHash) const, bool), asCALL_THISCALL);
  1025. // bool Object::IsInstanceOf(const TypeInfo* typeInfo) const | File: ../Core/Object.h
  1026. // Error: type "TypeInfo" can not automatically bind bacause have @nobind mark
  1027. // template<typename T> bool Object::IsInstanceOf() const | File: ../Core/Object.h
  1028. // Not registered because template
  1029. // virtual void Object::OnEvent(Object* sender, StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  1030. engine->RegisterObjectMethod("WorkQueue", "void OnEvent(Object@+, StringHash, VariantMap&)", asMETHODPR(WorkQueue, OnEvent, (Object*, StringHash, VariantMap&), void), asCALL_THISCALL);
  1031. // void WorkQueue::Pause() | File: ../Core/WorkQueue.h
  1032. engine->RegisterObjectMethod("WorkQueue", "void Pause()", asMETHODPR(WorkQueue, Pause, (), void), asCALL_THISCALL);
  1033. // RefCount* RefCounted::RefCountPtr() | File: ../Container/RefCounted.h
  1034. // Error: type "RefCount*" can not automatically bind
  1035. // int RefCounted::Refs() const | File: ../Container/RefCounted.h
  1036. engine->RegisterObjectMethod("WorkQueue", "int Refs() const", asMETHODPR(WorkQueue, Refs, () const, int), asCALL_THISCALL);
  1037. engine->RegisterObjectMethod("WorkQueue", "int get_refs() const", asMETHODPR(WorkQueue, Refs, () const, int), asCALL_THISCALL);
  1038. // void RefCounted::ReleaseRef() | File: ../Container/RefCounted.h
  1039. engine->RegisterObjectBehaviour("WorkQueue", asBEHAVE_RELEASE, "void f()", asMETHODPR(WorkQueue, ReleaseRef, (), void), asCALL_THISCALL);
  1040. // bool WorkQueue::RemoveWorkItem(SharedPtr<WorkItem> item) | File: ../Core/WorkQueue.h
  1041. // Error: type "SharedPtr<WorkItem>" can not automatically bind
  1042. // unsigned WorkQueue::RemoveWorkItems(const Vector<SharedPtr<WorkItem>>& items) | File: ../Core/WorkQueue.h
  1043. // TODO
  1044. // void WorkQueue::Resume() | File: ../Core/WorkQueue.h
  1045. engine->RegisterObjectMethod("WorkQueue", "void Resume()", asMETHODPR(WorkQueue, Resume, (), void), asCALL_THISCALL);
  1046. // void Object::SendEvent(StringHash eventType) | File: ../Core/Object.h
  1047. engine->RegisterObjectMethod("WorkQueue", "void SendEvent(StringHash)", asMETHODPR(WorkQueue, SendEvent, (StringHash), void), asCALL_THISCALL);
  1048. // void Object::SendEvent(StringHash eventType, VariantMap& eventData) | File: ../Core/Object.h
  1049. engine->RegisterObjectMethod("WorkQueue", "void SendEvent(StringHash, VariantMap&)", asMETHODPR(WorkQueue, SendEvent, (StringHash, VariantMap&), void), asCALL_THISCALL);
  1050. // template<typename... Args> void Object::SendEvent(StringHash eventType, Args... args) | File: ../Core/Object.h
  1051. // Not registered because template
  1052. // void Object::SetBlockEvents(bool block) | File: ../Core/Object.h
  1053. engine->RegisterObjectMethod("WorkQueue", "void SetBlockEvents(bool)", asMETHODPR(WorkQueue, SetBlockEvents, (bool), void), asCALL_THISCALL);
  1054. // void Object::SetGlobalVar(StringHash key, const Variant& value) | File: ../Core/Object.h
  1055. engine->RegisterObjectMethod("WorkQueue", "void SetGlobalVar(StringHash, const Variant&in)", asMETHODPR(WorkQueue, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  1056. engine->RegisterObjectMethod("WorkQueue", "void set_globalVar(StringHash, const Variant&in)", asMETHODPR(WorkQueue, SetGlobalVar, (StringHash, const Variant&), void), asCALL_THISCALL);
  1057. // void WorkQueue::SetNonThreadedWorkMs(int ms) | File: ../Core/WorkQueue.h
  1058. engine->RegisterObjectMethod("WorkQueue", "void SetNonThreadedWorkMs(int)", asMETHODPR(WorkQueue, SetNonThreadedWorkMs, (int), void), asCALL_THISCALL);
  1059. // void WorkQueue::SetTolerance(int tolerance) | File: ../Core/WorkQueue.h
  1060. engine->RegisterObjectMethod("WorkQueue", "void SetTolerance(int)", asMETHODPR(WorkQueue, SetTolerance, (int), void), asCALL_THISCALL);
  1061. // void Object::SubscribeToEvent(StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  1062. // Error: type "EventHandler*" can not automatically bind
  1063. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, EventHandler* handler) | File: ../Core/Object.h
  1064. // Error: type "EventHandler*" can not automatically bind
  1065. // void Object::SubscribeToEvent(StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  1066. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  1067. // void Object::SubscribeToEvent(Object* sender, StringHash eventType, const std::function<void(StringHash, VariantMap&)>& function, void* userData=nullptr) | File: ../Core/Object.h
  1068. // Error: type "const std::function<void(StringHash, VariantMap&)>&" can not automatically bind
  1069. // void Object::UnsubscribeFromAllEvents() | File: ../Core/Object.h
  1070. engine->RegisterObjectMethod("WorkQueue", "void UnsubscribeFromAllEvents()", asMETHODPR(WorkQueue, UnsubscribeFromAllEvents, (), void), asCALL_THISCALL);
  1071. // void Object::UnsubscribeFromAllEventsExcept(const PODVector<StringHash>& exceptions, bool onlyUserData) | File: ../Core/Object.h
  1072. engine->RegisterObjectMethod("WorkQueue", "void UnsubscribeFromAllEventsExcept(Array<StringHash>@+, bool)", asFUNCTION(WorkQueue_UnsubscribeFromAllEventsExcept_PODVectorStringHash_bool), asCALL_CDECL_OBJFIRST);
  1073. // void Object::UnsubscribeFromEvent(StringHash eventType) | File: ../Core/Object.h
  1074. engine->RegisterObjectMethod("WorkQueue", "void UnsubscribeFromEvent(StringHash)", asMETHODPR(WorkQueue, UnsubscribeFromEvent, (StringHash), void), asCALL_THISCALL);
  1075. // void Object::UnsubscribeFromEvent(Object* sender, StringHash eventType) | File: ../Core/Object.h
  1076. engine->RegisterObjectMethod("WorkQueue", "void UnsubscribeFromEvent(Object@+, StringHash)", asMETHODPR(WorkQueue, UnsubscribeFromEvent, (Object*, StringHash), void), asCALL_THISCALL);
  1077. // void Object::UnsubscribeFromEvents(Object* sender) | File: ../Core/Object.h
  1078. engine->RegisterObjectMethod("WorkQueue", "void UnsubscribeFromEvents(Object@+)", asMETHODPR(WorkQueue, UnsubscribeFromEvents, (Object*), void), asCALL_THISCALL);
  1079. // int RefCounted::WeakRefs() const | File: ../Container/RefCounted.h
  1080. engine->RegisterObjectMethod("WorkQueue", "int WeakRefs() const", asMETHODPR(WorkQueue, WeakRefs, () const, int), asCALL_THISCALL);
  1081. engine->RegisterObjectMethod("WorkQueue", "int get_weakRefs() const", asMETHODPR(WorkQueue, WeakRefs, () const, int), asCALL_THISCALL);
  1082. // explicit WorkQueue::WorkQueue(Context* context) | File: ../Core/WorkQueue.h
  1083. engine->RegisterObjectBehaviour("WorkQueue", asBEHAVE_FACTORY, "WorkQueue@+ f()", asFUNCTION(WorkQueue_WorkQueue_Context), asCALL_CDECL);
  1084. #ifdef REGISTER_MANUAL_PART_Object
  1085. REGISTER_MANUAL_PART_Object(WorkQueue, "WorkQueue")
  1086. #endif
  1087. #ifdef REGISTER_MANUAL_PART_RefCounted
  1088. REGISTER_MANUAL_PART_RefCounted(WorkQueue, "WorkQueue")
  1089. #endif
  1090. #ifdef REGISTER_MANUAL_PART_WorkQueue
  1091. REGISTER_MANUAL_PART_WorkQueue(WorkQueue, "WorkQueue")
  1092. #endif
  1093. RegisterSubclass<Object, WorkQueue>(engine, "Object", "WorkQueue");
  1094. RegisterSubclass<RefCounted, WorkQueue>(engine, "RefCounted", "WorkQueue");
  1095. // int WindowModeParams::height_ | File: ../Graphics/Graphics.h
  1096. engine->RegisterObjectProperty("WindowModeParams", "int height", offsetof(WindowModeParams, height_));
  1097. // ScreenModeParams WindowModeParams::screenParams_ | File: ../Graphics/Graphics.h
  1098. engine->RegisterObjectProperty("WindowModeParams", "ScreenModeParams screenParams", offsetof(WindowModeParams, screenParams_));
  1099. // int WindowModeParams::width_ | File: ../Graphics/Graphics.h
  1100. engine->RegisterObjectProperty("WindowModeParams", "int width", offsetof(WindowModeParams, width_));
  1101. // WindowModeParams::~WindowModeParams() | Implicitly-declared
  1102. engine->RegisterObjectBehaviour("WindowModeParams", asBEHAVE_DESTRUCT, "void f()", asFUNCTION(WindowModeParams_Destructor), asCALL_CDECL_OBJFIRST);
  1103. // WindowModeParams& WindowModeParams::operator=(const WindowModeParams&) | Possible implicitly-declared
  1104. RegisterImplicitlyDeclaredAssignOperatorIfPossible<WindowModeParams>(engine, "WindowModeParams");
  1105. #ifdef REGISTER_MANUAL_PART_WindowModeParams
  1106. REGISTER_MANUAL_PART_WindowModeParams(WindowModeParams, "WindowModeParams")
  1107. #endif
  1108. }
  1109. }