diff src/gtkblist.h @ 7636:01c1b3ea70c6

[gaim-migrate @ 8278] This auto-expands Persons on mouse-over. I think it works rather well, and performs such niceties as drawing the tooltip as not to cover up the child buddies and such. The only thing I'm not sure about yet is that, although it won't expand contacts only containing a single buddy, it will expand persons (note how I go back and forth in terminology) that have only one *online* buddy. That's probably the correct thing; it shows the user that only one buddy is online. But I can see how it might cause confusion. Comments to gaim-devel@lists.sourceforge.net are welcome. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 26 Nov 2003 08:04:47 +0000
parents 52cf473a0103
children fa6395637e2c
line wrap: on
line diff
--- a/src/gtkblist.h	Wed Nov 26 05:27:46 2003 +0000
+++ b/src/gtkblist.h	Wed Nov 26 08:04:47 2003 +0000
@@ -69,9 +69,14 @@
 	guint refresh_timer;            /**< The timer for refreshing every 30 seconds */
 
 	guint      timeout;              /**< The timeout for the tooltip. */
-	GdkRectangle rect;               /**< This is the bounding rectangle of the
-					       cell we're currently hovering over.  This is
-					       used for tooltips. */
+	GdkRectangle tip_rect;           /**< This is the bounding rectangle of the
+					      cell we're currently hovering over.  This is
+					      used for tooltips. */
+	GdkRectangle contact_rect;       /**< This is the bounding rectangle of the contact node
+					      and its children.  This is used for auto-expand on
+					      mouseover. */
+	GaimBlistNode *mouseover_contact; /**< This is the contact currently mouse-over expanded */
+
 	GtkWidget *tipwindow;            /**< The window used by the tooltip */
 
 	GaimBlistNode *selected_node;   /**< The currently selected node */