1 ; *********************************************
2 ; ******* WINDOW DEFINITIONS AND DRAW ********
3 ; *********************************************
8 xor eax,eax ; function 0 : define and draw window
12 mcall ,,,0x73ffffff,,Authors_text.1
15 mov eax,[procinfo+70] ;status of window
21 push dword menu_data_1
23 push dword menu_data_2
25 push dword menu_data_3
27 push dword menu_data_4
29 push dword menu_data_5
31 push dword menu_data_6
34 push dword dinamic_button_data_1
35 call [dinamic_button_draw]
36 push dword dinamic_button_data_2
37 call [dinamic_button_draw]
38 push dword dinamic_button_data_3
39 call [dinamic_button_draw]
40 push dword dinamic_button_data_4
41 call [dinamic_button_draw]
42 push dword dinamic_button_data_5
43 call [dinamic_button_draw]
44 push dword dinamic_button_data_6
45 call [dinamic_button_draw]
46 push dword dinamic_button_data_7
47 call [dinamic_button_draw]
48 push dword dinamic_button_data_8
49 call [dinamic_button_draw]
50 push dword dinamic_button_data_9
51 call [dinamic_button_draw]
52 push dword dinamic_button_data_10
53 call [dinamic_button_draw]
54 push dword dinamic_button_data_11
55 call [dinamic_button_draw]
56 push dword dinamic_button_data_12
57 call [dinamic_button_draw]
58 push dword dinamic_button_data_13
59 call [dinamic_button_draw]
60 push dword dinamic_button_data_14
61 call [dinamic_button_draw]
62 push dword dinamic_button_data_15
63 call [dinamic_button_draw]
65 mcall 13,<225,2>,<3,22>,0x677EA0 ;0x052B64
72 mcall 4,<630,3>,0x80000000, file_mount
73 mcall 13,<677,40>,<13,11>,0xe5e5e5
74 mov ecx,[load_directory_pointer]
76 mcall 47,0x80060000, ,<679, 15>,0
77 mcall 8,[dinamic_button_data_5.x],[dinamic_button_data_5.y],0x40000002
81 ;---------------------------------------------------------------------
82 set_draw_scrollbar_all:
85 mov [scroll_bar_data_vertical.all_redraw],eax
86 mov [scroll_bar_data_horizontal.all_redraw],eax
88 ;---------------------------------------------------------------------
89 set_nodraw_scrollbar_all:
91 mov [scroll_bar_data_vertical.all_redraw],eax
92 mov [scroll_bar_data_horizontal.all_redraw],eax
94 ;---------------------------------------------------------------------
100 add ebx,[window_width]
105 cmp [no_draw_window],0
107 mcall 13 ; fill top area
112 mov ecx,[window_high]
117 call draw_number_of_file
118 call draw_zoom_factors
119 cmp [scaling_mode],dword 0
123 call set_draw_scrollbar_all
125 call set_nodraw_scrollbar_all
127 ;---------------------------------------------------------------------
129 mcall 13,<630,42>,<13,11>,0xe5e5e5
131 mov eax,[load_directory_pointer]
134 mov ecx,[load_file_number]
137 mcall 47,0x80060000, ,<632, 15>,0
139 ;---------------------------------------------------------------------
141 mcall 13,<725,30>,<13,11>,0xe5e5e5
142 mov ecx,[zoom_factors]
144 mov [scaling_mode],ecx
147 mcall 4,<727,14>,0x80000000,zoom_auto_text
150 mcall 47,0x80060000,,<727, 15>,0
152 ;---------------------------------------------------------------------