white_gold 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/dll/tgui.dll +0 -0
- data/ext/so/libtgui.so +0 -0
- data/lib/white_gold/abi/enum.rb +1 -1
- data/lib/white_gold/abi/extern_object.rb +6 -1
- data/lib/white_gold/abi/interface/interface.rb +3 -7
- data/lib/white_gold/abi/unpacker.rb +4 -2
- data/lib/white_gold/convention/bang_def.rb +14 -0
- data/lib/white_gold/convention/bang_nest.rb +12 -2
- data/lib/white_gold/convention/bang_nested_caller.rb +65 -32
- data/lib/white_gold/convention/container_widgets.rb +61 -96
- data/lib/white_gold/convention/page.rb +28 -4
- data/lib/white_gold/convention/theme/boolean_attribute.rb +11 -9
- data/lib/white_gold/convention/theme/color_attribute.rb +11 -9
- data/lib/white_gold/convention/theme/float_attribute.rb +11 -9
- data/lib/white_gold/convention/theme/outline_attribute.rb +11 -9
- data/lib/white_gold/convention/theme/text_styles_attribute.rb +16 -9
- data/lib/white_gold/convention/theme/texture_attribute.rb +14 -12
- data/lib/white_gold/convention/theme/theme_attributed.rb +1 -1
- data/lib/white_gold/convention/theme/theme_component.rb +1 -1
- data/lib/white_gold/convention/theme_attributes.rb +6 -2
- data/lib/white_gold/convention/tree_node.rb +43 -0
- data/lib/white_gold/convention/widget/keyboard_control.rb +30 -0
- data/lib/white_gold/convention/widget_class_aliases.rb +24 -0
- data/lib/white_gold/convention/widget_like.rb +0 -6
- data/lib/white_gold/dsl/backend_gui.rb +1 -0
- data/lib/white_gold/dsl/canvas.rb +40 -0
- data/lib/white_gold/dsl/chat_box.rb +1 -1
- data/lib/white_gold/dsl/child_window.rb +1 -1
- data/lib/white_gold/dsl/color.rb +9 -4
- data/lib/white_gold/dsl/combo_box.rb +2 -2
- data/lib/white_gold/dsl/container.rb +18 -12
- data/lib/white_gold/dsl/custom_widget.rb +28 -0
- data/lib/white_gold/dsl/font.rb +5 -1
- data/lib/white_gold/dsl/grid.rb +37 -13
- data/lib/white_gold/dsl/gui.rb +10 -1
- data/lib/white_gold/dsl/label.rb +3 -0
- data/lib/white_gold/dsl/list_box.rb +7 -11
- data/lib/white_gold/dsl/list_view.rb +6 -6
- data/lib/white_gold/dsl/menu_bar.rb +5 -48
- data/lib/white_gold/dsl/message_box.rb +3 -3
- data/lib/white_gold/dsl/panel.rb +8 -0
- data/lib/white_gold/dsl/panel_list_box.rb +12 -3
- data/lib/white_gold/dsl/radio_button.rb +15 -2
- data/lib/white_gold/dsl/scrollable_panel.rb +7 -0
- data/lib/white_gold/dsl/sfml/circle_shape.rb +11 -0
- data/lib/white_gold/dsl/sfml/convex_shape.rb +19 -0
- data/lib/white_gold/dsl/sfml/rectangle_shape.rb +11 -0
- data/lib/white_gold/dsl/sfml/shape.rb +19 -0
- data/lib/white_gold/dsl/sfml/text.rb +26 -0
- data/lib/white_gold/dsl/signal/global_signal.rb +1 -1
- data/lib/white_gold/dsl/signal/signal.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_animation_type.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_bool.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_color.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_float.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_int.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_pointer.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_range.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_show_effect.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_string.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_u_int.rb +1 -1
- data/lib/white_gold/dsl/signal/signal_vector2f.rb +1 -1
- data/lib/white_gold/dsl/tab_container.rb +2 -2
- data/lib/white_gold/dsl/tabs.rb +2 -2
- data/lib/white_gold/dsl/theme.rb +2 -2
- data/lib/white_gold/dsl/toggle_button.rb +3 -0
- data/lib/white_gold/dsl/tree_view.rb +21 -33
- data/lib/white_gold/dsl/widget.rb +112 -49
- data/lib/white_gold/dsl/window.rb +7 -0
- data/lib/white_gold/generated/tgui-abi-loader.gf.rb +273 -48
- data/lib/white_gold/library/theme/light.rb +8 -1
- data/lib/white_gold/master.rb +43 -42
- data/lib/white_gold/path/array.path.rb +16 -0
- data/lib/white_gold/tgui-abi.rb +48 -38
- data/lib/white_gold/version.rb +3 -0
- data/lib/white_gold.rb +31 -28
- metadata +20 -6
- data/lib/white_gold/abi/reducer.rb +0 -12
@@ -36,10 +36,16 @@ module Tgui
|
|
36
36
|
extern 'int ABI_SignalTypedIntBoolPtr_connect(SignalTypedIntBoolPtr* self, void(*f)(int, bool*))'
|
37
37
|
extern 'int ABI_SignalTypedSizeT_connect(SignalTypedSizeT* self, void(*f)(int))'
|
38
38
|
extern 'int ABI_SignalPanelListBoxItem_connect(SignalPanelListBoxItem* self, void(*f)(const char32_t*))'
|
39
|
-
extern 'void* ABI_Window_new()'
|
39
|
+
extern 'void* ABI_Window_new(int width, int height, int style)'
|
40
40
|
extern 'void ABI_Window_close(sf::WindowBase* self)'
|
41
41
|
extern 'int ABI_Window_isOpen(sf::WindowBase* self)'
|
42
42
|
extern 'void ABI_Window_setTitle(sf::WindowBase* self, char* title)'
|
43
|
+
extern 'void ABI_Window_setSize(sf::WindowBase* self, int width, int height)'
|
44
|
+
extern 'void* ABI_Window_getSize(sf::WindowBase* self)'
|
45
|
+
extern 'void ABI_Window_setPosition(sf::WindowBase* self, int x, int y)'
|
46
|
+
extern 'void* ABI_Window_getPosition(sf::WindowBase* self)'
|
47
|
+
extern 'void ABI_Window_requestFocus(sf::WindowBase* self)'
|
48
|
+
extern 'int ABI_Window_hasFocus(sf::WindowBase* self)'
|
43
49
|
extern 'void ABI_BackendGui_setTextSize(BackendGui* self, int textSize)'
|
44
50
|
extern 'int ABI_BackendGui_getTextSize(BackendGui* self)'
|
45
51
|
extern 'void ABI_BackendGui_setAbsoluteView(BackendGui* self, int x, int y, int w, int h)'
|
@@ -59,8 +65,11 @@ module Tgui
|
|
59
65
|
extern 'void ABI_BackendGui_restoreOverrideMouseCursor(BackendGui* self)'
|
60
66
|
extern 'void ABI_BackendGui_mapPixelToCoords(BackendGui* self, int x, int y, void(*f)(float, float))'
|
61
67
|
extern 'void ABI_BackendGui_mapCoordsToPixel(BackendGui* self, float x, float y, void(*f)(float, float))'
|
68
|
+
extern 'void ABI_BackendGui_setKeyboardNavigationEnabled(BackendGui* self, int enabled)'
|
69
|
+
extern 'int ABI_BackendGui_isKeyboardNavigationEnabled(BackendGui* self)'
|
62
70
|
extern 'void* ABI_BackendGui_onViewChange(BackendGui* self)'
|
63
71
|
extern 'void* ABI_Font_new(char * id)'
|
72
|
+
extern 'void* ABI_STATIC_Font_getGlobalFont()'
|
64
73
|
extern 'void* ABI_Gui_new(sf::RenderWindow* window)'
|
65
74
|
extern 'int ABI_Gui_isActive(Gui* self)'
|
66
75
|
extern 'void ABI_Gui_pollEvents(Gui* self)'
|
@@ -73,6 +82,7 @@ module Tgui
|
|
73
82
|
extern 'void ABI_Gui_setClearColor(Gui* self, Color* color)'
|
74
83
|
extern 'void ABI_Gui_setClipboard(Gui* self, char* text)'
|
75
84
|
extern 'void* ABI_Gui_getClipboard(Gui* self)'
|
85
|
+
extern 'void* ABI_Gui_getScreenSize(Gui* self)'
|
76
86
|
extern 'void ABI_STATIC_Theme_setDefault(char* theme)'
|
77
87
|
extern 'void* ABI_STATIC_Theme_getDefault()'
|
78
88
|
extern 'void ABI_STATIC_Theme_finalizer(std::shared_ptr<Theme>* pointer)'
|
@@ -116,6 +126,8 @@ module Tgui
|
|
116
126
|
extern 'void* ABI_Widget_getToolTip(Widget::Ptr* self)'
|
117
127
|
extern 'void ABI_Widget_setMouseCursor(Widget::Ptr* self, int cursor)'
|
118
128
|
extern 'int ABI_Widget_getMouseCursor(Widget::Ptr* self)'
|
129
|
+
extern 'void ABI_Widget_setNavigation(Widget::Ptr* self, Widget::Ptr* that, int direction)'
|
130
|
+
extern 'void* ABI_Widget_getNavigation(Widget::Ptr* self, int direction)'
|
119
131
|
extern 'int ABI_Widget_isMouseDown(Widget::Ptr* self)'
|
120
132
|
extern 'void ABI_Widget_showWithEffect(Widget::Ptr* self, int effect, int duration)'
|
121
133
|
extern 'void ABI_Widget_hideWithEffect(Widget::Ptr* self, int effect, int duration)'
|
@@ -135,6 +147,8 @@ module Tgui
|
|
135
147
|
extern 'void ABI_Widget_scrolled(Widget::Ptr* self, float delta, float x, float y, int touch)'
|
136
148
|
extern 'void ABI_Widget_askToolTip(Widget::Ptr* self, float x, float y)'
|
137
149
|
extern 'void ABI_Widget_setWidgetName(Widget::Ptr* self, char * name)'
|
150
|
+
extern 'void ABI_Widget_setAutoLayout(Widget::Ptr* self, int autoLayout)'
|
151
|
+
extern 'int ABI_Widget_getAutoLayout(Widget::Ptr* self)'
|
138
152
|
extern 'void* ABI_Widget_getWidgetName(Widget::Ptr* self)'
|
139
153
|
extern 'void* ABI_Widget_onPositionChange(Widget::Ptr* self)'
|
140
154
|
extern 'void* ABI_Widget_onSizeChange(Widget::Ptr* self)'
|
@@ -278,7 +292,7 @@ module Tgui
|
|
278
292
|
extern 'int ABI_Container_getWidgetIndex(Container::Ptr* self, Widget::Ptr* widget)'
|
279
293
|
extern 'void* ABI_Container_getFocusedChild(Container::Ptr* self)'
|
280
294
|
extern 'void* ABI_Container_getFocusedLeaf(Container::Ptr* self)'
|
281
|
-
extern 'void*
|
295
|
+
extern 'void* ABI_Container_getWidgetAtPos(Container::Ptr* self, float x, float y, int recursive)'
|
282
296
|
extern 'int ABI_Container_focusNextWidget(Container::Ptr* self, int recursive)'
|
283
297
|
extern 'int ABI_Container_focusPreviousWidget(Container::Ptr* self, int recursive)'
|
284
298
|
extern 'void* ABI_ChildWindow_new()'
|
@@ -759,6 +773,7 @@ module Tgui
|
|
759
773
|
extern 'int ABI_STATIC_ToolTip_getShowOnDisabledWidget()'
|
760
774
|
extern 'void* ABI_TreeView_new()'
|
761
775
|
extern 'int ABI_TreeView_addItem(TreeView::Ptr* self, int hierarchySize, char*(*f)(void), int createParents)'
|
776
|
+
extern 'int ABI_TreeView_changeItem(TreeView::Ptr* self, int hierarchySize, char*(*f)(void), char* leafText)'
|
762
777
|
extern 'void ABI_TreeView_expand(TreeView::Ptr* self, int hierarchySize, char*(*f)(void))'
|
763
778
|
extern 'void ABI_TreeView_expandAll(TreeView::Ptr* self)'
|
764
779
|
extern 'void ABI_TreeView_collapse(TreeView::Ptr* self, int hierarchySize, char*(*f)(void))'
|
@@ -795,6 +810,93 @@ module Tgui
|
|
795
810
|
extern 'int ABI_Scrollbar_getVerticalScroll(Scrollbar::Ptr* self)'
|
796
811
|
extern 'float ABI_Scrollbar_getDefaultWidth(Scrollbar::Ptr* self)'
|
797
812
|
extern 'void* ABI_Scrollbar_onValueChange(Scrollbar::Ptr* self)'
|
813
|
+
extern 'void* ABI_Canvas_new()'
|
814
|
+
extern 'void ABI_Canvas_clear(CanvasSFML::Ptr* self, Color* color)'
|
815
|
+
extern 'void ABI_Canvas_draw(CanvasSFML::Ptr* self, sf::Drawable* drawable)'
|
816
|
+
extern 'void ABI_Canvas_display(CanvasSFML::Ptr* self)'
|
817
|
+
extern 'void ABI_Shape_setTexture(sf::Shape* self, Texture* texture)'
|
818
|
+
extern 'void* ABI_Shape_getTexture(sf::Shape* self)'
|
819
|
+
extern 'void ABI_Shape_setFillColor(sf::Shape* self, Color* color)'
|
820
|
+
extern 'void* ABI_Shape_getFillColor(sf::Shape* self)'
|
821
|
+
extern 'void ABI_Shape_setOutlineColor(sf::Shape* self, Color* color)'
|
822
|
+
extern 'void* ABI_Shape_getOutlineColor(sf::Shape* self)'
|
823
|
+
extern 'void ABI_Shape_setOutlineThickness(sf::Shape* self, float thickness)'
|
824
|
+
extern 'float ABI_Shape_getOutlineThickness(sf::Shape* self)'
|
825
|
+
extern 'void ABI_Shape_setPosition(sf::Shape* self, float x, float y)'
|
826
|
+
extern 'void* ABI_Shape_getPosition(sf::Shape* self)'
|
827
|
+
extern 'void ABI_Shape_setRotation(sf::Shape* self, float angle)'
|
828
|
+
extern 'float ABI_Shape_getRotation(sf::Shape* self)'
|
829
|
+
extern 'void ABI_Shape_setScale(sf::Shape* self, float factorX, float factorY)'
|
830
|
+
extern 'void* ABI_Shape_getScale(sf::Shape* self)'
|
831
|
+
extern 'void ABI_Shape_setOrigin(sf::Shape* self, float x, float y)'
|
832
|
+
extern 'void* ABI_Shape_getOrigin(sf::Shape* self)'
|
833
|
+
extern 'int ABI_CircleShape_getPointCount(sf::CircleShape* self)'
|
834
|
+
extern 'void* ABI_CircleShape_new()'
|
835
|
+
extern 'void ABI_STATIC_CircleShape_delete(sf::CircleShape* self)'
|
836
|
+
extern 'void ABI_CircleShape_setRadius(sf::CircleShape* self, float radius)'
|
837
|
+
extern 'float ABI_CircleShape_getRadius(sf::CircleShape* self)'
|
838
|
+
extern 'void ABI_CircleShape_setPointCount(sf::CircleShape* self, int pointCount)'
|
839
|
+
extern 'void* ABI_RectangleShape_new()'
|
840
|
+
extern 'void ABI_STATIC_RectangleShape_delete(sf::RectangleShape* self)'
|
841
|
+
extern 'void ABI_RectangleShape_setSize(sf::RectangleShape* self, float width, float height)'
|
842
|
+
extern 'void* ABI_RectangleShape_getSize(sf::RectangleShape* self)'
|
843
|
+
extern 'void* ABI_ConvexShape_new()'
|
844
|
+
extern 'void ABI_STATIC_ConvexShape_delete(sf::ConvexShape* self)'
|
845
|
+
extern 'void ABI_ConvexShape_setPoint(sf::ConvexShape* self, int index, float x, float y)'
|
846
|
+
extern 'void ABI_ConvexShape_setPointCount(sf::ConvexShape* self, int pointCount)'
|
847
|
+
extern 'void* ABI_Text_new()'
|
848
|
+
extern 'void ABI_STATIC_Text_delete(sf::Text* self)'
|
849
|
+
extern 'void ABI_Text_setString(sf::Text* self, char* string)'
|
850
|
+
extern 'void* ABI_Text_getString(sf::Text* self)'
|
851
|
+
extern 'void ABI_Text_setFont(sf::Text* self, Font* font)'
|
852
|
+
extern 'void ABI_Text_setCharacterSize(sf::Text* self, int size)'
|
853
|
+
extern 'int ABI_Text_getCharacterSize(sf::Text* self)'
|
854
|
+
extern 'void ABI_Text_setLineSpacing(sf::Text* self, float spacing)'
|
855
|
+
extern 'float ABI_Text_getLineSpacing(sf::Text* self)'
|
856
|
+
extern 'void ABI_Text_setLetterSpacing(sf::Text* self, float spacing)'
|
857
|
+
extern 'float ABI_Text_getLetterSpacing(sf::Text* self)'
|
858
|
+
extern 'void ABI_Text_setStyle(sf::Text* self, int style)'
|
859
|
+
extern 'int ABI_Text_getStyle(sf::Text* self)'
|
860
|
+
extern 'void ABI_Text_setFillColor(sf::Text* self, Color* color)'
|
861
|
+
extern 'void* ABI_Text_getFillColor(sf::Text* self)'
|
862
|
+
extern 'void ABI_Text_setOutlineColor(sf::Text* self, Color* color)'
|
863
|
+
extern 'void* ABI_Text_getOutlineColor(sf::Text* self)'
|
864
|
+
extern 'void ABI_Text_setOutlineThickness(sf::Text* self, float thickness)'
|
865
|
+
extern 'float ABI_Text_getOutlineThickness(sf::Text* self)'
|
866
|
+
extern 'void ABI_Text_setPosition(sf::Text* self, float x, float y)'
|
867
|
+
extern 'void* ABI_Text_getPosition(sf::Text* self)'
|
868
|
+
extern 'void ABI_Text_setRotation(sf::Text* self, float angle)'
|
869
|
+
extern 'float ABI_Text_getRotation(sf::Text* self)'
|
870
|
+
extern 'void ABI_Text_setScale(sf::Text* self, float factorX, float factorY)'
|
871
|
+
extern 'void* ABI_Text_getScale(sf::Text* self)'
|
872
|
+
extern 'void ABI_Text_setOrigin(sf::Text* self, float x, float y)'
|
873
|
+
extern 'void* ABI_Text_getOrigin(sf::Text* self)'
|
874
|
+
extern 'void* ABI_Text_findCharacterPos(sf::Text* self, int index)'
|
875
|
+
extern 'void* ABI_CustomWidget_new()'
|
876
|
+
extern 'void ABI_CustomWidget_implPositionChanged(CustomWidgetForBindings::Ptr* self, void(*f)(float x, float y))'
|
877
|
+
extern 'void ABI_CustomWidget_implSizeChanged(CustomWidgetForBindings::Ptr* self, void(*f)(float width, float height))'
|
878
|
+
extern 'void ABI_CustomWidget_implVisibleChanged(CustomWidgetForBindings::Ptr* self, void(*f)(int visible))'
|
879
|
+
extern 'void ABI_CustomWidget_implEnableChanged(CustomWidgetForBindings::Ptr* self, void(*f)(int enable))'
|
880
|
+
extern 'void ABI_CustomWidget_implFocusChanged(CustomWidgetForBindings::Ptr* self, void(*f)(int focus))'
|
881
|
+
extern 'void ABI_CustomWidget_implCanGainFocus(CustomWidgetForBindings::Ptr* self, int(*f)(void))'
|
882
|
+
extern 'void ABI_CustomWidget_implGetFullSize(CustomWidgetForBindings::Ptr* self, float(*f)(void))'
|
883
|
+
extern 'void ABI_CustomWidget_implGetWidgetOffset(CustomWidgetForBindings::Ptr* self, float(*f)(void))'
|
884
|
+
extern 'void ABI_CustomWidget_implUpdateTimeFunction(CustomWidgetForBindings::Ptr* self, int(*f)(int time))'
|
885
|
+
extern 'void ABI_CustomWidget_implMouseOnWidget(CustomWidgetForBindings::Ptr* self, int(*f)(float x, float y))'
|
886
|
+
extern 'void ABI_CustomWidget_implLeftMousePressed(CustomWidgetForBindings::Ptr* self, int(*f)(float x, float y))'
|
887
|
+
extern 'void ABI_CustomWidget_implLeftMouseReleased(CustomWidgetForBindings::Ptr* self, void(*f)(float x, float y))'
|
888
|
+
extern 'void ABI_CustomWidget_implRightMousePressed(CustomWidgetForBindings::Ptr* self, void(*f)(float x, float y))'
|
889
|
+
extern 'void ABI_CustomWidget_implRightMouseReleased(CustomWidgetForBindings::Ptr* self, void(*f)(float x, float y))'
|
890
|
+
extern 'void ABI_CustomWidget_implMouseMoved(CustomWidgetForBindings::Ptr* self, void(*f)(float x, float y))'
|
891
|
+
extern 'void ABI_CustomWidget_implKeyPressed(CustomWidgetForBindings::Ptr* self, void(*f)(int key, int alt, int control, int shift, int system))'
|
892
|
+
extern 'void ABI_CustomWidget_implTextEntered(CustomWidgetForBindings::Ptr* self, void(*f)(int character))'
|
893
|
+
extern 'void ABI_CustomWidget_implScrolled(CustomWidgetForBindings::Ptr* self, int(*f)(float delta, float x, float y, int touch))'
|
894
|
+
extern 'void ABI_CustomWidget_implMouseNoLongerOnWidget(CustomWidgetForBindings::Ptr* self, void(*f)(void))'
|
895
|
+
extern 'void ABI_CustomWidget_implLeftMouseButtonNoLongerDown(CustomWidgetForBindings::Ptr* self, void(*f)(void))'
|
896
|
+
extern 'void ABI_CustomWidget_implMouseEnteredWidget(CustomWidgetForBindings::Ptr* self, void(*f)(void))'
|
897
|
+
extern 'void ABI_CustomWidget_implMouseLeftWidget(CustomWidgetForBindings::Ptr* self, void(*f)(void))'
|
898
|
+
extern 'void ABI_CustomWidget_implRendererChanged(CustomWidgetForBindings::Ptr* self, int(*f)(const char32_t* property))'
|
899
|
+
extern 'void ABI_CustomWidget_implDrawFunction(CustomWidgetForBindings::Ptr* self, void(*f)(BackendRenderTarget* target, RenderStates* states))'
|
798
900
|
end
|
799
901
|
|
800
902
|
class Util
|
@@ -802,7 +904,7 @@ module Tgui
|
|
802
904
|
end
|
803
905
|
|
804
906
|
class Color
|
805
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Color_new(*a));
|
907
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Color_new(*a)); end
|
806
908
|
def _abi_get_red(*a); Abi.call_arg_map! a; Abi.ABI_Color_get_red(@pointer, *a); end
|
807
909
|
def _abi_get_green(*a); Abi.call_arg_map! a; Abi.ABI_Color_get_green(@pointer, *a); end
|
808
910
|
def _abi_get_blue(*a); Abi.call_arg_map! a; Abi.ABI_Color_get_blue(@pointer, *a); end
|
@@ -811,7 +913,7 @@ module Tgui
|
|
811
913
|
end
|
812
914
|
|
813
915
|
class Outline
|
814
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Outline_new(*a));
|
916
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Outline_new(*a)); end
|
815
917
|
def _abi_get_left(*a); Abi.call_arg_map! a; Abi.ABI_Outline_getLeft(@pointer, *a); end
|
816
918
|
def _abi_get_right(*a); Abi.call_arg_map! a; Abi.ABI_Outline_getRight(@pointer, *a); end
|
817
919
|
def _abi_get_top(*a); Abi.call_arg_map! a; Abi.ABI_Outline_getTop(@pointer, *a); end
|
@@ -891,10 +993,16 @@ module Tgui
|
|
891
993
|
end
|
892
994
|
|
893
995
|
class Window
|
894
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Window_new(*a));
|
996
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Window_new(*a)); end
|
895
997
|
def _abi_close(*a); Abi.call_arg_map! a; Abi.ABI_Window_close(@pointer, *a); end
|
896
998
|
def _abi_is_open(*a); Abi.call_arg_map! a; Abi.ABI_Window_isOpen(@pointer, *a); end
|
897
999
|
def _abi_set_title(*a); Abi.call_arg_map! a; Abi.ABI_Window_setTitle(@pointer, *a); end
|
1000
|
+
def _abi_set_size(*a); Abi.call_arg_map! a; Abi.ABI_Window_setSize(@pointer, *a); end
|
1001
|
+
def _abi_get_size(*a); Abi.call_arg_map! a; Abi.ABI_Window_getSize(@pointer, *a); end
|
1002
|
+
def _abi_set_position(*a); Abi.call_arg_map! a; Abi.ABI_Window_setPosition(@pointer, *a); end
|
1003
|
+
def _abi_get_position(*a); Abi.call_arg_map! a; Abi.ABI_Window_getPosition(@pointer, *a); end
|
1004
|
+
def _abi_request_focus(*a); Abi.call_arg_map! a; Abi.ABI_Window_requestFocus(@pointer, *a); end
|
1005
|
+
def _abi_has_focus(*a); Abi.call_arg_map! a; Abi.ABI_Window_hasFocus(@pointer, *a); end
|
898
1006
|
end
|
899
1007
|
|
900
1008
|
class BackendGui
|
@@ -917,15 +1025,18 @@ module Tgui
|
|
917
1025
|
def _abi_restore_override_mouse_cursor(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_restoreOverrideMouseCursor(@pointer, *a); end
|
918
1026
|
def _abi_map_pixel_to_coords(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_mapPixelToCoords(@pointer, *a); end
|
919
1027
|
def _abi_map_coords_to_pixel(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_mapCoordsToPixel(@pointer, *a); end
|
1028
|
+
def _abi_set_keyboard_navigation_enabled(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_setKeyboardNavigationEnabled(@pointer, *a); end
|
1029
|
+
def _abi_is_keyboard_navigation_enabled(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_isKeyboardNavigationEnabled(@pointer, *a); end
|
920
1030
|
def _abi_on_view_change(*a); Abi.call_arg_map! a; Abi.ABI_BackendGui_onViewChange(@pointer, *a); end
|
921
1031
|
end
|
922
1032
|
|
923
1033
|
class Font
|
924
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Font_new(*a));
|
1034
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Font_new(*a)); end
|
1035
|
+
def self._abi_get_global_font(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_Font_getGlobalFont(*a); end
|
925
1036
|
end
|
926
1037
|
|
927
1038
|
class Gui
|
928
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Gui_new(*a));
|
1039
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Gui_new(*a)); end
|
929
1040
|
def _abi_is_active(*a); Abi.call_arg_map! a; Abi.ABI_Gui_isActive(@pointer, *a); end
|
930
1041
|
def _abi_poll_events(*a); Abi.call_arg_map! a; Abi.ABI_Gui_pollEvents(@pointer, *a); end
|
931
1042
|
def _abi_draw(*a); Abi.call_arg_map! a; Abi.ABI_Gui_draw(@pointer, *a); end
|
@@ -937,6 +1048,7 @@ module Tgui
|
|
937
1048
|
def _abi_set_clear_color(*a); Abi.call_arg_map! a; Abi.ABI_Gui_setClearColor(@pointer, *a); end
|
938
1049
|
def _abi_set_clipboard(*a); Abi.call_arg_map! a; Abi.ABI_Gui_setClipboard(@pointer, *a); end
|
939
1050
|
def _abi_get_clipboard(*a); Abi.call_arg_map! a; Abi.ABI_Gui_getClipboard(@pointer, *a); end
|
1051
|
+
def _abi_get_screen_size(*a); Abi.call_arg_map! a; Abi.ABI_Gui_getScreenSize(@pointer, *a); end
|
940
1052
|
end
|
941
1053
|
|
942
1054
|
class Theme
|
@@ -948,7 +1060,7 @@ module Tgui
|
|
948
1060
|
end
|
949
1061
|
|
950
1062
|
class Texture
|
951
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Texture_new(*a));
|
1063
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Texture_new(*a)); end
|
952
1064
|
def _abi_get_id(*a); Abi.call_arg_map! a; Abi.ABI_Texture_getId(@pointer, *a); end
|
953
1065
|
def _abi_get_image_size(*a); Abi.call_arg_map! a; Abi.ABI_Texture_getImageSize(@pointer, *a); end
|
954
1066
|
def _abi_get_part_rect(*a); Abi.call_arg_map! a; Abi.ABI_Texture_getPartRect(@pointer, *a); end
|
@@ -989,6 +1101,8 @@ module Tgui
|
|
989
1101
|
def _abi_get_tool_tip(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getToolTip(@pointer, *a); end
|
990
1102
|
def _abi_set_mouse_cursor(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setMouseCursor(@pointer, *a); end
|
991
1103
|
def _abi_get_mouse_cursor(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getMouseCursor(@pointer, *a); end
|
1104
|
+
def _abi_set_navigation(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setNavigation(@pointer, *a); end
|
1105
|
+
def _abi_get_navigation(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getNavigation(@pointer, *a); end
|
992
1106
|
def _abi_is_mouse_down(*a); Abi.call_arg_map! a; Abi.ABI_Widget_isMouseDown(@pointer, *a); end
|
993
1107
|
def _abi_show_with_effect(*a); Abi.call_arg_map! a; Abi.ABI_Widget_showWithEffect(@pointer, *a); end
|
994
1108
|
def _abi_hide_with_effect(*a); Abi.call_arg_map! a; Abi.ABI_Widget_hideWithEffect(@pointer, *a); end
|
@@ -1008,6 +1122,8 @@ module Tgui
|
|
1008
1122
|
def _abi_scrolled(*a); Abi.call_arg_map! a; Abi.ABI_Widget_scrolled(@pointer, *a); end
|
1009
1123
|
def _abi_ask_tool_tip(*a); Abi.call_arg_map! a; Abi.ABI_Widget_askToolTip(@pointer, *a); end
|
1010
1124
|
def _abi_set_widget_name(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setWidgetName(@pointer, *a); end
|
1125
|
+
def _abi_set_auto_layout(*a); Abi.call_arg_map! a; Abi.ABI_Widget_setAutoLayout(@pointer, *a); end
|
1126
|
+
def _abi_get_auto_layout(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getAutoLayout(@pointer, *a); end
|
1011
1127
|
def _abi_get_widget_name(*a); Abi.call_arg_map! a; Abi.ABI_Widget_getWidgetName(@pointer, *a); end
|
1012
1128
|
def _abi_on_position_change(*a); Abi.call_arg_map! a; Abi.ABI_Widget_onPositionChange(@pointer, *a); end
|
1013
1129
|
def _abi_on_size_change(*a); Abi.call_arg_map! a; Abi.ABI_Widget_onSizeChange(@pointer, *a); end
|
@@ -1051,12 +1167,12 @@ module Tgui
|
|
1051
1167
|
end
|
1052
1168
|
|
1053
1169
|
class Button
|
1054
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Button_new(*a));
|
1170
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Button_new(*a)); end
|
1055
1171
|
def _abi_on_press(*a); Abi.call_arg_map! a; Abi.ABI_Button_onPress(@pointer, *a); end
|
1056
1172
|
end
|
1057
1173
|
|
1058
1174
|
class BitmapButton
|
1059
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_BitmapButton_new(*a));
|
1175
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_BitmapButton_new(*a)); end
|
1060
1176
|
def _abi_set_image(*a); Abi.call_arg_map! a; Abi.ABI_BitmapButton_setImage(@pointer, *a); end
|
1061
1177
|
def _abi_get_image(*a); Abi.call_arg_map! a; Abi.ABI_BitmapButton_getImage(@pointer, *a); end
|
1062
1178
|
def _abi_set_image_scaling(*a); Abi.call_arg_map! a; Abi.ABI_BitmapButton_setImageScaling(@pointer, *a); end
|
@@ -1064,7 +1180,7 @@ module Tgui
|
|
1064
1180
|
end
|
1065
1181
|
|
1066
1182
|
class EditBox
|
1067
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_EditBox_new(*a));
|
1183
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_EditBox_new(*a)); end
|
1068
1184
|
def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_EditBox_setText(@pointer, *a); end
|
1069
1185
|
def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_EditBox_getText(@pointer, *a); end
|
1070
1186
|
def _abi_set_default_text(*a); Abi.call_arg_map! a; Abi.ABI_EditBox_setDefaultText(@pointer, *a); end
|
@@ -1092,7 +1208,7 @@ module Tgui
|
|
1092
1208
|
end
|
1093
1209
|
|
1094
1210
|
class Label
|
1095
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Label_new(*a));
|
1211
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Label_new(*a)); end
|
1096
1212
|
def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_Label_setText(@pointer, *a); end
|
1097
1213
|
def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_Label_getText(@pointer, *a); end
|
1098
1214
|
def _abi_set_horizontal_alignment(*a); Abi.call_arg_map! a; Abi.ABI_Label_setHorizontalAlignment(@pointer, *a); end
|
@@ -1112,7 +1228,7 @@ module Tgui
|
|
1112
1228
|
end
|
1113
1229
|
|
1114
1230
|
class RadioButton
|
1115
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButton_new(*a));
|
1231
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButton_new(*a)); end
|
1116
1232
|
def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_RadioButton_setText(@pointer, *a); end
|
1117
1233
|
def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_RadioButton_getText(@pointer, *a); end
|
1118
1234
|
def _abi_set_checked(*a); Abi.call_arg_map! a; Abi.ABI_RadioButton_setChecked(@pointer, *a); end
|
@@ -1125,11 +1241,11 @@ module Tgui
|
|
1125
1241
|
end
|
1126
1242
|
|
1127
1243
|
class CheckBox
|
1128
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CheckBox_new(*a));
|
1244
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CheckBox_new(*a)); end
|
1129
1245
|
end
|
1130
1246
|
|
1131
1247
|
class Knob
|
1132
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Knob_new(*a));
|
1248
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Knob_new(*a)); end
|
1133
1249
|
def _abi_set_start_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Knob_setStartRotation(@pointer, *a); end
|
1134
1250
|
def _abi_get_start_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Knob_getStartRotation(@pointer, *a); end
|
1135
1251
|
def _abi_set_end_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Knob_setEndRotation(@pointer, *a); end
|
@@ -1146,7 +1262,7 @@ module Tgui
|
|
1146
1262
|
end
|
1147
1263
|
|
1148
1264
|
class ChatBox
|
1149
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChatBox_new(*a));
|
1265
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChatBox_new(*a)); end
|
1150
1266
|
def _abi_add_line(*a); Abi.call_arg_map! a; Abi.ABI_ChatBox_addLine(@pointer, *a); end
|
1151
1267
|
def _abi_get_line(*a); Abi.call_arg_map! a; Abi.ABI_ChatBox_getLine(@pointer, *a); end
|
1152
1268
|
def _abi_get_line_color(*a); Abi.call_arg_map! a; Abi.ABI_ChatBox_getLineColor(@pointer, *a); end
|
@@ -1184,13 +1300,13 @@ module Tgui
|
|
1184
1300
|
def _abi_get_widget_index(*a); Abi.call_arg_map! a; Abi.ABI_Container_getWidgetIndex(@pointer, *a); end
|
1185
1301
|
def _abi_get_focused_child(*a); Abi.call_arg_map! a; Abi.ABI_Container_getFocusedChild(@pointer, *a); end
|
1186
1302
|
def _abi_get_focused_leaf(*a); Abi.call_arg_map! a; Abi.ABI_Container_getFocusedLeaf(@pointer, *a); end
|
1187
|
-
def
|
1303
|
+
def _abi_get_widget_at_pos(*a); Abi.call_arg_map! a; Abi.ABI_Container_getWidgetAtPos(@pointer, *a); end
|
1188
1304
|
def _abi_focus_next_widget(*a); Abi.call_arg_map! a; Abi.ABI_Container_focusNextWidget(@pointer, *a); end
|
1189
1305
|
def _abi_focus_previous_widget(*a); Abi.call_arg_map! a; Abi.ABI_Container_focusPreviousWidget(@pointer, *a); end
|
1190
1306
|
end
|
1191
1307
|
|
1192
1308
|
class ChildWindow
|
1193
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChildWindow_new(*a));
|
1309
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ChildWindow_new(*a)); end
|
1194
1310
|
def _abi_set_client_size(*a); Abi.call_arg_map! a; Abi.ABI_ChildWindow_setClientSize(@pointer, *a); end
|
1195
1311
|
def _abi_get_client_size(*a); Abi.call_arg_map! a; Abi.ABI_ChildWindow_getClientSize(@pointer, *a); end
|
1196
1312
|
def _abi_set_maximum_size(*a); Abi.call_arg_map! a; Abi.ABI_ChildWindow_setMaximumSize(@pointer, *a); end
|
@@ -1222,7 +1338,7 @@ module Tgui
|
|
1222
1338
|
end
|
1223
1339
|
|
1224
1340
|
class Group
|
1225
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Group_new(*a));
|
1341
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Group_new(*a)); end
|
1226
1342
|
end
|
1227
1343
|
|
1228
1344
|
class BoxLayout
|
@@ -1241,25 +1357,25 @@ module Tgui
|
|
1241
1357
|
end
|
1242
1358
|
|
1243
1359
|
class HorizontalLayout
|
1244
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalLayout_new(*a));
|
1360
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalLayout_new(*a)); end
|
1245
1361
|
end
|
1246
1362
|
|
1247
1363
|
class VerticalLayout
|
1248
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_VerticalLayout_new(*a));
|
1364
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_VerticalLayout_new(*a)); end
|
1249
1365
|
end
|
1250
1366
|
|
1251
1367
|
class HorizontalWrap
|
1252
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalWrap_new(*a));
|
1368
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_HorizontalWrap_new(*a)); end
|
1253
1369
|
end
|
1254
1370
|
|
1255
1371
|
class RadioButtonGroup
|
1256
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButtonGroup_new(*a));
|
1372
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RadioButtonGroup_new(*a)); end
|
1257
1373
|
def _abi_uncheck_radio_buttons(*a); Abi.call_arg_map! a; Abi.ABI_RadioButtonGroup_uncheckRadioButtons(@pointer, *a); end
|
1258
1374
|
def _abi_get_checked_radio_button(*a); Abi.call_arg_map! a; Abi.ABI_RadioButtonGroup_getCheckedRadioButton(@pointer, *a); end
|
1259
1375
|
end
|
1260
1376
|
|
1261
1377
|
class Panel
|
1262
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Panel_new(*a));
|
1378
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Panel_new(*a)); end
|
1263
1379
|
def _abi_on_mouse_press(*a); Abi.call_arg_map! a; Abi.ABI_Panel_onMousePress(@pointer, *a); end
|
1264
1380
|
def _abi_on_mouse_release(*a); Abi.call_arg_map! a; Abi.ABI_Panel_onMouseRelease(@pointer, *a); end
|
1265
1381
|
def _abi_on_click(*a); Abi.call_arg_map! a; Abi.ABI_Panel_onClick(@pointer, *a); end
|
@@ -1270,7 +1386,7 @@ module Tgui
|
|
1270
1386
|
end
|
1271
1387
|
|
1272
1388
|
class ScrollablePanel
|
1273
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ScrollablePanel_new(*a));
|
1389
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ScrollablePanel_new(*a)); end
|
1274
1390
|
def _abi_set_content_size(*a); Abi.call_arg_map! a; Abi.ABI_ScrollablePanel_setContentSize(@pointer, *a); end
|
1275
1391
|
def _abi_get_content_size(*a); Abi.call_arg_map! a; Abi.ABI_ScrollablePanel_getContentSize(@pointer, *a); end
|
1276
1392
|
def _abi_get_content_offset(*a); Abi.call_arg_map! a; Abi.ABI_ScrollablePanel_getContentOffset(@pointer, *a); end
|
@@ -1290,7 +1406,7 @@ module Tgui
|
|
1290
1406
|
end
|
1291
1407
|
|
1292
1408
|
class Grid
|
1293
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Grid_new(*a));
|
1409
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Grid_new(*a)); end
|
1294
1410
|
def _abi_set_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Grid_setAutoSize(@pointer, *a); end
|
1295
1411
|
def _abi_is_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Grid_isAutoSize(@pointer, *a); end
|
1296
1412
|
def _abi_set_widget_cell(*a); Abi.call_arg_map! a; Abi.ABI_Grid_setWidgetCell(@pointer, *a); end
|
@@ -1303,7 +1419,7 @@ module Tgui
|
|
1303
1419
|
end
|
1304
1420
|
|
1305
1421
|
class ListBox
|
1306
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListBox_new(*a));
|
1422
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListBox_new(*a)); end
|
1307
1423
|
def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_ListBox_addItem(@pointer, *a); end
|
1308
1424
|
def _abi_set_selected_item(*a); Abi.call_arg_map! a; Abi.ABI_ListBox_setSelectedItem(@pointer, *a); end
|
1309
1425
|
def _abi_set_selected_item_by_id(*a); Abi.call_arg_map! a; Abi.ABI_ListBox_setSelectedItemById(@pointer, *a); end
|
@@ -1346,7 +1462,7 @@ module Tgui
|
|
1346
1462
|
end
|
1347
1463
|
|
1348
1464
|
class ListView
|
1349
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListView_new(*a));
|
1465
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ListView_new(*a)); end
|
1350
1466
|
def _abi_add_column(*a); Abi.call_arg_map! a; Abi.ABI_ListView_addColumn(@pointer, *a); end
|
1351
1467
|
def _abi_set_column_text(*a); Abi.call_arg_map! a; Abi.ABI_ListView_setColumnText(@pointer, *a); end
|
1352
1468
|
def _abi_get_column_text(*a); Abi.call_arg_map! a; Abi.ABI_ListView_getColumnText(@pointer, *a); end
|
@@ -1419,7 +1535,7 @@ module Tgui
|
|
1419
1535
|
end
|
1420
1536
|
|
1421
1537
|
class ComboBox
|
1422
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ComboBox_new(*a));
|
1538
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ComboBox_new(*a)); end
|
1423
1539
|
def _abi_set_items_to_display(*a); Abi.call_arg_map! a; Abi.ABI_ComboBox_setItemsToDisplay(@pointer, *a); end
|
1424
1540
|
def _abi_get_items_to_display(*a); Abi.call_arg_map! a; Abi.ABI_ComboBox_getItemsToDisplay(@pointer, *a); end
|
1425
1541
|
def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_ComboBox_addItem(@pointer, *a); end
|
@@ -1448,7 +1564,7 @@ module Tgui
|
|
1448
1564
|
end
|
1449
1565
|
|
1450
1566
|
class ColorPicker
|
1451
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ColorPicker_new(*a));
|
1567
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ColorPicker_new(*a)); end
|
1452
1568
|
def _abi_set_color(*a); Abi.call_arg_map! a; Abi.ABI_ColorPicker_setColor(@pointer, *a); end
|
1453
1569
|
def _abi_get_color(*a); Abi.call_arg_map! a; Abi.ABI_ColorPicker_getColor(@pointer, *a); end
|
1454
1570
|
def _abi_on_color_change(*a); Abi.call_arg_map! a; Abi.ABI_ColorPicker_onColorChange(@pointer, *a); end
|
@@ -1456,7 +1572,7 @@ module Tgui
|
|
1456
1572
|
end
|
1457
1573
|
|
1458
1574
|
class FileDialog
|
1459
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_FileDialog_new(*a));
|
1575
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_FileDialog_new(*a)); end
|
1460
1576
|
def _abi_get_selected_paths(*a); Abi.call_arg_map! a; Abi.ABI_FileDialog_getSelectedPaths(@pointer, *a); end
|
1461
1577
|
def _abi_set_path(*a); Abi.call_arg_map! a; Abi.ABI_FileDialog_setPath(@pointer, *a); end
|
1462
1578
|
def _abi_get_path(*a); Abi.call_arg_map! a; Abi.ABI_FileDialog_getPath(@pointer, *a); end
|
@@ -1488,7 +1604,7 @@ module Tgui
|
|
1488
1604
|
end
|
1489
1605
|
|
1490
1606
|
class MessageBox
|
1491
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MessageBox_new(*a));
|
1607
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MessageBox_new(*a)); end
|
1492
1608
|
def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_MessageBox_setText(@pointer, *a); end
|
1493
1609
|
def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_MessageBox_getText(@pointer, *a); end
|
1494
1610
|
def _abi_add_button(*a); Abi.call_arg_map! a; Abi.ABI_MessageBox_addButton(@pointer, *a); end
|
@@ -1502,14 +1618,14 @@ module Tgui
|
|
1502
1618
|
end
|
1503
1619
|
|
1504
1620
|
class Picture
|
1505
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Picture_new(*a));
|
1621
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Picture_new(*a)); end
|
1506
1622
|
def _abi_ignore_mouse_events(*a); Abi.call_arg_map! a; Abi.ABI_Picture_ignoreMouseEvents(@pointer, *a); end
|
1507
1623
|
def _abi_is_ignoring_mouse_events(*a); Abi.call_arg_map! a; Abi.ABI_Picture_isIgnoringMouseEvents(@pointer, *a); end
|
1508
1624
|
def _abi_on_double_click(*a); Abi.call_arg_map! a; Abi.ABI_Picture_onDoubleClick(@pointer, *a); end
|
1509
1625
|
end
|
1510
1626
|
|
1511
1627
|
class MenuBar
|
1512
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MenuBar_new(*a));
|
1628
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_MenuBar_new(*a)); end
|
1513
1629
|
def _abi_add_menu(*a); Abi.call_arg_map! a; Abi.ABI_MenuBar_addMenu(@pointer, *a); end
|
1514
1630
|
def _abi_connect_menu_item(*a); Abi.call_arg_map! a; Abi.ABI_MenuBar_connectMenuItem(@pointer, *a); end
|
1515
1631
|
def _abi_add_menu_item(*a); Abi.call_arg_map! a; Abi.ABI_MenuBar_addMenuItem(@pointer, *a); end
|
@@ -1532,7 +1648,7 @@ module Tgui
|
|
1532
1648
|
end
|
1533
1649
|
|
1534
1650
|
class PanelListBox
|
1535
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_PanelListBox_new(*a));
|
1651
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_PanelListBox_new(*a)); end
|
1536
1652
|
def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_PanelListBox_addItem(@pointer, *a); end
|
1537
1653
|
def _abi_get_panel_template(*a); Abi.call_arg_map! a; Abi.ABI_PanelListBox_getPanelTemplate(@pointer, *a); end
|
1538
1654
|
def _abi_get_items_width(*a); Abi.call_arg_map! a; Abi.ABI_PanelListBox_getItemsWidth(@pointer, *a); end
|
@@ -1568,7 +1684,7 @@ module Tgui
|
|
1568
1684
|
end
|
1569
1685
|
|
1570
1686
|
class ProgressBar
|
1571
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ProgressBar_new(*a));
|
1687
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ProgressBar_new(*a)); end
|
1572
1688
|
def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_ProgressBar_setMinimum(@pointer, *a); end
|
1573
1689
|
def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_ProgressBar_getMinimum(@pointer, *a); end
|
1574
1690
|
def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_ProgressBar_setMaximum(@pointer, *a); end
|
@@ -1585,7 +1701,7 @@ module Tgui
|
|
1585
1701
|
end
|
1586
1702
|
|
1587
1703
|
class RangeSlider
|
1588
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RangeSlider_new(*a));
|
1704
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RangeSlider_new(*a)); end
|
1589
1705
|
def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_RangeSlider_setMinimum(@pointer, *a); end
|
1590
1706
|
def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_RangeSlider_getMinimum(@pointer, *a); end
|
1591
1707
|
def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_RangeSlider_setMaximum(@pointer, *a); end
|
@@ -1600,15 +1716,15 @@ module Tgui
|
|
1600
1716
|
end
|
1601
1717
|
|
1602
1718
|
class RichTextLabel
|
1603
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RichTextLabel_new(*a));
|
1719
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RichTextLabel_new(*a)); end
|
1604
1720
|
end
|
1605
1721
|
|
1606
1722
|
class SeparatorLine
|
1607
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SeparatorLine_new(*a));
|
1723
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SeparatorLine_new(*a)); end
|
1608
1724
|
end
|
1609
1725
|
|
1610
1726
|
class Slider
|
1611
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Slider_new(*a));
|
1727
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Slider_new(*a)); end
|
1612
1728
|
def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_Slider_setMinimum(@pointer, *a); end
|
1613
1729
|
def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_Slider_getMinimum(@pointer, *a); end
|
1614
1730
|
def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_Slider_setMaximum(@pointer, *a); end
|
@@ -1627,7 +1743,7 @@ module Tgui
|
|
1627
1743
|
end
|
1628
1744
|
|
1629
1745
|
class SpinButton
|
1630
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinButton_new(*a));
|
1746
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinButton_new(*a)); end
|
1631
1747
|
def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinButton_setMinimum(@pointer, *a); end
|
1632
1748
|
def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinButton_getMinimum(@pointer, *a); end
|
1633
1749
|
def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_SpinButton_setMaximum(@pointer, *a); end
|
@@ -1646,7 +1762,7 @@ module Tgui
|
|
1646
1762
|
end
|
1647
1763
|
|
1648
1764
|
class SpinControl
|
1649
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinControl_new(*a));
|
1765
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_SpinControl_new(*a)); end
|
1650
1766
|
def _abi_set_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinControl_setMinimum(@pointer, *a); end
|
1651
1767
|
def _abi_get_minimum(*a); Abi.call_arg_map! a; Abi.ABI_SpinControl_getMinimum(@pointer, *a); end
|
1652
1768
|
def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_SpinControl_setMaximum(@pointer, *a); end
|
@@ -1663,7 +1779,7 @@ module Tgui
|
|
1663
1779
|
end
|
1664
1780
|
|
1665
1781
|
class Tabs
|
1666
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Tabs_new(*a));
|
1782
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Tabs_new(*a)); end
|
1667
1783
|
def _abi_set_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Tabs_setAutoSize(@pointer, *a); end
|
1668
1784
|
def _abi_get_auto_size(*a); Abi.call_arg_map! a; Abi.ABI_Tabs_getAutoSize(@pointer, *a); end
|
1669
1785
|
def _abi_add(*a); Abi.call_arg_map! a; Abi.ABI_Tabs_add(@pointer, *a); end
|
@@ -1692,7 +1808,7 @@ module Tgui
|
|
1692
1808
|
end
|
1693
1809
|
|
1694
1810
|
class TabContainer
|
1695
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TabContainer_new(*a));
|
1811
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TabContainer_new(*a)); end
|
1696
1812
|
def _abi_set_tabs_height(*a); Abi.call_arg_map! a; Abi.ABI_TabContainer_setTabsHeight(@pointer, *a); end
|
1697
1813
|
def _abi_add_tab(*a); Abi.call_arg_map! a; Abi.ABI_TabContainer_addTab(@pointer, *a); end
|
1698
1814
|
def _abi_insert_tab(*a); Abi.call_arg_map! a; Abi.ABI_TabContainer_insertTab(@pointer, *a); end
|
@@ -1716,7 +1832,7 @@ module Tgui
|
|
1716
1832
|
end
|
1717
1833
|
|
1718
1834
|
class TextArea
|
1719
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TextArea_new(*a));
|
1835
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TextArea_new(*a)); end
|
1720
1836
|
def _abi_set_text(*a); Abi.call_arg_map! a; Abi.ABI_TextArea_setText(@pointer, *a); end
|
1721
1837
|
def _abi_add_text(*a); Abi.call_arg_map! a; Abi.ABI_TextArea_addText(@pointer, *a); end
|
1722
1838
|
def _abi_get_text(*a); Abi.call_arg_map! a; Abi.ABI_TextArea_getText(@pointer, *a); end
|
@@ -1752,7 +1868,7 @@ module Tgui
|
|
1752
1868
|
end
|
1753
1869
|
|
1754
1870
|
class ToggleButton
|
1755
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ToggleButton_new(*a));
|
1871
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ToggleButton_new(*a)); end
|
1756
1872
|
def _abi_set_down(*a); Abi.call_arg_map! a; Abi.ABI_ToggleButton_setDown(@pointer, *a); end
|
1757
1873
|
def _abi_is_down(*a); Abi.call_arg_map! a; Abi.ABI_ToggleButton_isDown(@pointer, *a); end
|
1758
1874
|
def _abi_on_toggle(*a); Abi.call_arg_map! a; Abi.ABI_ToggleButton_onToggle(@pointer, *a); end
|
@@ -1768,8 +1884,9 @@ module Tgui
|
|
1768
1884
|
end
|
1769
1885
|
|
1770
1886
|
class TreeView
|
1771
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TreeView_new(*a));
|
1887
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_TreeView_new(*a)); end
|
1772
1888
|
def _abi_add_item(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_addItem(@pointer, *a); end
|
1889
|
+
def _abi_change_item(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_changeItem(@pointer, *a); end
|
1773
1890
|
def _abi_expand(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_expand(@pointer, *a); end
|
1774
1891
|
def _abi_expand_all(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_expandAll(@pointer, *a); end
|
1775
1892
|
def _abi_collapse(*a); Abi.call_arg_map! a; Abi.ABI_TreeView_collapse(@pointer, *a); end
|
@@ -1794,7 +1911,7 @@ module Tgui
|
|
1794
1911
|
end
|
1795
1912
|
|
1796
1913
|
class Scrollbar
|
1797
|
-
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Scrollbar_new(*a));
|
1914
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Scrollbar_new(*a)); end
|
1798
1915
|
def _abi_set_maximum(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_setMaximum(@pointer, *a); end
|
1799
1916
|
def _abi_get_maximum(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_getMaximum(@pointer, *a); end
|
1800
1917
|
def _abi_set_value(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_setValue(@pointer, *a); end
|
@@ -1810,4 +1927,112 @@ module Tgui
|
|
1810
1927
|
def _abi_get_default_width(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_getDefaultWidth(@pointer, *a); end
|
1811
1928
|
def _abi_on_value_change(*a); Abi.call_arg_map! a; Abi.ABI_Scrollbar_onValueChange(@pointer, *a); end
|
1812
1929
|
end
|
1930
|
+
|
1931
|
+
class Canvas
|
1932
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Canvas_new(*a)); end
|
1933
|
+
def _abi_clear(*a); Abi.call_arg_map! a; Abi.ABI_Canvas_clear(@pointer, *a); end
|
1934
|
+
def _abi_draw(*a); Abi.call_arg_map! a; Abi.ABI_Canvas_draw(@pointer, *a); end
|
1935
|
+
def _abi_display(*a); Abi.call_arg_map! a; Abi.ABI_Canvas_display(@pointer, *a); end
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
class Shape
|
1939
|
+
def _abi_set_texture(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setTexture(@pointer, *a); end
|
1940
|
+
def _abi_get_texture(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getTexture(@pointer, *a); end
|
1941
|
+
def _abi_set_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setFillColor(@pointer, *a); end
|
1942
|
+
def _abi_get_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getFillColor(@pointer, *a); end
|
1943
|
+
def _abi_set_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setOutlineColor(@pointer, *a); end
|
1944
|
+
def _abi_get_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getOutlineColor(@pointer, *a); end
|
1945
|
+
def _abi_set_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setOutlineThickness(@pointer, *a); end
|
1946
|
+
def _abi_get_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getOutlineThickness(@pointer, *a); end
|
1947
|
+
def _abi_set_position(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setPosition(@pointer, *a); end
|
1948
|
+
def _abi_get_position(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getPosition(@pointer, *a); end
|
1949
|
+
def _abi_set_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setRotation(@pointer, *a); end
|
1950
|
+
def _abi_get_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getRotation(@pointer, *a); end
|
1951
|
+
def _abi_set_scale(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setScale(@pointer, *a); end
|
1952
|
+
def _abi_get_scale(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getScale(@pointer, *a); end
|
1953
|
+
def _abi_set_origin(*a); Abi.call_arg_map! a; Abi.ABI_Shape_setOrigin(@pointer, *a); end
|
1954
|
+
def _abi_get_origin(*a); Abi.call_arg_map! a; Abi.ABI_Shape_getOrigin(@pointer, *a); end
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
class CircleShape
|
1958
|
+
def _abi_get_point_count(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_getPointCount(@pointer, *a); end
|
1959
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CircleShape_new(*a)); end
|
1960
|
+
def self._abi_delete(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_CircleShape_delete(*a); end
|
1961
|
+
def _abi_set_radius(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_setRadius(@pointer, *a); end
|
1962
|
+
def _abi_get_radius(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_getRadius(@pointer, *a); end
|
1963
|
+
def _abi_set_point_count(*a); Abi.call_arg_map! a; Abi.ABI_CircleShape_setPointCount(@pointer, *a); end
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
class RectangleShape
|
1967
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_RectangleShape_new(*a)); end
|
1968
|
+
def self._abi_delete(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_RectangleShape_delete(*a); end
|
1969
|
+
def _abi_set_size(*a); Abi.call_arg_map! a; Abi.ABI_RectangleShape_setSize(@pointer, *a); end
|
1970
|
+
def _abi_get_size(*a); Abi.call_arg_map! a; Abi.ABI_RectangleShape_getSize(@pointer, *a); end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
class ConvexShape
|
1974
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_ConvexShape_new(*a)); end
|
1975
|
+
def self._abi_delete(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_ConvexShape_delete(*a); end
|
1976
|
+
def _abi_set_point(*a); Abi.call_arg_map! a; Abi.ABI_ConvexShape_setPoint(@pointer, *a); end
|
1977
|
+
def _abi_set_point_count(*a); Abi.call_arg_map! a; Abi.ABI_ConvexShape_setPointCount(@pointer, *a); end
|
1978
|
+
end
|
1979
|
+
|
1980
|
+
class Text
|
1981
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_Text_new(*a)); end
|
1982
|
+
def self._abi_delete(*a); Abi.call_arg_map! a; Abi.ABI_STATIC_Text_delete(*a); end
|
1983
|
+
def _abi_set_string(*a); Abi.call_arg_map! a; Abi.ABI_Text_setString(@pointer, *a); end
|
1984
|
+
def _abi_get_string(*a); Abi.call_arg_map! a; Abi.ABI_Text_getString(@pointer, *a); end
|
1985
|
+
def _abi_set_font(*a); Abi.call_arg_map! a; Abi.ABI_Text_setFont(@pointer, *a); end
|
1986
|
+
def _abi_set_character_size(*a); Abi.call_arg_map! a; Abi.ABI_Text_setCharacterSize(@pointer, *a); end
|
1987
|
+
def _abi_get_character_size(*a); Abi.call_arg_map! a; Abi.ABI_Text_getCharacterSize(@pointer, *a); end
|
1988
|
+
def _abi_set_line_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_setLineSpacing(@pointer, *a); end
|
1989
|
+
def _abi_get_line_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_getLineSpacing(@pointer, *a); end
|
1990
|
+
def _abi_set_letter_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_setLetterSpacing(@pointer, *a); end
|
1991
|
+
def _abi_get_letter_spacing(*a); Abi.call_arg_map! a; Abi.ABI_Text_getLetterSpacing(@pointer, *a); end
|
1992
|
+
def _abi_set_style(*a); Abi.call_arg_map! a; Abi.ABI_Text_setStyle(@pointer, *a); end
|
1993
|
+
def _abi_get_style(*a); Abi.call_arg_map! a; Abi.ABI_Text_getStyle(@pointer, *a); end
|
1994
|
+
def _abi_set_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_setFillColor(@pointer, *a); end
|
1995
|
+
def _abi_get_fill_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_getFillColor(@pointer, *a); end
|
1996
|
+
def _abi_set_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_setOutlineColor(@pointer, *a); end
|
1997
|
+
def _abi_get_outline_color(*a); Abi.call_arg_map! a; Abi.ABI_Text_getOutlineColor(@pointer, *a); end
|
1998
|
+
def _abi_set_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Text_setOutlineThickness(@pointer, *a); end
|
1999
|
+
def _abi_get_outline_thickness(*a); Abi.call_arg_map! a; Abi.ABI_Text_getOutlineThickness(@pointer, *a); end
|
2000
|
+
def _abi_set_position(*a); Abi.call_arg_map! a; Abi.ABI_Text_setPosition(@pointer, *a); end
|
2001
|
+
def _abi_get_position(*a); Abi.call_arg_map! a; Abi.ABI_Text_getPosition(@pointer, *a); end
|
2002
|
+
def _abi_set_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Text_setRotation(@pointer, *a); end
|
2003
|
+
def _abi_get_rotation(*a); Abi.call_arg_map! a; Abi.ABI_Text_getRotation(@pointer, *a); end
|
2004
|
+
def _abi_set_scale(*a); Abi.call_arg_map! a; Abi.ABI_Text_setScale(@pointer, *a); end
|
2005
|
+
def _abi_get_scale(*a); Abi.call_arg_map! a; Abi.ABI_Text_getScale(@pointer, *a); end
|
2006
|
+
def _abi_set_origin(*a); Abi.call_arg_map! a; Abi.ABI_Text_setOrigin(@pointer, *a); end
|
2007
|
+
def _abi_get_origin(*a); Abi.call_arg_map! a; Abi.ABI_Text_getOrigin(@pointer, *a); end
|
2008
|
+
def _abi_find_character_pos(*a); Abi.call_arg_map! a; Abi.ABI_Text_findCharacterPos(@pointer, *a); end
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
class CustomWidget
|
2012
|
+
def initialize(*a, pointer: nil); Abi.call_arg_map! a; super(pointer: pointer || Abi.ABI_CustomWidget_new(*a)); end
|
2013
|
+
def _abi_impl_position_changed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implPositionChanged(@pointer, *a); end
|
2014
|
+
def _abi_impl_size_changed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implSizeChanged(@pointer, *a); end
|
2015
|
+
def _abi_impl_visible_changed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implVisibleChanged(@pointer, *a); end
|
2016
|
+
def _abi_impl_enable_changed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implEnableChanged(@pointer, *a); end
|
2017
|
+
def _abi_impl_focus_changed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implFocusChanged(@pointer, *a); end
|
2018
|
+
def _abi_impl_can_gain_focus(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implCanGainFocus(@pointer, *a); end
|
2019
|
+
def _abi_impl_get_full_size(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implGetFullSize(@pointer, *a); end
|
2020
|
+
def _abi_impl_get_widget_offset(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implGetWidgetOffset(@pointer, *a); end
|
2021
|
+
def _abi_impl_update_time_function(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implUpdateTimeFunction(@pointer, *a); end
|
2022
|
+
def _abi_impl_mouse_on_widget(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implMouseOnWidget(@pointer, *a); end
|
2023
|
+
def _abi_impl_left_mouse_pressed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implLeftMousePressed(@pointer, *a); end
|
2024
|
+
def _abi_impl_left_mouse_released(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implLeftMouseReleased(@pointer, *a); end
|
2025
|
+
def _abi_impl_right_mouse_pressed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implRightMousePressed(@pointer, *a); end
|
2026
|
+
def _abi_impl_right_mouse_released(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implRightMouseReleased(@pointer, *a); end
|
2027
|
+
def _abi_impl_mouse_moved(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implMouseMoved(@pointer, *a); end
|
2028
|
+
def _abi_impl_key_pressed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implKeyPressed(@pointer, *a); end
|
2029
|
+
def _abi_impl_text_entered(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implTextEntered(@pointer, *a); end
|
2030
|
+
def _abi_impl_scrolled(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implScrolled(@pointer, *a); end
|
2031
|
+
def _abi_impl_mouse_no_longer_on_widget(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implMouseNoLongerOnWidget(@pointer, *a); end
|
2032
|
+
def _abi_impl_left_mouse_button_no_longer_down(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implLeftMouseButtonNoLongerDown(@pointer, *a); end
|
2033
|
+
def _abi_impl_mouse_entered_widget(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implMouseEnteredWidget(@pointer, *a); end
|
2034
|
+
def _abi_impl_mouse_left_widget(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implMouseLeftWidget(@pointer, *a); end
|
2035
|
+
def _abi_impl_renderer_changed(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implRendererChanged(@pointer, *a); end
|
2036
|
+
def _abi_impl_draw_function(*a); Abi.call_arg_map! a; Abi.ABI_CustomWidget_implDrawFunction(@pointer, *a); end
|
2037
|
+
end
|
1813
2038
|
end
|