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
Cameron Cawley
Browse
Commits
2695ac3d
Commit
2695ac3d
authored
27 years ago
by
Andrew Hodgkinson
Browse files
Options
Download
Email Patches
Plain Diff
Couple of extra pointer types for autoscroll in the Hotlist
parent
6864b4e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
105 additions
and
77 deletions
+105
-77
c/Mouse
c/Mouse
+95
-69
h/Mouse
h/Mouse
+10
-8
No files found.
c/Mouse
View file @
2695ac3d
...
...
@@ -208,88 +208,114 @@ void mouse_set_pointer_shape(int shape)
default:
/* Catchall - use normal pointer, so no 'break' */
case
Mouse_Shape_Normal
:
_swix
(
OS_CLI
,
_IN
(
0
),
case
Mouse_Shape_Normal
:
_swix
(
OS_CLI
,
_IN
(
0
),
"Pointer 1"
);
"Pointer 1"
);
break
;
case
Mouse_Shape_Link
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_link"
,
2
,
fixed
.
ptrlnkactvx
,
fixed
.
ptrlnkactvy
,
0
,
0
);
case
Mouse_Shape_Link
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_link"
,
2
,
fixed
.
ptrlnkactvx
,
fixed
.
ptrlnkactvy
,
0
,
0
);
break
;
case
Mouse_Shape_Map
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_map"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
case
Mouse_Shape_Map
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_map"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
case
Mouse_Shape_UD
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_ud"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
case
Mouse_Shape_UD
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_ud"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
case
Mouse_Shape_LR
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_lr"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
case
Mouse_Shape_LR
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_lr"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
case
Mouse_Shape_UDLR
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_udlr"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
case
Mouse_Shape_UDLR
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_udlr"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
case
Mouse_Shape_NoResize
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_noresize"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
case
Mouse_Shape_NoResize
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_noresize"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
case
Mouse_Shape_ToScroll
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_ud"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
case
Mouse_Shape_Scrolling
:
_swix
(
OS_SpriteOp
,
_INR
(
0
,
7
),
292
,
sprite_block
,
"ptr_udlr"
,
2
,
fixed
.
ptrmapactvx
,
fixed
.
ptrmapactvy
,
0
,
0
);
break
;
}
}
...
...
This diff is collapsed.
Click to expand it.
h/Mouse
View file @
2695ac3d
...
...
@@ -25,14 +25,16 @@
/* Shape definitions */
#define Mouse_Shape_Off 0
#define Mouse_Shape_Normal 1
#define Mouse_Shape_Link 2
#define Mouse_Shape_Map 3
#define Mouse_Shape_UD 4
#define Mouse_Shape_LR 5
#define Mouse_Shape_UDLR 6
#define Mouse_Shape_NoResize 7
#define Mouse_Shape_Off 0
#define Mouse_Shape_Normal 1
#define Mouse_Shape_Link 2
#define Mouse_Shape_Map 3
#define Mouse_Shape_UD 4
#define Mouse_Shape_LR 5
#define Mouse_Shape_UDLR 6
#define Mouse_Shape_NoResize 7
#define Mouse_Shape_ToScroll 8
#define Mouse_Shape_Scrolling 9
/* Function prototypes */
...
...
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