Andrzej Rybczak
9a292ca20d
mpd: make functions take item consumer instead of returning vector of items
14 years ago
Andrzej Rybczak
b57428db90
mdp: remove GetCurrentlyPlayingSongPos
14 years ago
Andrzej Rybczak
f691ab265f
screen: rename BasicScreen to BaseScreen
14 years ago
Andrzej Rybczak
e2c1c6f365
selected items added: fix position in adding after current song
14 years ago
Andrzej Rybczak
14587cb4ec
abstract shared parts of switchTo methods away
14 years ago
Andrzej Rybczak
66b799cd4c
fix compilation with gcc-4.5
14 years ago
Andrzej Rybczak
c4190b6514
rewrite selected items added so it uses sane actions dispatch system
14 years ago
Andrzej Rybczak
830a2832b5
screen: change ScreenType to WindowType and add WindowReference typedef
14 years ago
Andrzej Rybczak
9c29082afe
playlist: define main screen as non-pointer
14 years ago
Andrzej Rybczak
4d6ea660bc
make defining screens with main window type as non-pointer possible
14 years ago
Andrzej Rybczak
1891c1c050
do not initialize screens lazily as it doesn't make much sense
14 years ago
Andrzej Rybczak
9ddfca8f31
playlist: move sorting dialog related functions to separate file
14 years ago
Andrzej Rybczak
fcc097fc76
require a bit bigger screen so all possible dialogs will fit
14 years ago
Andrzej Rybczak
dd7665bb7d
more PascalCase to camelCase conversions
14 years ago
Andrzej Rybczak
c8097a898e
get rid of locale_to_utf where it's not needed anymore
14 years ago
Andrzej Rybczak
c90545b008
move statusbar/progressbar related code to separate file
14 years ago
Andrzej Rybczak
a98df99ba6
playist: do not duplicate now playing information
14 years ago
Andrzej Rybczak
d5e2d315fd
use wstrings uncoditionally where needed
14 years ago
Andrzej Rybczak
8fb88b7181
comparators: generalize objects a bit
14 years ago
Andrzej Rybczak
af2cdca3d0
change naming conventions in NC namespace
14 years ago
Andrzej Rybczak
d47cad1d50
get rid of 'using namespace NCurses' directive
14 years ago
Andrzej Rybczak
6f59a175ec
implement HasSongs interface
14 years ago
Andrzej Rybczak
d8b2d20bdb
menu: move a few methods to Item class
14 years ago
Andrzej Rybczak
7e53654492
menu: implement custom iterator
14 years ago
Andrzej Rybczak
798c9b3121
menu: some member name changing
14 years ago
Andrzej Rybczak
b1c301dc1c
split majority of helpers and rewrite a few heinous functions
14 years ago
Andrzej Rybczak
397783d701
reduce usage of pointers / replace std::pair in SearchEngine
14 years ago
Andrzej Rybczak
a270fc8402
rewrite MPD::Song object
14 years ago
Andrzej Rybczak
77a3c73d9c
make displayed messages more consistent
14 years ago
Andrzej Rybczak
a14b77338d
jump to current song at startup even if it's not currently played
14 years ago
Andrzej Rybczak
f8151904f5
update copyright dates
14 years ago
Andrzej Rybczak
ca956c3da3
update copyright dates
15 years ago
Andrzej Rybczak
bd64052f11
center cursor directly in Menu class
...
centering in Screen::Scroll is hacky and works
only for scrolling, not e.g. selecting.
16 years ago
Frank Blendinger
a3a40b9ba8
fix adding after current track/album when stopped
16 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
7f45d6ec8d
add support for adding tracks to playlist after highlighted item
16 years ago
Andrzej Rybczak
dac2458e1f
rename misc.{cpp,h} to sel_items_adder.{cpp,h}
16 years ago
Andrzej Rybczak
748dade304
fix adding tracks after current album
16 years ago
Frank Blendinger
64f64895ac
hide inact. "cur playlist" entry in selection menu
16 years ago
Frank Blendinger
e9df8062e7
sort playlists in SelectedItemsAdder menu
17 years ago
Andrzej Rybczak
5aaafba545
if there is no selected items, treat the current one as selected
17 years ago
Andrzej Rybczak
03129784d4
new feature: add selected items to playlist at given position
17 years ago
Andrzej Rybczak
495ec25a0a
simplify Clear() in Window and its derivatives
...
it removes argument responsible for immediate refreshing.
since after all calls that were refreshing screen there was
call to Refresh() anyway, this switch doesn't make much sense.
17 years ago
Andrzej Rybczak
dd04406ee5
poll both stdin and mpd using one select()
...
this allows for immediate reading mpd events
17 years ago
Andrzej Rybczak
55173cb419
move local_browser variable from settings to Browser class
17 years ago
Andrzej Rybczak
e5fe4addca
rename option to make it fit to window's title
17 years ago
Andrzej Rybczak
330f19acbb
make adding to main playlist inactive if selected items are from there
17 years ago
Andrzej Rybczak
62ba4ce343
make SelectedItemsAdder::{Width,Height} vars follow the rest of private members
17 years ago
Andrzej Rybczak
4f3040e0ec
move code responsible for adding selected items to playlists to misc.cpp
17 years ago
Andrzej Rybczak
7729fde54d
rename misc.{cpp,h} to conv.{cpp,h}
17 years ago