diff --git a/examples/dmledit/src/dmledit.d b/examples/dmledit/src/dmledit.d index 380080c4..9d71dda7 100644 --- a/examples/dmledit/src/dmledit.d +++ b/examples/dmledit/src/dmledit.d @@ -96,9 +96,9 @@ class EditFrame : AppFrame { MenuItem mainMenuItems; - override protected void init() { + override protected void initialize() { _appName = "DMLEdit"; - super.init(); + super.initialize(); updatePreview(); } diff --git a/examples/spreadsheet/src/spreadsheetapp.d b/examples/spreadsheet/src/spreadsheetapp.d index fb4355d3..6e732910 100644 --- a/examples/spreadsheet/src/spreadsheetapp.d +++ b/examples/spreadsheet/src/spreadsheetapp.d @@ -46,9 +46,9 @@ class EditFrame : AppFrame { MenuItem mainMenuItems; - override protected void init() { + override protected void initialize() { _appName = "DlangUISpreadSheet"; - super.init(); + super.initialize(); } /// create main menu diff --git a/examples/tetris/src/gui.d b/examples/tetris/src/gui.d index bc70d4fb..9bdd5113 100644 --- a/examples/tetris/src/gui.d +++ b/examples/tetris/src/gui.d @@ -264,7 +264,7 @@ class CupWidget : Widget { /// start new game void newGame() { setLevel(1); - init(_cols, _rows); + initialize(_cols, _rows); _cup.dropNextFigure(); setCupState(CupState.NewFigure); if (window && _gameOverPopup) { @@ -278,8 +278,8 @@ class CupWidget : Widget { } /// init cup - void init(int cols, int rows) { - _cup.init(cols, rows); + void initialize(int cols, int rows) { + _cup.initialize(cols, rows); _cols = cols; _rows = rows; } diff --git a/examples/tetris/src/model.d b/examples/tetris/src/model.d index d0716744..33bcbe89 100644 --- a/examples/tetris/src/model.d +++ b/examples/tetris/src/model.d @@ -205,7 +205,7 @@ struct Cup { return _rows; } /// inits empty cup of specified size - void init(int cols, int rows) { + void initialize(int cols, int rows) { _cols = cols; _rows = rows; _cup = new int[_cols * _rows];