KStyles
keramikimage.h
Go to the documentation of this file.00001 /* Keramik Style for KDE3 00002 Copyright (c) 2002 Malte Starostik <malte@kde.org> 00003 (c) 2002 Maksim Orlovich <mo002j@mail.rochester.edu> 00004 00005 based on the KDE3 HighColor Style 00006 00007 Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org> 00008 (C) 2001-2002 Fredrik H�lund <fredrik@kde.org> 00009 00010 Drawing routines adapted from the KDE2 HCStyle, 00011 Copyright (C) 2000 Daniel M. Duley <mosfet@kde.org> 00012 (C) 2000 Dirk Mueller <mueller@kde.org> 00013 (C) 2001 Martijn Klingens <klingens@kde.org> 00014 00015 Progressbar code based on KStyle, Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org> 00016 00017 This library is free software; you can redistribute it and/or 00018 modify it under the terms of the GNU Library General Public 00019 License as published by the Free Software Foundation; either 00020 version 2 of the License, or (at your option) any later version. 00021 00022 This library is distributed in the hope that it will be useful, 00023 but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00025 Library General Public License for more details. 00026 00027 You should have received a copy of the GNU Library General Public License 00028 along with this library; see the file COPYING.LIB. If not, write to 00029 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00030 Boston, MA 02110-1301, USA. 00031 */ 00032 00033 00034 #ifndef KERAMIK_IMAGE_H 00035 #define KERAMIK_IMAGE_H 00036 00037 struct KeramikEmbedImage 00038 { 00039 bool haveAlpha; 00040 int width; 00041 int height; 00042 int id; 00043 const unsigned char* data; 00044 }; 00045 00046 extern const KeramikEmbedImage* KeramikGetDbImage(int id); 00047 extern void KeramikDbCleanup(); 00048 00049 enum KeramikTileType 00050 { 00051 KeramikTileTL = 0, 00052 KeramikTileTC = 1, 00053 KeramikTileTR = 2, 00054 KeramikTileCL = 3, 00055 KeramikTileCC = 4, 00056 KeramikTileCR = 5, 00057 KeramikTileRL = 6, 00058 KeramikTileRC = 7, 00059 KeramikTileRR = 8, 00060 KeramikTileSeparator = 16, 00061 KeramikSlider1 = 32, 00062 KeramikSlider2 = 48, 00063 KeramikSlider3 = 64, 00064 KeramikSlider4 = 80, 00065 KeramikGroove1 = 96, 00066 KeramikGroove2 = 112 00067 }; 00068 00069 #endif