home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4765 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.8 KB  |  49 lines

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!news.th-darmstadt.de!backus.pu.informatik.th-darmstadt.de!wallmann
  2. From: wallmann@backus.pu.informatik.th-darmstadt.de (Natuerlich!)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: AES bug ?
  5. Message-ID: <1992Sep14.181457.16038@news.th-darmstadt.de>
  6. Date: 14 Sep 92 18:14:57 GMT
  7. Sender: news@news.th-darmstadt.de (The News System)
  8. Organization: MSD software vault #9 @THD
  9. Lines: 37
  10. Nntp-Posting-Host: backus.pu.informatik.th-darmstadt.de
  11.  
  12. I am (for whatever reasons) having enormous problems with the graf_...
  13. calls in the AES library (TOS 1.4). The following little program, for instance 
  14. shows a weird behaviour of the graf_mkstate call. If you press the mouse
  15. button for the first time, it stops and waits for a release, the other times
  16. it just (correctly) samples the mouse state.
  17.  
  18. /* Compiled and Linked with Pure-C */
  19. #include <aes.h>
  20. #include <stddef.h>
  21. #include <stdio.h>
  22.  
  23. main()
  24. {
  25.    int   i, x, y, state, shift;
  26.  
  27.    for( i = 1000; i--;)
  28.    {
  29.       graf_mkstate( &x, &y, &state, &shift);  /* press left mouse button */
  30.       printf( "%d %d %d %d\n", x, y, state, shift);
  31.    }
  32. }
  33.  
  34. I also have had problems with graf_watchbox and graf_dragbox, which for no
  35. apparent reasons get stuck sometimes (but not predictably).
  36.  
  37. Does anyone have a clue or the same woes ?
  38.  
  39. Nat!
  40. P.S.F.:
  41. I am writing my first real GEM program and at least in the version I have
  42. GEM seems to be reeking of bugs. Apart from the most basic windowing and
  43. object redraw mechanisms, it appears that one has to rewrite/extend all
  44. of Atari/DRs code to get decent results.
  45. -- 
  46.  -----   Email: wallmann@backus.pu.informatik.th-darmstadt.de  -----
  47.                 "Bang that bit that doesn't bang"                 
  48.  Album of the month: "Psalm 69" Ministry
  49.