Revision 17152,
1.2 KB
checked in by ghudson, 23 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r17151,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | /*global type definitions*/ |
---|
2 | #ifndef PANEL_TYPES_H |
---|
3 | #define PANEL_TYPES_H |
---|
4 | |
---|
5 | #include <gtk/gtktypeutils.h> |
---|
6 | #include "gnome-panel.h" |
---|
7 | |
---|
8 | typedef GNOME_Panel_OrientType PanelOrientType; |
---|
9 | #define ORIENT_UP GNOME_Panel_ORIENT_UP |
---|
10 | #define ORIENT_DOWN GNOME_Panel_ORIENT_DOWN |
---|
11 | #define ORIENT_LEFT GNOME_Panel_ORIENT_LEFT |
---|
12 | #define ORIENT_RIGHT GNOME_Panel_ORIENT_RIGHT |
---|
13 | |
---|
14 | enum { |
---|
15 | SIZE_ULTRA_TINY = 12, |
---|
16 | SIZE_TINY = 24, |
---|
17 | SIZE_SMALL = 36, |
---|
18 | SIZE_STANDARD = 48, |
---|
19 | SIZE_LARGE = 64, |
---|
20 | SIZE_HUGE = 80, |
---|
21 | SIZE_RIDICULOUS = 128 |
---|
22 | }; |
---|
23 | |
---|
24 | typedef GNOME_Panel_BackType PanelBackType; |
---|
25 | #define PANEL_BACK_NONE GNOME_Panel_BACK_NONE |
---|
26 | #define PANEL_BACK_COLOR GNOME_Panel_BACK_COLOR |
---|
27 | #define PANEL_BACK_PIXMAP GNOME_Panel_BACK_PIXMAP |
---|
28 | #define PANEL_BACK_TRANSLUCENT GNOME_Panel_BACK_TRANSLUCENT |
---|
29 | |
---|
30 | |
---|
31 | |
---|
32 | typedef enum { |
---|
33 | LAUNCHER_TILE=0, |
---|
34 | DRAWER_TILE, |
---|
35 | MENU_TILE, |
---|
36 | MISC_TILE, |
---|
37 | LAST_TILE |
---|
38 | } PanelTileType; |
---|
39 | /* XXX: if you add any here you need to make the tile type larger |
---|
40 | * for button-widget, as it's 2 bits only for now */ |
---|
41 | |
---|
42 | typedef enum { |
---|
43 | EDGE_PANEL, |
---|
44 | DRAWER_PANEL, |
---|
45 | ALIGNED_PANEL, |
---|
46 | SLIDING_PANEL, |
---|
47 | FLOATING_PANEL, |
---|
48 | FOOBAR_PANEL |
---|
49 | } PanelType; |
---|
50 | |
---|
51 | typedef enum { |
---|
52 | BORDER_TOP, |
---|
53 | BORDER_RIGHT, |
---|
54 | BORDER_BOTTOM, |
---|
55 | BORDER_LEFT |
---|
56 | } BorderEdge; |
---|
57 | |
---|
58 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.