white_gold 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/ext/dll/tgui.dll +0 -0
  3. data/ext/so/libtgui.so +0 -0
  4. data/lib/white_gold/abi/extern_object.rb +6 -1
  5. data/lib/white_gold/abi/unpacker.rb +4 -2
  6. data/lib/white_gold/convention/bang_nest.rb +12 -2
  7. data/lib/white_gold/convention/bang_nested_caller.rb +34 -34
  8. data/lib/white_gold/convention/container_widgets.rb +29 -24
  9. data/lib/white_gold/convention/page.rb +20 -2
  10. data/lib/white_gold/convention/theme/text_styles_attribute.rb +7 -2
  11. data/lib/white_gold/convention/theme/theme_attributed.rb +1 -1
  12. data/lib/white_gold/convention/tree_node.rb +43 -0
  13. data/lib/white_gold/convention/widget_like.rb +0 -6
  14. data/lib/white_gold/dsl/backend_gui.rb +1 -0
  15. data/lib/white_gold/dsl/canvas.rb +40 -0
  16. data/lib/white_gold/dsl/chat_box.rb +1 -1
  17. data/lib/white_gold/dsl/child_window.rb +1 -1
  18. data/lib/white_gold/dsl/color.rb +5 -2
  19. data/lib/white_gold/dsl/combo_box.rb +2 -2
  20. data/lib/white_gold/dsl/container.rb +17 -11
  21. data/lib/white_gold/dsl/font.rb +5 -1
  22. data/lib/white_gold/dsl/grid.rb +3 -3
  23. data/lib/white_gold/dsl/list_box.rb +7 -11
  24. data/lib/white_gold/dsl/list_view.rb +6 -6
  25. data/lib/white_gold/dsl/menu_bar.rb +5 -48
  26. data/lib/white_gold/dsl/message_box.rb +2 -2
  27. data/lib/white_gold/dsl/panel_list_box.rb +3 -3
  28. data/lib/white_gold/dsl/sfml/circle_shape.rb +7 -0
  29. data/lib/white_gold/dsl/sfml/convex_shape.rb +15 -0
  30. data/lib/white_gold/dsl/sfml/rectangle_shape.rb +7 -0
  31. data/lib/white_gold/dsl/sfml/shape.rb +19 -0
  32. data/lib/white_gold/dsl/sfml/text.rb +22 -0
  33. data/lib/white_gold/dsl/signal/global_signal.rb +1 -1
  34. data/lib/white_gold/dsl/signal/signal.rb +1 -1
  35. data/lib/white_gold/dsl/signal/signal_animation_type.rb +1 -1
  36. data/lib/white_gold/dsl/signal/signal_bool.rb +1 -1
  37. data/lib/white_gold/dsl/signal/signal_color.rb +1 -1
  38. data/lib/white_gold/dsl/signal/signal_float.rb +1 -1
  39. data/lib/white_gold/dsl/signal/signal_int.rb +1 -1
  40. data/lib/white_gold/dsl/signal/signal_pointer.rb +1 -1
  41. data/lib/white_gold/dsl/signal/signal_range.rb +1 -1
  42. data/lib/white_gold/dsl/signal/signal_show_effect.rb +1 -1
  43. data/lib/white_gold/dsl/signal/signal_string.rb +1 -1
  44. data/lib/white_gold/dsl/signal/signal_u_int.rb +1 -1
  45. data/lib/white_gold/dsl/signal/signal_vector2f.rb +1 -1
  46. data/lib/white_gold/dsl/tab_container.rb +2 -2
  47. data/lib/white_gold/dsl/tabs.rb +2 -2
  48. data/lib/white_gold/dsl/theme.rb +1 -1
  49. data/lib/white_gold/dsl/tree_view.rb +21 -33
  50. data/lib/white_gold/dsl/widget.rb +71 -38
  51. data/lib/white_gold/generated/tgui-abi-loader.gf.rb +197 -47
  52. data/lib/white_gold/master.rb +21 -40
  53. data/lib/white_gold/tgui-abi.rb +16 -16
  54. data/lib/white_gold/version.rb +3 -0
  55. data/lib/white_gold.rb +29 -28
  56. metadata +16 -5
@@ -59,8 +59,11 @@ module Tgui
59
59
  extern 'void ABI_BackendGui_restoreOverrideMouseCursor(BackendGui* self)'
60
60
  extern 'void ABI_BackendGui_mapPixelToCoords(BackendGui* self, int x, int y, void(*f)(float, float))'
61
61
  extern 'void ABI_BackendGui_mapCoordsToPixel(BackendGui* self, float x, float y, void(*f)(float, float))'
62
+ extern 'void ABI_BackendGui_setKeyboardNavigationEnabled(BackendGui* self, int enabled)'
63
+ extern 'int ABI_BackendGui_isKeyboardNavigationEnabled(BackendGui* self)'
62
64
  extern 'void* ABI_BackendGui_onViewChange(BackendGui* self)'
63
65
  extern 'void* ABI_Font_new(char * id)'
66
+ extern 'void* ABI_STATIC_Font_getGlobalFont()'
64
67
  extern 'void* ABI_Gui_new(sf::RenderWindow* window)'
65
68
  extern 'int ABI_Gui_isActive(Gui* self)'
66
69
  extern 'void ABI_Gui_pollEvents(Gui* self)'
@@ -116,6 +119,8 @@ module Tgui
116
119
  extern 'void* ABI_Widget_getToolTip(Widget::Ptr* self)'
117
120
  extern 'void ABI_Widget_setMouseCursor(Widget::Ptr* self, int cursor)'
118
121
  extern 'int ABI_Widget_getMouseCursor(Widget::Ptr* self)'
122
+ extern 'void ABI_Widget_setNavigation(Widget::Ptr* self, Widget::Ptr* that, int direction)'
123
+ extern 'void* ABI_Widget_getNavigation(Widget::Ptr* self, int direction)'
119
124
  extern 'int ABI_Widget_isMouseDown(Widget::Ptr* self)'
120
125
  extern 'void ABI_Widget_showWithEffect(Widget::Ptr* self, int effect, int duration)'
121
126
  extern 'void ABI_Widget_hideWithEffect(Widget::Ptr* self, int effect, int duration)'
@@ -135,6 +140,8 @@ module Tgui
135
140
  extern 'void ABI_Widget_scrolled(Widget::Ptr* self, float delta, float x, float y, int touch)'
136
141
  extern 'void ABI_Widget_askToolTip(Widget::Ptr* self, float x, float y)'
137
142
  extern 'void ABI_Widget_setWidgetName(Widget::Ptr* self, char * name)'
143
+ extern 'void ABI_Widget_setAutoLayout(Widget::Ptr* self, int autoLayout)'
144
+ extern 'int ABI_Widget_getAutoLayout(Widget::Ptr* self)'
138
145
  extern 'void* ABI_Widget_getWidgetName(Widget::Ptr* self)'
139
146
  extern 'void* ABI_Widget_onPositionChange(Widget::Ptr* self)'
140
147
  extern 'void* ABI_Widget_onSizeChange(Widget::Ptr* self)'
@@ -278,7 +285,7 @@ module Tgui
278
285
  extern 'int ABI_Container_getWidgetIndex(Container::Ptr* self, Widget::Ptr* widget)'
279
286
  extern 'void* ABI_Container_getFocusedChild(Container::Ptr* self)'
280
287
  extern 'void* ABI_Container_getFocusedLeaf(Container::Ptr* self)'
281
- extern 'void* ABI_Container_getWidgetAtPosition(Container::Ptr* self, float x, float y)'
288
+ extern 'void* ABI_Container_getWidgetAtPos(Container::Ptr* self, float x, float y, int recursive)'
282
289
  extern 'int ABI_Container_focusNextWidget(Container::Ptr* self, int recursive)'
283
290
  extern 'int ABI_Container_focusPreviousWidget(Container::Ptr* self, int recursive)'
284
291
  extern 'void* ABI_ChildWindow_new()'
@@ -759,6 +766,7 @@ module Tgui
759
766
  extern 'int ABI_STATIC_ToolTip_getShowOnDisabledWidget()'
760
767
  extern 'void* ABI_TreeView_new()'
761
768
  extern 'int ABI_TreeView_addItem(TreeView::Ptr* self, int hierarchySize, char*(*f)(void), int createParents)'
769
+ extern 'int ABI_TreeView_changeItem(TreeView::Ptr* self, int hierarchySize, char*(*f)(void), char* leafText)'
762
770
  extern 'void ABI_TreeView_expand(TreeView::Ptr* self, int hierarchySize, char*(*f)(void))'
763
771
  extern 'void ABI_TreeView_expandAll(TreeView::Ptr* self)'
764
772
  extern 'void ABI_TreeView_collapse(TreeView::Ptr* self, int hierarchySize, char*(*f)(void))'
@@ -795,6 +803,64 @@ module Tgui
795
803
  extern 'int ABI_Scrollbar_getVerticalScroll(Scrollbar::Ptr* self)'
796
804
  extern 'float ABI_Scrollbar_getDefaultWidth(Scrollbar::Ptr* self)'
797
805
  extern 'void* ABI_Scrollbar_onValueChange(Scrollbar::Ptr* self)'
806
+ extern 'void* ABI_Canvas_new()'
807
+ extern 'void ABI_Canvas_clear(CanvasSFML::Ptr* self, Color* color)'
808
+ extern 'void ABI_Canvas_draw(CanvasSFML::Ptr* self, sf::Drawable* drawable)'
809
+ extern 'void ABI_Canvas_display(CanvasSFML::Ptr* self)'
810
+ extern 'void ABI_Shape_setTexture(sf::Shape* self, Texture* texture)'
811
+ extern 'void* ABI_Shape_getTexture(sf::Shape* self)'
812
+ extern 'void ABI_Shape_setFillColor(sf::Shape* self, Color* color)'
813
+ extern 'void* ABI_Shape_getFillColor(sf::Shape* self)'
814
+ extern 'void ABI_Shape_setOutlineColor(sf::Shape* self, Color* color)'
815
+ extern 'void* ABI_Shape_getOutlineColor(sf::Shape* self)'
816
+ extern 'void ABI_Shape_setOutlineThickness(sf::Shape* self, float thickness)'
817
+ extern 'float ABI_Shape_getOutlineThickness(sf::Shape* self)'
818
+ extern 'void ABI_Shape_setPosition(sf::Shape* self, float x, float y)'
819
+ extern 'void* ABI_Shape_getPosition(sf::Shape* self)'
820
+ extern 'void ABI_Shape_setRotation(sf::Shape* self, float angle)'
821
+ extern 'float ABI_Shape_getRotation(sf::Shape* self)'
822
+ extern 'void ABI_Shape_setScale(sf::Shape* self, float factorX, float factorY)'
823
+ extern 'void* ABI_Shape_getScale(sf::Shape* self)'
824
+ extern 'void ABI_Shape_setOrigin(sf::Shape* self, float x, float y)'
825
+ extern 'void* ABI_Shape_getOrigin(sf::Shape* self)'
826
+ extern 'int ABI_CircleShape_getPointCount(sf::CircleShape* self)'
827
+ extern 'void* ABI_CircleShape_new()'
828
+ extern 'void ABI_CircleShape_setRadius(sf::CircleShape* self, float radius)'
829
+ extern 'float ABI_CircleShape_getRadius(sf::CircleShape* self)'
830
+ extern 'void ABI_CircleShape_setPointCount(sf::CircleShape* self, int pointCount)'
831
+ extern 'void* ABI_RectangleShape_new()'
832
+ extern 'void ABI_RectangleShape_setSize(sf::RectangleShape* self, float width, float height)'
833
+ extern 'void* ABI_RectangleShape_getSize(sf::RectangleShape* self)'
834
+ extern 'void* ABI_ConvexShape_new()'
835
+ extern 'void ABI_ConvexShape_setPoint(sf::ConvexShape* self, int index, float x, float y)'
836
+ extern 'void ABI_ConvexShape_setPointCount(sf::ConvexShape* self, int pointCount)'
837
+ extern 'void* ABI_Text_new()'
838
+ extern 'void ABI_Text_setString(sf::Text* self, char* string)'
839
+ extern 'void* ABI_Text_getString(sf::Text* self)'
840
+ extern 'void ABI_Text_setFont(sf::Text* self, Font* font)'
841
+ extern 'void ABI_Text_setCharacterSize(sf::Text* self, int size)'
842
+ extern 'int ABI_Text_getCharacterSize(sf::Text* self)'
843
+ extern 'void ABI_Text_setLineSpacing(sf::Text* self, float spacing)'
844
+ extern 'float ABI_Text_getLineSpacing(sf::Text* self)'
845
+ extern 'void ABI_Text_setLetterSpacing(sf::Text* self, float spacing)'
846
+ extern 'float ABI_Text_getLetterSpacing(sf::Text* self)'
847
+ extern 'void ABI_Text_setStyle(sf::Text* self, int style)'
848
+ extern 'int ABI_Text_getStyle(sf::Text* self)'
849
+ extern 'void ABI_Text_setFillColor(sf::Text* self, Color* color)'
850
+ extern 'void* ABI_Text_getFillColor(sf::Text* self)'
851
+ extern 'void ABI_Text_setOutlineColor(sf::Text* self, Color* color)'
852
+ extern 'void* ABI_Text_getOutlineColor(sf::Text* self)'
853
+ extern 'void ABI_Text_setOutlineThickness(sf::Text* self, float thickness)'
854
+ extern 'float ABI_Text_getOutlineThickness(sf::Text* self)'
855
+ extern 'void ABI_Text_setPosition(sf::Text* self, float x, float y)'
856
+ extern 'void* ABI_Text_getPosition(sf::Text* self)'
857
+ extern 'void ABI_Text_setRotation(sf::Text* self, float angle)'
858
+ extern 'float ABI_Text_getRotation(sf::Text* self)'
859
+ extern 'void ABI_Text_setScale(sf::Text* self, float factorX, float factorY)'
860
+ extern 'void* ABI_Text_getScale(sf::Text* self)'
861
+ extern 'void ABI_Text_setOrigin(sf::Text* self, float x, float y)'
862
+ extern 'void* ABI_Text_getOrigin(sf::Text* self)'
863
+ extern 'void* ABI_Text_findCharacterPos(sf::Text* self, int index)'
798
864
  end
799
865
 
800
866
  class Util
@@ -802,7 +868,7 @@ module Tgui
802
868
  end
803
869
 
804
870
  class Color
805
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Color_new(*a)); initialized(); end
871
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Color_new(*a)); end
806
872
  def _abi_get_red(*a); Abi.call_arg_map! a; Abi.ABI_Color_get_red(@pointer, *a); end
807
873
  def _abi_get_green(*a); Abi.call_arg_map! a; Abi.ABI_Color_get_green(@pointer, *a); end
808
874
  def _abi_get_blue(*a); Abi.call_arg_map! a; Abi.ABI_Color_get_blue(@pointer, *a); end
@@ -811,7 +877,7 @@ module Tgui
811
877
  end
812
878
 
813
879
  class Outline
814
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Outline_new(*a)); initialized(); end
880
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Outline_new(*a)); end
815
881
  def _abi_get_left(*a); Abi.call_arg_map! a; Abi.ABI_Outline_getLeft(@pointer, *a); end
816
882
  def _abi_get_right(*a); Abi.call_arg_map! a; Abi.ABI_Outline_getRight(@pointer, *a); end
817
883
  def _abi_get_top(*a); Abi.call_arg_map! a; Abi.ABI_Outline_getTop(@pointer, *a); end
@@ -891,7 +957,7 @@ module Tgui
891
957
  end
892
958
 
893
959
  class Window
894
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Window_new(*a)); initialized(); end
960
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Window_new(*a)); end
895
961
  def _abi_close(*a); Abi.call_arg_map! a; Abi.ABI_Window_close(@pointer, *a); end
896
962
  def _abi_is_open(*a); Abi.call_arg_map! a; Abi.ABI_Window_isOpen(@pointer, *a); end
897
963
  def _abi_set_title(*a); Abi.call_arg_map! a; Abi.ABI_Window_setTitle(@pointer, *a); end
@@ -917,15 +983,18 @@ module Tgui
917
983
  def _abi_restore_override_mouse_cursor(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_restoreOverrideMouseCursor(@pointer, *a); end
918
984
  def _abi_map_pixel_to_coords(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_mapPixelToCoords(@pointer, *a); end
919
985
  def _abi_map_coords_to_pixel(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_mapCoordsToPixel(@pointer, *a); end
986
+ def _abi_set_keyboard_navigation_enabled(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_setKeyboardNavigationEnabled(@pointer, *a); end
987
+ def _abi_is_keyboard_navigation_enabled(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_isKeyboardNavigationEnabled(@pointer, *a); end
920
988
  def _abi_on_view_change(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_onViewChange(@pointer, *a); end
921
989
  end
922
990
 
923
991
  class Font
924
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Font_new(*a)); initialized(); end
992
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Font_new(*a)); end
993
+ def self._abi_get_global_font(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_Font_getGlobalFont(*a); end
925
994
  end
926
995
 
927
996
  class Gui
928
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Gui_new(*a)); initialized(); end
997
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Gui_new(*a)); end
929
998
  def _abi_is_active(*a); Abi.call_arg_map! a; Abi.ABI_Gui_isActive(@pointer, *a); end
930
999
  def _abi_poll_events(*a); Abi.call_arg_map! a; Abi.ABI_Gui_pollEvents(@pointer, *a); end
931
1000
  def _abi_draw(*a); Abi.call_arg_map! a; Abi.ABI_Gui_draw(@pointer, *a); end
@@ -948,7 +1017,7 @@ module Tgui
948
1017
  end
949
1018
 
950
1019
  class Texture
951
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Texture_new(*a)); initialized(); end
1020
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Texture_new(*a)); end
952
1021
  def _abi_get_id(*a); Abi.call_arg_map! a; Abi.ABI_Texture_getId(@pointer, *a); end
953
1022
  def _abi_get_image_size(*a); Abi.call_arg_map! a; Abi.ABI_Texture_getImageSize(@pointer, *a); end
954
1023
  def _abi_get_part_rect(*a); Abi.call_arg_map! a; Abi.ABI_Texture_getPartRect(@pointer, *a); end
@@ -989,6 +1058,8 @@ module Tgui
989
1058
  def _abi_get_tool_tip(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getToolTip(@pointer, *a); end
990
1059
  def _abi_set_mouse_cursor(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setMouseCursor(@pointer, *a); end
991
1060
  def _abi_get_mouse_cursor(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getMouseCursor(@pointer, *a); end
1061
+ def _abi_set_navigation(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setNavigation(@pointer, *a); end
1062
+ def _abi_get_navigation(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getNavigation(@pointer, *a); end
992
1063
  def _abi_is_mouse_down(*a); Abi.call_arg_map! a; Abi.ABI_Widget_isMouseDown(@pointer, *a); end
993
1064
  def _abi_show_with_effect(*a); Abi.call_arg_map! a; Abi.ABI_Widget_showWithEffect(@pointer, *a); end
994
1065
  def _abi_hide_with_effect(*a); Abi.call_arg_map! a; Abi.ABI_Widget_hideWithEffect(@pointer, *a); end
@@ -1008,6 +1079,8 @@ module Tgui
1008
1079
  def _abi_scrolled(*a); Abi.call_arg_map! a; Abi.ABI_Widget_scrolled(@pointer, *a); end
1009
1080
  def _abi_ask_tool_tip(*a); Abi.call_arg_map! a; Abi.ABI_Widget_askToolTip(@pointer, *a); end
1010
1081
  def _abi_set_widget_name(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setWidgetName(@pointer, *a); end
1082
+ def _abi_set_auto_layout(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setAutoLayout(@pointer, *a); end
1083
+ def _abi_get_auto_layout(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getAutoLayout(@pointer, *a); end
1011
1084
  def _abi_get_widget_name(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getWidgetName(@pointer, *a); end
1012
1085
  def _abi_on_position_change(*a); Abi.call_arg_map! a; Abi.ABI_Widget_onPositionChange(@pointer, *a); end
1013
1086
  def _abi_on_size_change(*a); Abi.call_arg_map! a; Abi.ABI_Widget_onSizeChange(@pointer, *a); end
@@ -1051,12 +1124,12 @@ module Tgui
1051
1124
  end
1052
1125
 
1053
1126
  class Button
1054
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Button_new(*a)); initialized(); end
1127
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Button_new(*a)); end
1055
1128
  def _abi_on_press(*a); Abi.call_arg_map! a; Abi.ABI_Button_onPress(@pointer, *a); end
1056
1129
  end
1057
1130
 
1058
1131
  class BitmapButton
1059
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_BitmapButton_new(*a)); initialized(); end
1132
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_BitmapButton_new(*a)); end
1060
1133
  def _abi_set_image(*a); Abi.call_arg_map! a; Abi.ABI_BitmapButton_setImage(@pointer, *a); end
1061
1134
  def _abi_get_image(*a); Abi.call_arg_map! a; Abi.ABI_BitmapButton_getImage(@pointer, *a); end
1062
1135
  def _abi_set_image_scaling(*a); Abi.call_arg_map! a; Abi.ABI_BitmapButton_setImageScaling(@pointer, *a); end
@@ -1064,7 +1137,7 @@ module Tgui
1064
1137
  end
1065
1138
 
1066
1139
  class EditBox
1067
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_EditBox_new(*a)); initialized(); end
1140
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_EditBox_new(*a)); end
1068
1141
  def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_EditBox_setText(@pointer, *a); end
1069
1142
  def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_EditBox_getText(@pointer, *a); end
1070
1143
  def _abi_set_default_text(*a); Abi.call_arg_map! a; Abi.ABI_EditBox_setDefaultText(@pointer, *a); end
@@ -1092,7 +1165,7 @@ module Tgui
1092
1165
  end
1093
1166
 
1094
1167
  class Label
1095
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Label_new(*a)); initialized(); end
1168
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Label_new(*a)); end
1096
1169
  def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_Label_setText(@pointer, *a); end
1097
1170
  def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_Label_getText(@pointer, *a); end
1098
1171
  def _abi_set_horizontal_alignment(*a); Abi.call_arg_map! a; Abi.ABI_Label_setHorizontalAlignment(@pointer, *a); end
@@ -1112,7 +1185,7 @@ module Tgui
1112
1185
  end
1113
1186
 
1114
1187
  class RadioButton
1115
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButton_new(*a)); initialized(); end
1188
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButton_new(*a)); end
1116
1189
  def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_RadioButton_setText(@pointer, *a); end
1117
1190
  def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_RadioButton_getText(@pointer, *a); end
1118
1191
  def _abi_set_checked(*a); Abi.call_arg_map! a; Abi.ABI_RadioButton_setChecked(@pointer, *a); end
@@ -1125,11 +1198,11 @@ module Tgui
1125
1198
  end
1126
1199
 
1127
1200
  class CheckBox
1128
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CheckBox_new(*a)); initialized(); end
1201
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CheckBox_new(*a)); end
1129
1202
  end
1130
1203
 
1131
1204
  class Knob
1132
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Knob_new(*a)); initialized(); end
1205
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Knob_new(*a)); end
1133
1206
  def _abi_set_start_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Knob_setStartRotation(@pointer, *a); end
1134
1207
  def _abi_get_start_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Knob_getStartRotation(@pointer, *a); end
1135
1208
  def _abi_set_end_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Knob_setEndRotation(@pointer, *a); end
@@ -1146,7 +1219,7 @@ module Tgui
1146
1219
  end
1147
1220
 
1148
1221
  class ChatBox
1149
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChatBox_new(*a)); initialized(); end
1222
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChatBox_new(*a)); end
1150
1223
  def _abi_add_line(*a); Abi.call_arg_map! a; Abi.ABI_ChatBox_addLine(@pointer, *a); end
1151
1224
  def _abi_get_line(*a); Abi.call_arg_map! a; Abi.ABI_ChatBox_getLine(@pointer, *a); end
1152
1225
  def _abi_get_line_color(*a); Abi.call_arg_map! a; Abi.ABI_ChatBox_getLineColor(@pointer, *a); end
@@ -1184,13 +1257,13 @@ module Tgui
1184
1257
  def _abi_get_widget_index(*a); Abi.call_arg_map! a; Abi.ABI_Container_getWidgetIndex(@pointer, *a); end
1185
1258
  def _abi_get_focused_child(*a); Abi.call_arg_map! a; Abi.ABI_Container_getFocusedChild(@pointer, *a); end
1186
1259
  def _abi_get_focused_leaf(*a); Abi.call_arg_map! a; Abi.ABI_Container_getFocusedLeaf(@pointer, *a); end
1187
- def _abi_get_widget_at_position(*a); Abi.call_arg_map! a; Abi.ABI_Container_getWidgetAtPosition(@pointer, *a); end
1260
+ def _abi_get_widget_at_pos(*a); Abi.call_arg_map! a; Abi.ABI_Container_getWidgetAtPos(@pointer, *a); end
1188
1261
  def _abi_focus_next_widget(*a); Abi.call_arg_map! a; Abi.ABI_Container_focusNextWidget(@pointer, *a); end
1189
1262
  def _abi_focus_previous_widget(*a); Abi.call_arg_map! a; Abi.ABI_Container_focusPreviousWidget(@pointer, *a); end
1190
1263
  end
1191
1264
 
1192
1265
  class ChildWindow
1193
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChildWindow_new(*a)); initialized(); end
1266
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChildWindow_new(*a)); end
1194
1267
  def _abi_set_client_size(*a); Abi.call_arg_map! a; Abi.ABI_ChildWindow_setClientSize(@pointer, *a); end
1195
1268
  def _abi_get_client_size(*a); Abi.call_arg_map! a; Abi.ABI_ChildWindow_getClientSize(@pointer, *a); end
1196
1269
  def _abi_set_maximum_size(*a); Abi.call_arg_map! a; Abi.ABI_ChildWindow_setMaximumSize(@pointer, *a); end
@@ -1222,7 +1295,7 @@ module Tgui
1222
1295
  end
1223
1296
 
1224
1297
  class Group
1225
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Group_new(*a)); initialized(); end
1298
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Group_new(*a)); end
1226
1299
  end
1227
1300
 
1228
1301
  class BoxLayout
@@ -1241,25 +1314,25 @@ module Tgui
1241
1314
  end
1242
1315
 
1243
1316
  class HorizontalLayout
1244
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalLayout_new(*a)); initialized(); end
1317
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalLayout_new(*a)); end
1245
1318
  end
1246
1319
 
1247
1320
  class VerticalLayout
1248
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_VerticalLayout_new(*a)); initialized(); end
1321
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_VerticalLayout_new(*a)); end
1249
1322
  end
1250
1323
 
1251
1324
  class HorizontalWrap
1252
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalWrap_new(*a)); initialized(); end
1325
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalWrap_new(*a)); end
1253
1326
  end
1254
1327
 
1255
1328
  class RadioButtonGroup
1256
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButtonGroup_new(*a)); initialized(); end
1329
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButtonGroup_new(*a)); end
1257
1330
  def _abi_uncheck_radio_buttons(*a); Abi.call_arg_map! a; Abi.ABI_RadioButtonGroup_uncheckRadioButtons(@pointer, *a); end
1258
1331
  def _abi_get_checked_radio_button(*a); Abi.call_arg_map! a; Abi.ABI_RadioButtonGroup_getCheckedRadioButton(@pointer, *a); end
1259
1332
  end
1260
1333
 
1261
1334
  class Panel
1262
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Panel_new(*a)); initialized(); end
1335
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Panel_new(*a)); end
1263
1336
  def _abi_on_mouse_press(*a); Abi.call_arg_map! a; Abi.ABI_Panel_onMousePress(@pointer, *a); end
1264
1337
  def _abi_on_mouse_release(*a); Abi.call_arg_map! a; Abi.ABI_Panel_onMouseRelease(@pointer, *a); end
1265
1338
  def _abi_on_click(*a); Abi.call_arg_map! a; Abi.ABI_Panel_onClick(@pointer, *a); end
@@ -1270,7 +1343,7 @@ module Tgui
1270
1343
  end
1271
1344
 
1272
1345
  class ScrollablePanel
1273
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ScrollablePanel_new(*a)); initialized(); end
1346
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ScrollablePanel_new(*a)); end
1274
1347
  def _abi_set_content_size(*a); Abi.call_arg_map! a; Abi.ABI_ScrollablePanel_setContentSize(@pointer, *a); end
1275
1348
  def _abi_get_content_size(*a); Abi.call_arg_map! a; Abi.ABI_ScrollablePanel_getContentSize(@pointer, *a); end
1276
1349
  def _abi_get_content_offset(*a); Abi.call_arg_map! a; Abi.ABI_ScrollablePanel_getContentOffset(@pointer, *a); end
@@ -1290,7 +1363,7 @@ module Tgui
1290
1363
  end
1291
1364
 
1292
1365
  class Grid
1293
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Grid_new(*a)); initialized(); end
1366
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Grid_new(*a)); end
1294
1367
  def _abi_set_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Grid_setAutoSize(@pointer, *a); end
1295
1368
  def _abi_is_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Grid_isAutoSize(@pointer, *a); end
1296
1369
  def _abi_set_widget_cell(*a); Abi.call_arg_map! a; Abi.ABI_Grid_setWidgetCell(@pointer, *a); end
@@ -1303,7 +1376,7 @@ module Tgui
1303
1376
  end
1304
1377
 
1305
1378
  class ListBox
1306
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListBox_new(*a)); initialized(); end
1379
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListBox_new(*a)); end
1307
1380
  def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_ListBox_addItem(@pointer, *a); end
1308
1381
  def _abi_set_selected_item(*a); Abi.call_arg_map! a; Abi.ABI_ListBox_setSelectedItem(@pointer, *a); end
1309
1382
  def _abi_set_selected_item_by_id(*a); Abi.call_arg_map! a; Abi.ABI_ListBox_setSelectedItemById(@pointer, *a); end
@@ -1346,7 +1419,7 @@ module Tgui
1346
1419
  end
1347
1420
 
1348
1421
  class ListView
1349
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListView_new(*a)); initialized(); end
1422
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListView_new(*a)); end
1350
1423
  def _abi_add_column(*a); Abi.call_arg_map! a; Abi.ABI_ListView_addColumn(@pointer, *a); end
1351
1424
  def _abi_set_column_text(*a); Abi.call_arg_map! a; Abi.ABI_ListView_setColumnText(@pointer, *a); end
1352
1425
  def _abi_get_column_text(*a); Abi.call_arg_map! a; Abi.ABI_ListView_getColumnText(@pointer, *a); end
@@ -1419,7 +1492,7 @@ module Tgui
1419
1492
  end
1420
1493
 
1421
1494
  class ComboBox
1422
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ComboBox_new(*a)); initialized(); end
1495
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ComboBox_new(*a)); end
1423
1496
  def _abi_set_items_to_display(*a); Abi.call_arg_map! a; Abi.ABI_ComboBox_setItemsToDisplay(@pointer, *a); end
1424
1497
  def _abi_get_items_to_display(*a); Abi.call_arg_map! a; Abi.ABI_ComboBox_getItemsToDisplay(@pointer, *a); end
1425
1498
  def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_ComboBox_addItem(@pointer, *a); end
@@ -1448,7 +1521,7 @@ module Tgui
1448
1521
  end
1449
1522
 
1450
1523
  class ColorPicker
1451
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ColorPicker_new(*a)); initialized(); end
1524
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ColorPicker_new(*a)); end
1452
1525
  def _abi_set_color(*a); Abi.call_arg_map! a; Abi.ABI_ColorPicker_setColor(@pointer, *a); end
1453
1526
  def _abi_get_color(*a); Abi.call_arg_map! a; Abi.ABI_ColorPicker_getColor(@pointer, *a); end
1454
1527
  def _abi_on_color_change(*a); Abi.call_arg_map! a; Abi.ABI_ColorPicker_onColorChange(@pointer, *a); end
@@ -1456,7 +1529,7 @@ module Tgui
1456
1529
  end
1457
1530
 
1458
1531
  class FileDialog
1459
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_FileDialog_new(*a)); initialized(); end
1532
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_FileDialog_new(*a)); end
1460
1533
  def _abi_get_selected_paths(*a); Abi.call_arg_map! a; Abi.ABI_FileDialog_getSelectedPaths(@pointer, *a); end
1461
1534
  def _abi_set_path(*a); Abi.call_arg_map! a; Abi.ABI_FileDialog_setPath(@pointer, *a); end
1462
1535
  def _abi_get_path(*a); Abi.call_arg_map! a; Abi.ABI_FileDialog_getPath(@pointer, *a); end
@@ -1488,7 +1561,7 @@ module Tgui
1488
1561
  end
1489
1562
 
1490
1563
  class MessageBox
1491
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MessageBox_new(*a)); initialized(); end
1564
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MessageBox_new(*a)); end
1492
1565
  def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_MessageBox_setText(@pointer, *a); end
1493
1566
  def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_MessageBox_getText(@pointer, *a); end
1494
1567
  def _abi_add_button(*a); Abi.call_arg_map! a; Abi.ABI_MessageBox_addButton(@pointer, *a); end
@@ -1502,14 +1575,14 @@ module Tgui
1502
1575
  end
1503
1576
 
1504
1577
  class Picture
1505
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Picture_new(*a)); initialized(); end
1578
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Picture_new(*a)); end
1506
1579
  def _abi_ignore_mouse_events(*a); Abi.call_arg_map! a; Abi.ABI_Picture_ignoreMouseEvents(@pointer, *a); end
1507
1580
  def _abi_is_ignoring_mouse_events(*a); Abi.call_arg_map! a; Abi.ABI_Picture_isIgnoringMouseEvents(@pointer, *a); end
1508
1581
  def _abi_on_double_click(*a); Abi.call_arg_map! a; Abi.ABI_Picture_onDoubleClick(@pointer, *a); end
1509
1582
  end
1510
1583
 
1511
1584
  class MenuBar
1512
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MenuBar_new(*a)); initialized(); end
1585
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MenuBar_new(*a)); end
1513
1586
  def _abi_add_menu(*a); Abi.call_arg_map! a; Abi.ABI_MenuBar_addMenu(@pointer, *a); end
1514
1587
  def _abi_connect_menu_item(*a); Abi.call_arg_map! a; Abi.ABI_MenuBar_connectMenuItem(@pointer, *a); end
1515
1588
  def _abi_add_menu_item(*a); Abi.call_arg_map! a; Abi.ABI_MenuBar_addMenuItem(@pointer, *a); end
@@ -1532,7 +1605,7 @@ module Tgui
1532
1605
  end
1533
1606
 
1534
1607
  class PanelListBox
1535
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_PanelListBox_new(*a)); initialized(); end
1608
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_PanelListBox_new(*a)); end
1536
1609
  def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_PanelListBox_addItem(@pointer, *a); end
1537
1610
  def _abi_get_panel_template(*a); Abi.call_arg_map! a; Abi.ABI_PanelListBox_getPanelTemplate(@pointer, *a); end
1538
1611
  def _abi_get_items_width(*a); Abi.call_arg_map! a; Abi.ABI_PanelListBox_getItemsWidth(@pointer, *a); end
@@ -1568,7 +1641,7 @@ module Tgui
1568
1641
  end
1569
1642
 
1570
1643
  class ProgressBar
1571
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ProgressBar_new(*a)); initialized(); end
1644
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ProgressBar_new(*a)); end
1572
1645
  def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_ProgressBar_setMinimum(@pointer, *a); end
1573
1646
  def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_ProgressBar_getMinimum(@pointer, *a); end
1574
1647
  def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_ProgressBar_setMaximum(@pointer, *a); end
@@ -1585,7 +1658,7 @@ module Tgui
1585
1658
  end
1586
1659
 
1587
1660
  class RangeSlider
1588
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RangeSlider_new(*a)); initialized(); end
1661
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RangeSlider_new(*a)); end
1589
1662
  def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_RangeSlider_setMinimum(@pointer, *a); end
1590
1663
  def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_RangeSlider_getMinimum(@pointer, *a); end
1591
1664
  def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_RangeSlider_setMaximum(@pointer, *a); end
@@ -1600,15 +1673,15 @@ module Tgui
1600
1673
  end
1601
1674
 
1602
1675
  class RichTextLabel
1603
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RichTextLabel_new(*a)); initialized(); end
1676
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RichTextLabel_new(*a)); end
1604
1677
  end
1605
1678
 
1606
1679
  class SeparatorLine
1607
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SeparatorLine_new(*a)); initialized(); end
1680
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SeparatorLine_new(*a)); end
1608
1681
  end
1609
1682
 
1610
1683
  class Slider
1611
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Slider_new(*a)); initialized(); end
1684
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Slider_new(*a)); end
1612
1685
  def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_Slider_setMinimum(@pointer, *a); end
1613
1686
  def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_Slider_getMinimum(@pointer, *a); end
1614
1687
  def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_Slider_setMaximum(@pointer, *a); end
@@ -1627,7 +1700,7 @@ module Tgui
1627
1700
  end
1628
1701
 
1629
1702
  class SpinButton
1630
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinButton_new(*a)); initialized(); end
1703
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinButton_new(*a)); end
1631
1704
  def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinButton_setMinimum(@pointer, *a); end
1632
1705
  def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinButton_getMinimum(@pointer, *a); end
1633
1706
  def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_SpinButton_setMaximum(@pointer, *a); end
@@ -1646,7 +1719,7 @@ module Tgui
1646
1719
  end
1647
1720
 
1648
1721
  class SpinControl
1649
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinControl_new(*a)); initialized(); end
1722
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinControl_new(*a)); end
1650
1723
  def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinControl_setMinimum(@pointer, *a); end
1651
1724
  def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinControl_getMinimum(@pointer, *a); end
1652
1725
  def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_SpinControl_setMaximum(@pointer, *a); end
@@ -1663,7 +1736,7 @@ module Tgui
1663
1736
  end
1664
1737
 
1665
1738
  class Tabs
1666
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Tabs_new(*a)); initialized(); end
1739
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Tabs_new(*a)); end
1667
1740
  def _abi_set_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Tabs_setAutoSize(@pointer, *a); end
1668
1741
  def _abi_get_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Tabs_getAutoSize(@pointer, *a); end
1669
1742
  def _abi_add(*a); Abi.call_arg_map! a; Abi.ABI_Tabs_add(@pointer, *a); end
@@ -1692,7 +1765,7 @@ module Tgui
1692
1765
  end
1693
1766
 
1694
1767
  class TabContainer
1695
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TabContainer_new(*a)); initialized(); end
1768
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TabContainer_new(*a)); end
1696
1769
  def _abi_set_tabs_height(*a); Abi.call_arg_map! a; Abi.ABI_TabContainer_setTabsHeight(@pointer, *a); end
1697
1770
  def _abi_add_tab(*a); Abi.call_arg_map! a; Abi.ABI_TabContainer_addTab(@pointer, *a); end
1698
1771
  def _abi_insert_tab(*a); Abi.call_arg_map! a; Abi.ABI_TabContainer_insertTab(@pointer, *a); end
@@ -1716,7 +1789,7 @@ module Tgui
1716
1789
  end
1717
1790
 
1718
1791
  class TextArea
1719
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TextArea_new(*a)); initialized(); end
1792
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TextArea_new(*a)); end
1720
1793
  def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_TextArea_setText(@pointer, *a); end
1721
1794
  def _abi_add_text(*a); Abi.call_arg_map! a; Abi.ABI_TextArea_addText(@pointer, *a); end
1722
1795
  def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_TextArea_getText(@pointer, *a); end
@@ -1752,7 +1825,7 @@ module Tgui
1752
1825
  end
1753
1826
 
1754
1827
  class ToggleButton
1755
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ToggleButton_new(*a)); initialized(); end
1828
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ToggleButton_new(*a)); end
1756
1829
  def _abi_set_down(*a); Abi.call_arg_map! a; Abi.ABI_ToggleButton_setDown(@pointer, *a); end
1757
1830
  def _abi_is_down(*a); Abi.call_arg_map! a; Abi.ABI_ToggleButton_isDown(@pointer, *a); end
1758
1831
  def _abi_on_toggle(*a); Abi.call_arg_map! a; Abi.ABI_ToggleButton_onToggle(@pointer, *a); end
@@ -1768,8 +1841,9 @@ module Tgui
1768
1841
  end
1769
1842
 
1770
1843
  class TreeView
1771
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TreeView_new(*a)); initialized(); end
1844
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TreeView_new(*a)); end
1772
1845
  def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_addItem(@pointer, *a); end
1846
+ def _abi_change_item(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_changeItem(@pointer, *a); end
1773
1847
  def _abi_expand(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_expand(@pointer, *a); end
1774
1848
  def _abi_expand_all(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_expandAll(@pointer, *a); end
1775
1849
  def _abi_collapse(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_collapse(@pointer, *a); end
@@ -1794,7 +1868,7 @@ module Tgui
1794
1868
  end
1795
1869
 
1796
1870
  class Scrollbar
1797
- def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Scrollbar_new(*a)); initialized(); end
1871
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Scrollbar_new(*a)); end
1798
1872
  def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_setMaximum(@pointer, *a); end
1799
1873
  def _abi_get_maximum(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_getMaximum(@pointer, *a); end
1800
1874
  def _abi_set_value(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_setValue(@pointer, *a); end
@@ -1810,4 +1884,80 @@ module Tgui
1810
1884
  def _abi_get_default_width(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_getDefaultWidth(@pointer, *a); end
1811
1885
  def _abi_on_value_change(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_onValueChange(@pointer, *a); end
1812
1886
  end
1887
+
1888
+ class Canvas
1889
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Canvas_new(*a)); end
1890
+ def _abi_clear(*a); Abi.call_arg_map! a; Abi.ABI_Canvas_clear(@pointer, *a); end
1891
+ def _abi_draw(*a); Abi.call_arg_map! a; Abi.ABI_Canvas_draw(@pointer, *a); end
1892
+ def _abi_display(*a); Abi.call_arg_map! a; Abi.ABI_Canvas_display(@pointer, *a); end
1893
+ end
1894
+
1895
+ class Shape
1896
+ def _abi_set_texture(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setTexture(@pointer, *a); end
1897
+ def _abi_get_texture(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getTexture(@pointer, *a); end
1898
+ def _abi_set_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setFillColor(@pointer, *a); end
1899
+ def _abi_get_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getFillColor(@pointer, *a); end
1900
+ def _abi_set_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setOutlineColor(@pointer, *a); end
1901
+ def _abi_get_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getOutlineColor(@pointer, *a); end
1902
+ def _abi_set_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setOutlineThickness(@pointer, *a); end
1903
+ def _abi_get_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getOutlineThickness(@pointer, *a); end
1904
+ def _abi_set_position(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setPosition(@pointer, *a); end
1905
+ def _abi_get_position(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getPosition(@pointer, *a); end
1906
+ def _abi_set_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setRotation(@pointer, *a); end
1907
+ def _abi_get_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getRotation(@pointer, *a); end
1908
+ def _abi_set_scale(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setScale(@pointer, *a); end
1909
+ def _abi_get_scale(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getScale(@pointer, *a); end
1910
+ def _abi_set_origin(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setOrigin(@pointer, *a); end
1911
+ def _abi_get_origin(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getOrigin(@pointer, *a); end
1912
+ end
1913
+
1914
+ class CircleShape
1915
+ def _abi_get_point_count(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_getPointCount(@pointer, *a); end
1916
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CircleShape_new(*a)); end
1917
+ def _abi_set_radius(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_setRadius(@pointer, *a); end
1918
+ def _abi_get_radius(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_getRadius(@pointer, *a); end
1919
+ def _abi_set_point_count(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_setPointCount(@pointer, *a); end
1920
+ end
1921
+
1922
+ class RectangleShape
1923
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RectangleShape_new(*a)); end
1924
+ def _abi_set_size(*a); Abi.call_arg_map! a; Abi.ABI_RectangleShape_setSize(@pointer, *a); end
1925
+ def _abi_get_size(*a); Abi.call_arg_map! a; Abi.ABI_RectangleShape_getSize(@pointer, *a); end
1926
+ end
1927
+
1928
+ class ConvexShape
1929
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ConvexShape_new(*a)); end
1930
+ def _abi_set_point(*a); Abi.call_arg_map! a; Abi.ABI_ConvexShape_setPoint(@pointer, *a); end
1931
+ def _abi_set_point_count(*a); Abi.call_arg_map! a; Abi.ABI_ConvexShape_setPointCount(@pointer, *a); end
1932
+ end
1933
+
1934
+ class Text
1935
+ def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Text_new(*a)); end
1936
+ def _abi_set_string(*a); Abi.call_arg_map! a; Abi.ABI_Text_setString(@pointer, *a); end
1937
+ def _abi_get_string(*a); Abi.call_arg_map! a; Abi.ABI_Text_getString(@pointer, *a); end
1938
+ def _abi_set_font(*a); Abi.call_arg_map! a; Abi.ABI_Text_setFont(@pointer, *a); end
1939
+ def _abi_set_character_size(*a); Abi.call_arg_map! a; Abi.ABI_Text_setCharacterSize(@pointer, *a); end
1940
+ def _abi_get_character_size(*a); Abi.call_arg_map! a; Abi.ABI_Text_getCharacterSize(@pointer, *a); end
1941
+ def _abi_set_line_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_setLineSpacing(@pointer, *a); end
1942
+ def _abi_get_line_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_getLineSpacing(@pointer, *a); end
1943
+ def _abi_set_letter_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_setLetterSpacing(@pointer, *a); end
1944
+ def _abi_get_letter_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_getLetterSpacing(@pointer, *a); end
1945
+ def _abi_set_style(*a); Abi.call_arg_map! a; Abi.ABI_Text_setStyle(@pointer, *a); end
1946
+ def _abi_get_style(*a); Abi.call_arg_map! a; Abi.ABI_Text_getStyle(@pointer, *a); end
1947
+ def _abi_set_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_setFillColor(@pointer, *a); end
1948
+ def _abi_get_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_getFillColor(@pointer, *a); end
1949
+ def _abi_set_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_setOutlineColor(@pointer, *a); end
1950
+ def _abi_get_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_getOutlineColor(@pointer, *a); end
1951
+ def _abi_set_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Text_setOutlineThickness(@pointer, *a); end
1952
+ def _abi_get_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Text_getOutlineThickness(@pointer, *a); end
1953
+ def _abi_set_position(*a); Abi.call_arg_map! a; Abi.ABI_Text_setPosition(@pointer, *a); end
1954
+ def _abi_get_position(*a); Abi.call_arg_map! a; Abi.ABI_Text_getPosition(@pointer, *a); end
1955
+ def _abi_set_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Text_setRotation(@pointer, *a); end
1956
+ def _abi_get_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Text_getRotation(@pointer, *a); end
1957
+ def _abi_set_scale(*a); Abi.call_arg_map! a; Abi.ABI_Text_setScale(@pointer, *a); end
1958
+ def _abi_get_scale(*a); Abi.call_arg_map! a; Abi.ABI_Text_getScale(@pointer, *a); end
1959
+ def _abi_set_origin(*a); Abi.call_arg_map! a; Abi.ABI_Text_setOrigin(@pointer, *a); end
1960
+ def _abi_get_origin(*a); Abi.call_arg_map! a; Abi.ABI_Text_getOrigin(@pointer, *a); end
1961
+ def _abi_find_character_pos(*a); Abi.call_arg_map! a; Abi.ABI_Text_findCharacterPos(@pointer, *a); end
1962
+ end
1813
1963
  end