mirror of https://github.com/buggins/dlangui.git
windowCaption() const added
This commit is contained in:
parent
61a30cee60
commit
380762c8bf
|
@ -48,7 +48,7 @@ class AndroidWindow : Window {
|
||||||
|
|
||||||
protected dstring _caption;
|
protected dstring _caption;
|
||||||
/// returns window caption
|
/// returns window caption
|
||||||
override @property dstring windowCaption() {
|
override @property dstring windowCaption() const {
|
||||||
return _caption;
|
return _caption;
|
||||||
}
|
}
|
||||||
/// sets window caption
|
/// sets window caption
|
||||||
|
|
|
@ -37,7 +37,7 @@ class ConsoleWindow : Window {
|
||||||
}
|
}
|
||||||
private dstring _windowCaption;
|
private dstring _windowCaption;
|
||||||
/// returns window caption
|
/// returns window caption
|
||||||
override @property dstring windowCaption() {
|
override @property dstring windowCaption() const {
|
||||||
return _windowCaption;
|
return _windowCaption;
|
||||||
}
|
}
|
||||||
/// sets window caption
|
/// sets window caption
|
||||||
|
|
|
@ -366,7 +366,7 @@ class Window : CustomEventTarget {
|
||||||
/// show window
|
/// show window
|
||||||
abstract void show();
|
abstract void show();
|
||||||
/// returns window caption
|
/// returns window caption
|
||||||
abstract @property dstring windowCaption();
|
abstract @property dstring windowCaption() const;
|
||||||
/// sets window caption
|
/// sets window caption
|
||||||
abstract @property void windowCaption(dstring caption);
|
abstract @property void windowCaption(dstring caption);
|
||||||
/// sets window icon
|
/// sets window icon
|
||||||
|
|
|
@ -49,7 +49,7 @@ class DSFMLWindow : dlangui.platforms.common.platform.Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// returns window caption
|
/// returns window caption
|
||||||
override @property dstring windowCaption() {
|
override @property dstring windowCaption() const {
|
||||||
// TODO
|
// TODO
|
||||||
return ""d;
|
return ""d;
|
||||||
}
|
}
|
||||||
|
|
|
@ -490,7 +490,7 @@ class SDLWindow : Window {
|
||||||
|
|
||||||
protected dstring _caption;
|
protected dstring _caption;
|
||||||
|
|
||||||
override @property dstring windowCaption() {
|
override @property dstring windowCaption() const {
|
||||||
return _caption;
|
return _caption;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -517,7 +517,7 @@ class Win32Window : Window {
|
||||||
return _hwnd == GetForegroundWindow();
|
return _hwnd == GetForegroundWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
override @property dstring windowCaption() {
|
override @property dstring windowCaption() const {
|
||||||
return _caption;
|
return _caption;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -625,7 +625,7 @@ class X11Window : DWindow {
|
||||||
return _isActive;
|
return _isActive;
|
||||||
}
|
}
|
||||||
|
|
||||||
override @property dstring windowCaption() {
|
override @property dstring windowCaption() const {
|
||||||
return _caption;
|
return _caption;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue