* Making it private doesn't help unless you have a const BSlider. Therefore,
removed it from the public namespace, and made it only visible when linking. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d9479a6951
commit
b847381250
@ -163,9 +163,6 @@ public:
|
||||
virtual BSize PreferredSize();
|
||||
|
||||
private:
|
||||
// deprecated leftover of BeOS compatibility
|
||||
void GetLimits(int32* minimum, int32* maximum);
|
||||
|
||||
void _DrawBlockThumb();
|
||||
void _DrawTriangleThumb();
|
||||
|
||||
|
@ -790,17 +790,6 @@ BSlider::GetLimits(int32 *minimum, int32 *maximum) const
|
||||
}
|
||||
|
||||
|
||||
//! This one is deprecated, and only left for binary compatiblity (it's private)
|
||||
void
|
||||
BSlider::GetLimits(int32 *minimum, int32 *maximum)
|
||||
{
|
||||
if (minimum != NULL)
|
||||
*minimum = fMinValue;
|
||||
if (maximum != NULL)
|
||||
*maximum = fMaxValue;
|
||||
}
|
||||
|
||||
|
||||
// #pragma mark - drawing
|
||||
|
||||
|
||||
@ -2125,39 +2114,41 @@ BSlider::operator=(const BSlider &)
|
||||
|
||||
#if __GNUC__ < 3
|
||||
|
||||
extern "C"
|
||||
void
|
||||
extern "C" void
|
||||
GetLimits__7BSliderPlT1(BSlider* slider, int32* minimum, int32* maximum)
|
||||
{
|
||||
slider->GetLimits(minimum, maximum);
|
||||
}
|
||||
|
||||
|
||||
extern "C" void
|
||||
_ReservedSlider4__7BSlider(BSlider *slider, int32 minimum, int32 maximum)
|
||||
{
|
||||
slider->BSlider::SetLimits(minimum, maximum);
|
||||
}
|
||||
|
||||
extern "C"
|
||||
float
|
||||
extern "C" float
|
||||
_ReservedSlider5__7BSlider(BSlider *slider)
|
||||
{
|
||||
return slider->BSlider::MaxUpdateTextWidth();
|
||||
}
|
||||
|
||||
|
||||
extern "C"
|
||||
void
|
||||
extern "C" void
|
||||
_ReservedSlider1__7BSlider(BSlider* slider, orientation _orientation)
|
||||
{
|
||||
slider->BSlider::SetOrientation(_orientation);
|
||||
}
|
||||
|
||||
|
||||
extern "C"
|
||||
void
|
||||
extern "C" void
|
||||
_ReservedSlider2__7BSlider(BSlider* slider, float thickness)
|
||||
{
|
||||
slider->BSlider::SetBarThickness(thickness);
|
||||
}
|
||||
|
||||
|
||||
extern "C"
|
||||
void
|
||||
extern "C" void
|
||||
_ReservedSlider3__7BSlider(BSlider* slider, const BFont* font,
|
||||
uint32 properties)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user