]> Dogcows Code - chaz/tint2/blob - src/util/window.h
fixed bug with "task on all desktop" (issue 39), fixed memory corruption
[chaz/tint2] / src / util / window.h
1 /**************************************************************************
2 * window :
3 * -
4 *
5 * Check COPYING file for Copyright
6 *
7 **************************************************************************/
8
9 #ifndef WINDOW_H
10 #define WINDOW_H
11
12 #include <pango/pangocairo.h>
13
14
15 typedef struct window_global
16 {
17 Window main_win;
18 } window_global;
19
20 window_global window;
21
22 void set_active (Window win);
23 void set_desktop (int desktop);
24 void set_close (Window win);
25 int server_get_current_desktop ();
26 int server_get_number_of_desktop ();
27 int window_is_iconified (Window win);
28 int window_is_hidden (Window win);
29 int window_is_active (Window win);
30 int get_icon_count (long *data, int num);
31 long *get_best_icon (long *data, int icon_count, int num, int *iw, int *ih, int best_icon_size);
32 void window_toggle_shade (Window win);
33 int window_get_desktop (Window win);
34 void windows_set_desktop (Window win, int desktop);
35 int window_get_monitor (Window win);
36 Window window_get_active ();
37
38 void get_text_size(PangoFontDescription *font, int *height_ink, int *height, int panel_height, char *text, int len);
39
40
41 #endif
This page took 0.033581 seconds and 4 git commands to generate.