scissor rect

This commit is contained in:
ThorsDev
2025-09-22 17:48:13 +02:00
parent f5bfc5e939
commit 21336f80e1

View File

@@ -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):