window: rename Where to Scroll and make it enum class
This commit is contained in:
@@ -49,7 +49,7 @@ struct BaseScreen
|
||||
virtual void refreshWindow() = 0;
|
||||
|
||||
/// @see Screen::scroll()
|
||||
virtual void scroll(NC::Where where) = 0;
|
||||
virtual void scroll(NC::Scroll where) = 0;
|
||||
|
||||
/// Method used for switching to screen
|
||||
virtual void switchTo() = 0;
|
||||
@@ -168,7 +168,7 @@ public:
|
||||
/// if fancy scrolling feature is disabled, enters the
|
||||
/// loop that holds main loop until user releases the key
|
||||
/// @param where indicates where one wants to scroll
|
||||
virtual void scroll(NC::Where where) OVERRIDE {
|
||||
virtual void scroll(NC::Scroll where) OVERRIDE {
|
||||
Accessor::apply(w).scroll(where);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user