home *** CD-ROM | disk | FTP | other *** search
/ Hacks & Cracks / Hacks_and_Cracks.iso / cracks / cracks2.zip / LEDSIGN.ZIP / LEDSign / LED / Index.java < prev    next >
Text File  |  1996-03-21  |  1KB  |  50 lines

  1. /////////////////////////////////////////////////////////////////////
  2. //  Index.java   -- LED Sign V2.5
  3. //  
  4. //  This is just a small class used for a struct
  5. //
  6. //  Revisions:
  7. //     V2.7: See "Revisions" doc for more info
  8. //
  9. //     V2.5: Fixed all known bugs in previous versions!  Added
  10. //           the new feature of ledsize, which allows the user
  11. //           to specify in pixels how big the LED's (1-4).
  12. //           Thanks to Robert B. Denny (rdenny@dc3.com) for
  13. //           code and input!
  14. //           Modified Dec 20-26, 1995
  15. //
  16. //     V2.0beta: Modified V1.0 to comply with Pre-Beta java.
  17. //               A problem with delay causes a jerky display.
  18. //               Modified Oct 20 - 29, 1995
  19. //
  20. //     V1.0: Written July 13 - 14, 1995
  21. //
  22. //  By Darrick Brown
  23. //     dbrown@cs.hope.edu
  24. //     http://www.cs.hope.edu/~dbrown/
  25. //
  26. //  ⌐ Copyright 1995
  27. /////////////////////////////////////////////////////////////////////
  28.  
  29. import java.awt.*;
  30. import java.io.*;
  31. import java.net.*;
  32.  
  33.  
  34. //////////////////////////////////////////////////////////////////
  35. // The Index Class (struct)
  36. //////////////////////////////////////////////////////////////////
  37. public class Index
  38. {
  39.    public byte ch;
  40.    public int width;
  41.    public boolean letter[][];
  42.  
  43.    Index(byte b, int w, int h)
  44.    {
  45.       letter = new boolean[w][h];
  46.       width = w;
  47.       ch = b;
  48.    }
  49. }
  50.