/usr/include/libawn/awn-defines.h is in libawn-dev 0.4.1~bzr830-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | /*
* Copyright (C) 2007 Neil Jagdish Patel <njpatel@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Author : Neil Jagdish Patel <njpatel@gmail.com>
*/
#ifndef __AWN_DEFINES_H__
#define __AWN_DEFINES_H__
/**
* AWN_MAX_HEIGHT:
*
*The maximum size of the panel
*/
#define AWN_MAX_HEIGHT 100
/**
* AWN_MIN_HEIGHT:
*
*The minimum size of the panel
*/
#define AWN_MIN_HEIGHT 12
typedef enum
{
AWN_APPLET_FLAGS_NONE = 0,
AWN_APPLET_EXPAND_MINOR = 1 << 0,
AWN_APPLET_EXPAND_MAJOR = 1 << 1,
AWN_APPLET_IS_EXPANDER = 1 << 2,
AWN_APPLET_IS_SEPARATOR = 1 << 3,
AWN_APPLET_HAS_SHAPE_MASK = 1 << 4,
AWN_APPLET_DOCKLET_HANDLES_POSITION_CHANGE = 1 << 10,
AWN_APPLET_DOCKLET_CLOSE_ON_MOUSE_OUT = 1 << 11
} AwnAppletFlags;
/**
* AwnAppletLicense:
* @AWN_APPLET_LICENSE_GPLV2: GPL version 2 or later
* @AWN_APPLET_LICENSE_GPLV3: GPL version 3 or later
* @AWN_APPLET_LICENSE_LGPLV2_1: LGPL version 2.1 or later
* @AWN_APPLET_LICENSE_LGPLV3: LGPL version 3 or later
*
* The license to use for the applet's about dialog.
* Starting the acceptable values at 10 makes it rather unlikely
* that someone can specify a license type by accident.
*/
typedef enum
{
AWN_APPLET_LICENSE_GPLV2 = 10,
AWN_APPLET_LICENSE_GPLV3 = 11,
AWN_APPLET_LICENSE_LGPLV2_1 = 12,
AWN_APPLET_LICENSE_LGPLV3 = 13
} AwnAppletLicense;
/**
* AwnPathType:
* @AWN_PATH_LINEAR: Standard (non-curved) panel layout.
* @AWN_PATH_ELLIPSE: Elliptical (curved) panel layout.
* @AWN_PATH_LAST: Placeholder value.
*
* Describes the layout of icons on the panel.
*/
typedef enum
{
AWN_PATH_LINEAR=0,
AWN_PATH_ELLIPSE,
AWN_PATH_LAST
} AwnPathType;
/**
* AWN_PANEL_ID_DEFAULT:
*
* The default panel ID.
*/
#define AWN_PANEL_ID_DEFAULT 1
/**
* AWN_FONT_SIZE_EXTRA_SMALL:
*
* Extra small font size. For use with #AwnOverlayText.
* Standardized font sizes to be used with #AwnOverlayText. Corresponds to
* standard Pango font size units for standard %PANGO_SCALE when the awn icon
* size is 48.0 pixels.
*/
/**
* AWN_FONT_SIZE_SMALL:
*
* Small font size. For use with #AwnOverlayText.
* Standardized font sizes to be used with #AwnOverlayText. Corresponds to
* standard Pango font size units for standard %PANGO_SCALE when the awn icon
* size is 48.0 pixels.
*/
/**
* AWN_FONT_SIZE_MEDIUM:
*
* Medium font size. For use with #AwnOverlayText.
* Standardized font sizes to be used with #AwnOverlayText. Corresponds to
* standard Pango font size units for standard %PANGO_SCALE when the awn icon
* size is 48.0 pixels.
*/
/**
* AWN_FONT_SIZE_LARGE:
*
* Large font size. For use with #AwnOverlayText.
* Standardized font sizes to be used with #AwnOverlayText. Corresponds to
* standard Pango font size units for standard %PANGO_SCALE when the awn icon
* size is 48.0 pixels.
*/
/**
* AWN_FONT_SIZE_EXTRA_LARGE:
*
* Extra large font size. For use with #AwnOverlayText.
* Standardized font sizes to be used with #AwnOverlayText. Corresponds to
* standard Pango font size units for standard %PANGO_SCALE when the awn icon
* size is 48.0 pixels.
*/
#define AWN_FONT_SIZE_EXTRA_SMALL 6.0
#define AWN_FONT_SIZE_SMALL 9.0
#define AWN_FONT_SIZE_MEDIUM 12.0
#define AWN_FONT_SIZE_LARGE 15.0
#define AWN_FONT_SIZE_EXTRA_LARGE 18.0
#endif
|