24 set_virtual_frame(PN_stdfloat left, PN_stdfloat right, PN_stdfloat bottom, PN_stdfloat top) {
38 _has_virtual_frame =
true;
39 _virtual_frame = frame;
42 _needs_remanage =
true;
44 _needs_recompute_clip =
true;
70 return _has_virtual_frame;
84 _has_virtual_frame =
false;
100 _manage_pieces = manage_pieces;
101 _needs_remanage =
true;
102 _needs_recompute_clip =
true;
114 return _manage_pieces;
132 _auto_hide = auto_hide;
135 _needs_remanage =
true;
163 _horizontal_slider->set_notify(NULL);
165 _horizontal_slider = horizontal_slider;
169 _needs_recompute_clip =
true;
194 return _horizontal_slider;
209 _vertical_slider->set_notify(NULL);
211 _vertical_slider = vertical_slider;
215 _needs_recompute_clip =
true;
240 return _vertical_slider;
const LVecBase4 & get_clip_frame() const
Returns the bounding rectangle of the clip frame.
void set_notify(PGSliderBarNotify *notify)
Sets the object which will be notified when the PGSliderBar changes.
Similar to MutexHolder, but for a light reentrant mutex.
This is the base class for all three-component vectors and points.
This is a particular kind of PGItem that draws a little bar with a slider that moves from left to rig...