]> Dogcows Code - chaz/tint2/blob - src/taskbar/taskbarname.c
7d716295cb98d104c1855946cc9c5f3856449cba
[chaz/tint2] / src / taskbar / taskbarname.c
1 /**************************************************************************
2 *
3 * Tint2 : taskbarname
4 *
5 * Copyright (C) 2008 thierry lorthiois (lorthiois@bbsoft.fr) from Omega distribution
6 *
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.
10 *
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 **************************************************************************/
19
20 #include <X11/Xlib.h>
21 #include <X11/Xutil.h>
22 #include <X11/Xatom.h>
23 #include <stdio.h>
24 #include <stdlib.h>
25 #include <string.h>
26 #include <glib.h>
27 #include <Imlib2.h>
28
29 #include "taskbarname.h"
30 #include "window.h"
31 #include "panel.h"
32
33
34 int taskbarname_enabled;
35
36
37 void default_taskbarname()
38 {
39 taskbarname_enabled = 0;
40 }
41
42 void cleanup_taskbarname()
43 {
44 Panel *panel;
45 Taskbar *tskbar;
46 int i, j;
47
48 for (i=0 ; i < nb_panel ; i++) {
49 panel = &panel1[i];
50 }
51 }
52
53
54 void init_taskbarname()
55 {
56 }
57
58
59 void init_taskbarname_panel(void *p)
60 {
61 Panel *panel =(Panel*)p;
62
63 if (!taskbarname_enabled) return;
64
65 }
66
67
68 void draw_taskbarname (void *obj, cairo_t *c)
69 {
70
71 }
72
73
74 int resize_taskbarname(void *obj)
75 {
76 Taskbar *taskbar = (Taskbar*)obj;
77 Panel *panel = (Panel*)taskbar->area.panel;
78
79 return 0;
80 }
81
82
83
84
This page took 0.031349 seconds and 3 git commands to generate.