moved code here. still needs to update gh

This commit is contained in:
klein panic
2025-02-24 15:18:44 -05:00
parent 9ca9f577a4
commit 2726432fe1
106 changed files with 4816 additions and 0 deletions

14
mpvd/include/ui.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef UI_H
#define UI_H
#include <ncurses.h>
void init_ncurses();
void end_ncurses();
void display_songs(WINDOW *win, char **songs, int song_count, int selected);
void display_controls(WINDOW *control_win, int is_playing);
// Update handle_input to accept current_directory
void handle_input(int ch, char **songs, int *selected_song, int *song_count, WINDOW *song_win, WINDOW *control_win, int *is_playing, char *current_directory);
#endif