adjust indentation of remaining classes in headers
This commit is contained in:
63
src/clock.h
63
src/clock.h
@@ -28,39 +28,38 @@
|
||||
#include "window.h"
|
||||
#include "screen.h"
|
||||
|
||||
class Clock : public Screen<NC::Window>
|
||||
struct Clock : public Screen<NC::Window>
|
||||
{
|
||||
public:
|
||||
virtual void resize() OVERRIDE;
|
||||
virtual void switchTo() OVERRIDE;
|
||||
|
||||
virtual std::wstring title() OVERRIDE;
|
||||
|
||||
virtual void update() OVERRIDE;
|
||||
virtual void scroll(NC::Where) OVERRIDE { }
|
||||
|
||||
virtual void enterPressed() OVERRIDE { }
|
||||
virtual void spacePressed() OVERRIDE { }
|
||||
virtual void mouseButtonPressed(MEVENT) OVERRIDE { }
|
||||
|
||||
virtual bool isTabbable() OVERRIDE { return true; }
|
||||
virtual bool isMergable() OVERRIDE { return true; }
|
||||
|
||||
protected:
|
||||
virtual void init() OVERRIDE;
|
||||
virtual bool isLockable() OVERRIDE { return false; }
|
||||
|
||||
private:
|
||||
NC::Window *itsPane;
|
||||
|
||||
static void Prepare();
|
||||
static void Set(int, int);
|
||||
|
||||
static short disp[11];
|
||||
static long older[6], next[6], newer[6], mask;
|
||||
|
||||
static size_t Width;
|
||||
static const size_t Height;
|
||||
virtual void resize() OVERRIDE;
|
||||
virtual void switchTo() OVERRIDE;
|
||||
|
||||
virtual std::wstring title() OVERRIDE;
|
||||
|
||||
virtual void update() OVERRIDE;
|
||||
virtual void scroll(NC::Where) OVERRIDE { }
|
||||
|
||||
virtual void enterPressed() OVERRIDE { }
|
||||
virtual void spacePressed() OVERRIDE { }
|
||||
virtual void mouseButtonPressed(MEVENT) OVERRIDE { }
|
||||
|
||||
virtual bool isTabbable() OVERRIDE { return true; }
|
||||
virtual bool isMergable() OVERRIDE { return true; }
|
||||
|
||||
protected:
|
||||
virtual void init() OVERRIDE;
|
||||
virtual bool isLockable() OVERRIDE { return false; }
|
||||
|
||||
private:
|
||||
NC::Window *itsPane;
|
||||
|
||||
static void Prepare();
|
||||
static void Set(int, int);
|
||||
|
||||
static short disp[11];
|
||||
static long older[6], next[6], newer[6], mask;
|
||||
|
||||
static size_t Width;
|
||||
static const size_t Height;
|
||||
};
|
||||
|
||||
extern Clock *myClock;
|
||||
|
||||
Reference in New Issue
Block a user