예제 #1
0
 public Tooltip(Image image)
 {
     IsImage = true;
     Image   = image;
     Gui     = new ImageBox(image, new Area(SpawnLocation, new Coord(ImageMaxWidth, 0)));
     Setup();
 }
예제 #2
0
 public Tooltip(string text)
 {
     IsImage = false;
     Text    = text;
     Gui     = new TextBox(text, SpawnLocation);
     Setup();
 }