examples/c-eo-classes/src/example_rectangle.eo

32 lines
635 B
Plaintext

class Example.Rectangle (Efl.Object, Example.Shape) {
[[A rectangle shape object]]
eo_prefix: example_rectangle;
methods {
@property width {
[[The width of this rectangle]]
set {
}
get {
}
values {
width: int; [[Rectangle width]]
}
}
@property height {
[[The height of this rectangle]]
set {
}
get {
}
values {
height: int; [[Rectangle height]]
}
}
}
implements {
class.constructor;
class.destructor;
Example.Shape.area;
}
}