diff --git a/docs/user/interface/ColorControl.dox b/docs/user/interface/ColorControl.dox index 8352db1316..0d7281f0b8 100644 --- a/docs/user/interface/ColorControl.dox +++ b/docs/user/interface/ColorControl.dox @@ -119,7 +119,7 @@ colorControl->SetValue(0x336698); /*! \fn BColorControl::BColorControl(BPoint leftTop, color_control_layout layout, float cellSize, const char *name, - BMessage *message = NULL, bool bufferedDrawing = false) + BMessage *message = NULL, bool useOffscreen = false) \brief Constructs a new color control object. \param leftTop location of the left top corner of the frame rectangle @@ -136,10 +136,9 @@ colorControl->SetValue(0x336698); \param name The name of the color control. \param message The optional \a message to send to a target in response to a change in color value. - \param bufferedDrawing If \c true, all on-screen changes are first + \param useOffscreen If \c true, all on-screen changes are first made to an off-screen bitmap and then copied to the screen - making the drawing smoother, but requiring more memory - (currently unused). + making the drawing smoother, but requiring more memory. \since BeOS R3 */ diff --git a/src/kits/interface/ColorControl.cpp b/src/kits/interface/ColorControl.cpp index 0379cd5d0c..59d4cee6d4 100644 --- a/src/kits/interface/ColorControl.cpp +++ b/src/kits/interface/ColorControl.cpp @@ -49,12 +49,12 @@ static const uint32 kRampCount = 4; BColorControl::BColorControl(BPoint leftTop, color_control_layout layout, - float cellSize, const char* name, BMessage* message, bool bufferedDrawing) + float cellSize, const char* name, BMessage* message, bool useOffscreen) : BControl(BRect(leftTop, leftTop), name, NULL, message, B_FOLLOW_LEFT | B_FOLLOW_TOP, B_WILL_DRAW | B_NAVIGABLE) { - _InitData(layout, cellSize, bufferedDrawing, NULL); + _InitData(layout, cellSize, useOffscreen, NULL); }