|
|
|
//
|
|
|
|
// Author: Remi Villatel <maxilys@tele2.fr>, (C) 2005
|
|
|
|
//
|
|
|
|
// Copyright: See COPYING file that comes with this distribution
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef PIXMAPS_H
|
|
|
|
#define PIXMAPS_H
|
|
|
|
|
|
|
|
#include <tqpixmap.h>
|
|
|
|
#include <tqpainter.h>
|
|
|
|
#include <tqimage.h>
|
|
|
|
|
|
|
|
|
|
|
|
class Pixmaps
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static TQPixmap *active_titlebar;
|
|
|
|
static TQPixmap *active_titlebar_left;
|
|
|
|
static TQPixmap *active_titlebar_right;
|
|
|
|
static TQPixmap *inactive_titlebar;
|
|
|
|
static TQPixmap *inactive_titlebar_left;
|
|
|
|
static TQPixmap *inactive_titlebar_right;
|
|
|
|
|
|
|
|
static TQPixmap *active_button_ground;
|
|
|
|
static TQPixmap *inactive_button_ground;
|
|
|
|
|
|
|
|
static TQImage *active_help_normal;
|
|
|
|
static TQImage *active_max_normal;
|
|
|
|
static TQImage *active_restore_normal;
|
|
|
|
static TQImage *active_min_normal;
|
|
|
|
static TQImage *active_close_normal;
|
|
|
|
static TQImage *active_sticky_normal;
|
|
|
|
static TQImage *active_unsticky_normal;
|
|
|
|
static TQImage *active_above_normal;
|
|
|
|
static TQImage *active_below_normal;
|
|
|
|
|
|
|
|
static TQImage *active_help_hover;
|
|
|
|
static TQImage *active_max_hover;
|
|
|
|
static TQImage *active_restore_hover;
|
|
|
|
static TQImage *active_min_hover;
|
|
|
|
static TQImage *active_close_hover;
|
|
|
|
static TQImage *active_sticky_hover;
|
|
|
|
static TQImage *active_unsticky_hover;
|
|
|
|
static TQImage *active_above_hover;
|
|
|
|
static TQImage *active_below_hover;
|
|
|
|
|
|
|
|
static TQImage *active_help_sunken;
|
|
|
|
static TQImage *active_max_sunken;
|
|
|
|
static TQImage *active_restore_sunken;
|
|
|
|
static TQImage *active_min_sunken;
|
|
|
|
static TQImage *active_close_sunken;
|
|
|
|
static TQImage *active_sticky_sunken;
|
|
|
|
static TQImage *active_unsticky_sunken;
|
|
|
|
static TQImage *active_above_sunken;
|
|
|
|
static TQImage *active_below_sunken;
|
|
|
|
|
|
|
|
static TQImage *inactive_help_normal;
|
|
|
|
static TQImage *inactive_max_normal;
|
|
|
|
static TQImage *inactive_restore_normal;
|
|
|
|
static TQImage *inactive_min_normal;
|
|
|
|
static TQImage *inactive_close_normal;
|
|
|
|
static TQImage *inactive_sticky_normal;
|
|
|
|
static TQImage *inactive_unsticky_normal;
|
|
|
|
static TQImage *inactive_above_normal;
|
|
|
|
static TQImage *inactive_below_normal;
|
|
|
|
|
|
|
|
static TQImage *inactive_help_hover;
|
|
|
|
static TQImage *inactive_max_hover;
|
|
|
|
static TQImage *inactive_restore_hover;
|
|
|
|
static TQImage *inactive_min_hover;
|
|
|
|
static TQImage *inactive_close_hover;
|
|
|
|
static TQImage *inactive_sticky_hover;
|
|
|
|
static TQImage *inactive_unsticky_hover;
|
|
|
|
static TQImage *inactive_above_hover;
|
|
|
|
static TQImage *inactive_below_hover;
|
|
|
|
|
|
|
|
static TQImage *inactive_help_sunken;
|
|
|
|
static TQImage *inactive_max_sunken;
|
|
|
|
static TQImage *inactive_restore_sunken;
|
|
|
|
static TQImage *inactive_min_sunken;
|
|
|
|
static TQImage *inactive_close_sunken;
|
|
|
|
static TQImage *inactive_sticky_sunken;
|
|
|
|
static TQImage *inactive_unsticky_sunken;
|
|
|
|
static TQImage *inactive_above_sunken;
|
|
|
|
static TQImage *inactive_below_sunken;
|
|
|
|
|
|
|
|
static bool pixmapsCreated;
|
|
|
|
|
|
|
|
static void createPixmaps();
|
|
|
|
static void deletePixmaps();
|
|
|
|
|
|
|
|
static void drawGround(TQPainter* painter, bool active = true);
|
|
|
|
|
|
|
|
static void unicity(int* alias, TQImage& work, int rr, int gg, int bb, int offset);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|