9 #include "StatusSlider.h"
11 #include <MessageFormat.h>
14 StatusSlider::StatusSlider(const char* name
, const char* label
,
15 const char* statusPrefix
, BMessage
* message
, int32 minValue
, int32 maxValue
)
17 BSlider(name
, label
, message
, minValue
, maxValue
, B_HORIZONTAL
),
24 StatusSlider::UpdateText() const
27 fFormat
.Format(fStr
, Value());
28 strlcpy(fPattern
, fStr
.String(), sizeof(fPattern
));