Andrzej Rybczak
1d4e006986
update copyright info
13 years ago
Andrzej Rybczak
df9ecabb55
window: make color/format/border class enums
14 years ago
Andrzej Rybczak
14587cb4ec
abstract shared parts of switchTo methods away
14 years ago
Andrzej Rybczak
f7dba0a578
make remaining single-windowed screens' main windows non-pointer
14 years ago
Andrzej Rybczak
1891c1c050
do not initialize screens lazily as it doesn't make much sense
14 years ago
Andrzej Rybczak
dd7665bb7d
more PascalCase to camelCase conversions
14 years ago
Andrzej Rybczak
8f065e2da3
status: split NcmpcppStatusChanged into smaller pieces
14 years ago
Andrzej Rybczak
c90545b008
move statusbar/progressbar related code to separate file
14 years ago
Andrzej Rybczak
d5e2d315fd
use wstrings uncoditionally where needed
14 years ago
Andrzej Rybczak
45a097a45b
reduce number of calls to gettimeofday
14 years ago
Andrzej Rybczak
c935dcf11a
global: remove RedrawHeader
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
bac6df8c6c
some general source code tweaks
14 years ago
Andrzej Rybczak
77a3c73d9c
make displayed messages more consistent
14 years ago
Andrzej Rybczak
f8151904f5
update copyright dates
14 years ago
Andrzej Rybczak
56467eaac6
new feature: support for merging screens together
15 years ago
Andrzej Rybczak
ca956c3da3
update copyright dates
15 years ago
Marc Jessome
a259a67c16
Fix blank clock when switch interval < 1s.
15 years ago
Andrzej Rybczak
08daa61907
update copyright notices
16 years ago
Andrzej Rybczak
a27332a825
get rid of using directives
...
these in ncmpcpp.cpp stay since a lot of memebers are used.
16 years ago
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
16 years ago
Andrzej Rybczak
164d32c079
use one global timer instead of several local ones
17 years ago
Andrzej Rybczak
dd04406ee5
poll both stdin and mpd using one select()
...
this allows for immediate reading mpd events
17 years ago
Andrzej Rybczak
8109d26daf
refresh main screen only if necessary
17 years ago
Andrzej Rybczak
18e611bee2
make sorting window use main ncmpcpp loop
17 years ago
Andrzej Rybczak
101f01941d
new feature: alternative user interface
17 years ago
Andrzej Rybczak
caec71134e
make Window::{Bold,Reverse,AltCharset} protected
...
they should be called only within member funcions, because they
ignore stacked values, that are set by Window::operator<<(Format)
17 years ago
Andrzej Rybczak
9dab25e02c
use prefix ++ instead of postfix where available
17 years ago
Andrzej Rybczak
450bf1b636
initialize screens only if necessary
17 years ago
Andrzej Rybczak
eeb1951547
fix for clock misrendering
...
clearing screen explicitely before displaying it apparently
fixes the problem with last digits being misrendered sometimes.
17 years ago
Andrzej Rybczak
eed4fb03ff
use CamelCase for variables in Global namespace / some cleaning
17 years ago
Andrzej Rybczak
b21ede24f4
move searching to Menu class, also remember last constraint
...
this improvement also make that list of found items is not cleared
if one switches to another screen. it's remebered until the content
of screen changes (e.g. item is deleted from playlist)
17 years ago
Andrzej Rybczak
164dec3eed
unused defines cleaning / a few fixes for clock
17 years ago
Andrzej Rybczak
ef9948cbe2
fix refreshing in clock screen while resizing / remove some unneded code
17 years ago
Andrzej Rybczak
ba6c2db0b1
improve resizing
17 years ago
Andrzej Rybczak
26365d9832
rename status_checker -> status / + some cleaning
17 years ago
Andrzej Rybczak
c547fbe03b
use generic Scroll method
17 years ago
Andrzej Rybczak
e6bd98e0a7
general code cleaning
17 years ago
Andrzej Rybczak
4cdafc5639
change wCurrent and wPrev to myScreen
17 years ago
Andrzej Rybczak
81d685eff8
change namespace Clock into class
17 years ago
Andrzej Rybczak
6e167d67e2
change namespace Playlist into class
17 years ago
Andrzej Rybczak
8ba72bc78a
separate some code from ncmpcpp.cpp
17 years ago
Andrzej Rybczak
29301aefd5
move all externs to global.h
17 years ago
Andrzej Rybczak
d82577e357
group various functions more logically
17 years ago
Andrzej Rybczak
33e173f943
remove redunant includes from clock.cpp
17 years ago
Andrzej Rybczak
542c121e0a
add clock screen (ported from ncmpc)
17 years ago