Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for tucniak/cuchar/cc_term.c between version 1.2 and 1.3

version 1.2, 2005/11/27 20:14:50 version 1.3, 2005/11/29 18:46:31
Line 1 
Line 1 
 /*  /*
   Name: lc_term.c    Name: cc_term.c
   Author: Michal Sudolsky    Author: Michal Sudolsky <michals@sulysoft.com>
   Date: 22.09.2005 15:45    Date: 22.09.2005 15:45
 */  */
 // modified by Juraj Kolesar <koli@koli.sk>  // modified by Juraj Kolesar <koli@koli.sk>
Line 460  void mrefresh(WIN *win)
Line 460  void mrefresh(WIN *win)
   if(win!=&mainwin)    if(win!=&mainwin)
   {    {
     long x,y,vx,vy,ox,oy;      long x,y,vx,vy,ox,oy;
       bool paint=false,fade=false;
       if(win->extra->type==TP_PAINT)paint=true;
       if(win->extra->type==TP_FADE)fade=true;
     x=0;      x=0;
     y=0;      y=0;
     client_to_screen(win,&x,&y);      client_to_screen(win,&x,&y);
Line 474  void mrefresh(WIN *win)
Line 477  void mrefresh(WIN *win)
       s=x+j*mainwin.vx;        s=x+j*mainwin.vx;
       c=s+vx;        c=s+vx;
       k=ox+(j-y+oy)*win->vx;        k=ox+(j-y+oy)*win->vx;
       for(i=s;i<c;i++,k++)mainwin.windata[i]=win->windata[k];        for(i=s;i<c;i++,k++)
         {
           mainwin.windata[i]=win->windata[k];
           cmap[i].win=win;
           if(paint)cmap[i].paint=win;
         }
     }      }
   }    }
   else    else

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top