add support for scrolling the list with mouse wheel by given number of lines

This commit is contained in:
Andrzej Rybczak
2009-11-11 00:31:03 +01:00
parent c6e26e121f
commit 35a182d79e
6 changed files with 30 additions and 2 deletions

View File

@@ -52,6 +52,15 @@ namespace NCurses
///
virtual void GetSelected(std::vector<size_t> &v) const = 0;
/// Highlights given position
/// @param pos position to be highlighted
///
virtual void Highlight(size_t pos) = 0;
/// @return currently highlighted position
///
virtual size_t Choice() const = 0;
/// @see Menu::Empty()
///
virtual bool Empty() const = 0;