From 178efa865c97d727469505d87bafee80ca774469 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Wed, 2 Apr 2014 23:18:37 +0000 Subject: [PATCH] Netstat: remove unnecessary comments git-svn-id: svn://kolibrios.org@4737 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/network/netstat/netstat.asm | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/programs/network/netstat/netstat.asm b/programs/network/netstat/netstat.asm index 6b6af2edbb..05e06a661b 100644 --- a/programs/network/netstat/netstat.asm +++ b/programs/network/netstat/netstat.asm @@ -29,17 +29,13 @@ use32 include '../../macros.inc' include '../../network.inc' -macro DrawRect x, y, w, h, color -{ - ; DrawBar(x,y,w,1,color1); - ; DrawBar(x,y+h,w,1,color1); - ; DrawBar(x,y,1,h,color1); - ; DrawBar(x+w,y,1,h+1,color1); - mcall 13, x shl 16 + w, y shl 16 + 1, color ; top - mcall , x shl 16 + 1, y shl 16 + h, color ; left - mcall , (x+w) shl 16 +1, y shl 16 + (h+1), color ; right - mcall , x shl 16 + w, (y+h) shl 16 + 1, color ; bottom +macro DrawRectangle x, y, w, h, color +{ + mcall 13, x shl 16 + w, y shl 16 + 1, color ; top + mcall , x shl 16 + 1, y shl 16 + h, color ; left + mcall , (x+w) shl 16 +1, y shl 16 + (h+1), color ; right + mcall , x shl 16 + w, (y+h) shl 16 + 1, color ; bottom } @@ -50,7 +46,7 @@ window_redraw: mcall 12, 1 mcall 0, 100 shl 16 + 600, 100 shl 16 + 240, 0x34E1E1E1, , name ; draw window mcall 12, 2 - DrawRect 0, 25, 400, 180, 0x777777 + DrawRectangle 0, 25, 400, 180, 0x777777 redraw: mcall 13, 1 shl 16 + 399, 26 shl 16 + 179, 0x00F3F3F3