]>
Dogcows Code - chaz/tint2/blob - window.h
fd596c06e795bed023f84cede9202474ff5b76b4
1 /**************************************************************************
5 * Check COPYING file for Copyright
7 **************************************************************************/
13 #include <cairo-xlib.h>
14 #include <pango/pangocairo.h>
17 typedef struct window_global
24 void set_active (Window win
);
25 void set_desktop (int desktop
);
26 void set_close (Window win
);
27 int server_get_current_desktop ();
28 int server_get_number_of_desktop ();
29 int window_is_iconified (Window win
);
30 int window_is_hidden (Window win
);
31 int window_is_active (Window win
);
32 int get_icon_count (long *data
, int num
);
33 long *get_best_icon (long *data
, int icon_count
, int num
, int *iw
, int *ih
, int best_icon_size
);
34 void window_toggle_shade (Window win
);
35 int window_get_desktop (Window win
);
36 void windows_set_desktop (Window win
, int desktop
);
37 int window_get_monitor (Window win
);
38 Window
window_get_active ();
40 // draw rounded rectangle
41 void draw_rect(cairo_t
*c
, double x
, double y
, double w
, double h
, double r
);
43 void get_text_size(PangoFontDescription
*font
, int *height_ink
, int *height
, int panel_height
, char *text
, int len
);
This page took 0.03283 seconds and 3 git commands to generate.