Panel:DrawTextEntryText
Örnek
Varsayılan derma görünümünde kullanılan paint (çizim) fonksiyonu.
function SKIN:PaintTextEntry( panel, w, h )
if ( panel.m_bBackground ) then
if ( panel:GetDisabled() ) then
self.tex.TextBox_Disabled( 0, 0, w, h )
elseif ( panel:HasFocus() ) then
self.tex.TextBox_Focus( 0, 0, w, h )
else
self.tex.TextBox( 0, 0, w, h )
end
end
panel:DrawTextEntryText( panel.m_colText, panel.m_colHighlight, panel.m_colCursor )
end
Tüm sunucular · GmodTR Launcher · Rehber · GMod Wiki · GmodTR nedir? · Sunucu ekle · Discord