gotoxy(wherex() + window->titlelen + 2, wherey());
gotoxy(wherex() + window->titlelen + CTK_CONF_WINDOWMOVE * 2, wherey());
s_ctk_draw_window(struct ctk_window *window, unsigned char focus,		  unsigned char clipy1, unsigned char clipy2,		  unsigned char draw_borders){  unsigned char x, y;  unsigned char h;  unsigned char x1, y1, x2, y2;    if(window->y + 1 >= clipy2) {    return;  }      x = window->x & 0xfe;  y = window->y + 1;  /*  if(focus & CTK_FOCUS_WINDOW) {  } else {  }*/  x1 = x + 1;  y1 = y + 1;  x2 = x1 + window->w;  y2 = y1 + window->h;  /* Draw window frame. */  gotoxy(x, y);  ctk_80col_windowparams.w = (window->w-1)/2;  ctk_80col_windowparams.h = window->h;  if(clipy1 < y) {    ctk_80col_windowparams.clipy1 = 0;  } else {    ctk_80col_windowparams.clipy1 = clipy1 - y;  }  ctk_80col_windowparams.clipy2 = clipy2 - y + 1;  ctk_80col_windowparams.color1 = ctk_80col_theme.windowcolors[focus];  ctk_80col_windowparams.color2 = ctk_80col_theme.windowcolors[focus];  ctk_80col_windowparams.titlecolor = ctk_80col_theme.windowcolors[focus+1];  ctk_80col_windowparams.title = window->title;  ctk_80col_windowparams.titlelen = window->titlelen/2;  if(ctk_80col_windowparams.clipy1 < ctk_80col_windowparams.clipy2 &&     ctk_80col_windowparams.clipy2 > 0) {    ctk_80col_draw_windowborders();  }  /*    if(y >= clipy1) {    cputcxy(x, y, CH_ULCORNER);    gotoxy(wherex() + window->titlelen + 2, wherey());    chline(window->w - (wherex() - x) - 2);    cputcxy(x2, y, CH_URCORNER);  }  h = window->h;    if(clipy1 > y1) {    if(clipy1 - y1 < h) {      h = clipy1 - y1;            y1 = clipy1;    } else {      h = 0;    }  }  if(clipy2 < y1 + h) {    if(y1 >= clipy2) {      h = 0;    } else {      h = clipy2 - y1;    }  }  cvlinexy(x, y1, h);  cvlinexy(x2, y1, h);    if(y + window->h >= clipy1 &&     y + window->h < clipy2) {    cputcxy(x, y2, CH_LLCORNER);    chlinexy(x1, y2, window->w);    cputcxy(x2, y2, CH_LRCORNER);  }  */  if(ctk_mode_get() != CTK_MODE_WINDOWMOVE) {    draw_window_contents(window, focus, clipy1, clipy2,			 x1, x2, y + 1, y2);  }}