Initial commit
This commit is contained in:
17
lua/vgui/prop_int.lua
Normal file
17
lua/vgui/prop_int.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
--
|
||||
-- prop_generic is the base for all other properties.
|
||||
-- All the business should be done in :Setup using inline functions.
|
||||
-- So when you derive from this class - you should ideally only override Setup.
|
||||
--
|
||||
|
||||
local PANEL = {}
|
||||
|
||||
function PANEL:Init()
|
||||
end
|
||||
|
||||
function PANEL:GetDecimals()
|
||||
return 0
|
||||
end
|
||||
|
||||
derma.DefineControl( "DProperty_Int", "", PANEL, "DProperty_Float" )
|
||||
Reference in New Issue
Block a user