Commit Graph

146 Commits

Author SHA1 Message Date
Lennart Braun
14fb3baf63 menu: fixed rcurrent iterators on empty menus
If m_items is empty, ++current() did result in an invalid iterator
(pointing behind end()).
2016-10-30 16:19:55 +01:00
Andrzej Rybczak
a8e2ec5ed0 replace ProxySongList with NC::List and SongList 2015-05-11 22:35:06 +02:00
Andrzej Rybczak
4d552bef58 menu: reduce indirection 2015-05-08 21:42:09 +02:00
Andrzej Rybczak
f21ca2b6c6 menu: remove unused typedef 2015-04-18 20:07:13 +02:00
Andrzej Rybczak
30df221cb4 menu: split into two headers 2015-04-18 17:41:13 +02:00
Andrzej Rybczak
75bae9862e window: change internal color representation 2014-11-08 21:20:38 +01:00
Andrzej Rybczak
309a4989c9 remove filtering 2014-11-05 21:37:27 +01:00
Andrzej Rybczak
413fe866de menu: remove unused methods 2014-11-04 22:40:59 +01:00
Andrzej Rybczak
efdac2058e menu: make current() return an iterator 2014-11-04 22:33:16 +01:00
Andrzej Rybczak
12772c47f9 menu: remove search related methods 2014-11-04 21:31:07 +01:00
Andrzej Rybczak
d51f52633f menu: replace Iterator class with boost::indirect_iterator adaptor 2014-11-03 16:40:21 +01:00
Andrzej Rybczak
0d07af8a5e menu: change std::forward to std::move 2014-11-03 02:11:53 +01:00
Andrzej Rybczak
fb9c0ffdf5 menu: add std::move in a few places 2014-11-01 15:41:46 +01: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
843c2b76e6 menu: remove include of regexes.h 2012-10-06 19:28:39 +02:00
Andrzej Rybczak
400099a07f menu: change template parameter from T to ItemT 2012-10-06 19:26:14 +02:00
Andrzej Rybczak
df9ecabb55 window: make color/format/border class enums 2012-10-06 19:05:12 +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
d3dc560602 menu: pass items by value to allow copy elision / moving 2012-10-03 19:17:48 +02:00
Andrzej Rybczak
efe2a52382 fix header guards 2012-10-02 16:19:04 +02:00
Andrzej Rybczak
059592e28e menu: remove unnecessary delete 2012-09-18 20:57:17 +02:00
Andrzej Rybczak
3aa21f8ef7 menu: remove Menu::Swap 2012-09-18 20:53:34 +02:00
Andrzej Rybczak
419965924f menu: remove Menu::hasSelected 2012-09-18 20:53:28 +02:00
Andrzej Rybczak
43ccedd6d8 fix assertion failures in media library / playlist editor with separators enabled 2012-09-16 08:13:10 +02:00
Andrzej Rybczak
9c29082afe playlist: define main screen as non-pointer 2012-09-14 16:16:35 +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
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
3ba94edca7 menu: use shared pointers internally 2012-09-09 16:25:20 +02:00
Andrzej Rybczak
8fb88b7181 comparators: generalize objects a bit 2012-09-08 14:34:46 +02:00
Andrzej Rybczak
5f637103a6 menu: make Menu::drawn return ConstIterator 2012-09-04 23:05:58 +02:00
Andrzej Rybczak
f6fb2ed54c make use of override keyword if available 2012-09-04 20:08:43 +02:00
Andrzej Rybczak
bb121fbe01 make playlist and playlist editor share code responsible for moving items 2012-09-04 18:14:37 +02:00
Andrzej Rybczak
226fbdd2c9 fix shadowing warnings 2012-09-03 15:43:59 +02:00
Andrzej Rybczak
af2cdca3d0 change naming conventions in NC namespace 2012-09-03 15:34:07 +02:00
Andrzej Rybczak
6f918091d9 remove warnings clang generates 2012-09-02 23:24:46 +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
ad8fef343f menu: fix non-const to const iterator conversion 2012-09-01 18:06:47 +02:00
Andrzej Rybczak
0811e30319 implement Searchable interface / make use of unnamed namespaces 2012-09-01 16:10:52 +02:00
Andrzej Rybczak
1bb3907b50 fix a few typos 2012-09-01 08:56:56 +02:00
Andrzej Rybczak
7d47f16316 menu: fix iterator's operator[] and definitions of reverse value interators 2012-09-01 00:20:44 +02:00
Andrzej Rybczak
4c944085d6 menu: generalize filtering, introduce interfaces 2012-08-31 23:09:56 +02:00
Andrzej Rybczak
f1625c920a menu: get rid of a few List functions 2012-08-31 13:05:48 +02:00
Andrzej Rybczak
1596c8ed40 menu: simplify ItemDisplayer further 2012-08-31 12:20:41 +02:00
Andrzej Rybczak
1c46dec39f menu: a few semantic changes 2012-08-31 11:41:22 +02:00
Andrzej Rybczak
e4f4cd68c0 menu: add value iterator 2012-08-31 09:19:45 +02:00
Andrzej Rybczak
04bbdc53fc menu: get rid of RealChoice 2012-08-31 06:05:29 +02:00