updated docs: generalized header and footer for html and txt
fixed docs: links fixed bug: #18356 (Missing bar elements on Windows XP.) updated : version to 8.2.1
This commit is contained in:
parent
963951ff6a
commit
9ff5ef80bf
9 changed files with 89 additions and 54 deletions
|
@ -15,7 +15,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @version 8.2.0.03 (31.08.2011)
|
||||
* @version 8.2.1.01 (31.08.2011)
|
||||
*/
|
||||
|
||||
Bar_init(m) {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @version 8.2.0.03 (02.09.2011)
|
||||
* @version 8.2.1.01 (14.09.2011)
|
||||
*/
|
||||
|
||||
Config_init() {
|
||||
|
@ -134,7 +134,7 @@ Config_getSystemSettings() {
|
|||
Global Config_fontName, Config_fontSize, Config_normBgColor, Config_normFgColor, Config_selBgColor, Config_selFgColor
|
||||
|
||||
If Not Config_fontName {
|
||||
ncmSize := VarSetCapacity(ncm, 44 + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
ncmSize := VarSetCapacity(ncm, 4 * (A_OSVersion = WIN_VISTA ? 11 : 10) + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
NumPut(ncmSize, ncm, 0, "UInt")
|
||||
DllCall("SystemParametersInfo", "UInt", 0x0029, "UInt", ncmSize, "UInt", &ncm, "UInt", 0)
|
||||
|
||||
|
@ -145,7 +145,7 @@ Config_getSystemSettings() {
|
|||
; maestrith: Script Writer (http://www.autohotkey.net/~maestrith/Script Writer/)
|
||||
}
|
||||
If Not Config_fontSize {
|
||||
ncmSize := VarSetCapacity(ncm, 44 + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
ncmSize := VarSetCapacity(ncm, 4 * (A_OSVersion = WIN_VISTA ? 11 : 10) + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
NumPut(ncmSize, ncm, 0, "UInt")
|
||||
DllCall("SystemParametersInfo", "UInt", 0x0029, "UInt", ncmSize, "UInt", &ncm, "UInt", 0)
|
||||
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @version 8.2.0.03 (21.08.2011)
|
||||
* @version 8.2.1.01 (14.09.2011)
|
||||
*/
|
||||
|
||||
NAME := "bug.n"
|
||||
VERSION := "8.2.0"
|
||||
VERSION := "8.2.1"
|
||||
|
||||
; script settings
|
||||
OnExit, Main_cleanup
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @version 8.2.0.03 (02.09.2011)
|
||||
* @version 8.2.1.01 (02.09.2011)
|
||||
*/
|
||||
|
||||
Manager_init() {
|
||||
|
@ -29,7 +29,7 @@ Manager_init() {
|
|||
DllCall("SetSysColors", "Int", 1, "Int*", 10, "UInt*", Config_selBorderColor)
|
||||
}
|
||||
If (Config_borderWidth > 0) Or (Config_borderPadding >= 0 And A_OSVersion = WIN_VISTA) {
|
||||
ncmSize := VarSetCapacity(ncm, 44 + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
ncmSize := VarSetCapacity(ncm, 4 * (A_OSVersion = WIN_VISTA ? 11 : 10) + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
NumPut(ncmSize, ncm, 0, "UInt")
|
||||
DllCall("SystemParametersInfo", "UInt", 0x0029, "UInt", ncmSize, "UInt", &ncm, "UInt", 0)
|
||||
Manager_borderWidth := NumGet(ncm, 4, "Int")
|
||||
|
@ -147,7 +147,7 @@ Manager_cleanup() {
|
|||
If Config_selBorderColor
|
||||
DllCall("SetSysColors", "Int", 1, "Int*", 10, "UInt*", Manager_normBorderColor)
|
||||
If (Config_borderWidth > 0) Or (Config_borderPadding >= 0 And A_OSVersion = WIN_VISTA) {
|
||||
ncmSize := VarSetCapacity(ncm, 44 + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
ncmSize := VarSetCapacity(ncm, 4 * (A_OSVersion = WIN_VISTA ? 11 : 10) + 5 * (28 + 32 * (A_IsUnicode ? 2 : 1)), 0)
|
||||
NumPut(ncmSize, ncm, 0, "UInt")
|
||||
DllCall("SystemParametersInfo", "UInt", 0x0029, "UInt", ncmSize, "UInt", &ncm, "UInt", 0)
|
||||
If (Config_borderWidth > 0)
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @version 8.2.0.03 (21.08.2011)
|
||||
* @version 8.2.1.01 (21.08.2011)
|
||||
*/
|
||||
|
||||
Monitor_init(m) {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @version 8.2.0.03 (11.08.2011)
|
||||
* @version 8.2.1.01 (11.08.2011)
|
||||
*/
|
||||
|
||||
View_init(m, v) {
|
||||
|
|
|
@ -2,22 +2,30 @@
|
|||
%!encoding: utf-8
|
||||
%!options(html): --css-sugar -o configuration.html
|
||||
%!style(html): http://bugn.berlios.de/styles.css
|
||||
%!preproc(html): '%%html: ' ''
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<TITLE>bug.n configuration variables</TITLE>'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<LINK REL="icon" HREF="http://bugn.berlios.de/images/jn.ico" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="author" CONTENT="joten" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="keywords" CONTENT="AutoHotkey, joten, bug.n, tiling, window management" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="description" CONTENT="bug.n - Tiling Window Manager" />'
|
||||
%!postproc(html): '<H1>' '<H1 ID="bugn">'
|
||||
%!postproc(html): '%%LINK_hotkeys' '<A HREF="https://developer.berlios.de/docman/display_doc.php?docid=2054&group_id=12477">bug.n/hotkeys</A>'
|
||||
%!postproc(html): '\(c\)' '©'
|
||||
%!preproc(html): '%%html: ' ''
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<TITLE>berliOS project: bug.n -- Configuration</TITLE>'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<LINK REL="icon" HREF="http://bugn.berlios.de/images/bugn.ico" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="author" CONTENT="joten" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="keywords" CONTENT="AutoHotkey, joten, bug.n, tiling, window management" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="description" CONTENT="bug.n - Tiling Window Manager" />'
|
||||
%!postproc(html): '<TD><IMG ALIGN="middle" SRC="bugn.png"' '<TD ID="bugn"><IMG ALIGN="middle" SRC="http://bugn.berlios.de/images/bugn.png"'
|
||||
%!postproc(html): ' -- ' ' – '
|
||||
%!postproc(html): 'config.png"' 'http://bugn.berlios.de/images/config.png"'
|
||||
%!postproc(html): 'jn.png"' 'http://bugn.berlios.de/images/jn.png"'
|
||||
%!postproc(html): '%%LINK_hotkeys' '<A HREF="https://developer.berlios.de/docman/display_doc.php?docid=2054&group_id=12477">bug.n/hotkeys</A>'
|
||||
%!postproc(html): '\(c\)' '©'
|
||||
%!options(txt): -o configuration.txt
|
||||
%!preproc(txt): '%%txt: ' ''
|
||||
%!postproc(txt): '%%LINK_hotkeys' 'docs/hotkeys.txt'
|
||||
%!postproc(txt): '<BR>' ''
|
||||
%!preproc(txt): '%%txt: ' ''
|
||||
%!postproc(txt): '%%LINK_hotkeys' 'docs/hotkeys.txt'
|
||||
%!postproc(txt): '<DIV ID="frame">' ''
|
||||
%!postproc(txt): '<BR>' ''
|
||||
|
||||
= bug.n/configuration =
|
||||
------------------------------------------------------------------------
|
||||
''' <DIV ID="frame">
|
||||
%%html: ''' <DIV CLASS="header">
|
||||
%%html: | [bugn.png] | bug.n -- Configuration | [config.png]
|
||||
%%txt: =bug.n -- Configuration=
|
||||
%%html: ------------------------------------------------------------------------
|
||||
%%html: ''' </DIV>
|
||||
|
||||
=== bug.n GUI ===
|
||||
|
||||
|
@ -275,6 +283,9 @@ settings.
|
|||
|
||||
|
||||
''<BR>''
|
||||
%%html: ''' <DIV CLASS="footer">
|
||||
------------------------------------------------------------------------
|
||||
%%html: (c) 2010-2011 joten, last modified %%date(%d.%m.%Y) ([View txt2tags source %%infile]) [http://bugn.berlios.de/images/jn.png]
|
||||
%%txt: (c) 2010-2011 joten, last modified %%date(%d.%m.%Y)
|
||||
%%html: | (c) 2010-2011 joten, last modified %%date(%d.%m.%Y) | [jn.png]
|
||||
%%html: ''' </DIV>
|
||||
%%html: ''' </DIV>
|
||||
|
|
|
@ -2,25 +2,33 @@
|
|||
%!encoding: utf-8
|
||||
%!options(html): --css-sugar -o help.html
|
||||
%!style(html): http://bugn.berlios.de/styles.css
|
||||
%!preproc(html): '%%html: ' ''
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<TITLE>bug.n help</TITLE>'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<LINK REL="icon" HREF="http://bugn.berlios.de/images/jn.ico" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="author" CONTENT="joten" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="keywords" CONTENT="AutoHotkey, joten, bug.n, tiling, window management" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="description" CONTENT="bug.n - Tiling Window Manager" />'
|
||||
%!postproc(html): '<H1>' '<H1 ID="bugn">'
|
||||
%!preproc(html): '%%html: ' ''
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<TITLE>berliOS project: bug.n -- Help</TITLE>'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<LINK REL="icon" HREF="http://bugn.berlios.de/images/bugn.ico" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="author" CONTENT="joten" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="keywords" CONTENT="AutoHotkey, joten, bug.n, tiling, window management" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="description" CONTENT="bug.n - Tiling Window Manager" />'
|
||||
%!postproc(html): '<TD><IMG ALIGN="middle" SRC="bugn.png"' '<TD ID="bugn"><IMG ALIGN="middle" SRC="http://bugn.berlios.de/images/bugn.png"'
|
||||
%!postproc(html): ' -- ' ' – '
|
||||
%!postproc(html): 'help.png"' 'http://bugn.berlios.de/images/help.png"'
|
||||
%!postproc(html): 'jn.png"' 'http://bugn.berlios.de/images/jn.png"'
|
||||
%!postproc(html): '">http://www.autohotkey.com/' '" TARGET="_blank">http://www.autohotkey.com/'
|
||||
%!postproc(html): '%%LINK_configuration' '<A HREF="https://developer.berlios.de/docman/display_doc.php?docid=2052&group_id=12477">bug.n/configuration</A>'
|
||||
%!postproc(html): '%%LINK_hotkeys' '<A HREF="https://developer.berlios.de/docman/display_doc.php?docid=2054&group_id=12477">bug.n/hotkeys</A>'
|
||||
%!postproc(html): '\(c\)' '©'
|
||||
%!postproc(html): '%%LINK_hotkeys' '<A HREF="https://developer.berlios.de/docman/display_doc.php?docid=2054&group_id=12477">bug.n/hotkeys</A>'
|
||||
%!postproc(html): '\(c\)' '©'
|
||||
%!options(txt): -o help.txt
|
||||
%!preproc(txt): '%%txt: ' ''
|
||||
%!postproc(txt): '<BR>' ''
|
||||
%!preproc(txt): '%%txt: ' ''
|
||||
%!postproc(txt): '<DIV ID="frame">' ''
|
||||
%!postproc(txt): '<BR>' ''
|
||||
%!postproc(txt): '%%LINK_configuration' 'docs/configuration.txt'
|
||||
%!postproc(txt): '%%LINK_hotkeys' 'docs/hotkeys.txt'
|
||||
%!postproc(txt): '%%LINK_hotkeys' 'docs/hotkeys.txt'
|
||||
|
||||
= bug.n/help =
|
||||
------------------------------------------------------------------------
|
||||
''' <DIV ID="frame">
|
||||
%%html: ''' <DIV CLASS="header">
|
||||
%%html: | [bugn.png] | bug.n -- Help | [help.png]
|
||||
%%txt: =bug.n -- Help=
|
||||
%%html: ------------------------------------------------------------------------
|
||||
%%html: ''' </DIV>
|
||||
|
||||
bug.n is a tiling window manager for Microsoft Windows.''<BR>''
|
||||
The advantages of tiling window management over the standard stacking
|
||||
|
@ -171,7 +179,11 @@ The following functions can also be controlled with the mouse:
|
|||
- A function can be selected from a list in the command GUI, which is
|
||||
accessible by cklickig on "#!" on the right end of the status bar.
|
||||
|
||||
|
||||
''<BR>''
|
||||
%%html: ''' <DIV CLASS="footer">
|
||||
------------------------------------------------------------------------
|
||||
%%html: (c) 2010-2011 joten, last modified %%date(%d.%m.%Y) ([View txt2tags source %%infile]) [http://bugn.berlios.de/images/jn.png]
|
||||
%%txt: (c) 2010-2011 joten, last modified %%date(%d.%m.%Y)
|
||||
%%html: | (c) 2010-2011 joten, last modified %%date(%d.%m.%Y) | [jn.png]
|
||||
%%html: ''' </DIV>
|
||||
%%html: ''' </DIV>
|
||||
|
|
|
@ -2,20 +2,28 @@
|
|||
%!encoding: utf-8
|
||||
%!options(html): --css-sugar -o hotkeys.html
|
||||
%!style(html): http://bugn.berlios.de/styles.css
|
||||
%!preproc(html): '%%html: ' ''
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<TITLE>bug.n hotkeys</TITLE>'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<LINK REL="icon" HREF="http://bugn.berlios.de/images/jn.ico" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="author" CONTENT="joten" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="keywords" CONTENT="AutoHotkey, joten, bug.n, tiling, window management" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="description" CONTENT="bug.n - Tiling Window Manager" />'
|
||||
%!postproc(html): '<H1>' '<H1 ID="bugn">'
|
||||
%!postproc(html): '\(c\)' '©'
|
||||
%!preproc(html): '%%html: ' ''
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<TITLE>berliOS project: bug.n -- Hotkeys</TITLE>'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<LINK REL="icon" HREF="http://bugn.berlios.de/images/bugn.ico" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="author" CONTENT="joten" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="keywords" CONTENT="AutoHotkey, joten, bug.n, tiling, window management" />'
|
||||
%!postproc(html): '<HEAD>' '<HEAD>\n<META NAME="description" CONTENT="berliOS project: bug.n - Tiling Window Manager" />'
|
||||
%!postproc(html): '<TD><IMG ALIGN="middle" SRC="bugn.png"' '<TD ID="bugn"><IMG ALIGN="middle" SRC="http://bugn.berlios.de/images/bugn.png"'
|
||||
%!postproc(html): ' -- ' ' – '
|
||||
%!postproc(html): 'hotkeys.png"' 'http://bugn.berlios.de/images/hotkeys.png"'
|
||||
%!postproc(html): 'jn.png"' 'http://bugn.berlios.de/images/jn.png"'
|
||||
%!postproc(html): '\(c\)' '©'
|
||||
%!options(txt): -o hotkeys.txt
|
||||
%!preproc(txt): '%%txt: ' ''
|
||||
%!postproc(txt): '<BR>' ''
|
||||
%!preproc(txt): '%%txt: ' ''
|
||||
%!postproc(txt): '<DIV ID="frame">' ''
|
||||
%!postproc(txt): '<BR>' ''
|
||||
|
||||
= bug.n/hotkeys =
|
||||
------------------------------------------------------------------------
|
||||
''' <DIV ID="frame">
|
||||
%%html: ''' <DIV CLASS="header">
|
||||
%%html: | [bugn.png] | bug.n -- Hotkeys | [hotkeys.png]
|
||||
%%txt: =bug.n -- Hotkeys=
|
||||
%%html: ------------------------------------------------------------------------
|
||||
%%html: ''' </DIV>
|
||||
|
||||
=== General description ===
|
||||
|
||||
|
@ -204,7 +212,11 @@ pressing the left Windows key and the shift key and the q key
|
|||
: #^q::**ExitApp
|
||||
Quit bug.n, restore the default Windows UI and show all windows.
|
||||
|
||||
|
||||
''<BR>''
|
||||
%%html: ''' <DIV CLASS="footer">
|
||||
------------------------------------------------------------------------
|
||||
%%html: (c) 2010-2011 joten, last modified %%date(%d.%m.%Y) ([View txt2tags source %%infile]) [http://bugn.berlios.de/images/jn.png]
|
||||
%%txt: (c) 2010-2011 joten, last modified %%date(%d.%m.%Y)
|
||||
%%html: | (c) 2010-2011 joten, last modified %%date(%d.%m.%Y) | [jn.png]
|
||||
%%html: ''' </DIV>
|
||||
%%html: ''' </DIV>
|
||||
|
|
Loading…
Reference in a new issue