/********************* helpers.c ************************************/ #include #include #include #include #include "sdi.h" #include #include /* * Copyright 1987 by Mark Weiser. * Permission to reproduce and use in any manner whatsoever on Suns is granted * so long as this copyright and other identifying marks of authorship * in the code and the game remain intact and visible. Use of this code * in other products is reserved to me--I'm working on Mac and IBM versions. */ /* * This file contains routines providing help throughout sdi, although * especially to the control panel. */ static short background_array[] = { #include }; mpr_static(background_pr, 16, 16, 1, background_array); void generic_slider_notify(); /* Used as an event_proc in panels to make an item read only */ void no_events(item, event) Panel_item item; Event *event; { } /* need functions, not macros, because of non-idempotent funcall arguments */ max(x,y) { return x