Package org.newdawn.slick.gui

Examples of org.newdawn.slick.gui.MouseOverArea


    image = new Image("testdata/logo.tga");
    background = new Image("testdata/dungeontiles.gif");
    container.setMouseCursor("testdata/cursor.tga", 0, 0);
   
    for (int i=0;i<4;i++) {
      areas[i] = new MouseOverArea(container, image, 300, 100 + (i*100), 200, 90, this);
      areas[i].setNormalColor(new Color(1,1,1,0.8f));
      areas[i].setMouseOverColor(new Color(1,1,1,0.9f));
    }
  }
View Full Code Here

TOP

Related Classes of org.newdawn.slick.gui.MouseOverArea

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.