TASK PANEL - Using new f18.23 - minimize all windows

git-svn-id: svn://kolibrios.org@2649 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-04-26 14:33:09 +00:00
parent 0d4cc5f003
commit 0a885cad3e
2 changed files with 7 additions and 74 deletions

View File

@ -4,6 +4,11 @@
; ; ; ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; version: 2.23
; last update: 26/04/2012
; changed by: Marat Zakiyanov aka Mario79, aka Mario
; changes: Using new f18.23 - minimize all windows
;------------------------------------------------------------------------------
; version: 2.22 ; version: 2.22
; last update: 20/04/2012 ; last update: 20/04/2012
; changed by: Marat Zakiyanov aka Mario79, aka Mario ; changed by: Marat Zakiyanov aka Mario79, aka Mario
@ -1029,89 +1034,18 @@ align 4
inc edx inc edx
cmp edx, [max_slot] cmp edx, [max_slot]
jbe @b jbe @b
; jmp still
ret ret
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
;align 4
;swap_minimized_desktop:
; xor esi, esi
; inc esi
; jmp min_swap_desktop
;------------------------------------------------------------------------------
align 4 align 4
clean_desktop: clean_desktop:
mov [clean_desktop_minimize],0 mcall 18,23
; xor esi,esi test eax,eax
;--------------------------------------
;align 4
;min_swap_desktop: ; input esi 0 - min, <>0 swap
mov ecx, 2 ; <20> ç «ì­ë© ­®¬¥à á«®â  ¯à®æ¥áá 
mov ebx, process_info_buffer
;--------------------------------------
align 4
.loop1:
cmp ecx, [this_slot]
je .loop1xx
mcall 9
mov [max_slot], eax
mov dx, word [process_info_buffer+50]
cmp dx, 9 ; <20>஢¥àª  ᢮¡®¤¥­ «¨ ¤ ­­ë© á«®â
jz .loop1xx
mov edx, dword [ebx+10]
cmp dl, '@'
je .loop1xx
cmp dword [ebx+10], 'ICON'
jnz @f jnz @f
cmp [ebx+42], dword 51
jnz @f
cmp [ebx+46], dword 51
jz .loop1xx
;--------------------------------------
align 4
@@:
cmp [ebx+10], dword ' '
jz .loop1xx
pusha
mov edx, ecx
xor ecx, ecx
; or esi, esi
; jz @f
movzx eax, byte [process_info_buffer+70]
and eax, 2 ; mask minimize
jnz @f
mov [clean_desktop_minimize],1
; mov ecx, 2 ; restore
mcall 18, 22
;--------------------------------------
align 4
@@:
popa
;--------------------------------------
align 4
.loop1xx:
inc ecx
cmp ecx, [max_slot]
jbe .loop1
cmp [clean_desktop_minimize],1
je @f
call restore_desktop call restore_desktop
ret
;-------------------------------------- ;--------------------------------------
align 4 align 4
@@: @@:
mcall 68,1
mcall 15,3
ret ret
; jmp still
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
align 4 align 4
conversion_HEX_to_ASCII: conversion_HEX_to_ASCII:

View File

@ -32,7 +32,6 @@ draw_flag_certainly rb 1
start_menu_flag rb 1 start_menu_flag rb 1
win_key_flag rb 1 win_key_flag rb 1
clean_desktop_minimize rb 1
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
align 4 align 4
system_colours system_colors ; rd 10 system_colours system_colors ; rd 10