This commit is contained in:
Vasily Petrov 2026-06-18 01:18:29 +03:00
commit 2fe6ca2f65
1473 changed files with 251771 additions and 0 deletions

View file

@ -0,0 +1,34 @@
class "opt_controls" (CUIWindow)
function opt_controls:__init() super()
end
function opt_controls:__finalize()
end
function opt_controls:InitControls(x, y, xml, handler)
self:SetWndPos(vector2():set(x,y))
self:SetWndSize(vector2():set(738,416))
self:SetAutoDelete(true)
-- self.bk = xml:InitFrame("frame", self)
xml:InitStatic ("tab_controls:cap_mousesens", self)
xml:InitTrackBar ("tab_controls:track_mousesens", self)
xml:InitStatic ("tab_controls:cap_mousesens_ui", self)
xml:InitTrackBar ("tab_controls:track_mousesens_ui", self)
xml:InitFrameLine ("tab_controls:cap_keyboardsetup", self)
xml:InitFrameLine ("tab_controls:cap_keyboardsetup", self)
xml:InitStatic ("tab_controls:cap_check_mouseinvert", self)
xml:InitCheck ("tab_controls:check_mouseinvert", self)
xml:InitKeyBinding ("tab_controls:key_binding", self)
local btn
btn = xml:Init3tButton("tab_controls:btn_default", self)
handler:Register(btn, "btn_keyb_default")
end