Subversion Repositories Kolibri OS

Rev

Rev 6328 | Rev 6352 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6328 Rev 6342
Line 58... Line 58...
58
	mov	edx,ok_text
58
	mov	edx,ok_text
59
	mov	esi,2
59
	mov	esi,2
60
	call	print_text
60
	call	print_text
Line 61... Line 61...
61
 
61
 
62
	mov	edx,1000000000000000000000000000000b+1000
62
	mov	edx,1000000000000000000000000000000b+1000
Line 63... Line 63...
63
	mcall	8,<177,40>,<115,14>,
63
	mcall SF_DEFINE_BUTTON,<177,40>,<115,14>,
64
 
64
 
Line 65... Line 65...
65
	mov	edx,1000000000000000000000000000000b+1001
65
	mov	edx,1000000000000000000000000000000b+1001
66
	mcall	,,<139,14>,
66
	mcall	,,<139,14>,
Line 67... Line 67...
67
 
67
 
68
	mov	edx,1000000000000000000000000000000b+1002
68
	mov	edx,1000000000000000000000000000000b+1002
Line 69... Line 69...
69
	mcall	,<175,40>,<170,15>
69
	mcall	,<175,40>,<170,15>
70
 
70
 
Line 71... Line 71...
71
no_activate_space:
71
no_activate_space:
72
	mcall	10
72
	mcall SF_WAIT_EVENT
Line 73... Line 73...
73
 
73
 
74
	cmp	eax,1
74
	cmp	eax,1
Line 75... Line 75...
75
	je	exit_new
75
	je	exit_new
76
 
76
 
Line 128... Line 128...
128
	cmp	eax,1002
128
	cmp	eax,1002
129
	jne	no_activate_space
129
	jne	no_activate_space
Line 130... Line 130...
130
 
130
 
131
exit_new:
131
exit_new:
132
	mov	edx,11100000000000000000000000000000b+1002
132
	mov	edx,11100000000000000000000000000000b+1002
Line 133... Line 133...
133
	mcall	8,<175,40>,<170,15>
133
	mcall SF_DEFINE_BUTTON,<175,40>,<170,15>
134
 
134
 
Line 135... Line 135...
135
	mov	edx,11100000000000000000000000000000b+1001
135
	mov	edx,11100000000000000000000000000000b+1001
Line 152... Line 152...
152
no_new:
152
no_new:
153
;<<<<>>>>>>
153
;<<<<>>>>>>
154
	cmp	[number_menu],2
154
	cmp	[number_menu],2
155
	jne	no_open
155
	jne	no_open
Line 156... Line -...
156
 
-
 
157
;	opendialog drawwin,open_1,open_2,file_path
156
 
158
;---------------------------------------------------------------------
157
;---------------------------------------------------------------------
Line 159... Line 158...
159
	mov	[OpenDialog_data.type],0 ; open
158
	mov	[OpenDialog_data.type],0 ; open
160
	
159
	
Line 161... Line 160...
161
	push    dword OpenDialog_data
160
	push    dword OpenDialog_data
162
	call    [OpenDialog_Start]
161
	call    [OpenDialog_Start]
163
	
162
	
164
	cmp	[OpenDialog_data.status],1
-
 
165
	jne	still
163
	cmp	[OpenDialog_data.status],1
Line 166... Line 164...
166
;---------------------------------------------------------------------
164
	jne	still
167
;open_1:
-
 
168
	mcall	40,0x80000027 ; 100111b
-
 
169
 
165
;---------------------------------------------------------------------
Line 170... Line 166...
170
	call load_picture
166
	mcall SF_SET_EVENTS_MASK,0x80000027 ;100111b
171
 
167
 
172
	call	load_icons
168
	call load_picture
Line 224... Line 220...
224
	cmp	[OpenDialog_data.status],1
220
	cmp	[OpenDialog_data.status],1
225
	jne	still
221
	jne	still
226
;---------------------------------------------------------------------
222
;---------------------------------------------------------------------
227
save1:
223
save1:
228
save_enter:
224
save_enter:
229
	mcall	40,0x80000027 ; 100111b
225
	mcall SF_SET_EVENTS_MASK,0x80000027 ;100111b
Line 230... Line 226...
230
 
226
 
Line 231... Line 227...
231
	call	analizing_picture_to_palette
227
	call	analizing_picture_to_palette
232
 
228