Files
konsole/include/schema.h
Geert Jansen f2db96f1a1 Added transparency support.
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
1999-11-05 20:12:42 +00:00

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