32 #include "scene/gui/range.h" 49 static bool focus_by_default;
51 Orientation orientation;
65 double get_grabber_size()
const;
66 double get_grabber_min_size()
const;
67 double get_area_size()
const;
68 double get_area_offset()
const;
69 double get_click_pos(
const Point2& p_pos)
const;
70 double get_grabber_offset()
const;
72 static void set_can_focus_by_default(
bool p_can_focus);
81 float last_drag_slave_time;
82 float time_since_motion;
83 bool drag_slave_touching;
84 bool drag_slave_touching_deaccel;
87 void _drag_slave_exit();
88 void _drag_slave_input(
const InputEvent& p_input);
92 void _notification(
int p_what);
94 static void _bind_methods();
98 void set_custom_step(
float p_custom_step);
99 float get_custom_step()
const;
101 void set_drag_slave(
const NodePath& p_path);
104 virtual Size2 get_minimum_size()
const;
105 ScrollBar(Orientation p_orientation=VERTICAL);