Added Menu::count
This commit is contained in:
+6
-1
@@ -176,7 +176,12 @@ class Menu: public ModalWindow {
|
|||||||
|
|
||||||
void removeLines();
|
void removeLines();
|
||||||
|
|
||||||
inline void select(int index)
|
unsigned count() const
|
||||||
|
{
|
||||||
|
return content->body.count();
|
||||||
|
}
|
||||||
|
|
||||||
|
void select(int index)
|
||||||
{
|
{
|
||||||
content->body.select(index);
|
content->body.select(index);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user