-/* positions in the level editor */
-#define ED_WIN_MB_LEFT_XPOS 7
-#define ED_WIN_MB_LEFT_YPOS 6
-#define ED_WIN_LEVELNR_XPOS 77
-#define ED_WIN_LEVELNR_YPOS 7
-#define ED_WIN_MB_MIDDLE_XPOS 7
-#define ED_WIN_MB_MIDDLE_YPOS 258
-#define ED_WIN_MB_RIGHT_XPOS 77
-#define ED_WIN_MB_RIGHT_YPOS 258
-
-#define MAX_ELEM_X 4
-#define MAX_ELEM_Y 10
+void CreateLevelEditorGadgets(void);
+void FreeLevelEditorGadgets(void);
+void UnmapLevelEditorGadgets(void);
+void DrawLevelEd(void);
+void HandleLevelEditorKeyInput(Key);
+void HandleLevelEditorIdle(void);
+void HandleEditorGadgetInfoText(void *ptr);
+void RequestExitLevelEditor(boolean, boolean);
+void PrintEditorElementList(void);