Subversion Repositories Kolibri OS

Rev

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

Rev 4400 Rev 4631
Line 1... Line 1...
1
;*****************************************************************************
1
;*****************************************************************************
2
; KFM - Kolibri File Manager
2
; KFM - Kolibri File Manager
3
; Copyright (c) 2006 - 2013, Marat Zakiyanov aka Mario79, aka Mario
3
; Copyright (c) 2006 - 2014, Marat Zakiyanov aka Mario79, aka Mario
4
; All rights reserved.
4
; All rights reserved.
5
;
5
;
6
; Redistribution and use in source and binary forms, with or without
6
; Redistribution and use in source and binary forms, with or without
7
; modification, are permitted provided that the following conditions are met:
7
; modification, are permitted provided that the following conditions are met:
8
;        * Redistributions of source code must retain the above copyright
8
;        * Redistributions of source code must retain the above copyright
Line 23... Line 23...
23
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
;*****************************************************************************
27
;*****************************************************************************
28
; KFM v0.47i 24/12/2013
28
; KFM v0.47j 12/03/2014
29
;---------------------------------------------------------------------
29
;---------------------------------------------------------------------
30
use32
30
use32
31
org	0x0
31
org	0x0
Line 32... Line 32...
32
 
32
 
Line 81... Line 81...
81
    mov   [read_folder_1_name],ax
81
    mov   [read_folder_1_name],ax
82
    call  load_icon_and_convert_to_img
82
    call  load_icon_and_convert_to_img
83
    call  load_buttons_and_convert_to_img
83
    call  load_buttons_and_convert_to_img
84
    call  load_initiation_file
84
    call  load_initiation_file
85
    call  add_memory_for_folders
85
    call  add_memory_for_folders
86
    call  device_detect
-
 
87
    call  device_detect_f70
86
    call  device_detect_f70
88
    call  select_starting_directories
87
    call  select_starting_directories
89
    mcall 66, 1, 1
88
    mcall 66, 1, 1
90
;    call  draw_window
89
;    call  draw_window
91
;    xor   eax,eax
90
;    xor   eax,eax
Line 241... Line 240...
241
    call  draw_left_sort_button
240
    call  draw_left_sort_button
242
    call  draw_right_select_disk_button
241
    call  draw_right_select_disk_button
243
    call  draw_right_sort_button
242
    call  draw_right_sort_button
244
    call  draw_menu_bar
243
    call  draw_menu_bar
245
    call  draw_buttons_panel
244
    call  draw_buttons_panel
246
    call  draw_ATAPI_tray_control
245
;    call  draw_ATAPI_tray_control
Line 247... Line 246...
247
    
246
    
248
;    mcall 47,0x80000,[left_scroll_compens],<300, 5>,0xffffff
247
;    mcall 47,0x80000,[left_scroll_compens],<300, 5>,0xffffff
249
;    call  mouse.draw_data
248
;    call  mouse.draw_data
250
;    mcall 18, 7
249
;    mcall 18, 7
Line 458... Line 457...
458
;---------------------------------------------------------------------
457
;---------------------------------------------------------------------
459
include   'openfile.inc'
458
include   'openfile.inc'
460
;---------------------------------------------------------------------
459
;---------------------------------------------------------------------
461
include   'draw.inc'
460
include   'draw.inc'
462
;---------------------------------------------------------------------
461
;---------------------------------------------------------------------
-
 
462
include   'drw_dbut.inc'
-
 
463
;---------------------------------------------------------------------
463
include   'menu_bar.inc'
464
include   'menu_bar.inc'
464
;---------------------------------------------------------------------
465
;---------------------------------------------------------------------
465
include   'menu_drv.inc'
466
include   'menu_drv.inc'
466
;---------------------------------------------------------------------
467
;---------------------------------------------------------------------
467
include   'delete.inc'
468
include   'delete.inc'