~blue-shell-next/carbon-gtk/master

« back to all changes in this revision

Viewing changes to src/carbonmetrics.h

  • Committer: David Edmundson
  • Date: 2015-02-11 15:48:54 UTC
  • Revision ID: git-v1:ed61428ce6f52c8b8551e5efd0cdc4f2ad956719
RenameĀ files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef oxygenmetrics_h
 
2
#define oxygenmetrics_h
 
3
 
 
4
/*
 
5
* this file is part of the oxygen gtk engine
 
6
* Copyright (c) 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr>
 
7
* Copyright (c) 2010 Ruslan Kabatsayev <b7.10110111@gmail.com>
 
8
*
 
9
* This  library is free  software; you can  redistribute it and/or
 
10
* modify it  under  the terms  of the  GNU Lesser  General  Public
 
11
* License  as published  by the Free  Software  Foundation; either
 
12
* version 2 of the License, or( at your option ) any later version.
 
13
*
 
14
* This library is distributed  in the hope that it will be useful,
 
15
* but  WITHOUT ANY WARRANTY; without even  the implied warranty of
 
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 
17
* Lesser General Public License for more details.
 
18
*
 
19
* You should have received a copy of the GNU Lesser General Public
 
20
* License  along  with  this library;  if not,  write to  the Free
 
21
* Software Foundation, Inc., 51  Franklin St, Fifth Floor, Boston,
 
22
* MA 02110-1301, USA.
 
23
*/
 
24
 
 
25
namespace Oxygen
 
26
{
 
27
 
 
28
    //! metrics
 
29
    /*! these are copied from the old KStyle WidgetProperties */
 
30
    enum Metrics
 
31
    {
 
32
 
 
33
        /*
 
34
        checkbox. Do not change, unless
 
35
        changing the actual cached pixmap size
 
36
        */
 
37
        CheckBox_Size = 21,
 
38
 
 
39
        // slider groove height
 
40
        Slider_GrooveWidth = 7,
 
41
 
 
42
        // menu vertical offset
 
43
        Menu_VerticalOffset = 1,
 
44
 
 
45
        /*
 
46
        entries size margins. Do not change, unless
 
47
        changing the corresponding oxygen-entry-margins style
 
48
        in gtkrc
 
49
        */
 
50
        Entry_SideMargin = 3
 
51
 
 
52
    };
 
53
}
 
54
 
 
55
#endif