1// Panel.h 2 3#ifndef PANEL_H 4#define PANEL_H 5 6#include <Window.h> 7 8class Panel : public BWindow { 9 public: 10 Panel(BRect frame, 11 const char* title, 12 window_type type, 13 uint32 flags, 14 uint32 workspace = B_CURRENT_WORKSPACE); 15 Panel(BRect frame, 16 const char* title, 17 window_look look, 18 window_feel feel, 19 uint32 flags, 20 uint32 workspace = B_CURRENT_WORKSPACE); 21 virtual ~Panel(); 22 23 // Panel 24 virtual void Cancel(); 25 26 private: 27 void _InstallFilter(); 28 29}; 30 31#endif // PANEL_H 32