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