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

void OglGui::UpDownButton::AdjustRoundness ( float  r0,
float  r1,
float  r2,
float  r3,
bool  childAdjust = true,
int  margin = 0 
) [inline]

Definition at line 121 of file UpDownButton.h.

References mDownButton, mLeftRight, mUpButton, and OglGui::OglWindow::SetRoundness().

00123     {
00124         Window::SetRoundness(r0, r1, r2, r3);
00125         if (childAdjust && !mLeftRight)
00126         {
00127             mUpButton->SetRoundness(r0-margin, r1-margin, FRETAIN, FRETAIN);
00128             mDownButton->SetRoundness(FRETAIN, FRETAIN, r2-margin, r3-margin);
00129         }
00130         if (childAdjust && mLeftRight)
00131         {
00132             mUpButton->SetRoundness(FRETAIN, r1-margin, r2-margin, FRETAIN);
00133             mDownButton->SetRoundness(r0-margin, FRETAIN, FRETAIN, r3-margin);
00134         }
00135     }

Here is the call graph for this function:


Generated on Fri Mar 19 12:09:12 2010 for ImpalaSrc by  doxygen 1.5.1