Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void OglGui::RgbSlider::OnValueChanged ( ValueScrollBar vsb,
int  val,
void *  userData 
) [inline, virtual]

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:


Generated on Thu Jan 13 09:26:44 2011 for ImpalaSrc by  doxygen 1.5.1