diff options
| -rw-r--r-- | fm.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -40,14 +40,10 @@ void magic_cleanup(void) static fm_info *fm_w_init(terminal *term); static void fm_file_list_init(file_list *l, int cap); static void fm_file_items_realloc(file_list *l); -/* static void get_next_dir(fm_info *f); */ static char *detect_file_type(const char *filepath); bool fm_preview_file(window *w, const char *path); -/* static void fm_print_preview_content(window *w, const char *path); */ -/* static void fm_calc_scroll(int maxy, int entries_count, ) */ /* Functions */ - static fm_info *fm_w_init(terminal *term) { @@ -200,15 +196,6 @@ bool fm_preview_file(window *w, const char *path) return true; } -static void fm_print(window *win, const char *name, int y, int print_width, - int color_pair) -{ - - wattron(win->win, COLOR_PAIR(color_pair)); - mvwprintw(win->win, y, 0, "%-*.*s", print_width, print_width, name); - wattroff(win->win, COLOR_PAIR(color_pair)); -} - void fm_draw_entries(window *window, file_list *list, size_t cursor, int top, int bottom) { |
