fixed bug: Windows 8 does not have a "Start button" any more.

changed documentation: Config_*Color
This commit is contained in:
joten 2013-01-17 21:21:28 +01:00
parent d719c1e1de
commit dc84157087
2 changed files with 33 additions and 27 deletions

View file

@ -277,7 +277,7 @@ Bar_getHeight()
{ {
WinGetPos, , , , buttonH, Start ahk_class Button WinGetPos, , , , buttonH, Start ahk_class Button
WinGetPos, , , , barH, ahk_class Shell_TrayWnd WinGetPos, , , , barH, ahk_class Shell_TrayWnd
If (buttonH < barH) If WinExist("Start ahk_class Button") And (buttonH < barH)
Bar_height := buttonH Bar_height := buttonH
Else Else
Bar_height := barH Bar_height := barH

View file

@ -62,38 +62,44 @@
Color and Appearance" settings for the "Active Title Bar". Color and Appearance" settings for the "Active Title Bar".
: **Config_normBgColor**=<COLOR_MENU>;<COLOR_INACTIVECAPTION>;<COLOR_GRADIENTINACTIVECAPTION>;Red;<COLOR_GRADIENTINACTIVECAPTION> : **Config_normBgColor**=<COLOR_MENU>;<COLOR_INACTIVECAPTION>;<COLOR_GRADIENTINACTIVECAPTION>;Red;<COLOR_GRADIENTINACTIVECAPTION>
The normal background color of bar elements. The first value is the The normal background color of the following bar elements:
color for views without windows, the title bar and time. The second 1. inactive views, title and time
value is the color for the layout symbol, the any-text (i. a. date) and 2. the layout symbol, the any-text (i. a. date) and the button for the
the button for the command GUI (#!). The third value is the background command GUI (#!).
color of the progress bar indicating an inactive view and a charging 3. the progress bar indicating a charging or full battery
battery, the fourth value is the background color of the progress bar 4. the progress bar indicating a discharging battery with a remaining
indicating a discharging battery with a remaining charge of less than charge of less than ten percent
ten percent, the fifth value is the background color of the progress 5. the progress bar indicating a charging battery
bar indicating a charging battery. The default values are retrieved
from the "Window Color and Appearance" settings. The default values are retrieved from the "Window Color and Appearance"
settings.
: **Config_normFgColor**=<COLOR_MENUTEXT>;Default;<COLOR_INACTIVECAPTION>;<COLOR_INACTIVECAPTIONTEXT>;<COLOR_HIGHLIGHT>;White;Default;<COLOR_INACTIVECAPTION> : **Config_normFgColor**=<COLOR_MENUTEXT>;Default;<COLOR_INACTIVECAPTION>;<COLOR_INACTIVECAPTIONTEXT>;<COLOR_HIGHLIGHT>;White;Default;<COLOR_INACTIVECAPTION>
The normal foreground color of bar elements. The first two values are The normal foreground color of the following bar elements:
the text colors for the first two elements as described above. The 1. the text of inactive views, title and time
third value is the forground color of the progress bar and the fourth 2. the text of the layout symbol, a full battery, the any-text (i. a.
value the text color indicating an inactive view and a charging date) and the button for the command GUI (#!)
battery. The fifth value is the foreground color of a progress bar 3. the progress bar indicating a charging battery?
indicating a discharging battery. The sixth value is the text color 4. the text indicating a discharging battery
indicating a dischargin battery with a remaining charge of less than 5. the progress bar indicating a discharging battery
ten percent. The seventh value is the text color indicating a charging 6. the text indicating a discharging battery with a remaining charge of
battery. The eighth value is the foreground color of a progress bar less than ten percent?
indicating a chargin battery. The default values are retrieved from the 7. the text indicating a charging battery?
"Window Color and Appearance" settings. 8. the progress bar indicating an inactive view and a charging battery?
The default values are retrieved from the "Window Color and Appearance"
settings.
: **Config_selBgColor**=<COLOR_GRADIENTACTIVECAPTION> : **Config_selBgColor**=<COLOR_GRADIENTACTIVECAPTION>
The background color of a progress bar indicating an active view or The background color of a progress bar indicating an active view.
discharging battery status. The default values are retrieved from the
"Window Color and Appearance" settings. The default values are retrieved from the "Window Color and Appearance"
settings.
: **Config_selFgColor**=<COLOR_CAPTIONTEXT>;<COLOR_ACTIVECAPTION> : **Config_selFgColor**=<COLOR_CAPTIONTEXT>;<COLOR_ACTIVECAPTION>
The first color is the text color, the second the foreground color of a 1. The text color and
progress bar indicating an active view or discharging battery status. 2. the foreground color of a progress bar indicating an active view.
The default values are retrieved from the "Window Color and Appearance" The default values are retrieved from the "Window Color and Appearance"
settings. settings.