Changeset 3937 for neercs


Ignore:
Timestamp:
Nov 18, 2009, 3:21:02 PM (10 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Reindent properly
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/wm.c

    r3936 r3937  
    207207    {
    208208        caca_set_color_ansi(screen_list->cv, CACA_LIGHTGREEN, CACA_BLACK);
    209     }   
    210 }
    211 
    212 static void wm_box(struct screen_list *screen_list, int pty) 
     209    }
     210}
     211
     212static void wm_box(struct screen_list *screen_list, int pty)
    213213{
    214214    caca_draw_cp437_box(screen_list->cv,
     
    217217                        screen_list->screen[pty]->w + 2,
    218218                        screen_list->screen[pty]->h + 2);
    219    
     219
    220220    if (screen_list->screen[screen_list->pty]->title)
    221221    {
     
    229229}
    230230
    231 static void wm_blit_current_screen(struct screen_list* screen_list)
     231static void wm_blit_current_screen(struct screen_list *screen_list)
    232232{
    233233    if (screen_list->screen[screen_list->pty]->changed || screen_list->changed)
     
    256256    }
    257257
    258         wm_blit_current_screen(screen_list);
     258    wm_blit_current_screen(screen_list);
    259259    wm_bell(screen_list);
    260         wm_box(screen_list, screen_list->pty);   
    261 }
    262 
     260    wm_box(screen_list, screen_list->pty);
     261}
    263262
    264263void wm_refresh_full(struct screen_list *screen_list)
    265264{
    266265    wm_blit_current_screen(screen_list);
    267         wm_bell(screen_list);
    268         wm_box(screen_list, screen_list->pty); 
     266    wm_bell(screen_list);
     267    wm_box(screen_list, screen_list->pty);
    269268}
    270269
     
    283282                      screen_list->screen[i]->cv, NULL);
    284283
    285                         wm_box(screen_list, i);
    286         }
    287     }
    288 
    289         wm_blit_current_screen(screen_list);
    290         wm_bell(screen_list);
    291     wm_box(screen_list, screen_list->pty); 
     284            wm_box(screen_list, i);
     285        }
     286    }
     287
     288    wm_blit_current_screen(screen_list);
     289    wm_bell(screen_list);
     290    wm_box(screen_list, screen_list->pty);
    292291}
    293292
     
    306305                      screen_list->screen[i]->cv, NULL);
    307306
    308                         wm_box(screen_list, i);
    309         }
    310     }
    311 
    312         wm_blit_current_screen(screen_list);
    313         wm_bell(screen_list);
    314     wm_box(screen_list, screen_list->pty); 
     307            wm_box(screen_list, i);
     308        }
     309    }
     310
     311    wm_blit_current_screen(screen_list);
     312    wm_bell(screen_list);
     313    wm_box(screen_list, screen_list->pty);
    315314}
    316315
     
    459458            caca_canvas_t *second = screen_list->screen[screen_list->pty]->cv;
    460459
    461 
    462460            draw_face(screen_list->cv,
    463461                      cube_projected[0][0], cube_projected[0][1],
Note: See TracChangeset for help on using the changeset viewer.