Subversion Repositories Kolibri OS

Rev

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

Rev 870 Rev 2195
Line 110... Line 110...
110
    dec        eax		; mov        eax, -1
110
    dec        eax		; mov        eax, -1
111
    int        0x40
111
    int        0x40
Line 112... Line 112...
112
 
112
 
Line 113... Line -...
113
func  draw_ctx_menu
-
 
114
 
-
 
115
    mov        eax, 12
113
func  draw_ctx_menu
116
    xor        ebx, ebx 	; mov        ebx, 1
-
 
Line 117... Line 114...
117
    inc        ebx
114
 
118
    int        0x40
115
    mcall 12, 1
119
 
116
 
120
    xor        eax, eax 	; mov        eax, 0
117
    xor        eax, eax 	; mov        eax, 0
Line 131... Line 128...
131
    mov        edi, [system_colours]	     ; sc.frame
128
    mov        edi, [system_colours]	     ; sc.frame
132
    int        0x40
129
    int        0x40
Line 133... Line 130...
133
 
130
 
134
    mov        eax, 8
131
    mov        eax, 8
135
    mov        ebx, 0 * 65536 + 133
132
    mov        ebx, 0 * 65536 + 133
136
    mov        ecx, 22 * 65536 + 16
133
    mov        ecx, 22 * 65536 + 17
137
    mov        edx, 0x40000001
134
    mov        edx, 0x40000001
Line 138... Line 135...
138
    int        0x40
135
    int        0x40
139
 
136
 
140
    mov        eax, 8
137
    ;mov        eax, 8
141
    mov        ebx, 0 * 65536 + 133
138
    ;mov        ebx, 0 * 65536 + 133
-
 
139
    ;mov        ecx, 40 * 65536 + 17
-
 
140
    ;mov        edx, 0x40000002
-
 
141
    ;int        0x40
142
    mov        ecx, 40 * 65536 + 18
142
	mov        ecx, 40 * 65536 + 17
Line 143... Line 143...
143
    mov        edx, 0x40000002
143
	inc        edx
144
    int        0x40
144
    int        0x40
145
 
145
	
Line 157... Line 157...
157
    int        0x40
157
    int        0x40
Line 158... Line 158...
158
 
158
 
159
    mov        ebx, 4 * 65536 + 28
159
    mov        ebx, 4 * 65536 + 28
160
    mov        ecx, 0x80000000
160
    mov        ecx, 0x80000000
161
    mov        edx, ctx_menu_text
-
 
-
 
161
    mov        edx, ctx_menu_text
162
; // Alver 26.08.2007 // {
162
 
163
    int        0x40
163
    int        0x40
164
    add        bx, 18
164
    add        bx, 18
165
    mov        edx, ctx_menu_text2
-
 
-
 
165
    mov        edx, ctx_menu_text2
166
; \begin{diamond}[20.09.2007]
166
 
167
    test       byte [procinfo_for_detect+70], 2
167
    test       byte [procinfo_for_detect+70], 2
168
    jz         @f
168
    jz         @f
169
    mov        edx, ctx_menu_text3
169
    mov        edx, ctx_menu_text3
170
@@:
-
 
171
; \end{diamond}[20.09.2007]
-
 
172
    int        0x40
170
@@:
173
; } \\ Alver \\
-
 
174
    mov        eax, 12
-
 
175
    mov        ebx, ebp 	; mov     ebx, 2
171
 
Line -... Line 172...
-
 
172
    int        0x40
-
 
173
 
176
    int        0x40
174
    mcall 12, 2
Line 177... Line 175...
177
 
175
 
Line 178... Line 176...
178
    ret
176
    ret
179
 
177
 
180
endf
178
endf
181
 
179
 
182
x_coord rw	1
180
x_coord rw	1
183
y_coord rw	1
181
y_coord rw	1
184
n_slot	rd	1
-
 
185
lsz ctx_menu_text,\
-
 
-
 
182
n_slot	rd	1
186
  ru, <"X ‡ ªàëâì    Alt + F4",0>,\
183
lsz ctx_menu_text,\
187
  en, <"X Close      Alt + F4",0>,\
184
  ru, <"X ‡ ªàëâì    Alt + F4",0>,\
188
  et, <"X Sulge      Alt + F4",0>      ; Now correct
185
  en, <"X Close      Alt + F4",0>,\
189
; // Alver 26.08.2007 // {
186
 
190
lsz ctx_menu_text2,\
-
 
191
  ru, <25," ‘¢¥à­ãâì           ",0>,\
187
lsz ctx_menu_text2,\
192
  en, <25," Minimize           ",0>,\
188
  ru, <25," ‘¢¥à­ãâì           ",0>,\
193
; } \\ Alver \\
189
  en, <25," Minimize           ",0>,\
194
; \begin{diamond}[20.09.2007]
-
 
-
 
190
 
195
lsz ctx_menu_text3,\
191
lsz ctx_menu_text3,\
Line 196... Line 192...
196
  ru, <24," ‚®ááâ ­®¢¨âì       ",0>,\
192
  ru, <24," ‚®ááâ ­®¢¨âì       ",0>,\
197
  en, <24," Restore            ",0>
193
  en, <24," Restore            ",0>
198
; \end{diamond}[20.09.2007]
194