Ignore:
Timestamp:
Nov 29, 2009, 1:48:53 PM (13 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Moved modal windows flags to struct modal
File:
1 edited

Legend:

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

    r4057 r4063  
    189189
    190190
    191     debug("Current pty is %d\n", screen_list->pty);
    192 
    193191    screen_list->width = caca_get_canvas_width(screen_list->cv);
    194192    screen_list->height =
    195         caca_get_canvas_height(screen_list->cv) - (screen_list->mini * 6) -
    196         screen_list->status;
     193        caca_get_canvas_height(screen_list->cv) - (screen_list->modals.mini * 6) -
     194        screen_list->modals.status;
    197195
    198196    if (!screen_list->dont_update_coords)
     
    216214
    217215
    218     if (screen_list->mini)
     216    if (screen_list->modals.mini)
    219217    {
    220218        draw_thumbnails(screen_list);
    221219    }
    222     if (screen_list->status)
     220    if (screen_list->modals.status)
    223221    {
    224222        draw_status(screen_list);
    225223    }
    226     if (screen_list->help)
     224    if (screen_list->modals.help)
    227225    {
    228226        draw_help(screen_list);
    229227    }
    230     if (screen_list->window_list)
     228    if (screen_list->modals.window_list)
    231229    {
    232230        draw_list(screen_list);
    233231    }
    234232#ifdef USE_PYTHON
    235     if(screen_list->python_command)
     233    debug("py : command is %d (at %p)\n", screen_list->modals.python_command, &screen_list->modals.python_command);
     234    if(screen_list->modals.python_command)
    236235    {
    237236        draw_python_command(screen_list);   
Note: See TracChangeset for help on using the changeset viewer.