/* Copyright 1996 Acorn Computers Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef menus_H #define menus_H /* > h.Menus * * ArcPaint: Arthur 2 sprite editor * Menu handling header * * Author: A.P. Thompson */ #include "menu.h" #include "print.h" /*FIX G-RO-7139 JRC 17 Oct '91 New function to do real printing.*/ extern BOOL menus_do_print (main_sprite *); extern void menus_file_handler (void *, char *); extern void menus_sprite_handler (void *, char *); extern menu menus_file_maker (void *); extern menu menus_sprite_maker (void *); extern void menus_icon_proc (void *, char *); extern void menus_init (void); extern int menus_ensure_size (sprite_area **, int); extern BOOL menus_save_file (main_window *, int); extern void menus_restart_tool (void); extern void menus_insdel_frig (void); extern void menus_file_has_changed (main_window *); extern void menus_save_sprite (main_sprite *); extern void menus_set_palette (main_sprite *, int, int *); extern int menus_files_modified (void); extern int menus_quit_okayed (int); extern void menus_print_sprite (main_sprite *, int); extern print_positionstr menus_print_where, menus_print_last_where; extern void menus_hack_palette (main_sprite *); extern void menus_sprite_new (main_window *, BOOL); extern int menus_sprite_exists (sprite_area *, char *); #endif