22 lines
367 B
C++
22 lines
367 B
C++
#ifndef LEXERSCHEME_H
|
|
#define LEXERSCHEME_H
|
|
|
|
#include <QColor>
|
|
#include <QMap>
|
|
|
|
class LexerScheme
|
|
{
|
|
// Default colors
|
|
QColor defaultPaper;
|
|
QColor defaultColor;
|
|
// The rest of the colours
|
|
QMap<int, QColor> colorMap;
|
|
|
|
public:
|
|
LexerScheme();
|
|
QColor getColor(int style);
|
|
void setColor(int style, QColor color);
|
|
};
|
|
|
|
#endif // LEXERSCHEME_H
|