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
Julie Stamp
RISC_OSLib
Commits
03f868ab
Commit
03f868ab
authored
9 years ago
by
Robert Sprowson
Browse files
Options
Download
Email Patches
Plain Diff
A few extra definitions in wimp.h
Not tagged.
parent
8ee48d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
rlib/h/wimp
rlib/h/wimp
+40
-0
No files found.
rlib/h/wimp
View file @
03f868ab
...
...
@@ -318,6 +318,7 @@ typedef enum {
wimp_MDATAREQUEST
=
16
,
/* Clipboard request data */
wimp_MDRAGGING
=
17
,
/* Clipboard drag in progress */
wimp_MDRAGCLAIM
=
18
,
/* Clipboard drag claimed */
wimp_MAPPCONTROL
=
21
,
wimp_MFILER_OPEN_DIR
=
0x400
,
/* Filer */
wimp_MFILER_CLOSE_DIR
=
0x401
,
...
...
@@ -464,6 +465,42 @@ typedef struct {
#define wimp_MDATAREQUEST_types_end (-1)
}
wimp_msgdatarequest
;
typedef
struct
{
wimp_w
w
;
/* target window */
wimp_i
i
;
/* target icon */
int
x
;
/* target coords in target window work area */
int
y
;
int
flags
;
#define wimp_MDRAGGING_flags_datafromselection (2)
#define wimp_MDRAGGING_flags_datafromclipboard (4)
#define wimp_MDRAGGING_flags_deletesource (8)
#define wimp_MDRAGGING_flags_donotclaim (16)
wimp_box
box
;
int
types
[
1
];
/* array of types */
#define wimp_MDRAGGING_types_end (-1)
}
wimp_msgdragging
;
typedef
struct
{
int
flags
;
/* request type */
#define wimp_MDRAGCLAIM_flags_ptrchanged (1)
#define wimp_MDRAGCLAIM_flags_removedragbox (2)
#define wimp_MDRAGCLAIM_flags_deletesource (8)
int
types
[
1
];
/* array of types */
#define wimp_MDRAGCLAIM_types_end (-1)
}
wimp_msgdragclaim
;
typedef
struct
{
int
version
;
int
flags
;
#define wimp_MAPPCONTROL_flags_immediate (1)
int
op
;
#define wimp_MAPPCONTROL_op_stop (0)
#define wimp_MAPPCONTROL_op_wakeup (1)
#define wimp_MAPPCONTROL_op_pause (2)
#define wimp_MAPPCONTROL_op_minimisememory (3)
#define wimp_MAPPCONTROL_op_openconfig (4)
}
wimp_msgappcontrol
;
typedef
struct
{
wimp_mousestr
m
;
/* where the help is required */
}
wimp_msghelprequest
;
...
...
@@ -496,6 +533,9 @@ typedef struct { /* message block */
wimp_msgdevice
device
;
wimp_msgclaimentity
claimentity
;
wimp_msgdatarequest
datarequest
;
wimp_msgdragging
dragging
;
wimp_msgdragclaim
dragclaim
;
wimp_msgappcontrol
appcontrol
;
}
data
;
}
wimp_msgstr
;
...
...
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