Searched refs:topIndex (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkListbox.c98 int topIndex; /* Index of top-most element visible in member in struct:__anon409
384 listPtr->topIndex = 0;
495 if ((index >= listPtr->topIndex) && (index < listPtr->numElements)
496 && (index < (listPtr->topIndex + listPtr->fullLines
499 y = ((index - listPtr->topIndex)*listPtr->lineHeight)
660 listPtr->scanMarkYIndex = listPtr->topIndex;
681 diff = listPtr->topIndex-index;
689 diff = index - (listPtr->topIndex + listPtr->fullLines - 1);
692 ChangeListboxView(listPtr, listPtr->topIndex + diff);
819 fraction = listPtr->topIndex/((doubl
[all...]
H A DtkTextDisp.c1116 index = textPtr->topIndex;
1354 textPtr->topIndex = dInfoPtr->dLinePtr->index;
2840 if (textPtr->topIndex.charIndex != 0) {
2841 MeasureUp(textPtr, &textPtr->topIndex, 0, &textPtr->topIndex);
2908 textPtr->topIndex = *indexPtr;
2910 MeasureUp(textPtr, indexPtr, 0, &textPtr->topIndex);
2962 MeasureUp(textPtr, &textPtr->topIndex, close, &tmpIndex);
2964 MeasureUp(textPtr, indexPtr, 0, &textPtr->topIndex);
2988 MeasureUp(textPtr, indexPtr, bottomY, &textPtr->topIndex);
[all...]
H A DtkText.c1078 * widget (textPtr->topIndex), then we have to recompute topIndex
1083 if (indexPtr->linePtr == textPtr->topIndex.linePtr) {
1085 offset = textPtr->topIndex.charIndex;
1203 * textPtr->topIndex). Compute what the new first character
1209 if (TkTextIndexCmp(&index2, &textPtr->topIndex) >= 0) {
1210 if (TkTextIndexCmp(&index1, &textPtr->topIndex) <= 0) {
1212 * Deletion range straddles topIndex: use the beginning
1213 * of the range as the new topIndex.
1219 } else if (index1.linePtr == textPtr->topIndex
[all...]
H A DtkText.h489 TkTextIndex topIndex; /* Identifies first character in top display member in struct:TkText

Completed in 27 milliseconds