#pragma noroot #pragma optimize -1 #include #include #include "defines.h" #include extern int strings[6][13]; extern int newnotes; extern int key; extern int notes; extern int strcount; extern int LowFret; extern int HiFret; Rect ClearBox={0,0,160,140}; int array1[6]={20,40,60,80,100,120};// the x pos of the 6 strings int array2[13]={20,30,40,50,60,70,80,90,100,110,120,130,140};// y pos of the 13 fret lines #pragma databank 1 void DrawWindow (void){ int i; int j; int the_note; SetPenMode (modeCopy); //clear the screen SetSolidPenPat(3);//white PaintRect(&ClearBox); //draw the lines of the neck SetSolidPenPat(0);//black SetPenSize (2, 1); for (i=0;i