Commit Graph

46 Commits

Author SHA1 Message Date
Andrzej Rybczak
df9ecabb55 window: make color/format/border class enums 2012-10-06 19:05:12 +02:00
Andrzej Rybczak
14587cb4ec abstract shared parts of switchTo methods away 2012-09-15 22:58:32 +02:00
Andrzej Rybczak
f7dba0a578 make remaining single-windowed screens' main windows non-pointer 2012-09-15 00:43:53 +02:00
Andrzej Rybczak
1891c1c050 do not initialize screens lazily as it doesn't make much sense 2012-09-14 00:54:48 +02:00
Andrzej Rybczak
dd7665bb7d more PascalCase to camelCase conversions 2012-09-13 19:23:33 +02:00
Andrzej Rybczak
8f065e2da3 status: split NcmpcppStatusChanged into smaller pieces 2012-09-12 02:41:21 +02:00
Andrzej Rybczak
c90545b008 move statusbar/progressbar related code to separate file 2012-09-11 21:52:41 +02:00
Andrzej Rybczak
d5e2d315fd use wstrings uncoditionally where needed 2012-09-08 17:50:01 +02:00
Andrzej Rybczak
45a097a45b reduce number of calls to gettimeofday 2012-09-07 23:11:40 +02:00
Andrzej Rybczak
c935dcf11a global: remove RedrawHeader 2012-09-06 16:49:47 +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
bac6df8c6c some general source code tweaks 2012-08-27 19:06:19 +02:00
Andrzej Rybczak
77a3c73d9c make displayed messages more consistent 2012-08-14 18:18:36 +02:00
Andrzej Rybczak
f8151904f5 update copyright dates 2012-03-17 16:46:55 +01:00
Andrzej Rybczak
56467eaac6 new feature: support for merging screens together 2011-11-12 19:47:47 +01:00
Andrzej Rybczak
ca956c3da3 update copyright dates 2011-11-01 13:43:47 +01:00
Marc Jessome
a259a67c16 Fix blank clock when switch interval < 1s. 2011-10-01 17:05:22 +02:00
Andrzej Rybczak
08daa61907 update copyright notices 2010-01-30 16:24:24 +01:00
Andrzej Rybczak
a27332a825 get rid of using directives
these in ncmpcpp.cpp stay since a lot of memebers are used.
2010-01-22 19:17:35 +01:00
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
2009-12-09 00:24:15 +01:00
Andrzej Rybczak
164d32c079 use one global timer instead of several local ones 2009-10-26 18:14:06 +01:00
Andrzej Rybczak
dd04406ee5 poll both stdin and mpd using one select()
this allows for immediate reading mpd events
2009-10-25 20:44:07 +01:00
Andrzej Rybczak
8109d26daf refresh main screen only if necessary 2009-09-17 00:59:30 +00:00
Andrzej Rybczak
18e611bee2 make sorting window use main ncmpcpp loop 2009-08-30 02:47:46 +02:00
Andrzej Rybczak
101f01941d new feature: alternative user interface 2009-08-12 02:08:13 +02:00
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)
2009-07-13 16:16:12 +02:00
Andrzej Rybczak
9dab25e02c use prefix ++ instead of postfix where available 2009-07-04 06:41:35 +02:00
Andrzej Rybczak
450bf1b636 initialize screens only if necessary 2009-06-26 18:48:00 +02:00
Andrzej Rybczak
eeb1951547 fix for clock misrendering
clearing screen explicitely before displaying it apparently
fixes the problem with last digits being misrendered sometimes.
2009-03-20 17:44:02 +01:00
Andrzej Rybczak
eed4fb03ff use CamelCase for variables in Global namespace / some cleaning 2009-03-08 01:58:49 +01:00
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)
2009-03-07 18:23:31 +01:00
Andrzej Rybczak
164dec3eed unused defines cleaning / a few fixes for clock 2009-02-19 00:59:02 +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
ba6c2db0b1 improve resizing 2009-02-16 00:37:03 +01:00
Andrzej Rybczak
26365d9832 rename status_checker -> status / + some cleaning 2009-02-15 22:56:41 +01:00
Andrzej Rybczak
c547fbe03b use generic Scroll method 2009-02-15 20:05:28 +01:00
Andrzej Rybczak
e6bd98e0a7 general code cleaning 2009-02-15 19:15:52 +01:00
Andrzej Rybczak
4cdafc5639 change wCurrent and wPrev to myScreen 2009-02-15 16:09:11 +01:00
Andrzej Rybczak
81d685eff8 change namespace Clock into class 2009-02-14 22:54:12 +01:00
Andrzej Rybczak
6e167d67e2 change namespace Playlist into class 2009-02-13 22:27:26 +01:00
Andrzej Rybczak
8ba72bc78a separate some code from ncmpcpp.cpp 2009-02-13 17:24:06 +01:00
Andrzej Rybczak
29301aefd5 move all externs to global.h 2009-02-11 09:45:23 +01:00
Andrzej Rybczak
d82577e357 group various functions more logically 2009-02-10 15:51:55 +01:00
Andrzej Rybczak
33e173f943 remove redunant includes from clock.cpp 2009-01-22 16:10:10 +01:00
Andrzej Rybczak
542c121e0a add clock screen (ported from ncmpc) 2009-01-17 20:40:28 +01:00