Commit Graph

60 Commits

Author SHA1 Message Date
Andrzej Rybczak
a1376e8a4e pass small structs and POD types to Window::operator<<() by value 2009-04-03 22:33:00 +02:00
Andrzej Rybczak
a6635322a8 improve handling backspace key 2009-03-26 12:26:22 +01:00
Andrzej Rybczak
cbc452fde5 check for Xinitscr in pdcurses and define XCURSES if available 2009-03-26 12:10:04 +01:00
Andrzej Rybczak
48f3361e2d improve conversions std::string <=> std::wstring 2009-03-26 12:00:11 +01:00
Andrzej Rybczak
65f52da949 make it compile under mingw32 --without-curl --without-taglib
ncmpcpp can be built for windows \o/
pdcurses and regex libraries are needed for this though.
2009-03-25 22:08:18 +01:00
Andrzej Rybczak
1b22f307ea add support for pdcurses 2009-03-25 17:47:10 +01:00
Andrzej Rybczak
bf71a01b1c ignore keycodes <10 || >10 && <32 in Window::GetString() 2009-03-22 15:14:12 +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
ea973b6b4a put classes related to ncurses into NCurses namespace 2009-03-05 17:43:13 +01:00
Andrzej Rybczak
9eec588be5 refresh pad in Window::GetString() after wmove() to update cursor position 2009-02-19 17:12:59 +01:00
Andrzej Rybczak
164dec3eed unused defines cleaning / a few fixes for clock 2009-02-19 00:59:02 +01:00
Andrzej Rybczak
7246b57d48 simplify syntax a bit 2009-02-19 00:29:27 +01:00
Andrzej Rybczak
735cae628a call Window::Refresh() in Window::Clear() explicitly
call to Window::Clear() from Menu object was calling Menu::Refresh()
instead of Window::Refresh(), so make an explicit call to this method.
2009-02-19 00:20:48 +01:00
Andrzej Rybczak
c827c88993 use ncurses pad instead of ncurses window by default 2009-02-18 21:45:54 +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
32f959d1ec use streams instead of Window::WriteXY() 2009-02-16 19:32:43 +01:00
Andrzej Rybczak
f9f5149b76 includes cleaning 2009-02-10 12:19:59 +01:00
Andrzej Rybczak
d3b4be9c56 oops. fix for previous commit. 2009-02-05 20:23:12 +01:00
Andrzej Rybczak
4943dea1d3 do not display mpd password in clear text 2009-02-05 20:22:03 +01:00
Andrzej Rybczak
351ddc8584 eliminate compiler warnings 2009-01-17 14:17:24 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00
Andrzej Rybczak
844acb1ecd block scrolling, if wide characters are used in input string
current scrolling implementation doesn't work with wide
chars properly so disable it until I find better solution
2009-01-17 00:25:41 +01:00
Andrzej Rybczak
daca5964e8 convert lyrics and artist's info to current locale if needed 2009-01-12 08:22:45 +01:00
Andrzej Rybczak
094c4e3ab3 support for wide characters in Window::GetString() 2008-12-20 14:37:44 +01:00
Andrzej Rybczak
6f296e2419 update displaying playlist in column view 2008-12-12 21:14:22 +01:00
Andrzej Rybczak
563c4530aa update Window::WriteXY() and related stuff 2008-12-11 15:08:56 +01:00
Andrzej Rybczak
c61ddd3383 improve handling statusbar messages (+ some minor various fixes) 2008-12-11 14:04:14 +01:00
Andrzej Rybczak
c03bcbe44b remove color parser / update Window, Scrollpad class and related stuff 2008-12-09 16:40:04 +01:00
Andrzej Rybczak
cbe267abec one more unsigned int -> size_t 2008-12-02 18:13:27 +01:00
unK
48ba7cbcf2 another code clean-ups 2008-10-07 23:04:26 +02:00
unK
c6fea611bf improve utf8 related stuff 2008-10-07 15:40:06 +02:00
unK
f8727b0a10 fix various compiler warnings and a few minor bugs 2008-10-05 00:26:02 +02:00
unK
e6b7e22485 remove ToString() and ToWString() returning C strings as they aren't used anyway 2008-10-01 18:46:56 +02:00
unK
aba3373da7 use wprintw instead of waddwstr to print wide strings 2008-09-30 21:15:30 +02:00
unK
ce9fed322d fix for non unicode locales 2008-09-18 15:30:54 +02:00
unK
82f4ee14ce fix code causing segfault in Window::GetString() 2008-09-17 14:58:28 +02:00
unK
fb04687fef introduce switch for 'fancy scrolling' 2008-09-13 23:50:24 +02:00
unK
8bdda428bb simplify Window::Clear() 2008-09-13 22:07:15 +02:00
unK
c54de64176 new option for song format - right align (thx to Nathan Jones) 2008-09-13 21:59:05 +02:00
unK
369bbf6b96 new feature for parser, coordinates reader 2008-09-13 20:39:13 +02:00
unK
0060450b10 fixes 2008-09-13 15:46:33 +02:00
unK
2605b29dd9 filename parser for tag editor, renaming files support, minor fixes 2008-09-12 22:06:48 +02:00
unK
25c2f3fb49 add scroll ability for Window::GetString 2008-09-10 21:22:38 +02:00
unK
415096c067 some fixes for color parser 2008-09-10 18:20:19 +02:00
unK
1398aff398 improvements for album tag editor 2008-09-07 15:18:30 +02:00
unK
c997e13091 classes cleaning 2008-09-05 10:17:47 +02:00
unK
b896f31c50 improve moving items and fix password handling (again) + fixes 2008-09-04 14:27:59 +02:00
unK
3b562d5a37 add playlist mode switcher (and some clean-ups ofc) 2008-09-04 04:34:30 +02:00
unK
723de0687e class Menu is template now / bunch of code clean-ups. 2008-09-03 01:16:26 +02:00
unK
a37882f62a code clean-ups 2008-09-02 03:53:13 +02:00