home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-03 | 6.7 KB | 246 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(462)
- #define V FW_FIX(333)
-
- #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
- FW_RStaticText // Headline
- (
- kHeadlineTextID, // view id
- { FW_FIX(12),FW_FIX(12),FW_FIX((12+432)),FW_FIX((12+28))},
- FW_kFixedBounds, // binding
- { FW_FIX(24), FW_kPlain, "Helvetica" },
- "AppMaker, Your Assistant Programmer"
- ),
- FW_RStaticText // Tagline
- (
- kTaglineTextID, // view id
- { FW_FIX(12),FW_FIX(44),FW_FIX((12+416)),FW_FIX((44+17))},
- FW_kFixedBounds, // binding
- { FW_FIX(12), FW_kBold, "Helvetica" },
- "Helps you program the user interface for an OpenDoc editor."
- ),
- FW_RButton // CreatesViews
- (
- kCreatesViewsCheckID, // view id
- { FW_FIX(224),FW_FIX(68),FW_FIX((224+223)),FW_FIX((68+16))},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 1, // control value
- FW_kCheckButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Creates ODF View Resources"
- ),
- FW_RButton // GeneratesCode
- (
- kGeneratesCodeCheckID, // view id
- { FW_FIX(224),FW_FIX(88),FW_FIX((224+217)),FW_FIX((88+16))},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 1, // control value
- FW_kCheckButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Generates C++ Source Code"
- ),
- RRectView // Pict
- (
- kPictID, // view id
- { FW_FIX(12),FW_FIX(68),FW_FIX((12+200)),FW_FIX((68+200))},
- FW_kFixedBounds, // binding
- { 200, 200 /*kPictExtentX, kPictExtentY*/ }, // extent
- 0, // not the ContentView
- FW_kNoScrolling, // scrolling direction
- { // Start list of SubViews
- RPictView // Bowers
- (
- kBowersPictID, // view id
- { FW_FIX(1),FW_FIX(1),FW_FIX((1+198)),FW_FIX((1+198))},
- FW_kFixedBounds, // binding
- 1000 // PICT rsrc id
- )
- } // end SubViews
- ),
- FW_RListBox // Gadgets
- (
- kGadgetsListBoxID, // view id
- { FW_FIX(224),FW_FIX(112),FW_FIX((224+107)),FW_FIX((112+121))},
- 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, "systemFont" },
- { // List of strings
- "Button",
- "Check box",
- "Radio Group",
- "Static Text",
- "Edit Text",
- "Picture",
- "Rectangle",
- "Popup",
- "List"
- }
- ),
- RRadioGroup // Generate
- (
- kGenerateGroupID, // view id
- { FW_FIX(348),FW_FIX(112),FW_FIX((348+92)),FW_FIX((112+96))},
- FW_kFixedBounds, // binding
- {FW_FIX(92),FW_FIX(96)}, // extent
- 0, // not the ContentView
- FW_kNoScrolling, // scrolling direction
- { // Start list of SubViews
- FW_RGroupBox // Generate
- (
- 0, // view id
- { FW_FIX(0),FW_FIX(0),FW_FIX(92),FW_FIX(96)},
- FW_kFixedBounds, // binding
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Generate"
- ),
- FW_RButton // Menus
- (
- 1, // view id
- { FW_FIX(5),FW_FIX(20),FW_FIX(91),FW_FIX(36)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Menus"
- ),
- FW_RButton // Frames
- (
- 2, // view id
- { FW_FIX(5),FW_FIX(38),FW_FIX(91),FW_FIX(54)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Frames"
- ),
- FW_RButton // Dialogs
- (
- 3, // view id
- { FW_FIX(5),FW_FIX(56),FW_FIX(91),FW_FIX(72)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Dialogs"
- ),
- FW_RButton // Windoids
- (
- 4, // view id
- { FW_FIX(5),FW_FIX(74),FW_FIX(91),FW_FIX(90)},
- FW_kFixedBounds, // binding
- 0, // control message
- 0, // receiver
- 0, // control value
- FW_kRadioButton, // button kind
- { FW_FIX(12), FW_kPlain, "systemFont" },
- "Windoids"
- )
- }, // end list of SubViews
- FW_RRadioCluster
- (
- 1, // Dummy field
- {1, 2, 3, 4} // list of radio ids
- )
- ) // end of RRadioGroup,
- FW_REditView // WwwAddress
- (
- kWwwAddressEditID, // view id
- { FW_FIX(228),FW_FIX(252),FW_FIX((228+212)),FW_FIX((252+14))},
- FW_kFixedBounds, // binding
- -1, // max chars
- 9, // attributes
- { FW_FIX(9), FW_kPlain, "Geneva" },
- "http://members.aol.com/bowersdev" // initial text
- ),
- FW_RStaticText // Footnote1
- (
- kFootnote1TextID, // view id
- { FW_FIX(12),FW_FIX(284),FW_FIX((12+415)),FW_FIX((284+15))},
- FW_kFixedBounds, // binding
- { FW_FIX(12), FW_kPlain, "Times" },
- "This shows some of the gadgets you can create without typing a line of code. "
- ),
- FW_RStaticText // Footnote2
- (
- kFootnote2TextID, // view id
- { FW_FIX(12),FW_FIX(300),FW_FIX((12+380)),FW_FIX((300+15))},
- FW_kFixedBounds, // binding
- { FW_FIX(12), FW_kPlain, "Times" },
- "Just point and click, then let AppMaker generate code for you."
- ),
- 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
- }
- };
-
- #undef H
- #undef V
-
- #undef H1
- #undef V1
-
-