-
Notifications
You must be signed in to change notification settings - Fork 0
/
CDirectoryItem.h
executable file
·53 lines (36 loc) · 1.26 KB
/
CDirectoryItem.h
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
52
53
// ===========================================================================
// CDirectoryItem.h ©1997-1998 Metrowerks Inc. All rights reserved.
// ===========================================================================
// Original author: John C. Daub
//
// A concrete LOutlineItem for items of type "directory".
#pragma once
#include "COutlineItem.h"
#include <iostream.h>
class CFileArchive;
class CDirectoryItem : public COutlineItem
{
public:
CDirectoryItem( CFileArchive *inPak );
virtual ~CDirectoryItem();
virtual Boolean CanExpand() const;
protected:
virtual void DetermineFileSize();
virtual void GetDrawContentsSelf(
const STableCell& inCell,
SOutlineDrawContents& ioDrawContents);
virtual void DrawRowAdornments(
const Rect& inLocalRowRect);
virtual void ExpandSelf();
virtual void DoubleClick(
const STableCell& inCell,
const SMouseDownEvent& inMouseDown,
const SOutlineDrawContents& inDrawContents,
Boolean inHitText);
LStr255 _sizeStr;
Handle _IconH;
private:
CDirectoryItem();
CDirectoryItem( const CDirectoryItem &inOriginal );
CDirectoryItem& operator=( const CDirectoryItem &inOriginal );
};