Reimplemented from OglGui::ValueScrollBarListener. Definition at line 53 of file RgbSlider.h. References OglGui::ScrollBar::GetValue(), mBlueVSB, mColorWnd, mGreenVSB, mRedVSB, mShadedWnd, OglGui::ValueScrollBar::SBar(), and OglGui::OglWindow::SetBorderBackground(). 00054 { 00055 UCHAR red = mRedVSB ->SBar()->GetValue(); 00056 UCHAR green = mGreenVSB->SBar()->GetValue(); 00057 UCHAR blue = mBlueVSB ->SBar()->GetValue(); 00058 ULONG col = ARGB2COLOR(255,red,green,blue); 00059 mColorWnd->SetBorderBackground(col); 00060 if (mShadedWnd) 00061 mShadedWnd->SetBorderBackground(col); 00062 }
Here is the call graph for this function:
|