Refactor subwin sizing and disabled wrapping

This commit is contained in:
James Booth
2014-11-10 22:47:53 +00:00
parent 04bacdcf38
commit 5d59d17642
5 changed files with 94 additions and 39 deletions

View File

@@ -82,7 +82,7 @@ typedef struct prof_win_t {
DataForm *form;
} ProfWin;
ProfWin* win_create(const char * const title, int cols, win_type_t type);
ProfWin* win_create(const char * const title, win_type_t type);
void win_free(ProfWin *window);
void win_update_virtual(ProfWin *window);
void win_move_to_end(ProfWin *window);
@@ -104,5 +104,7 @@ void win_save_newline(ProfWin *window);
void win_redraw(ProfWin *window);
void win_hide_subwin(ProfWin *window);
void win_show_subwin(ProfWin *window);
int win_main_width(void);
void win_printline_nowrap(WINDOW *win, char *msg);
#endif