aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen_browser.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* screen: export the global variable "screen"Max Kellermann2008-10-031-1/+1
| | | | | screen_t is a singleton. We do not have to pass it around everywhere. Export the one global variable.
* code style, indent with tabs XIMax Kellermann2008-10-031-2/+0
| | | | Follow the same code style als MPD itself.
* list_window: remove list_window_state_tMax Kellermann2008-10-031-1/+0
| | | | | | | | We do not need to save a stack of list window states. When we return to a parent directory, we just have to find the directory which we come from in the parent list. Note that this patch resets the cursor when going to the root directory, but I think it's not that important, and I will deal with that later.
* screen_browser: unexport command implementationsMax Kellermann2008-10-021-18/+0
| | | | | | When we created created browser_cmd(), several functions of the screen_browser API weren't used by other sources anymore. We can now unexport them.
* screen_browser: added browser_cmd()Max Kellermann2008-10-021-0/+6
| | | | Merge a lot of code from the 3 browser screen into browser_cmd().
* screen_browser: added hotkey for adding songMax Kellermann2008-09-251-0/+3
| | | | | CMD_ADD ('a') appends a song to the playlist, no matter if it is already there, i.e. unlike CMD_SELECT, it does not toggle the song.
* screen_browser: moved code to browser_select_entry()Max Kellermann2008-09-181-1/+2
| | | | | | Moved code from browser_handle_select(). Call this new function also from browser_handle_select_all(). This fixes a bug in select_all(): it actually did not select all, but stopped after the first song.
* screen_browser: moved code to browser_playlist_changed()Max Kellermann2008-09-181-5/+5
| | | | | Merge code from all 3 browser screens into one generic browser function.
* screen_browser: moved code to screen_browser.cMax Kellermann2008-09-181-20/+46
| | | | Isolate the generic browser code from the directory browser.
* screen_browser: added struct screen_browserMax Kellermann2008-09-181-0/+6
| | | | | We are going to separate the browser functions from screen_file.c. Move all variables which are going to be needed by this code.
* renamed screen_browse.h to screen_browser.hMax Kellermann2008-09-181-0/+34