Fix build on X11, console and android.

This commit is contained in:
and3md 2017-08-02 21:15:07 +02:00
parent 1259ee92b4
commit fc770b5552
3 changed files with 13 additions and 0 deletions

View File

@ -33,6 +33,10 @@ class AndroidWindow : Window {
} }
bool _visible; bool _visible;
override @property Window parentWindow() {
return null;
}
protected dstring _caption; protected dstring _caption;
/// returns window caption /// returns window caption
override @property dstring windowCaption() { override @property dstring windowCaption() {

View File

@ -52,6 +52,11 @@ class ConsoleWindow : Window {
Log.d("ConsoleWindow.close()"); Log.d("ConsoleWindow.close()");
_platform.closeWindow(this); _platform.closeWindow(this);
} }
override @property Window parentWindow() {
return _parent;
}
protected bool _visible; protected bool _visible;
/// returns true if window is shown /// returns true if window is shown
@property bool visible() { @property bool visible() {

View File

@ -512,6 +512,10 @@ class X11Window : DWindow {
return result; return result;
} }
override @property DWindow parentWindow() {
return _parent;
}
override @property dstring windowCaption() { override @property dstring windowCaption() {
return _caption; return _caption;
} }