1 /* 2 Copyright 2005, Francois Revol. All Rights Reserved. 3 This file may be used under the terms of the Be Sample Code License. 4 */ 5 6 #include <Window.h> 7 #include <Shape.h> 8 9 class PenInputInkView; 10 11 class PenInputInkWindow : public BWindow 12 { 13 public: 14 PenInputInkWindow(BRect frame); 15 virtual ~PenInputInkWindow(); 16 void MessageReceived(BMessage *message); 17 18 private: 19 friend class PenInputInkView; 20 friend class PenInputLooper;//DEBUG 21 void ClearStrokes(); 22 PenInputInkView *fInkView; 23 BShape fStrokes; 24 int32 fStrokeCount; 25 }; 26 27