Subversion Repositories Kolibri OS

Rev

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

Rev 3634 Rev 4260
Line 1... Line 1...
1
; Run with OpenDialog ;
1
; Run with OpenDialog ;
2
; this source can be compiled ;
-
 
3
   ; with FASM or NASM ;
-
 
-
 
2
 
-
 
3
 
Line 4... Line 4...
4
 
4
 
5
org 0
5
org 0
Line 6... Line 6...
6
use32
6
use32
Line 150... Line 150...
150
        jne .no_key_enter
150
        jne .no_key_enter
151
        call on_button_run
151
        call on_button_run
152
        jmp .loop
152
        jmp .loop
153
; ----------------------- ;
153
; ----------------------- ;
154
.no_key_enter:
154
.no_key_enter:
-
 
155
        cmp ah, 185
-
 
156
        jne .no_key_insert
-
 
157
        call on_button_browse
-
 
158
        jmp .loop
-
 
159
.no_key_insert:        
155
        push edit1
160
        push edit1
156
        call [edit_box_key]
161
        call [edit_box_key]
157
        jmp .loop
162
        jmp .loop
158
; ----------------------- ;
163
; ----------------------- ;
159
.check_button:
164
.check_button:
Line 611... Line 616...
611
.blur_border_color  dd 0
616
.blur_border_color  dd 0
612
.text_color         dd 0
617
.text_color         dd 0
613
.max                dd 4096
618
.max                dd 4096
614
.text               dd 0
619
.text               dd 0
615
.mouse_variable     dd 0
620
.mouse_variable     dd 0
616
.flags              dd 2
621
.flags              dd 0x4002 ; always focus
617
.size               dd 0
622
.size               dd 0
618
.pos                dd 0
623
.pos                dd 0
619
.offset             dd 0
624
.offset             dd 0
620
.cl_curs_x          dd 0
625
.cl_curs_x          dd 0
621
.cl_curs_y          dd 0
626
.cl_curs_y          dd 0