Adapt EO tutorials to latest Eolian inheritance syntax

Rectangle(Efl.Object, ...) -> Rectangle extends Efl.Object implements ...
This commit is contained in:
Xavi Artigas 2019-01-23 11:18:45 +01:00
parent 9751e2ed82
commit af8036ab17
6 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
class Example.Rectangle (Efl.Object) {
class Example.Rectangle extends Efl.Object {
methods {
@property width {
set {

View File

@ -1,4 +1,4 @@
class Example.Rectangle (Efl.Object) {
class Example.Rectangle extends Efl.Object {
[[A rectangle shape object]]
methods {
@property width {

View File

@ -1,4 +1,4 @@
class Example.Square (Example.Rectangle) {
class Example.Square extends Example.Rectangle {
[[A square shape object]]
implements {
Example.Rectangle.width {set;}

View File

@ -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 {

View File

@ -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 {

View File

@ -1,4 +1,4 @@
class Example.Square (Example.Rectangle) {
class Example.Square extends Example.Rectangle {
[[A square shape object]]
implements {
Example.Rectangle.width {set;}