#include "bcpopup.h"
#include "bcresources.h"
#include "clip.h"
-#include "colors.h"
+#include "bccolors.h"
#include "fonts.h"
#include "rotateframe.h"
#include "units.h"
int BC_Pan::repeat_event(int64_t duration)
{
- if( highlighted && !active && !tooltip_done &&
+ if( highlighted && !active &&
tooltip_text && tooltip_text[0] != 0 &&
duration == top_level->get_resources()->tooltip_delay )
{
show_tooltip();
- tooltip_done = 1;
return 1;
}
return 0;
{
if(is_event_win() && !highlighted)
{
- tooltip_done = 0;
highlighted = 1;
draw(1, 1);
}