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 {
|
methods {
|
||||||
@property width {
|
@property width {
|
||||||
set {
|
set {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Example.Rectangle (Efl.Object) {
|
class Example.Rectangle extends Efl.Object {
|
||||||
[[A rectangle shape object]]
|
[[A rectangle shape object]]
|
||||||
methods {
|
methods {
|
||||||
@property width {
|
@property width {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Example.Square (Example.Rectangle) {
|
class Example.Square extends Example.Rectangle {
|
||||||
[[A square shape object]]
|
[[A square shape object]]
|
||||||
implements {
|
implements {
|
||||||
Example.Rectangle.width {set;}
|
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]]
|
[[A circle shape object]]
|
||||||
methods {
|
methods {
|
||||||
@property radius {
|
@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]]
|
[[A rectangle shape object]]
|
||||||
methods {
|
methods {
|
||||||
@property width {
|
@property width {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Example.Square (Example.Rectangle) {
|
class Example.Square extends Example.Rectangle {
|
||||||
[[A square shape object]]
|
[[A square shape object]]
|
||||||
implements {
|
implements {
|
||||||
Example.Rectangle.width {set;}
|
Example.Rectangle.width {set;}
|
||||||
|
|
Loading…
Reference in New Issue