home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-03 | 13.8 KB | 460 lines | [TEXT/CWIE] |
- //========================================================================================
- // File: Views.fr
- // Release Version: $ ODF 1 $
- //
- // Contains: Resources defining the Form part's views
- //
- // WARNING: THIS FILE WAS GENERATED BY APPMAKER, DO NOT EDIT IT DIRECTLY, UNLESS YOU
- // WON'T MAKE ANYMORE CHANGES WITH APPMAKER.
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //========================================================================================
-
- #ifndef FWRESFIL_K
- #include "FWResFil.k"
- #endif
-
- #ifndef FWVIEWS_FR
- #include "FWViews.fr"
- #endif
-
- #ifndef AMVIEWS_FR
- #include "AMViews.fr"
- #endif
-
- #ifndef FWNOTDEF_H
- #include "FWNotDef.h"
- #endif
-
- #ifndef DEFINES_K
- #include "Defines.k"
- #endif
-
- //========================================================================================
- // resource FW_RFrameLayout(kMainWindowID)
- //========================================================================================
- // See constants in "FWViews.k", macros & resource types in "FWViews.fr"
-
- #define H FW_FIX(531)
- #define V FW_FIX(577)
-
- #define H1 H + FW_FIX(1)
- #define V1 V + FW_FIX(1)
-
- resource FW_RFrameLayout(kMainWindowResID)
- {
- {H,V}, // LayoutSize
- { // Start list of frame's subviews
- RContentView // Scroller
- (
- kScrollerID, // view id
- { FW_FIX(0),FW_FIX(0),FW_FIX((0+517)),FW_FIX((0+562))},
- FW_kFitToEnclosure, // binding
- { 517, 562 /*kScrollerExtentX, kScrollerExtentY*/ }, // extent
- 1, // is the ContentView
- FW_kXYScrolling, // scrolling direction
- { // Start list of SubViews
- RPictView // FormPict
- (
- kFormPictPictID, // view id
- { FW_FIX(0),FW_FIX(0),FW_FIX((0+516)),FW_FIX((0+795))},
- FW_kFixedBounds, // binding
- 1000 // PICT rsrc id
- ),
- FW_REditView // FirstName
- (
- kFirstNameEditID, // view id
- { FW_FIX(290),FW_FIX(90),FW_FIX((290+160)),FW_FIX((90+17))},
- FW_kFixedBounds, // binding
- -1, // max chars
- 9, // attributes
- { FW_FIX(12), FW_kBold, "Times" },
- "first name" // initial text
- ),
- FW_REditView // LastName
- (
- kLastNameEditID, // view id
- { FW_FIX(290),FW_FIX(110),FW_FIX((290+160)),FW_FIX((110+17))},
- FW_kFixedBounds, // binding
- -1, // max chars
- 9, // attributes
- { FW_FIX(12), FW_kBold, "Times" },
- "last name" // initial text
- ),
- FW_REditView // MemberName
- (
- kMemberNameEditID, // view id
- { FW_FIX(290),FW_FIX(130),FW_FIX((290+160)),FW_FIX((130+17))},
- FW_kFixedBounds, // binding
- -1, // max chars
- 9, // attributes
- { FW_FIX(12), FW_kBold, "Times" },
- "member name" // initial text
- ),
- FW_REditView // EMailAddress
- (
- kEMailAddressEditID, // view id
- { FW_FIX(290),FW_FIX(150),FW_FIX((290+160)),FW_FIX((150+17))},
- FW_kFixedBounds, // binding
- -1, // max chars
- 9, // attributes
- { FW_FIX(12), FW_kBold, "Times" },
- "e-mail address" // initial text
- ),
- FW_REditView // Comments
- (
- kCommentsEditID, // view id
- { FW_FIX(30),FW_FIX(200),FW_FIX((30+420)),FW_FIX((200+65))},
- FW_kFixedBounds, // binding
- -1, // max chars
- 9, // attributes
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Comments" // initial text
- ),
- FW_RButton // SubscribeToODFFlash
- (
- kSubscribeToODFFlashCheckID, // view id
- { FW_FIX(30),FW_FIX(310),FW_FIX((30+170)),FW_FIX((310+14))},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 1, // control value
- FW_kCheckButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Subscribe to ODFFlash"
- ),
- RRadioGroup // ModemSpeedUsed
- (
- kModemSpeedUsedGroupID, // view id
- { FW_FIX(30),FW_FIX(360),FW_FIX((30+190)),FW_FIX((360+80))},
- FW_kFixedBounds, // binding
- {FW_FIX(190),FW_FIX(80)}, // extent
- 0, // not the ContentView
- FW_kNoScrolling, // scrolling direction
- { // Start list of SubViews
- FW_RGroupBox // ModemSpeedUsed
- (
- 0, // view id
- { FW_FIX(0),FW_FIX(0),FW_FIX(190),FW_FIX(80)},
- FW_kFixedBounds, // binding
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Modem speed used"
- ),
- FW_RButton // 14.4 Kbps or lower
- (
- 1, // view id
- { FW_FIX(5),FW_FIX(20),FW_FIX(189),FW_FIX(36)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "14.4 Kbps or lower"
- ),
- FW_RButton // 28.8 Kbps to 256 Kbps
- (
- 2, // view id
- { FW_FIX(5),FW_FIX(39),FW_FIX(189),FW_FIX(55)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "28.8 Kbps to 256 Kbps"
- ),
- FW_RButton // Faster than 256 Kbps
- (
- 3, // view id
- { FW_FIX(5),FW_FIX(58),FW_FIX(189),FW_FIX(74)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Faster than 256 Kbps"
- )
- }, // end list of SubViews
- FW_RRadioCluster
- (
- 1, // Dummy field
- {1, 2, 3} // list of radio ids
- )
- ) // end of RRadioGroup,
- FW_RListBox // Platform
- (
- kPlatformListBoxID, // view id
- { FW_FIX(250),FW_FIX(362),FW_FIX((250+134)),FW_FIX((362+78))},
- FW_kFixedBounds, // binding
- 10, // number of rows
- 1, // vertical SB
- 0, // single selection
- 1, // use focus frame
- 0, // use clientdata
- 0, // DblClick message
- { FW_FIX(12), FW_kPlain, "Helvetica" },
- { // List of strings
- "Mac OS",
- "OS/2 Warp",
- "Windows 95",
- "Windows NT",
- "IBM AIX",
- "Sun Sparc Solaris",
- "Sun OS 4.1.x",
- "HP/UX",
- "Unix IRIX",
- "Unix Linux"
- }
- ),
-
- FW_RButton // Add
- (
- kAddButtonID, // view id
- { FW_FIX(410),FW_FIX(370),FW_FIX((410+70)),FW_FIX((370+20))},
- FW_kFixedBounds, // binding
- FW_kButtonPressedMsg, // control message
- FW_kFrameReceiver, // receiver
- 0, // control value
- FW_kPushButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Add"
- ),
-
- FW_RButton // Remove
- (
- kRemoveButtonID, // view id
- { FW_FIX(410),FW_FIX(400),FW_FIX((410+70)),FW_FIX((400+20))},
- FW_kFixedBounds, // binding
- FW_kButtonPressedMsg, // control message
- FW_kFrameReceiver, // receiver
- 0, // control value
- FW_kPushButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Remove"
- ),
- FW_RPopupMenu // BrowseTime
- (
- kBrowseTimePopupID, // view id
- { FW_FIX(30),FW_FIX(477),FW_FIX((30+200)),FW_FIX((477+20))},
- FW_kFixedBounds, // binding
- FW_kPopupClickedMsg, // control message
- FW_kFrameReceiver, // control receiver
- 0, // control value
- 1000, // Mac menu id
- 0, // title width
- 1, // Initial menu item
- 0, // Menu variation
- 0, // Menu refCon
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "" // title
- ),
- FW_RPopupMenu // OtherTime
- (
- kOtherTimePopupID, // view id
- { FW_FIX(30),FW_FIX(540),FW_FIX((30+200)),FW_FIX((540+20))},
- FW_kFixedBounds, // binding
- FW_kPopupClickedMsg, // control message
- FW_kFrameReceiver, // control receiver
- 0, // control value
- 1001, // Mac menu id
- 0, // title width
- 1, // Initial menu item
- 0, // Menu variation
- 0, // Menu refCon
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "" // title
- ),
- RRadioGroup // HowDidYouDiscoverODFWired
- (
- kHowDidYouDiscoverODFWiredGroupID, // view id
- { FW_FIX(30),FW_FIX(580),FW_FIX((30+320)),FW_FIX((580+120))},
- FW_kFixedBounds, // binding
- {FW_FIX(320),FW_FIX(120)}, // extent
- 0, // not the ContentView
- FW_kNoScrolling, // scrolling direction
- { // Start list of SubViews
- FW_RGroupBox // HowDidYouDiscoverODFWired
- (
- 0, // view id
- { FW_FIX(0),FW_FIX(0),FW_FIX(320),FW_FIX(120)},
- FW_kFixedBounds, // binding
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "How did you discover ODFWired?"
- ),
- FW_RButton // Word of mouth
- (
- 1, // view id
- { FW_FIX(5),FW_FIX(20),FW_FIX(319),FW_FIX(36)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Word of mouth"
- ),
- FW_RButton // Hyperlink from another site:
- (
- 2, // view id
- { FW_FIX(5),FW_FIX(39),FW_FIX(319),FW_FIX(55)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Hyperlink from another site:"
- ),
- FW_RButton // Ad in MacTech Magazine
- (
- 3, // view id
- { FW_FIX(5),FW_FIX(58),FW_FIX(319),FW_FIX(74)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Ad in MacTech Magazine"
- ),
- FW_RButton // Other magazine, newspaper, radio
- (
- 4, // view id
- { FW_FIX(5),FW_FIX(77),FW_FIX(319),FW_FIX(93)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Other magazine, newspaper, radio"
- ),
- FW_RButton // Other
- (
- 5, // view id
- { FW_FIX(5),FW_FIX(96),FW_FIX(319),FW_FIX(112)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Other"
- )
- }, // end list of SubViews
- FW_RRadioCluster
- (
- 1, // Dummy field
- {1, 2, 3, 4, 5} // list of radio ids
- )
- ) // end of RRadioGroup,
- RRadioGroup // YesNo
- (
- kYesNoGroupID, // view id
- { FW_FIX(40),FW_FIX(720),FW_FIX((40+70)),FW_FIX((720+40))},
- FW_kFixedBounds, // binding
- {FW_FIX(70),FW_FIX(40)}, // extent
- 0, // not the ContentView
- FW_kNoScrolling, // scrolling direction
- { // Start list of SubViews
- FW_RButton // Yes
- (
- 1, // view id
- { FW_FIX(1),FW_FIX(1),FW_FIX(69),FW_FIX(17)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Yes"
- ),
- FW_RButton // No
- (
- 2, // view id
- { FW_FIX(1),FW_FIX(19),FW_FIX(69),FW_FIX(35)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "No"
- )
- }, // end list of SubViews
- FW_RRadioCluster
- (
- 1, // Dummy field
- {1, 2} // list of radio ids
- )
- ) // end of RRadioGroup,
-
- FW_RButton // JoinODFWired
- (
- kJoinODFWiredButtonID, // view id
- { FW_FIX(300),FW_FIX(750),FW_FIX((300+150)),FW_FIX((750+25))},
- FW_kFixedBounds, // binding
- FW_kButtonPressedMsg, // control message
- FW_kFrameReceiver, // receiver
- 0, // control value
- FW_kPushButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Join ODFWired!"
- )
- } // end SubViews
- ),
-
- FW_RScrollBar // Horz
- (
- kHorzScrollBarID, // view id
- { FW_FIX(-1),FW_FIX(562),FW_FIX((-1+518)),FW_FIX((562+16))},
- FW_kHScrollBarBinding, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- 0, // SB Min Value (adjusted at runtime)
- 1, // SB Max Value (adjusted at runtime)
- FW_ONE, // SB Minor Units (adjusted at runtime)
- FW_ONE // SB Major Units (adjusted at runtime)
- ),
- FW_RScrollBar // Vert
- (
- kVertScrollBarID, // view id
- { FW_FIX(516),FW_FIX(-1),FW_FIX((516+16)),FW_FIX((-1+564))},
- FW_kVScrollBarBinding, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- 0, // SB Min Value (adjusted at runtime)
- 1, // SB Max Value (adjusted at runtime)
- FW_ONE, // SB Minor Units (adjusted at runtime)
- FW_ONE // SB Major Units (adjusted at runtime)
- ),
- FW_RGrowBox
- (
- 'grow', // view Id
- {H - FW_SBSIZE, V - FW_SBSIZE, H1, V1}, // bounds
- FW_kGrowBoxBinding // standard grow box binding
- )
-
- }, // End list of frame's subviews
- { // Scroller
- FW_RScrollBarScroller
- (
- 0, // AutoScrollInset: not used here
- {0, 0} // AutoScrollIncrement: 0 = no auto-scroll
- kHorzScrollBarID, // Horizontal scroll-bar ID
- kVertScrollBarID // Vertical scroll-bar ID
- )
- }
- };
-
- #undef H
- #undef V
-
- #undef H1
- #undef V1
-
-