home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / os2 / pmchaos / source / curpos.dlg < prev    next >
Encoding:
Text File  |  1993-12-12  |  1.1 KB  |  29 lines

  1. /*  PMChaos.   (C) Copyright Matthew Austern, 1993.
  2.  
  3.     Permission granted to use, distribute, and modify, provided that this
  4.     notice remains intact.  If you distribute a modified version, you must
  5.     identify your modifications as such.
  6. */
  7.  
  8. DLGINCLUDE 500 "curpos.h"
  9.  
  10. DLGTEMPLATE DID_CurPosition LOADONCALL MOVEABLE DISCARDABLE
  11.  
  12.  
  13. BEGIN
  14.     DIALOG  "PM Chaos: current point", DID_CurPosition, 63, 42, 120, 63,,
  15.             FCF_TITLEBAR
  16.     BEGIN
  17.         RTEXT           "J", 501, 3, 45, 33, 11, DT_VCENTER
  18.         RTEXT           "Theta", 502, 3, 30, 33, 11, DT_VCENTER
  19.         ENTRYFIELD      "", DID_JCoord, 47, 47, 50, 8, ES_MARGIN | ES_READONLY
  20.         ENTRYFIELD      "", DID_ThetaCoord, 47, 32, 50, 8, ES_MARGIN | ES_READONLY
  21.         LTEXT           "J' = J + K sin(Theta)", 505, 15, 15, 105, 8
  22.                         PRESPARAMS PP_FOREGROUNDCOLOR, 0x00000000L
  23.             PRESPARAMS PP_FONTNAMESIZE, "9.Courier"
  24.         LTEXT           "Theta' = Theta + J'", 506, 15, 6, 105, 8
  25.                         PRESPARAMS PP_FOREGROUNDCOLOR, 0x00000000L
  26.             PRESPARAMS PP_FONTNAMESIZE, "9.Courier"
  27.     END
  28. END
  29.