Files
wnsrc/lua/vgui/prop_int.lua
lifestorm 6a58f406b1 Upload
2024-08-04 23:54:45 +03:00

28 lines
622 B
Lua

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
--
-- 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" )