From fa1e9969b33edab0df05ef960251e92c9d8924bb Mon Sep 17 00:00:00 2001 From: "GitHub Actions[bot]" Date: Sun, 17 Mar 2024 16:09:28 +0000 Subject: [PATCH] deploy: 31f6f08fb004f2c0073a48b3fb2e6b6e60a46bff --- .nojekyll | 0 files/elements-ily-Summary.js | 1 + files/elements-ily-SummaryToolTips.js | 1 + files/elements-ily-ToolTips.js | 1 + files/elements-ily.html | 74 ++++++ files/pdq-header-ily-Summary.js | 1 + files/pdq-header-ily-SummaryToolTips.js | 1 + files/pdq-header-ily-ToolTips.js | 1 + files/pdq-header-ily.html | 83 +++++++ files/pdq-ily-Summary.js | 1 + files/pdq-ily-SummaryToolTips.js | 1 + files/pdq-ily-ToolTips.js | 1 + files/pdq-ily.html | 252 ++++++++++++++++++++ files/util-ily-Summary.js | 1 + files/util-ily-SummaryToolTips.js | 1 + files/util-ily-ToolTips.js | 1 + files/util-ily.html | 115 +++++++++ index.html | 9 + menu/files.js | 1 + menu/tabs.js | 1 + other/home.html | 13 + search/index.js | 1 + search/keywords/0061006e0064.js | 1 + search/keywords/0061006e0079.js | 1 + search/keywords/006100720063.js | 1 + search/keywords/0062006f006f.js | 1 + search/keywords/0063006f0070.js | 1 + search/keywords/006300750065.js | 1 + search/keywords/006300750073.js | 1 + search/keywords/006400650062.js | 1 + search/keywords/006400650066.js | 1 + search/keywords/00640069006e.js | 1 + search/keywords/00640079006e.js | 1 + search/keywords/0065006c0065.js | 1 + search/keywords/0065006c006c.js | 1 + search/keywords/006500730063.js | 1 + search/keywords/006500760065.js | 1 + search/keywords/006500780065.js | 1 + search/keywords/006600690072.js | 1 + search/keywords/0066006f006e.js | 1 + search/keywords/0066006f0072.js | 1 + search/keywords/006700650074.js | 1 + search/keywords/006800650061.js | 1 + search/keywords/00680065006e.js | 1 + search/keywords/00690066002d.js | 1 + search/keywords/0069006c0079.js | 1 + search/keywords/006c00610079.js | 1 + search/keywords/006e006f0073.js | 1 + search/keywords/006f00640064.js | 1 + search/keywords/006f00700074.js | 1 + search/keywords/006f0072006d.js | 1 + search/keywords/007000610070.js | 1 + search/keywords/007000610072.js | 1 + search/keywords/007000640071.js | 1 + search/keywords/007000690061.js | 1 + search/keywords/00700069007a.js | 1 + search/keywords/007200650070.js | 1 + search/keywords/00730063006f.js | 1 + search/keywords/0073006d0061.js | 1 + search/keywords/007300700061.js | 1 + search/keywords/007300740061.js | 1 + search/keywords/007300740072.js | 1 + search/keywords/007300740079.js | 1 + search/keywords/007400610067.js | 1 + search/keywords/007400680065.js | 1 + search/keywords/007400690074.js | 1 + search/keywords/007400720061.js | 1 + search/keywords/00740077006f.js | 1 + search/keywords/007500740069.js | 1 + search/keywords/0076006f0069.js | 1 + search/keywords/007700610072.js | 1 + search/keywords/007700680065.js | 1 + styles/Default/Default.css | 12 + styles/Default/images/menu-folder-arrow.png | Bin 0 -> 135 bytes styles/Default/images/menu-loading.gif | Bin 0 -> 2087 bytes styles/Default/images/menu-tab-classes.png | Bin 0 -> 175 bytes styles/Default/images/menu-tab-database.png | Bin 0 -> 156 bytes styles/Default/images/menu-tab-files.png | Bin 0 -> 149 bytes styles/Default/images/search-class.png | Bin 0 -> 185 bytes styles/Default/images/search-parent.png | Bin 0 -> 169 bytes styles/Default/images/search.png | Bin 0 -> 344 bytes styles/Default/images/summary-loading.gif | Bin 0 -> 3081 bytes styles/Default/images/transparent.gif | Bin 0 -> 42 bytes styles/DefaultJS/NDContentPage.js | 12 + styles/DefaultJS/NDCore.js | 12 + styles/DefaultJS/NDFramePage.js | 17 ++ styles/DefaultJS/NDMenu.js | 12 + styles/DefaultJS/NDSearch.js | 12 + styles/DefaultJS/NDSummary.js | 12 + styles/main.css | 1 + styles/main.js | 1 + 91 files changed, 702 insertions(+) create mode 100644 .nojekyll create mode 100644 files/elements-ily-Summary.js create mode 100644 files/elements-ily-SummaryToolTips.js create mode 100644 files/elements-ily-ToolTips.js create mode 100644 files/elements-ily.html create mode 100644 files/pdq-header-ily-Summary.js create mode 100644 files/pdq-header-ily-SummaryToolTips.js create mode 100644 files/pdq-header-ily-ToolTips.js create mode 100644 files/pdq-header-ily.html create mode 100644 files/pdq-ily-Summary.js create mode 100644 files/pdq-ily-SummaryToolTips.js create mode 100644 files/pdq-ily-ToolTips.js create mode 100644 files/pdq-ily.html create mode 100644 files/util-ily-Summary.js create mode 100644 files/util-ily-SummaryToolTips.js create mode 100644 files/util-ily-ToolTips.js create mode 100644 files/util-ily.html create mode 100644 index.html create mode 100644 menu/files.js create mode 100644 menu/tabs.js create mode 100644 other/home.html create mode 100644 search/index.js create mode 100644 search/keywords/0061006e0064.js create mode 100644 search/keywords/0061006e0079.js create mode 100644 search/keywords/006100720063.js create mode 100644 search/keywords/0062006f006f.js create mode 100644 search/keywords/0063006f0070.js create mode 100644 search/keywords/006300750065.js create mode 100644 search/keywords/006300750073.js create mode 100644 search/keywords/006400650062.js create mode 100644 search/keywords/006400650066.js create mode 100644 search/keywords/00640069006e.js create mode 100644 search/keywords/00640079006e.js create mode 100644 search/keywords/0065006c0065.js create mode 100644 search/keywords/0065006c006c.js create mode 100644 search/keywords/006500730063.js create mode 100644 search/keywords/006500760065.js create mode 100644 search/keywords/006500780065.js create mode 100644 search/keywords/006600690072.js create mode 100644 search/keywords/0066006f006e.js create mode 100644 search/keywords/0066006f0072.js create mode 100644 search/keywords/006700650074.js create mode 100644 search/keywords/006800650061.js create mode 100644 search/keywords/00680065006e.js create mode 100644 search/keywords/00690066002d.js create mode 100644 search/keywords/0069006c0079.js create mode 100644 search/keywords/006c00610079.js create mode 100644 search/keywords/006e006f0073.js create mode 100644 search/keywords/006f00640064.js create mode 100644 search/keywords/006f00700074.js create mode 100644 search/keywords/006f0072006d.js create mode 100644 search/keywords/007000610070.js create mode 100644 search/keywords/007000610072.js create mode 100644 search/keywords/007000640071.js create mode 100644 search/keywords/007000690061.js create mode 100644 search/keywords/00700069007a.js create mode 100644 search/keywords/007200650070.js create mode 100644 search/keywords/00730063006f.js create mode 100644 search/keywords/0073006d0061.js create mode 100644 search/keywords/007300700061.js create mode 100644 search/keywords/007300740061.js create mode 100644 search/keywords/007300740072.js create mode 100644 search/keywords/007300740079.js create mode 100644 search/keywords/007400610067.js create mode 100644 search/keywords/007400680065.js create mode 100644 search/keywords/007400690074.js create mode 100644 search/keywords/007400720061.js create mode 100644 search/keywords/00740077006f.js create mode 100644 search/keywords/007500740069.js create mode 100644 search/keywords/0076006f0069.js create mode 100644 search/keywords/007700610072.js create mode 100644 search/keywords/007700680065.js create mode 100644 styles/Default/Default.css create mode 100644 styles/Default/images/menu-folder-arrow.png create mode 100644 styles/Default/images/menu-loading.gif create mode 100644 styles/Default/images/menu-tab-classes.png create mode 100644 styles/Default/images/menu-tab-database.png create mode 100644 styles/Default/images/menu-tab-files.png create mode 100644 styles/Default/images/search-class.png create mode 100644 styles/Default/images/search-parent.png create mode 100644 styles/Default/images/search.png create mode 100644 styles/Default/images/summary-loading.gif create mode 100644 styles/Default/images/transparent.gif create mode 100644 styles/DefaultJS/NDContentPage.js create mode 100644 styles/DefaultJS/NDCore.js create mode 100644 styles/DefaultJS/NDFramePage.js create mode 100644 styles/DefaultJS/NDMenu.js create mode 100644 styles/DefaultJS/NDSearch.js create mode 100644 styles/DefaultJS/NDSummary.js create mode 100644 styles/main.css create mode 100644 styles/main.js diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/files/elements-ily-Summary.js b/files/elements-ily-Summary.js new file mode 100644 index 0000000..e7c42b5 --- /dev/null +++ b/files/elements-ily-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("File:elements.ily","elements.ily");NDSummary.OnSummaryLoaded("File:elements.ily",[["LilyPond","LilyPond"]],[["Files","File"],["Functions","Function"],["Groups","Group"]],[[77,0,0,"elements.ily","elements.ily"],[78,0,2,"Musical Functions","Musical_Functions"],[79,0,1,"ellipsis","ellipsis"],[80,0,1,"noSignature","noSignature"],[81,0,1,"forceBarNumber","forceBarNumber"],[82,0,1,"pizz","pizz"],[83,0,1,"arco","arco"],[84,0,1,"staccsOn","staccsOn"],[85,0,1,"staccsUpOn","staccsUpOn"],[86,0,1,"staccsDownOn","staccsDownOn"],[87,0,1,"staccsOff","staccsOff"]]); \ No newline at end of file diff --git a/files/elements-ily-SummaryToolTips.js b/files/elements-ily-SummaryToolTips.js new file mode 100644 index 0000000..6384562 --- /dev/null +++ b/files/elements-ily-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("File:elements.ily",{77:"
This file contains definition of typical musical elements that are not contained in the standard library. The PDQ stylesheet automatically includes this file so all of this is automatically avaliable when using PDQ.
",79:"
\\ellipsis duration
Marks a multi measure rest as an ellipsis. Unlike multi measure rests an ellipsis does not show its length but is represented as two diagonal lines. This can be used in exerpts where you might only want to include certain parts of a piece. This only works with multi measure rests.
",80:"
\\noSignature
Suppresses the time and key signature at the point where this function is used.
",81:"
\\forceBarNumber
Forces LilyPond to output a bar number in the current bar. This can be very useful in combination with ellipsis to inform the reader at which bar an exerpt continues after an ellipsis.
",82:"
\\pizz
Markup command that prints a pizzicato mark at the current note.
",83:"
\\pizz
Markup command that prints an arco mark at the current note.
",84:"
\\staccsOn number
Begins using multiple staccato marks on every following note. The staccatos will continue until staccsOff is used. This is usually used in combination with tremolo repeats.
",85:"
\\staccsUpOn number
Begins using multiple staccatissimo marks on every following note. The marks will continue until staccsOff is used. This is usually used in combination with tremolo repeats.
",86:"
\\staccsDownOn number
Begins using multiple staccatissimo marks on every following note. The marks will continue until staccsOff is used. This is usually used in combination with tremolo repeats.
",87:"
\\staccsOff
Stops using staccato or staccatissimo marks on each note. Use this after using staccsOn, staccsUpOn, or staccsDownOn.
"}); \ No newline at end of file diff --git a/files/elements-ily-ToolTips.js b/files/elements-ily-ToolTips.js new file mode 100644 index 0000000..5de09d9 --- /dev/null +++ b/files/elements-ily-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({79:"
\\ellipsis duration
Marks a multi measure rest as an ellipsis. Unlike multi measure rests an ellipsis does not show its length but is represented as two diagonal lines. This can be used in exerpts where you might only want to include certain parts of a piece. This only works with multi measure rests.
",84:"
\\staccsOn number
Begins using multiple staccato marks on every following note. The staccatos will continue until staccsOff is used. This is usually used in combination with tremolo repeats.
",85:"
\\staccsUpOn number
Begins using multiple staccatissimo marks on every following note. The marks will continue until staccsOff is used. This is usually used in combination with tremolo repeats.
",86:"
\\staccsDownOn number
Begins using multiple staccatissimo marks on every following note. The marks will continue until staccsOff is used. This is usually used in combination with tremolo repeats.
",87:"
\\staccsOff
Stops using staccato or staccatissimo marks on each note. Use this after using staccsOn, staccsUpOn, or staccsDownOn.
"}); \ No newline at end of file diff --git a/files/elements-ily.html b/files/elements-ily.html new file mode 100644 index 0000000..4d2f1c0 --- /dev/null +++ b/files/elements-ily.html @@ -0,0 +1,74 @@ + + +elements.ily + + + + + + + +
+
elements.ily
+

This file contains definition of typical musical elements that are not contained in the standard library. The PDQ stylesheet automatically includes this file so all of this is automatically avaliable when using PDQ.

+
+ +
+
Musical Functions
+
+ +
+
ellipsis
+
\ellipsis duration
+

Marks a multi measure rest as an ellipsis. Unlike multi measure rests an ellipsis does not show its length but is represented as two diagonal lines. This can be used in exerpts where you might only want to include certain parts of a piece. This only works with multi measure rests.

Example
\ellipsis R1*100

This ellipsis would span 100 bars. As the ellipsis uses a MMR internally bar numbers will resume correctly after the ellipsis.

Parameters
duration

The duration of the ellipsis. Must be a multi measure rest.

+
+ +
+
noSignature
+
\noSignature
+

Suppresses the time and key signature at the point where this function is used.

+
+ +
+
forceBarNumber
+
\forceBarNumber
+

Forces LilyPond to output a bar number in the current bar. This can be very useful in combination with ellipsis to inform the reader at which bar an exerpt continues after an ellipsis.

+
+ +
+
pizz
+
\pizz
+

Markup command that prints a pizzicato mark at the current note.

Example
c d e^\pizz f
+
+ +
+
arco
+
\pizz
+

Markup command that prints an arco mark at the current note.

Example
c d e^\arco f
+
+ +
+
staccsOn
+
\staccsOn number
+

Begins using multiple staccato marks on every following note. The staccatos will continue until staccsOff is used. This is usually used in combination with tremolo repeats.

Parameters
number

The number of staccatos to use on each note.

See Also

staccsUpOn, staccsDownOn, staccsOff

+
+ +
+
staccsUpOn
+
\staccsUpOn number
+

Begins using multiple staccatissimo marks on every following note. The marks will continue until staccsOff is used. This is usually used in combination with tremolo repeats.

This function uses staccatissimo pointing upward. To use the downward direction use staccsDownOn instead.

Parameters
number

The number of staccatissimo marks to use on each note.

See Also

staccsOn, staccsDownOn, staccsOff

+
+ +
+
staccsDownOn
+
\staccsDownOn number
+

Begins using multiple staccatissimo marks on every following note. The marks will continue until staccsOff is used. This is usually used in combination with tremolo repeats.

This function uses staccatissimo pointing downward. To use the upward direction use staccsUpOn instead.

Parameters
number

The number of staccatissimo marks to use on each note.

See Also

staccsOn, staccsUpOn, staccsOff

+
+ +
+
staccsOff
+
\staccsOff
+

Stops using staccato or staccatissimo marks on each note. Use this after using staccsOn, staccsUpOn, or staccsDownOn.

See Also

staccsOn, staccsUpOn, staccsDownOn

+
+ + \ No newline at end of file diff --git a/files/pdq-header-ily-Summary.js b/files/pdq-header-ily-Summary.js new file mode 100644 index 0000000..f8cf0d5 --- /dev/null +++ b/files/pdq-header-ily-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("File:pdq-header.ily","pdq-header.ily");NDSummary.OnSummaryLoaded("File:pdq-header.ily",[["LilyPond","LilyPond"]],[["Functions","Function"],["Groups","Group"],["Sections","Section"],["Variables","Variable"]],[[1,0,2,"The PDQ Layout","The_PDQ_Layout"],[2,0,1,"Book Headers","Book_Headers"],[3,0,1,"Score Headers","Score_Headers"],[4,0,2,"pdq-header.ily","pdq-header.ily"],[5,0,1,"Variables","Variables"],[6,0,3,"copyrightFont","copyrightFont"],[7,0,3,"taglineFont","taglineFont"],[8,0,3,"titleFontSize","titleFontSize"],[9,0,1,"Page Markup","Page_Markup"],[10,0,0,"pdqInstrumentMarkup","pdqInstrumentMarkup"],[11,0,0,"pdqBookHeadlineMarkup","pdqBookHeadlineMarkup"],[12,0,0,"pdqScoreHeadlineMarkup","pdqScoreHeadlineMarkup"],[13,0,0,"pdqComposerMarkup","pdqComposerMarkup"]]); \ No newline at end of file diff --git a/files/pdq-header-ily-SummaryToolTips.js b/files/pdq-header-ily-SummaryToolTips.js new file mode 100644 index 0000000..1753e4e --- /dev/null +++ b/files/pdq-header-ily-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("File:pdq-header.ily",{1:"
The PDQ stylesheet implements a custom layout for books and scores that can be customized by providing additional information in a respective \\header block. For simple cases where you only have one score in one book it is also possible to specify the book and score headers in the same header block.
",2:"
The book header supports the following fields. Although technically none of the fields are required for successful compilation the stylesheet makes some assumptions about which fields will be present.
",3:"
The score header supports additional fields that identify a piece of music. In simple cases these can be included in the same \\header block as the book fields.
",4:"
This file contains the definitions for PDQ header elements. Usually it is not neccessary to use any of these definitions directly as they are used by the PDQ stylesheet automatically.
",5:"
This section contains definitions for variables that will be used in the default PDQ markup. Users may override these values to provide some customization to the theme.
",6:"
copyrightFont = "Yorkten Thin Italic,"
This font is used for the copyright string.
",7:"
taglineFont = "Yorkten Thin,"
This font is used for the tagline.
",8:"
titleFontSize = #24
The font size for the main title.
",9:"
This section contains markup command for the various parts of a page that are used by the PDQ stylesheet. You normally should have no need to use this manually.
",10:"
\\pdqInstrumentMarkup
Prints the instrument name in a box.
",11:"
\\pdqBookHeadlineMarkup
Prints the headline of a \\book.
",12:"
\\pdqScoreHeadlineMarkup
Prints the headline of a \\score.
",13:"
\\pdqComposerMarkup
Prints the composer section in a score.
"}); \ No newline at end of file diff --git a/files/pdq-header-ily-ToolTips.js b/files/pdq-header-ily-ToolTips.js new file mode 100644 index 0000000..59992a1 --- /dev/null +++ b/files/pdq-header-ily-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({}); \ No newline at end of file diff --git a/files/pdq-header-ily.html b/files/pdq-header-ily.html new file mode 100644 index 0000000..f94b36e --- /dev/null +++ b/files/pdq-header-ily.html @@ -0,0 +1,83 @@ + + +pdq-header.ily + + + + + + + +
+
The PDQ Layout
+

The PDQ stylesheet implements a custom layout for books and scores that can be customized by providing additional information in a respective \header block. For simple cases where you only have one score in one book it is also possible to specify the book and score headers in the same header block.

+
+ +
+
Book Headers
+

The book header supports the following fields. Although technically none of the fields are required for successful compilation the stylesheet makes some assumptions about which fields will be present.

Fields
title

The title of the book (required).

subtitle

The subtitle of the book (optional, but recommended).

subsubtitle

A subsubtitle of the book.

repeattitle

An optional variant of the title that will be used in the header of each page (if repeatTitle is true).

dedication

A string containing a dedication of the work. This is displayed above the (sub)titles.

instrument

The name of the instrument the music is for.

publisher

The publisher of a work.

version

A string identifying the current version of a work.

copyright

A copyright string (possibly including the © symbol).

tagline

A string displayed at the bottom of a page.

+
+ +
+
Score Headers
+

The score header supports additional fields that identify a piece of music. In simple cases these can be included in the same \header block as the book fields.

Fields
piece

The title of the piece of music (e.g. "Symphony No. 9"). This should not be used for the movement.

subpiece

Additional information about the piece such as a title (e.g. "New World Symphony").

subsubpiece

Even more information about a piece such as its key (e.g. "in e minor")

movement

The movement for this score. This works best if the movement is just a roman numeral (e.g. "IV" for the fourth movement).

composer

The composer of the piece.

opus

The opus of the piece (including the "Op." prefix).

arranger

An optional arranger of a piece (including a possible prefix such as "arr. by")

exerpt

If the score is just an exerpt you may identify the exerpt here by for example specifiying its bar numbers.

+
+ +
+
pdq-header.ily
+

This file contains the definitions for PDQ header elements. Usually it is not neccessary to use any of these definitions directly as they are used by the PDQ stylesheet automatically.

+
+ +
+
Variables
+

This section contains definitions for variables that will be used in the default PDQ markup. Users may override these values to provide some customization to the theme.

+
+ +
+
copyrightFont
+
copyrightFont = "Yorkten Thin Italic,"
+

This font is used for the copyright string.

+
+ +
+
taglineFont
+
taglineFont = "Yorkten Thin,"
+

This font is used for the tagline.

+
+ +
+
titleFontSize
+
titleFontSize = #24
+

The font size for the main title.

+
+ +
+
Page Markup
+

This section contains markup command for the various parts of a page that are used by the PDQ stylesheet. You normally should have no need to use this manually.

+
+ +
+
pdqInstrumentMarkup
+
\pdqInstrumentMarkup
+

Prints the instrument name in a box.

+
+ +
+
pdqBookHeadlineMarkup
+
\pdqBookHeadlineMarkup
+

Prints the headline of a \book.

+
+ +
+
pdqScoreHeadlineMarkup
+
\pdqScoreHeadlineMarkup
+

Prints the headline of a \score.

+
+ +
+
pdqComposerMarkup
+
\pdqComposerMarkup
+

Prints the composer section in a score.

+
+ + \ No newline at end of file diff --git a/files/pdq-ily-Summary.js b/files/pdq-ily-Summary.js new file mode 100644 index 0000000..e759ff3 --- /dev/null +++ b/files/pdq-ily-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("File:pdq.ily","pdq.ily");NDSummary.OnSummaryLoaded("File:pdq.ily",[["LilyPond","LilyPond"]],[["Contexts","Context"],["Events","Event"],["Functions","Function"],["Groups","Group"],["Information","Information"],["Sections","Section"],["Variables","Variable"]],[[14,0,5,"The PDQ Stylesheet","The_PDQ_Stylesheet"],[15,0,3,"Options","Options"],[16,0,6,"dinPaper","dinPaper"],[17,0,6,"debug","debug"],[18,0,6,"strict","strict"],[19,0,6,"repeatTitle","repeatTitle"],[20,0,6,"bookComposer","bookComposer"],[21,0,6,"scoreComposer","scoreComposer"],[22,0,6,"twoside","twoside"],[23,0,6,"repeatFooter","repeatFooter"],[24,0,6,"defaultTagline","defaultTagline"],[25,0,3,"Custom Definitions","Custom_Definitions"],[26,0,6,"Henle-scripts","Henle-scripts"],[27,0,2,"format-mark-pdq","format-mark-pdq"],[28,0,2,"format-mark-pdq-numeric","format-mark-pdq-numeric"],[29,0,5,"PDQ Paper","PDQ_Paper"],[30,0,4,"The PDQ Paper Format","The_PDQ_Paper_Format"],[31,0,4,"Styling Options","Styling_Options"],[32,0,4,"Spacing","Spacing"],[33,0,4,"Fonts","Fonts"],[34,0,3,"Page Content","Page_Content"],[35,0,1,"headerCenter","headerCenter"],[36,0,1,"evenHeaderMarkup","evenHeaderMarkup"],[37,0,1,"oddHeaderMarkup","oddHeaderMarkup"],[38,0,1,"firstPageFooter","firstPageFooter"],[39,0,1,"oddFooterMarkup","oddFooterMarkup"],[40,0,1,"oddFooterMarkup","oddFooterMarkup(2)"],[41,0,1,"bookTitleMarkup","bookTitleMarkup"],[42,0,1,"scoreTitleMarkup","scoreTitleMarkup"],[43,0,5,"PDQ Layout","PDQ_Layout"],[44,0,3,"Context Tweaks","Context_Tweaks"],[45,0,0,"Score","Score"],[46,0,0,"Staff","Staff"],[47,0,0,"PianoStaff","PianoStaff"],[48,0,0,"Dynamics","Dynamics"],[49,0,0,"Voice","Voice"],[50,0,0,"CueVoice","CueVoice"],[51,0,3,"Selectable Layouts","Selectable_Layouts"],[52,0,2,"partLayout","partLayout"],[53,0,2,"transposedPartLayout","transposedPartLayout"],[54,0,2,"partPaper","partPaper"],[55,0,2,"exerptLayout","exerptLayout"],[56,0,2,"exerptPaper","exerptPaper"],[57,0,2,"scoreLayout","scoreLayout"],[58,0,2,"smallScoreLayout","smallScoreLayout"]]); \ No newline at end of file diff --git a/files/pdq-ily-SummaryToolTips.js b/files/pdq-ily-SummaryToolTips.js new file mode 100644 index 0000000..051de62 --- /dev/null +++ b/files/pdq-ily-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("File:pdq.ily",{14:"
This file is the main entry point to the PDQ style sheet. This file should be included in your own projects in order to use the PDQ styles. This file does provide some functions however in most cases you don\'t need to use them directly as the stylesheet can be customized via options.
",15:"
The PDQ stylesheet can be customized using options. Options must be specified before the pdq.ily file is included. For example:
",16:"
dinPaper = ##f
By default PDQ uses a custom paper format. However this may prove difficult when printing. This option overrides the default paper format and makes PDQ use the A4 paper format instead.
",17:"
debug = ##f
Set this option to #t to enable the debug mode. The debug mode is intended to help debug layout issue. PDQ will disable some spacing optimizations and will show annotations for flexible spacing variables. Also this will treat all warnings as errors. Debug mode should never be used when publishing scores.
",18:"
strict = ##f
Enables strict layout by enabling things ragged bottom pages. This should only be used for debugging purposes. If you want to enable ragged bottoms do so by setting it in a \\paper block. In the future this option may include additional modifications that are not suitable for publishing.
",19:"
repeatTitle = ##t
By default the title is printed in the header of each of each page. If you don\'t want this behavior set the option to #f to suppress the title on subsequent pages.
",20:"
bookComposer = ##f
Print the composer in the book markup next to the title. For multi-movemement scores you usually want to set this to #t and set scoreComposer to #f to avoid printing the composer for each new movement.
",21:"
scoreComposer = ##t
Print the composer in the score markup. This is the default. This prints the composer before every score. While this is preferred for single scores or for multi-composer books you might want to disable this option if you are engraving multiple scores from the same piece.
",22:"
twoside = ##t
By default PDQ assumes that you will be creating a two sided score (that is two pages will be visible next to each other with the exception of the first and possibly the last page). To turn off this behavior set twoside to #f.
",23:"
repeatFooter = ##f
Print the footer not only on the first but on all pages.
",24:"
defaultTagline = #f
By default PDQ customizes the LilyPond tageline. To turn off these modifications set defaultTageline to #t.
",25:"
The following definitions are used in the PDQ stylesheet automatically.
",26:"
These script tweaks are applied to the Script context.
",27:"
Formats rehearsal marks for the PDQ stylesheet. The formatter puts every mark (as a letter) in a square box. The marks are printed quite large for better readability.
",28:"
Formats rehearsal marks with numbers instead of letters. The formatter puts every mark in a square box. The marks are printed quite large for better readability.
",29:"
The PDQ stylesheet heavily modifies the LilyPond \\paper. This section documents some of the modifications.
",30:"
The PDQ stylesheet adds its own "pdq" paper format to LilyPond\'s paper-alist. The PDQ paper size is 23,3 cm x 30,9 cm.
",31:"
The PDQ layout configures the base layout a little:
",32:"
The PDQ stylesheet heavily adjusts the default spacing variables. The main intention is to provide enough space for hand written annotations in scores. This is also the reason for PDQ\'s default paper format.
",33:"
The PDQ stylesheet uses non-standard fonts. For musical notation it uses the beethoven font and for sans-serif texts it uses the Yorkten font.
",34:"
The PDQ stylehseet defines its own page headers and footers. The individual elements are described next. For a more high-level overview of the possible configuration regarding headers see the The PDQ Layout.
",35:"
At the top of each page the instrument name and book title is displayed.
",36:"
The header displays page numbers on the left (or on the outer side for twoside layouts).
",37:"
The header displays page numbers on the left (or on the outer side for twoside layouts).
",38:"
The footer on the first page displays information about the publisher, version, copyright, and a tagline. If the repeatFooter option is #t the footer is printed on every page.
",39:"
On odd pages the footer is displayed on the right.
",40:"
On odd pages the footer is displayed on the left (if a twoside layout is used).
",41:"
Prints the header of a \\book. See The PDQ Layout for details.
",42:"
Prints the header of a \\score. See The PDQ Layout for details.
",43:"
The PDQ stylesheet heavily customizes the default LilyPond layout. This documentation provides an overview over the modifications.
",44:"
The default PDQ layout tweaks multiple contexts to achieve its layout.
",45:"
The main parts of PDQ\'s modifications apply to the Score context. Modifications include:
",46:"
PDQ modifies the Staff context to use modern accidentals as well as matching fonts.
",47:"
Stems spanning multiple systems are connected.
",48:"
Adjusted fonts and better readability.
",49:"
Adjusted spacing and fonts.
",50:"
Does not display dynamic spanners.
",51:"
You can easily apply specific layout tweaks using one of the predefined layouts. The layouts are specialized for specifiec use cases but feel free to use any layout however you may see fit. Some of the layouts also provide an associated paper definition that applies some modifications to PDQ\'s default paper.
",52:"
partLayout = \\layout {
...
}
The part layout can be used to set single voice parts (but not neccesarily for scores). It is not intended to be used for piano parts. This includes the skipBars option, removes instrument names etc.
",53:"
transposedPartLayout = \\layout {
...
}
A variant of the \\partLayout that is optimized for transposed instruments (e.g.  french horn or clarinet). The layout keeps a small indent in order to enable placement of a transposition info in the instrumentName of a staff.
",54:"
partPaper = \\paper {
...
}
This paper is optimized for printing parts. It enables turn based page breaking and adds page numbers.
",55:"
exerptLayout = \\layout {
...
}
This layout should be used for small exerpts of music. It should be combined with exerptPaper.
",56:"
exerptPaper = \\paper {
...
}
This paper should be used for small exerpts of music. It enables a ragged bottom for the last page.
",57:"
\\scoreLayout = \\layout {
...
}
The score layout can be used to set full scores with many voices and staffs.
",58:"
smallScoreLayout = \\layout {
...
}
This layout (like the score layout) can be used to set small scores with multiple but not too many voices and staffs. It is up to you when a score is "small".
"}); \ No newline at end of file diff --git a/files/pdq-ily-ToolTips.js b/files/pdq-ily-ToolTips.js new file mode 100644 index 0000000..f587366 --- /dev/null +++ b/files/pdq-ily-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({1:"
The PDQ stylesheet implements a custom layout for books and scores that can be customized by providing additional information in a respective \\header block. For simple cases where you only have one score in one book it is also possible to specify the book and score headers in the same header block.
",23:"
repeatFooter = ##f
Print the footer not only on the first but on all pages.
",27:"
Formats rehearsal marks for the PDQ stylesheet. The formatter puts every mark (as a letter) in a square box. The marks are printed quite large for better readability.
",54:"
partPaper = \\paper {
...
}
This paper is optimized for printing parts. It enables turn based page breaking and adds page numbers.
",56:"
exerptPaper = \\paper {
...
}
This paper should be used for small exerpts of music. It enables a ragged bottom for the last page.
"}); \ No newline at end of file diff --git a/files/pdq-ily.html b/files/pdq-ily.html new file mode 100644 index 0000000..aa1c868 --- /dev/null +++ b/files/pdq-ily.html @@ -0,0 +1,252 @@ + + +pdq.ily + + + + + + + +
+
The PDQ Stylesheet
+

This file is the main entry point to the PDQ style sheet. This file should be included in your own projects in order to use the PDQ styles. This file does provide some functions however in most cases you don't need to use them directly as the stylesheet can be customized via options.

+
+ +
+
Options
+

The PDQ stylesheet can be customized using options. Options must be specified before the pdq.ily file is included. For example:

dinPaper = ##t
\include "pdq.ily"
+
+ +
+
dinPaper
+
dinPaper = ##f
+

By default PDQ uses a custom paper format. However this may prove difficult when printing. This option overrides the default paper format and makes PDQ use the A4 paper format instead.

+
+ +
+
debug
+
debug = ##f
+

Set this option to #t to enable the debug mode. The debug mode is intended to help debug layout issue. PDQ will disable some spacing optimizations and will show annotations for flexible spacing variables. Also this will treat all warnings as errors. Debug mode should never be used when publishing scores.

+
+ +
+
strict
+
strict = ##f
+

Enables strict layout by enabling things ragged bottom pages. This should only be used for debugging purposes. If you want to enable ragged bottoms do so by setting it in a \paper block. In the future this option may include additional modifications that are not suitable for publishing.

+
+ +
+
repeatTitle
+
repeatTitle = ##t
+

By default the title is printed in the header of each of each page. If you don't want this behavior set the option to #f to suppress the title on subsequent pages.

+
+ +
+
bookComposer
+
bookComposer = ##f
+

Print the composer in the book markup next to the title. For multi-movemement scores you usually want to set this to #t and set scoreComposer to #f to avoid printing the composer for each new movement.

+
+ +
+
scoreComposer
+
scoreComposer = ##t
+

Print the composer in the score markup. This is the default. This prints the composer before every score. While this is preferred for single scores or for multi-composer books you might want to disable this option if you are engraving multiple scores from the same piece.

+
+ +
+
twoside
+
twoside = ##t
+

By default PDQ assumes that you will be creating a two sided score (that is two pages will be visible next to each other with the exception of the first and possibly the last page). To turn off this behavior set twoside to #f.

+
+ +
+
repeatFooter
+
repeatFooter = ##f
+

Print the footer not only on the first but on all pages.

+
+ +
+
defaultTagline
+
defaultTagline = #f
+

By default PDQ customizes the LilyPond tageline. To turn off these modifications set defaultTageline to #t.

+
+ +
+
Custom Definitions
+

The following definitions are used in the PDQ stylesheet automatically.

+
+ +
+
Henle-scripts
+

These script tweaks are applied to the Script context.

+
+ +
+
format-mark-pdq
+

Formats rehearsal marks for the PDQ stylesheet. The formatter puts every mark (as a letter) in a square box. The marks are printed quite large for better readability.

+
+ +
+
format-mark-pdq-numeric
+

Formats rehearsal marks with numbers instead of letters. The formatter puts every mark in a square box. The marks are printed quite large for better readability.

+
+ +
+
PDQ Paper
+

The PDQ stylesheet heavily modifies the LilyPond \paper. This section documents some of the modifications.

+
+ +
+
The PDQ Paper Format
+

The PDQ stylesheet adds its own "pdq" paper format to LilyPond's paper-alist. The PDQ paper size is 23,3 cm x 30,9 cm.

+
+ +
+
Styling Options
+

The PDQ layout configures the base layout a little:

  • Page numbers are printed.

  • A default indent is set.

  • Options for two sided layout, debugging and strict spacing are set.

+
+ +
+
Spacing
+

The PDQ stylesheet heavily adjusts the default spacing variables. The main intention is to provide enough space for hand written annotations in scores. This is also the reason for PDQ's default paper format.

+
+ +
+
Fonts
+

The PDQ stylesheet uses non-standard fonts. For musical notation it uses the beethoven font and for sans-serif texts it uses the Yorkten font.

+
+ +
+
Page Content
+

The PDQ stylehseet defines its own page headers and footers. The individual elements are described next. For a more high-level overview of the possible configuration regarding headers see the The PDQ Layout.

+
+ +
+
headerCenter
+

At the top of each page the instrument name and book title is displayed.

+
+ +
+
evenHeaderMarkup
+

The header displays page numbers on the left (or on the outer side for twoside layouts).

+
+ +
+
oddHeaderMarkup
+

The header displays page numbers on the left (or on the outer side for twoside layouts).

+
+ +
+
firstPageFooter
+

The footer on the first page displays information about the publisher, version, copyright, and a tagline. If the repeatFooter option is #t the footer is printed on every page.

+
+ +
+
oddFooterMarkup
+

On odd pages the footer is displayed on the right.

+
+ +
+
oddFooterMarkup
+

On odd pages the footer is displayed on the left (if a twoside layout is used).

+
+ +
+
bookTitleMarkup
+

Prints the header of a \book. See The PDQ Layout for details.

+
+ +
+
scoreTitleMarkup
+

Prints the header of a \score. See The PDQ Layout for details.

+
+ +
+
PDQ Layout
+

The PDQ stylesheet heavily customizes the default LilyPond layout. This documentation provides an overview over the modifications.

In addition to the options the PDQ stylesheet can be customized using layouts. A layout is basically just a \layout block with some options applied to it. You can use layouts just as you would use any other layout:

\layout {
\partLayout
% More customizations
}
+
+ +
+
Context Tweaks
+

The default PDQ layout tweaks multiple contexts to achieve its layout.

+
+ +
+
Score
+

The main parts of PDQ's modifications apply to the Score context. Modifications include:

  • Slightly adjusted note thicknesses.

  • Tweaked accidentals and slurs to better match the beethoven font.

  • A custom rehearsal mark formatter using the format-mark-pdq function.

  • Adjusted bar number and instrument name fonts.

  • Adjusted spacing for handwritten annotations.

+
+ +
+
Staff
+

PDQ modifies the Staff context to use modern accidentals as well as matching fonts.

+
+ +
+
PianoStaff
+

Stems spanning multiple systems are connected.

+
+ +
+
Dynamics
+

Adjusted fonts and better readability.

+
+ +
+
Voice
+

Adjusted spacing and fonts.

+
+ +
+
CueVoice
+

Does not display dynamic spanners.

+
+ +
+
Selectable Layouts
+

You can easily apply specific layout tweaks using one of the predefined layouts. The layouts are specialized for specifiec use cases but feel free to use any layout however you may see fit. Some of the layouts also provide an associated paper definition that applies some modifications to PDQ's default paper.

When using a predefined layout you must make sure that you include your own layout tweaks after using the predefined layout. Otherwise your tweaks will be overridden even if the predefined layout does not define another value for some property. This is due to the fact that layout blocks capture the layout at definition time.

For the same reason you unfortunately cannot mix different predefined layouts. The last layout in a \layout block will take precedence over all others.

Example
\layout {
\partLayout
% After using the \partLayout we can add our own customizations.
indent = 5\mm
}

% When we don't want to apply further customizations one may omit the outer \layout
% or \paper block.
\partPaper
+
+ +
+
partLayout
+
partLayout = \layout {
...
}
+

The part layout can be used to set single voice parts (but not neccesarily for scores). It is not intended to be used for piano parts. This includes the skipBars option, removes instrument names etc.

For partLayouts it is recommended to also use the partPaper.

+
+ +
+
transposedPartLayout
+
transposedPartLayout = \layout {
...
}
+

A variant of the \partLayout that is optimized for transposed instruments (e.g.  french horn or clarinet). The layout keeps a small indent in order to enable placement of a transposition info in the instrumentName of a staff.

%! For transposedPartLayouts it is recommended to also use the partPaper.

+
+ +
+
partPaper
+
partPaper = \paper {
...
}
+

This paper is optimized for printing parts. It enables turn based page breaking and adds page numbers.

+
+ +
+
exerptLayout
+
exerptLayout = \layout {
...
}
+

This layout should be used for small exerpts of music. It should be combined with exerptPaper.

+
+ +
+
exerptPaper
+
exerptPaper = \paper {
...
}
+

This paper should be used for small exerpts of music. It enables a ragged bottom for the last page.

+
+ +
+
scoreLayout
+
\scoreLayout = \layout {
...
}
+

The score layout can be used to set full scores with many voices and staffs.

+
+ +
+
smallScoreLayout
+
smallScoreLayout = \layout {
...
}
+

This layout (like the score layout) can be used to set small scores with multiple but not too many voices and staffs. It is up to you when a score is "small".

+
+ + \ No newline at end of file diff --git a/files/util-ily-Summary.js b/files/util-ily-Summary.js new file mode 100644 index 0000000..c4645bb --- /dev/null +++ b/files/util-ily-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("File:util.ily","util.ily");NDSummary.OnSummaryLoaded("File:util.ily",[["LilyPond","LilyPond"]],[["Files","File"],["Functions","Function"],["Groups","Group"]],[[59,0,0,"util.ily","util.ily"],[60,0,2,"LilyPond Functions","LilyPond_Functions"],[61,0,1,"escalate-warnings","escalate-warnings"],[62,0,2,"Scheme Functions","Scheme_Functions"],[63,0,1,"defined?","defined_"],[64,0,1,"get-option","get-option"],[65,0,1,"any?","any_"],[66,0,1,"andmap","andmap"],[67,0,1,"ormap","ormap"],[68,0,1,"custom-script-tweaks","custom-script-tweaks"],[69,0,2,"Markup Commands","Markup_Commands"],[70,0,1,"warn","warn"],[71,0,1,"if-true","if-true"],[72,0,1,"if-false","if-false"],[73,0,1,"if-else","if-else"],[74,0,1,"when-property","when-property"],[75,0,1,"when-not-property","when-not-property"],[76,0,1,"when-some-properties","when-some-properties"]]); \ No newline at end of file diff --git a/files/util-ily-SummaryToolTips.js b/files/util-ily-SummaryToolTips.js new file mode 100644 index 0000000..076cb28 --- /dev/null +++ b/files/util-ily-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("File:util.ily",{59:"
This file contains utility functions in Scheme that can be used to simplify some advanced tasks in LilyPond.
",60:"
LilyPond functions can be used directly within your LilyPond source code.
",61:"
\\escalate-warnings
Makes LilyPond treat all (user-issued) warnings as errors.
",62:"
Scheme functions must be called in a Scheme environment (and aren\'t really all that useful elsewhere).
",63:"
(
define (defined? symbol) ...
)
The defined? predicate tells you wether a specific symbol was previously defined. This may not work for standard functions but it works for custom definitions.
",64:"
(
define (get-option symbol default) ...
)
The test-option predicate tests wether the specified symbol was defined and set to a value that evaluates to #t (a value other that #f). This can be used to test whether package options have been specified. If a (package) option is set to a non-boolean value this predicate will return that value.
",65:"
(
define (any? object) ...
)
A type predicate that is always true.
",66:"
(
define (andmap f xs) ...
)
A predicate that returns true iff f returns true for all elements in xs. If xs is empty this predicates evaluates to #t.
",67:"
(
define (ormap f xs) ...
)
A predicate that returns true iff f returns true for any of the elements in xs. If xs is empty #f is returned.
",68:"
(
define ((custom-script-tweaks ls) ...) ...
)
Enables custom tweaks for single grobs.
",69:"
Markup commands can be used inside of a \\markup { ... } block. They provide additional features such as styling options.
",70:"
\\warn <text>
A markup command that can be used to emit a warning. This may for example be useful if you want to mark a function as deprecated and emit a warning.
",71:"
\\if-true <predicate> <markp>
This markup command conditionally outputs markup based on a boolean value.
",72:"
\\if-false <predicate> <markp>
This markup command conditionally outputs markup based on a boolean value.
",73:"
\\if-else <predicate> <tmarkp> <fmarkp>
Conditionally outputs one of two markups depending on a boolean value.
",74:"
\\when-property <symbol> <markp>
The \\when-property markup command allows you to conditionally output markup.  If symbol exists markp is returned. Otherwise an empty markup block is returned.
",75:"
\\when-not-property <symbol> <markp>
Behaves like \\when-property but returns the markup block if symbol does not exist. If the symbol exists an empty markup block is returned.
",76:"
\\when-some-properties <symbols> <markp>
Behaves like \\when-property but accepts a list of properties instead of a single property.
"}); \ No newline at end of file diff --git a/files/util-ily-ToolTips.js b/files/util-ily-ToolTips.js new file mode 100644 index 0000000..380cc15 --- /dev/null +++ b/files/util-ily-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({66:"
(
define (andmap f xs) ...
)
A predicate that returns true iff f returns true for all elements in xs. If xs is empty this predicates evaluates to #t.
",67:"
(
define (ormap f xs) ...
)
A predicate that returns true iff f returns true for any of the elements in xs. If xs is empty #f is returned.
",71:"
\\if-true <predicate> <markp>
This markup command conditionally outputs markup based on a boolean value.
",72:"
\\if-false <predicate> <markp>
This markup command conditionally outputs markup based on a boolean value.
",73:"
\\if-else <predicate> <tmarkp> <fmarkp>
Conditionally outputs one of two markups depending on a boolean value.
",74:"
\\when-property <symbol> <markp>
The \\when-property markup command allows you to conditionally output markup.  If symbol exists markp is returned. Otherwise an empty markup block is returned.
",75:"
\\when-not-property <symbol> <markp>
Behaves like \\when-property but returns the markup block if symbol does not exist. If the symbol exists an empty markup block is returned.
",76:"
\\when-some-properties <symbols> <markp>
Behaves like \\when-property but accepts a list of properties instead of a single property.
"}); \ No newline at end of file diff --git a/files/util-ily.html b/files/util-ily.html new file mode 100644 index 0000000..28a451f --- /dev/null +++ b/files/util-ily.html @@ -0,0 +1,115 @@ + + +util.ily + + + + + + + +
+
util.ily
+

This file contains utility functions in Scheme that can be used to simplify some advanced tasks in LilyPond.

+
+ +
+
LilyPond Functions
+

LilyPond functions can be used directly within your LilyPond source code.

+
+ +
+
escalate-warnings
+
\escalate-warnings
+

Makes LilyPond treat all (user-issued) warnings as errors.

+
+ +
+
Scheme Functions
+

Scheme functions must be called in a Scheme environment (and aren't really all that useful elsewhere).

+
+ +
+
defined?
+
(
define (defined? symbol) ...
)
+

The defined? predicate tells you wether a specific symbol was previously defined. This may not work for standard functions but it works for custom definitions.

Parameters
symbol

A quoted symbol.

+
+ +
+
get-option
+
(
define (get-option symbol default) ...
)
+

The test-option predicate tests wether the specified symbol was defined and set to a value that evaluates to #t (a value other that #f). This can be used to test whether package options have been specified. If a (package) option is set to a non-boolean value this predicate will return that value.

Parameters
symbol

A quoted symbol (the name of the option).

default

A default value that is returned if no definition for symbol is found.

+
+ +
+
any?
+
(
define (any? object) ...
)
+

A type predicate that is always true.

Parameters
object

The object to test. This parameter is ignored.

+
+ +
+
andmap
+
(
define (andmap f xs) ...
)
+

A predicate that returns true iff f returns true for all elements in xs. If xs is empty this predicates evaluates to #t.

Parameters
f

A predicate function to apply to all xs.

xs

A list of values.

See Also

ormap

+
+ +
+
ormap
+
(
define (ormap f xs) ...
)
+

A predicate that returns true iff f returns true for any of the elements in xs. If xs is empty #f is returned.

Parameters
f

A predicate function to apply to all xs.

xs

A list of values.

See Also

andmap

+
+ +
+
custom-script-tweaks
+
(
define ((custom-script-tweaks ls) ...) ...
)
+

Enables custom tweaks for single grobs.

Usage
\override Script.before-line-breaking = #(custom-script-tweaks alist)
Parameters
ls

An alist of tweaks. Keys are strings and values are lists of pairs.

+
+ +
+
Markup Commands
+

Markup commands can be used inside of a \markup { ... } block. They provide additional features such as styling options.

+
+ +
+
warn
+
\warn <text>
+

A markup command that can be used to emit a warning. This may for example be useful if you want to mark a function as deprecated and emit a warning.

Parameters
text

The warning text that should be emitted.

Returns

Empty markup.

+
+ +
+
if-true
+
\if-true <predicate> <markp>
+

This markup command conditionally outputs markup based on a boolean value.

Parameters
predicate

A boolean value.

markp

Any markup.

Returns

If predicate is #t markp is returned, otherwise an empty stencil.

See Also

if-false, if-else

+
+ +
+
if-false
+
\if-false <predicate> <markp>
+

This markup command conditionally outputs markup based on a boolean value.

Parameters
predicate

A boolean value.

markp

Any markup.

Returns

If predicate is #f markp is returned, otherwise an empty stencil.

See Also

if-true, if-else

+
+ +
+
if-else
+
\if-else <predicate> <tmarkp> <fmarkp>
+

Conditionally outputs one of two markups depending on a boolean value.

Parameters
predicate

A boolean value.

tmarkp

The markup returned if predicate is #t.

fmarkp

The markup returned if predicate is #f.

See Also

if-true, if-false

+
+ +
+
when-property
+
\when-property <symbol> <markp>
+

The \when-property markup command allows you to conditionally output markup.  If symbol exists markp is returned. Otherwise an empty markup block is returned.

Parameters
symbol

A symbol.

marp

Some markup.

Returns

markp if symbol exists in the current context, an empty stencil otherwise.

See Also

when-not-property, when-some-properties

+
+ +
+
when-not-property
+
\when-not-property <symbol> <markp>
+

Behaves like \when-property but returns the markup block if symbol does not exist. If the symbol exists an empty markup block is returned.

Parameters
symbol

A symbol.

marp

Some markup.

Returns

markp if symbol does not exist in the current context, an empty stencil otherwise.

See Also

when-property, when-some-properties

+
+ +
+
when-some-properties
+
\when-some-properties <symbols> <markp>
+

Behaves like \when-property but accepts a list of properties instead of a single property.

Parameters
symbols

A list of symbol.

marp

Some markup.

Returns

markp if any of the symbols exist in the current context, an empty stencil otherwise.

See Also

when-property, when-not-properties

+
+ + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..23a0abc --- /dev/null +++ b/index.html @@ -0,0 +1,9 @@ + + +PDQ Documentation + + + + + +
Close
© 2020 by Kim Wittenburg
\ No newline at end of file diff --git a/menu/files.js b/menu/files.js new file mode 100644 index 0000000..eb050e9 --- /dev/null +++ b/menu/files.js @@ -0,0 +1 @@ +NDMenu.OnSectionLoaded("files.js",[[1,"elements.ily"],[1,"pdq.ily"],[1,"pdq-header.ily"],[1,"util.ily"]]); \ No newline at end of file diff --git a/menu/tabs.js b/menu/tabs.js new file mode 100644 index 0000000..5cdbfd2 --- /dev/null +++ b/menu/tabs.js @@ -0,0 +1 @@ +NDMenu.OnTabsLoaded([["File","Files","File:","files.js"]]); \ No newline at end of file diff --git a/other/home.html b/other/home.html new file mode 100644 index 0000000..02bae5f --- /dev/null +++ b/other/home.html @@ -0,0 +1,13 @@ + + +PDQ Documentation + + + + + + + +
PDQ
A LilyPond Stylesheet.
+ +
© 2020 by Kim Wittenburg
\ No newline at end of file diff --git a/search/index.js b/search/index.js new file mode 100644 index 0000000..ee042b9 --- /dev/null +++ b/search/index.js @@ -0,0 +1 @@ +NDSearch.OnPrefixIndexLoaded(["and","any","arc","boo","cop","cue","cus","deb","def","din","dyn","ele","ell","esc","eve","exe","fir","fon","for","get","hea","hen","if-","ily","lay","nos","odd","opt","orm","pap","par","pdq","pia","piz","rep","sco","sma","spa","sta","str","sty","tag","the","tit","tra","two","uti","voi","war","whe"]); \ No newline at end of file diff --git a/search/keywords/0061006e0064.js b/search/keywords/0061006e0064.js new file mode 100644 index 0000000..36f7159 --- /dev/null +++ b/search/keywords/0061006e0064.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("and",["Function"],[["andmap",,[[,,,,0,"File:util.ily:andmap"]]]]); \ No newline at end of file diff --git a/search/keywords/0061006e0079.js b/search/keywords/0061006e0079.js new file mode 100644 index 0000000..b1be7aa --- /dev/null +++ b/search/keywords/0061006e0079.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("any",["Function"],[["any?",,[[,,,,0,"File:util.ily:any_"]]]]); \ No newline at end of file diff --git a/search/keywords/006100720063.js b/search/keywords/006100720063.js new file mode 100644 index 0000000..1f4ca7a --- /dev/null +++ b/search/keywords/006100720063.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("arc",["Function"],[["arco",,[[,,,,0,"File:elements.ily:arco"]]]]); \ No newline at end of file diff --git a/search/keywords/0062006f006f.js b/search/keywords/0062006f006f.js new file mode 100644 index 0000000..3969c2d --- /dev/null +++ b/search/keywords/0062006f006f.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("boo",["Variable","Event"],[["bookComposer",,[[,,,,0,"File:pdq.ily:bookComposer"]]],["bookTitleMarkup",,[[,,,,1,"File:pdq.ily:bookTitleMarkup"]]]]); \ No newline at end of file diff --git a/search/keywords/0063006f0070.js b/search/keywords/0063006f0070.js new file mode 100644 index 0000000..22acb2b --- /dev/null +++ b/search/keywords/0063006f0070.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("cop",["Variable"],[["copyrightFont",,[[,,,,0,"File:pdq-header.ily:copyrightFont"]]]]); \ No newline at end of file diff --git a/search/keywords/006300750065.js b/search/keywords/006300750065.js new file mode 100644 index 0000000..f6b2775 --- /dev/null +++ b/search/keywords/006300750065.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("cue",["Context"],[["CueVoice",,[[,,,,0,"File:pdq.ily:CueVoice"]]]]); \ No newline at end of file diff --git a/search/keywords/006300750073.js b/search/keywords/006300750073.js new file mode 100644 index 0000000..d35cf4e --- /dev/null +++ b/search/keywords/006300750073.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("cus",["Function"],[["custom-script-tweaks",,[[,,,,0,"File:util.ily:custom-script-tweaks"]]]]); \ No newline at end of file diff --git a/search/keywords/006400650062.js b/search/keywords/006400650062.js new file mode 100644 index 0000000..0dcad3e --- /dev/null +++ b/search/keywords/006400650062.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("deb",["Variable"],[["debug",,[[,,,,0,"File:pdq.ily:debug"]]]]); \ No newline at end of file diff --git a/search/keywords/006400650066.js b/search/keywords/006400650066.js new file mode 100644 index 0000000..1738524 --- /dev/null +++ b/search/keywords/006400650066.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("def",["Variable","Function"],[["defaultTagline",,[[,,,,0,"File:pdq.ily:defaultTagline"]]],["defined?",,[[,,,,1,"File:util.ily:defined_"]]]]); \ No newline at end of file diff --git a/search/keywords/00640069006e.js b/search/keywords/00640069006e.js new file mode 100644 index 0000000..060593e --- /dev/null +++ b/search/keywords/00640069006e.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("din",["Variable"],[["dinPaper",,[[,,,,0,"File:pdq.ily:dinPaper"]]]]); \ No newline at end of file diff --git a/search/keywords/00640079006e.js b/search/keywords/00640079006e.js new file mode 100644 index 0000000..7daf710 --- /dev/null +++ b/search/keywords/00640079006e.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("dyn",["Context"],[["Dynamics",,[[,,,,0,"File:pdq.ily:Dynamics"]]]]); \ No newline at end of file diff --git a/search/keywords/0065006c0065.js b/search/keywords/0065006c0065.js new file mode 100644 index 0000000..0a0abed --- /dev/null +++ b/search/keywords/0065006c0065.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("ele",["File"],[["elements",,[[,"elements.ily",,,0,"File:elements.ily:elements.ily"]]]]); \ No newline at end of file diff --git a/search/keywords/0065006c006c.js b/search/keywords/0065006c006c.js new file mode 100644 index 0000000..fa41a4e --- /dev/null +++ b/search/keywords/0065006c006c.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("ell",["Function"],[["ellipsis",,[[,,,,0,"File:elements.ily:ellipsis"]]]]); \ No newline at end of file diff --git a/search/keywords/006500730063.js b/search/keywords/006500730063.js new file mode 100644 index 0000000..5859ad1 --- /dev/null +++ b/search/keywords/006500730063.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("esc",["Function"],[["escalate-warnings",,[[,,,,0,"File:util.ily:escalate-warnings"]]]]); \ No newline at end of file diff --git a/search/keywords/006500760065.js b/search/keywords/006500760065.js new file mode 100644 index 0000000..64ae1fa --- /dev/null +++ b/search/keywords/006500760065.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("eve",["Event"],[["evenHeaderMarkup",,[[,,,,0,"File:pdq.ily:evenHeaderMarkup"]]]]); \ No newline at end of file diff --git a/search/keywords/006500780065.js b/search/keywords/006500780065.js new file mode 100644 index 0000000..b12a1cd --- /dev/null +++ b/search/keywords/006500780065.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("exe",["Function"],[["exerptLayout",,[[,,,,0,"File:pdq.ily:exerptLayout"]]],["exerptPaper",,[[,,,,0,"File:pdq.ily:exerptPaper"]]]]); \ No newline at end of file diff --git a/search/keywords/006600690072.js b/search/keywords/006600690072.js new file mode 100644 index 0000000..9db296d --- /dev/null +++ b/search/keywords/006600690072.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("fir",["Event"],[["firstPageFooter",,[[,,,,0,"File:pdq.ily:firstPageFooter"]]]]); \ No newline at end of file diff --git a/search/keywords/0066006f006e.js b/search/keywords/0066006f006e.js new file mode 100644 index 0000000..49a891d --- /dev/null +++ b/search/keywords/0066006f006e.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("fon",["Information"],[["Fonts",,[[,,,,0,"File:pdq.ily:Fonts"]]]]); \ No newline at end of file diff --git a/search/keywords/0066006f0072.js b/search/keywords/0066006f0072.js new file mode 100644 index 0000000..35bf6d2 --- /dev/null +++ b/search/keywords/0066006f0072.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("for",["Function","Information"],[["forceBarNumber",,[[,,,,0,"File:elements.ily:forceBarNumber"]]],["Format",,[[,"The PDQ Paper Format",,,1,"File:pdq.ily:The_PDQ_Paper_Format"]]],["format-mark-pdq",,[[,,,,0,"File:pdq.ily:format-mark-pdq"]]],["format-mark-pdq-numeric",,[[,,,,0,"File:pdq.ily:format-mark-pdq-numeric"]]]]); \ No newline at end of file diff --git a/search/keywords/006700650074.js b/search/keywords/006700650074.js new file mode 100644 index 0000000..005a81c --- /dev/null +++ b/search/keywords/006700650074.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("get",["Function"],[["get-option",,[[,,,,0,"File:util.ily:get-option"]]]]); \ No newline at end of file diff --git a/search/keywords/006800650061.js b/search/keywords/006800650061.js new file mode 100644 index 0000000..3599a66 --- /dev/null +++ b/search/keywords/006800650061.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("hea",["Event"],[["headerCenter",,[[,,,,0,"File:pdq.ily:headerCenter"]]]]); \ No newline at end of file diff --git a/search/keywords/00680065006e.js b/search/keywords/00680065006e.js new file mode 100644 index 0000000..a8c2d7f --- /dev/null +++ b/search/keywords/00680065006e.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("hen",["Variable"],[["Henle-scripts",,[[,,,,0,"File:pdq.ily:Henle-scripts"]]]]); \ No newline at end of file diff --git a/search/keywords/00690066002d.js b/search/keywords/00690066002d.js new file mode 100644 index 0000000..b20536f --- /dev/null +++ b/search/keywords/00690066002d.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("if-",["Function"],[["if-else",,[[,,,,0,"File:util.ily:if-else"]]],["if-false",,[[,,,,0,"File:util.ily:if-false"]]],["if-true",,[[,,,,0,"File:util.ily:if-true"]]]]); \ No newline at end of file diff --git a/search/keywords/0069006c0079.js b/search/keywords/0069006c0079.js new file mode 100644 index 0000000..258e79e --- /dev/null +++ b/search/keywords/0069006c0079.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("ily",["File","Section"],[["ily",,[[,"elements.ily",,,0,"File:elements.ily:elements.ily"],[,"pdq-header.ily",,,1,"File:pdq-header.ily:pdq-header.ily"],[,"util.ily",,,0,"File:util.ily:util.ily"]]]]); \ No newline at end of file diff --git a/search/keywords/006c00610079.js b/search/keywords/006c00610079.js new file mode 100644 index 0000000..2b286a9 --- /dev/null +++ b/search/keywords/006c00610079.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("lay",["Section"],[["Layout",,[[,"PDQ Layout",,,0,"File:pdq.ily:PDQ_Layout"],[,"The PDQ Layout",,,0,"File:pdq-header.ily:The_PDQ_Layout"]]]]); \ No newline at end of file diff --git a/search/keywords/006e006f0073.js b/search/keywords/006e006f0073.js new file mode 100644 index 0000000..c40ee9a --- /dev/null +++ b/search/keywords/006e006f0073.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("nos",["Function"],[["noSignature",,[[,,,,0,"File:elements.ily:noSignature"]]]]); \ No newline at end of file diff --git a/search/keywords/006f00640064.js b/search/keywords/006f00640064.js new file mode 100644 index 0000000..b7b28b7 --- /dev/null +++ b/search/keywords/006f00640064.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("odd",["Event"],[["oddFooterMarkup",,[[,,,,0,"File:pdq.ily:oddFooterMarkup"]]],["oddHeaderMarkup",,[[,,,,0,"File:pdq.ily:oddHeaderMarkup"]]]]); \ No newline at end of file diff --git a/search/keywords/006f00700074.js b/search/keywords/006f00700074.js new file mode 100644 index 0000000..bcaf0e8 --- /dev/null +++ b/search/keywords/006f00700074.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("opt",["Information"],[["Options",,[[,"Styling Options",,,0,"File:pdq.ily:Styling_Options"]]]]); \ No newline at end of file diff --git a/search/keywords/006f0072006d.js b/search/keywords/006f0072006d.js new file mode 100644 index 0000000..2aef2ce --- /dev/null +++ b/search/keywords/006f0072006d.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("orm",["Function"],[["ormap",,[[,,,,0,"File:util.ily:ormap"]]]]); \ No newline at end of file diff --git a/search/keywords/007000610070.js b/search/keywords/007000610070.js new file mode 100644 index 0000000..7bbb836 --- /dev/null +++ b/search/keywords/007000610070.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("pap",["Section","Information"],[["Paper",,[[,"PDQ Paper",,,0,"File:pdq.ily:PDQ_Paper"],[,"The PDQ Paper Format",,,1,"File:pdq.ily:The_PDQ_Paper_Format"]]]]); \ No newline at end of file diff --git a/search/keywords/007000610072.js b/search/keywords/007000610072.js new file mode 100644 index 0000000..a11b115 --- /dev/null +++ b/search/keywords/007000610072.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("par",["Function"],[["partLayout",,[[,,,,0,"File:pdq.ily:partLayout"]]],["partPaper",,[[,,,,0,"File:pdq.ily:partPaper"]]]]); \ No newline at end of file diff --git a/search/keywords/007000640071.js b/search/keywords/007000640071.js new file mode 100644 index 0000000..32e1380 --- /dev/null +++ b/search/keywords/007000640071.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("pdq",["Section","Information","Function"],[["PDQ",,[[,"PDQ Layout",,,0,"File:pdq.ily:PDQ_Layout"],[,"PDQ Paper",,,0,"File:pdq.ily:PDQ_Paper"],[,"The PDQ Layout",,,0,"File:pdq-header.ily:The_PDQ_Layout"],[,"The PDQ Paper Format",,,1,"File:pdq.ily:The_PDQ_Paper_Format"],[,"The PDQ Stylesheet",,,0,"File:pdq.ily:The_PDQ_Stylesheet"]]],["pdqBookHeadlineMarkup",,[[,,,,2,"File:pdq-header.ily:pdqBookHeadlineMarkup"]]],["pdqComposerMarkup",,[[,,,,2,"File:pdq-header.ily:pdqComposerMarkup"]]],["pdq-header",,[[,"pdq-header.ily",,,0,"File:pdq-header.ily:pdq-header.ily"]]],["pdqInstrumentMarkup",,[[,,,,2,"File:pdq-header.ily:pdqInstrumentMarkup"]]],["pdqScoreHeadlineMarkup",,[[,,,,2,"File:pdq-header.ily:pdqScoreHeadlineMarkup"]]]]); \ No newline at end of file diff --git a/search/keywords/007000690061.js b/search/keywords/007000690061.js new file mode 100644 index 0000000..c0c7684 --- /dev/null +++ b/search/keywords/007000690061.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("pia",["Context"],[["PianoStaff",,[[,,,,0,"File:pdq.ily:PianoStaff"]]]]); \ No newline at end of file diff --git a/search/keywords/00700069007a.js b/search/keywords/00700069007a.js new file mode 100644 index 0000000..dc26d85 --- /dev/null +++ b/search/keywords/00700069007a.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("piz",["Function"],[["pizz",,[[,,,,0,"File:elements.ily:pizz"]]]]); \ No newline at end of file diff --git a/search/keywords/007200650070.js b/search/keywords/007200650070.js new file mode 100644 index 0000000..897996b --- /dev/null +++ b/search/keywords/007200650070.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("rep",["Variable"],[["repeatFooter",,[[,,,,0,"File:pdq.ily:repeatFooter"]]],["repeatTitle",,[[,,,,0,"File:pdq.ily:repeatTitle"]]]]); \ No newline at end of file diff --git a/search/keywords/00730063006f.js b/search/keywords/00730063006f.js new file mode 100644 index 0000000..6537af3 --- /dev/null +++ b/search/keywords/00730063006f.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("sco",["Context","Variable","Function","Event"],[["Score",,[[,,,,0,"File:pdq.ily:Score"]]],["scoreComposer",,[[,,,,1,"File:pdq.ily:scoreComposer"]]],["scoreLayout",,[[,,,,2,"File:pdq.ily:scoreLayout"]]],["scoreTitleMarkup",,[[,,,,3,"File:pdq.ily:scoreTitleMarkup"]]]]); \ No newline at end of file diff --git a/search/keywords/0073006d0061.js b/search/keywords/0073006d0061.js new file mode 100644 index 0000000..652b44a --- /dev/null +++ b/search/keywords/0073006d0061.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("sma",["Function"],[["smallScoreLayout",,[[,,,,0,"File:pdq.ily:smallScoreLayout"]]]]); \ No newline at end of file diff --git a/search/keywords/007300700061.js b/search/keywords/007300700061.js new file mode 100644 index 0000000..9200606 --- /dev/null +++ b/search/keywords/007300700061.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("spa",["Information"],[["Spacing",,[[,,,,0,"File:pdq.ily:Spacing"]]]]); \ No newline at end of file diff --git a/search/keywords/007300740061.js b/search/keywords/007300740061.js new file mode 100644 index 0000000..f7a9565 --- /dev/null +++ b/search/keywords/007300740061.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("sta",["Function","Context"],[["staccsDownOn",,[[,,,,0,"File:elements.ily:staccsDownOn"]]],["staccsOff",,[[,,,,0,"File:elements.ily:staccsOff"]]],["staccsOn",,[[,,,,0,"File:elements.ily:staccsOn"]]],["staccsUpOn",,[[,,,,0,"File:elements.ily:staccsUpOn"]]],["Staff",,[[,,,,1,"File:pdq.ily:Staff"]]]]); \ No newline at end of file diff --git a/search/keywords/007300740072.js b/search/keywords/007300740072.js new file mode 100644 index 0000000..330c42a --- /dev/null +++ b/search/keywords/007300740072.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("str",["Variable"],[["strict",,[[,,,,0,"File:pdq.ily:strict"]]]]); \ No newline at end of file diff --git a/search/keywords/007300740079.js b/search/keywords/007300740079.js new file mode 100644 index 0000000..0937440 --- /dev/null +++ b/search/keywords/007300740079.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("sty",["Section","Information"],[["Stylesheet",,[[,"The PDQ Stylesheet",,,0,"File:pdq.ily:The_PDQ_Stylesheet"]]],["Styling",,[[,"Styling Options",,,1,"File:pdq.ily:Styling_Options"]]]]); \ No newline at end of file diff --git a/search/keywords/007400610067.js b/search/keywords/007400610067.js new file mode 100644 index 0000000..bdfb70c --- /dev/null +++ b/search/keywords/007400610067.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("tag",["Variable"],[["taglineFont",,[[,,,,0,"File:pdq-header.ily:taglineFont"]]]]); \ No newline at end of file diff --git a/search/keywords/007400680065.js b/search/keywords/007400680065.js new file mode 100644 index 0000000..89209ab --- /dev/null +++ b/search/keywords/007400680065.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("the",["Section","Information"],[["The",,[[,"The PDQ Layout",,,0,"File:pdq-header.ily:The_PDQ_Layout"],[,"The PDQ Paper Format",,,1,"File:pdq.ily:The_PDQ_Paper_Format"],[,"The PDQ Stylesheet",,,0,"File:pdq.ily:The_PDQ_Stylesheet"]]]]); \ No newline at end of file diff --git a/search/keywords/007400690074.js b/search/keywords/007400690074.js new file mode 100644 index 0000000..80d8f29 --- /dev/null +++ b/search/keywords/007400690074.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("tit",["Variable"],[["titleFontSize",,[[,,,,0,"File:pdq-header.ily:titleFontSize"]]]]); \ No newline at end of file diff --git a/search/keywords/007400720061.js b/search/keywords/007400720061.js new file mode 100644 index 0000000..4b47318 --- /dev/null +++ b/search/keywords/007400720061.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("tra",["Function"],[["transposedPartLayout",,[[,,,,0,"File:pdq.ily:transposedPartLayout"]]]]); \ No newline at end of file diff --git a/search/keywords/00740077006f.js b/search/keywords/00740077006f.js new file mode 100644 index 0000000..479ccc3 --- /dev/null +++ b/search/keywords/00740077006f.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("two",["Variable"],[["twoside",,[[,,,,0,"File:pdq.ily:twoside"]]]]); \ No newline at end of file diff --git a/search/keywords/007500740069.js b/search/keywords/007500740069.js new file mode 100644 index 0000000..97517db --- /dev/null +++ b/search/keywords/007500740069.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("uti",["File"],[["util",,[[,"util.ily",,,0,"File:util.ily:util.ily"]]]]); \ No newline at end of file diff --git a/search/keywords/0076006f0069.js b/search/keywords/0076006f0069.js new file mode 100644 index 0000000..bf4439a --- /dev/null +++ b/search/keywords/0076006f0069.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("voi",["Context"],[["Voice",,[[,,,,0,"File:pdq.ily:Voice"]]]]); \ No newline at end of file diff --git a/search/keywords/007700610072.js b/search/keywords/007700610072.js new file mode 100644 index 0000000..b9ca133 --- /dev/null +++ b/search/keywords/007700610072.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("war",["Function"],[["warn",,[[,,,,0,"File:util.ily:warn"]]]]); \ No newline at end of file diff --git a/search/keywords/007700680065.js b/search/keywords/007700680065.js new file mode 100644 index 0000000..352ed2e --- /dev/null +++ b/search/keywords/007700680065.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("whe",["Function"],[["when-not-property",,[[,,,,0,"File:util.ily:when-not-property"]]],["when-property",,[[,,,,0,"File:util.ily:when-property"]]],["when-some-properties",,[[,,,,0,"File:util.ily:when-some-properties"]]]]); \ No newline at end of file diff --git a/styles/Default/Default.css b/styles/Default/Default.css new file mode 100644 index 0000000..6cc2700 --- /dev/null +++ b/styles/Default/Default.css @@ -0,0 +1,12 @@ +/* +This file is part of Natural Docs, which is Copyright © 2003-2018 Code Clear LLC. +Natural Docs is licensed under version 3 of the GNU Affero General Public +License (AGPL). Refer to License.txt or www.naturaldocs.org for the +complete details. + +This file may be distributed with documentation files generated by Natural Docs. +Such documentation is not covered by Natural Docs' copyright and licensing, +and may have its own copyright and distribution terms as decided by its author. +*/ + +html{height:100%;font:10pt "Trebuchet MS",Tahoma,Geneva,sans-serif}body.NDFramePage{background-color:#E0E0E0;margin:0;padding:0}a:link,a:visited{text-decoration:none}a:hover,a:active{text-decoration:underline}table{margin:0;padding:0;border:0 none;border-spacing:0}td{margin:0;padding:0;border:0 none;border-spacing:0;vertical-align:top}#NDLoadingNotice{height:40px;background:URL("images/menu-loading.gif") no-repeat center center}#NDJavaScriptRequiredNotice{margin:20px;text-align:center;font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif}#NDHeader{background-color:#7070C0;padding:.65em .65em .55em .65em;border-bottom:1px solid #7070C0;z-index:2}#HTitle{font:22pt Georgia,serif;text-shadow:0 .1ex .3ex #202020;line-height:90%}#HTitle,#HTitle a:link,#HTitle a:hover,#HTitle a:active,#HTitle a:visited{color:#FFFFFF;text-decoration:none}#HSubtitle{font:10pt Georgia,serif;margin-left:.65em;text-shadow:0 .1ex .3ex #202020}#HSubtitle,#HSubtitle a:link,#HSubtitle a:hover,#HSubtitle a:active,#HSubtitle a:visited{color:#C8C8C8;text-decoration:none}#NDSearchField{z-index:201;width:25ex;color:#000000;font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif;background:#FFFFFF URL("images/search.png") no-repeat left center;padding:.5ex 1.5ex .5ex 3.5ex;border:0 none;-moz-border-radius:5ex;border-radius:5ex;display:none}.IE #NDSearchField{font:inherit}#NDSearchField.DefaultText{color:#808080;font-style:italic}#NDSearchField:focus{outline:none}#NDSearchResults{z-index:200;overflow:auto;font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif;background-color:#FFFFFF;padding:.5ex 0;border-style:solid;border-width:1px;border-color:#BCBCBC #747474 #747474 #BCBCBC;-moz-box-shadow:.15ex .25ex .4ex #606060;-webkit-box-shadow:.15ex .25ex .4ex #606060;box-shadow:.15ex .25ex .4ex #606060}.SeEntry{padding:.2ex 1.25ex .2ex 3.25ex;color:#000000;border-width:1px 0;border-style:solid;border-color:#FFFFFF}.SeEntry:hover{background-color:#E8E8E8}#SeSelectedEntry{background-color:#E8E8E8;border-color:#D0D0D0}a.SeEntry{display:block}a.SeEntry:link,a.SeEntry:hover,a.SeEntry:active,a.SeEntry:visited{color:#000000;text-decoration:none}.SeQualifier,.SeChildCount{font-weight:normal;color:#7C7C7C}.SeParent.open .SeChildCount{display:none}.SeChildren.closed{display:none}.SeChildren .SeEntry{padding-left:5.5ex}.SeEntryIcon{position:absolute;left:1.7ex;width:.8ex;height:.9em;margin-top:2px}.SeChildren .SeEntryIcon{left:3.9ex}.SeParent .SeEntryIcon{margin-top:4px;margin-left:1px;background:url("images/search-parent.png") center center no-repeat}.TClass .SeEntryIcon,.TInterface .SeEntryIcon,.TStruct .SeEntryIcon{width:2ex;height:1em;left:.9ex;background:url("images/search-class.png") center center no-repeat}.SeChildren .TClass .SeEntryIcon,.SeChildren .TInterface .SeEntryIcon,.SeChildren .TStruct .SeEntryIcon{left:3.15ex}.SeEntry.TClass,.SeEntry.TInterface,.SeEntry.TStruct{font-weight:bold}.SeEntry.MoreResults{font-weight:bold;margin-top:.75em}.SeStatus{margin:.25ex 1.25ex;color:#A0A0A0;text-align:center}.SeEntry+.SeStatus,.SeChildren+.SeStatus{margin-top:.75ex;padding-top:.75ex;border-top:1px solid #C0C0C0}.SeStatus.Searching{font-style:italic}#NDMenu{background-color:#E0E0E0;z-index:5;overflow:auto;width:30ex;display:none}.IE7 #NDMenu{overflow-x:hidden}#NDMenu a:hover,#NDMenu a:active{text-decoration:none}.MLoadingNotice{height:20px;background:URL("images/menu-loading.gif") no-repeat center bottom}#MTabBar{background-color:#C0C0C0}.MTab{background-color:#E0E0E0;border-right:1px solid #C0C0C0;border-bottom:1px solid #C0C0C0;display:inline-block;padding:2px 5px;opacity:.55}.MTab:hover{background-color:#EEEEEE;opacity:1}.MTab.Selected{border-bottom:1px solid #E0E0E0;opacity:1}a.MTab:active,a.MTab:focus{outline:0}.IE6 .MTab,.IE7 .MTab,.IE8 .MTab{background-color:#D0D0D0}.IE6 .MTab.Selected,.IE7 .MTab.Selected,.IE8 .MTab.Selected{background-color:#E0E0E0}.IE6 .MTab:hover,.IE7 .MTab:hover,.IE8 .MTab:hover{background-color:#EEEEEE}.MTabIcon{display:inline-block;width:16px;height:16px;position:relative;top:3px}.IE7 .MTabIcon,.IE6 .MTabIcon{top:0}#MFileTab .MTabIcon{background:url("images/menu-tab-files.png") center center no-repeat}#MClassTab .MTabIcon{background:url("images/menu-tab-classes.png") center center no-repeat}#MDatabaseTab .MTabIcon{background:url("images/menu-tab-database.png") center center no-repeat}.MTabTitle{display:inline-block;color:#606060;font:italic 10pt "Trebuchet MS",Tahoma,Geneva,sans-serif;margin:0 4px}.MTab.Narrow .MTabTitle{width:1px;margin:0 -1px 0 0;visibility:hidden}.IE6 .MTab.Narrow .MTabTitle{display:none}.MEntry{display:block;font:10pt "Trebuchet MS",Tahoma,Geneva,sans-serif;padding:.4ex 1.5ex .4ex 3ex}.MEntry,a.MEntry{color:#606060}a.MEntry:hover,a.MEntry:active{background-color:#EEEEEE}.MTabAsFolder{padding-left:1ex}.MFolder{font-weight:bold}.MFolder.Parent{border-bottom:1px solid #C0C0C0}.MFolder.Parent,a.MFolder.Parent{color:#808080}.MFolder.Parent,.MFolder.Selected{padding-left:1.5ex}.MFolder.Parent.Empty{border-bottom-style:dashed;color:#B0B0B0}.MFolder.Child{padding-right:2.5ex}.MFolderIcon{position:absolute;right:0;background:url("images/menu-folder-arrow.png") center center no-repeat;width:6px;height:7px;padding:.8em 1.2em 0 0}.IE6 .MFolderIcon{padding-top:0}.MFolder.Selected{font-weight:bold;background-color:#FFFFFF;border-bottom:3px solid #888888}.MFile.Selected{background-color:#FFFFFF;font-weight:bold}#NDSummary{background-color:#F8F8F8;border-left:1px solid #D8D8D8;border-right:1px solid #E8E8E8;z-index:4;overflow:auto;width:30ex;display:none}#NDSummary a:hover,#NDSummary a:active{text-decoration:none}.SuLoadingNotice{height:20px;background:URL("images/summary-loading.gif") no-repeat center bottom}.SuEntry{display:block;font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif;padding:1px 1.5ex 1px 3.5ex}.SuEntry.first{margin-top:1ex}.SuEntry.last{margin-bottom:2ex}.SuEntry{color:#707070}.SuEntryIcon{position:absolute;left:1.8ex;width:.8ex;height:.9em;margin-top:2px}.SuEntry.TClass,.SuEntry.TInterface,.SuEntry.TStruct,.SuEntry.TSection,.SuEntry.TDatabase,.SuEntry.TDatabaseTable,.SuEntry.TFile.first{font:bold 11pt "Trebuchet MS",Tahoma,Geneva,sans-serif;color:#6B6B6B;padding-left:1.25ex;padding-top:.75ex;padding-bottom:.75ex;margin:2.5ex 0 .5ex 0;line-height:120%;border-bottom:1px solid #D4D4D4}.SuEntry.TClass.first,.SuEntry.TInterface.first,.SuEntry.TStruct.first,.SuEntry.TSection.first,.SuEntry.TDatabase.first,.SuEntry.TDatabaseTable.first,.SuEntry.TFile.first{border-top:0 none;margin-top:0}.SuEntry .Qualifier{font-weight:normal}.SuEntry.TGroup{font:bold 10pt "Trebuchet MS",Tahoma,Geneva,sans-serif;color:#6B6B6B;padding-left:1.5ex;padding-top:.25ex;padding-bottom:.25ex;margin:1.25ex 0 0 0;line-height:120%}.SuEntry.TClass+.SuEntry.TGroup,.SuEntry.TInterface+.SuEntry.TGroup{margin-top:.75ex}a.SuEntry:hover,a.SuEntry:active{background-color:#E6E6E6}#NDMenuSizer,#NDSummarySizer{cursor:e-resize;width:.8ex;z-index:101}#NDMenuSizer:hover,#NDMenuSizer.Dragging{background-color:#F8F8F8;border-left:1px solid #D8D8D8;border-right:1px solid #D8D8D8}#NDSummarySizer:hover,#NDSummarySizer.Dragging{background-color:#FFFFFF;border-right:1px solid #E8E8E8}#NDContentCover{position:fixed;z-index:100;background:url("images/transparent.gif") no-repeat}#NDContent{z-index:3;overflow:hidden;display:none}#CFrame{width:100%;height:100%;border:0 none}body.NDContentPage{background-color:#FFFFFF;padding:.5em 1em;margin:0}.CTopic{margin-bottom:1em;font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif}.CTitle{font:bold 14pt "Trebuchet MS",Tahoma,Geneva,sans-serif;margin:1.5em 0 .5em 0;border-bottom:1px solid #C0C0C0}.CTopic.first .CTitle{margin-top:0}.CTitle .Qualifier{color:#404040;font-weight:normal}.TClass .CTitle,.TInterface .CTitle,.TStruct .CTitle,.TSection .CTitle,.TDatabase .CTitle,.TDatabaseTable .CTitle,.TFile.first .CTitle{font-size:20pt;border-color:#A8A8A8;line-height:110%;padding-bottom:.05em}.TGroup .CTitle{text-transform:uppercase;font-size:16pt;border-bottom:2px solid #000000}.CHeading{font:bold 11pt "Trebuchet MS",Tahoma,Geneva,sans-serif;margin:1.2em 0 .5em 0}.CHeading:first-child{margin-top:0}.CTopic p{margin:0 0 .5em 0;text-indent:4ex}.CTopic a:link,.CTopic a:visited,.CTopic a:hover{color:#880000}.CTopic a:active{color:#F04040}.CTopic ul{margin:0 0 0 6ex;padding:0}.CTopic ul ul{margin:0 0 0 2.5ex}.CTopic li{list-style-type:disc}.CTopic li p{text-indent:0}table.CDefinitionList{margin:0 0 0 4ex}td.CDLEntry{font:bold 10pt "Trebuchet MS",Tahoma,Geneva,sans-serif;padding:0 2ex .5em 0;min-width:18%;line-height:123%}.CDLParameterType{opacity:0.5}td.CDLDefinition p{text-indent:0}.CTopic pre{font:9pt Consolas,"Courier New",monospace;overflow:auto;margin:1em 4.5ex;border-style:solid;border-color:#E0E0E0;border-width:1px 1px 1px 1.5ex;padding:.5ex 1ex}.CBodyNDMarkup{font:8pt Verdana,sans-serif;color:#787800;background-color:#FFFFF0;border:1px solid #A0A000;padding:.5em}.NDPrototype{font:10pt Consolas,"Courier New",monospace;background-color:#FFFFFF;border:1px solid #808080;margin:0 5ex 1em 5ex;padding:.75ex 1.25ex 1.25ex 1.25ex;overflow:auto}.NDPrototype td{white-space:nowrap}.NDPrototype.NarrowForm td.PBeforeParameters,.NDPrototype.NarrowForm td.PAfterParameters,.NDPrototype.NarrowForm td.PDefaultValue{white-space:normal}.NarrowForm table.PParameters td.last{width:100%}.NarrowForm table.PParameters td.first,.NarrowForm.CStyle td.PAfterParameters{padding-left:3.5ex}.WideForm td.PAfterParameters{vertical-align:bottom}.CStyle .PPostPrototypeLine{padding-left:3.5ex}.CDLParameterType{font:8pt Consolas,"Courier New",monospace;white-space:nowrap}.NDPrototype a:link,.NDPrototype a:visited,.NDPrototype a:hover,.NDPrototype a:active,.CDLParameterType a:link,.CDLParameterType a:visited,.CDLParameterType a:hover,.CDLParameterType a:active{color:#000000}.NDPrototype:hover a:link,.NDPrototype:hover a:visited,.NDPrototype:hover a:hover,.NDPrototype:hover a:active,.CDLEntry:hover .CDLParameterType a:link,.CDLEntry:hover .CDLParameterType a:visited,.CDLEntry:hover .CDLParameterType a:hover,.CDLEntry:hover .CDLParameterType a:active{text-decoration:underline}.PNameModifier,.CStyle .PModifierQualifier,.PDefaultValue,.PDefaultValueSeparator{opacity:0.45}.PNameModifier,.CStyle .PModifierQualifier,.CStyle .PNamePrefix{text-align:right}.NDClassPrototype{margin:0 4ex 1em 4ex}.CPEntry{border-width:1px 2px 2px 1px;border-style:solid;border-color:#000000;padding:.5ex 1ex;margin-bottom:4px;-moz-border-radius:1ex;border-radius:1ex;background-color:#FFFFFF;overflow:auto}a.CPEntry,a.CPAdditionalChildrenNotice{display:block}a.CPEntry:link,a.CPEntry:hover,a.CPEntry:visited,a.CPEntry:active{color:#000000;text-decoration:none}a.CPEntry:hover .CPName,a.CPEntry:active .CPName{text-decoration:underline}.NDClassPrototype .CPEntry.Parent{margin-right:3.5ex}.NDClassPrototype.HasChildren .CPEntry.Parent{margin-right:7ex}.NDClassPrototype.HasParents .CPEntry.Current{margin-left:3.5ex}.NDClassPrototype.HasChildren .CPEntry.Current{margin-right:3.5ex}.NDClassPrototype .CPEntry.Child,.NDClassPrototype .CPAdditionalChildrenNotice{margin-left:3.5ex}.NDClassPrototype.HasParents .CPEntry.Child,.NDClassPrototype.HasParents .CPAdditionalChildrenNotice{margin-left:7ex}.CPName{font:bold 11pt "Trebuchet MS",Tahoma,Geneva,sans-serif;line-height:110%}.CPName .Qualifier,.CPName .TemplateSignature{font-weight:normal;color:#282828}.CPEntry.Parent .CPName,.CPEntry.Child .CPName{font-size:10pt}.CPEntry.Parent,.CPEntry.Child{opacity:.5}.CPEntry .CPPrePrototypeLine,.CPEntry .CPModifiers,.CPEntry .CPPostPrototypeLine{font:8pt Consolas,"Courier New",monospace;opacity:.5}.CPEntry.Parent .CPModifiers,.CPEntry.Child .CPModifiers{opacity:.75}.CPEntry .CPPostPrototypeLine{margin-left:4ex}a.CPAdditionalChildrenNotice:link,a.CPAdditionalChildrenNotice:visited,a.CPAdditionalChildrenNotice:hover,a.CPAdditionalChildrenNotice:active{color:#949494;font:italic 10pt "Trebuchet MS",Tahoma,Geneva,sans-serif;padding:0 1.5ex}.CPAdditionalChildren{display:none}.TFunction .NDPrototype,.TOperator .NDPrototype{background-color:#F0F0F0;border-color:#C8C8C8}.TFunction .SuEntryIcon,.TOperator .SuEntryIcon{background-color:#EAEAEA;border:1px solid #C7C7C7}.TFunction .SeEntryIcon,.TOperator .SeEntryIcon{background-color:#ECECEC;border:1px solid #C2C2C2}.TProperty .NDPrototype{background-color:#ECECFF;border-color:#C0C0D6}.TProperty .SuEntryIcon{background-color:#DCDCFF;border:1px solid #BEBED4}.TProperty .SeEntryIcon{background-color:#D8DAFF;border:1px solid #BABAD0}.TVariable .NDPrototype,.TDatabaseField .NDPrototype{background-color:#FCFCE6;border-color:#D2D2B8}.TVariable .SuEntryIcon,.TDatabaseField .SuEntryIcon{background-color:#F9F9C5;border:1px solid #D0D09A}.TVariable .SeEntryIcon,.TDatabaseField .SeEntryIcon{background-color:#F9F9C4;border:1px solid #CFCEB4}.TConstant .NDPrototype{background-color:#CACACA;border-color:#979797}.TConstant .SuEntryIcon{background-color:#C6C6C6;border:1px solid #A6A6A6}.TConstant .SeEntryIcon{background-color:#C6C6C6;border:1px solid #969696}.TType .NDPrototype,.TEnumeration .NDPrototype,.TDelegate .NDPrototype{background-color:#FCEFDE;border-color:#D8CBBA}.TType .SuEntryIcon,.TEnumeration .SuEntryIcon,.TDelegate .SuEntryIcon{background-color:#F7E6D3;border:1px solid #D8C7B3}.TType .SeEntryIcon,.TEnumeration .SeEntryIcon,.TDelegate .SeEntryIcon{background-color:#F5E3D1;border:1px solid #D4C3B2}.TEvent .NDPrototype{background-color:#E6F9E6;border-color:#BCCFBC}.TEvent .SuEntryIcon{background-color:#D3F3D3;border:1px solid #B2D1B1}.TEvent .SeEntryIcon{background-color:#D3F3D3;border:1px solid #B2D1B1}.NDClassPrototype .CPEntry{border-color:#686868;background-color:#EAEAEA}.IE6 .NDClassPrototype .CPEntry.Parent,.IE6 .NDClassPrototype .CPEntry.Child,.IE7 .NDClassPrototype .CPEntry.Parent,.IE7 .NDClassPrototype .CPEntry.Child,.IE8 .NDClassPrototype .CPEntry.Parent,.IE8 .NDClassPrototype .CPEntry.Child{border-color:#B4B4B4;background-color:#F5F5F5}.NDClassPrototype .CPEntry.TInterface{border-color:#686879;background-color:#EAEAFF}.IE6 .NDClassPrototype .CPEntry.TInterface.Parent,.IE6 .NDClassPrototype .CPEntry.TInterface.Child,.IE7 .NDClassPrototype .CPEntry.TInterface.Parent,.IE7 .NDClassPrototype .CPEntry.TInterface.Child,.IE8 .NDClassPrototype .CPEntry.TInterface.Parent,.IE8 .NDClassPrototype .CPEntry.TInterface.Child{border-color:#B3B3BB;background-color:#F5F5FF}.SHComment{color:#808080}.SHKeyword{color:#880000}.SHNumber,.SHString{color:#000088}.SHPreprocessingDirective{color:#000000;font-weight:bold}.SHMetadata{color:#808000}.CPPrePrototypeLine .SHMetadata{color:#484800}.NDToolTip{background-color:#FFFFF0;border-style:solid;border-width:1px;border-color:#A0A193 #57574B #57574B #A0A193;padding:1ex;overflow:hidden;-moz-border-radius:1ex;border-radius:1ex;-moz-box-shadow:.15ex .25ex .4ex #606060;-webkit-box-shadow:.15ex .25ex .4ex #606060;box-shadow:.15ex .25ex .4ex #606060}.NDToolTip .NDPrototype,.NDToolTip .NDClassPrototype{margin:0;overflow:hidden}.NDToolTip .NDClassPrototype .CPEntry{margin-left:0 !important;margin-right:0 !important}.TTSummary{font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif;max-width:75ex}.NDPrototype+.TTSummary{margin-top:.5em}#NDFooter{background-color:#E0E0E0;font:7pt "Trebuchet MS",Tahoma,Geneva,sans-serif;padding:.1em 1ex;text-align:right;z-index:1}#NDFooter,#NDFooter a{color:#808080}#FCopyright,#FTimestamp{display:inline}#FCopyright:after,#FTimestamp:after{white-space:pre;content:" · "}.IE6 #FCopyright,.IE7 #FCopyright,.IE6 #FTimestamp,.IE7 #FTimestamp{margin-right:3ex}#FGeneratedBy{display:inline}body.NDHomePage{padding:0;margin:0;background-color:#E0E0E0;background-image:-moz-linear-gradient(top,#7070C0,#E0E0E0);background-image:-webkit-gradient(linear,left top,left bottom,from(#7070C0),to(#E0E0E0));background-image:-o-linear-gradient(top,#7070C0,#E0E0E0);filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#7070C0',endColorstr='#E0E0E0',GradientType=0 );background-image:-ms-linear-gradient(top,#7070C0 0%,#E0E0E0 100%);background-image:linear-gradient(top,#7070C0,#E0E0E0);background-repeat:no-repeat;background-attachment:fixed;height:100%}.HTitle,.HSubtitle,.HCopyright,.HTimestamp,.HGeneratedBy,.NDHomePage p{text-align:center}.HFrame{padding:4em 5em .5em 5em}.HContent{max-width:28em;margin:0 auto 3em auto;padding:1.5em 2em;overflow:hidden;background-color:#FFFFFF;border-width:.5ex;border-style:solid;border-color:#E0E0E0 #A0A0A0 #202020 #C0C0C0;-moz-box-shadow:0 .25ex .75ex #383838;-webkit-box-shadow:0 .25ex .75ex #383838;box-shadow:0 .25ex .75ex #383838}.HTitle{font:34pt Georgia,serif;line-height:95%}.HSubtitle{font:16pt Georgia,serif;padding-top:.075em}.HFooter{margin:0 auto;margin-top:2em;border-top:1px solid #A0A0A0;padding-top:2em;font:8pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif}.HFooter div{margin-bottom:.5em;color:#A0A0A0}.HFooter a:link,.HFooter a:visited,.HFooter a:hover,.HFooter a:active{color:#A0A0A0}#NDMessages{background-color:#FFFFF0;z-index:9999;overflow:auto;max-height:33%;display:none;padding:.8ex 1ex 1ex 1ex;border-bottom:3px solid #A0A000;border-left:1px solid #A0A000}#MsgCloseButton{float:right;font:bold 8pt Verdana,sans-serif;color:#000000}a#MsgCloseButton:hover,a#MsgCloseButton:active{text-decoration:none}.MsgMessage{color:#787800;font:italic 8pt Verdana,sans-serif}.MsgMessage ~ .MsgMessage{padding-top:.9ex;border-top:1px dashed #D0D0C8;margin-top:1.2ex}.IE6 .MTab{border-bottom:0px none}.IE6 #MContent .Selected{background-color:#FFFFFF}.IE6 .NDPrototype .PModifierQualifier,.IE6 .NDPrototype .PType{font:10pt Consolas,"Courier New",monospace;padding:0;border-bottom:0px none}.IE6 .CTopic p,.IE6 .CTopic .CTitle,.IE6 .NDClassPrototype .CPName{color:#000000}.IE6 .NDClassPrototype .CPEntry{margin-top:0}.IE6 .SeEntry{border-bottom:0px none;padding:.2ex 1.25ex .2ex 3.25ex;margin:0;font:10pt Tahoma,Geneva,"Trebuchet MS",Verdana,sans-serif}.IE6 .SeChildren .SeEntry{padding-left:5.5ex}.IE6 #SeSelectedEntry{border-style:solid;border-width:1px} \ No newline at end of file diff --git a/styles/Default/images/menu-folder-arrow.png b/styles/Default/images/menu-folder-arrow.png new file mode 100644 index 0000000000000000000000000000000000000000..7aec69cf61096371f34ab45df744161eb6cc8935 GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^Y(UJ;0V1_0*t`W&k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5XG(BA$LpZJ{dw6(UU`}Ey;Zgd>{E@AM)u8kL3$6>Q2|F4W f@U1CJC>3Q0vUKQpq9dyT)WqQF>gTe~DWM4f_4g*T literal 0 HcmV?d00001 diff --git a/styles/Default/images/menu-loading.gif b/styles/Default/images/menu-loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..d8d06082d06dae6afd1ab85971fd5c7f97a48bfa GIT binary patch literal 2087 zcmb7^SyK~f6owPhExlwT30X*tvM8v5umlK8Sj4EPxB!ZxBPz}e3=C+wpp;q}kp8+6 z)6me$*b-K8D_1}*_l3XUzLZzC>mrpFfX|j=p&DVsdiw z!-o$yZrt$u{S-y{e7=s3j@jASBS(%54GkSSbm+{PGrhgNr%s(>7{={(pF4N1s;Vj} zDe1(C6L!0OaB%SG(W5Sx3&(MlN_G7B@rH(m#>U3V%F1WYo(&8P+`M^H5QLK_PhP%! z`ND+@4<9~!^ym=);L@c_3SlozAAFrg!h&Su7TvPIu+X6|dKO`t)f8LF()4Js!{4*w~#rcV=d0 z`uh5g9Xs~+?c2kL4+jE)$B!RBfByXT?c29*-Rke}pPHItS$1S(q`A5I<;#~m&vP6% zH#c|j;>9OVo?O3veR_JjwYBx>)2E%Cof8uickkY9Z*Q0V&nNL8a5ReQOGDD>pDw=-Y&Tu>7!!$xj}y5&)7kkFd`@xA?V1& z)bu3!N3g-7Py-~`Kwx5*fu2@r59OJLguYmlUxF_NmDW&rHUvlBpSAE%`F7AL_)46T2*N&QQ`GkOM#xS zSc{@m;RXZVx?zLa0Jh^s^ZJM?O>hw_e44sC4cw#xK@`T#oA=XTky@>)W7|0j;SXqj z+rL9#RI11|hG^Vs#UYL6Un5SZljNS#98#)^xB zG-0x$WCj~d=S51S`rAsr*SPw_( zc?;H7-6P=E%t&2BH0p4maB@5?4X<}PchSI*np)ssTR19>H=@7p!UV=#5UKYLi6Aj z%Yp~u<57K5l7R;9ganU;wQ^KEUxQ~FiUg+2BlUokCTz9^4`{WRec7^d8fa5eHrm)+ zjv7jl6BXs62Z}dJJs_n?lWD;NN+s5~YE>K!wyju^XJQX>l#<^^{uC#Az?moYfRx5W zD(C^R3*=}3dnnm`9A)AUVj?IoVhf3b!f0_~NW(vXGt&Uh?@y6)l#S2D#GwU796t(; zirWgRC~gn#iw1Ca@oWu8S$HcdE=*v=)kUL4-5?EBgqqO+>gQLgILgSIMX`DWC|eXd zbUmSip!y3A^2=j`4uYabI>;#My>L3?e9*PfuX~ zz(j_pO{eFq86Kqnwn5Dm-4Oye|~-r2h;=%n$nJ!WcE+klisx9F=g-t&WSICo W@u79bx#vK`89ZJ6T-G@yGywocq&Qmu literal 0 HcmV?d00001 diff --git a/styles/Default/images/menu-tab-database.png b/styles/Default/images/menu-tab-database.png new file mode 100644 index 0000000000000000000000000000000000000000..01f610829886acbfba9d56300d3e29a34a3555fe GIT binary patch literal 156 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5X>^xl@Lo7}wSA2ND$gDb}QH@PSMdi=&woW64=}s|4F4@PH zvaP=SF;gvrVWELUDI=qJz#P66lZ4pa)09}58Fovzyxjfx#1x=O44$rjF6*2Ung9-F BFZcie literal 0 HcmV?d00001 diff --git a/styles/Default/images/menu-tab-files.png b/styles/Default/images/menu-tab-files.png new file mode 100644 index 0000000000000000000000000000000000000000..ebe763ddf3b7e9e054282c1137bffea4f37276f5 GIT binary patch literal 149 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`k|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5X%spKkLo7}wSA2ND$gDaeu|RUdgb5$yB`2panDM?~OEQ*O upA@t0kx4^DeZQ20H?zmVW)uAh&5Rdkc71)hDE$!72nJ7AKbLh*2~7a}0x!`3 literal 0 HcmV?d00001 diff --git a/styles/Default/images/search-class.png b/styles/Default/images/search-class.png new file mode 100644 index 0000000000000000000000000000000000000000..1494838302cc76c8bb70b0f2d04d0c65f3cb0bdd GIT binary patch literal 185 zcmeAS@N?(olHy`uVBq!ia0vp^JV4CN!3HF~3v%Lt6lZ})WHC@o7=#%aX3dcR3MwRf z1o<*BRH-sBG&D0X{QM83UotS18Za=tN?>5Hn!&&zoeWn68+&FEX<$ZXgZ;ZewE#>>lM^GAOAqyIY$xHS)Y%G(=E%3=oU{r{ht YLA6SV|8mQzXFx84r>mdKI;Vst0FPEMT>t<8 literal 0 HcmV?d00001 diff --git a/styles/Default/images/search-parent.png b/styles/Default/images/search-parent.png new file mode 100644 index 0000000000000000000000000000000000000000..54d1a8ddd83c057d2fa4c0237aa862321c04241d GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^>>$j+3?x7IEPn{3_yc@GT!FNMgTvmvdm9=W{{R1f zAY?-?P>8i8$S)Yk{m<}w8(%O`K(fR&q9iy!t)x7$D3!r6B|j-u!8128JvAsbF{QHb zWU38Nk-VpiV+hCfIN!h@O1Ta JS?83{1OR@AGhzS$ literal 0 HcmV?d00001 diff --git a/styles/Default/images/search.png b/styles/Default/images/search.png new file mode 100644 index 0000000000000000000000000000000000000000..6edae9fe84c458cc10b9bb5b80b7a7915ad1775b GIT binary patch literal 344 zcmV-e0jK_nP)A`f`0000PbVXQnQ*UN; zcVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUy`bk7VR5;7+)V~hFKmf<_6Nz{O!r}o8 z7K6kKpk_nGONhb7#AGn{1tb1pkV&6oc+IuY7o#}WU=B0k|%l93fx##!Ydz|my zzD)TwgwPOw62#5T&Ghv2!NI}x_4V%V?$y=R-rnB+{{H3V<@x#f#l^+x>FL?o8BNoJ zgM&_|)8%sI=jW%Sq*yGLxVSimVTy{1tX6ABM@KqUnV&zsd7Yb?l#r-a;STJ7X*AjRKOVY)F%kapF14SZ znjjHTT}z?gs#Pk@@1$P?+r%}t`Zp1LJFosqqiyf*>HR}nOMt$h=#lT(FE1oo%cu+vhvEC+-~*7#amIX=~=w2Dm2ve?9Lr?C~}&T%-_h=GMdfC zqnCw?D!bkI_V(=;c9dg${X$L^lAIj!^P@)}lhK!uUq0slrQIwHFnc?b!;(>4Hk9XSDFt3P?$_XA5qi z3T8|pU@MYIV@U^>3ghN!DP>+a=Ev>Ev;jvH0_MV)be4?f0stwVmeS{O8?X!9Kq2@j z1T~_W0G15n(g9nZmQv|;kYJ1GR8o6oRv} zF)Eg{a=8#co|aPVb>m67-FR{^D+R?YR~q6@K_uq!47IUggh{ z$=nyX6nR>l5+lACJ#OVG5xEtoMCewY5|LYRN`!9ZDG|99r$p#ho)VE;aY}@4sPVmziBz(?-M^|pSRr9?^dtS@UaTTs{R8eG BZwLSY literal 0 HcmV?d00001 diff --git a/styles/Default/images/transparent.gif b/styles/Default/images/transparent.gif new file mode 100644 index 0000000000000000000000000000000000000000..f191b280ce91e6cb8c387735c10ef9bc5da6c83b GIT binary patch literal 42 ocmZ?wbhEHbWMp7uXkY+=|Ns9h{$ybUF?B!$NQQxl(S^Yp0J!f4_W%F@ literal 0 HcmV?d00001 diff --git a/styles/DefaultJS/NDContentPage.js b/styles/DefaultJS/NDContentPage.js new file mode 100644 index 0000000..14ecb1f --- /dev/null +++ b/styles/DefaultJS/NDContentPage.js @@ -0,0 +1,12 @@ +/* +This file is part of Natural Docs, which is Copyright © 2003-2018 Code Clear LLC. +Natural Docs is licensed under version 3 of the GNU Affero General Public +License (AGPL). Refer to License.txt or www.naturaldocs.org for the +complete details. + +This file may be distributed with documentation files generated by Natural Docs. +Such documentation is not covered by Natural Docs' copyright and licensing, +and may have its own copyright and distribution terms as decided by its author. +*/ + +"use strict";var NDContentPage=new function(){this.Start=function(){var ieVersion=NDCore.IEVersion();if(ieVersion==undefined||ieVersion>=8){this.CalculateWideFormPrototypeWidths();for(var key in this.wideFormPrototypeWidths){if(this.wideFormPrototypeWidths[key]==0){setTimeout("NDContentPage.Start();",200);return;}}this.ReformatPrototypes();window.onresize=function(){NDContentPage.OnResize();}}this.toolTipHolder=document.createElement("div");this.toolTipHolder.style.display="none";this.toolTipHolder.style.position="fixed";if(ieVersion==6){this.toolTipHolder.style.position="absolute";}this.toolTipHolder.style.zIndex=20;document.body.appendChild(this.toolTipHolder);var ttLocation=location.href;var hashIndex=ttLocation.indexOf('#');if(hashIndex!=-1){ttLocation=ttLocation.substr(0,hashIndex);}ttLocation=ttLocation.substr(0,ttLocation.length-5)+"-ToolTips.js";NDCore.LoadJavaScript(ttLocation);};this.OnResize=function(){if(this.reformatPrototypesTimeout==undefined){this.reformatPrototypesTimeout=setTimeout("NDContentPage.ReformatPrototypes()",200);}};this.GetPrototypeIDNumber=function(element){if(element.id.indexOf("NDPrototype")==0){var id=parseInt(element.id.substr(11),10);if(id!=NaN&&id>0){return id;}}return-1;};this.CalculateWideFormPrototypeWidths=function(){var prototypes=NDCore.GetElementsByClassName(document,"NDPrototype","div");for(var i=0;i=wideFormWidth&&NDCore.HasClass(prototypes[i],"NarrowForm")){NDCore.ChangePrototypeToWideForm(prototypes[i]);}else if(availableWidthdocument.body.offsetWidth){x=document.body.offsetWidth-this.toolTipHolder.offsetWidth-2;if(x<2){x=2;newWidth=document.body.offsetWidth-4;}}NDCore.SetToAbsolutePosition(this.toolTipHolder,x,y,newWidth,undefined);var prototypes=NDCore.GetElementsByClassName(this.toolTipHolder,"NDPrototype","div");if(prototypes.length>0&&NDCore.HasClass(prototypes[0],"WideForm")&&prototypes[0].scrollWidth>prototypes[0].offsetWidth){NDCore.ChangePrototypeToNarrowForm(prototypes[0]);}if(y+this.toolTipHolder.offsetHeight+2>document.body.parentNode.offsetHeight){var newY=linkOffsets.offsetTop-this.toolTipHolder.offsetHeight-scrollParent.scrollTop-5;if(newY>=0){NDCore.SetToAbsolutePosition(this.toolTipHolder,undefined,newY,undefined,undefined);}}this.toolTipHolder.style.visibility="visible";};this.ResetToolTip=function(){if(this.showingToolTip!=undefined){this.toolTipHolder.style.display="none";this.toolTipHolder.style.width=null;this.lastToolTip=this.showingToolTip;this.showingToolTip=undefined;}if(this.toolTipTimeout!=undefined){clearTimeout(this.toolTipTimeout);this.toolTipTimeout=undefined;}};this.wideFormPrototypeWidths={};}; \ No newline at end of file diff --git a/styles/DefaultJS/NDCore.js b/styles/DefaultJS/NDCore.js new file mode 100644 index 0000000..a928e52 --- /dev/null +++ b/styles/DefaultJS/NDCore.js @@ -0,0 +1,12 @@ +/* +This file is part of Natural Docs, which is Copyright © 2003-2018 Code Clear LLC. +Natural Docs is licensed under version 3 of the GNU Affero General Public +License (AGPL). Refer to License.txt or www.naturaldocs.org for the +complete details. + +This file may be distributed with documentation files generated by Natural Docs. +Such documentation is not covered by Natural Docs' copyright and licensing, +and may have its own copyright and distribution terms as decided by its author. +*/ + +"use strict";var NDCore=new function(){this.GetElementsByClassName=function(baseElement,className,tagHint){if(baseElement.getElementsByClassName){return baseElement.getElementsByClassName(className);}if(!tagHint){tagHint="*";}var tagArray=baseElement.getElementsByTagName(tagHint);var matchArray=new Array();var tagIndex=0;var matchIndex=0;while(tagIndex0){newClassName+=element.className.substr(0,index);}if(index+targetClassName.length!=element.className.length){newClassName+=element.className.substr(index+targetClassName.length);}element.className=newClassName;return;}index=element.className.indexOf(targetClassName,index+1);}};this.LoadJavaScript=function(path,id){var script=document.createElement("script");script.src=path;script.type="text/javascript";if(id!=undefined){script.id=id;}document.getElementsByTagName("head")[0].appendChild(script);};this.RemoveScriptElement=function(id){var script=document.getElementById(id);if(this.IEVersion()==6){setTimeout(function(){script.parentNode.removeChild(script);},1);}else{script.parentNode.removeChild(script);}};this.WindowClientWidth=function(){var width=window.innerWidth;if(width===undefined){width=document.documentElement.clientWidth;}return width;};this.WindowClientHeight=function(){var height=window.innerHeight;if(height===undefined){height=document.documentElement.clientHeight;}return height;};this.SetToAbsolutePosition=function(element,x,y,width,height){if(x!=undefined&&element.offsetLeft!=x){element.style.left=x+"px";}if(y!=undefined&&element.offsetTop!=y){element.style.top=y+"px";}if(width!=undefined&&element.offsetWidth!=width){if(!this.pxRegex.test(element.style.width)){element.style.width=width+"px";if(element.offsetWidth!=width){var adjustment=width-element.offsetWidth;element.style.width=(width+adjustment)+"px";}}else{var styleWidth=RegExp.$1;var adjustment=styleWidth-element.offsetWidth;element.style.width=(width+adjustment)+"px";}}if(height!=undefined&&element.offsetHeight!=height){if(!this.pxRegex.test(element.style.height)){element.style.height=height+"px";if(element.offsetHeight!=height){var adjustment=height-element.offsetHeight;element.style.height=(height+adjustment)+"px";}}else{var styleHeight=RegExp.$1;var adjustment=styleHeight-element.offsetHeight;element.style.height=(height+adjustment)+"px";}}};this.GetFullOffsets=function(element){var result={offsetTop:element.offsetTop,offsetLeft:element.offsetLeft};element=element.offsetParent;while(element!=undefined&&element.nodeName!="BODY"){result.offsetTop+=element.offsetTop;result.offsetLeft+=element.offsetLeft;element=element.offsetParent;}return result;};this.NormalizeHash=function(hashString){if(hashString==undefined){return"";}if(hashString.charAt(0)=="#"){hashString=hashString.substr(1);}hashString=decodeURI(hashString);return hashString;};this.IsIE=function(){return(navigator.userAgent.indexOf("MSIE")!=-1||navigator.userAgent.indexOf("Trident")!=-1);};this.IEVersion=function(){var ieIndex=navigator.userAgent.indexOf("MSIE");if(ieIndex!=-1){ieIndex+=5;}else{ieIndex=navigator.userAgent.indexOf("Trident");if(ieIndex!=-1){ieIndex=navigator.userAgent.indexOf("rv:");if(ieIndex!=-1){ieIndex+=3;}}}if(ieIndex!=-1){return parseInt(navigator.userAgent.substr(ieIndex));}else{return undefined;}};this.AddIEClassesToBody=function(){var ieVersion=this.IEVersion();if(ieVersion!=undefined){this.AddClass(document.body,"IE");if(ieVersion>=6&&ieVersion<=8){this.AddClass(document.body,"IE"+ieVersion);}}};this.SupportsOnInput=function(){if(this.IEVersion()==9){return false;}else{return(window.oninput!==undefined);}};this.ChangePrototypeToNarrowForm=function(prototype){var newPrototype=document.createElement("div");newPrototype.id=prototype.id;newPrototype.className=prototype.className;this.RemoveClass(newPrototype,"WideForm");this.AddClass(newPrototype,"NarrowForm");var prePrototypeLines=NDCore.GetElementsByClassName(prototype,"PPrePrototypeLine","div");for(var i=0;i=other.length&&this.substr(0,other.length)==other);};String.prototype.EntityDecode=function(){var output=this;output=output.replace(/</g,"<");output=output.replace(/>/g,">");output=output.replace(/"/g,"\"");output=output.replace(/&/g,"&");return output;};function NDLocation(hashString){this.Constructor=function(hashString){this.hashString=NDCore.NormalizeHash(hashString);if(this.hashString.match(/^File[0-9]*:/)!=null){this.type="File";this.SplitPathAndMember();this.AddFileURLs();}else if(this.hashString.match(/^[A-Z]+Class:/i)!=null){this.type="Class";this.SplitPathAndMember();this.AddClassURLs();}else if(this.hashString.substr(0,9).toLowerCase()=="database:"){this.type="Database";this.SplitPathAndMember();this.AddDatabaseURLs();}else{this.type="Home";this.AddHomeURLs();}};this.SplitPathAndMember=function(){var pathSeparator=this.hashString.indexOf(':');var memberSeparator=this.hashString.indexOf(':',pathSeparator+1);if(memberSeparator==-1){this.path=this.hashString;}else{this.path=this.hashString.substr(0,memberSeparator);this.member=this.hashString.substr(memberSeparator+1);if(this.member==""){this.member=undefined;}}};this.AddHomeURLs=function(){this.contentPage="other/home.html";};this.AddFileURLs=function(){var pathPrefix=this.path.match(/^File([0-9]*):/);var basePath="files"+pathPrefix[1]+"/"+this.path.substr(pathPrefix[0].length);var lastSeparator=basePath.lastIndexOf('/');var filename=basePath.substr(lastSeparator+1);filename=filename.replace(/\./g,'-');basePath=basePath.substr(0,lastSeparator+1)+filename;this.contentPage=basePath+".html";this.summaryFile=basePath+"-Summary.js";this.summaryTTFile=basePath+"-SummaryToolTips.js";if(this.member!=undefined){this.contentPage+='#'+this.member;}};this.AddClassURLs=function(){var pathPrefix=this.path.match(/^([A-Z]+)Class:/i);var basePath="classes/"+pathPrefix[1]+"/"+this.path.substr(pathPrefix[0].length);basePath=basePath.replace(/\.|::/g,"/");this.contentPage=basePath+".html";this.summaryFile=basePath+"-Summary.js";this.summaryTTFile=basePath+"-SummaryToolTips.js";if(this.member!=undefined){this.contentPage+='#'+this.member;}};this.AddDatabaseURLs=function(){var basePath="database/"+this.path.substr(9);basePath=basePath.replace(/\./g,"/");this.contentPage=basePath+".html";this.summaryFile=basePath+"-Summary.js";this.summaryTTFile=basePath+"-SummaryToolTips.js";if(this.member!=undefined){this.contentPage+='#'+this.member;}};this.Constructor(hashString);};if(!Array.prototype.indexOf){Array.prototype.indexOf=function(searchElement){"use strict";if(this==null){throw new TypeError();}var n,k,t=Object(this),len=t.length>>>0;if(len===0){return-1;}n=0;if(arguments.length>1){n=Number(arguments[1]);if(n!=n){n=0;}else if(n!=0&&n!=Infinity&&n!=-Infinity){n=(n>0||-1)*Math.floor(Math.abs(n));}}if(n>=len){return-1;}for(k=n>=0?n:Math.max(len-Math.abs(n),0);k7));if(supportsOnHashChange){window.onhashchange=function(){NDFramePage.OnHashChange();};}if(!supportsOnHashChange||NDCore.IsIE()){this.hashChangePoller={timeoutLength:200,lastHash:location.hash};if(!NDCore.IsIE()||supportsOnHashChange){this.hashChangePoller.Start=function(){this.Poll();};this.hashChangePoller.Stop=function(){if(this.timeoutID!=undefined){clearTimeout(this.timeoutID);this.timeoutID=undefined;}};this.hashChangePoller.Poll=function(){if(location.hash!=this.lastHash){this.lastHash=location.hash;NDFramePage.OnHashChange();}this.timeoutID=setTimeout("NDFramePage.hashChangePoller.Poll()",this.timeoutLength);};}else{this.hashChangePoller.Start=function(){var iframeElement=document.createElement("iframe");iframeElement.title="empty";iframeElement.tabindex=-1;iframeElement.style.display="none";iframeElement.width=0;iframeElement.height=0;iframeElement.src="javascript:0";this.firstRun=true;iframeElement.attachEvent("onload",function(){if(NDFramePage.hashChangePoller.firstRun){NDFramePage.hashChangePoller.firstRun=false;NDFramePage.hashChangePoller.SetHistory(location.hash);NDFramePage.hashChangePoller.Poll();}});document.body.appendChild(iframeElement);this.iframe=iframeElement.contentWindow;document.onpropertychange=function(){if(event.propertyName=="title"){try{NDFramePage.hashChangePoller.iframe.document.title=document.title;}catch(e){}}};};this.hashChangePoller.Stop=function(){};this.hashChangePoller.Poll=function(){var hash=location.hash;var historyHash=this.GetHistory();if(hash!=this.lastHash){this.lastHash=location.hash;this.SetHistory(hash,historyHash);NDFramePage.OnHashChange();}else if(historyHash!=this.lastHash){location.href=location.href.replace(/#.*/,'')+historyHash;}this.timeoutID=setTimeout("NDFramePage.hashChangePoller.Poll()",this.timeoutLength);};this.hashChangePoller.GetHistory=function(){return this.iframe.location.hash;};this.hashChangePoller.SetHistory=function(hash,historyHash){if(hash!=historyHash){this.iframe.document.title=document.title;this.iframe.document.open();this.iframe.document.close();this.iframe.location.hash=hash;}};}this.hashChangePoller.Start();}};this.OnResize=function(){this.UpdateLayout();};this.UpdateLayout=function(){var ieVersion=NDCore.IEVersion();var useSizers=(ieVersion==undefined||ieVersion>=8);var fullWidth=NDCore.WindowClientWidth();var fullHeight=NDCore.WindowClientHeight();var header=document.getElementById("NDHeader");var searchField=document.getElementById("NDSearchField");var footer=document.getElementById("NDFooter");var menu=document.getElementById("NDMenu");var menuSizer=document.getElementById("NDMenuSizer");var summary=document.getElementById("NDSummary");var summarySizer=document.getElementById("NDSummarySizer");var content=document.getElementById("NDContent");var messages=document.getElementById("NDMessages");NDCore.SetToAbsolutePosition(header,0,0,fullWidth,undefined);NDCore.SetToAbsolutePosition(footer,0,undefined,fullWidth,undefined);var headerHeight=header.offsetHeight-1;var footerHeight=footer.offsetHeight;NDCore.SetToAbsolutePosition(footer,undefined,fullHeight-footerHeight,undefined,undefined);var searchMargin=(headerHeight-searchField.offsetHeight)/2;NDCore.SetToAbsolutePosition(searchField,fullWidth-searchField.offsetWidth-searchMargin,searchMargin,undefined,undefined);var remainingHeight=fullHeight-headerHeight-footerHeight;var remainingWidth=fullWidth;var currentX=0;if(this.MenuIsVisible()){menu.style.display="block";NDCore.SetToAbsolutePosition(menu,currentX,headerHeight,undefined,remainingHeight);currentX+=menu.offsetWidth;remainingWidth-=menu.offsetWidth;if(this.desiredMenuWidth==undefined){this.desiredMenuWidth=menu.offsetWidth;}if(useSizers){menuSizer.style.display="block";NDCore.SetToAbsolutePosition(menuSizer,currentX,headerHeight,undefined,remainingHeight);}NDMenu.OnUpdateLayout();}else{menu.style.display="none";menuSizer.style.display="none";}if(this.SummaryIsVisible()){summary.style.display="block";NDCore.SetToAbsolutePosition(summary,currentX,headerHeight,undefined,remainingHeight);currentX+=summary.offsetWidth;remainingWidth-=summary.offsetWidth;if(this.desiredSummaryWidth==undefined){this.desiredSummaryWidth=summary.offsetWidth;}if(useSizers){summarySizer.style.display="block";NDCore.SetToAbsolutePosition(summarySizer,currentX,headerHeight,undefined,remainingHeight);}}else{summary.style.display="none";summarySizer.style.display="none";}NDCore.SetToAbsolutePosition(content,currentX,headerHeight,remainingWidth,remainingHeight);NDCore.SetToAbsolutePosition(messages,currentX,0,remainingWidth,undefined);NDSearch.OnUpdateLayout();};this.MenuIsVisible=function(){return true;};this.SummaryIsVisible=function(){return(this.currentLocation!=undefined&&this.currentLocation.summaryFile!=undefined);};this.OnMouseDown=function(event){if(event==undefined){event=window.event;}var target=event.target||event.srcElement;if(NDSearch.SearchFieldIsActive()){var targetIsInResults=false;for(var element=target;element!=undefined;element=element.parentNode){if(element.id=="NDSearchResults"){targetIsInResults=true;break;}}if(!targetIsInResults){NDSearch.ClearResults();NDSearch.DeactivateSearchField();}}if(target.id=="NDMenuSizer"||target.id=="NDSummarySizer"){var element;if(target.id=="NDMenuSizer"){element=document.getElementById("NDMenu");}else{element=document.getElementById("NDSummary");}this.sizerDragging={"sizer":target,"element":element,"originalSizerX":target.offsetLeft,"originalElementWidth":element.offsetWidth,"originalClientX":event.clientX};NDCore.AddClass(target,"Dragging");document.onmousemove=function(e){return NDFramePage.OnSizerMouseMove(e);};document.onmouseup=function(e){return NDFramePage.OnSizerMouseUp(e);};document.onselectstart=function(){return false;};var contentCover=document.createElement("div");contentCover.id="NDContentCover";document.body.appendChild(contentCover);NDCore.SetToAbsolutePosition(contentCover,0,0,NDCore.WindowClientWidth(),NDCore.WindowClientHeight());return false;}else{return true;}};this.OnSizerMouseMove=function(event){if(event==undefined){event=window.event;}var offset=event.clientX-this.sizerDragging.originalClientX;var windowClientWidth=NDCore.WindowClientWidth();if(this.sizerDragging.sizer.id=="NDMenuSizer"){if(this.sizerDragging.originalSizerX+offset<0){offset=0-this.sizerDragging.originalSizerX;}else if(this.sizerDragging.originalSizerX+offset+this.sizerDragging.sizer.offsetWidth>windowClientWidth){offset=windowClientWidth-this.sizerDragging.sizer.offsetWidth-this.sizerDragging.originalSizerX;}}else{var menuSizer=document.getElementById("NDMenuSizer");var leftLimit=menuSizer.offsetLeft+menuSizer.offsetWidth;if(this.sizerDragging.originalSizerX+offsetwindowClientWidth){offset=windowClientWidth-this.sizerDragging.sizer.offsetWidth-this.sizerDragging.originalSizerX;}}NDCore.SetToAbsolutePosition(this.sizerDragging.sizer,this.sizerDragging.originalSizerX+offset,undefined,undefined,undefined);NDCore.SetToAbsolutePosition(this.sizerDragging.element,undefined,undefined,this.sizerDragging.originalElementWidth+offset,undefined);if(this.sizerDragging.sizer.id=="NDMenuSizer"){this.desiredMenuWidth=document.getElementById("NDMenu").offsetWidth;}else{this.desiredSummaryWidth=document.getElementById("NDSummary").offsetWidth;}this.UpdateLayout();};this.OnSizerMouseUp=function(event){document.onmousemove=null;document.onmouseup=null;document.onselectstart=null;document.body.removeChild(document.getElementById("NDContentCover"));NDCore.RemoveClass(this.sizerDragging.sizer,"Dragging");this.sizerDragging=undefined;};this.SizeSummaryToContent=function(){this.SizePanelToContent(document.getElementById("NDSummary"),this.desiredSummaryWidth);};this.SizePanelToContent=function(panel,desiredOffsetWidth){if(this.desiredSummaryWidth==undefined){return;}var resized=false;if(panel.clientWidth==panel.scrollWidth){if(panel.offsetWidth==desiredOffsetWidth){return;}else{NDCore.SetToAbsolutePosition(panel,undefined,undefined,desiredOffsetWidth,undefined);resized=true;}}var newOffsetWidth=panel.scrollWidth;if(panel.scrollHeight>panel.clientHeight){newOffsetWidth+=panel.offsetWidth-panel.clientWidth;}else{newOffsetWidth+=NDCore.GetComputedPixelWidth(panel,"borderLeftWidth")+NDCore.GetComputedPixelWidth(panel,"borderRightWidth");}if(newOffsetWidth!=desiredOffsetWidth){newOffsetWidth+=3;if(newOffsetWidth/desiredOffsetWidth>1.333){newOffsetWidth=Math.floor(desiredOffsetWidth*1.333);}if(panel.offsetWidth!=newOffsetWidth){NDCore.SetToAbsolutePosition(panel,undefined,undefined,newOffsetWidth,undefined);resized=true;}}if(resized){this.UpdateLayout();}};}; \ No newline at end of file diff --git a/styles/DefaultJS/NDMenu.js b/styles/DefaultJS/NDMenu.js new file mode 100644 index 0000000..383bfee --- /dev/null +++ b/styles/DefaultJS/NDMenu.js @@ -0,0 +1,12 @@ +/* +This file is part of Natural Docs, which is Copyright © 2003-2018 Code Clear LLC. +Natural Docs is licensed under version 3 of the GNU Affero General Public +License (AGPL). Refer to License.txt or www.naturaldocs.org for the +complete details. + +This file may be distributed with documentation files generated by Natural Docs. +Such documentation is not covered by Natural Docs' copyright and licensing, +and may have its own copyright and distribution terms as decided by its author. +*/ + +"use strict";var NDMenu=new function(){this.Start=function(){this.menuSections=[];this.firstUnusedMenuSection=0;var menuContainer=document.getElementById("NDMenu");var menuTabBar=document.createElement("div");menuTabBar.id="MTabBar";menuContainer.appendChild(menuTabBar);var menuContent=document.createElement("div");menuContent.id="MContent";menuContainer.appendChild(menuContent);NDCore.LoadJavaScript("menu/tabs.js","NDMenuTabsLoader");};this.OnLocationChange=function(oldLocation,newLocation){if(newLocation.type=="Home"&&this.tabs!=undefined&&this.tabs.length==1){this.GoToOffsets([0]);return;}if(oldLocation==undefined||oldLocation.type!=newLocation.type){this.UpdateTabs(newLocation.type);}if(oldLocation==undefined||oldLocation.type!=newLocation.type||oldLocation.path!=newLocation.path){this.Build(new NDMenuHashPath(newLocation.type,newLocation.path));}};this.GoToOffsets=function(offsets){if(this.tabs!=undefined){var newSelectedTab;if(offsets.length>=1){newSelectedTab=this.tabs[offsets[0]][0];if(newSelectedTab!=this.selectedTabType){this.UpdateTabs(newSelectedTab);}}}this.Build(new NDMenuOffsetPath(offsets));};this.Build=function(path){if(path!=undefined){this.pathBeingBuilt=path;}else if(this.pathBeingBuilt==undefined){return;}this.firstUnusedMenuSection=0;var newMenuContent=document.createElement("div");newMenuContent.id="MContent";var result;if(this.tabs!=undefined){result=this.BuildEntries(newMenuContent,this.pathBeingBuilt);}else{result={completed:false};}if(!result.completed){var htmlEntry=document.createElement("div");htmlEntry.className="MLoadingNotice";newMenuContent.appendChild(htmlEntry);}var oldMenuContent=document.getElementById("MContent");var menuContainer=oldMenuContent.parentNode;menuContainer.replaceChild(newMenuContent,oldMenuContent);if(NDCore.IsIE()&&NDCore.IEVersion()==10){setTimeout(function(){document.getElementById("NDMenu").style.zoom="100%";},0);}if(result.completed){if(result.selectedFile){if(result.selectedFile.offsetTop+result.selectedFile.offsetHeight>menuContainer.scrollTop+menuContainer.clientHeight){result.selectedFile.scrollIntoView(false);}else if(result.selectedFile.offsetTop"+""+""+tabTitle+"";htmlMenu.appendChild(htmlEntry);}}else{for(var i=0;i";if(typeof(member[1])=="object"){title+=member[1][0];}else{title+=member[1];}var targetPath=(pathSoFar.length==0?i:pathSoFar.join(",")+","+i);var htmlEntry=document.createElement("a");htmlEntry.className="MEntry MFolder Child";htmlEntry.setAttribute("href","javascript:NDMenu.GoToOffsets(["+targetPath+"])");htmlEntry.innerHTML=title;htmlMenu.appendChild(htmlEntry);}}}result.completed=true;if(selectedTab!=undefined){selectedTab[6]=pathSoFar;}return result;};this.MenuSection=function(file){for(var i=0;i=this.firstUnusedMenuSection){if(i>this.firstUnusedMenuSection){this.menuSections.splice(i,1);this.menuSections.splice(this.firstUnusedMenuSection,0,section);}this.firstUnusedMenuSection++;}if(section.ready==true){return section.contents;}else{return undefined;}}}return undefined;};this.LoadMenuSection=function(file){for(var i=0;i10){for(var i=this.menuSections.length-1;i>=this.firstUnusedMenuSection&&this.menuSections.length>10;i--){if(this.menuSections[i].ready==false){break;}this.menuSections.pop();}}};this.OnTabsLoaded=function(tabs){this.tabs=tabs;NDCore.RemoveScriptElement("NDMenuTabsLoader");var tabBar=document.getElementById("MTabBar");for(var i=0;i"+tabTitle+"";tab.style.position="absolute";tab.style.visibility="hidden";tabBar.appendChild(tab);tabs[i][4]=tab.offsetWidth;tab.className="MTab Narrow";tabs[i][5]=tab.offsetWidth;if(tabs[i][0]==this.selectedTabType){tab.className+=" Selected";}}this.ResizeTabs();if(this.ShouldTabsShow()==false){tabBar.style.display="none";}for(var i=0;i1&&this.selectedTabType!=undefined&&this.selectedTabType!="Home");};this.OnUpdateLayout=function(){this.ResizeTabs();};this.GoToTab=function(newTabType){var tabIndex;for(var i=0;i=this.pathObject.path.length){return;}else if(this.currentContainer==undefined){this.pathIndex++;}else{var currentEntry=this.currentContainer[this.pathObject.path[this.pathIndex]];this.currentContainer=undefined;this.currentContainerHashPath=undefined;this.needToLoad=undefined;if(this.pathIndex==0){this.currentContainerHashPath=currentEntry[2];this.needToLoad=currentEntry[3];}else if(currentEntry[0]==2){this.currentContainerHashPath=currentEntry[2];if(typeof currentEntry[3]=="string"){this.needToLoad=currentEntry[3];}else{this.currentContainer=currentEntry[3];}}this.pathIndex++;if(this.needToLoad!=undefined){this.currentContainer=NDMenu.MenuSection(this.needToLoad);if(this.currentContainer!=undefined){this.needToLoad=undefined;}}}};this.NavigationType=function(){if(this.currentContainer==undefined){return 9;}if(this.pathIndex>=this.pathObject.path.length){return-1;}var currentEntry=this.currentContainer[this.pathObject.path[this.pathIndex]];if(this.InTabs()==false&¤tEntry[0]==1){return 3;}if(this.pathIndex==this.pathObject.path.length-1){return 2;}if(this.pathIndex+2<=this.pathObject.path.length-1){return 1;}var lookahead=this.Duplicate();lookahead.Next();if(lookahead.NavigationType()==9){this.needToLoad=lookahead.NeedToLoad();return 9;}else if(lookahead.CurrentEntry()[0]==2){return 1;}else{return 2;}};this.Duplicate=function(){var newObject=new NDMenuOffsetPathIterator(this.pathObject);newObject.pathIndex=this.pathIndex;newObject.currentContainer=this.currentContainer;newObject.needToLoad=this.needToLoad;return newObject;};this.CurrentEntry=function(){if(this.currentContainer!=undefined&&this.pathIndex0){this.domResults.scrollTop--;}};this.LoadMoreResults=function(){this.moreResultsThreshold=this.visibleEntryCount+25;this.domSearchField.focus();this.Update();};this.ActivateLinkFromKeyboard=function(domLink){var address=domLink.getAttribute("href");if(address.substr(0,11)=="javascript:"){address=address.substr(11);address=address.replace(/^(NDSearch.ToggleParent\([0-9]+,)false(.*)$/,"$1true$2");eval(address);}else{location.href=address;}};this.OnSearchFieldFocus=function(){if(!this.SearchFieldIsActive()){this.ActivateSearchField();if(this.allPrefixesStatus==1){this.allPrefixesStatus=2;NDCore.LoadJavaScript("search/index.js");}}};this.OnSearchFieldKey=function(event){if(event===undefined){event=window.event;}if(event.keyCode==27){this.ClearResults();this.DeactivateSearchField();document.getElementById("CFrame").contentWindow.focus();}else if(event.keyCode==38){if(this.keyboardSelectionIndex<=0){this.keyboardSelectionIndex=this.visibleEntryCount-1;}else{this.keyboardSelectionIndex--;}this.UpdateSelection();}else if(event.keyCode==40){if(this.visibleEntryCount==0){this.keyboardSelectionIndex=-1;}else if(this.keyboardSelectionIndex>=this.visibleEntryCount-1){this.keyboardSelectionIndex=0;}else{this.keyboardSelectionIndex++;}this.UpdateSelection();}else if(event.keyCode==37){if(this.keyboardSelectionIndex!=-1){var domSelectedEntry=document.getElementById("SeSelectedEntry");if(NDCore.HasClass(domSelectedEntry,"SeParent")&&NDCore.HasClass(domSelectedEntry,"open")){this.ActivateLinkFromKeyboard(domSelectedEntry);}}}else if(event.keyCode==39){if(this.keyboardSelectionIndex!=-1){var domSelectedEntry=document.getElementById("SeSelectedEntry");if(NDCore.HasClass(domSelectedEntry,"SeParent")&&NDCore.HasClass(domSelectedEntry,"closed")){this.ActivateLinkFromKeyboard(domSelectedEntry);}}}else if(event.keyCode==13){var domSelectedEntry=undefined;if(this.keyboardSelectionIndex!=-1){domSelectedEntry=document.getElementById("SeSelectedEntry");}else if(this.visibleEntryCount==1){domSelectedEntry=this.domResultsContent.firstChild;}else if(this.visibleEntryCount==2&&NDCore.HasClass(this.domResultsContent.firstChild,"SeParent")){domSelectedEntry=this.domResultsContent.childNodes[1].firstChild;}if(domSelectedEntry!=undefined){this.ActivateLinkFromKeyboard(domSelectedEntry);}else if(this.keyboardSelectionIndex==-1&&this.visibleEntryCount>0){this.keyboardSelectionIndex=0;this.UpdateSelection();}}else if(NDCore.SupportsOnInput()==false){if(event.keyCode!=37&&event.keyCode!=39){this.OnSearchFieldChange(event);}}};this.OnSearchFieldChange=function(event){if(event===undefined){event=window.event;}this.keyboardSelectionIndex=-1;if(this.initialTimeoutStatus==3){if(this.updateTimeout==undefined){this.updateTimeout=setTimeout(function(){clearTimeout(NDSearch.updateTimeout);NDSearch.updateTimeout=undefined;NDSearch.Update();},350);}}else{var searchInterpretations=this.GetSearchInterpretations();if(searchInterpretations.length!=0&&this.allPrefixesStatus==3&&this.GetMatchingPrefixes(searchInterpretations).length<=1){if(this.initialTimeoutStatus==2){clearTimeout(this.initialTimeout);this.initialTimeout=undefined;}this.initialTimeoutStatus=3;this.Update();}else if(this.initialTimeoutStatus==1){this.initialTimeoutStatus=2;this.initialTimeout=setTimeout(function(){if(NDSearch.initialTimeoutStatus==2){clearTimeout(NDSearch.initialTimeout);NDSearch.initialTimeout=undefined;NDSearch.initialTimeoutStatus=3;NDSearch.Update();}},1250);}}};this.OnResultsFocus=function(){this.domSearchField.focus();};this.OnUpdateLayout=function(){if(this.domResults!=undefined){this.PositionResults();if(this.keyboardSelectionIndex!=-1){var domSelectedEntry=document.getElementById("SeSelectedEntry");if(domSelectedEntry!=undefined){this.ScrollEntryIntoView(domSelectedEntry,false);}}}};this.GetSearchInterpretations=function(){var interpretations=[];var normalizedSearchText=this.domSearchField.value.toLowerCase();normalizedSearchText=normalizedSearchText.replace(/\s+/g," ");normalizedSearchText=normalizedSearchText.replace(/^ /,"");normalizedSearchText=normalizedSearchText.replace(/ $/,"");normalizedSearchText=normalizedSearchText.replace(/([^a-z0-9_]) /g,"$1");normalizedSearchText=normalizedSearchText.replace(/ (?=[^a-z0-9_])/g,"");normalizedSearchText=normalizedSearchText.replace(/::|->/g,".");normalizedSearchText=normalizedSearchText.replace(/\\/g,"/");normalizedSearchText=normalizedSearchText.replace(/^[./]+/,"");if(normalizedSearchText==""){return interpretations;}interpretations.push(normalizedSearchText);var lastChar=normalizedSearchText.charAt(normalizedSearchText.length-1);if(lastChar==":"||lastChar=="-"){interpretations.push(normalizedSearchText.substr(0,normalizedSearchText.length-1)+".");}return interpretations;};this.GetMatchingPrefixes=function(searchTextArray){var matchingPrefixes=[];if(this.allPrefixesStatus!=3){return matchingPrefixes;}for(var i=0;i=searchPrefix.length&&this.allPrefixes[prefixIndex].substr(0,searchPrefix.length)==searchPrefix){matchingPrefixes.push(this.allPrefixes[prefixIndex]);prefixIndex++;}else{break;}}}}if(searchTextArray.length<=1){return matchingPrefixes;}matchingPrefixes.sort();for(var i=1;i>1;if(prefix==this.allPrefixes[testIndex]){return testIndex;}else if(prefixmaximum){return true;}}}}}}return false;};this.BuildResults=function(searchInterpretations,searchInterpretationPrefixes,favorClasses,forceExpansion){var results={html:""};this.topLevelEntryCount=0;this.visibleEntryCount=0;var addSearchingStatus=false;for(var p=0;p"+"
"+lastMatchingMemberObject[1];if(lastMatchingMemberObject[0]!=undefined||lastMatchingMemberObject[2]!=undefined){html+="";if(lastMatchingMemberObject[0]!=undefined){html+=", "+lastMatchingMemberObject[0];}if(lastMatchingMemberObject[2]!=undefined){html+=", "+lastMatchingMemberObject[2];}html+="";}html+="";this.topLevelEntryCount++;this.visibleEntryCount++;return html;}else{var selected=(this.keyboardSelectionIndex==this.visibleEntryCount);var openClosed;if(forceExpansion||this.openParents.indexOf(this.topLevelEntryCount)!=-1){openClosed="open";}else{openClosed="closed";}var html=""+"
"+keywordObject[0]+" ("+memberMatches+")"+"
";this.topLevelEntryCount++;this.visibleEntryCount++;if(openClosed=="open"){html+="
";for(var i=0;i"+"
"+memberObject[1];if(memberObject[0]!=undefined||memberObject[2]!=undefined){html+="";if(memberObject[0]!=undefined){html+=", "+memberObject[0];}if(memberObject[2]!=undefined){html+=", "+memberObject[2];}html+="";}html+="";this.visibleEntryCount++;}}html+="
";}return html;}};this.BuildSearchingStatus=function(){return"
"+"Searching..."+"
";};this.BuildNoMatchesStatus=function(){return"
"+"No Matches"+"
";};this.BuildMoreResultsEntry=function(){var selected=(this.keyboardSelectionIndex==this.visibleEntryCount);var html=""+"
"+"More Results..."+"
";this.visibleEntryCount++;this.topLevelEntryCount++;return html;};this.MakePrefix=function(searchText){var prefix="";for(var i=0;i<3;i++){if(i>=searchText.length){break;}var char=searchText.charAt(i);if(char==" "||char=="."||char=="/"){break;}prefix+=char;}if(prefix.length>0){return prefix;}else{return undefined;}};this.PrefixToHex=function(prefix){var hex="";for(var i=0;imaxHeight){NDCore.SetToAbsolutePosition(this.domResults,undefined,undefined,undefined,maxHeight);}if(this.domResults.offsetWidth>maxWidth){NDCore.SetToAbsolutePosition(this.domResults,undefined,undefined,maxWidth,undefined);}else{if(this.domResults.scrollWidth>this.domResults.clientWidth){var newWidth=this.domResults.offsetWidth+(this.domResults.scrollWidth-this.domResults.clientWidth)+5;if(newWidth>maxWidth){newWidth=maxWidth;}NDCore.SetToAbsolutePosition(this.domResults,undefined,undefined,newWidth,undefined);}if(this.domResults.offsetWidthitemTop){offset=itemTop-windowTop;}if(offset!=0){this.domResults.scrollTop+=offset;}};this.OnPrefixIndexLoaded=function(prefixes){this.allPrefixes=prefixes;this.allPrefixesStatus=3;if(this.initialTimeoutStatus==3){this.Update();}};this.LoadPrefixData=function(prefix){if(this.prefixObjects[prefix]==undefined){var prefixObject=[];prefixObject[0]=prefix;prefixObject[2]=false;prefixObject[3]="NDPrefixLoader_"+this.PrefixToHex(prefix);this.prefixObjects[prefix]=prefixObject;NDCore.LoadJavaScript(this.PrefixToDataFile(prefix),prefixObject[3]);}};this.OnPrefixDataLoaded=function(prefix,commentTypes,keywordObjects){var prefixObject=this.prefixObjects[prefix];if(prefixObject==undefined){return;}for(var k=0;k"+entry[3];entryHTML.onmouseover=mouseOverHandler;entryHTML.onmouseout=mouseOutHandler;var entryHTMLChild=entryHTML.firstChild;if(entryHTMLChild!=undefined&&NDCore.HasClass(entryHTMLChild,"Qualifier")){entryHTMLChild.onmouseover=mouseOverHandler;entryHTMLChild.onmouseout=mouseOutHandler;}newContent.appendChild(entryHTML);}}}var summaryContainer=document.getElementById("NDSummary");var oldContent=document.getElementById("SuContent");if(oldContent!=undefined){summaryContainer.replaceChild(newContent,oldContent);}else{summaryContainer.appendChild(newContent);}newContent.scrollIntoView(true);if(this.summaryEntries!=undefined){NDFramePage.SizeSummaryToContent();}if(NDCore.IsIE()&&NDCore.IEVersion()==10){setTimeout(function(){document.getElementById("NDSummary").style.zoom="100%";},0);}};this.FinishIENavigation=function(){if(NDCore.IsIE()&&this.summaryEntries!=undefined&&NDFramePage.currentLocation!=undefined&&NDFramePage.currentLocation.type=="File"&&NDFramePage.currentLocation.member!=undefined){var topicID=-1;for(var i=0;i0){return id;}else{return-1;}};this.ShowToolTip=function(){var entry=document.getElementById("SuEntry"+this.showingToolTip);this.toolTipHolder.innerHTML=this.summaryToolTips[this.showingToolTip];this.toolTipHolder.style.visibility="hidden";this.toolTipHolder.style.display="block";var summaryBlock=document.getElementById("NDSummary");var x=summaryBlock.offsetLeft+entry.offsetLeft+entry.offsetWidth;var y=summaryBlock.offsetTop+entry.offsetTop-summaryBlock.scrollTop;var newWidth=undefined;var maxWidth=NDCore.WindowClientWidth()-x;if(this.toolTipHolder.offsetWidth>maxWidth){newWidth=maxWidth;}NDCore.SetToAbsolutePosition(this.toolTipHolder,x,y,newWidth,undefined);var prototypes=NDCore.GetElementsByClassName(this.toolTipHolder,"NDPrototype","div");if(prototypes.length>0&&NDCore.HasClass(prototypes[0],"WideForm")&&prototypes[0].scrollWidth>prototypes[0].offsetWidth){NDCore.ChangePrototypeToNarrowForm(prototypes[0]);}var footer=document.getElementById("NDFooter");if(y+this.toolTipHolder.offsetHeight+(footer.offsetHeight*2)>NDCore.WindowClientHeight()){var newY=NDCore.WindowClientHeight()-this.toolTipHolder.offsetHeight-(footer.offsetHeight*2);if(newY<0){newY=0;}NDCore.SetToAbsolutePosition(this.toolTipHolder,undefined,newY,undefined,undefined);}this.toolTipHolder.style.visibility="visible";};this.ResetToolTip=function(){if(this.showingToolTip!=undefined){this.toolTipHolder.style.display="none";this.toolTipHolder.style.width=null;this.lastToolTip=this.showingToolTip;this.showingToolTip=undefined;}if(this.toolTipTimeout!=undefined){clearTimeout(this.toolTipTimeout);this.toolTipTimeout=undefined;}};}; \ No newline at end of file diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 0000000..4333a29 --- /dev/null +++ b/styles/main.css @@ -0,0 +1 @@ +@import URL("Default/Default.css"); \ No newline at end of file diff --git a/styles/main.js b/styles/main.js new file mode 100644 index 0000000..e47a88e --- /dev/null +++ b/styles/main.js @@ -0,0 +1 @@ +"use strict";var NDLoader=new function(){this.JSLinks_All=["DefaultJS/NDCore.js"];this.JSLinks_Frame=["DefaultJS/NDFramePage.js","DefaultJS/NDMenu.js","DefaultJS/NDSummary.js","DefaultJS/NDSearch.js"];this.JSLinks_Content=["DefaultJS/NDContentPage.js"];this.JSLinks_Home=[];this.LoadJS=function(pageType,relativePrefix){this.LoadJSArray(this.JSLinks_All,relativePrefix);this.LoadJSArray(this['JSLinks_'+pageType],relativePrefix);};this.LoadJSArray=function(links,relativePrefix){if(navigator.userAgent.indexOf('KHTML')!=-1){for(var i=0;i');}}else{var head=document.getElementsByTagName('head')[0];for(var i=0;i