Etterna 0.74.4
Loading...
Searching...
No Matches
ScrollBar.h
1/* ScrollBar - A simple scrollbar. */
2
3#ifndef SCROLL_BAR_H
4#define SCROLL_BAR_H
5
6#include "Etterna/Actor/Base/ActorFrame.h"
7#include "Etterna/Actor/Base/AutoActor.h"
8
9class ScrollBar : public ActorFrame
10{
11 public:
12 ScrollBar();
13
14 void SetBarHeight(int iHeight);
15 void SetPercentage(float fCenterPercent, float fSizePercent);
16
17 protected:
18 int m_iBarHeight;
19
20 AutoActor m_sprMiddle;
21 AutoActor m_sprTop;
22 AutoActor m_sprBottom;
23 AutoActor m_sprScrollTickThumb;
24 AutoActor m_sprScrollStretchThumb[2];
25};
26
27#endif
A container for other Actors.
Definition ActorFrame.h:8
A smart pointer for Actor.
Definition AutoActor.h:13
Definition ScrollBar.h:10