Rev 4081 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4081 | Rev 4098 | ||
---|---|---|---|
Line 124... | Line 124... | ||
124 | WriteText(app_list.x+25, index*app_list.line_h+app_list.y+7, 0x80, 0, #app_paths[index+app_list.first].item); |
124 | WriteText(app_list.x+25, index*app_list.line_h+app_list.y+7, 0x80, 0, #app_paths[index+app_list.first].item); |
125 | } |
125 | } |
126 | tiny_scroll.x = app_list.x+app_list.w-SCROLL_WIDTH-1; |
126 | tiny_scroll.x = app_list.x+app_list.w-SCROLL_WIDTH-1; |
127 | tiny_scroll.h = app_list.h * app_list.visible / app_list.count; |
127 | tiny_scroll.h = app_list.h * app_list.visible / app_list.count; |
128 | tiny_scroll.y = app_list.h * app_list.first / app_list.count + app_list.y; |
128 | tiny_scroll.y = app_list.h * app_list.first / app_list.count + app_list.y; |
129 | debugi(tiny_scroll.y + tiny_scroll.h - app_list.y - app_list.h); |
- | |
130 | if (tiny_scroll.y + tiny_scroll.h - app_list.y - app_list.h >= 0) tiny_scroll.y = app_list.y + app_list.h - tiny_scroll.h-1; |
129 | if (tiny_scroll.y + tiny_scroll.h - app_list.y - app_list.h >= 0) tiny_scroll.y = app_list.y + app_list.h - tiny_scroll.h-1; |
131 | DrawBar(tiny_scroll.x, tiny_scroll.y, SCROLL_WIDTH, tiny_scroll.h, 0x555555); //scroll |
130 | DrawBar(tiny_scroll.x, tiny_scroll.y, SCROLL_WIDTH, tiny_scroll.h, 0x555555); //scroll |
132 | }=5)> |
131 | }=5)> |
133 | 132 |