X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.h;h=0072f53e1c081f7998333eff01270538c2148e5d;hb=415c0d2721149a18ec53de8ebc5b8313b176d4d7;hp=0bf2f50074110aa4fe8397dfe1139c4c6cf59ac7;hpb=82b2f0aa7a1723632e8d3cf7dc772e4bdb66868a;p=chaz%2Fopenbox diff --git a/openbox/popup.h b/openbox/popup.h index 0bf2f500..0072f53e 100644 --- a/openbox/popup.h +++ b/openbox/popup.h @@ -49,9 +49,11 @@ struct _ObPopup gint h; gint minw; gint maxw; + guint iconwm; /* icon width multiplier. multiplied by the normal width */ + guint iconhm; /* icon height multiplier. multipled by the normal height */ gboolean mapped; gboolean delay_mapped; - + void (*draw_icon)(gint x, gint y, gint w, gint h, gpointer data); gpointer draw_icon_data; }; @@ -120,6 +122,7 @@ void icon_popup_delay_show(ObIconPopup *self, gulong usec, #define icon_popup_text_width_to_strings(p, s, n) \ popup_text_width_to_strings((p)->popup,(s),(n)) #define icon_popup_set_text_align(p, j) popup_set_text_align((p)->popup,(j)) +void icon_popup_icon_size_multiplier(ObIconPopup *self, guint wm, guint hm); ObPagerPopup *pager_popup_new(); void pager_popup_free(ObPagerPopup *self); @@ -138,5 +141,6 @@ void pager_popup_delay_show(ObPagerPopup *self, gulong usec, #define pager_popup_text_width_to_strings(p, s, n) \ popup_text_width_to_strings((p)->popup,(s),(n)) #define pager_popup_set_text_align(p, j) popup_set_text_align((p)->popup,(j)) +void pager_popup_icon_size_multiplier(ObPagerPopup *self, guint wm, guint hm); #endif