35 void draw(NVGcontext* vg,
float x,
float y,
float width,
float height,
Style style,
FrameContext* ctx)
override;
43 void setPadding(
float top,
float right,
float bottom,
float left)
override;
71 return contentOffsetX;
81 showScrollingIndicator = visible;
87 View* contentView =
nullptr;
90 bool updateScrollingOnNextFrame =
false;
91 bool childFocused =
false;
92 bool showScrollingIndicator =
true;
99 void prebakeScrolling();
100 bool updateScrolling(
bool animated);
101 void startScrolling(
bool animated,
float newScroll);
102 void animateScrolling(
float newScroll,
float time);
103 void scrollAnimationTick();
105 float getScrollingAreaLeftBoundary();
106 float getScrollingAreaWidth();
108 float getContentWidth();
111 bool naturalScrollingCanScroll =
false;
112 bool isRubberBanding =
false;
113 void naturalScrollingBehaviour();
114 void naturalScrollingButtonProcessing(
FocusDirection focusDirection,
bool* repeat);
115 View* findLeftMostFocusableView();
117 void setupScrollingIndicator();
118 void updateScrollingIndicatior();
Definition animation.hpp:42
Generic FlexBox layout.
Definition box.hpp:74
CallbacksList::iterator Subscription
Definition event.hpp:45
Definition frame_context.hpp:30
Definition rectangle.hpp:28
Simple wrapper around StyleValues for the array operator.
Definition style.hpp:115
Definition actions.hpp:25
ScrollingBehavior
How a ScrollingFrame follows the focus.
Definition scrolling_frame.hpp:31
FocusDirection
Focus direction when navigating.
Definition view.hpp:96
Sound
Definition audio.hpp:23
Definition geometry.hpp:70