mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Make Widget::offsetWidgets() function public
This commit is contained in:
parent
bf9994387d
commit
3bad2af2f3
@ -1,5 +1,5 @@
|
|||||||
// Aseprite UI Library
|
// 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.
|
// This file is released under the terms of the MIT license.
|
||||||
// Read LICENSE.txt for more information.
|
// Read LICENSE.txt for more information.
|
||||||
@ -246,6 +246,7 @@ namespace ui {
|
|||||||
// onResize() and want to change the size of the widget without
|
// onResize() and want to change the size of the widget without
|
||||||
// generating recursive onResize() events.
|
// generating recursive onResize() events.
|
||||||
void setBoundsQuietly(const gfx::Rect& rc);
|
void setBoundsQuietly(const gfx::Rect& rc);
|
||||||
|
void offsetWidgets(int dx, int dy);
|
||||||
|
|
||||||
const gfx::Size& minSize() const { return m_minSize; }
|
const gfx::Size& minSize() const { return m_minSize; }
|
||||||
const gfx::Size& maxSize() const { return m_maxSize; }
|
const gfx::Size& maxSize() const { return m_maxSize; }
|
||||||
@ -349,8 +350,6 @@ namespace ui {
|
|||||||
int mnemonicChar() const;
|
int mnemonicChar() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void offsetWidgets(int dx, int dy);
|
|
||||||
|
|
||||||
// ===============================================================
|
// ===============================================================
|
||||||
// MESSAGE PROCESSING
|
// MESSAGE PROCESSING
|
||||||
// ===============================================================
|
// ===============================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user