~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to kstyles/keramik/keramikimage.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Keramik Style for KDE3
 
2
   Copyright (c) 2002 Malte Starostik <malte@kde.org>
 
3
                  (c) 2002 Maksim Orlovich <mo002j@mail.rochester.edu>
 
4
 
 
5
   based on the KDE3 HighColor Style
 
6
 
 
7
   Copyright (C) 2001-2002 Karol Szwed      <gallium@kde.org>
 
8
             (C) 2001-2002 Fredrik H�lund  <fredrik@kde.org>
 
9
 
 
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>
 
14
 
 
15
    Progressbar code based on KStyle, Copyright (C) 2001-2002 Karol Szwed <gallium@kde.org>
 
16
 
 
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.
 
21
 
 
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.
 
26
 
 
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.
 
31
*/
 
32
 
 
33
 
 
34
#ifndef KERAMIK_IMAGE_H
 
35
#define KERAMIK_IMAGE_H
 
36
 
 
37
struct KeramikEmbedImage
 
38
{
 
39
        bool haveAlpha;
 
40
        int width;
 
41
        int height;
 
42
        int id;
 
43
        const unsigned char* data;
 
44
};
 
45
 
 
46
extern const KeramikEmbedImage* KeramikGetDbImage(int id);
 
47
extern void KeramikDbCleanup();
 
48
 
 
49
enum KeramikTileType
 
50
{
 
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
 
67
};
 
68
 
 
69
#endif