haiku/3rdparty/mmu_man/themes/ThemeItem.h
François Revol 48d5931610 Move Themes to vendor folder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23417 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-11 20:42:27 +00:00

25 lines
475 B
C++

#ifndef _THEME_ITEM_H_
#define _THEME_ITEM_H_
#include <ListItem.h>
class ThemeItem : public BStringItem
{
public:
ThemeItem(int32 id, const char *name, bool ro = false);
~ThemeItem();
void DrawItem(BView *owner, BRect frame, bool complete = false);
bool IsCurrent();
void SetCurrent(bool set);
bool IsReadOnly();
void SetReadOnly(bool set);
int32 ThemeId();
private:
int32 fId;
bool fRo;
bool fCurrent;
};
#endif // _THEME_ITEM_H_