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)
|
||||
wndMgr.SetParent(self.hWnd, parent.hWnd)
|
||||
|
||||
|
||||
def GetParentProxy(self):
|
||||
return self.parentWindow
|
||||
|
||||
@@ -226,6 +225,15 @@ class Window(object):
|
||||
if 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 Item(Window):
|
||||
|
||||
Reference in New Issue
Block a user