Commit Graph

55 Commits

Author SHA1 Message Date
Andrzej Rybczak
478f4454d8 Move ncurses related files to curses directory 2016-12-22 15:25:25 +01:00
Andrzej Rybczak
516ee31109 Update headers 2016-11-13 11:07:13 +01:00
Andrzej Rybczak
9e9e521580 remove enterPressed from remaining screens 2015-11-04 19:21:31 +01:00
Andrzej Rybczak
0ee09fb109 outputs: replace enterPressed with toggleOutput 2015-09-27 14:24:59 +02:00
Andrzej Rybczak
a8e2ec5ed0 replace ProxySongList with NC::List and SongList 2015-05-11 22:35:06 +02:00
Andrzej Rybczak
30df221cb4 menu: split into two headers 2015-04-18 17:41:13 +02:00
Andrzej Rybczak
0c58af8c53 window: support new colors also as borders 2014-11-15 17:51:46 +01:00
Andrzej Rybczak
efdac2058e menu: make current() return an iterator 2014-11-04 22:33:16 +01:00
Andrzej Rybczak
72726831ca mpd: add OutputIterator 2014-11-01 22:03:30 +01:00
Andrzej Rybczak
85a2802361 update copyright message 2014-08-27 05:43:51 +02:00
Andrzej Rybczak
59430f640b statusbar: use boost::format instead of c-style printf 2014-08-27 05:25:53 +02:00
Andrzej Rybczak
2f9ab8f267 mpdpp: make all consumers take values, not rvalue references 2013-05-17 15:18:17 +02:00
Andrzej Rybczak
1d4e006986 update copyright info 2013-04-07 13:31:58 +02:00
Andrzej Rybczak
6a3eb73a49 rewrite communication system with mpd 2013-04-07 13:22:50 +02:00
Andrzej Rybczak
df9ecabb55 window: make color/format/border class enums 2012-10-06 19:05:12 +02:00
Andrzej Rybczak
044464962c initial restoration of support for encodings different than utf-8 2012-10-05 20:58:07 +02:00
Andrzej Rybczak
9a292ca20d mpd: make functions take item consumer instead of returning vector of items 2012-10-01 20:44:22 +02:00
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
830a2832b5 screen: change ScreenType to WindowType and add WindowReference typedef 2012-09-14 17:43:11 +02:00
Andrzej Rybczak
4d6ea660bc make defining screens with main window type as non-pointer possible 2012-09-14 16:16:22 +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
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
d8b2d20bdb menu: move a few methods to Item class 2012-08-31 04:38:20 +02:00
Andrzej Rybczak
7e53654492 menu: implement custom iterator 2012-08-30 20:17:25 +02:00
Andrzej Rybczak
798c9b3121 menu: some member name changing 2012-08-30 07:07:19 +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
f8151904f5 update copyright dates 2012-03-17 16:46:55 +01:00
Andrzej Rybczak
56467eaac6 new feature: support for merging screens together 2011-11-12 19:47:47 +01:00
Andrzej Rybczak
ca956c3da3 update copyright dates 2011-11-01 13:43:47 +01:00
Andrzej Rybczak
fe6106f222 outputs: update list after changing output if idle mode is not active 2010-05-30 00:05:19 +02: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
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
95ce4065ae add event handler for MPD_IDLE_OUTPUT notification 2009-10-27 02:30:28 +01:00
Andrzej Rybczak
dd04406ee5 poll both stdin and mpd using one select()
this allows for immediate reading mpd events
2009-10-25 20:44:07 +01:00
Andrzej Rybczak
ad685091bc rename Menu::BoldOption() to Menu::Bold() 2009-09-19 02:44:44 +02:00
Andrzej Rybczak
829a7a8d98 another fix for 450bf1b6 (hopefully the last one) 2009-08-13 02:16:12 +02:00
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00