]>
Dogcows Code - chaz/tint2/blob - src/panel.h
698b7446ff5ed264e4c84aad3f3a57c79127a57e
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"
28 extern int signal_pending
;
29 // --------------------------------------------------
31 extern int mouse_middle
;
32 extern int mouse_right
;
33 extern int mouse_scroll_up
;
34 extern int mouse_scroll_down
;
35 extern int mouse_tilt_left
;
36 extern int mouse_tilt_right
;
39 enum { SINGLE_DESKTOP
=0, MULTI_DESKTOP
};
40 extern int panel_mode
;
42 extern int panel_dock
;
45 enum { LEFT
=0x01, RIGHT
=0x02, CENTER
=0X04, TOP
=0X08, BOTTOM
=0x10 };
46 extern int panel_position
;
47 extern int panel_horizontal
;
49 extern int panel_refresh
;
51 extern Task
*task_active
;
52 extern Task
*task_drag
;
53 extern Task
*task_urgent
;
54 extern int tick_urgent
;
55 extern int max_tick_urgent
;
59 // always start with area
60 // area.list own all objects of the panel according to config file
63 // --------------------------------------------------
68 // position relative to root window
71 float initial_width
, initial_height
;
72 int pourcentx
, pourcenty
;
73 // location of the panel (monitor number)
76 // --------------------------------------------------
77 // task and taskbar parameter per panel
81 // --------------------------------------------------
82 // taskbar point to the first taskbar in panel.area.list.
83 // number of tasbar == nb_desktop
87 // --------------------------------------------------
91 // --------------------------------------------------
104 void cleanup_panel();
105 void resize_panel(void *obj
);
107 void set_panel_properties(Panel
*p
);
108 void visible_object();
110 // draw background panel
111 void set_panel_background(Panel
*p
);
113 // detect witch panel
114 Panel
*get_panel(Window win
);
This page took 0.038206 seconds and 4 git commands to generate.