2008-01-11 21:06:15 +03:00
|
|
|
#ifndef _THEME_ITEM_H_
|
|
|
|
#define _THEME_ITEM_H_
|
|
|
|
|
|
|
|
#include <ListItem.h>
|
|
|
|
|
|
|
|
|
|
|
|
class ThemeItem : public BStringItem
|
|
|
|
{
|
2008-10-01 07:37:33 +04:00
|
|
|
public:
|
2008-01-11 21:06:15 +03:00
|
|
|
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();
|
2008-10-01 07:37:33 +04:00
|
|
|
private:
|
2008-01-11 21:06:15 +03:00
|
|
|
int32 fId;
|
|
|
|
bool fRo;
|
|
|
|
bool fCurrent;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // _THEME_ITEM_H_
|