From 3bad2af2f3b8a8f5d66f6e4fc4781bf490290644 Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 4 Jan 2016 17:49:40 -0300 Subject: [PATCH] Make Widget::offsetWidgets() function public --- src/ui/widget.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ui/widget.h b/src/ui/widget.h index 0d48ac78b..28c0742fb 100644 --- a/src/ui/widget.h +++ b/src/ui/widget.h @@ -1,5 +1,5 @@ // Aseprite UI Library -// Copyright (C) 2001-2015 David Capello +// Copyright (C) 2001-2016 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. @@ -246,6 +246,7 @@ namespace ui { // onResize() and want to change the size of the widget without // generating recursive onResize() events. void setBoundsQuietly(const gfx::Rect& rc); + void offsetWidgets(int dx, int dy); const gfx::Size& minSize() const { return m_minSize; } const gfx::Size& maxSize() const { return m_maxSize; } @@ -349,8 +350,6 @@ namespace ui { int mnemonicChar() const; protected: - void offsetWidgets(int dx, int dy); - // =============================================================== // MESSAGE PROCESSING // ===============================================================