Adapt EO tutorials to latest Eolian inheritance syntax
Rectangle(Efl.Object, ...) -> Rectangle extends Efl.Object implements ...
This commit is contained in:
parent
9751e2ed82
commit
af8036ab17
|
@ -1,4 +1,4 @@
|
|||
class Example.Rectangle (Efl.Object) {
|
||||
class Example.Rectangle extends Efl.Object {
|
||||
methods {
|
||||
@property width {
|
||||
set {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Example.Rectangle (Efl.Object) {
|
||||
class Example.Rectangle extends Efl.Object {
|
||||
[[A rectangle shape object]]
|
||||
methods {
|
||||
@property width {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Example.Square (Example.Rectangle) {
|
||||
class Example.Square extends Example.Rectangle {
|
||||
[[A square shape object]]
|
||||
implements {
|
||||
Example.Rectangle.width {set;}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Example.Circle (Efl.Object, Example.Shape) {
|
||||
class Example.Circle extends Efl.Object implements Example.Shape {
|
||||
[[A circle shape object]]
|
||||
methods {
|
||||
@property radius {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Example.Rectangle (Efl.Object, Example.Shape, Example.Colored) {
|
||||
class Example.Rectangle extends Efl.Object implements Example.Shape, Example.Colored {
|
||||
[[A rectangle shape object]]
|
||||
methods {
|
||||
@property width {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
class Example.Square (Example.Rectangle) {
|
||||
class Example.Square extends Example.Rectangle {
|
||||
[[A square shape object]]
|
||||
implements {
|
||||
Example.Rectangle.width {set;}
|
||||
|
|
Loading…
Reference in New Issue