Ignore:
Timestamp:
Mar 16, 2008, 12:52:51 PM (11 years ago)
Author:
Sam Hocevar
Message:
  • Fix spelling errors all over the place.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/jwindow.cpp

    r111 r112  
    235235void window_manager::move_window(jwindow *j, int x, int y)
    236236{
    237   jwindow *p;
    238   screen->add_dirty(j->x,j->y,j->x+j->l-1,j->y+j->h-1);
    239   for (p=first;p!=j;p=p->next)
    240     p->screen->add_dirty(j->x-p->x,j->y-p->y,j->x+j->l-1-p->x,j->y+j->h-1-p->y);
    241   j->x=x;
    242   j->y=y;
    243   j->screen->add_dirty(0,0,j->l-1,j->h-1);
     237    screen->add_dirty(j->x, j->y, j->x + j->l - 1, j->y + j->h - 1);
     238    for(jwindow *p = first; p != j; p = p->next)
     239        p->screen->add_dirty(j->x - p->x, j->y - p->y, j->x + j->l - 1 - p->x,
     240                             j->y + j->h - 1 - p->y);
     241    j->x = x;
     242    j->y = y;
     243    j->screen->add_dirty(0, 0, j->l - 1, j->h - 1);
    244244}
    245245
     
    483483        if (right_border() >= 1)
    484484        {
    485             screen->wiget_bar (0, 0, l - 1, h - 1, hi, med, low);
     485            screen->widget_bar (0, 0, l - 1, h - 1, hi, med, low);
    486486            if (right_border() >= 3)
    487                 screen->wiget_bar (right_border() - 1, top_border() - 1,
     487                screen->widget_bar (right_border() - 1, top_border() - 1,
    488488                                l - left_border(), h - bottom_border(), low,
    489489                                med, hi);
     
    495495      screen->rectangle (2, 2, top_border() - 2, top_border() - 3,
    496496                           wm->black ());
    497       screen->wiget_bar (3, 3, top_border() - 3, top_border() - 4, hi, med, low);     // draws the 'close' button
     497      screen->widget_bar (3, 3, top_border() - 3, top_border() - 4, hi, med, low);     // draws the 'close' button
    498498    }
    499499 
     
    502502      if (right_border() >= 1)
    503503        {
    504           screen->wiget_bar (0, 0, l - 1, h - 1, hi, med, low);
     504          screen->widget_bar (0, 0, l - 1, h - 1, hi, med, low);
    505505          if (right_border() >= 3)
    506             screen->wiget_bar (right_border() - 1, jw_top + 4,
     506            screen->widget_bar (right_border() - 1, jw_top + 4,
    507507                                l - left_border(), h - bottom_border(), low,
    508508                                med, hi);
     
    513513        }
    514514      screen->rectangle (1, 1, 4, 4, wm->black ());
    515       screen->wiget_bar (2, 2, 3, 3, hi, med, low);   // draws the 'close' button
     515      screen->widget_bar (2, 2, 3, 3, hi, med, low);   // draws the 'close' button
    516516    }
    517517  if (_name && _name[0])
Note: See TracChangeset for help on using the changeset viewer.