1 /* 2 * Copyright 2006, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Stephan Aßmus <superstippi@gmx.de> 7 */ 8 9 #ifndef PANEL_H 10 #define PANEL_H 11 12 #include <Window.h> 13 14 class Panel : public BWindow { 15 public: 16 Panel(BRect frame, 17 const char* title, 18 window_type type, 19 uint32 flags, 20 uint32 workspace = B_CURRENT_WORKSPACE); 21 Panel(BRect frame, 22 const char* title, 23 window_look look, 24 window_feel feel, 25 uint32 flags, 26 uint32 workspace = B_CURRENT_WORKSPACE); 27 virtual ~Panel(); 28 29 // Panel 30 virtual void Cancel(); 31 32 private: 33 void _InstallFilter(); 34 35 }; 36 37 #endif // PANEL_H 38