X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Futil%2Fwindow.h;h=fcf666fd2c9599d86cbc6857b714348cf62d944b;hb=8d8f2511d4e863c7b63c1069be0a32adac15f0ef;hp=a905f6b3fa517c6e8b9ae732424bd53064a10936;hpb=a36e39c7c2fedd87847514d561dc7d7bded2a3fa;p=chaz%2Ftint2 diff --git a/src/util/window.h b/src/util/window.h index a905f6b..fcf666f 100644 --- a/src/util/window.h +++ b/src/util/window.h @@ -9,6 +9,7 @@ #ifndef WINDOW_H #define WINDOW_H +#include #include @@ -17,12 +18,14 @@ void set_desktop (int desktop); void set_close (Window win); int server_get_current_desktop (); int server_get_number_of_desktop (); +GSList *server_get_name_of_desktop (); int window_is_iconified (Window win); int window_is_urgent (Window win); int window_is_hidden (Window win); int window_is_active (Window win); -int get_icon_count (long *data, int num); -long *get_best_icon (long *data, int icon_count, int num, int *iw, int *ih, int best_icon_size); +int window_is_skip_taskbar (Window win); +int get_icon_count (gulong *data, int num); +gulong *get_best_icon (gulong *data, int icon_count, int num, int *iw, int *ih, int best_icon_size); void window_maximize_restore (Window win); void window_toggle_shade (Window win); int window_get_desktop (Window win); @@ -31,6 +34,7 @@ int window_get_monitor (Window win); Window window_get_active (); void get_text_size(PangoFontDescription *font, int *height_ink, int *height, int panel_height, char *text, int len); +void get_text_size2(PangoFontDescription *font, int *height_ink, int *height, int *width, int panel_height, int panel_with, char *text, int len); #endif