@@ -272,7 +272,7 @@ void Window::SetMinimumSize(Size size) {
272272 // This is a placeholder implementation
273273}
274274
275- Size Window::GetMinimumSize () {
275+ Size Window::GetMinimumSize () const {
276276 // Placeholder implementation
277277 return Size{0 , 0 };
278278}
@@ -282,7 +282,7 @@ void Window::SetMaximumSize(Size size) {
282282 // This is a placeholder implementation
283283}
284284
285- Size Window::GetMaximumSize () {
285+ Size Window::GetMaximumSize () const {
286286 // Placeholder implementation
287287 return Size{0 , 0 };
288288}
@@ -409,7 +409,7 @@ void Window::SetAlwaysOnTop(bool is_always_on_top) {
409409 }
410410}
411411
412- bool Window::IsAlwaysOnTop () {
412+ bool Window::IsAlwaysOnTop () const {
413413 if (pimpl_->hwnd_ ) {
414414 LONG_PTR exStyle = GetWindowLongPtr (pimpl_->hwnd_ , GWL_EXSTYLE);
415415 return (exStyle & WS_EX_TOPMOST) != 0 ;
@@ -425,7 +425,7 @@ void Window::SetPosition(Point point) {
425425 }
426426}
427427
428- Point Window::GetPosition () {
428+ Point Window::GetPosition () const {
429429 Point point = {0 , 0 };
430430
431431 if (pimpl_->hwnd_ ) {
@@ -446,7 +446,7 @@ void Window::SetTitle(std::string title) {
446446 }
447447}
448448
449- std::string Window::GetTitle () {
449+ std::string Window::GetTitle () const {
450450 if (pimpl_->hwnd_ ) {
451451 int length = GetWindowTextLength (pimpl_->hwnd_ );
452452 if (length > 0 ) {
0 commit comments