]> Dogcows Code - chaz/tint2/blobdiff - src/util/window.h
desktop name : last step
[chaz/tint2] / src / util / window.h
index 8f3bba3b2e5cd210bc988f3560e799837cb089f2..fcf666fd2c9599d86cbc6857b714348cf62d944b 100644 (file)
@@ -1,6 +1,6 @@
 /**************************************************************************
-* window : 
-* - 
+* window :
+* -
 *
 * Check COPYING file for Copyright
 *
@@ -9,26 +9,24 @@
 #ifndef WINDOW_H
 #define WINDOW_H
 
+#include <glib.h>
 #include <pango/pangocairo.h>
 
 
-typedef struct window_global
-{
-   Window main_win;
-} window_global;
-
-window_global window;
-
 void set_active (Window win);
 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);
 void windows_set_desktop (Window win, int desktop);
@@ -36,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
This page took 0.021806 seconds and 4 git commands to generate.