AeAssetUI.h
1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef __AeAssetUI__
#define __AeAssetUI__
#include "AeTypes.h"
#include "AeAsset.h"
template <class T> class GList;
class AeAsset;
class AeAssetBinUI;
class AeFieldUI;
class AeAssetUI
{
public:
AeAssetUI (AeAsset *);
virtual ~AeAssetUI (void);
AeAsset * GetAsset (void) { return fAsset; }
void SetAsset (AeAsset * asset) { fAsset = asset; }
int GetRow (void) { return fRow; }
void SetRow (int row);
int GetLevel (void) { return fLevel; }
void SetLevel (int level);
TAssetType GetType (void);
Pixmap GetIcon (void);
Boolean IsOpen (void) { return fIsOpen; }
void SetOpen (Boolean isOpen);
void GetFieldString (AeFieldUI *, String);
Boolean VerifyAndSetFieldString (AeFieldUI *, String, Boolean * pChanged);
Boolean IsEditable (AeFieldUI *);
protected:
Boolean isFieldInUI (AeFieldUI *);
void updateWidth (AeFieldUI *, String, String);
void shiftString (String);
void stripString (String);
AeAsset * fAsset;
int fRow;
int fLevel;
Boolean fIsOpen;
};
#endif __AeAssetUI__