|
|
|
@ -113,9 +113,7 @@ void GraphBrowser::initLayout()
|
|
|
|
|
menu_subwindow_ = derwin(current_win_, window_height-2, current_window_width-2, 1, 1);
|
|
|
|
|
assert(menu_subwindow_);
|
|
|
|
|
r = set_menu_sub(menu_, menu_subwindow_);
|
|
|
|
|
assert(r == E_OK);
|
|
|
|
|
r = set_menu_format(menu_, window_height-2, 1);
|
|
|
|
|
assert(r == E_OK); // @bug NOT connected
|
|
|
|
|
assert(r == E_NOT_CONNECTED); // No items are connected to the menu.
|
|
|
|
|
r = set_menu_mark(menu_, " ");
|
|
|
|
|
assert(r == E_OK);
|
|
|
|
|
|
|
|
|
@ -152,9 +150,8 @@ void GraphBrowser::initLayout()
|
|
|
|
|
r = wrefresh(n_of_n_win_);
|
|
|
|
|
assert(r == OK);
|
|
|
|
|
|
|
|
|
|
// bottom text
|
|
|
|
|
/// @note should we assert as a minimum width?
|
|
|
|
|
mvprintw(term_max_y_-1, 0, "ESC:exit, cursors:navigate, d/i:del/ins edge, D/I:del/ins node");
|
|
|
|
|
r = mvprintw(term_max_y_-1, 0, "ESC:exit, cursors:navigate, d/i:del/ins edge, D/I:del/ins node");
|
|
|
|
|
assert(r == OK);
|
|
|
|
|
r = refresh();
|
|
|
|
|
assert(r == OK);
|
|
|
|
|
}
|
|
|
|
|