update_area(dialog->x, dialog->y, dialog->w, dialog->h);
update_area(dialog->x, dialog->y, dialog->w + 4, dialog->h + 4);
ctk_draw_dialog(struct ctk_window *dialog){  unsigned char x, y;  unsigned char i;  unsigned char x1, y1, x2, y2;  /*  textcolor(DIALOGCOLOR);*/  textcolor(VNC_OUT_WINDOWCOLOR + CTK_FOCUS_DIALOG);  x = dialog->x;  y = dialog->y + 1;  x1 = x + 1;  y1 = y + 1;  x2 = x1 + dialog->w;  y2 = y1 + dialog->h;  /* Draw dialog frame. */    for(i = y1; i < y1 + dialog->h; ++i) {    cputcxy(x, i, CH_DIALOGLBORDER);    cputcxy(x2, i, CH_DIALOGRBORDER);  }  /*  cvlinexy(x, y1,	   dialog->h);  cvlinexy(x2, y1,  dialog->h);*/    for(i = x1; i < x2; ++i) {    cputcxy(i, y, CH_DIALOGUPPERBORDER);    cputcxy(i, y2, CH_DIALOGLOWERBORDER);  }    /*  chlinexy(x1, y,	   dialog->w);  chlinexy(x1, y2,  dialog->w);*/  cputcxy(x, y, CH_DIALOG_ULCORNER);  cputcxy(x, y2, CH_DIALOG_LLCORNER);  cputcxy(x2, y, CH_DIALOG_URCORNER);  cputcxy(x2, y2, CH_DIALOG_LRCORNER);      /* Clear dialog contents. */  for(i = y1; i < y2; ++i) {    cclearxy(x1, i, dialog->w);  }  draw_window_contents(dialog, CTK_FOCUS_DIALOG, 0, sizey,		       x1, x2, y1, y2);  update_area(dialog->x, dialog->y, dialog->w, dialog->h);}