Changeset 1813

Show
Ignore:
Timestamp:
05/03/09 09:07:45 (4 years ago)
Author:
mösi
Message:

• Ein paar Variablen umbenannt
• BSTcapsChars erlaubt nunmehr als Konstante, die Bildschirmtastatur immer nur mit Großbuchstaben (Ebenen 1 und 2) darzustellen, wie es der Beschriftung von Tastaturen entspricht.

Location:
windows/neo-vars/src/source
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • windows/neo-vars/src/source/levelfunctions.ahk

    r1808 r1813  
    3030    EbeneNC := EbeneC            ; NC: gleich 
    3131  } 
    32   if (guiErstellt) { 
     32  if (BSTguiErstellt) { 
    3333    if (striktesMod2Lock) 
    3434      BSTSwitch(EbeneC) 
    35     else if ((EbeneNC < 3) and (EbeneNC != EbeneC)) 
     35    else if (EbeneNC != EbeneC) 
    3636      BSTSwitch(EbeneNC . "C") 
    3737    else 
  • windows/neo-vars/src/source/screenkeyboard.ahk

    r1812 r1813  
    1 guiErstellt := 0 
    2 alwaysOnTop := 1 
     1BSTguiErstellt := 0 
     2BSTalwaysOnTop := 1 
     3BSTcapsChars   := 0 
    34 
    45if (FileExist("ResourceFolder")<>false) { 
     
    1920  global 
    2021  if (Eb <> BSTEbeneAlt) { 
    21     GuiControl,Show,Picture%Eb% 
     22    BSTeb := Eb 
     23    if (BSTcapsChars) { 
     24      if (BSTeb == "1") 
     25        BSTeb := "1C" 
     26      else if (BSTeb == "2C") 
     27        BSTeb := "2" 
     28    } 
     29    GuiControl,Show,Picture%BSTeb% 
    2230    GuiControl,Hide,Picture%BSTEbeneAlt% 
    2331    BSTEbeneAlt := Eb 
     
    2735BSTToggle() { 
    2836  global 
    29   if (guiErstellt) { 
    30     guiErstellt := 0 
     37  if (BSTguiErstellt) { 
     38    BSTguiErstellt := 0 
    3139    Gui, Destroy 
    3240  } else { 
     
    4553    Gui, Show, y%yposition% w776 h200 NoActivate, NEO-Bildschirmtastatur 
    4654    BSTEbeneAlt := 1 
    47     guiErstellt := 1 
     55    BSTguiErstellt := 1 
    4856    BSTSwitch(EbeneNC) 
    49     alwaysOnTop := 1 
     57    BSTalwaysOnTop := 1 
    5058  } 
    5159} 
     
    5361BSTToggleAlwaysOnTop() { 
    5462  global 
    55   if (alwaysOnTop) { 
     63  if (BSTalwaysOnTop) { 
    5664    Gui, -AlwaysOnTop 
    57     alwaysOnTop := 0     
     65    BSTalwaysOnTop := 0     
    5866  } else { 
    5967    Gui, +AlwaysOnTop 
    60     alwaysOnTop := 1 
     68    BSTalwaysOnTop := 1 
    6169  } 
    6270} 
     
    7179  global 
    7280  ; Bildschirmtastatur AlwaysOnTop 
    73   if (guiErstellt) 
     81  if (BSTguiErstellt) 
    7482    BSTToggleAlwaysOnTop() 
    7583} 
    76