1 /**
2 Horizontal scroll bar.
3 
4 Copyright:
5 Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur.  
6 Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md)  
7 Copyright (c) 2017-2018 Godot-D contributors  
8 
9 License: $(LINK2 https://opensource.org/licenses/MIT, MIT License)
10 
11 
12 */
13 module godot.hscrollbar;
14 import std.meta : AliasSeq, staticIndexOf;
15 import std.traits : Unqual;
16 import godot.d.meta;
17 import godot.core;
18 import godot.c;
19 import godot.d.bind;
20 import godot.d.reference;
21 import godot.object;
22 import godot.classdb;
23 import godot.scrollbar;
24 import godot.range;
25 import godot.control;
26 import godot.canvasitem;
27 import godot.node;
28 /**
29 Horizontal scroll bar.
30 
31 See $(D ScrollBar). This one goes from left (min) to right (max).
32 */
33 @GodotBaseClass struct HScrollBar
34 {
35 	enum string _GODOT_internal_name = "HScrollBar";
36 public:
37 @nogc nothrow:
38 	union { godot_object _godot_object; ScrollBar _GODOT_base; }
39 	alias _GODOT_base this;
40 	alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses);
41 	package(godot) __gshared bool _classBindingInitialized = false;
42 	package(godot) static struct _classBinding
43 	{
44 		__gshared:
45 	}
46 	bool opEquals(in HScrollBar other) const { return _godot_object.ptr is other._godot_object.ptr; }
47 	HScrollBar opAssign(T : typeof(null))(T n) { _godot_object.ptr = null; }
48 	bool opEquals(typeof(null) n) const { return _godot_object.ptr is null; }
49 	mixin baseCasts;
50 	static HScrollBar _new()
51 	{
52 		static godot_class_constructor constructor;
53 		if(constructor is null) constructor = _godot_api.godot_get_class_constructor("HScrollBar");
54 		if(constructor is null) return typeof(this).init;
55 		return cast(HScrollBar)(constructor());
56 	}
57 	@disable new(size_t s);
58 }