-
Notifications
You must be signed in to change notification settings - Fork 0
/
CAnimationMenu.h
executable file
·53 lines (37 loc) · 1.29 KB
/
CAnimationMenu.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
// =================================================================================
// CAnimationMenu.h ©1995-1998 Metrowerks Inc. All rights reserved.
// =================================================================================
// CAnimationMenu.cp
#pragma once
#include <LMenu.h>
#include <LArray.h>
#include <PP_Types.h>
#include "utilities.h"
class LWindow;
class CModelController;
class CAnimationMenu : public LMenu {
public:
CAnimationMenu();
CAnimationMenu( ResIDT inMenuID );
CAnimationMenu( SInt16 inMenuID, Str255 inTitle );
~CAnimationMenu();
void ShowCommands();
void HideCommands();
void RemoveAll();
void SetItems(StringList *names, CModelController *inController);
CModelController *_controller;
protected:
SInt16 mBaseItems;
};
// =================================================================================
// CAnimationMenuAttachment
// =================================================================================
#include <LAttachment.h>
class CAnimationMenuAttachment : public LAttachment {
public:
CAnimationMenuAttachment( CAnimationMenu *inWindowMenu );
~CAnimationMenuAttachment();
protected:
CAnimationMenu * mAnimationMenu;
void ExecuteSelf( MessageT inMessage, void *ioParam );
};