Witam.
Pytanie odnosi si? do editbox?w.
Aktualnie mam proste z gui.
Jak je ?atwo i zrozumiale dla mnie zamieni? na jakie? customowe, stworzone, jakie? ?adne bym wola?. Jak si? zabra? do tego?
Witam, co mam ?le w tworzeniu editboxa?
Kod na editboxy
c_side
[lua]
local x, y = guiGetScreenSize ( )
local sx,sy = x,y
function isMouseInPosition ( x, y, width, height )
if ( not isCursorShowing( ) ) then
return false
end
local sx, sy = guiGetScreenSize ( )
local cx, cy = getCursorPosition ( )
local cx, cy = ( cx * sx ), ( cy * sy )
if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then
return true
else
return false
end
end
function deleteLastLetter(text,ile)
if tostring(text) and tonumber(ile) then
asd = utf8.sub(text, 1, string.len(text)-ile)
return asd
end
return false
end
bold = dxCreateFont ("Raleway-Bold.ttf", 9)
light = dxCreateFont ("Raleway-Light.ttf", 12)
medium = dxCreateFont ("Raleway-Medium.ttf", 20)
dxGui={
allowLetters={ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k","l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"},
button={}, -- zrobione
combobox={...
Witam, przychodz? do was z pytaniem o editboxy. Nie mam poj?cia jak je ogarn??. Nie mam na my?li, ?e chce od razu napisa? po swojemu tylko je ogarn??, jaki? poradnik znajd?? Albo pode?le kto? skrypt/kod z kt?rego si? naucz?? Chodzi o wyt?umaczenie.
Cze??. Ot?? chcia?bym zapyta?. Istnieje mo?liwo?? usuni?cia bia?ego t?a z editbox?w w klasycznym gui? Jest mi to do?? potrzebne, poniewa? nie chc? robi? specjalnie nowego systemu GUI, za wszelk? pomoc daj? piwo