]>
Dogcows Code - chaz/tint2/blob - src/panel.h
f7fc0ff66207d4306b8091a9bc24f6952b0353a7
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>
22 #include "systraybar.h"
26 extern int signal_pending
;
27 // --------------------------------------------------
29 extern int mouse_middle
;
30 extern int mouse_right
;
31 extern int mouse_scroll_up
;
32 extern int mouse_scroll_down
;
35 enum { SINGLE_DESKTOP
=0, MULTI_DESKTOP
, SINGLE_MONITOR
};
36 extern int panel_mode
;
39 enum { LEFT
=0x01, RIGHT
=0x02, CENTER
=0X04, TOP
=0X08, BOTTOM
=0x10 };
40 extern int panel_position
;
42 extern int panel_refresh
;
44 extern Task
*task_active
;
45 extern Task
*task_drag
;
49 // always start with area
50 // area.list own all objects of the panel according to config file
53 // --------------------------------------------------
58 // position relative to root window
61 float initial_width
, initial_height
;
62 int pourcentx
, pourcenty
;
63 // location of the panel (monitor number)
66 // --------------------------------------------------
67 // task and taskbar parameter per panel
71 // --------------------------------------------------
72 // taskbar point to the first taskbar in panel.area.list.
73 // number of tasbar == nb_desktop
77 // --------------------------------------------------
81 // --------------------------------------------------
94 void resize_panel(void *obj
);
96 void set_panel_properties(Panel
*p
);
97 void visible_object();
99 // draw background panel
100 void set_panel_background(Panel
*p
);
102 // detect witch panel
103 Panel
*get_panel(Window win
);
This page took 0.035401 seconds and 4 git commands to generate.