aboutsummaryrefslogtreecommitdiff
path: root/gamemode/inventorysystem/quests/cl_quests.lua
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode/inventorysystem/quests/cl_quests.lua')
-rw-r--r--gamemode/inventorysystem/quests/cl_quests.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/gamemode/inventorysystem/quests/cl_quests.lua b/gamemode/inventorysystem/quests/cl_quests.lua
index 9ad8eb1..e485109 100644
--- a/gamemode/inventorysystem/quests/cl_quests.lua
+++ b/gamemode/inventorysystem/quests/cl_quests.lua
@@ -23,19 +23,10 @@ local hh = (scrh - 100) / 2
inv.DrawOnDPanel = function(self,panel)
local spanel = vgui.Create("DPanel", panel)
spanel:Dock(FILL)
- function spanel:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 255, 0, 0 ) )
- end
local qls = vgui.Create("DScrollPanel", spanel)
- function qls:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 0, 255, 0 ) )
- end
qls:SetSize((scrw/4) - 40, hh)
inv.qls = qls
local sls = vgui.Create("DScrollPanel", spanel)
- function sls:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 0, 0, 255 ) )
- end
sls:SetSize((scrw/4) - 40, hh)
sls:SetPos(0,hh)
inv.sls = sls
@@ -43,9 +34,6 @@ inv.DrawOnDPanel = function(self,panel)
questlist:SetCols(4)
questlist:SetColWide(((scrw/4) - 40) /4)
questlist:SetSize((scrw/4) - 50, hh)
- function questlist:Paint(w,h)
- draw.RoundedBox( 8, 0, 0, w, h, Color( 0, 255, 255 ) )
- end
inv.questlist = questlist
inv.questlog = questlog
questlog = vgui.Create("DLabel", sls)