window: rename Where to Scroll and make it enum class

This commit is contained in:
Andrzej Rybczak
2012-10-05 21:25:22 +02:00
parent 044464962c
commit 1eb0003714
19 changed files with 81 additions and 81 deletions

View File

@@ -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);
}