Class ListView

#include <Geode/ui/ListView.hpp>
classListView:publicCustomListView{ ... }

Class for a generic scrollable list of items like the level list in GD

Examples0
Public static methods1
staticgeode::ListView*create(,
floatitemHeight
,
floatwidth
,
floatheight
)

Create a generic scrollable list of items

Parameters

items

Nodes to add as children

itemHeight

Height of each child

width

Width of the list

height

Height of the list
Return value
The created ListView, or nullptr on error
Public member functions4
voidsetPrimaryCellColor()
No description provided
voidsetSecondaryCellColor()
No description provided
voidsetCellOpacity(
_::GLubyteopacity
)
No description provided
voidsetCellBorderColor()
No description provided
Fields0
Protected member functions4
virtualvoidsetupList()
No description provided
virtualTableViewCell*getListCell()
No description provided
virtualvoidloadCell(,
intindex
)
No description provided
voidupdateAllCells()
No description provided
Protected fields4
cocos2d::ccColor3Bm_primaryCellColor
;
No description provided
cocos2d::ccColor3Bm_secondaryCellColor
;
No description provided
_::GLubytem_cellOpacity
;
No description provided
cocos2d::ccColor4Bm_cellBorderColor
;
No description provided