[interfacekit] Re: BSlider::SetLimits
- From: "Michael Pfeiffer" <michael.pfeiffer@xxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Mon, 29 Nov 2004 11:58:51 +0100
On Mon, 29 Nov 2004 01:57:05 -0800 PST, Andrew Bachmann
<shatty@xxxxxxxxxxxxx> wrote:
"Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx> wrote:
"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote:
>
> #ifdef BEOS_R5_COMPATIBLE
> virtual void _ReservedSlider4();
> #else
> virtual void SetLimits(int32 minimum, int32
maximum); //
> #endif
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.
I vote for changing it to #ifndef __HAIKU__. (or #ifdef, and switch the
clauses)
I agree, BeOS R5 compatibility should be the default.
Regards,
Michael
- References:
- [interfacekit] Re: BSlider::SetLimits
- From: Andrew Bachmann
Other related posts:
- » [interfacekit] BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
- » [interfacekit] Re: BSlider::SetLimits
"DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx> wrote: > > #ifdef BEOS_R5_COMPATIBLE > virtual void _ReservedSlider4(); > #else > virtual void SetLimits(int32 minimum, int32 maximum); // > #endif
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.
I vote for changing it to #ifndef __HAIKU__. (or #ifdef, and switch the clauses)
I agree, BeOS R5 compatibility should be the default.
- [interfacekit] Re: BSlider::SetLimits
- From: Andrew Bachmann