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

void OglGui::TextField::GetSelectionLeftRight ( int &  left,
int &  right 
) [inline, protected]

Definition at line 223 of file TextField.h.

References mCaretPosition, and mMarkerPosition.

Referenced by DeleteSelection(), and DrawTextWithCursor().

00224     {
00225         if (mMarkerPosition < mCaretPosition)
00226         {
00227             left = mMarkerPosition;
00228             right = mCaretPosition;
00229         }
00230         else
00231         {
00232             left = mCaretPosition;
00233             right = mMarkerPosition;
00234         }
00235     }


Generated on Thu Jan 13 09:27:07 2011 for ImpalaSrc by  doxygen 1.5.1