The introduction of the new virtual SetLimits() is nice in principle, but files compiled with this header implementing a BSlider subclass fail to link against libbe. Introduced a macro that apps can define that need to run under R5 for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2730 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -175,7 +175,11 @@ virtual void SetBarThickness(float thickness);
|
||||
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user