1 | // Aseprite UI Library |
2 | // Copyright (C) 2001-2015 David Capello |
3 | // |
4 | // This file is released under the terms of the MIT license. |
5 | // Read LICENSE.txt for more information. |
6 | |
7 | #ifndef UI_SCROLL_HELPER_H_INCLUDED |
8 | #define UI_SCROLL_HELPER_H_INCLUDED |
9 | #pragma once |
10 | |
11 | #include "gfx/rect.h" |
12 | #include "gfx/size.h" |
13 | |
14 | namespace ui { |
15 | |
16 | class ScrollBar; |
17 | |
18 | void setup_scrollbars(const gfx::Size& scrollableSize, |
19 | gfx::Rect& viewportArea, |
20 | Widget& parent, |
21 | ScrollBar& hbar, |
22 | ScrollBar& vbar); |
23 | |
24 | } // namespace ui |
25 | |
26 | #endif |
27 | |