home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL154.txt
- // Copyright 1996 Claris
- // -----
- // Library
- #include "StdVPref.txt"
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
- #define kLit4 "New Entry"
- #define kLit9 "Insert Image"
- #define kLit38 " Insert in Page "
- #define kLit39 " Use as Page Background "
- //Localized Fonts
- #if Platform_Mac
- #define kHelpFont Font = {Geneva, 9, {Italic}}
- #endif
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
- //This is the width of the popup menu controlling paragraph style.
- #define kParagraphStylePopupWidth 124
- #if Platform_Mac
- #define kHelpViewWidth 300
- #define kHelpViewHeight 20
- #endif
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- //No further localizable data past this point
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- #define kStandardPadSpace 9
- #if Platform_Mac
- #define ToolSep GenericView("ToolSepView");
- #else
- #define ToolSep
- #endif
- #define LibBack stdBackColor
-
- Define(LibraryToolbar)
- VList(stdBackColor, Width = UseParent)
- {
- Spacer(Height = 1, Width = UseParent, BackColor = White);
- Spacer(Height = 3);
-
- HList(Width = UseParent)
- {
- Spacer(Height = 0, Width = 6);
-
- //@ykh 080497 begin
- ToolSep
- PictPushButton(3301, "None", EH kLit4) // ccNewLibraryEntry
- {
- Enabled (Draw, 'cicn', 10200);
- Disabled(Draw, 'cicn', 10202);
- Tracking(Draw, 'cicn', 10201);
- };
- ToolSep
- Spacer(Height = UseParent, Width = 3);
-
- ToolSep
- Tag(libWinInsertImagePictButton)
- PictPushButton(3081, "None", EH kLit9) // ccInsertImage
- {
- Enabled(Draw, 'cicn',13005 );
- Disabled(Draw, 'cicn',13045 );
- Tracking(Draw, 'cicn',13025 );
- };
- ToolSep
- Spacer(Height = UseParent, Width = 3);
- //@ykh 080497 end
-
- Tag(libWinInsertInDocPictButton)
- GenericView("InsertInDocument"); // ccInsertInDocument HTMLDocButtonMenu
- Spacer(Height = UseParent, Width = 3);
-
- Tag(libWinUseAsBkgdPictButton)
- GenericView("UseAsBackground"); // ccUseAsBackground HTMLDocButtonMenu
- Spacer(Height = UseParent, Width = 8);
-
- //@ykh 080497 begin
- Margin( 0,6,0,0, LibBack, Height = UseParent,
- Width = UseParent )
- VList(Height = UseParent, Width = UseParent)
- {
- #if Platform_Mac
- HelpView(Width = kHelpViewWidth, Height = kHelpViewHeight, kHelpFont);
- #endif
- }
- //@ykh 080497 end
-
- }
-
- Spacer(Height = 3);
- Spacer(Height = 1, Width = UseParent, BackColor = DkGray);
- Spacer(Height = 1, Width = UseParent, BackColor = Black);
- }
-
-
-
- Margin( 0,0,0,0, LibBack, Height = UseParent,
- Width = UseParent )
- VList(Height = UseParent, Width = UseParent)
- {
- Call(LibraryToolbar);
- HSplit(MinLeftPixels = 75, MinRightPixels = 75)
- {
- //Left View
- Tag(ListView)
- GenericView("LibraryListProc");
-
- //Splitter
- VList(Height = UseParent, BackColor = {0xEEEE, 0xEEEE, 0xEEEE})
- {
- // Spacer(Width = 5);
- #if Platform_Mac
- HList(Height = UseParent)
- #else
- HList(Height = UseParent, BackColor = {45000,45000,45000} )
- #endif
- {
- Spacer(Width = 1, BackColor = {0, 0, 0});
- Spacer(Width = 1, BackColor = {65535, 65535, 65535});
-
- #if Platform_Mac
- Spacer(Width = 2, BackColor = {0xEEEE, 0xEEEE, 0xEEEE});
- #else
- Spacer(Width = 3, BackColor = {45000,45000,45000});
- #endif
-
- VList(Height = UseParent)
- {
- Spacer(Width = UseParent, Height = 5);
- #if Platform_Mac
- Spacer(Width = 1, BackColor = {65535, 65535, 65535});
- #else
- Spacer(Width = 1, BackColor = {45000, 45000, 45000});
- #endif
- Spacer(Width = UseParent, Height = 5);
- }
-
- #if Platform_Mac
- VList(Height = UseParent)
- {
- Spacer(Width = UseParent, Height = 5);
- Spacer(Width = 1, BackColor = {0x6666, 0x6666, 0x6666});
- Spacer(Width = UseParent, Height = 5);
- }
- VList(Height = UseParent)
- {
- Spacer(Width = UseParent, Height = 5);
- Spacer(Width = 1, BackColor = {65535, 65535, 65535});
- Spacer(Width = UseParent, Height = 5);
- }
- VList(Height = UseParent)
- {
- Spacer(Width = UseParent, Height = 5);
- Spacer(Width = 1, BackColor = {0x6666, 0x6666, 0x6666});
- Spacer(Width = UseParent, Height = 5);
- }
-
- Spacer(Width = 3, BackColor = {0xEEEE, 0xEEEE, 0xEEEE});
- Spacer(Width = 1, BackColor = {0x8888, 0x8888, 0x8888});
- #else
- //Main bar
- Spacer(Width = 1, BackColor = {0x6666, 0x6666, 0x6666});
- Spacer(Width = 1, BackColor = {65535, 65535, 65535});
- Spacer(Width = 1, BackColor = {0x6666, 0x6666, 0x6666});
-
- Spacer(Width = 3, BackColor = {45000, 45000, 45000});
- Spacer(Width = 1, BackColor = {25000, 25000, 25000});
- #endif
-
-
- Spacer(Width = 1, BackColor = {0, 0, 0});
- }
- // Spacer(Width = 5);
- }
- // Right View
- GenericView("LibraryViewProc");
-
- } //HSplit
- } //VList
-