interface Dimensions {
attribute unsigned long width;
attribute unsigned long height;
};
exception NoPointerDevice { };
interface Button {
boolean isMouseOver();
void setDimensions([Dimensions] size);
void setDimensions(unsigned long width, unsigned long height);
};
interface Dimensions {
attribute unsigned long width;
attribute unsigned long height;
};
attribute unsigned long width;
attribute unsigned long height;
exception NoPointerDevice { };
interface Button {
boolean isMouseOver();
void setDimensions([Dimensions] size);
void setDimensions(unsigned long width, unsigned long height);
};
boolean isMouseOver();
void setDimensions([Dimensions] size);
void setDimensions(unsigned long width, unsigned long height);