Searched refs:topPos (Results 1 - 2 of 2) sorted by relevance
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | FontCreato.c | 1029 int topPos, items, visible; local 1033 XtVaGetValues(w, XmNtopItemPosition, &topPos, 1037 if (pos >= topPos && pos < topPos + visible) return; 1038 topPos = pos - (visible-1)/2; 1039 if (topPos + visible > items) topPos = items - visible + 1; 1040 if (topPos < 1) topPos = 1; 1042 XtVaSetValues(w, XmNtopItemPosition, topPos, NUL [all...] |
H A D | FontSB.c | 2293 int topPos, items, visible; local 2297 XtVaGetValues(w, XmNtopItemPosition, &topPos, 2300 if (pos >= topPos && pos < topPos + visible) return; 2301 topPos = pos - (visible-1)/2; 2302 if (topPos + visible > items) topPos = items - visible + 1; 2303 if (topPos < 1) topPos = 1; 2305 XtVaSetValues(w, XmNtopItemPosition, topPos, NUL [all...] |
Completed in 1133 milliseconds