[interfacekit] Re: BSlider::SetLimits
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Mon, 29 Nov 2004 09:45:25 +0100 CET
"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.
- Follow-Ups:
- [interfacekit] Re: BSlider::SetLimits
- From: Andrew Bachmann
- References:
- [interfacekit] BSlider::SetLimits
- From: DarkWyrm
Other related posts:
- » [interfacekit] BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- [interfacekit] Re: BSlider::SetLimits
- From: Andrew Bachmann
- [interfacekit] BSlider::SetLimits
- From: DarkWyrm