home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 14 / IOPROG_14.ISO / soft / sdkjava / sdkjava.exe / SDKJava.cab / AFC102 / Samples / Scrolls / Src / SDKConsts.java < prev    next >
Encoding:
Java Source  |  1998-03-05  |  1.1 KB  |  29 lines

  1. //
  2. // (c) 1997 Microsoft Corporation.  All rights reserved.
  3. //
  4. public interface SDKConsts
  5. {
  6.     public static final String IMG_NAMES[] = { 
  7.         "sunris00.gif",    "sunris01.gif",    "sunris02.gif",    "sunris03.gif",
  8.         "sunris04.gif",    "sunris05.gif",    "sunris06.gif",    "sunris07.gif",
  9.         "sunris08.gif",    "sunris09.gif",    "sunris10.gif",    "sunris11.gif",
  10.         "sunris12.gif",    "sunris13.gif",    "sunris14.gif",    "sunris15.gif",
  11.         "sunris16.gif",    "sunris17.gif",    "sunris18.gif",    "sunris19.gif",
  12.         "sunris20.gif",    "sunris21.gif",    "sunris22.gif",    "sunris23.gif",
  13.         "sunris24.gif",    "sunris25.gif",    "sunris26.gif",    "sunris27.gif",
  14.         "sunris28.gif",    "sunris29.gif",    "sunris30.gif",    "sunris31.gif"
  15.     };
  16.  
  17.     public static final int SUNRISE = 0;
  18.     public static final int NUM_FRAMES = 32;
  19.     public static final int NUM_IMAGES = NUM_FRAMES;
  20.     public static final int NUM_IMAGES_HOT = 0;
  21.  
  22.     public static final int MAX_SCROLL = 128;
  23.     public static final int INIT_POS = MAX_SCROLL/2;
  24.     public static final int SPIN_INC = MAX_SCROLL/NUM_FRAMES;
  25.     public static final int SEL_START = 21;
  26.     public static final int SEL_END = 33;
  27. }
  28.  
  29.