screen: adjust indentation
This commit is contained in:
@@ -30,9 +30,8 @@ void scrollpadMouseButtonPressed(NC::Scrollpad *w, MEVENT me);
|
|||||||
/// An interface for various instantiations of Screen template class. Since C++ doesn't like
|
/// An interface for various instantiations of Screen template class. Since C++ doesn't like
|
||||||
/// comparison of two different instantiations of the same template class we need the most
|
/// comparison of two different instantiations of the same template class we need the most
|
||||||
/// basic class to be non-template to allow it.
|
/// basic class to be non-template to allow it.
|
||||||
class BasicScreen
|
struct BasicScreen
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
/// Initializes all variables to zero
|
/// Initializes all variables to zero
|
||||||
BasicScreen() : hasToBeResized(0), isInitialized(0) { }
|
BasicScreen() : hasToBeResized(0), isInitialized(0) { }
|
||||||
|
|
||||||
@@ -124,9 +123,8 @@ bool isVisible(BasicScreen *screen);
|
|||||||
/// for the screen to be working properly and assumes that we didn't forget
|
/// for the screen to be working properly and assumes that we didn't forget
|
||||||
/// about anything vital.
|
/// about anything vital.
|
||||||
///
|
///
|
||||||
template <typename WindowT> class Screen : public BasicScreen
|
template <typename WindowT> struct Screen : public BasicScreen
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
typedef WindowT ScreenType;
|
typedef WindowT ScreenType;
|
||||||
|
|
||||||
Screen() : w(0) { }
|
Screen() : w(0) { }
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include "actions.h"
|
#include "actions.h"
|
||||||
#include "strbuffer.h"
|
#include "strbuffer.h"
|
||||||
|
|
||||||
class BasicScreen; // forward declaration for screens sequence
|
struct BasicScreen; // forward declaration for screens sequence
|
||||||
|
|
||||||
enum SortMode { smName, smMTime, smCustomFormat };
|
enum SortMode { smName, smMTime, smCustomFormat };
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user