Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Michael Gerbracht
Menu
Commits
5b5ff99a
Commit
5b5ff99a
authored
28 years ago
by
Neil Turton
Browse files
Options
Download
Email Patches
Plain Diff
Import from cleaned 370 CD
parent
39128431
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
6 deletions
+23
-6
c/auxiliary
c/auxiliary
+21
-4
cmhg/Modhdr
cmhg/Modhdr
+1
-1
cmhg/Modhdr_NoD
cmhg/Modhdr_NoD
+1
-1
No files found.
c/auxiliary
View file @
5b5ff99a
...
@@ -90,10 +90,27 @@ extern _kernel_oserror *menu_update_size(MenuInternal *menu_int) {
...
@@ -90,10 +90,27 @@ extern _kernel_oserror *menu_update_size(MenuInternal *menu_int) {
if
(
entry
->
icon_flags
&
wimp_ICONFLAGS_TEXT
)
{
if
(
entry
->
icon_flags
&
wimp_ICONFLAGS_TEXT
)
{
width
=
(
entry
->
icon_data
.
indirect_text
.
buff_len
+
1
)
<<
4
;
width
=
(
entry
->
icon_data
.
indirect_text
.
buff_len
+
1
)
<<
4
;
}
else
{
}
else
{
/* IDJ: 22-May-95: bug-fix AQU-01264: look in user sprite area if
one is defined first, then in wimp sprite area as a
fall-back.
*/
e
=
NULL
;
if
(
entry
->
icon_data
.
indirect_sprite
.
sprite_area
!=
(
void
*
)
1
/* user area */
)
{
regs
.
r
[
0
]
=
os_SpriteOp_ReadInfo
+
256
;
regs
.
r
[
1
]
=
(
int
)
entry
->
icon_data
.
indirect_sprite
.
sprite_area
;
regs
.
r
[
2
]
=
(
int
)
entry
->
icon_data
.
indirect_sprite
.
sprite
.
name
;
e
=
_kernel_swi
(
OS_SpriteOp
,
&
regs
,
&
regs
);
}
if
(
e
!=
NULL
||
entry
->
icon_data
.
indirect_sprite
.
sprite_area
==
(
void
*
)
1
/* WIMP area */
)
{
regs
.
r
[
0
]
=
os_SpriteOp_ReadInfo
;
regs
.
r
[
0
]
=
os_SpriteOp_ReadInfo
;
regs
.
r
[
2
]
=
(
int
)
entry
->
icon_data
.
indirect_sprite
.
sprite
.
name
;
regs
.
r
[
2
]
=
(
int
)
entry
->
icon_data
.
indirect_sprite
.
sprite
.
name
;
if
((
e
=
_kernel_swi
(
Wimp_SpriteOp
,
&
regs
,
&
regs
))
!=
NULL
)
{
if
((
e
=
_kernel_swi
(
Wimp_SpriteOp
,
&
regs
,
&
regs
))
!=
NULL
)
return
e
;
return
e
;
}
}
width
=
regs
.
r
[
3
];
width
=
regs
.
r
[
3
];
...
...
This diff is collapsed.
Click to expand it.
cmhg/Modhdr
View file @
5b5ff99a
...
@@ -33,7 +33,7 @@ service-call-handler: Menu_services 0x44ec1, 0x44ec2, 0x44ec3
...
@@ -33,7 +33,7 @@ service-call-handler: Menu_services 0x44ec1, 0x44ec2, 0x44ec3
title-string:
Menu
title-string:
Menu
help-string:
Menu
0
.
2
3
help-string:
Menu
0
.
2
4
command-keyword-table:
Menu_commands
command-keyword-table:
Menu_commands
Menu_Memory
()
Menu_Memory
()
...
...
This diff is collapsed.
Click to expand it.
cmhg/Modhdr_NoD
View file @
5b5ff99a
...
@@ -33,7 +33,7 @@ service-call-handler: Menu_services 0x44ec1, 0x44ec2, 0x44ec3
...
@@ -33,7 +33,7 @@ service-call-handler: Menu_services 0x44ec1, 0x44ec2, 0x44ec3
title-string:
Menu
title-string:
Menu
help-string:
Menu
0
.
2
3
help-string:
Menu
0
.
2
4
swi-chunk-base-number:
0x828c0
swi-chunk-base-number:
0x828c0
...
...
This diff is collapsed.
Click to expand it.
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