home *** CD-ROM | disk | FTP | other *** search
- /* AppSpritesM.c */
- /* Created 7/11/93 11:43 AM by AppMaker */
-
- #include <Types.h>
- #include <Quickdraw.h>
- #include <Controls.h>
- #include <Dialogs.h>
- #include <Events.h>
- #include <Lists.h>
- #include <Menus.h>
- #include <TextEdit.h>
- #include "ResourceDefs.h"
- #include "DoScrap.h"
- #include "Globals.h"
- #include "SetSpeed.h"
- #include "AppSpritesM.h"
-
-
- static void DoRun (void);
- static void DoStop (void);
-
- /*----------*/
- void InitAppSpritesM ()
- {
- } /*InitAppSpritesM*/
-
- /*----------*/
- static void DoRun (void)
- {
- } /*DoRun*/
-
- /*----------*/
- static void DoStop (void)
- {
- } /*DoStop*/
-
- /*----------*/
- static void DoSetSpeed (void)
- {
- SetSpeedRec SetSpeedInfo;
- register SetSpeedRecPtr info;
-
- info = &SetSpeedInfo;
- /*initialize SetSpeed info*/
- info->Slider9Value = 1;
- info->Slider10Value = 1;
- info->Slider11Value = 1;
- info->Slider12Value = 1;
- info->Slider13Value = 1;
- info->SetAllSpeedsFromSprite1Choice = 1;
- info->Slider16Value = 1;
-
- if (GetSetSpeed (&SetSpeedInfo)) {
- /*use SetSpeed info*/
- }
- } /*DoSetSpeed*/
-
- /*----------*/
- void DoAppSprites (short itemNr)
- {
- switch (itemNr) {
- case AppSpritesRun:
- DoRun ();
- break;
- case AppSpritesStop:
- DoStop ();
- break;
- case AppSpritesSetSpeed:
- DoSetSpeed ();
- break;
-
- } /*switch*/
- } /*DoAppSprites*/
-
- /* AppSprites */
-