mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-13 18:37:08 +03:00
4daae89053
updated sysfunc.txt *programs new icons and logo for CPUID and ICON added new version of @ICON and ICONMNGR fixes in iconedit and calendar from DedOK new algoritm of fill background in pic4 all apps (fasm-writen only) rewriten to use common macros.inc for easy recompile in fastcall mode (there is a bug in https; run need rewrite to use common macros.inc) small fixes in build_all.bat script git-svn-id: svn://kolibrios.org@485 a494cfbc-eb01-0410-851d-a64ba20cac60
54 lines
764 B
PHP
54 lines
764 B
PHP
center fix false
|
|
SYSTEMCOLORS fix sc
|
|
PROCESSINFO fix pinfo
|
|
|
|
macro get_sys_colors wnd_skin,font_1 {
|
|
mcall 48,3,SYSTEMCOLORS,sizeof.system_colors
|
|
if wnd_skin <> 0
|
|
or [SYSTEMCOLORS+system_colors.work],0x03000000
|
|
end if
|
|
if font_1 <> 0
|
|
or [SYSTEMCOLORS+system_colors.grab_text],0x10000000
|
|
end if
|
|
}
|
|
|
|
macro draw_caption _edx,_esi {
|
|
mov edx,_edx
|
|
mov esi,_esi
|
|
call __draw_caption
|
|
}
|
|
|
|
macro mmov reg,a1,a2 {
|
|
mov reg,(a1) shl 16 + (a2)
|
|
}
|
|
|
|
macro madd reg,a1,a2 {
|
|
add reg,(a1) shl 16 + (a2)
|
|
}
|
|
|
|
macro msub reg,a1,a2 {
|
|
sub reg,(a1) shl 16 + (a2)
|
|
}
|
|
|
|
macro jmpe reg,def,[val,lab] {
|
|
forward
|
|
cmp reg,val
|
|
je lab
|
|
common
|
|
if ~def eq
|
|
jmp def
|
|
end if
|
|
}
|
|
|
|
macro func name {
|
|
if used name
|
|
name:
|
|
}
|
|
|
|
macro endf {
|
|
end if
|
|
}
|
|
|
|
@^ fix macro comment {
|
|
^@ fix }
|