1/* 2 * Copyright 2002-2012, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * DarkWyrm (darkwyrm@earthlink.net) 7 * Alexander von Gluck, kallisti5@unixzen.com 8 * Stephan Aßmus <superstippi@gmx.de> 9 */ 10#ifndef APR_WINDOW_H 11#define APR_WINDOW_H 12 13 14#include <Application.h> 15#include <Button.h> 16#include <Window.h> 17#include <Message.h> 18#include <TabView.h> 19 20class APRView; 21class AntialiasingSettingsView; 22class FontView; 23class LookAndFeelSettingsView; 24 25 26class APRWindow : public BWindow { 27public: 28 APRWindow(BRect frame); 29 void MessageReceived(BMessage *message); 30 31private: 32 void _UpdateButtons(); 33 bool _IsDefaultable() const; 34 bool _IsRevertable() const; 35 36 APRView* fColorsView; 37 BButton* fDefaultsButton; 38 BButton* fRevertButton; 39 40 AntialiasingSettingsView* fAntialiasingSettings; 41 FontView* fFontSettings; 42 LookAndFeelSettingsView* fLookAndFeelSettings; 43}; 44 45 46static const int32 kMsgUpdate = 'updt'; 47 48 49#endif 50