Public Member Functions | Protected Attributes

celery::engine::graphics::entities::Button Class Reference

Inheritance diagram for celery::engine::graphics::entities::Button:
Inheritance graph
[legend]
Collaboration diagram for celery::engine::graphics::entities::Button:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Button (String str, Transform tfo, SceneMaterial textMat, SceneMaterial buttonMat, TouchInputHandler tHdl)
void setText (String txt)
Vec4F getAABB ()
boolean isInBounds (Vec2F coord)
void draw (Canvas c, Engine e, Viewport v, Vec4F bounds)
GeometryData geometryData ()

Protected Attributes

SceneMaterial buttonMat_
SceneMaterial textMat_
String text_
Rectangle rect_
Rect bounds_

The documentation for this class was generated from the following file:
 All Classes Functions Variables