add multiple items selection on playlist screen and nested colors support

This commit is contained in:
unK
2008-08-31 04:09:07 +02:00
parent ceff30c9ec
commit f8f414d93a
12 changed files with 535 additions and 320 deletions

View File

@@ -23,6 +23,7 @@
#include "ncurses.h"
#include <stack>
#include <vector>
#include <string>
#include <cstdlib>
@@ -117,7 +118,7 @@ class Window
virtual bool reallocate_win(int, int);
virtual void recreate_win();
virtual void show_border() const;
virtual const COLOR * into_color(const string &) const;
virtual std::pair<COLOR, COLOR> into_color(const string &);
//bool is_valid_color(const string &);
WINDOW *itsWindow;
WINDOW *itsWinBorder;
@@ -128,6 +129,7 @@ class Window
bool BBEnabled;
bool AutoRefreshEnabled;
string itsTitle;
std::stack< std::pair<COLOR, COLOR> > itsColors;
COLOR itsColor;
COLOR itsBaseColor;
COLOR itsBgColor;