resetCameraClippingRange();
}
}
+ if (hoverActor.size() > 0) {
+ hoverActor.clear();
+ fireHoverChanged();
+ }
lastX = x;
lastY = y;
panel.Render();
}
}
+ @Override
+ public void mouseExited(MouseEvent e) {
+ if (hoverActor.size() > 0) {
+ hoverActor.clear();
+ fireHoverChanged();
+ }
+ }
+
/**
* Returns mouse position in AWT screen coordinates.
* @return
double backgroundOpacity = 0.8;
double color[] = new double[] {0.0,0.0,0.0};
double frameColor[] = new double[] {0.0,0.0,0.0};
+ int fontSize = 12;
T obj = null;
Point3d pos3d;
this.frameColor = frameColor;
}
+ public void setFontSize(int fontSize) {
+ this.fontSize = fontSize;
+ }
+
/**
* Removes/hides current tooltip.
*/
} else {
prop.SetFrame(0);
}
+ prop.SetFontSize(view.upscale(fontSize));
prop.Delete();
view.addDeletable(textActor);