Changeset 2ce3688 for menu/lxdialog


Ignore:
Timestamp:
10/03/2015 12:10:42 PM (9 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
2.4, ablfs-more, legacy, new_features, trunk
Children:
e4b1293
Parents:
6f48f76
Message:

Adapt menu to ncurses ABI 6, and clear a warning

Location:
menu/lxdialog
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • menu/lxdialog/menubox.c

    r6f48f76 r2ce3688  
    270270                 box_y, box_x+item_x+1, menu_height);
    271271
     272    wbkgdset (dialog, 0);
    272273    print_buttons (dialog, height, width, 0);
     274    wbkgdset (dialog, dialog_attr & A_COLOR);
    273275    wmove (menu, choice, item_x+1);
    274276    wrefresh (menu);
     
    391393                        ? 2 : (button > 2 ? 0 : button);
    392394
     395            wbkgdset (dialog, 0);
    393396            print_buttons(dialog, height, width, button);
     397            wbkgdset (dialog, dialog_attr & A_COLOR);
    394398            wrefresh (menu);
    395399            break;
  • menu/lxdialog/textbox.c

    r6f48f76 r2ce3688  
    118118        waddch (dialog, ' ');
    119119    }
     120    wbkgdset (dialog, 0);
    120121    print_button (dialog, " Exit ", height - 2, width / 2 - 4, TRUE);
     122    wbkgdset (dialog, dialog_attr & A_COLOR);
    121123    wnoutrefresh (dialog);
    122124    getyx (dialog, cur_y, cur_x);       /* Save cursor position */
Note: See TracChangeset for help on using the changeset viewer.