]> Dogcows Code - chaz/tint2/blobdiff - src/tooltip/tooltip.h
update changelog
[chaz/tint2] / src / tooltip / tooltip.h
index 53f1256a7015849909459f4e6c1960d01574dd12..82752d6b2ec0e0b2eff9336b7caed1c5d0b539c4 100644 (file)
 #include <sys/time.h>
 
 #include "task.h"
+#include "panel.h"
 
 
 typedef struct {
-       Task* task;
+       Area* area;    // never ever use the area attribut if you are not 100% sure that this area was not freed
+       char* tooltip_text;
+       Panel* panel;
        Window window;
        struct timespec show_timeout;
        struct timespec hide_timeout;
@@ -44,7 +47,7 @@ extern Tooltip g_tooltip;
 
 void init_tooltip();
 void cleanup_tooltip();
-void tooltip_trigger_show(Task* task, int x, int y);
+void tooltip_trigger_show(Area* area, Panel* p, int x, int y);
 void tooltip_show();
 void tooltip_update();
 void tooltip_trigger_hide();
This page took 0.021409 seconds and 4 git commands to generate.