mirror of https://github.com/buggins/dlangui.git
Fix build on X11, console and android.
This commit is contained in:
parent
1259ee92b4
commit
fc770b5552
|
@ -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() {
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue