Andrzej Rybczak
b21ede24f4
move searching to Menu class, also remember last constraint
...
this improvement also make that list of found items is not cleared
if one switches to another screen. it's remebered until the content
of screen changes (e.g. item is deleted from playlist)
2009-03-07 18:23:31 +01:00
Andrzej Rybczak
a4599fffe7
speed up browsing media library
...
the way media library was searching for albums
was wrong and by the way totally inefficient.
2009-03-07 12:26:16 +01:00
Andrzej Rybczak
ea973b6b4a
put classes related to ncurses into NCurses namespace
2009-03-05 17:43:13 +01:00
Andrzej Rybczak
c1ba3bc4ba
apply filter only if the previously applied one was different
2009-02-19 17:01:26 +01:00
Andrzej Rybczak
c827c88993
use ncurses pad instead of ncurses window by default
2009-02-18 21:45:54 +01:00
Andrzej Rybczak
5d2daab416
new feature: apply filter to screen (Ctrl-F)
...
if one applies a filter, only items that contain this
filter will be displayed. works on all screens.
2009-02-17 17:57:55 +01:00
Andrzej Rybczak
2cb9b46135
use vector of pointers to options rather than vector of options
...
this way I can implement options filtering with much less effort.
2009-02-17 10:03:21 +01:00
Andrzej Rybczak
43a8e2284e
provide generic interface for dealing with selected items
2009-02-16 18:20:45 +01:00
Andrzej Rybczak
b43d4dddeb
throw away unneeded code
2009-02-15 22:28:04 +01:00
Andrzej Rybczak
f9f5149b76
includes cleaning
2009-02-10 12:19:59 +01:00
Andrzej Rybczak
791daa1f7e
clear window only if last element is deleted
2009-01-30 19:01:22 +01:00
Andrzej Rybczak
1244223919
if menu is empty, clear it
...
before this if the only element was removed from menu, it was still displayed.
2009-01-22 14:32:42 +01:00
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
2009-01-17 00:52:08 +01:00
Andrzej Rybczak
2db104f2e1
do not attempt to get/select/whatever item from an empty menu
2008-12-28 21:13:04 +01:00
Andrzej Rybczak
c71f07df6d
eliminate remained compiler warnings
2008-12-12 22:50:22 +01:00
Andrzej Rybczak
aac3ce17ee
check if highlighted position is visible
2008-12-12 22:38:08 +01:00
Andrzej Rybczak
0ec93e2d2e
consider highlighEnabled value in Menu::Refresh()
2008-12-11 18:32:14 +01:00
Andrzej Rybczak
563c4530aa
update Window::WriteXY() and related stuff
2008-12-11 15:08:56 +01:00
Andrzej Rybczak
284dd6a5be
update Menu class and related stuff
2008-12-10 17:34:55 +01:00
Andrzej Rybczak
c03bcbe44b
remove color parser / update Window, Scrollpad class and related stuff
2008-12-09 16:40:04 +01:00
unK
48ba7cbcf2
another code clean-ups
2008-10-07 23:04:26 +02:00
unK
f8727b0a10
fix various compiler warnings and a few minor bugs
2008-10-05 00:26:02 +02:00
unK
0d5032c452
support for adding items like in ncmpc (disabled by default)
2008-09-25 20:08:47 +02:00
unK
c54de64176
new option for song format - right align (thx to Nathan Jones)
2008-09-13 21:59:05 +02:00
unK
0060450b10
fixes
2008-09-13 15:46:33 +02:00
unK
226702f23a
simplify adding options in Menu class
2008-09-10 11:06:01 +02:00
unK
e36bf0a3cc
use std::pair instead of two different containters
2008-09-10 10:50:59 +02:00
unK
ecdf23f06a
add albums' editor screen (quite experimental for now)
2008-09-06 22:33:35 +02:00
unK
c997e13091
classes cleaning
2008-09-05 10:17:47 +02:00
unK
5e7e0931a6
start option numeration from 0 instead of 1 (1 was really stupid idea)
2008-09-05 08:33:18 +02:00
unK
9c3bd9dfb7
fix bug in refreshing menus and adding songs from library screen
2008-09-05 03:06:01 +02:00
unK
3b562d5a37
add playlist mode switcher (and some clean-ups ofc)
2008-09-04 04:34:30 +02:00
unK
c2225172fb
use mkdir() instead of system() + a few clean-ups
2008-09-04 01:03:29 +02:00
unK
d7b635e276
support for columns view in playlist
2008-09-03 11:04:21 +02:00
unK
3bdac53feb
fix for bug with colors, more clean-ups
2008-09-03 03:02:20 +02:00
unK
723de0687e
class Menu is template now / bunch of code clean-ups.
2008-09-03 01:16:26 +02:00
unK
a37882f62a
code clean-ups
2008-09-02 03:53:13 +02:00
unK
3e3f16540b
playlists management support and playlist editor screen added
2008-09-01 09:22:57 +02:00
unK
f8f414d93a
add multiple items selection on playlist screen and nested colors support
2008-08-31 04:09:07 +02:00
unK
e4b80d5ac8
'repeat one song' mode added + memleak fix and some code clean-ups
2008-08-27 15:55:01 +02:00
unknown
8deaa0a9e3
correct playlist clearing
2008-08-15 12:15:34 +02:00
unknown
8bb730ff12
optimization of scrolling and redrawing windows
2008-08-13 06:35:03 +02:00
unknown
2b4518c157
add find forward/backward option + some optimizations and code clean-ups
2008-08-12 06:02:18 +02:00
unknown
7783f9b3f5
new screen (media library), some fixes etc.
2008-08-08 20:40:04 +02:00
unknown
6315a6c7ec
repo starts
2008-08-04 22:20:45 +02:00