Resize file window so that it can display full directory
This commit is contained in:
parent
ad03a04979
commit
ee52411954
1 changed files with 4 additions and 6 deletions
10
shell.asm
10
shell.asm
|
@ -53,9 +53,9 @@ initialize:
|
|||
|
||||
; Initialize file window but don't show it
|
||||
mov word [windows + 1*window.size + window.width], 40
|
||||
mov word [windows + 1*window.size + window.height], 4
|
||||
mov word [windows + 1*window.size + window.x], 14
|
||||
mov word [windows + 1*window.size + window.y], 6
|
||||
mov word [windows + 1*window.size + window.height], 16
|
||||
mov word [windows + 1*window.size + window.x], 10
|
||||
mov word [windows + 1*window.size + window.y], 4
|
||||
mov word [windows + 1*window.size + window.data], file_window
|
||||
mov byte [windows + 1*window.size + window.icon], 0
|
||||
mov byte [windows + 1*window.size + window.mouse_released_inside], 0
|
||||
|
@ -615,9 +615,7 @@ file_window:
|
|||
db 'A', 0x0f, ':', 0x0f
|
||||
times 37 db ' ', 0x0f
|
||||
db 'x', 0x0f
|
||||
times 40 db ' ', 0xf0
|
||||
times 40 db ' ', 0xf0
|
||||
times 40 db ' ', 0xf0
|
||||
times 15*40 db ' ', 0xf0
|
||||
|
||||
windows:
|
||||
times window.size db 0
|
||||
|
|
Loading…
Reference in a new issue