# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,175,79)
  Text = ("U-Studio - Ulanzi Deck Konfigurator")
  Resizable = False
  Utility = True
  SkipTaskbar = True
  { PictureBox3 PictureBox
    MoveScaled(32,51,42,18)
    Border = Border.Etched
  }
  { URLLabel1 URLLabel
    MoveScaled(131,73,36,4)
    Text = ("https://github.com/doitian/ulanzi-studio-niri")
    Link = "https://github.com/doitian/ulanzi-studio-niri"
  }
  { PictureBox2 PictureBox
    MoveScaled(6,2,68,7)
    Border = Border.Etched
  }
  { PictureBox1 PictureBox
    MoveScaled(77,-2,48,81)
    Border = Border.Etched
  }
  { CboPage ComboBox
    MoveScaled(8,3.5714,40,4)
  }
  { AddPageBtn Button
    MoveScaled(49,4,5,3)
    Text = ("+")
  }
  { DelPageBtn Button
    MoveScaled(55,4,5,3)
    Text = ("-")
  }
  { RenPageBtn Button
    MoveScaled(61,4,12,3)
    Text = ("Umben.")
  }
  { Btn0 Button
    MoveScaled(6,11,12,10)
  }
  { Btn1 Button
    MoveScaled(20,11,12,10)
  }
  { Btn2 Button
    MoveScaled(34,11,12,10)
  }
  { Btn3 Button
    MoveScaled(48,11,12,10)
  }
  { Btn4 Button
    MoveScaled(62,11,12,10)
  }
  { Btn5 Button
    MoveScaled(6,23,12,10)
  }
  { Btn6 Button
    MoveScaled(20,23,12,10)
  }
  { Btn7 Button
    MoveScaled(34,23,12,10)
  }
  { Btn8 Button
    MoveScaled(48,23,12,10)
  }
  { Btn9 Button
    MoveScaled(62,23,12,10)
  }
  { Btn10 Button
    MoveScaled(6,35,12,10)
  }
  { Btn11 Button
    MoveScaled(20,35,12,10)
  }
  { Btn12 Button
    MoveScaled(34,35,12,10)
  }
  { Btn13 Button
    MoveScaled(48,35,26,10)
  }
  { Btn14 Button
    MoveScaled(1,89,6,7)
    Visible = False
  }
  { !TxtLabel TextBox
    MoveScaled(81,1,42,4)
    #Public = True
    Font = Font["Bold"]
    Alignment = Align.Center
  }
  { !BtnTypeExec Button
    MoveScaled(81,11,38.5714,4)
    #Public = True
    Text = ("exec / start program")
    Border = False
  }
  { !BtnTypeUrl Button
    MoveScaled(81,26,38.5714,4)
    #Public = True
    Text = ("url / open url or command")
    Border = False
  }
  { !BtnTypeNiri Button
    MoveScaled(81,16,38.5714,4)
    #Public = True
    Text = ("niri / niri command")
    Border = False
  }
  { !BtnTypeMedia Button
    MoveScaled(81,31,38.5714,4)
    #Public = True
    Text = ("media / send media commands")
    Border = False
  }
  { !BtnTypeKeys Button
    MoveScaled(81,21,38.5714,4)
    #Public = True
    Text = ("keys / send key(s)")
    Border = False
  }
  { !BtnTypeScreenshot Button
    MoveScaled(81,36,38.5714,4)
    #Public = True
    Text = ("screenshot")
    Border = False
  }
  { !BtnTypePage Button
    MoveScaled(81,46,38.5714,4)
    #Public = True
    Text = ("page /  goto page")
    Border = False
  }
  { !BtnTypeBrightness Button
    MoveScaled(2,97,33,4)
    #Public = True
    Text = ("brightness")
  }
  { !BtnTypeSmallWin Button
    MoveScaled(7,91,38.5714,4)
    #Public = True
    Text = ("special functions")
    Border = False
  }
  { !BtnTypeNoop Button
    MoveScaled(81,41,38.5714,4)
    #Public = True
    Text = ("noop")
    Border = False
  }
  { !TxtImage TextBox
    MoveScaled(80,58,36,4)
    #Public = True
  }
  { !TxtCmd TextBox
    MoveScaled(80,69,43,4)
    #Public = True
  }
  { !ApplyBtn Button
    MoveScaled(80,74,14,4)
    #Public = True
    Text = ("set  button")
  }
  { !SaveBtn Button
    MoveScaled(109,74,14,4)
    #Public = True
    Text = ("save")
  }
  { LblTitle Label
    MoveScaled(6,46,62,3)
    Alignment = Align.Left
  }
  { LblInfo Label
    MoveScaled(1,75,78,3)
    Font = Font["Bold"]
  }
  { ConfigBtn Button
    MoveScaled(125,1,6,6)
    Picture = Picture["config.png"]
    Border = False
  }
  { tmrUlanzi #Timer
  }
  { !PicPrev PictureBox
    MoveScaled(58,53,15,14)
    #Public = True
    Stretch = True
    Border = Border.Styled
  }
  { chkonlinebutton CheckBox
    MoveScaled(44,45,30,4)
    Direction = Direction.RightToLeft
    Text = ("scan press on Stream Deck")
  }
  { lblstatus Label
    MoveScaled(38.8571,45.1429,9,4)
    Foreground = Color.Red
    Text = ("(OFF)")
  }
  { !Timer1 #Timer
    #MoveScaled(1,51)
    #Public = True
    Enabled = True
    Delay = 5000
  }
  { SwitchButton1 SwitchButton
    MoveScaled(81,53,7,3)
    Value = True
  }
  { lbltimer1 Label
    MoveScaled(1,70,73,5)
  }
  { Label1 Label
    MoveScaled(90,52,33,4)
    Text = ("refresh sensors from sensors.sh")
  }
  { cmbsensorlist ComboBox
    MoveScaled(81,6,27,4)
  }
  { Button1 Button
    MoveScaled(109,6,4,4)
    Text = ("+")
  }
  { Button2 Button
    MoveScaled(114,6,4,4)
    Text = ("-")
  }
  { chkshowTitel CheckBox
    MoveScaled(35,54,14,3)
    Direction = Direction.RightToLeft
    Text = ("Show Titel")
    Value = CheckBox.True
  }
  { txttielsize TextBox
    MoveScaled(50,53,6,4)
    Text = ("28")
  }
  { txtdatesize TextBox
    MoveScaled(50,63,6,4)
    Text = ("28")
  }
  { txtvaluesize TextBox
    MoveScaled(50,58,6,4)
    Text = ("36")
  }
  { chkshowdate CheckBox
    MoveScaled(35,63,14,3)
    Direction = Direction.RightToLeft
    Text = ("Show Time")
    Value = CheckBox.True
  }
  { btnshowsensors Button
    MoveScaled(119,6,4,4)
    Text = ("?")
  }
  { TextArea1 TextArea
    MoveScaled(131,2,41,52)
  }
  { Button3 Button
    MoveScaled(166,73,7,4)
    Text = ("close")
  }
  { TextArea2 TextArea
    MoveScaled(131,55,41,18)
    Text = ("Trigger Niri actions (niri msg action ...)\nLaunch arbitrary commands\nControl media (playerctl / wpctl)\nTake screenshots (grim / slurp)\nSend keystrokes (wtype / ydotool)\nSwitch between configured pages")
  }
  { btnopenicons Button
    MoveScaled(117,58,6,7)
    Text = ("") & "..."
  }
  { Label2 Label
    MoveScaled(18,50,17,5)
    Text = ("Sensor config :")
  }
  { rbIcons RadioButton
    MoveScaled(80,63,17,3)
    Text = ("Select icons")
    Value = True
  }
  { rbsenors RadioButton
    MoveScaled(95,63,22,3)
    Text = ("Select sensor image")
  }
}
