comparison classes/Overlay.lua @ 185:2e7a322e0195

move ConfigUI module to Editor non-module, make it more self-contained
author Flick <flickerstreak@gmail.com>
date Fri, 22 Oct 2010 23:48:02 +0000
parents 1696ff2c80cc
children c24ac8ee1e45
comparison
equal deleted inserted replaced
184:1ee86bbb05a0 185:2e7a322e0195
523 f:StopMovingOrSizing() 523 f:StopMovingOrSizing()
524 f.isMoving = false 524 f.isMoving = false
525 f:SetScript("OnUpdate",nil) 525 f:SetScript("OnUpdate",nil)
526 StoreSize(bar) 526 StoreSize(bar)
527 ClampToButtons(bar) 527 ClampToButtons(bar)
528 ReAction:RefreshOptions() 528 ReAction:RefreshEditor()
529 end 529 end
530 530
531 local function CornerUpdate() 531 local function CornerUpdate()
532 local bw, bh = GetButtonSize(bar) 532 local bw, bh = GetButtonSize(bar)
533 local r, c, s = GetButtonGrid(bar) 533 local r, c, s = GetButtonGrid(bar)
682 end 682 end
683 HideSnapIndicator() 683 HideSnapIndicator()
684 end 684 end
685 685
686 StoreExtents(bar) 686 StoreExtents(bar)
687 ReAction:RefreshOptions() 687 ReAction:RefreshEditor()
688 UpdateDragTooltip() 688 UpdateDragTooltip()
689 UpdateAnchorDecoration() 689 UpdateAnchorDecoration()
690 end 690 end
691 ) 691 )
692 692