delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / kstyles / keramik / keramikimage.h
blob6c9068f11cf92aebb42a4585535181ed7c85a440
1 /* Keramik Style for KDE3
2 Copyright (c) 2002 Malte Starostik <malte@kde.org>
3 (c) 2002 Maksim Orlovich <mo002j@mail.rochester.edu>
5 based on the KDE3 HighColor Style
7 Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org>
8 (C) 2001-2002 Fredrik H�lund <fredrik@kde.org>
10 Drawing routines adapted from the KDE2 HCStyle,
11 Copyright (C) 2000 Daniel M. Duley <mosfet@kde.org>
12 (C) 2000 Dirk Mueller <mueller@kde.org>
13 (C) 2001 Martijn Klingens <klingens@kde.org>
15 Progressbar code based on KStyle, Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org>
17 This library is free software; you can redistribute it and/or
18 modify it under the terms of the GNU Library General Public
19 License as published by the Free Software Foundation; either
20 version 2 of the License, or (at your option) any later version.
22 This library is distributed in the hope that it will be useful,
23 but WITHOUT ANY WARRANTY; without even the implied warranty of
24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
25 Library General Public License for more details.
27 You should have received a copy of the GNU Library General Public License
28 along with this library; see the file COPYING.LIB. If not, write to
29 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
30 Boston, MA 02110-1301, USA.
34 #ifndef KERAMIK_IMAGE_H
35 #define KERAMIK_IMAGE_H
37 struct KeramikEmbedImage
39 bool haveAlpha;
40 int width;
41 int height;
42 int id;
43 const unsigned char* data;
46 extern const KeramikEmbedImage* KeramikGetDbImage(int id);
47 extern void KeramikDbCleanup();
49 enum KeramikTileType
51 KeramikTileTL = 0,
52 KeramikTileTC = 1,
53 KeramikTileTR = 2,
54 KeramikTileCL = 3,
55 KeramikTileCC = 4,
56 KeramikTileCR = 5,
57 KeramikTileRL = 6,
58 KeramikTileRC = 7,
59 KeramikTileRR = 8,
60 KeramikTileSeparator = 16,
61 KeramikSlider1 = 32,
62 KeramikSlider2 = 48,
63 KeramikSlider3 = 64,
64 KeramikSlider4 = 80,
65 KeramikGroove1 = 96,
66 KeramikGroove2 = 112
69 #endif