Commit Graph

43 Commits

Author SHA1 Message Date
Andrzej Rybczak
14587cb4ec abstract shared parts of switchTo methods away 2012-09-15 22:58:32 +02:00
Andrzej Rybczak
f7dba0a578 make remaining single-windowed screens' main windows non-pointer 2012-09-15 00:43:53 +02:00
Andrzej Rybczak
1891c1c050 do not initialize screens lazily as it doesn't make much sense 2012-09-14 00:54:48 +02:00
Andrzej Rybczak
dd7665bb7d more PascalCase to camelCase conversions 2012-09-13 19:23:33 +02:00
Andrzej Rybczak
8f065e2da3 status: split NcmpcppStatusChanged into smaller pieces 2012-09-12 02:41:21 +02:00
Andrzej Rybczak
c90545b008 move statusbar/progressbar related code to separate file 2012-09-11 21:52:41 +02:00
Andrzej Rybczak
d5e2d315fd use wstrings uncoditionally where needed 2012-09-08 17:50:01 +02:00
Andrzej Rybczak
45a097a45b reduce number of calls to gettimeofday 2012-09-07 23:11:40 +02:00
Andrzej Rybczak
c935dcf11a global: remove RedrawHeader 2012-09-06 16:49:47 +02:00
Andrzej Rybczak
af2cdca3d0 change naming conventions in NC namespace 2012-09-03 15:34:07 +02:00
Andrzej Rybczak
d47cad1d50 get rid of 'using namespace NCurses' directive 2012-09-02 15:37:42 +02:00
Andrzej Rybczak
6f59a175ec implement HasSongs interface 2012-09-02 13:52:26 +02:00
Andrzej Rybczak
a20a195225 mpd: use lambda closures instead of passing vectors to functions 2012-08-28 06:01:56 +02:00
Andrzej Rybczak
bac6df8c6c some general source code tweaks 2012-08-27 19:06:19 +02:00
Andrzej Rybczak
77a3c73d9c make displayed messages more consistent 2012-08-14 18:18:36 +02:00
Andrzej Rybczak
f21499ff55 fix compilation with gcc-4.7 (ticket #3478)
thanks for strcat for the patch.
2012-03-30 02:43:32 +02:00
Andrzej Rybczak
f8151904f5 update copyright dates 2012-03-17 16:46:55 +01:00
Andrzej Rybczak
12cdede049 settings: make characters used in visualizer customizable 2011-12-26 20:13:01 +01:00
Andrzej Rybczak
56467eaac6 new feature: support for merging screens together 2011-11-12 19:47:47 +01:00
Andrzej Rybczak
e31dec7005 visualizer: simplify computing number of read samples 2011-11-09 20:31:13 +01:00
Andrzej Rybczak
0e6306849c new feature: support for stereo visualization 2011-11-09 17:46:44 +01:00
Andrzej Rybczak
ca956c3da3 update copyright dates 2011-11-01 13:43:47 +01:00
Andrzej Rybczak
5ee05e3119 settigs: add support for custom visualization color 2010-08-13 07:27:04 +02:00
Andrzej Rybczak
7dafec5718 move null_key into NcmpcppKeys 2010-04-18 16:42:59 +02:00
Andrzej Rybczak
e6757c4b20 visualizer: set refresh rate to 0.5 sec if mpd is not playing 2010-04-01 13:34:06 +02:00
Andrzej Rybczak
be732f2f9d support user-defined interval between syncing visualizer and audio outputs 2010-02-19 14:37:41 +01:00
Andrzej Rybczak
9ff1bf82c8 visualizer: refresh screen immediately after clearing it 2010-02-17 00:16:26 +01:00
Andrzej Rybczak
08daa61907 update copyright notices 2010-01-30 16:24:24 +01:00
Andrzej Rybczak
a27332a825 get rid of using directives
these in ncmpcpp.cpp stay since a lot of memebers are used.
2010-01-22 19:17:35 +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
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.
2009-11-13 15:59:18 +01:00
Andrzej Rybczak
b6059e2255 visualizer: set interval between "synchronizations" to sane value
ugh, I set it to 5 seconds for testing purposes and then forgot
to change it back ~~ it should be at least 120 seconds.
2009-10-30 01:05:55 +01:00
Andrzej Rybczak
95ce4065ae add event handler for MPD_IDLE_OUTPUT notification 2009-10-27 02:30:28 +01:00
Andrzej Rybczak
e43ea18d29 provide a way to sync between visualization and sound
workaround for http://musicpd.org/mantis/view.php?id=2503
2009-10-27 02:15:51 +01:00
Andrzej Rybczak
dd866e9337 fix visualizer 2009-10-25 23:24:12 +01:00
Andrzej Rybczak
2f971147b1 change all Mpd.GetState </> psPlay/psStop to (!)Mpd.isPlaying() 2009-09-18 02:17:30 +00:00
Andrzej Rybczak
349ca52b8e supress warning about uninitialized prev_point_pos 2009-09-05 15:18:42 +02:00
Andrzej Rybczak
16ec63b5aa visualizer: show fifo path in error message 2009-09-04 15:30:57 +02:00
Andrzej Rybczak
604de32de6 make sound wave the default visualization and fftw optional dependency 2009-09-03 21:45:57 +02:00
Andrzej Rybczak
7401a39a25 improve quality of sound wave by drawing intermediate values between points 2009-09-01 09:28:53 +02:00
Andrzej Rybczak
1456e47a0b new visualization type: sound wave 2009-09-01 04:33:12 +02:00
Andrzej Rybczak
7c593fa90c make visualizer work after mpd restart 2009-08-29 21:21:20 +02:00
Andrzej Rybczak
75f9f840f7 new screen: music visualizer 2009-08-28 00:38:29 +02:00