2008-10-02 18:47:02 +00:00
|
|
|
/**************************************************************************
|
2009-02-07 23:28:13 +00:00
|
|
|
* window :
|
|
|
|
* -
|
2008-10-02 18:47:02 +00:00
|
|
|
*
|
|
|
|
* Check COPYING file for Copyright
|
|
|
|
*
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
#ifndef WINDOW_H
|
|
|
|
#define WINDOW_H
|
|
|
|
|
|
|
|
#include <pango/pangocairo.h>
|
|
|
|
|
|
|
|
|
|
|
|
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 ();
|
|
|
|
int window_is_iconified (Window win);
|
2009-02-25 20:04:43 +00:00
|
|
|
int window_is_urgent (Window win);
|
2008-10-02 18:47:02 +00:00
|
|
|
int window_is_hidden (Window win);
|
|
|
|
int window_is_active (Window win);
|
2009-09-07 21:41:21 +00:00
|
|
|
int window_is_skip_taskbar (Window win);
|
2010-08-08 20:03:09 +00:00
|
|
|
int get_icon_count (int32_t *data, int num);
|
|
|
|
int32_t *get_best_icon (int32_t *data, int icon_count, int num, int *iw, int *ih, int best_icon_size);
|
2009-08-09 15:57:18 +00:00
|
|
|
void window_maximize_restore (Window win);
|
2008-10-02 18:47:02 +00:00
|
|
|
void window_toggle_shade (Window win);
|
|
|
|
int window_get_desktop (Window win);
|
|
|
|
void windows_set_desktop (Window win, int desktop);
|
|
|
|
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);
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|