HERAKLES Otomatik Avlı kalıcı sunucu. 19 Haziran'da açılıyor. Atius & Wizard güvencesiyle hemen kayıt ol, ön kayıt ödülleri aktif. HEMEN TIKLA!
Extended version:
uicharacterdetails.py
search this:
add under this:
uitarget.py (MOB_DROP_INFO)
Search this:
add under this:
uicube.py
search this:
add under this.
uimessenger.py
search this:
add under this:
uiwhisper.py
search this:
add under this:
uicharacterdetails.py
search this:
Python:
def OnScroll(self):
self.RefreshLabel()
add under this:
Python:
def OnRunMouseWheel(self, nLen):
if nLen > 0:
self.ScrollBar.OnUp()
else:
self.ScrollBar.OnDown()
uitarget.py (MOB_DROP_INFO)
Search this:
Python:
def AppendWindow(self, wnd, x = 0, width = 0, height = 0):
if width == 0:
width = wnd.GetWidth()
if height == 0:
height = wnd.GetHeight()
wnd.SetParent(self)
if x == 0:
wnd.SetPosition((self.GetWidth() - width) / 2, self.yPos)
else:
wnd.SetPosition(x, self.yPos)
wnd.Show()
self.children.append(wnd)
self.yPos += height + 5
add under this:
Python:
def OnRunMouseWheel(self, nLen):
if self.itemScrollBar.IsShow():
if nLen > 0:
self.itemScrollBar.OnUp()
else:
self.itemScrollBar.OnDown()
uicube.py
search this:
Python:
def OnScrollResultList(self):
count = self.GetResultCount()
scrollLineCount = max(0, count - self.RESULT_SLOT_COUNT)
startIndex = int(scrollLineCount * self.contentScrollbar.GetPos())
if startIndex != self.firstSlotIndex:
self.firstSlotIndex = startIndex
self.Refresh()
add under this.
Python:
def OnRunMouseWheel(self, nLen):
if nLen > 0:
self.contentScrollbar.OnUp()
else:
self.contentScrollbar.OnDown()
uimessenger.py
search this:
Python:
def OnScroll(self):
scrollLineCount = len(self.showingItemList) - (self.showingPageSize/20)
startLine = int(scrollLineCount * self.scrollBar.GetPos())
if startLine != self.startLine:
self.startLine = startLine
self.__LocateMember()
add under this:
Python:
def OnRunMouseWheel(self, nLen):
if nLen > 0:
self.scrollBar.OnUp()
else:
self.scrollBar.OnDown()
uiwhisper.py
search this:
Python:
def OnScroll(self):
chat.SetWhisperPosition(self.targetName, self.scrollBar.GetPos())
add under this:
Python:
def OnRunMouseWheel(self, nLen):
if nLen > 0:
self.scrollBar.OnUp()
else:
self.scrollBar.OnDown()
ThxExtended version:
uicharacterdetails.py
search this:
Python:def OnScroll(self): self.RefreshLabel()
add under this:
Python:def OnRunMouseWheel(self, nLen): if nLen > 0: self.ScrollBar.OnUp() else: self.ScrollBar.OnDown()
uitarget.py (MOB_DROP_INFO)
Search this:
Python:def AppendWindow(self, wnd, x = 0, width = 0, height = 0): if width == 0: width = wnd.GetWidth() if height == 0: height = wnd.GetHeight() wnd.SetParent(self) if x == 0: wnd.SetPosition((self.GetWidth() - width) / 2, self.yPos) else: wnd.SetPosition(x, self.yPos) wnd.Show() self.children.append(wnd) self.yPos += height + 5
add under this:
Python:def OnRunMouseWheel(self, nLen): if self.itemScrollBar.IsShow(): if nLen > 0: self.itemScrollBar.OnUp() else: self.itemScrollBar.OnDown()
uicube.py
search this:
Python:def OnScrollResultList(self): count = self.GetResultCount() scrollLineCount = max(0, count - self.RESULT_SLOT_COUNT) startIndex = int(scrollLineCount * self.contentScrollbar.GetPos()) if startIndex != self.firstSlotIndex: self.firstSlotIndex = startIndex self.Refresh()
add under this.
Python:def OnRunMouseWheel(self, nLen): if nLen > 0: self.contentScrollbar.OnUp() else: self.contentScrollbar.OnDown()
uimessenger.py
search this:
Python:def OnScroll(self): scrollLineCount = len(self.showingItemList) - (self.showingPageSize/20) startLine = int(scrollLineCount * self.scrollBar.GetPos()) if startLine != self.startLine: self.startLine = startLine self.__LocateMember()
add under this:
Python:def OnRunMouseWheel(self, nLen): if nLen > 0: self.scrollBar.OnUp() else: self.scrollBar.OnDown()
uiwhisper.py
search this:
Python:def OnScroll(self): chat.SetWhisperPosition(self.targetName, self.scrollBar.GetPos())
add under this:
Python:def OnRunMouseWheel(self, nLen): if nLen > 0: self.scrollBar.OnUp() else: self.scrollBar.OnDown()

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 12
- Görüntüleme
- 1K
- Cevaplar
- 6
- Görüntüleme
- 2K
- Cevaplar
- 8
- Görüntüleme
- 28K
