summaryrefslogtreecommitdiffstats
path: root/windows/neo-vars/src/source/screenkeyboard.ahk
blob: 56ba5db18e9f056612c8984b83fddc92dcdec592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
BSTSwitch(Eb) {
  global
  if (Eb <> EbeneAlt) {
    GuiControl,Show,Picture%Eb%
    GuiControl,Hide,Picture%EbeneAlt%
    EbeneAlt := Eb
  }
}

BSTToggle() {
  global
  if (guiErstellt) {
    guiErstellt := 0
    Gui, Destroy
  } else {
    yPosition := A_ScreenHeight -270
    Gui, Color, FFFFFF
    Gui, Add, Picture,AltSubmit x0   y0   w729 h199        vPicture1, % ResourceFolder . "\ebene1.png"
    Gui, Add, Picture,AltSubmit xp+0 yp+0 w729 h199 Hidden vPicture2, % ResourceFolder . "\ebene2.png"
    Gui, Add, Picture,AltSubmit xp+0 yp+0 w729 h199 Hidden vPicture3, % ResourceFolder . "\ebene3.png"
    Gui, Add, Picture,AltSubmit xp+0 yp+0 w729 h199 Hidden vPicture4, % ResourceFolder . "\ebene4.png"
    Gui, Add, Picture,AltSubmit xp+0 yp+0 w729 h199 Hidden vPicture5, % ResourceFolder . "\ebene5.png"
    Gui, Add, Picture,AltSubmit xp+0 yp+0 w729 h199 Hidden vPicture6, % ResourceFolder . "\ebene6.png"
    Gui, +AlwaysOnTop
    Gui, Show, y%yposition% Autosize
    BSTEbeneAlt := 1
    guiErstellt := 1
    BSTSwitch(EbeneNC)
    alwaysOnTop := 1
  }
}

BSTToggleAlwaysOnTop() {
  global
  if (alwaysOnTop) {
    Gui, -AlwaysOnTop
    alwaysOnTop := 0    
  } else {
    Gui, +AlwaysOnTop
    alwaysOnTop := 1
  }
}