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;
|
||||
/// returns window caption
|
||||
override @property dstring windowCaption() {
|
||||
override @property dstring windowCaption() const {
|
||||
return _caption;
|
||||
}
|
||||
/// sets window caption
|
||||
|
|
|
@ -37,7 +37,7 @@ class ConsoleWindow : Window {
|
|||
}
|
||||
private dstring _windowCaption;
|
||||
/// returns window caption
|
||||
override @property dstring windowCaption() {
|
||||
override @property dstring windowCaption() const {
|
||||
return _windowCaption;
|
||||
}
|
||||
/// sets window caption
|
||||
|
|
|
@ -366,7 +366,7 @@ class Window : CustomEventTarget {
|
|||
/// show window
|
||||
abstract void show();
|
||||
/// returns window caption
|
||||
abstract @property dstring windowCaption();
|
||||
abstract @property dstring windowCaption() const;
|
||||
/// sets window caption
|
||||
abstract @property void windowCaption(dstring caption);
|
||||
/// sets window icon
|
||||
|
|
|
@ -49,7 +49,7 @@ class DSFMLWindow : dlangui.platforms.common.platform.Window {
|
|||
}
|
||||
|
||||
/// returns window caption
|
||||
override @property dstring windowCaption() {
|
||||
override @property dstring windowCaption() const {
|
||||
// TODO
|
||||
return ""d;
|
||||
}
|
||||
|
|
|
@ -490,7 +490,7 @@ class SDLWindow : Window {
|
|||
|
||||
protected dstring _caption;
|
||||
|
||||
override @property dstring windowCaption() {
|
||||
override @property dstring windowCaption() const {
|
||||
return _caption;
|
||||
}
|
||||
|
||||
|
|
|
@ -517,7 +517,7 @@ class Win32Window : Window {
|
|||
return _hwnd == GetForegroundWindow();
|
||||
}
|
||||
|
||||
override @property dstring windowCaption() {
|
||||
override @property dstring windowCaption() const {
|
||||
return _caption;
|
||||
}
|
||||
|
||||
|
|
|
@ -625,7 +625,7 @@ class X11Window : DWindow {
|
|||
return _isActive;
|
||||
}
|
||||
|
||||
override @property dstring windowCaption() {
|
||||
override @property dstring windowCaption() const {
|
||||
return _caption;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue