1/* 2 * Copyright 2007-2014 Haiku, Inc. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef DEBUG_NOW_H 6#define DEBUG_NOW_H 7 8 9#include <Point.h> 10#include <ScreenSaver.h> 11 12 13// Inspired by the classic BeOS BuyNow screensaver, of course 14 15class BMessage; 16class BView; 17 18class DebugNow : public BScreenSaver { 19public: 20 DebugNow(BMessage* archive, image_id); 21 22 void Draw(BView* view, int32 frame); 23 void StartConfig(BView *view); 24 status_t StartSaver(BView *view, bool preview); 25 26private: 27 const char* fLine1; 28 const char* fLine2; 29 BPoint fLine1Start; 30 BPoint fLine2Start; 31 escapement_delta fDelta; 32}; 33 34 35#endif // DEBUG_NOW_H 36