home *** CD-ROM | disk | FTP | other *** search
/ Multimedia Producer's Bible / Multimedia Producer's Bible.iso / mac / mTropolis / mTropolis Sampler Files / mFactory Object Model Examples / Source / Interfac / Interfac.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-20  |  907 b   |  53 lines  |  [TEXT/MMCC]

  1. /*    Interfac.h
  2. **
  3. **    Copyright 1995, mFactory, Inc.
  4. **    All rights reserved.
  5. */
  6.  
  7. #pragma once
  8.  
  9. #ifndef _Interfac_
  10.     #define _Interfac_
  11.  
  12.     typedef struct InterfacComp InterfacComp;
  13.  
  14.     #ifndef MSelf
  15.         #define MComponentName Interface
  16.         #define MSelf InterfacComp
  17.         #include "MFusion.h"
  18.     #endif
  19.  
  20.     typedef struct InterfacComp {
  21.         MEvent        f_activate;                // System Pop-ups
  22.         MSymbol        f_sound;
  23.         MIDPath        f_scene;
  24.         long        f_sceneIDs[3];
  25.  
  26.         MSymbol        f_static;                // User Pop-ups
  27.         MSymbol        f_dynamic;
  28.         MSymbol        f_submenu;
  29.  
  30.         MInteger    f_yesNoMaybe;            // Radio Buttons
  31.  
  32.         MBoolean    f_show;                    // Checkboxes
  33.         MBoolean    f_play;
  34.         MBoolean    f_backward;
  35.  
  36.         MInteger    f_integer;                // Text Fields
  37.         MDouble        f_double;
  38.         MTime        f_time;
  39.         MString        f_string;
  40.  
  41.         MString        f_block;                // Text Block
  42.     } InterfacComp;
  43.  
  44.     const short    kInterfacRev = 0;
  45.  
  46.     enum {
  47.         kInterfacNumProcs
  48.     };
  49.  
  50.     const kInterfacSlot = kMBaseCompSlot + 1;
  51.  
  52. #endif
  53.