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;  y = window->y + 1;  x1 = x + 1;  y1 = y + 1;  x2 = x1 + window->w;  y2 = y1 + window->h;  if(draw_borders) {      /* Draw window frame. */    if(focus & CTK_FOCUS_WINDOW) {      textcolor(WINDOWCOLOR_FOCUS);    } else {      textcolor(WINDOWCOLOR);    }    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);    }  }  draw_window_contents(window, focus, clipy1, clipy2,		       x1, x2, y + 1, y2);}