forked from metin-server/m2dev-client
Merge pull request #5 from ThorsDev/features/scissor-rect
Scissor Rect Client Part
This commit is contained in:
@@ -131,7 +131,6 @@ class Window(object):
|
|||||||
self.parentWindow=proxy(parent)
|
self.parentWindow=proxy(parent)
|
||||||
wndMgr.SetParent(self.hWnd, parent.hWnd)
|
wndMgr.SetParent(self.hWnd, parent.hWnd)
|
||||||
|
|
||||||
|
|
||||||
def GetParentProxy(self):
|
def GetParentProxy(self):
|
||||||
return self.parentWindow
|
return self.parentWindow
|
||||||
|
|
||||||
@@ -226,6 +225,15 @@ class Window(object):
|
|||||||
if self.onMouseLeftButtonUpEvent:
|
if self.onMouseLeftButtonUpEvent:
|
||||||
self.onMouseLeftButtonUpEvent()
|
self.onMouseLeftButtonUpEvent()
|
||||||
|
|
||||||
|
def EnableScissorRect(self):
|
||||||
|
wndMgr.EnableScissorRect(self.hWnd)
|
||||||
|
|
||||||
|
def DisableScissorRect(self):
|
||||||
|
wndMgr.DisableScissorRect(self.hWnd)
|
||||||
|
|
||||||
|
def IsScissorRectEnabled(self):
|
||||||
|
return wndMgr.IsScissorRectEnabled(self.hWnd)
|
||||||
|
|
||||||
class ListBoxEx(Window):
|
class ListBoxEx(Window):
|
||||||
|
|
||||||
class Item(Window):
|
class Item(Window):
|
||||||
|
|||||||
Reference in New Issue
Block a user