home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / uidemo / dialog2 / desc.sav < prev    next >
Text File  |  1994-10-27  |  1KB  |  38 lines

  1.  
  2. /* C++ code file for creating control objects, generated via */
  3. /* AWK script translat.awk. Must be used with the UI_Composite */
  4. /* class. */ 
  5.  
  6.  
  7. #include "ui/composit.h"
  8.  
  9.  
  10. UI_ViewDescriptor DomainGroup [] = {
  11. {View_ExOrToggleButton, 107, 76, 114, 88, 24, TRUE, "User", NULL},
  12. {View_ExOrToggleButton, 108, 76, 150, 88, 24, TRUE, "Group", NULL},
  13. {View_ExOrToggleButton, 109, 76, 188, 88, 24, TRUE, "World", NULL},
  14. {View_None, 0, 0}
  15. };
  16.  
  17. UI_ViewDescriptor PermsGroup [] = {
  18. {View_ToggleButton,  103, 258, 186, 90, 24, TRUE, "Execute", NULL},
  19. {View_ToggleButton,  101, 258, 122, 72, 24, TRUE, "Read", NULL},
  20. {View_ToggleButton,  102, 258, 154, 72, 24, TRUE, "Write", NULL},
  21. {View_None, 0, 0}
  22. };
  23.  
  24.  
  25. UI_ViewDescriptor DLG_DIALOG_1_Item [] = {
  26. {View_Label,         -1,   80, 50,  54, 16, FALSE, "File:", NULL},
  27. {View_StringEditor,  104, 134, 50, 200, 32, TRUE , "", NULL},
  28. {View_ButtonGroup,   117, 236, 92, 140, 134,FALSE,
  29.      "Permissions", PermsGroup},                       
  30. {View_ButtonGroup,   118,  56, 92, 140, 134,FALSE,
  31.      "Domain", DomainGroup},                           
  32. {View_PushButton  ,  105, 116, 292, 68, 28, TRUE , "Ok", NULL},
  33. {View_PushButton  ,  106, 222, 292, 68, 28, TRUE , "Cancel", NULL},
  34. {View_None, 0, 0}
  35. }; 
  36.  
  37.  
  38.