Andrzej Rybczak
12c7dc2f5b
scrollpad: pass boost::regex flags explicitly
13 years ago
Andrzej Rybczak
1d4e006986
update copyright info
13 years ago
Andrzej Rybczak
670293655a
scrollpad: fix bug in Scrollpad::flush()
13 years ago
Andrzej Rybczak
c1d665bf9e
scrollpad: add support for regex searching
14 years ago
Andrzej Rybczak
4a1824753c
scrollpad: tidy Scrollpad::flush a bit
14 years ago
Andrzej Rybczak
43924f88e1
scrollpad: use std::string as container
14 years ago
Andrzej Rybczak
eda2ea37a9
rewrite major part of strbuffer and Scrollpad::flush
14 years ago
Andrzej Rybczak
1eb0003714
window: rename Where to Scroll and make it enum class
14 years ago
Andrzej Rybczak
84326efc46
move wstring related functions to wide_char file
14 years ago
Andrzej Rybczak
d5e2d315fd
use wstrings uncoditionally where needed
14 years ago
Andrzej Rybczak
f0cac617fa
scrollpad: make m_beginning unsigned
14 years ago
Andrzej Rybczak
af2cdca3d0
change naming conventions in NC namespace
14 years ago
Andrzej Rybczak
d47cad1d50
get rid of 'using namespace NCurses' directive
14 years ago
Andrzej Rybczak
8abae236bb
strbuffer: be friend with Scrollpad instead of using shitty hacks
14 years ago
Andrzej Rybczak
f8151904f5
update copyright dates
14 years ago
Andrzej Rybczak
ca956c3da3
update copyright dates
15 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
6cd420511d
perform case insensitive searching in text fields
17 years ago
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.
17 years ago
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.
17 years ago
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.
17 years ago
Andrzej Rybczak
eee80427fe
change prototype of Window::Recreate() and throw away almost-duplicated code
17 years ago
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.
17 years ago
Andrzej Rybczak
d3a9dcf53c
document NCurses::Scrollpad class
17 years ago
Andrzej Rybczak
fc6d367f75
remove Clone() and EmptyClone() methods from NCurses::Window and derives
...
these functions served no purpose.
17 years ago
Andrzej Rybczak
7079bf0584
scrollpad: always create pad of minimal height equal visible height
17 years ago
Andrzej Rybczak
a83989fbf0
simplify code in NCurses::Scrollpad::Flush() a bit
17 years ago
Andrzej Rybczak
df051bf674
remove using declarations
17 years ago
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
da13e93df0
fix bug with removing format from artist's info screen
17 years ago
Andrzej Rybczak
c7251ebb98
improve formatting removal
17 years ago
Andrzej Rybczak
88fa887776
new feature: allow searching in help, lyrics and info screens
17 years ago
Andrzej Rybczak
48f3361e2d
improve conversions std::string <=> std::wstring
17 years ago
Andrzej Rybczak
ea973b6b4a
put classes related to ncurses into NCurses namespace
17 years ago
Andrzej Rybczak
2d74931a9a
use static_cast in Scrollpad::Flush() instead of reinterpret_cast
17 years ago
Andrzej Rybczak
c827c88993
use ncurses pad instead of ncurses window by default
17 years ago
Andrzej Rybczak
ef9948cbe2
fix refreshing in clock screen while resizing / remove some unneded code
17 years ago
Andrzej Rybczak
f9f5149b76
includes cleaning
17 years ago
Andrzej Rybczak
94edefae44
fix Scrollpad::MoveTo()
17 years ago
Andrzej Rybczak
237e494b08
color artist's info loaded from a file
17 years ago
Andrzej Rybczak
49724329f1
get rid of Scrollpad::itsXPos as it's redunant
17 years ago
Andrzej Rybczak
0c9e10091f
update fsf address and copyright info
17 years ago
Andrzej Rybczak
77b4f69c88
initialize ints in Scrollpad::Flush() to zero
17 years ago
Andrzej Rybczak
c61ddd3383
improve handling statusbar messages (+ some minor various fixes)
18 years ago
Andrzej Rybczak
c03bcbe44b
remove color parser / update Window, Scrollpad class and related stuff
18 years ago
unK
48ba7cbcf2
another code clean-ups
18 years ago
unK
fc00baa300
include and ifdef clean-up
18 years ago
unK
c6fea611bf
improve utf8 related stuff
18 years ago
unK
f8727b0a10
fix various compiler warnings and a few minor bugs
18 years ago
unK
d61cb54653
make fetching lyrics and artist's info work in background
18 years ago