Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
43bb2a4f
Commit
43bb2a4f
authored
Jan 23, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect.
parent
d829e9e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
Mac/Unsupported/twit/mac_widgets.py
Mac/Unsupported/twit/mac_widgets.py
+4
-4
Mac/Unsupported/twit/mactwit_mod.py
Mac/Unsupported/twit/mactwit_mod.py
+1
-1
Mac/Unsupported/twit/mactwit_stack.py
Mac/Unsupported/twit/mactwit_stack.py
+1
-1
No files found.
Mac/Unsupported/twit/mac_widgets.py
View file @
43bb2a4f
...
...
@@ -80,7 +80,7 @@ class MT_TextWidget:
except
ValueError
:
break
self
.
line_index
.
append
(
len
(
data
))
Win
.
Inval
Rect
(
self
.
rect
)
self
.
wid
.
InvalWindow
Rect
(
self
.
rect
)
self
.
ted
.
TESetSelect
(
0
,
0
)
self
.
ted
.
TECalText
()
self
.
ted
.
TESelView
()
...
...
@@ -192,7 +192,7 @@ class MT_IconTextWidget(MT_TextWidget):
def
setbreaks
(
self
,
list
):
self
.
breakpointlist
=
list
[:]
Qd
.
SetPort
(
self
.
wid
)
Win
.
Inval
Rect
(
self
.
iconrect
)
self
.
wid
.
InvalWindow
Rect
(
self
.
iconrect
)
def
setcurline
(
self
,
line
,
pic
=
PIC_CURRENT
):
self
.
curline
=
line
...
...
@@ -214,7 +214,7 @@ class MT_IconTextWidget(MT_TextWidget):
def
setscrollbars
(
self
):
MT_TextWidget
.
setscrollbars
(
self
)
Win
.
Inval
Rect
(
self
.
iconrect
)
self
.
wid
.
InvalWindow
Rect
(
self
.
iconrect
)
def
update
(
self
,
rgn
):
MT_TextWidget
.
update
(
self
,
rgn
)
...
...
@@ -268,7 +268,7 @@ class MT_IndexList:
for
y
in
range
(
len
(
column
)):
self
.
list
.
LSetCell
(
column
[
y
],
(
x
,
y
))
self
.
list
.
LSetDrawingMode
(
1
)
Win
.
Inval
Rect
(
self
.
rect
)
self
.
wid
.
InvalWindow
Rect
(
self
.
rect
)
def
deselectall
(
self
):
while
1
:
...
...
Mac/Unsupported/twit/mactwit_mod.py
View file @
43bb2a4f
...
...
@@ -94,7 +94,7 @@ class ModuleBrowser(FrameWork.DialogWindow, TwitCore.ModuleBrowser):
def
force_redraw
(
self
):
Qd
.
SetPort
(
self
.
wid
)
Win
.
Inval
Rgn
(
self
.
wid
.
GetWindowPort
().
visRgn
)
self
.
wid
.
InvalWindow
Rgn
(
self
.
wid
.
GetWindowPort
().
visRgn
)
def
do_activate
(
self
,
activate
,
event
):
self
.
modules
.
activate
(
activate
)
...
...
Mac/Unsupported/twit/mactwit_stack.py
View file @
43bb2a4f
...
...
@@ -144,7 +144,7 @@ class StackBrowser(FrameWork.DialogWindow, TwitCore.StackBrowser):
def
force_redraw
(
self
):
Qd
.
SetPort
(
self
.
wid
)
Win
.
Inval
Rgn
(
self
.
wid
.
GetWindowPort
().
visRgn
)
self
.
wid
.
InvalWindow
Rgn
(
self
.
wid
.
GetWindowPort
().
visRgn
)
def
do_activate
(
self
,
activate
,
event
):
self
.
stack
.
activate
(
activate
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment