haiku/headers/private/media/DefaultMediaTheme.h
Axel Dörfler 410faee318 Actually, I haven't started with this so early on...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-06-13 04:16:42 +00:00

34 lines
830 B
C++

/*
** Copyright 2003, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef DEFAULT_MEDIA_THEME_H
#define DEFAULT_MEDIA_THEME_H
#include <MediaTheme.h>
namespace BPrivate {
class DefaultMediaTheme : public BMediaTheme {
public:
DefaultMediaTheme();
virtual BControl *MakeControlFor(BParameter *parameter);
static BControl *MakeViewFor(BParameter *parameter, const BRect *hintRect = NULL);
// this is also called by the BMediaTheme::MakeFallbackViewFor()
// method - that's why it's a static.
protected:
virtual BView *MakeViewFor(BParameterWeb *web, const BRect *hintRect = NULL);
private:
BView *MakeViewFor(BParameterGroup *group, const BRect *hintRect = NULL);
};
} // namespace BPrivate
#endif /* DEFAULT_MEDIA_THEME_H */