-
Notifications
You must be signed in to change notification settings - Fork 1
/
add.lua
executable file
·45 lines (35 loc) · 927 Bytes
/
add.lua
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
43
44
45
----add.lua--------
--printddd(MaxWindowID)
globalString = "globalStringkk1"
kkjjf =
{
localStringKey = "localStringpp2",
}
print(MaxWindowID)
print("WindowType_Button_" .. eWindowType.WindowType_Button)
print("WindowType_Text_" .. eWindowType.WindowType_Text)
function add( x, y )
local width = luaGetWindowWidth(111)
print(width)
luaSetWindowWidth(111, 33)
local width2, height2 = luaGetWindowWidthHeight(111)
print(width2)
print(height2)
local windowText = luaGetWindowText(1)
print(windowText)
luaSetWindowText(111, "kkk")
local _posX = WindowHelp.GetWindowPosX(111)
print("WindowHelp_" .. _posX)
local _texture = WindowHelp.GetWindowTexture(33)
print("WindowHelp_" .. _texture)
end
adddd =
{
add = function(x,y,z) return x*y, z end,
ccc =
{
add2 = function(x,y,z) return x*y, z, luaGetWindowIDByName("oil") end,
kk = "jjd",
kk33 = 33,
}
}