Home
last modified time | relevance | path

Searched refs:visiblelen (Results 1 – 2 of 2) sorted by relevance

/dports/editors/wordgrinder/wordgrinder-0.6/src/lua/
H A Dmenu.lua284 local visiblelen = min(#menu, ScreenHeight-y-3)
285 DrawTitledBox(x, y, w, visiblelen, menu.label)
287 if (visiblelen < #menu) then
289 local f2 = (top + visiblelen - 1) / #menu
290 local y1 = f1 * visiblelen + y + 1
291 local y2 = f2 * visiblelen + y + 1
298 for i = top, top+visiblelen-1 do
362 if (n > (top+visiblelen-1)) then
363 top = n - visiblelen + 1
378 n = int(min(n + visiblelen/2, #menu))
[all …]
/dports/news/golded+/golded-plus/golded+/goldlib/gcui/
H A Dgwinbase.cpp2047 uint visiblelen; in wscrollbar() local
2049 visiblelen = (gwin.active->erow - (gwin.active->srow+sadd)) + 1 - (gwin.active->border?2:0); in wscrollbar()
2051 visiblelen = (gwin.active->ecol - (gwin.active->scol+sadd)) + 1 - (gwin.active->border?2:0) - 2; in wscrollbar()
2052 uint barlen = visiblelen - 2; in wscrollbar()
2053 uint thumblen = (visiblelen*barlen) / total; in wscrollbar()