]>
Dogcows Code - chaz/tint2/blob - src/taskbar/taskbarname.c
1 /**************************************************************************
5 * Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr)
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License version 2
9 * as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 **************************************************************************/
21 #include <X11/Xutil.h>
22 #include <X11/Xatom.h>
29 #include "taskbarname.h"
34 int taskbarname_enabled
;
37 void default_taskbarname()
39 taskbarname_enabled
= 0;
42 void cleanup_taskbarname()
48 for (i
=0 ; i
< nb_panel
; i
++) {
54 void init_taskbarname()
59 void init_taskbarname_panel(void *p
)
61 Panel
*panel
=(Panel
*)p
;
63 if (!taskbarname_enabled
) return;
68 void draw_taskbarname (void *obj
, cairo_t
*c
)
74 int resize_taskbarname(void *obj
)
76 Taskbar
*taskbar
= (Taskbar
*)obj
;
77 Panel
*panel
= (Panel
*)taskbar
->area
.panel
;
This page took 0.036346 seconds and 4 git commands to generate.