REM ***********************************************
REM Title: Box Outline
REM Author: Phaelax
REM Downloaded from: http://dbcc.zimnox.com/
REM ***********************************************
 
REM ========================================
REM Draws a box outline of a given thickness
REM Thickness of outline is inclusive to the
REM box coordinates specified
REM ========================================
function drawOutline(x1,y1,x2,y2,thickness)
   box x1,y1,x2,y1+thickness
   box x1,y2-thickness,x2,y2
   box x1,y1+thickness,x1+thickness,y2-thickness
   box x2-thickness,y1+thickness,x2,y2-thickness
endfunction