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

« back to all changes in this revision

Viewing changes to kstyles/keramik/bitmaps.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
#ifndef __BITMAPS_H
 
2
#define __BITMAPS_H
 
3
 
 
4
/* Image bits processed by KPixmap2Bitmaps */
 
5
// Arrow bitmaps
 
6
static const QCOORD u_arrow[]={-1,-3, 0,-3, -2,-2, 1,-2, -3,-1, 2,-1, -4,0, 3,0, -4,1, 3,1};
 
7
static const QCOORD d_arrow[]={-4,-2, 3,-2, -4,-1, 3,-1, -3,0, 2,0, -2,1, 1,1, -1,2, 0,2};
 
8
static const QCOORD l_arrow[]={-3,-1, -3,0, -2,-2, -2,1, -1,-3, -1,2, 0,-4, 0,3, 1,-4, 1,3};
 
9
static const QCOORD r_arrow[]={-2,-4, -2,3, -1,-4, -1,3, 0,-3, 0,2, 1,-2, 1,1, 2,-1, 2,0};
 
10
 
 
11
static const QCOORD keramik_combo_arrow[] =
 
12
        {-4,-5, 4, -5,
 
13
         -2 ,-2, 2, -2,
 
14
          -2 ,-1, 2, -1,
 
15
           -2 ,0, 2, 0,
 
16
           -4, 1, 4, 1,
 
17
           -3, 2, 3, 2,
 
18
           -2 , 3, 2, 3,
 
19
           -1 , 4, 1, 4,
 
20
           0 , 5, 0, 5
 
21
            };
 
22
            
 
23
 
 
24
static const QCOORD keramik_up_arrow[] = 
 
25
        {
 
26
                0, -4, 0, -4,
 
27
                -1, -3, 1, -3,
 
28
                -2, -2, 2, -2,
 
29
                -3, -1, 3, -1,
 
30
                -4, 0, 4, 0,
 
31
                -2, 1, 2, 1,
 
32
                -2, 2, 2, 2,
 
33
                -2, 3, 2, 3,
 
34
                -2, 4, 2, 4
 
35
        };
 
36
        
 
37
static const QCOORD keramik_down_arrow[] = 
 
38
        {
 
39
                0, 4, 0, 4,
 
40
                -1, 3, 1, 3,
 
41
                -2, 2, 2, 2,
 
42
                -3, 1, 3, 1,
 
43
                -4, 0, 4, 0,
 
44
                -2, -1, 2, -1,
 
45
                -2, -2, 2, -2,
 
46
                -2, -3, 2, -3,
 
47
                -2, -4, 2, -4
 
48
        };
 
49
 
 
50
 
 
51
        static const QCOORD keramik_right_arrow[] = 
 
52
        {
 
53
                4, 0, 4, 0,
 
54
                3, -1, 3, 1,
 
55
                2, -2, 2, 2,
 
56
                1, -3, 1, 3,
 
57
                0, -4, 0, 4,
 
58
                -1, -2, -1, 2,
 
59
                -2, -2, -2, 2,
 
60
                -3, -2, -3, 2,
 
61
                -4, -2, -4, 2
 
62
        };
 
63
        
 
64
        static const QCOORD keramik_left_arrow[] = 
 
65
        {
 
66
                -4, 0, -4, 0,
 
67
                -3, -1, -3, 1,
 
68
                -2, -2, -2, 2,
 
69
                -1, -3, -1, 3,
 
70
                0, -4, 0, 4,
 
71
                1, -2, 1, 2,
 
72
                2, -2, 2, 2,
 
73
                3, -2, 3, 2,
 
74
                4, -2, 4, 2
 
75
        };
 
76
 
 
77
        
 
78
                
 
79
#define QCOORDARRLEN(x) sizeof(x)/(sizeof(QCOORD)*2)
 
80
 
 
81
 
 
82
 
 
83
#endif