Commit Graph

68 Commits

Author SHA1 Message Date
Andrzej Rybczak
9e9e521580 remove enterPressed from remaining screens 2015-11-04 19:21:31 +01:00
Andrzej Rybczak
7c15dd954e stop using literal 500 as a window timeout 2015-05-19 19:15:09 +02:00
Andrzej Rybczak
c7fe74dd66 screen: provide const main() overload 2015-05-17 22:04:50 +02:00
Andrzej Rybczak
2caf08aaa7 split PressSpace action into modular pieces 2015-05-17 21:51:15 +02:00
Andrzej Rybczak
a8e2ec5ed0 replace ProxySongList with NC::List and SongList 2015-05-11 22:35:06 +02:00
Andrzej Rybczak
7bcf79109f actions: toggle screen lock: check if screen is lockable before asking for width 2015-04-18 20:51:03 +02:00
Andrzej Rybczak
5ce193303b fix color of window separators in media library etc. 2014-09-03 21:27:43 +02:00
Andrzej Rybczak
9c9c190742 change window timeout more transparently 2014-08-31 10:10:44 +02:00
Andrzej Rybczak
85a2802361 update copyright message 2014-08-27 05:43:51 +02:00
Andrzej Rybczak
1d4e006986 update copyright info 2013-04-07 13:31:58 +02:00
Andrzej Rybczak
1eb0003714 window: rename Where to Scroll and make it enum class 2012-10-05 21:25:22 +02:00
Andrzej Rybczak
efe2a52382 fix header guards 2012-10-02 16:19:04 +02:00
Andrzej Rybczak
f0a0734728 add ScreenType for screen's type identification 2012-09-16 03:49:11 +02:00
Andrzej Rybczak
f691ab265f screen: rename BasicScreen to BaseScreen 2012-09-16 03:08:02 +02:00
Andrzej Rybczak
14587cb4ec abstract shared parts of switchTo methods away 2012-09-15 22:58:32 +02:00
Andrzej Rybczak
c4190b6514 rewrite selected items added so it uses sane actions dispatch system 2012-09-15 00:18:22 +02:00
Andrzej Rybczak
830a2832b5 screen: change ScreenType to WindowType and add WindowReference typedef 2012-09-14 17:43:11 +02:00
Andrzej Rybczak
0d27d6ded3 media library: make screens non-pointer 2012-09-14 17:33:53 +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
bb5d72d558 screen: adjust indentation 2012-09-13 22:01:33 +02:00
Andrzej Rybczak
9ddfca8f31 playlist: move sorting dialog related functions to separate file 2012-09-13 21:57:17 +02:00
Andrzej Rybczak
dd7665bb7d more PascalCase to camelCase conversions 2012-09-13 19:23:33 +02:00
Andrzej Rybczak
d5e2d315fd use wstrings uncoditionally where needed 2012-09-08 17:50:01 +02:00
Andrzej Rybczak
f6fb2ed54c make use of override keyword if available 2012-09-04 20:08:43 +02:00
Andrzej Rybczak
af2cdca3d0 change naming conventions in NC namespace 2012-09-03 15:34:07 +02:00
Andrzej Rybczak
684d871506 finally kill NC::List 2012-09-02 20:55:32 +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
1bb3907b50 fix a few typos 2012-09-01 08:56:56 +02:00
Andrzej Rybczak
4c944085d6 menu: generalize filtering, introduce interfaces 2012-08-31 23:09:56 +02:00
Andrzej Rybczak
f6cae753e2 implement input character queue and add PushCharacters macro utility 2012-08-25 06:50:27 +02:00
Andrzej Rybczak
181224b837 keybinding system rewrite 2012-08-14 01:44:14 +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
6af641a049 fix for bd64052f: restore scrolling less than whole page in lists with mouse 2010-10-06 21:48:29 +02:00
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