Rev 6352 | Rev 6358 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6352 | Rev 6357 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | include '../../../dll.inc' |
41 | include '../../../dll.inc' |
42 | include '../../../libio.inc' |
42 | include '../../../libio.inc' |
Line 43... | Line 43... | ||
43 | 43 | ||
Line -... | Line 44... | ||
- | 44 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
|
- | 45 | ||
- | 46 | ;--------------------------------------------------------- |
|
- | 47 | ; *** ª®áâ âë ¤«ï ¨â¥à䥩á *** |
|
- | 48 | ||
- | 49 | ; ®ª® । ªâ®à |
|
- | 50 | ci_edit_wnd_x_pos equ 5 ;ª®®à¤¨ â x ¤«ï ®ª । ªâ®à |
|
- | 51 | ci_edit_wnd_y_pos equ 87 ;ª®®à¤¨ â y ¤«ï ®ª । ªâ®à |
|
- | 52 | ci_edit_wnd_border equ 3 ;à ¬ª ¢®ªà㣠®ª । ªâ®à |
|
- | 53 | ||
- | 54 | ; áªà®««¨£¨ |
|
- | 55 | ci_scrollh_coord_x_min equ (ci_edit_wnd_x_pos+3) ;¬¨¨¬ «ì ï ¯®§¨æ¨ï ¯®«§ãª |
|
- | 56 | ;£®à¨§®â «ì®£® áªà®««¨£ |
|
- | 57 | ci_scrollv_coord_y_min equ (ci_edit_wnd_y_pos+3) ;¬¨¨¬ «ì ï ¯®§¨æ¨ï ¯®«§ãª |
|
- | 58 | ;¢¥à⨪ «ì®£® áªà®««¨£ |
|
44 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
59 | ;--------------------------------------------------------- |
45 | 60 | ||
46 | include 'bmplib.inc' |
61 | include 'bmplib.inc' |
47 | include 'dialog2.inc' |
62 | include 'dialog2.inc' |
Line 57... | Line 72... | ||
57 | 72 | ||
Line 58... | Line 73... | ||
58 | load_libraries l_libs_start,end_l_libs |
73 | load_libraries l_libs_start,end_l_libs |
59 | 74 | ||
60 | cmp eax,-1 |
- | |
61 | jz close |
- | |
62 | ;-------------------------------------------------------- |
- | |
- | 75 | cmp eax,-1 |
|
63 | ;---------------set events mask-------------------------- |
76 | jz close |
64 | ;-------------------------------------------------------- |
77 | |
65 | mcall SF_SET_EVENTS_MASK,0x80000067 ; 1100111b |
78 | mcall SF_SET_EVENTS_MASK,0x80000067 ; 1100111b |
66 | ;--------------------------------------------------------- |
79 | ;--------------------------------------------------------- |
67 | ;-----------------------init data------------------------- |
80 | ;-----------------------init data------------------------- |
Line 136... | Line 149... | ||
136 | stosb |
149 | stosb |
137 | test eax,eax |
150 | test eax,eax |
138 | jnz @b |
151 | jnz @b |
139 | ret |
152 | ret |
140 | ;--------------------------------------------------------------------- |
153 | ;--------------------------------------------------------------------- |
141 | ;--------------------------------------------------------- |
- | |
142 | ;--------------------------------------------------------- |
- | |
143 | ;--------------------------------------------------------- |
- | |
144 | include 'events.inc' |
154 | include 'events.inc' |
145 | include 'events_of_window.inc' |
155 | include 'events_of_window.inc' |
146 | include 'events_of_keys.inc' |
156 | include 'events_of_keys.inc' |
147 | include 'events_of_buttons.inc' |
157 | include 'events_of_buttons.inc' |
148 | include 'events_of_mouse.inc' |
158 | include 'events_of_mouse.inc' |
Line 175... | Line 185... | ||
175 | file 'panel_buttons.png' |
185 | file 'panel_buttons.png' |
176 | .end: |
186 | .end: |
177 | ;****************cursors****************** |
187 | ;****************cursors****************** |
178 | brush_cursor: |
188 | brush_cursor: |
179 | file 'brush.cur' |
189 | file 'brush.cur' |
180 | ;---------------------------------------------------------- |
- | |
181 | flood_fill_cursor: |
190 | flood_fill_cursor: |
182 | file 'flood_fill.cur' |
191 | file 'flood_fill.cur' |
183 | ;---------------------------------------------------------- |
- | |
184 | lastik_cursor: |
192 | lastik_cursor: |
185 | file 'lastik.cur' |
193 | file 'lastik.cur' |
186 | ;---------------------------------------------------------- |
- | |
187 | other_cursor: |
194 | other_cursor: |
188 | file 'other.cur' |
195 | file 'other.cur' |
189 | ;---------------------------------------------------------- |
- | |
190 | pencil_cursor: |
196 | pencil_cursor: |
191 | file 'pencil.cur' |
197 | file 'pencil.cur' |
192 | ;---------------------------------------------------------- |
- | |
193 | pipette_cursor: |
198 | pipette_cursor: |
194 | file 'pipette.cur' |
199 | file 'pipette.cur' |
195 | ;---------------------------------------------------------- |
- | |
196 | spray_cursor: |
200 | spray_cursor: |
197 | file 'spray.cur' |
201 | file 'spray.cur' |
198 | ;---------------------------------------------------------- |
- | |
199 | zoom_cursor: |
202 | zoom_cursor: |
200 | file 'zoom.cur' |
203 | file 'zoom.cur' |
201 | ;---------------------------------------------------------- |
204 | ;---------------------------------------------------------- |
202 | IM_END: |
205 | IM_END: |
203 | ;----------------------------------------------------------- |
206 | ;----------------------------------------------------------- |
Line 266... | Line 269... | ||
266 | 269 | ||
267 | Scroll1CoordinatX rd 1 ;scroll x screen position |
270 | Scroll1CoordinatX rd 1 ;scroll x screen position |
268 | Scroll1CoordinatY rd 1 ;scroll y screen position |
271 | Scroll1CoordinatY rd 1 ;scroll y screen position |
269 | Scroll1MaxSizeX rd 1 |
272 | Scroll1MaxSizeX rd 1 |
270 | Scroll1MaxSizeY rd 1 |
273 | Scroll1MaxSizeY rd 1 |
271 | Scroll1SizeX rd 1 |
274 | Scroll1SizeX rd 1 ;scroll polzunok size |
Line 272... | Line 275... | ||
272 | Scroll1FreeX rd 1 |
275 | Scroll1FreeX rd 1 |
273 | 276 | ||
274 | Scroll2CoordinatX rd 1 |
277 | Scroll2CoordinatX rd 1 |