home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / yacl-012.zip / uidemo / dialog2 / desc.cxx < prev    next >
C/C++ Source or Header  |  1995-02-09  |  2KB  |  44 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. #include "ids.h"
  9.  
  10. UI_ViewDescriptor FAR DLG_DIALOG_1_group2[] = {
  11. {View_ToggleButton,  ID_READ,      27, 33, 90, 26, TRUE ,  "Read", NULL},
  12. {View_ToggleButton,  ID_WRITE,     27, 68, 90, 26, FALSE,  "Write", NULL},
  13. {View_ToggleButton,  ID_EXEC,      27, 103, 90, 26, FALSE,  "Execute", NULL},
  14. {View_None, 0, 0}
  15. };
  16.  
  17.  
  18. UI_ViewDescriptor FAR DLG_DIALOG_1_group1[] = {
  19. {View_ExOrToggleButton,  ID_USER,  25,  24, 110, 26, TRUE ,  "User", NULL},
  20. {View_ExOrToggleButton,  ID_GROUP, 25,  63, 110, 26, FALSE,  "Group", NULL},
  21. {View_ExOrToggleButton,  ID_WORLD, 25, 105, 110, 26, FALSE,  "World", NULL},
  22. {View_None, 0, 0}
  23. };
  24.  
  25.  
  26. UI_RectangleStruct FAR  DLG_DIALOG_1_Shape = {
  27. 30, 30, 510, 430
  28. };
  29.  
  30. UI_ViewDescriptor FAR DLG_DIALOG_1_Item [] = {
  31. {View_StringEditor, ID_FILENAME,160,  61, 225,  34, TRUE ,  "", NULL},
  32. {View_ExOrButtonGroup,ID_DOMAIN,295, 101, 175, 147, FALSE,  "Domain",
  33.      DLG_DIALOG_1_group1},
  34. {View_OrButtonGroup,ID_PERMS,    70, 101, 137, 147, FALSE,  "Permissions",
  35.      DLG_DIALOG_1_group2}, 
  36. {View_PushButton ,  ID_OK,      147, 321,  85,  30, TRUE ,  "Ok", NULL},
  37. {View_PushButton ,  ID_CANCEL,  277, 321,  85,  30, TRUE ,  "Cancel", NULL},
  38. {View_Label,        ID_STATUS,    5, 340,  90,  30, FALSE,   "", NULL}, 
  39. {View_Label      ,  -1,         102,  63,  40,  17, FALSE,  "File:", NULL},
  40. {View_None, 0, 0}
  41. }; 
  42.  
  43.  
  44.