mirror of
https://github.com/KDE/konsole.git
synced 2026-05-06 21:53:55 -04:00
This is implemented in the class "KRootPixmap". It should probably move to kdeui after the KRASH release. It's still not perfect: desktop transports are not handled yet and it's rather slow if you use effects (not sure if that can be fixed, though) svn path=/trunk/kdebase/konsole/; revision=32924
33 lines
671 B
C++
33 lines
671 B
C++
#ifndef SCHEMA_include
|
|
#define SCHEMA_include
|
|
|
|
#include <qstring.h>
|
|
#include "TECommon.h"
|
|
#include <qdict.h>
|
|
#include <qintdict.h>
|
|
|
|
struct ColorSchema
|
|
{
|
|
public:
|
|
QString path;
|
|
int numb;
|
|
QString title;
|
|
QString imagepath;
|
|
int alignment;
|
|
ColorEntry table[TABLE_COLORS];
|
|
bool usetransparency;
|
|
double tr_x;
|
|
int tr_r, tr_g, tr_b;
|
|
public:
|
|
static ColorSchema* readSchema(const char* path);
|
|
static ColorSchema* find(const char* path);
|
|
static ColorSchema* find(int num);
|
|
static ColorSchema* defaultSchema();
|
|
static void loadAllSchemas();
|
|
static int count();
|
|
public:
|
|
void addSchema();
|
|
};
|
|
|
|
#endif
|