[interfacekit] Re: BSlider::SetLimits

"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
> Hey guys, I've got a question for you. Michael Pfeiffer asked me 
> about 
> the existence of this little kinda-sorta public API change in 
> BSlider. 
> Anyone know about why this is there? Unless I see any good reason not 
> to I plan on commenting this out and making Slider.h look more like 
> the 
> one in R5 with respect to this. TIA
> 
> virtual void                          SetFont(const BFont *font, uint32 
> properties = B_FONT_ALL);
> 
> #ifdef BEOS_R5_COMPATIBLE
> virtual       void                            _ReservedSlider4();
> #else
> virtual void                          SetLimits(int32 minimum, int32 
> maximum); // 
> 
> Was _ReservedSlider4()
> #endif
> /*----- Private or reserved -----------------------------------------
> */
> private:
>               void                            _DrawBlockThumb();

I don't know about _DrawBlockThumb() (it's in my (Dano) Be headers, 
too), but IIRC SetLimits() was added because it's a somewhat not-
understandable missing functionality in current BeOS.
And since it was added in a binary compatible way (you could also 
replace BEOS_R5_COMPATIBLE with __HAIKU__, though), it shouldn't harm.

Bye,
   Axel.


Other related posts: