X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fpopup.h;h=503e27735b3656b956683b7569fb582543429c97;hb=26cc41f6c6187dabd5c7ee4365c8fa44751009e5;hp=f96ad664aafbea90d7803bd452bcc831db611fa8;hpb=9a3f05a780f8cbfeb68626552d25c48ab0245ca3;p=chaz%2Fopenbox diff --git a/openbox/popup.h b/openbox/popup.h index f96ad664..503e2773 100644 --- a/openbox/popup.h +++ b/openbox/popup.h @@ -53,7 +53,7 @@ struct _ObPopup 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; }; @@ -77,7 +77,7 @@ struct _ObPagerPopup RrAppearance *unhilight; }; -ObPopup *popup_new(); +ObPopup *popup_new(void); void popup_free(ObPopup *self); /*! Position the popup. The gravity rules are not the same X uses for windows, @@ -105,12 +105,12 @@ void popup_hide(ObPopup *self); RrAppearance *popup_icon_appearance(ObPopup *self); -ObIconPopup *icon_popup_new(); +ObIconPopup *icon_popup_new(void); void icon_popup_free(ObIconPopup *self); #define icon_popup_show(s, t, i) icon_popup_delay_show((s),0,(t),(i)) void icon_popup_delay_show(ObIconPopup *self, gulong usec, - gchar *text, const struct _ObClientIcon *icon); + gchar *text, RrImage *icon); #define icon_popup_hide(p) popup_hide((p)->popup) #define icon_popup_position(p, g, x, y) popup_position((p)->popup,(g),(x),(y)) #define icon_popup_text_width(p, w) popup_text_width((p)->popup,(w)) @@ -124,7 +124,7 @@ void icon_popup_delay_show(ObIconPopup *self, gulong usec, #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(); +ObPagerPopup *pager_popup_new(void); void pager_popup_free(ObPagerPopup *self); #define pager_popup_show(s, t, d) pager_popup_delay_show((s),0,(t),(d))