Commit Graph

55 Commits

Author SHA1 Message Date
Andrzej Rybczak
84326efc46 move wstring related functions to wide_char file 2012-09-08 18:42:59 +02:00
Andrzej Rybczak
d5e2d315fd use wstrings uncoditionally where needed 2012-09-08 17:50:01 +02:00
Andrzej Rybczak
f0cac617fa scrollpad: make m_beginning unsigned 2012-09-06 15:09:07 +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
8abae236bb strbuffer: be friend with Scrollpad instead of using shitty hacks 2012-08-28 08:23:53 +02:00
Andrzej Rybczak
f8151904f5 update copyright dates 2012-03-17 16:46:55 +01:00
Andrzej Rybczak
ca956c3da3 update copyright dates 2011-11-01 13:43:47 +01:00
Andrzej Rybczak
08daa61907 update copyright notices 2010-01-30 16:24:24 +01:00
Andrzej Rybczak
6cd420511d perform case insensitive searching in text fields 2009-11-23 20:18:57 +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
08f4459b54 make sure that MaxBeginning in Scrollpad::Refresh() is never negative
this sometimes triggered segfault in pdcurses
while switching to screens, that use scrollpads.
2009-10-25 03:49:02 +01:00
Andrzej Rybczak
cb9bf30dac scrollpad: do not reset starting position automatically in Clear()
this allows for scrolling mpd server info screen, since the content
is changing slightly every second and starting position was reset
each time it'd been happening, scrolling was impossible. this also
'fixes' the issue in other screens like lyrics, artist info and help
that was reset if main window has been resized, which sometimes could
be very annoying.
2009-10-11 17:16:19 +02:00
Andrzej Rybczak
eee80427fe change prototype of Window::Recreate() and throw away almost-duplicated code 2009-09-17 02:36:40 +00:00
Andrzej Rybczak
cf3f8350c0 remove NCurses::Scrollpad::operator<<(std::ostream &(*os)(std::ostream&))
it wasn't used, also if it was, probably it
wouldn't work in this case, so bye bye.
2009-09-16 21:06:37 +00:00
Andrzej Rybczak
d3a9dcf53c document NCurses::Scrollpad class 2009-09-16 21:05:49 +00:00
Andrzej Rybczak
fc6d367f75 remove Clone() and EmptyClone() methods from NCurses::Window and derives
these functions served no purpose.
2009-09-16 03:10:53 +00:00
Andrzej Rybczak
7079bf0584 scrollpad: always create pad of minimal height equal visible height 2009-09-06 12:04:54 +02:00
Andrzej Rybczak
a83989fbf0 simplify code in NCurses::Scrollpad::Flush() a bit 2009-09-06 11:42:26 +02:00
Andrzej Rybczak
df051bf674 remove using declarations 2009-07-05 12:19:22 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
da13e93df0 fix bug with removing format from artist's info screen 2009-05-10 02:09:21 +02:00
Andrzej Rybczak
c7251ebb98 improve formatting removal 2009-04-19 22:19:52 +02:00
Andrzej Rybczak
88fa887776 new feature: allow searching in help, lyrics and info screens 2009-04-18 04:34:23 +02:00
Andrzej Rybczak
48f3361e2d improve conversions std::string <=> std::wstring 2009-03-26 12:00:11 +01:00
Andrzej Rybczak
ea973b6b4a put classes related to ncurses into NCurses namespace 2009-03-05 17:43:13 +01:00
Andrzej Rybczak
2d74931a9a use static_cast in Scrollpad::Flush() instead of reinterpret_cast 2009-03-04 15:39:52 +01:00
Andrzej Rybczak
c827c88993 use ncurses pad instead of ncurses window by default 2009-02-18 21:45:54 +01:00
Andrzej Rybczak
ef9948cbe2 fix refreshing in clock screen while resizing / remove some unneded code 2009-02-16 01:01:54 +01:00
Andrzej Rybczak
f9f5149b76 includes cleaning 2009-02-10 12:19:59 +01:00
Andrzej Rybczak
94edefae44 fix Scrollpad::MoveTo() 2009-02-05 19:48:23 +01:00
Andrzej Rybczak
237e494b08 color artist's info loaded from a file 2009-01-22 16:08:09 +01:00
Andrzej Rybczak
49724329f1 get rid of Scrollpad::itsXPos as it's redunant 2009-01-20 14:40:40 +01:00
Andrzej Rybczak
0c9e10091f update fsf address and copyright info 2009-01-17 00:52:08 +01:00
Andrzej Rybczak
77b4f69c88 initialize ints in Scrollpad::Flush() to zero 2009-01-13 10:19:08 +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
unK
48ba7cbcf2 another code clean-ups 2008-10-07 23:04:26 +02:00
unK
fc00baa300 include and ifdef clean-up 2008-10-07 16:03:09 +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
d61cb54653 make fetching lyrics and artist's info work in background 2008-09-27 20:33:30 +02:00
unK
f0a810cdc0 count proper tab length in Scrollpad::Add() 2008-09-19 23:36:16 +02:00
unK
415096c067 some fixes for color parser 2008-09-10 18:20:19 +02:00
unK
c997e13091 classes cleaning 2008-09-05 10:17:47 +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
0f0bf11652 more clean-ups 2008-09-02 04:39:56 +02:00
unK
a37882f62a code clean-ups 2008-09-02 03:53:13 +02:00
unK
3e3f16540b playlists management support and playlist editor screen added 2008-09-01 09:22:57 +02:00