home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / gkdemo.zip / INSTAL2.GKR < prev    next >
Text File  |  1994-12-08  |  3KB  |  128 lines

  1. #
  2. # GUI-Kit Demo Installation Resource file
  3. #
  4.  
  5. !include "gui-kit.gkr"
  6.  
  7. Options {
  8.     NumFiles         57
  9. }
  10.  
  11. ObjectGroup "InstallGroup" {
  12.     Object Font "TitleFont" {
  13.         PointSize    300    # 30.0pt
  14.     }
  15.     Object Font "TitleFont-Italic" {
  16.         Name        "Arial-Italic"
  17.         PointSize    300    # 30.0pt
  18.     }
  19.     Object Font "SubTitleFont" {
  20.         PointSize    150    # 15.0pt
  21.     }
  22.  
  23.  
  24.     Object DialogFrame "BkgFrame" {
  25.         Frame.Title            "GUI-Kit Demo Installation"
  26.  
  27.         Object FormWithEtchedFrame - {
  28.             Form.AutoTopToBottom -
  29.  
  30.             Object Label "TitleLabel" {
  31.             }
  32.  
  33.             Object FormWithEtchedFrame    - {
  34.                 Form.Label    "Installation Options"
  35.                 Form.AutoLeftToRight    -
  36.                 Window.RightEdge FixedRight
  37.     
  38.                 Object Label "DestLabel" { 
  39.                     Text "Destination Directory:"
  40.                     # 22 chars * 12pt font = 5cm
  41.                     Window.Width    5cm
  42.                 }
  43.     
  44.                 Object Edit "DestEdit" {
  45.                     Text    "C:\\GKDEMO"
  46.                     VisibleChars    30
  47.                 }
  48.     
  49.                 # ----------------------------------------
  50.                 # Install/Cancel
  51.                 Object PushButton "InstallButton" {
  52.                     Button.Label    "&Install"
  53.                     Button.Default    True
  54.                     Button.NotifyProc    "InstallNotify"
  55.                     Window.UpperObj    "DestEdit"
  56.                     Window.LeftObj    NULL
  57.                 }
  58.     
  59.                 Object PushButton "CancelButton" {
  60.                     Button.Label    "&Cancel"
  61.                     Button.NotifyProc    "CancelNotify"
  62.                 }
  63.  
  64.                 # ----------------------------------------------------------------------
  65.                 # Progress Form
  66.                 Object FormWithSunkenFrame    - {
  67.                     Form.AutoTopToBottom -
  68.                     Window.UpperObj        "InstallButton"
  69.                     Window.LeftObj        NULL
  70.                     Form.RightMargin    1mm
  71.                     Form.BottomMargin    1mm
  72.  
  73.                     Object Label "ProgressLabel" { 
  74.                         Text "Please Enter Installation Parameters."
  75.                         Window.LeftDistance    1mm
  76.                         Window.UpperDistance 1mm
  77.                         Window.Width    19cm
  78.                     }
  79.  
  80.                     Object Window "MeterWindow" {
  81.                         Window.BackgroundColor    "Red"
  82.                         Window.Width            0
  83.                         Window.Height            0
  84.                     }
  85.                 }
  86.             }
  87.         }
  88.     }
  89. }
  90.  
  91. # ----------------------------------------------------------------------
  92. ObjectGroup "YesNoDialog" {
  93.     Object GfxText "YesNoDialogGfxText" {
  94.         WordWrap    True
  95.         String         ""
  96.         Geometry    "0, 0, 10cm, 0"
  97.     }
  98.  
  99.     Object DialogFrame "YesNoDialogFrame" {
  100.         Frame.Title            ""
  101.         Frame.OwnerFrame    "BkgFrame"
  102.  
  103.         Object FormWithEtchedFrame - {
  104.             Form.AutoLeftToRight - 
  105.  
  106.             Object Label "YesNoDialogLabel" {
  107.                 GfxObj    "YesNoDialogGfxText"
  108.             }
  109.  
  110.             Object PushButton "YesButton" {    
  111.                 Button.Label "&Yes"
  112.                 Button.NotifyProc    "YesNoButtonNotify"
  113.                 Window.Width        2cm
  114.                 Window.LeftDistance 29mm
  115.                 Window.UpperObj        "YesNoDialogLabel"
  116.                 Window.LeftObj        NULL
  117.             }
  118.  
  119.             Object PushButton "NoButton" {    
  120.                 Button.Label "&No"
  121.                 Window.Width        2cm
  122.                 Button.NotifyProc    "YesNoButtonNotify"
  123.             }
  124.         }
  125.     }
  126. }
  127.  
  128.