Rev 5706 | Rev 5765 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5706 | Rev 5709 | ||
---|---|---|---|
Line 67... | Line 67... | ||
67 | void Draw_List() |
67 | void Draw_List() |
68 | { |
68 | { |
69 | int i; |
69 | int i; |
70 | int yyy; |
70 | int yyy; |
71 | int list_last; |
71 | int list_last; |
72 | list[SKINS].SetSizes(0, PANEL_H, Form.cwidth-scroll1.size_x-1, Form.cheight-PANEL_H, 40, 20); |
72 | list[SKINS].SetSizes(0, PANEL_H, Form.cwidth-scroll1.size_x-1, Form.cheight-PANEL_H, 20); |
73 | list[WALLPAPERS].SetSizes(0, PANEL_H, Form.cwidth-scroll1.size_x-1, Form.cheight-PANEL_H, 40, 20); |
73 | list[WALLPAPERS].SetSizes(0, PANEL_H, Form.cwidth-scroll1.size_x-1, Form.cheight-PANEL_H, 20); |
74 | if (list[active].count > list[active].visible) list_last = list[active].visible; else list_last = list[active].count; |
74 | if (list[active].count > list[active].visible) list_last = list[active].visible; else list_last = list[active].count; |
Line 75... | Line 75... | ||
75 | 75 | ||
76 | for (i=0; i |
76 | for (i=0; i |
77 | { |
77 | { |
Line 150... | Line 150... | ||
150 | SetEventMask(0x27); |
150 | SetEventMask(0x27); |
151 | load_dll(boxlib, #box_lib_init,0); |
151 | load_dll(boxlib, #box_lib_init,0); |
152 | list[SKINS].current = list[WALLPAPERS].current = -1; |
152 | list[SKINS].current = list[WALLPAPERS].current = -1; |
153 | list[SKINS].first = list[WALLPAPERS].first = 0; |
153 | list[SKINS].first = list[WALLPAPERS].first = 0; |
154 | TabClick(WALLPAPERS); |
154 | TabClick(WALLPAPERS); |
155 | list[WALLPAPERS].SetSizes(0, 230, 350, 400-PANEL_H, 40, 18); |
155 | list[WALLPAPERS].SetSizes(0, 230, 350, 400-PANEL_H, 18); |
156 | list[SKINS].SetSizes(0, 230, 350, 400-PANEL_H, 40, 18); |
156 | list[SKINS].SetSizes(0, 230, 350, 400-PANEL_H, 18); |
157 | loop() |
157 | loop() |
158 | { |
158 | { |
159 | switch(WaitEvent()) |
159 | switch(WaitEvent()) |
160 | { |
160 | { |
161 | case evMouse: |
161 | case evMouse: |