Chicane

Scrollable

ヘッダー
Includes/Chicane/Grid/Component/Scrollable.hpp
ネームスペース
Chicane::Grid::Scrollable

コンストラクター

名前説明
Scrollable(
const  pugi::xml_node& inNode
)
Scrollable(
const  String& inTag
)

デストラクター

名前説明
~Scrollable()

オーバーライド関数

アクセスタイプモディファイア名前説明
public
void
tick(
float inDelta
)
public
bool
onEvent(
const  WindowEvent& inEvent
)
public
std::vector<Component*>
const
getChildrenFlat()

関数

アクセスタイプモディファイア名前説明
public
const  Vec2&
const
getScroll()
public
const
getScrollMax()
public
void
addScroll(
const  Vec2& inValue
)
public
void
addScroll(
float inX
float inY
)
public
void
setScroll(
const  Vec2& inValue
)
public
void
setScroll(
float inX
float inY
)
public
bool
const
clipsOverflow()
public
bool
const
canScroll()
public
bool
const
canScrollX()
public
bool
const
canScrollY()
public
bool
const
hasScrollBar()
protected
bool
const
hitScrollBar(
const  Vec2& inLocation
)
protected
void
beginScrollBarDrag(
const  Vec2& inLocation
)
protected
void
updateScrollBarDrag(
const  Vec2& inLocation
)
protected
void
endScrollBarDrag()
protected
const
getScrollBarXTrack()
protected
const
getScrollBarXThumb()
protected
const
getScrollBarYTrack()
protected
const
getScrollBarYThumb()
protected
bool
const
isDragging()
protected
bool
handleWheel(
const  Vec2& inDelta
)
protected
void
clampScroll()
protected
void
refreshScrollBars()
protected
void
ensureScrollBarParts()
protected
void
syncScrollBarPart(
ScrollBar* inPart
const  Bounds2D& inBox
const  Color::Rgba& inColor
float inDepthBias
)

メンバ

アクセスタイプモディファイア名前説明
protected
m_currentPosition
protected
m_horizontalBar
protected
m_verticalBar