forked from alpyre/Sevgi_Engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtoolbar.h
More file actions
68 lines (62 loc) · 1.91 KB
/
toolbar.h
File metadata and controls
68 lines (62 loc) · 1.91 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#ifndef TOOLBAR_H
#define TOOLBAR_H
#define TOOLBAR_IMAGE_DIR "Images"
#define TOOLBAR_IMAGE_STYLE "MWB_20x20"
#define TOOLBAR_BUTTON_WIDTH 20
#define TOOLBAR_BUTTON_HEIGHT 20
#define TOOLBAR_IMAGE_FILES "new.iff", \
"load.iff", \
"save.iff", \
"saveas.iff", \
"undo.iff", \
"redo.iff", \
"cut.iff", \
"copy.iff", \
"paste.iff", \
"font.iff", \
"tileset.iff", \
"map.iff", \
"boing.iff", \
"sprite.iff", \
"image.iff", \
"objects.iff", \
"palette.iff", \
"gear.iff", \
"linker.iff", \
"editor.iff", \
"new_display.iff", \
"compile.iff", \
"run.iff"
enum {
IMG_SPEC_NEW,
IMG_SPEC_LOAD,
IMG_SPEC_SAVE,
IMG_SPEC_SAVEAS,
IMG_SPEC_UNDO,
IMG_SPEC_REDO,
IMG_SPEC_CUT,
IMG_SPEC_COPY,
IMG_SPEC_PASTE,
IMG_SPEC_FONT,
IMG_SPEC_TILE,
IMG_SPEC_MAP,
IMG_SPEC_BOB,
IMG_SPEC_SPRITE,
IMG_SPEC_IMAGE,
IMG_SPEC_OBJECTS,
IMG_SPEC_PALETTE,
IMG_SPEC_SETTINGS,
IMG_SPEC_ASSETS,
IMG_SPEC_EDITOR,
IMG_SPEC_DISPLAY,
IMG_SPEC_COMPILE,
IMG_SPEC_RUN
};
#define MUIA_Enabled 0 //Not a real attribute, just a value to make reading easier
//Prototypes
BOOL createImageSpecs();
VOID freeImageSpecs();
Object* MUI_NewImageButton(ULONG spec, STRPTR short_help, ULONG disabled);
Object* MUI_NewImageButtonSeparator();
Object* MUI_HorizontalSeparator();
#endif /* TOOLBAR_H */