Rev 1657 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1657 | Rev 1660 | ||
---|---|---|---|
Line 66... | Line 66... | ||
66 | call [init_checkbox] |
66 | call [init_checkbox] |
Line 67... | Line 67... | ||
67 | 67 | ||
68 | push dword check3 |
68 | push dword check3 |
Line -... | Line 69... | ||
- | 69 | call [init_checkbox] |
|
- | 70 | ||
- | 71 | push dword check4 |
|
- | 72 | call [init_checkbox] |
|
- | 73 | ||
- | 74 | push dword check5 |
|
- | 75 | call [init_checkbox] |
|
- | 76 | ||
- | 77 | push dword check6 |
|
Line 69... | Line 78... | ||
69 | call [init_checkbox] |
78 | call [init_checkbox] |
70 | 79 | ||
71 | 80 | ||
72 | window: |
81 | window: |
Line 89... | Line 98... | ||
89 | 98 | ||
90 | push dword check3 |
99 | push dword check3 |
Line -... | Line 100... | ||
- | 100 | call [check_box_mouse] |
|
- | 101 | ||
- | 102 | ||
- | 103 | push dword check4 |
|
- | 104 | call [check_box_mouse] |
|
- | 105 | ||
- | 106 | push dword check5 |
|
- | 107 | call [check_box_mouse] |
|
- | 108 | ||
- | 109 | push dword check6 |
|
91 | call [check_box_mouse] |
110 | call [check_box_mouse] |
92 | 111 | ||
93 | 112 | ||
94 | jmp still ;åñëè íè÷åãî èç ïåðå÷èñëåííîãî òî ñíîâà â öèêë |
113 | jmp still ;åñëè íè÷åãî èç ïåðå÷èñëåííîãî òî ñíîâà â öèêë |
95 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
114 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 116... | Line 135... | ||
116 | call [check_box_draw] |
135 | call [check_box_draw] |
Line 117... | Line 136... | ||
117 | 136 | ||
118 | push dword check3 |
137 | push dword check3 |
Line -... | Line 138... | ||
- | 138 | call [check_box_draw] |
|
- | 139 | ||
- | 140 | push dword check4 |
|
- | 141 | call [check_box_draw] |
|
- | 142 | ||
- | 143 | push dword check5 |
|
- | 144 | call [check_box_draw] |
|
- | 145 | ||
- | 146 | push dword check6 |
|
Line 119... | Line 147... | ||
119 | call [check_box_draw] |
147 | call [check_box_draw] |
120 | 148 | ||
121 | 149 | ||
122 | mcall 12,2 |
150 | mcall 12,2 |
Line 149... | Line 177... | ||
149 | aInit_checkbox db 'init_checkbox',0 |
177 | aInit_checkbox db 'init_checkbox',0 |
150 | aCheck_box_draw db 'check_box_draw',0 |
178 | aCheck_box_draw db 'check_box_draw',0 |
151 | aCheck_box_mouse db 'check_box_mouse',0 |
179 | aCheck_box_mouse db 'check_box_mouse',0 |
152 | aVersion_ch db 'version_ch',0 |
180 | aVersion_ch db 'version_ch',0 |
153 | ;--------------------------------------------------------------------- |
181 | ;--------------------------------------------------------------------- |
154 | check1 check_box (20 shl 16 + 12),(45 shl 16 + 12),6,0xC0AABBCC,0,0x80000000,check_text,ch_flag_en |
182 | check1 check_box (10 shl 16 + 12),(10 shl 16 + 12),6,0xC0AABBCC,0,0x80000000,check_text,ch_flag_en |
155 | check2 check_box (20 shl 16 + 22),(60 shl 16 + 12),6,0xC0AABBCC,0,0x80000000,check_text2 |
183 | check2 check_box (10 shl 16 + 22),(25 shl 16 + 12),6,0xC0AABBCC,0,0x80000000,check_text2 |
156 | check3 check_box (20 shl 16 + 12),(75 shl 16 + 22),6,0xC0AABBCC,0,0x80000000,check_text3 |
184 | check3 check_box (10 shl 16 + 12),(40 shl 16 + 22),6,0xC0AABBCC,0,0x80000000,check_text3 |
- | 185 | check4 check_box (10 shl 16 + 12),(70 shl 16 + 22),6,0xC0AABBCC,0,0x80000000,check_text4,ch_flag_top |
|
- | 186 | check5 check_box (10 shl 16 + 12),(100 shl 16 + 22),6,0xC0AABBCC,0,0x80000000,check_text5,ch_flag_middle |
|
- | 187 | check6 check_box (10 shl 16 + 12),(130 shl 16 + 22),6,0xC0AABBCC,0,0x80000000,check_text6,ch_flag_bottom |
|
157 | ;--------------------------------------------------------------------- |
188 | ;--------------------------------------------------------------------- |
158 | hed db 'CheckBox Exemples |
189 | hed db 'CheckBox Exemples |
159 | hed_end: |
190 | hed_end: |
160 | ;--------------------------------------------------------------------- |
191 | ;--------------------------------------------------------------------- |
161 | check_text db 'First checkbox',0 |
192 | check_text db 'First checkbox, set flag ch_flag_en',0 |
162 | check_text2 db 'Second checkbox',0 |
193 | check_text2 db 'Second checkbox,not set any flag',0 |
163 | check_text3 db 'Number 3 checkbox',0 |
194 | check_text3 db 'Number 3 checkbox, not set any flag',0 |
- | 195 | check_text4 db 'Set flag is ch_flag_top',0 |
|
- | 196 | check_text5 db 'Set flag is ch_flag_middle',0 |
|
- | 197 | check_text6 db 'Set flag is ch_flag_bottom',0 |
|
164 | ;--------------------------------------------------------------------- |
198 | ;--------------------------------------------------------------------- |
165 | MEM_END: |
199 | MEM_END: |
166 | cur_dir_path rb 1024 |
200 | cur_dir_path rb 1024 |
167 | library_path rb 1024 |
201 | library_path rb 1024 |
168 | rb 1024 ;for stack |
202 | rb 1024 ;for stack |