6 #ifndef TB_SCROLL_CONTAINER_H
7 #define TB_SCROLL_CONTAINER_H
9 #include "tb_widgets_common.h"
41 int available_w,
int available_h,
42 int scrollbar_x_h,
int scrollbar_y_w);
47 int visible_w, visible_h;
65 bool GetAdaptToContentSize() {
return m_adapt_to_content_size; }
70 bool GetAdaptContentSize() {
return m_adapt_content_size; }
87 virtual void OnResized(
int old_w,
int old_h);
94 bool m_adapt_to_content_size;
95 bool m_adapt_content_size;
96 bool m_layout_is_invalid;
103 #endif // TB_SCROLL_CONTAINER_H
X and Y always scroll-mode: xy.
Definition: tb_scroll_container.h:14
X auto, Y auto scroll-mode: auto.
Definition: tb_scroll_container.h:17
Specifies size constraints used during size calculations.
Definition: tb_widgets.h:321
Y always (X never) scroll-mode: y.
Definition: tb_scroll_container.h:15
SCROLL_MODE
Definition: tb_scroll_container.h:13
INFLATE_INFO contains info passed to TBWidget::OnInflate during resource loading. ...
Definition: tb_widgets_reader.h:21
X any Y never scroll-mode: off.
Definition: tb_scroll_container.h:18
Y auto (X never) scroll-mode: y-auto.
Definition: tb_scroll_container.h:16
Simple rectangle class.
Definition: tb_geometry.h:25
PreferredSize contains size preferences for a TBWidget.
Definition: tb_widgets.h:277