Replace highlight colors with prefixes and suffixes
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
#ifndef NCMPCPP_SCROLLPAD_H
|
||||
#define NCMPCPP_SCROLLPAD_H
|
||||
|
||||
#include "window.h"
|
||||
#include "strbuffer.h"
|
||||
#include "curses/window.h"
|
||||
#include "curses/strbuffer.h"
|
||||
|
||||
namespace NC {
|
||||
|
||||
@@ -46,9 +46,11 @@ struct Scrollpad: public Window
|
||||
void flush();
|
||||
void reset();
|
||||
|
||||
bool setProperties(Color begin, const std::string &s, Color end,
|
||||
bool setProperties(const Color &begin, const std::string &s, const Color &end,
|
||||
size_t flags, size_t id = -2);
|
||||
bool setProperties(Format begin, const std::string &s, Format end,
|
||||
bool setProperties(const Format &begin, const std::string &s, const Format &end,
|
||||
size_t flags, size_t id = -2);
|
||||
bool setProperties(const FormattedColor &fc, const std::string &s,
|
||||
size_t flags, size_t id = -2);
|
||||
void removeProperties(size_t id = -2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user