Andrzej Rybczak
d962653c76
make feature 'display separators between albums' work in all screens
2010-07-12 09:14:15 +02:00
Andrzej Rybczak
b01801ea22
update playlist's timer while scrolling with fancy_scrolling disabled
...
not updating it caused highlight to be disabled
during scrolling if key was being held long enough.
2010-02-05 17:19:53 +01:00
Andrzej Rybczak
bd64052f11
center cursor directly in Menu class
...
centering in Screen::Scroll is hacky and works
only for scrolling, not e.g. selecting.
2010-02-05 15:49:20 +01:00
Andrzej Rybczak
e59c5613d3
fix disabled fancy_scrolling with enabled centered_cursor
2010-01-31 16:55:33 +01:00
Andrzej Rybczak
08daa61907
update copyright notices
2010-01-30 16:24:24 +01:00
Frank Blendinger
b504b346af
screen_switcher between current and last screen
...
Setting the new config variable "screen_switcher_browser_only" to "no"
will make the "key_screen_switcher" key switch between the current and
the last used screen, sort of like the Alt+Tab window switching
mechanism in many window managers.
This (intendedly) works only for the "main" screens (playlist, browser,
media library, etc.) and not for info/lyrics/server info. Those screens
can be closed with the screen_switcher key, but the will not be
remembered.
indentation correction in config
2009-12-09 00:24:15 +01:00
Andrzej Rybczak
3b7f19f095
new feature: support for centered cursor (disabled by default)
2009-11-11 00:50:14 +01:00
Andrzej Rybczak
35a182d79e
add support for scrolling the list with mouse wheel by given number of lines
2009-11-11 00:31:52 +01:00
Andrzej Rybczak
e6a64b9c63
document BasicScreen and Screen classse
2009-09-18 01:25:52 +00:00
Andrzej Rybczak
e2003aee3e
fix scrolling with fancy_scrolling disabled
...
timeout was too low to keep ncmpcpp in while loop.
2009-09-04 08:35:18 +02:00
Andrzej Rybczak
101f01941d
new feature: alternative user interface
2009-08-12 02:08:13 +02:00
Andrzej Rybczak
dbca4a80ee
make number of lines scrolled with mouse wheel configurable
2009-08-09 20:56:15 +02:00
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
2009-07-04 06:41:35 +02:00
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
2009-06-26 18:48:00 +02:00
Andrzej Rybczak
d965f4e517
new feature: mouse support
2009-05-25 21:46:36 +02:00
Andrzej Rybczak
2d8b5f7abc
rename Screen::Cmp() to Screen::ActiveWindow() as it's more logical
2009-04-03 22:29:03 +02:00
Andrzej Rybczak
a80bf2a7bf
use typename keyword instead of class as it's more logical
2009-03-10 22:47:39 +01:00
Andrzej Rybczak
d50dcac5a2
return value, not const reference, if return type is POD or ptr
...
returning reference to POD types can be in fact slower than returning value.
2009-03-10 22:20:09 +01:00
Andrzej Rybczak
3d6765f896
make BasicScreen::{Enter,Space}Pressed() pure virtual
2009-03-03 18:39:09 +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
7c936d8eaf
another ugly cast removal
2009-02-17 07:41:09 +01:00
Andrzej Rybczak
2c66178663
get rid of this awful casting to List *
2009-02-17 07:30:26 +01:00
Andrzej Rybczak
ab2c925654
Revert "cast properly", that wasn't proper casting, lol.
...
This reverts commit 0415fa37fe .
2009-02-16 20:13:34 +01:00
Andrzej Rybczak
0415fa37fe
cast properly
2009-02-16 19:35:12 +01:00
Andrzej Rybczak
43a8e2284e
provide generic interface for dealing with selected items
2009-02-16 18:20:45 +01:00
Andrzej Rybczak
ba6c2db0b1
improve resizing
2009-02-16 00:37:03 +01:00
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
2009-02-15 22:56:41 +01:00
Andrzej Rybczak
c547fbe03b
use generic Scroll method
2009-02-15 20:05:28 +01:00
Andrzej Rybczak
e6bd98e0a7
general code cleaning
2009-02-15 19:15:52 +01:00
Andrzej Rybczak
4cdafc5639
change wCurrent and wPrev to myScreen
2009-02-15 16:09:11 +01:00
Andrzej Rybczak
d762bd9b55
add screen.h
2009-02-14 23:23:27 +01:00