From 9bf0895491b9f0d24051a17ca2663bfb46a3636b Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 20 Oct 2015 02:41:48 +0200 Subject: [PATCH] better looking log --- .idea/workspace.xml | 115 +++++++++++++++++++++++--------------------- core.lua | 11 ++++- core.xml | 112 +++++++----------------------------------- 3 files changed, 89 insertions(+), 149 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index b6afce0..90e8432 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,8 @@ - - + @@ -70,8 +69,18 @@ - - + + + + + + + + + + + + @@ -80,17 +89,17 @@ - + - + - + @@ -117,16 +126,6 @@ - - - - - - - - - - @@ -140,8 +139,8 @@ - - + + @@ -150,8 +149,8 @@ - - + + @@ -183,13 +182,13 @@ @@ -371,7 +370,7 @@ - + @@ -427,14 +426,6 @@ - - - - - - - - @@ -443,14 +434,6 @@ - - - - - - - - @@ -459,14 +442,6 @@ - - - - - - - - @@ -483,6 +458,22 @@ + + + + + + + + + + + + + + + + @@ -491,18 +482,34 @@ - + - - + + - + - - + + + + + + + + + + + + + + + + + + diff --git a/core.lua b/core.lua index e8e5165..eb60c54 100644 --- a/core.lua +++ b/core.lua @@ -98,7 +98,16 @@ function Aux_OnAddonLoaded() end end +function Aux.log_scroll(direction) + if direction == 1 then + this:ScrollUp() + elseif direction == -1 then + this:ScrollDown() + end +end + function Aux.log_frame_load() + this:EnableMouseWheel() this.flashTimer = 0 end @@ -302,7 +311,7 @@ function Aux_AddPanels() buyFrame:SetParent("AuctionFrame") buyFrame:SetPoint("TOPLEFT", "AuctionFrame", "TOPLEFT") AuxLogFrame:SetParent(buyFrame) - AuxLogFrame:SetPoint('TOP', buyFrame, 100, -38) + AuxLogFrame:SetPoint('TOP', buyFrame, 100, -43) relevel(buyFrame) buyFrame:Hide() -- AuxLogFrame:SetFrameLevel(buyFrame:GetFrameLevel() + 1) diff --git a/core.xml b/core.xml index 2f9bc4e..d760503 100644 --- a/core.xml +++ b/core.xml @@ -17,21 +17,21 @@