]>
Dogcows Code - chaz/tint2/blob - panel.h
67c995cef2ac71f87fa52943f48aa9d8d30fd03d
1 /**************************************************************************
2 * Copyright (C) 2008 Pål Staurland (staura@gmail.com)
3 * Modified (C) 2008/2009 thierry lorthiois (lorthiois@bbsoft.fr)
6 * - draw panel and all objects according to panel_layout
9 **************************************************************************/
14 #include <pango/pangocairo.h>
21 #include "systraybar.h"
25 extern int signal_pending
;
26 // --------------------------------------------------
28 extern int mouse_middle
;
29 extern int mouse_right
;
30 extern int mouse_scroll_up
;
31 extern int mouse_scroll_down
;
34 enum { SINGLE_DESKTOP
=0, MULTI_DESKTOP
, SINGLE_MONITOR
};
35 extern int panel_mode
;
38 enum { LEFT
=0x01, RIGHT
=0x02, CENTER
=0X04, TOP
=0X08, BOTTOM
=0x10 };
39 extern int panel_position
;
41 extern int panel_refresh
;
43 extern Task
*task_active
;
44 extern Task
*task_drag
;
48 // always start with area
49 // area.list own all objects of the panel according to config file
52 // --------------------------------------------------
57 // position relative to root window
60 float initial_width
, initial_height
;
61 int pourcentx
, pourcenty
;
62 // location of the panel (monitor number)
65 // --------------------------------------------------
66 // task and taskbar parameter per panel
70 // --------------------------------------------------
71 // taskbar point to the first taskbar in panel.area.list.
72 // number of tasbar == nb_desktop
76 // --------------------------------------------------
89 void resize_panel(void *obj
);
91 void set_panel_properties(Panel
*p
);
92 void visible_object();
94 // draw background panel
95 void set_panel_background(Panel
*p
);
98 Panel
*get_panel(Window win
);
This page took 0.035614 seconds and 3 git commands to generate.